From bret.jordan at utah.edu Sun Jun 1 22:02:24 2003 From: bret.jordan at utah.edu (Bret Jordan) Date: Sun, 01 Jun 2003 14:02:24 -0600 Subject: Nagios rights pre fork Message-ID: <3EDA5BD0.6080301@utah.edu> I have noticed that the user that runs the nagios server, nagios, needs to have a real shell defined in the /etc/passwd file instead of /sbin/nologin as the start up process is su-ing to the user nagios and touching several log files so that when the servers forks from root to nagios the files will be owned by nagios. Is it possible to do what apache and others do and create the files after the fork process so that the user running nagios does not have to have a real shell? Bret -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bret Jordan Dean's Office Computer Administrator College of Engineering 801.585.3765 University of Utah jordan at coe.utah.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 2 03:19:48 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 2 Jun 2003 11:19:48 +1000 Subject: RFC: avail.cgi wrapper - does el-quicko availability reports for services. Message-ID: <20030602111937.E38360@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to request comments on a wrapper for avail.cgi that provides a quicker than using the Nag CGIs means of service accessing availability. Background: The Nag availability CGIs are comprehensive but require the user fill out a number of forms and be aware of the meaning of parameters like . number of logs to backtrack . initial service state . use state retention etc. This is less than optimum for two applications 1 PHBs - since PHBs won't use anything that isn't Excel 2 Finding out how long the recent disaster to subsystem X cost you. Accordingly I have written a (Perl CGI.pm) wrapper that accepts a service and an interval and then presents the avialbility as . (edited) text in the browser . the full colourful Nag avail report for that service . a CSV file of log records mailed to an address that will (on most MS Win systems I think) invoke Excel on the log records. Here is the panel tsitc> lynx -dump -nolist auth=Foo:Bar http://tsitc:/cgi-bin/nag_svc_avail_report Service availability If you select nothing the data is extracted for yesterday Start End Shortcut Day [1.] [1.] [_] Start day only Week [Mon May 26 00:05:00 2003] [Fri May 30 23:59:00 2003] [_] Start and End week interval (will include weekends) Month [Jun] [Jun] [_] Start month only Year [2003] [2003] [_] Start year only [DH5000 | Network reachability........................................ .....] (_) Display in browser (_) Mail to address (_) Draw graph ______________________________ do it clear _________________________________________________________________ There are a few 'shortcuts' such as for the day, week, month, or year only. Otherwise, all the records are extracted for the interval between the 'Start' and 'End'. Most of the input is accepted via scrolling text boxes (mmmm - probably a dumb idea). Here is some sample output, Service availability between Fri May 30 00:00:00 2003 and Sat May 31 23:59:59 2003 Service 'Network reachability' On Host 'so-per' 30-05-2003 00:00:00 to 31-05-2003 23:59:59 Duration: 1d 23h 59m 59s Service State Breakdowns: State Type / Reason Time % Total Time % Known Time OK Unscheduled 1d 4h 21m 25s 59.077% 59.247% Scheduled 0d 1h 57m 40s 4.086% 4.097% Total 1d 6h 19m 5s 63.163% 63.344% WARNING 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% UNKNOWN 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% CRITICAL Unscheduled 0d 17h 32m 39s 36.551% 36.656% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 17h 32m 39s 36.551% 36.656% Undetermined Nagios Not Running 0d 0h 8m 15s 0.286% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 0h 8m 15s 0.286% All Total 1d 23h 59m 59s 100.000% 100.000% Service Log Entries: Event Start Time Event End Time Event Duration Event/State Type Event/State Information 06-05-2003 23:29:27 06-05-2003 23:29:28 0d 0h 0m 1s SERVICE OK First Service State Assumed (Faked Log Entry) 30-05-2003 20:22:16 30-05-2003 20:24:36 0d 0h 2m 20s HOST DOWNTIME START Start of scheduled downtime 30-05-2003 20:24:36 30-05-2003 22:22:16 0d 1h 57m 40s SERVICE CRITICAL CRITICAL - Plugin timed out after 15 seconds 30-05-2003 22:22:16 31-05-2003 12:09:05 0d 13h 46m 49s HOST DOWNTIME END End of scheduled downtime 31-05-2003 13:57:15 31-05-2003 19:49:09 0d 5h 51m 54s SERVICE OK PING ok - Packet loss = 0%, RTA = 80.94 ms It is pretty trivial but helpful for me. If there is any interest, I will rewrite this to to be more useful/robust since at the moment it uses code that is not public. The code will use Patricks Nag config parser when it gets on CPAN. 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 2 09:29:06 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 02 Jun 2003 09:29:06 +0200 Subject: Trends & SQLServer In-Reply-To: References: Message-ID: <3EDAFCC2.9020603@dhl.com> Robert Lagazo wrote: > 2) Anyone out there knows how I can get a hold of an MS SQLServer plugin? check_mssql.sh at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/ ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Mon Jun 2 14:36:23 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Mon, 02 Jun 2003 14:36:23 +0200 Subject: HP/Compaq ILO and check_http Message-ID: <3EDB44C7.6050302@mobilcom.de> Hi, is anyone already checking the Webinterface of a HP/Compaq iLO Device of a Proliant Server lie i.e. the DL-360 G2? either 'check_http -H -p 80' nor 'check_http -H -p 443' gives me a satisfying result, which I had with the 'old' RILO-Card. TIA, Jens ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 From Steve.Rennie at Hess.com Mon Jun 2 15:19:49 2003 From: Steve.Rennie at Hess.com (Rennie, Steve) Date: Mon, 2 Jun 2003 14:19:49 +0100 Subject: checking disk space Message-ID: I am a new nagios user and having problems checking disk on any system other than the local host (nagios server). When I add "check_disk" service on any other host it just returns info for local host. Any advice appreciated. Thanks Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kelvinchike at go.com Mon Jun 2 11:10:16 2003 From: kelvinchike at go.com (kelvin chike) Date: Mon, 2 Jun 2003 02:10:16 -0700 Subject: URGENT BUSINESS TRANSACTION Message-ID: Dear sir/madam, I am a Private Investigator based in Europe. A group of Government Officials from an African Country contacted me with a Proposal. I am to Make contact with you and state their offer, if your Interest is Genuine, you will be Contacted for your Account details to which will be transferred the sum of $33,600,000.00 USD. (20% of which is yours). You are then required to forward the remaining balance (Minus the Interest, handling and tax clearance charges, which Will be offset by Us & Deducted from the transferred sum) to a nominated Bank account in the Cayman Islands. I don't think I need to spell out the importance of Secrecy in this Matter considering the amount involved. Let me state clearly here that the account that you would be providing does not need to have funds in it, it is only needed to be active and be able to receive funds. So, if I don't hear from you within three days I will assume you are not interested and will solicit for a new partner, but if you know you are interested let me know. List your phone & fax Numbers so we may communicate with you. This is important as we would Have to talk about the modalities of the transaction. Waiting to hear from you. kelvin chike ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Jun 2 15:36:46 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 2 Jun 2003 09:36:46 -0400 Subject: sending nsca checks References: <200305291418.57132.todd@bsd.uchicago.edu> Message-ID: <012b01c3290c$0311cb30$f805ff0a@tekniq> By nature, nagios reads the nagios.cmd file for external commands at given intervals specified in the nagios.cfg file. Once read, nagios processes the data and updates the status log. If nsca refuses the connection, it may be that the host does not have access to connect. Check your /var/log/messages file for output from nsca. There shouldn't be any scripts you need to use/write to accomplish this. -Jason ----- Original Message ----- From: "Todd Anderson" To: Sent: Thursday, May 29, 2003 15:18 Subject: [Nagios-users] sending nsca checks > I am trying to setup passive checks using nsca. > > The server seems fine, I can telnet into port 5667, however the client is what > is confusing me. > > once send_nsca and send_nsca.cfg are in place how do I use them to send checks > to the central nagios server. > > should I write a script that pipes the check_* commands into send_nsca and to > the central server? > > this seems to be my sticking point. I am also wondering how I will get the > server to recognize that it has recieved passive check in then nagios.cmd > file. > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Mon Jun 2 15:47:49 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 02 Jun 2003 09:47:49 -0400 Subject: Question about Nagios Reports Message-ID: <5.1.0.14.0.20030602094551.00b52130@pop.icnet.com.ve> Hi, I want to know if exist any addons that permit generate reports of nagios events, but it is easy to manage. Thanks, Jeyri ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Mon Jun 2 15:49:12 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 2 Jun 2003 15:49:12 +0200 Subject: Trends & SQLServer In-Reply-To: <3EDAFCC2.9020603@dhl.com> References: <3EDAFCC2.9020603@dhl.com> Message-ID: <200306021549.12640.roy@karlsbakk.net> > > 2) Anyone out there knows how I can get a hold of an MS SQLServer plugin? > > check_mssql.sh at > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contri >b/ http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=29880&atid=541465 perhaps a little cleaner design? :) -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 2 15:56:17 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 02 Jun 2003 15:56:17 +0200 Subject: Trends & SQLServer In-Reply-To: <200306021549.12640.roy@karlsbakk.net> References: <3EDAFCC2.9020603@dhl.com> <200306021549.12640.roy@karlsbakk.net> Message-ID: <3EDB5781.3010509@dhl.com> Roy Sigurd Karlsbakk wrote: > http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=29880&atid=541465 > > perhaps a little cleaner design? Has anyone ever accused you of being pretentious before? ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Jun 2 16:20:37 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 2 Jun 2003 09:20:37 -0500 Subject: RFC: avail.cgi wrapper - does el-quicko availability reports for services. In-Reply-To: <20030602111937.E38360@IPAustralia.Gov.AU>; from Stanley.Hopcroft@IPAustralia.Gov.AU on Mon, Jun 02, 2003 at 11:19:48AM +1000 References: <20030602111937.E38360@IPAustralia.Gov.AU> Message-ID: <20030602092037.A5349@bennyvision.com> On Mon, Jun 02, 2003 at 11:19:48AM +1000, Stanley Hopcroft wrote: > > If there is any interest, I will rewrite this to to be more > useful/robust since at the moment it uses code that is not public. Hey Stanley, I would love it if you could release it... Anything to make dealing with the PHB's easier is a Good Thing(tm). Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaeljerger at hotmail.com Mon Jun 2 16:25:16 2003 From: michaeljerger at hotmail.com (Michael A. Jerger) Date: Mon, 02 Jun 2003 08:25:16 -0600 Subject: Need a little Help to display CGIs Message-ID: An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Mon Jun 2 16:24:39 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Mon, 2 Jun 2003 15:24:39 +0100 Subject: checking disk space Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513780@jessica.herefordshire.gov.uk> You need to check out nrpe. http://www.nagios.org/download/extras.php Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: Rennie, Steve [mailto:Steve.Rennie at Hess.com] Sent: 02 June 2003 14:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking disk space I am a new nagios user and having problems checking disk on any system other than the local host (nagios server). When I add "check_disk" service on any other host it just returns info for local host. Any advice appreciated. Thanks Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Mon Jun 2 16:20:47 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 02 Jun 2003 16:20:47 +0200 Subject: checking disk space In-Reply-To: References: Message-ID: <3EDB5D3F.70306@dhl.com> Rennie, Steve wrote: > Any advice appreciated. My advice would be reading the FAQ's. http://www.nagios.org/faqs/viewfaq.php?faq_id=59 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mian at swemic.net Mon Jun 2 16:37:39 2003 From: mian at swemic.net (Michael Andersson) Date: Mon, 2 Jun 2003 16:37:39 +0200 Subject: check_http w/ parameters on the url In-Reply-To: References: Message-ID: <20030602163739.6d0d2683.mian@swemic.net> Hi, this is just a quick'n'dirty test I just made for this: checkcommands.cfg: ------------------ # 'check_http_junk' command definition define command{ command_name check_http_junk command_line $USER1$/check_http -H $HOSTADDRESS$ -I $ARG1$ -u $ARG2$ -s $ARG3$ -t $ARG4$ } hosts.cfg: ---------- # 'junk' host definition define host{ use generic-host ; Name of host template to use host_name netTools alias What-Ever address www.network-tools.com check_command check-host-alive parents SSI max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } and finaly my services.cfg: ------------- # Service definition define service{ use generic-service ; Name of service template to use host_name netTools service_description quick-http-test is_volatile 0 check_period 24x7 max_check_attempts 25 normal_check_interval 10 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_junk!www.network-tools.com!"/default.asp?prog=network&Netnic=whois.ripe.net&host="!'RIPE'!20 } This works like a charm for me at least. Hope this will help you. Regards /Michael On Thu, 29 May 2003 11:47:25 -0400 chbaker at powersystems.rockwell.com wrote: > Can someone share a check_http command that passes parameters to a web > application? I can get this to work on the command line, but everytime I > put the same things into my services.cfg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 2 17:21:48 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 2 Jun 2003 10:21:48 -0500 Subject: Displaying Hostgroups in Nagios's left frame Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E73EF@mismail.ena.com> You'll need to edit /usr/local/nagios/share/side.html to your liking. There is no specific documentation on this 'hack'. Be aware that any changes you make to this file will be lost if you upgrade. My guess is you'll probably want a URL like http://yourNagiosMachine/cgi/status.cgi?hostgroup=yourHostgroupName&style=overview -- Marc ________________________________________ From: Lawrence Mulligan [mailto:LawrenceMulligan at percipient.net] Sent: Monday, June 02, 2003 10:10 AM To: nagios-users at lists.sourceforge.net I saw a screenshot of someone's Nagios setup and they had their hostgroups showing up underneath the Service detail link. Like this: ??????? * Tactical Overview ??????? * Service Detail -->???? ??????? * Linux Machines -->???? ??????? * Routers -->???? ??????? * etc Can someone point my to the correct documentation in the documentation?? I can't seem to find any information and I'd like to try to break the display of status information into smaller groups. Thanks. Lawrence Mulligan Sr. Unix Administrator, Percipient 847-317-2383 "Those who do not understand Unix are condemned to reinvent it, poorly." ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LawrenceMulligan at percipient.net Mon Jun 2 17:10:13 2003 From: LawrenceMulligan at percipient.net (Lawrence Mulligan) Date: Mon, 2 Jun 2003 10:10:13 -0500 Subject: Displaying Hostgroups in Nagios's left frame Message-ID: <040B9D7D707DD311B87600508B2C5F5D031351C4@exchange1.emsinfo.com> I saw a screenshot of someone's Nagios setup and they had their hostgroups showing up underneath the Service detail link. Like this: * Tactical Overview * Service Detail --> * Linux Machines --> * Routers --> * etc Can someone point my to the correct documentation in the documentation? I can't seem to find any information and I'd like to try to break the display of status information into smaller groups. Thanks. Lawrence Mulligan Sr. Unix Administrator, Percipient 847-317-2383 "Those who do not understand Unix are condemned to reinvent it, poorly." -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlagazo at alterna.com Mon Jun 2 17:28:04 2003 From: rlagazo at alterna.com (Robert Lagazo) Date: Mon, 2 Jun 2003 09:28:04 -0600 Subject: Trends & SQLServer In-Reply-To: <200306021549.12640.roy@karlsbakk.net> References: <200306021549.12640.roy@karlsbakk.net> Message-ID: Thanks guyz. =) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Roy Sigurd Karlsbakk Sent: Monday, June 02, 2003 7:49 AM To: Tom DE BLENDE; Robert Lagazo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Trends & SQLServer > > 2) Anyone out there knows how I can get a hold of an MS SQLServer plugin? > > check_mssql.sh at > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contri >b/ http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=298 80&atid=541465 perhaps a little cleaner design? :) -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forum1.20.jsals at spamgourmet.com Mon Jun 2 20:09:19 2003 From: forum1.20.jsals at spamgourmet.com (Jim) Date: 2 Jun 2003 18:09:19 -0000 Subject: HP/Compaq ILO and check_http In-Reply-To: <3EDB44C7.6050302@mobilcom.de> References: <3EDB44C7.6050302@mobilcom.de> Message-ID: <20030602180919.14229.qmail@pod-163.dolphin-server.co.uk> I am getting a valid response when checking the ILO interface on our server. It is using a different IP address than the actual server. I am contacting it with no special options. just /usr/lib/nagios/plugins/check_http -H . ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 2 20:11:05 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 2 Jun 2003 13:11:05 -0500 Subject: hosts shown down when actually up Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E73FE@mismail.ena.com> Jeff, It sounds awfully like you may have more than one instance of nagios running. Inconsistencies like these could result from conflicting writes to the status.log. Try shutting down nagios then using ps to see if there are any that remain. If so, kill those and restart nagios. -- Marc ________________________________________ From: Jeff Kilpatrick [mailto:jkilpatrick500 at charter.net] Sent: Monday, June 02, 2003 12:50 PM To: nagios-users at lists.sourceforge.net I have setup Nagios to monitor around 135 hosts (only checking to see if host is up).? My network topology is a MAN using Gig Ethernet from the site where the Nagios machine is and a mix of 10/100/1000Mb/s ethernet to each site on the MAN.? I am monitoring the router connecting each?site as well as 3-4 servers at each site.? One?site that is connected via 100Mb/s will show the router down and/or some of the servers down; sometimes all, sometimes different ones.? Yet, when one of these machines is shown as down, I am able to ping it from the nagios machine and other machines.? I can restart nagios and it will show these machines as up for a while, then return to a down state.? I'm also monitoring the performance of these using MRTG?which currently?is reporting one machine at this site as being up for 16 days while Nagios reports?it has been down for 3?days.??I have included the?service definition below; the hosts definitions are identical to the other hosts which are working fine.? The router at this site is in a hostgroup with all the other routers; the servers are in a hostgroup unique to this site.? ? Also should note that this particular site did actually go down once after I restarted nagios; nagios reported it was up, when the site was down.? ? Any help in troubleshooting this is greatly appreciated.? ? ? define service{ ??????? use???? generic-service ; Name of service template to use ? ??????? host_name?????????????????????? * ??????? 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?? 120 ??????? notification_period???? 24x7 ??????? notification_options??? c,r ??????? check_command?????????? check_ping!100.0,20%!500.0,60% ??????? } ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Mon Jun 2 20:13:03 2003 From: drich at employees.org (Dan Rich) Date: Mon, 2 Jun 2003 11:13:03 -0700 (PDT) Subject: Displaying Hostgroups in Nagios's left frame In-Reply-To: <040B9D7D707DD311B87600508B2C5F5D031351C4@exchange1.emsinfo.com> References: <040B9D7D707DD311B87600508B2C5F5D031351C4@exchange1.emsinfo.com> Message-ID: <41393.63.237.201.12.1054577583.squirrel@mail.lapseofthought.com> Lawrence Mulligan said: > I saw a screenshot of someone's Nagios setup and they had their hostgroups > showing up underneath the Service detail link. Like this: > > * Tactical Overview > * Service Detail > --> * Linux Machines > --> * Routers > --> * etc > > Can someone point my to the correct documentation in the documentation? I > can't seem to find any information and I'd like to try to break the display > of status information into smaller groups. You need to edit side.html. I did it with one change to the style sheet at the top of the file adding: A.NavBarItem1 { font-family: arial,serif; background-color : black; color: #DEE7C6; font-size: 8pt; font-weight: bold; text-decoration: none; } and adding the following after the table row for Service Detail:   Host Group 1
Host Group 2
... You'll want to change hostgroup[12] and "Host Group [12]" to the name and description of your hostgroups, and keep incrementing the n in "status-dot-n" for each line you add to make t > > Can someone point my to the correct documentation in the documentation? I > can't seem to find any information and I'd like to try to break the display > of status information into smaller groups. You need to edit side.html. I did it with one change to the style sheet at the top of the file adding: A.NavBarItem1 { font-family: arial,serif; background-color : black; color: #DEE7C6; font-size: 8pt; font-weight: bold; text-decoration: none; } and adding the following after the table row for Service Detail:   Host Group 1
Host Group 2
... You'll want to change hostgroup[12] and "Host Group [12]" to the name and description of your hostgroups, and keep incrementing the n in "status-dot-n" for each line you add to make the green dot turn orange when your mouse rolls over the line. Remember, any changes you make to side.html and main.html will be lost if you upgrade Nagios, so keep a backup copy you can restore after upgrading. -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkilpatrick500 at charter.net Mon Jun 2 19:50:29 2003 From: jkilpatrick500 at charter.net (Jeff Kilpatrick) Date: Mon, 2 Jun 2003 12:50:29 -0500 Subject: hosts shown down when actually up Message-ID: <001001c3292f$7ae474a0$6601a8c0@al.charter.com> I have setup Nagios to monitor around 135 hosts (only checking to see if host is up). My network topology is a MAN using Gig Ethernet from the site where the Nagios machine is and a mix of 10/100/1000Mb/s ethernet to each site on the MAN. I am monitoring the router connecting each site as well as 3-4 servers at each site. One site that is connected via 100Mb/s will show the router down and/or some of the servers down; sometimes all, sometimes different ones. Yet, when one of these machines is shown as down, I am able to ping it from the nagios machine and other machines. I can restart nagios and it will show these machines as up for a while, then return to a down state. I'm also monitoring the performance of these using MRTG which currently is reporting one machine at this site as being up for 16 days while Nagios reports it has been down for 3 days. I have included the service definition below; the hosts definitions are identical to the other hosts which are working fine. The router at this site is in a hostgroup with all the other routers; the servers are in a hostgroup unique to this site. Also should note that this particular site did actually go down once after I restarted nagios; nagios reported it was up, when the site was down. Any help in troubleshooting this is greatly appreciated. define service{ use generic-service ; Name of service template to use host_name * 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 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } -------------- next part -------------- An HTML attachment was scrubbed... URL: From rplewe at hpce.nec.com Mon Jun 2 20:46:57 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Mon, 2 Jun 2003 20:46:57 +0200 Subject: hosts shown down when actually up In-Reply-To: <001001c3292f$7ae474a0$6601a8c0@al.charter.com>; from jkilpatrick500@charter.net on Mon, Jun 02, 2003 at 12:50:29PM -0500 References: <001001c3292f$7ae474a0$6601a8c0@al.charter.com> Message-ID: <20030602204657.A1615@hpce.nec.com> On Mon, Jun 02, 2003 at 12:50:29PM -0500, Jeff Kilpatrick wrote: > > One site > that is connected via 100Mb/s will show the router down and/or some of > the servers down; sometimes all, sometimes different ones. Yet, when > one of these machines is shown as down, I am able to ping it from the > nagios machine and other machines. I can restart nagios and it will > show these machines as up for a while, then return to a down state. Such random behaviour could be caused by multiple Nagios instances running, check http://www.nagios.org/faqs/viewfaq.php?faq_id=21 Not too likely, but worth a check. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 2 20:38:36 2003 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 2 Jun 2003 19:38:36 +0100 Subject: templates and inheritance Message-ID: <000001c32936$2df96e00$0400a8c0@squarebox.com> Slap me if I'm being stupid. What I'd like to do is put a bunch of generic stuff in a hosts.cfg file then have multiple /usr/local/nagios/etc/ pointed to with system specific host config's. Again these could be hosts.cfg but would only contain stuff for that item. In the etc/hosts.cfg I'd stick # Generic host definition template define host{ name generic-host notification_interval 60 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 } an example of what id want in my etc/switches/hosts.cfg #'cat 6509' host definition define host{ use generic-host host_name cat6509-core alias Catalyst 6509 address 172.122.10.254 check_command check-host-alive max_check_attempts 3 notification_period 24x7 notification_options d,r } I'd then have the nagios.cfg point to various config's cfg_file=/usr/local/nagios/etc/hosts.cfg # for generic stuffs cfg_file=/usr/local/nagios/etc/switches/hosts.cfg # every switch config's cfg_file=/usr/local/nagios/etc/routers/hosts.cfg # every router config's cfg_file=/usr/local/nagios/etc/Microsoft/hosts.cfg # Microsoft config's cfg_file=/usr/local/nagios/etc/UNIX/hosts.cfg # UNIX box config's My question is would all the generic stuff be inherited from etc/hosts.cfg into etc/switches/hosts.cfg and the others? The purpose is so I can change stuff for generic host and only need to change it in one place as opposed to 5 different locations. Obviously id use like to use the same mechanism for services as well Ta in advance Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.panko at eds.com Mon Jun 2 20:45:06 2003 From: jason.panko at eds.com (Panko, Jason R) Date: Mon, 2 Jun 2003 13:45:06 -0500 Subject: Nagios and OpenNMS or OpenNMS with Nagios??? Message-ID: <9C79F2D39765D411B18900508BE326A2BB4D54@USPLM208> Anyone... What are the differences between Nagios and OpenNMS? Should I use them both at the same time or are they the same type of application? Do they support each other? Any help would be appreciated. Jason www.eds.com ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Mon Jun 2 21:05:13 2003 From: drich at employees.org (Daniel Rich) Date: Mon, 02 Jun 2003 12:05:13 -0700 Subject: templates and inheritance In-Reply-To: <000001c32936$2df96e00$0400a8c0@squarebox.com> References: <000001c32936$2df96e00$0400a8c0@squarebox.com> Message-ID: <3EDB9FE9.20105@employees.org> It sounds like you are trying to do what I do here. I do it with services so I don't have to duplicate the same data over and over again. For example: services-templates.cfg: define service{ name generic-service active_checks_enabled 1 ... the standard generic-service entry ... } # SSH define service{ name ssh-service use generic-service service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups smallservers-admin-admins notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_ssh register 0 } services.cfg define service{ use ssh-service host_name host1 } define service{ use ssh-service host_name host2 } etc. Tom Welsh wrote: >Slap me if I'm being stupid. > >What I'd like to do is put a bunch of generic stuff in a hosts.cfg file >then have multiple /usr/local/nagios/etc/ pointed to with >system specific host config's. Again these could be hosts.cfg but would >only contain stuff for that item. > >In the etc/hosts.cfg I'd stick > ># Generic host definition template >define host{ > name generic-host >notification_interval 60 > 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 > } > >an example of what id want in my etc/switches/hosts.cfg > >#'cat 6509' host definition >define host{ > use generic-host > host_name cat6509-core > alias Catalyst 6509 > address 172.122.10.254 > check_command check-host-alive > max_check_attempts 3 > notification_period 24x7 > notification_options d,r > } > >I'd then have the nagios.cfg point to various config's > >cfg_file=/usr/local/nagios/etc/hosts.cfg # for generic >stuffs >cfg_file=/usr/local/nagios/etc/switches/hosts.cfg # every switch >config's >cfg_file=/usr/local/nagios/etc/routers/hosts.cfg # every router >config's >cfg_file=/usr/local/nagios/etc/Microsoft/hosts.cfg # Microsoft >config's >cfg_file=/usr/local/nagios/etc/UNIX/hosts.cfg # UNIX box config's > > >My question is would all the generic stuff be inherited from >etc/hosts.cfg into etc/switches/hosts.cfg and the others? > >The purpose is so I can change stuff for generic host and only need to >change it in one place as opposed to 5 different locations. Obviously id >use like to use the same mechanism for services as well > >Ta in advance > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From Jeremy.Russell at chickasaw.net Mon Jun 2 22:35:27 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 2 Jun 2003 15:35:27 -0500 Subject: Nagios and OpenNMS or OpenNMS with Nagios??? Message-ID: <352B04312822444A962714393AED8A4D96A8FF@ADAEVS01.int.chickasaw.net> I think the OpenNMS does more with snmp, but Im really not sure at all. The two being integrated though would probably prove very useful... jrmy -----Original Message----- From: Panko, Jason R [mailto:jason.panko at eds.com] Sent: Monday, June 02, 2003 1:45 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios and OpenNMS or OpenNMS with Nagios??? Anyone... What are the differences between Nagios and OpenNMS? Should I use them both at the same time or are they the same type of application? Do they support each other? Any help would be appreciated. Jason www.eds.com ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at wells.vg Mon Jun 2 22:50:45 2003 From: matt at wells.vg (Mattw) Date: 2 Jun 2003 20:50:45 -0000 Subject: NSClient Micrsoft Servers / Exchange / SQL / AD Message-ID: <20030602205045.11731.qmail@pod-163.dolphin-server.co.uk> Does anyone know how to check and what you can check as far as Microsoft Exchange, Microsoft Active Directory and SQL replication/logs? I've been looking all the net for it but to no avail. the NSClient site says that these things are possible. Has anyone had any luck with them?? ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Tue Jun 3 00:00:49 2003 From: ramog at starcalif.com (ramog) Date: Mon, 2 Jun 2003 15:00:49 -0700 Subject: Nagios to check script Message-ID: <022301c32952$6d8a8ec0$0d2fa8c0@sysadmin.starcalif.com> I created a small unix script to check if a user is currently "logged in" in one console ( say, tty10) of one of the systems we're monitoring. Nagios is checking this using the nrpe plugin but only as information.Can anybody tell me any ideas to have Nagios check this script and would report to be critical if a "user" or an "account" is not currently log in. Any help is greatly appreciated.... Thanks, RFA -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Tue Jun 3 00:16:08 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 2 Jun 2003 15:16:08 -0700 Subject: Displaying Hostgroups in Nagios's left frame References: <040B9D7D707DD311B87600508B2C5F5D031351C4@exchange1.emsinfo.com> Message-ID: Displaying Hostgroups in Nagios's left frameI think what you're looking for is pictured in the navbar of this screenshot: http://apan.sourceforge.net/images/scr1_big.jpg Get the "grouplist" hack by Fredrik Wanglund. This will dynamically generate the hostgroups in the left sidebar. http://apan.sourceforge.net/download.html "Lawrence Mulligan" wrote in message news:040B9D7D707DD311B87600508B2C5F5D031351C4 at exchange1.emsinfo.com... I saw a screenshot of someone's Nagios setup and they had their hostgroups showing up underneath the Service detail link. Like this: * Tactical Overview * Service Detail --> * Linux Machines --> * Routers --> * etc Can someone point my to the correct documentation in the documentation? I can't seem to find any information and I'd like to try to break the display of status information into smaller groups. Thanks. Lawrence Mulligan Sr. Unix Administrator, Percipient 847-317-2383 "Those who do not understand Unix are condemned to reinvent it, poorly." ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jun 3 00:35:04 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 2 Jun 2003 17:35:04 -0500 Subject: Nagios and OpenNMS or OpenNMS with Nagios??? Message-ID: Going back a number of months, I think someone else on the list said that OpenNMS is a resource hog. In other words, dig deep into your pockets and be prepared to spend some decent money on your OpenNMS server. I could be thinking of another SNMP-based product, however. Nagios has check_snmp, and there are RRDtool-based apps which do a fine job of graphing SNMP-based output (eg, Cricket, MRTG). Jason, aside from the above reference, I don't recall any fruitful references to OpenNMS. You might be hard pressed to find OpenNMS chatter on Nagios mailing lists. If you think I'm being biased, you could be right. ;) Nagios ROCKS! But if you decide to go ahead and do some "compare and contrast" R&D, let us know what you find out. Better still, you could always add it to the FAQ. ;) jc > -----Original Message----- > From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Sent: Monday, June 02, 2003 3:35 PM > To: Panko, Jason R; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios and OpenNMS or OpenNMS > with Nagios??? > > > I think the OpenNMS does more with snmp, but Im really not > sure at all. > The two being integrated though would probably prove very useful... > > jrmy > > -----Original Message----- > From: Panko, Jason R [mailto:jason.panko at eds.com] > Sent: Monday, June 02, 2003 1:45 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagios and OpenNMS or OpenNMS with Nagios??? > > Anyone... > > What are the differences between Nagios and OpenNMS? Should I use them > both > at the same time or are they the same type of application? Do they > support > each other? > > Any help would be appreciated. > > Jason > www.eds.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Tue Jun 3 00:57:52 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Tue, 3 Jun 2003 10:57:52 +1200 Subject: check_nt trial Delphi version Message-ID: Hi all, I've got a strange problem that has just sprung up with check_nt. Over the weekend (when else is anything bad going to happen?!! ;-) I had two windows machines (out of 18) where check_nt seemed to stop working. The windows boxes use a mix of pnsclient versions 1.0.7.0, 1.0.7.1 & 1.0.8.0 and it doesn't seem any particular version since I still have a v1.0.8.0 which is responding correctly. When I try to remove the service or install any other versions I get the error "This module was compiled with a trial version of Delphi. The trial period has expired." I tried all of the 1.0.8.x versions with the same result, and then tried 1.0.7.1 which installed but still won't communicate with check_nt. The event log shows the following error message: -- The Nagios Agent service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion. -- Timeout (30000 milliseconds) waiting for the Nagios Agent service to connect. -- Does anyone have any ideas on fixing this? Thanks Darren. ########################################################################### 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. ########################################################################### ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 01:51:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 19:51:43 -0400 (EDT) Subject: Nagios to check script In-Reply-To: <022301c32952$6d8a8ec0$0d2fa8c0@sysadmin.starcalif.com> References: <022301c32952$6d8a8ec0$0d2fa8c0@sysadmin.starcalif.com> Message-ID: On Mon, 2 Jun 2003, ramog wrote: > I created a small unix script to check if a user is currently "logged > in" in one console ( say, tty10) of one of the systems we're monitoring. > Nagios is checking this using the nrpe plugin but only as > information.Can anybody tell me any ideas to have Nagios check this > script and would report to be critical if a "user" or an "account" is > not currently log in. > > Any help is greatly appreciated.... > plugin-dev docs... http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN71 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 02:16:48 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 02 Jun 2003 20:16:48 -0400 Subject: [Nagios-users] HP/Compaq ILO and check_http In-Reply-To: <3EDB44C7.6050302@mobilcom.de> References: <3EDB44C7.6050302@mobilcom.de> Message-ID: <1054599408.989.7.camel@miles.debisschop.net> On Mon, 2003-06-02 at 08:36, Jens Kruse wrote: > Hi, > > is anyone already checking the Webinterface of a HP/Compaq iLO Device of > a Proliant Server lie i.e. the DL-360 G2? > > either > 'check_http -H -p 80' > nor > 'check_http -H -p 443' > > gives me a satisfying result, which I had with the 'old' RILO-Card. > > TIA, > > Jens > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Read the line above. There have been issues with some embedded devices and previous versions of check_http. Without version info, I do know how many guesses I'm inclined to make or how deeply I'm inclined the probe the issue. For that matter, I cannot begin to fathom what you muight mean by saying there was no satisfying result - did you timeout? Did it hang forever? Didi you get a seg fault? Was there a ciritical or warning state? I could go on. But, to start, have you tried the --verbose option? What was the output? Have you tried just running the seesion over telnet? -- Karl ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 From sghosh at sghosh.org Tue Jun 3 01:57:28 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 19:57:28 -0400 (EDT) Subject: Need a little Help to display CGIs In-Reply-To: References: Message-ID: On Mon, 2 Jun 2003, Michael A. Jerger wrote: > > Hi Everyone - > > I'm new at Nagios and spent most of last week working on getting it up and running. I can display > the Nagios html text docs from across the network on another machine. But I cannot get a cgi screen > to display. I suspect a process is not completing when I launch Nagios, as the command prompt fails > to return after launching. However, a ps -ef command shows five processes that are nagios-related > are running. I have?read much documentation multiple times. preflight check: nagios -v /path/to/nagios.cfg This should be clean. The number of nagios processes will vary over time as the core process forks off to execute each plugin. > > I'm running Nagios?on a Sun Ultra 60 with Apache 1.3.27. Apache seems to run without any problems. > > If anyone else has had similar problems and found a solution, I would really like to hear from you. > I suspect that either my httpd.conf file or the cgi.cfg file or the nagios.cfg file has a parameter > set improperly, although I will not rule out a mistake in some other file.? If anyone can send a > copy of these three files and/or advice to me via my hotmail account, I would greatly appreciate it. > I will compare my printouts against printouts of a known working system. If you get a message saying > your documents are non deliverable because my mailbox is full, it is because I have a number of > responses already. As of now, it is almost empty. > > Please don't be shy about responding. Your "lessons learned" are valuable to someone else! > If you can see the html file then the "Alias" config in apache is working. Can you see any error in the apache logs when cgi access is attempted? Possible Issues: 1. apache does not have execute perms on cgi (normally apache and nagios should have a common group) 2. "ScriptAlias" section in httpd.conf is in the wrong order w/ respect to "Alias" post you config and errors. check your mailbox more often. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Tue Jun 3 03:12:33 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Tue, 3 Jun 2003 09:12:33 +0800 Subject: need help on monitoring process problems Message-ID: <> i need help y my monitoring process still not running ..im running nagios1.0 on apache2.0 in red hat 9.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.gif Type: image/gif Size: 2837 bytes Desc: nagios.gif URL: From sherwin at infiniteinfo.com Tue Jun 3 04:03:56 2003 From: sherwin at infiniteinfo.com (Sherwin Chua) Date: 03 Jun 2003 10:03:56 +0800 Subject: Mathopd web servers Message-ID: <1054605838.26171.167.camel@omnibus> Has anyone used Nagios to monitor Mathopd websites? I had no problem setting up and monitoring websites using aolservers but did encounter problems with mathopd. The error message I am getting is "Error in recv()". It seems like nagios was unable to get any response from mathopd. Below are the details... Entry under checkcommands file: # 'check_http_www.website.com' command definition define command{ command_name check_http_website command_line $USER1$/check_http -H www.website.com Entry under services.cfg file: # Service definition define service{ use generic-service ; Name of service template to use host_name livesite service_description www.website.com is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_http_website } Any help would be appreciated, thanks. Sherwin Chua Systems Administrator Infiniteinfo Inc. www.infiniteinfo.com -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 04:43:45 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 22:43:45 -0400 (EDT) Subject: need help on monitoring process problems In-Reply-To: References: Message-ID: On Tue, 3 Jun 2003, Syed Zulhilmi Tuan Sharif wrote: > <> i need help y my monitoring process still not running > ..im running nagios1.0 on apache2.0 in red hat 9.0 > please use text to convey your question. In cgi.cfg there is a "nagios_check_command" definition. This command needs to be adapted to the local system. File based status: using "check_nagios" - modify the argument for the -C parameter based on your ps output. Database status: use the "check_nagios_db" plugin from the contrib directory of the plugins distribution. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 04:49:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 22:49:36 -0400 (EDT) Subject: Mathopd web servers In-Reply-To: <1054605838.26171.167.camel@omnibus> References: <1054605838.26171.167.camel@omnibus> Message-ID: On 3 Jun 2003, Sherwin Chua wrote: > > Has anyone used Nagios to monitor Mathopd websites? I had no problem > setting up and monitoring websites using aolservers but did encounter > problems with mathopd. The error message I am getting is "Error in > recv()". It seems like nagios was unable to get any response from > mathopd. > > > Below are the details... > > > Entry under checkcommands file: > # 'check_http_www.website.com' command definition > define command{ > command_name check_http_website > command_line $USER1$/check_http -H www.website.com > > > > > Entry under services.cfg file: > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name livesite > service_description www.website.com > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http_website > } > > Any help would be appreciated, thanks. > > > Sherwin Chua > Systems Administrator > Infiniteinfo Inc. > www.infiniteinfo.com > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null without version info we can be of no help... bash$ /usr/local/nagios/libexec/check_http -H www.website.com HTTP ok: HTTP/1.1 200 OK - 0.422 second response time |time= 0.422 bash$ /usr/local/nagios/libexec/check_http -V check_http (nagios-plugins 1.3.0) 1.24 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Tue Jun 3 05:19:41 2003 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 3 Jun 2003 13:19:41 +1000 Subject: Master list of check_nt variables Message-ID: <00e501c3297e$f91f44e0$d700a8c0@iih.usyd.edu.au> Hi I have built a few commands using check_nt and was wondering if there was a master list or source for all the variables (and their arguments) able to retreived using this command, ie. UPTIME, CPULOAD etc, etc? Regards James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at mintoskatingclub.com Tue Jun 3 04:59:50 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Mon, 2 Jun 2003 22:59:50 -0400 (EDT) Subject: check_nt trial Delphi version - fix issued Message-ID: <200306030259.h532xobn012469@webmail1.magma.ca> All: On Monday, June 2nd (depending on your system time), versions 1.0.8.0 to 1.0.8.3 of NSClient displayed the following error on startup - "This module was compiled with a trial version of Delphi, the trial version has expired.". The error will not appear until the agent is stopped and attempted to be restarted. This is fixed in NSClient 1.0.8.4. All users of NSClient 1.0.8.0 to 1.0.8.3 need to upgrade to the pNSClient.exe 1.0.8.4. In the Control Panel, stop the Nagios Agent service. Go to the directory where NSClient is installed and copy pNSClient.exe 1.0.8.4 over top of the existing pNSClient.exe binary. Restart the service. We apoogize for the inconvience this has caused the users of NSClient. The fixed version is attached and is also available on our forum at http://support.tsmgsoftware.com When we began working with NSClient we used the Borland Delphi Enterprise Trial which we were able to download from the Internet and activate with a 31 day trial key. We also ordered the full version as a full key could not be ordered online, but rather a separate boxed copy had to be ordered. In the week or so it took for the software to arrive we worked on and released NSClient 1.0.8.0. As the new software required an uninstall and a reinstall, we didn't install it right away. We continued to update NSClient and released versions 1.0.8.1 to 1.0.8.3. Unfortunately, we did not realize that any software compiled with the trial version would stop working at the end of the trial. In our opinion, Borland made no efforts to advise users of the trial version that this would happen. To fix the problem, we uninstalled the trial version, installed the full version, reinstalled the SVCOM libraries, the Jedi libraries and the Jawa libraries and recompiled to produce NSClient 1.0.8.4. Again, we apologize for the inconvience. Tim Shouldice TSMG Software Inc. On Jun 3 , "Darren Harrison" wrote: > > Hi all, > I've got a strange problem that has just sprung up with check_nt. > Over the weekend (when else is anything bad going to happen?!! ;-) I had > two windows machines (out of 18) where check_nt seemed to stop working. > The windows boxes use a mix of pnsclient versions 1.0.7.0, 1.0.7.1 & > 1.0.8.0 and it doesn't seem any particular version since I still have a > v1.0.8.0 which is responding correctly. > When I try to remove the service or install any other versions I get the > error "This module was compiled with a trial version of Delphi. The trial > period has expired." > I tried all of the 1.0.8.x versions with the same result, and then tried > 1.0.7.1 which installed but still won't communicate with check_nt. > > The event log shows the following error message: > -- > The Nagios Agent service failed to start due to the following error: > The service did not respond to the start or control request in a timely > fashion. > -- > Timeout (30000 milliseconds) waiting for the Nagios Agent service to > connect. > -- > > > Does anyone have any ideas on fixing this? > > Thanks > > Darren. > > > > ########################################################################### > 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. > ########################################################################### > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: pNSClient.zip Type: application/unknown Size: 247897 bytes Desc: not available URL: From sherwin at infiniteinfo.com Tue Jun 3 05:34:18 2003 From: sherwin at infiniteinfo.com (Sherwin Chua) Date: 03 Jun 2003 11:34:18 +0800 Subject: Mathopd web servers In-Reply-To: References: Message-ID: <1054611260.26151.225.camel@omnibus> I'm sorry forgot to fillup the versions. - Nagios v1.0 - Nagios Plugin 1.3.0-beta2 - check_http (nagios-plugins 1.3.0-beta2) 1.12 - OS : RedHat 7.2 Here is a sample of the error: # /usr/local/nagios/libexec/check_http -H www.aterwynne.com Error in recv() # Thanks. On Tue, 2003-06-03 at 10:49, Subhendu Ghosh wrote: > On 3 Jun 2003, Sherwin Chua wrote: > > > > > Has anyone used Nagios to monitor Mathopd websites? I had no problem > > setting up and monitoring websites using aolservers but did encounter > > problems with mathopd. The error message I am getting is "Error in > > recv()". It seems like nagios was unable to get any response from > > mathopd. > > > > > > Below are the details... > > > > > > Entry under checkcommands file: > > # 'check_http_www.website.com' command definition > > define command{ > > command_name check_http_website > > command_line $USER1$/check_http -H www.website.com > > > > > > > > > > Entry under services.cfg file: > > > > # Service definition > > define service{ > > use generic-service ; Name > > of service template to use > > > > host_name livesite > > service_description www.website.com > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 2 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_http_website > > } > > > > Any help would be appreciated, thanks. > > > > > > Sherwin Chua > > Systems Administrator > > Infiniteinfo Inc. > > www.infiniteinfo.com > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > without version info we can be of no help... > > bash$ /usr/local/nagios/libexec/check_http -H www.website.com > HTTP ok: HTTP/1.1 200 OK - 0.422 second response time |time= 0.422 > bash$ /usr/local/nagios/libexec/check_http -V > check_http (nagios-plugins 1.3.0) 1.24 > > > -- > > -sg > > Sherwin Chua Systems Administrator Infiniteinfo Inc. www.infiniteinfo.com ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DManuel at continuumit.com.au Tue Jun 3 05:53:23 2003 From: DManuel at continuumit.com.au (Damien Manuel) Date: Tue, 3 Jun 2003 13:53:23 +1000 Subject: Master list of check_nt variables Message-ID: <784A12BC71EF2C42B996EFB2BC4031201F8FD8@contit-mlb-mx2.continuumit.com.au> Greetings, The best way to make a list is to use ctrlist.exe from the M$ resource kit. When you run this on a server it will produce a list of counters that can be queried. Note, that the counter name varies based on version of M$ platform and software installed. If you want to find services to query on M$ platforms use the free tool called Typhon. I have listed some examples below: # 'check_exch55_Out_queue' command definition define command{ command_name Exch55_Out_Queue command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\MSExchangeIMC\Queued Outbound","%.f Messages in Queue" -p 1248 -w $ARG1$ -c $ARG2$ } # 'check_exch55_In' command definition define command{ command_name Exch55_In_Queue command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\MSExchangeIMC\Queued Inbound","%.f Messages in Queue" -p 1248 -w $ARG1$ -c $ARG2$ } # 'Active Server Pages Request Total in Bytes' command definition define command{ command_name ASP_Request_Total command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Active Server Pages\Request Bytes In Total","%.f Bytes" -p 1248 } # 'Active Server Pages Total Number of Failed Requests - Includes Disconnects and Authorisation Failures' command definition define command{ command_name ASP_Requests_Failed_Total command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Active Server Pages\Requests Failed Total","%.f Failed Requests" -p 1248 } # 'Memory - Available MBytes of physical memorys' command definition define command{ command_name Memory_Available command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Memory\Available MBytes","%.f MBytes" -p 1248 -w $ARG1$ -c $ARG2$ } # 'HTTP - Indexing service' command definition define command{ command_name HTTP_Indexing command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Http Indexing Service","%.f " -p 1248 } Other things you can query with check_nt are processes, services etc...like the ones listed below: # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v USEDDISKSPACE -p 1248 -l $ARG1$ -w $ARG2$ -c $ARG3$ } # 'check_nt_cpuload' command definition define command{ command_name check_nt_cpuload command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -p 1248 -l $ARG1$ } # 'check_nt_uptime' command definition define command{ command_name check_nt_uptime command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v U PTIME -p 1248 } # 'check_nt_process' command definition define command{ command_name check_nt_process command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v PROCSTATE -p 1248 -l $ARG1$ } # 'check_nt_service' command definition define command{ command_name check_nt_service command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -p 1248 -l $ARG1$ } # 'check_nt_memuse' command definition define command{ command_name check_nt_memuse command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v MEMUSE -p 1248 -w $ARG1$ -c $ARG2$ } # 'check_nt_pagingfile' command definition define command{ command_name check_nt_pagingfile command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%" -p 1248 -w $ARG1$ -c $ARG2$ } # 'check_nt_thread' command definition define command{ command_name check_nt_thread command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Process(_Total)\\Thread Count","Thread Count: %.f" -p 1248 -w $ARG1$ -c $ARG2$ } # 'check_nt_session' command definition define command{ command_name check_nt_session command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Server\\Server Sessions","Server Sessions: %.f" -p 1248 -w $ARG1$ -c $ARG2$ } -----Original Message----- From: James Turnbull [mailto:james at lovedthanlost.net] Sent: Tuesday, 3 June 2003 1:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Master list of check_nt variables Hi I have built a few commands using check_nt and was wondering if there was a master list or source for all the variables (and their arguments) able to retreived using this command, ie. UPTIME, CPULOAD etc, etc? Regards James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 05:56:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 23:56:01 -0400 (EDT) Subject: need help on monitoring process problems In-Reply-To: References: Message-ID: Usage: check_nagios -F -e -C Options: -F, --filename=FILE Name of the log file to check -e, --expires=INTEGER Seconds aging afterwhich logfile is condsidered stale -C, --command=STRING Command to search for in process table -h, --help Print this help screen -V, --version Print version information -------> verify that -F points to the correct file -C is a value listed in the process table... On Tue, 3 Jun 2003, Syed Zulhilmi Tuan Sharif wrote: > im sorry if this email disturbing u > when u said > "In cgi.cfg there is a "nagios_check_command" definition. This command > needs to be adapted to the local system." > > what do u actually mean by that command needs to be adapted to the local system. > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, June 03, 2003 10:44 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] need help on monitoring process problems > > > On Tue, 3 Jun 2003, Syed Zulhilmi Tuan Sharif wrote: > > > <> i need help y my monitoring process still not running > > ..im running nagios1.0 on apache2.0 in red hat 9.0 > > > > please use text to convey your question. > > In cgi.cfg there is a "nagios_check_command" definition. This command > needs to be adapted to the local system. > > File based status: using "check_nagios" - modify the argument for the -C > parameter based on your ps output. > > Database status: use the "check_nagios_db" plugin from the contrib > directory of the plugins distribution. > > > -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 05:59:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 02 Jun 2003 23:59:01 -0400 (EDT) Subject: Mathopd web servers In-Reply-To: <1054611260.26151.225.camel@omnibus> References: <1054611260.26151.225.camel@omnibus> Message-ID: On 3 Jun 2003, Sherwin Chua wrote: > I'm sorry forgot to fillup the versions. > - Nagios v1.0 > - Nagios Plugin 1.3.0-beta2 > - check_http (nagios-plugins 1.3.0-beta2) 1.12 > - OS : RedHat 7.2 > > Here is a sample of the error: > # /usr/local/nagios/libexec/check_http -H www.aterwynne.com > Error in recv() > # > > Thanks. > please update... bash$ check_http -H www.aterwynne.com HTTP ok: HTTP/1.0 200 OK - 0.402 second response time |time= 0.402 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DManuel at continuumit.com.au Tue Jun 3 06:00:05 2003 From: DManuel at continuumit.com.au (Damien Manuel) Date: Tue, 3 Jun 2003 14:00:05 +1000 Subject: check_nt trial Delphi version - fix issued Message-ID: <784A12BC71EF2C42B996EFB2BC4031201F8FD9@contit-mlb-mx2.continuumit.com.au> Greetings, I'll post a text file in the next few days on my website with the tools etc... that you need to find counters and services on M$ boxes. I will also include a summary of all the counters I have found on NT4.0, Windows 2000 and if possible Windows 2003. Regards, Damien Manuel. -----Original Message----- From: Tim Shouldice [mailto:tim at mintoskatingclub.com] Sent: Tuesday, 3 June 2003 1:00 PM To: Darren Harrison; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nt trial Delphi version - fix issued All: On Monday, June 2nd (depending on your system time), versions 1.0.8.0 to 1.0.8.3 of NSClient displayed the following error on startup - "This module was compiled with a trial version of Delphi, the trial version has expired.". The error will not appear until the agent is stopped and attempted to be restarted. This is fixed in NSClient 1.0.8.4. All users of NSClient 1.0.8.0 to 1.0.8.3 need to upgrade to the pNSClient.exe 1.0.8.4. In the Control Panel, stop the Nagios Agent service. Go to the directory where NSClient is installed and copy pNSClient.exe 1.0.8.4 over top of the existing pNSClient.exe binary. Restart the service. We apoogize for the inconvience this has caused the users of NSClient. The fixed version is attached and is also available on our forum at http://support.tsmgsoftware.com When we began working with NSClient we used the Borland Delphi Enterprise Trial which we were able to download from the Internet and activate with a 31 day trial key. We also ordered the full version as a full key could not be ordered online, but rather a separate boxed copy had to be ordered. In the week or so it took for the software to arrive we worked on and released NSClient 1.0.8.0. As the new software required an uninstall and a reinstall, we didn't install it right away. We continued to update NSClient and released versions 1.0.8.1 to 1.0.8.3. Unfortunately, we did not realize that any software compiled with the trial version would stop working at the end of the trial. In our opinion, Borland made no efforts to advise users of the trial version that this would happen. To fix the problem, we uninstalled the trial version, installed the full version, reinstalled the SVCOM libraries, the Jedi libraries and the Jawa libraries and recompiled to produce NSClient 1.0.8.4. Again, we apologize for the inconvience. Tim Shouldice TSMG Software Inc. On Jun 3 , "Darren Harrison" wrote: > > Hi all, > I've got a strange problem that has just sprung up with check_nt. > Over the weekend (when else is anything bad going to happen?!! ;-) I had > two windows machines (out of 18) where check_nt seemed to stop working. > The windows boxes use a mix of pnsclient versions 1.0.7.0, 1.0.7.1 & > 1.0.8.0 and it doesn't seem any particular version since I still have a > v1.0.8.0 which is responding correctly. > When I try to remove the service or install any other versions I get the > error "This module was compiled with a trial version of Delphi. The trial > period has expired." > I tried all of the 1.0.8.x versions with the same result, and then tried > 1.0.7.1 which installed but still won't communicate with check_nt. > > The event log shows the following error message: > -- > The Nagios Agent service failed to start due to the following error: > The service did not respond to the start or control request in a timely > fashion. > -- > Timeout (30000 milliseconds) waiting for the Nagios Agent service to > connect. > -- > > > Does anyone have any ideas on fixing this? > > Thanks > > Darren. > > > > ######################################################################## ### > 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. > ######################################################################## ### > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Tue Jun 3 06:22:04 2003 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 3 Jun 2003 14:22:04 +1000 Subject: Master list of check_nt variables References: <784A12BC71EF2C42B996EFB2BC4031201F8FD8@contit-mlb-mx2.continuumit.com.au> Message-ID: <013201c32987$b018b980$d700a8c0@iih.usyd.edu.au> Damien Manuel wrote: > Greetings, > > The best way to make a list is to use ctrlist.exe from the M$ resource > kit. When you run this on a server it will produce a list of counters > that can be queried. Note, that the counter name varies based on > version of M$ platform and software installed. If you want to find > services to query on M$ platforms use the free tool called Typhon. > > I have listed some examples below: > Thanks for this tool. It's great. My problem now - and forgive me I am not an M$ person - is how to work out the other bits like ARGS for the checks? i.e. In: # 'check_exch55_Out_queue' command definition define command{ command_name Exch55_Out_Queue command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\MSExchangeIMC\Queued Outbound","%.f Messages in Queue" -p 1248 -w $ARG1$ -c $ARG2$ } Where did you get the "%.f Messages in Queue" variable from? And what do you need to put as $ARG1$ and $ARG2$? Apologies for the newbie-style question. I just a point in the right direction and I'll be fine! Thanks James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 07:47:05 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 03 Jun 2003 01:47:05 -0400 Subject: [Nagios-announce] Nagios 1.1 Available In-Reply-To: <3EDA89AB.17576.165F225@localhost> References: <3EDA89AB.17576.165F225@localhost> Message-ID: <1054619225.1693.2.camel@miles.debisschop.net> On Mon, 2003-06-02 at 00:18, Ethan Galstad wrote: > Nagios 1.1 has been released and is available for download from > http://www.nagios.org. > > This is a bugfix release - changes since 1.0 include: > > - File descriptor leak in file-based performance routines > - Timestamp fix for PostgreSQL 7.3 > - Minor bug fixes to cmd and history CGIs > - Minor documentation fixes I have uploaded RPMs for RedHat 9 at: http://www.debisschop.net/src/redhat/9/ Since the RPM includes no patches against the CVS and the tarball, there is no SRPM (you can just do rpmbuild -ta nagios-1.1.tar.gz) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Tue Jun 3 08:02:21 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Tue, 03 Jun 2003 08:02:21 +0200 Subject: [Nagios-users] HP/Compaq ILO and check_http References: <3EDB44C7.6050302@mobilcom.de> <1054599408.989.7.camel@miles.debisschop.net> Message-ID: <3EDC39ED.6030907@mobilcom.de> Hi Karl, Karl DeBisschop wrote: >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > Read the line above. Sorry, Karl, you're absolutely right. I sink on my knees and apologize :-) ... > There have been issues with some embedded devices and previous versions > of check_http. > > Without version info, I do know how many guesses I'm inclined to make or > how deeply I'm inclined the probe the issue. monitor1-lx:~ # /usr/local/nagios/libexec/check_http -V check_http (nagios-plugins 1.3.0) 1.24 > For that matter, I cannot begin to fathom what you muight mean by saying > there was no satisfying result - did you timeout? Did it hang forever? > Didi you get a seg fault? Was there a ciritical or warning state? I > could go on. It just timeouts ... > > But, to start, have you tried the --verbose option? What was the output? Yes I did: monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p 80 --verbose Socket timeout after 10 seconds That's the result I receive with or without the --verbose option ... > Have you tried just running the seesion over telnet? Yes. It works with port 80: monitor1-lx:~ # telnet 10.35.178.154 80 Trying 10.35.178.154... Connected to 10.35.178.154. Escape character is '^]'. GET HTTP/1.1 405 Method Not Allowed Content-Type:text/html Remote Insight

Request Error

HTTP/1.1 405 Method Not Allowed Connection closed by foreign host. But not with 443: monitor1-lx:~ # telnet 10.35.178.154 443 Trying 10.35.178.154... Connected to 10.35.178.154. Escape character is '^]'. GET I also tried it with 'strace': monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p 80 --verbose The final output ... connect(3, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 recv(3, "514", 1023, 0) = 3 recv(3, "\r\n References: Message-ID: <3EDC4246.7050508@dhl.com> Carroll, Jim P [Contractor] wrote: > Going back a number of months, I think someone else on the list said that OpenNMS is a resource hog. In other words, dig deep into your pockets and be prepared to spend some decent money on your OpenNMS server. I could be thinking of another SNMP-based product, however. Nope, you are right, OpenNMS is eating resources alright. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Tue Jun 3 09:38:13 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Tue, 3 Jun 2003 15:38:13 +0800 Subject: No lock file found Message-ID: what actually nagios.lock file this happen when i want to stop,start or restart nagios [root at info kamarul]# /etc/rc.d/init.d/nagios stop Stopping network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock [root at info kamarul]# im running nagios1.0 with apache2.0 in redhat9.0 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.louafi at e-qual.fr Tue Jun 3 09:54:11 2003 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 3 Jun 2003 09:54:11 +0200 Subject: CPU Load and scheduling queue Message-ID: <01ef01c329a5$5208b1b0$6702a8c0@intranet.equal.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have a problem with my nagios. I have 1800 services on 130 hosts. All my services have the same configuration : define service{ host_name 42.42.42.42 service_description CPU:CPU_1 check_command check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public max_check_attempts 4 normal_check_interval 5 retry_check_interval 5 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 parallelize_check 1 check_freshness 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24X7 notification_options w,c,r notifications_enabled 0 stalking_options o,w,u,c } My nagios.cfg is : log_file=/opt/nagios-1.0-test/var/nagios.log cfg_file=/opt/nagios-1.0-test/etc/commands.cfg cfg_file=/opt/nagios-1.0-test/etc/contactgroups.cfg cfg_file=/opt/nagios-1.0-test/etc/contacts.cfg cfg_file=/opt/nagios-1.0-test/etc/hostgroups.cfg cfg_file=/opt/nagios-1.0-test/etc/hosts.cfg cfg_file=/opt/nagios-1.0-test/etc/services.cfg cfg_file=/opt/nagios-1.0-test/etc/timeperiods.cfg cfg_dir=/opt/nagios-1.0-test/etc/hosts cfg_dir=/opt/nagios-1.0-test/etc/services resource_file=/opt/nagios-1.0-test/etc/resource.cfg status_file=/opt/nagios-1.0-test/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=2 command_file=/opt/nagios-1.0-test/var/rw/nagios.cmd comment_file=/opt/nagios-1.0-test/var/comment.log downtime_file=/opt/nagios-1.0-test/var/downtime.log lock_file=/opt/nagios-1.0-test/var/nagios.lock temp_file=/opt/nagios-1.0-test/var/nagios.tmp log_rotation_method=d log_archive_path=/opt/nagios-1.0-test/var/archives use_syslog=0 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=10000 service_reaper_frequency=10 sleep_time=1 service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=15 perfdata_timeout=60 retain_state_information=1 state_retention_file=/opt/nagios-1.0-test/var/status.sav retention_update_interval=10 use_retained_program_state=1 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=1 host_perfdata_command=host_perfdata service_perfdata_command=service_perfdata xpdfile_host_perfdata_file=/opt/nagios-1.0-test/var/hostperf xpdfile_service_perfdata_file=/opt/nagios-1.0-test/var/svcperf xpdfile_host_perfdata_template=$HOSTNAME$\n xpdfile_service_perfdata_template=$HOSTNAME$\n check_for_orphaned_services=0 check_service_freshness=0 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=5 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=XXX at XXX admin_pager=pagenagios My perfdata function enter the check result in RRD and in a mysql database to generate statistics. Nagios schedules the check, but the check are not executed at the scheduling time. For example a sheduled check at 9:42 is executed at 9:55... My average CPU load is not high (load average: 2.27, 1.41, 1.18). My computer is a bi P3 1,26GHz I have tried inter_check_delay_method=0.01 without best result. The schedule is different (more aggressive) but the check are late. Any ideas ? Thanks a lot. S?bastien LOUAFI Chef de projet Syst?me, R?seau et S?curit?. e-Qual - Avenue du Futuroscope - Arobase 2, T?l?port 1 86360 Chasseneuil du Poitou - FRANCE -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPtxUI+L+f7HHv3GYEQK3ZwCgrfLSttgjsMnLx92ri13FKluUSfAAoJkf uvPwcF+7mimJsiUyjwe07Tms =cFp7 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue Jun 3 10:13:51 2003 From: nidecker at nidecker.net (Nicolas DECKMYN) Date: Tue, 03 Jun 2003 10:13:51 +0200 Subject: Include Message-ID: <3EDC58BF.7010108@nidecker.net> Hi I wanted to know if it's possible to link a configuration file (ex: contacts.cfg) with another one : like in C language with the #include contacts2.cfg. So i want to have two files like this (for example) : *contact.cfg ********** include "contact_temp.cfg" *contact_temp.cfg *************** ################################################################################ # CONTACT DEFINITIONS # # SYNTAX: # ################################################################################ # 'supervision' contact definition ... But when i do the things like this and i start nagios, the nagios erros configs checker return : Running configuration check... Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/etc/nagios/contacts.cfg' on line 1. So ... Is there a syntax for include ?? Thanks ! -- .:: Nicolas DECKMYN nidecker at nidecker.net http://www.nidecker.net ::. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Tue Jun 3 11:04:42 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 03 Jun 2003 11:04:42 +0200 Subject: Include References: <3EDC58BF.7010108@nidecker.net> Message-ID: <3EDC64AA.9030601@datavis.se> Add the line cfg_file=/usr/local/nagios/etc/contact_temp.cfg to nagios.cfg /FredrikW Nicolas DECKMYN wrote: > Hi > > I wanted to know if it's possible to link a configuration file (ex: > contacts.cfg) with another one : like in C language with the #include > contacts2.cfg. > > So i want to have two files like this (for example) : > > *contact.cfg > ********** > > include "contact_temp.cfg" > > > > *contact_temp.cfg > *************** > > > ################################################################################ > > # CONTACT DEFINITIONS > # > # SYNTAX: > # > > ################################################################################ > > > # 'supervision' contact definition > ... > > But when i do the things like this and i start nagios, the nagios > erros configs checker return : > > Running configuration check... > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/contacts.cfg' on line 1. > > So ... Is there a syntax for include ?? > > Thanks ! > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lux at lemgo.zumtobelstaff.co.at Tue Jun 3 10:54:07 2003 From: Lux at lemgo.zumtobelstaff.co.at (Lux, Andreas) Date: Tue, 3 Jun 2003 10:54:07 +0200 Subject: Service States Message-ID: Hello Group, I have the problem with my nagios configuration and I don't know how to fix it : I am monitoring about 27 servers with the "check_host_alive" plugin and some other plugins like "check_nt". When I restart the Netsaint-Daemon on my Linux Box all services have the state "pending" then one after the other gets to the state "OK". But I have some services where the next-check-value is in the past and these services are not checked anymore. Why does this happen ? What can I do to sole those problems ? Regards , Andreas ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 10:54:44 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 3 Jun 2003 10:54:44 +0200 Subject: Include In-Reply-To: <3EDC58BF.7010108@nidecker.net> References: <3EDC58BF.7010108@nidecker.net> Message-ID: <200306031054.44476.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 3. Juni 2003 10:13 schrieb Nicolas DECKMYN: > Hi > > I wanted to know if it's possible to link a configuration file (ex: > contacts.cfg) with another one : like in C language with the #include > contacts2.cfg. > > So i want to have two files like this (for example) : > > *contact.cfg > ********** > > include "contact_temp.cfg" > > > > *contact_temp.cfg > *************** > > > ########################################################################### >##### # CONTACT DEFINITIONS > # > # SYNTAX: > # > > ########################################################################### >##### > > # 'supervision' contact definition > ... > > But when i do the things like this and i start nagios, the nagios erros > configs checker return : > > Running configuration check... > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/contacts.cfg' on line 1. > > So ... Is there a syntax for include ?? > > Thanks ! Yes and No, look at your nagios.cfg and use directive cfg-dir=/usr/local/nagios/etc/ this would include any CFGs which represent your includings and follows the cfg-syntax. -- Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 10:59:56 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 3 Jun 2003 10:59:56 +0200 Subject: No lock file found In-Reply-To: References: Message-ID: <200306031059.56132.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 3. Juni 2003 09:38 schrieb Syed Zulhilmi Tuan Sharif: > what actually nagios.lock file > this happen when i want to stop,start or restart nagios > > [root at info kamarul]# /etc/rc.d/init.d/nagios stop > Stopping network monitor: nagios > No lock file found in /usr/local/nagios/var/nagios.lock > [root at info kamarul]# > > im running nagios1.0 with apache2.0 in redhat9.0 > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null Hi, look at your /etc/init.d/nagios-script. Does it create it? On my system (RH7.3, nagios1.0) i found one in /var/lock/subsys and the other one in /usr/local/nagios/var/ -- Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From securityguy at ikano.com Tue Jun 3 11:37:17 2003 From: securityguy at ikano.com (Robert Galloway) Date: Tue, 3 Jun 2003 03:37:17 -0600 Subject: [Nagios-announce] Nagios 1.1 Available Message-ID: <200306030337.AA238223654@mail.ikano.com> Is there a fix included in this release to allow the embedded perl to function with an "out of the box" install of perl 5.8.0 that ships with RH8 and RH9? Thanks, Robert S. Galloway Cheif Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 securityguy_AT_ikano.com ---------- Original Message ---------------------------------- From: Karl DeBisschop Date: 03 Jun 2003 01:47:05 -0400 >On Mon, 2003-06-02 at 00:18, Ethan Galstad wrote: >> Nagios 1.1 has been released and is available for download from >> http://www.nagios.org. >> >> This is a bugfix release - changes since 1.0 include: >> >> - File descriptor leak in file-based performance routines >> - Timestamp fix for PostgreSQL 7.3 >> - Minor bug fixes to cmd and history CGIs >> - Minor documentation fixes > >I have uploaded RPMs for RedHat 9 at: > > http://www.debisschop.net/src/redhat/9/ > >Since the RPM includes no patches against the CVS and the tarball, there >is no SRPM (you can just do rpmbuild -ta nagios-1.1.tar.gz) > >-- >Karl > > > >------------------------------------------------------- >This SF.net email is sponsored by: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue Jun 3 11:42:42 2003 From: nidecker at nidecker.net (Nicolas DECKMYN) Date: Tue, 03 Jun 2003 11:42:42 +0200 Subject: Include In-Reply-To: <3EDC64AA.9030601@datavis.se> References: <3EDC58BF.7010108@nidecker.net> <3EDC64AA.9030601@datavis.se> Message-ID: <3EDC6D92.6050809@nidecker.net> There is again the same problem : nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg nidecker at cathia:/usr/local/etc/nagios$ sudo /usr/local/etc/rc.d/nagios.sh restart Running configuration check... Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/etc/nagios/contacts.cfg' on line 1. Fredrik W?nglund wrote: > Add the line > cfg_file=/usr/local/nagios/etc/contact_temp.cfg > to nagios.cfg > > /FredrikW > > > > Nicolas DECKMYN wrote: > >> Hi >> >> I wanted to know if it's possible to link a configuration file (ex: >> contacts.cfg) with another one : like in C language with the #include >> contacts2.cfg. >> >> So i want to have two files like this (for example) : >> >> *contact.cfg >> ********** >> >> include "contact_temp.cfg" >> >> >> >> *contact_temp.cfg >> *************** >> >> >> ################################################################################ >> >> # CONTACT DEFINITIONS >> # >> # SYNTAX: >> # >> >> ################################################################################ >> >> >> # 'supervision' contact definition >> ... >> >> But when i do the things like this and i start nagios, the nagios >> erros configs checker return : >> >> Running configuration check... >> Nagios 1.0 >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> Last Modified: 11-24-2002 >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file >> '/usr/local/etc/nagios/contacts.cfg' on line 1. >> >> So ... Is there a syntax for include ?? >> >> Thanks ! >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- .:: Nicolas DECKMYN nidecker at nidecker.net http://www.nidecker.net ::. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Tue Jun 3 12:16:11 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 03 Jun 2003 12:16:11 +0200 Subject: Include References: <3EDC58BF.7010108@nidecker.net> <3EDC64AA.9030601@datavis.se> <3EDC6D92.6050809@nidecker.net> Message-ID: <3EDC756B.9010407@datavis.se> I did say nagios.cfg _not_ contacts.cfg! /FredrikW Nicolas DECKMYN wrote: > There is again the same problem : > > nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg > cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg > nidecker at cathia:/usr/local/etc/nagios$ sudo > /usr/local/etc/rc.d/nagios.sh restart > Running configuration check... > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/contacts.cfg' on line 1. > > > > Fredrik W?nglund wrote: > >> Add the line >> cfg_file=/usr/local/nagios/etc/contact_temp.cfg >> to nagios.cfg >> >> /FredrikW >> >> >> >> Nicolas DECKMYN wrote: >> >>> Hi >>> >>> I wanted to know if it's possible to link a configuration file (ex: >>> contacts.cfg) with another one : like in C language with the >>> #include contacts2.cfg. >>> >>> So i want to have two files like this (for example) : >>> >>> *contact.cfg >>> ********** >>> >>> include "contact_temp.cfg" >>> >>> >>> >>> *contact_temp.cfg >>> *************** >>> >>> >>> ################################################################################ >>> >>> # CONTACT DEFINITIONS >>> # >>> # SYNTAX: >>> # >>> >>> ################################################################################ >>> >>> >>> # 'supervision' contact definition >>> ... >>> >>> But when i do the things like this and i start nagios, the nagios >>> erros configs checker return : >>> >>> Running configuration check... >>> Nagios 1.0 >>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>> Last Modified: 11-24-2002 >>> License: GPL >>> >>> Reading configuration data... >>> >>> Error: Unexpected token or statement in file >>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>> >>> So ... Is there a syntax for include ?? >>> >>> Thanks ! >>> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: eBay >> Get office equipment for less on eBay! >> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ext-nagios at jezzer.co.uk Tue Jun 3 12:33:43 2003 From: ext-nagios at jezzer.co.uk (jez_uk1) Date: 3 Jun 2003 10:33:43 -0000 Subject: MySQL Problems? Message-ID: <20030603103343.4491.qmail@pod-163.dolphin-server.co.uk> Hi chaps, I'm trying to build nagios 1.1 with MySQL 4 however, i'm receiving the following messages during the build process (only a fraction has been shown): ------------------------------- /tmp/ccZNtyvP.o: In function `xrddb_initialize': /usr/src/nagios-1.1/base/../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/ccZNtyvP.o: In function `xrddb_connect': /usr/src/nagios-1.1/base/../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /usr/src/nagios-1.1/base/../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/ccZNtyvP.o: In function `xrddb_disconnect': /usr/src/nagios-1.1/base/../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/ccZNtyvP.o: In function `xrddb_query': /usr/src/nagios-1.1/base/../xdata/xrddb.c:329: undefined reference to `mysql_query' ... ... ... ------------------------------- During the configure process: checking for main in -lmysqlclient... yes MySQL library was found! Does Nagios not support MySQL 4 headers, or am I doing something very silly? Thanks, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slomond at gov.nl.ca Tue Jun 3 12:22:05 2003 From: slomond at gov.nl.ca (SLomond) Date: 3 Jun 2003 10:22:05 -0000 Subject: Template Configuration Help Message-ID: <20030603102205.1703.qmail@pod-163.dolphin-server.co.uk> I have had Nagios running now for about a year and love it. But I need some advice on configuring templates. Is there anyway to exclude a service check for a host. HostGroup conatins 25 servers. Service check set for this HostGroup. Issue, I only want it performed on 24 of the servers. Is there a way to configre this one server not to perform check and the other to continue as nornal? ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue Jun 3 12:38:20 2003 From: nidecker at nidecker.net (Nicolas DECKMYN) Date: Tue, 03 Jun 2003 12:38:20 +0200 Subject: Include In-Reply-To: <3EDC756B.9010407@datavis.se> References: <3EDC58BF.7010108@nidecker.net> <3EDC64AA.9030601@datavis.se> <3EDC6D92.6050809@nidecker.net> <3EDC756B.9010407@datavis.se> Message-ID: <3EDC7A9C.1030301@nidecker.net> Sorry for my mistake ... But my problem is still existent : I don't to change the name of the config file ... I want to segment the configuration files, in goal to have as many file as services ... Fredrik W?nglund wrote: > I did say nagios.cfg _not_ contacts.cfg! > > /FredrikW > > Nicolas DECKMYN wrote: > >> There is again the same problem : >> >> nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg >> cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg >> nidecker at cathia:/usr/local/etc/nagios$ sudo >> /usr/local/etc/rc.d/nagios.sh restart >> Running configuration check... >> Nagios 1.0 >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> Last Modified: 11-24-2002 >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file >> '/usr/local/etc/nagios/contacts.cfg' on line 1. >> >> >> >> Fredrik W?nglund wrote: >> >>> Add the line >>> cfg_file=/usr/local/nagios/etc/contact_temp.cfg >>> to nagios.cfg >>> >>> /FredrikW >>> >>> >>> >>> Nicolas DECKMYN wrote: >>> >>>> Hi >>>> >>>> I wanted to know if it's possible to link a configuration file (ex: >>>> contacts.cfg) with another one : like in C language with the >>>> #include contacts2.cfg. >>>> >>>> So i want to have two files like this (for example) : >>>> >>>> *contact.cfg >>>> ********** >>>> >>>> include "contact_temp.cfg" >>>> >>>> >>>> >>>> *contact_temp.cfg >>>> *************** >>>> >>>> >>>> ################################################################################ >>>> >>>> # CONTACT DEFINITIONS >>>> # >>>> # SYNTAX: >>>> # >>>> >>>> ################################################################################ >>>> >>>> >>>> # 'supervision' contact definition >>>> ... >>>> >>>> But when i do the things like this and i start nagios, the nagios >>>> erros configs checker return : >>>> >>>> Running configuration check... >>>> Nagios 1.0 >>>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>>> Last Modified: 11-24-2002 >>>> License: GPL >>>> >>>> Reading configuration data... >>>> >>>> Error: Unexpected token or statement in file >>>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>>> >>>> So ... Is there a syntax for include ?? >>>> >>>> Thanks ! >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: eBay >>> Get office equipment for less on eBay! >>> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, 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: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- .:: Nicolas DECKMYN nidecker at nidecker.net http://www.nidecker.net ::. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Tue Jun 3 12:49:28 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 03 Jun 2003 12:49:28 +0200 Subject: Include References: <3EDC58BF.7010108@nidecker.net> <3EDC64AA.9030601@datavis.se> <3EDC6D92.6050809@nidecker.net> <3EDC756B.9010407@datavis.se> <3EDC7A9C.1030301@nidecker.net> Message-ID: <3EDC7D38.6000109@datavis.se> Then use the 'cfg_dir'-statement instead; Create a dir for all your config-files (the names must end with .cfg) and add this to nagios.cfg: cfg_dir=/usr/local/nagios/etc/ /FredrikW Nicolas DECKMYN wrote: > Sorry for my mistake ... > > But my problem is still existent : > > I don't to change the name of the config file ... I want to segment > the configuration files, in goal to have as many file as services ... > > > Fredrik W?nglund wrote: > >> I did say nagios.cfg _not_ contacts.cfg! >> >> /FredrikW >> >> Nicolas DECKMYN wrote: >> >>> There is again the same problem : >>> >>> nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg >>> cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg >>> nidecker at cathia:/usr/local/etc/nagios$ sudo >>> /usr/local/etc/rc.d/nagios.sh restart >>> Running configuration check... >>> Nagios 1.0 >>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>> Last Modified: 11-24-2002 >>> License: GPL >>> >>> Reading configuration data... >>> >>> Error: Unexpected token or statement in file >>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>> >>> >>> >>> Fredrik W?nglund wrote: >>> >>>> Add the line >>>> cfg_file=/usr/local/nagios/etc/contact_temp.cfg >>>> to nagios.cfg >>>> >>>> /FredrikW >>>> >>>> >>>> >>>> Nicolas DECKMYN wrote: >>>> >>>>> Hi >>>>> >>>>> I wanted to know if it's possible to link a configuration file >>>>> (ex: contacts.cfg) with another one : like in C language with the >>>>> #include contacts2.cfg. >>>>> >>>>> So i want to have two files like this (for example) : >>>>> >>>>> *contact.cfg >>>>> ********** >>>>> >>>>> include "contact_temp.cfg" >>>>> >>>>> >>>>> >>>>> *contact_temp.cfg >>>>> *************** >>>>> >>>>> >>>>> ################################################################################ >>>>> >>>>> # CONTACT DEFINITIONS >>>>> # >>>>> # SYNTAX: >>>>> # >>>>> >>>>> ################################################################################ >>>>> >>>>> >>>>> # 'supervision' contact definition >>>>> ... >>>>> >>>>> But when i do the things like this and i start nagios, the nagios >>>>> erros configs checker return : >>>>> >>>>> Running configuration check... >>>>> Nagios 1.0 >>>>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>>>> Last Modified: 11-24-2002 >>>>> License: GPL >>>>> >>>>> Reading configuration data... >>>>> >>>>> Error: Unexpected token or statement in file >>>>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>>>> >>>>> So ... Is there a syntax for include ?? >>>>> >>>>> Thanks ! >>>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.net email is sponsored by: eBay >>>> Get office equipment for less on eBay! >>>> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, 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: eBay >> Get office equipment for less on eBay! >> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 12:56:40 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 03 Jun 2003 06:56:40 -0400 Subject: [Nagios-announce] Nagios 1.1 Available In-Reply-To: <200306030337.AA238223654@mail.ikano.com> References: <200306030337.AA238223654@mail.ikano.com> Message-ID: <1054637800.1693.7.camel@miles.debisschop.net> On Tue, 2003-06-03 at 05:37, Robert Galloway wrote: > Is there a fix included in this release to allow the embedded perl > to function with an "out of the box" install of perl 5.8.0 that > ships with RH8 and RH9? I do not believe there is a fix for that yet And I know that mini_epn will not build on RH9. I someone can provide me with a patch, I will apply it to the RPM. But as of this weekend, we did not have a solution the Stanley Hopcraft (the mini_epn author was happy with). Please tell me I'm wrong, Stanley. -- Karl > Thanks, > > Robert S. Galloway > Cheif Network Security Engineer > IKANO Communications > ...the Internet branding company > Official Data Networking Services Provider for the > Salt Lake Olympic Winter Games of 2002 > securityguy_AT_ikano.com > > > > > ---------- Original Message ---------------------------------- > From: Karl DeBisschop > Date: 03 Jun 2003 01:47:05 -0400 > > >On Mon, 2003-06-02 at 00:18, Ethan Galstad wrote: > >> Nagios 1.1 has been released and is available for download from > >> http://www.nagios.org. > >> > >> This is a bugfix release - changes since 1.0 include: > >> > >> - File descriptor leak in file-based performance routines > >> - Timestamp fix for PostgreSQL 7.3 > >> - Minor bug fixes to cmd and history CGIs > >> - Minor documentation fixes > > > >I have uploaded RPMs for RedHat 9 at: > > > > http://www.debisschop.net/src/redhat/9/ > > > >Since the RPM includes no patches against the CVS and the > tarball, there > >is no SRPM (you can just do rpmbuild -ta nagios-1.1.tar.gz) > > > >-- > >Karl > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: eBay > >Get office equipment for less on eBay! > >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at spod.net Tue Jun 3 13:46:35 2003 From: mlist at spod.net (Darren Honeyball (ML)) Date: Tue, 3 Jun 2003 12:46:35 +0100 Subject: Compiling Nagios 1.1 on RH8 with embedded perl Message-ID: <005e01c329c5$c9afbea0$720ba8c0@lmn10607> ./configure works ok... Get this during the compile... xdddefault.c -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-m ulti/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpt hread -lc -lcrypt -lutil -lm -o nagios nagios.c: In function `xs_init': nagios.c:103: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type nagios.c: In function `main': nagios.c:634: warning: passing arg 2 of `perl_parse' from incompatible pointer type make[1]: Leaving directory `/tmp/nagios-1.1/base' cd ./cgi && make and running ./nagios give a Segmentation fault Any ideas? -- Darren Honeyball [PGP key ID 1B347F4C - finger abuse at jackson.spod.net for key] ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 13:45:13 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 3 Jun 2003 07:45:13 -0400 Subject: check_http w/ parameters on the url Message-ID: Thanks, Mr. Andersson. I will see if what I have compares to what you have sent. Thanks again, I had about given up on getting an answer to this question. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #280: Traceroute says that there is a routing problem in the backbone. It's not our problem. Michael Andersson To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: Re: [Nagios-users] check_http w/ parameters on the url ceforge.net 06/02/2003 10:37 AM Hi, this is just a quick'n'dirty test I just made for this: checkcommands.cfg: ------------------ # 'check_http_junk' command definition define command{ command_name check_http_junk command_line $USER1$/check_http -H $HOSTADDRESS$ -I $ARG1$ -u $ARG2$ -s $ARG3$ -t $ARG4$ } hosts.cfg: ---------- # 'junk' host definition define host{ use generic-host ; Name of host template to use host_name netTools alias What-Ever address www.network-tools.com check_command check-host-alive parents SSI max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } and finaly my services.cfg: ------------- # Service definition define service{ use generic-service ; Name of service template to use host_name netTools service_description quick-http-test is_volatile 0 check_period 24x7 max_check_attempts 25 normal_check_interval 10 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_junk!www.network-tools.com!"/default.asp?prog=network&Netnic=whois.ripe.net&host ="!'RIPE'!20 } This works like a charm for me at least. Hope this will help you. Regards /Michael On Thu, 29 May 2003 11:47:25 -0400 chbaker at powersystems.rockwell.com wrote: > Can someone share a check_http command that passes parameters to a web > application? I can get this to work on the command line, but everytime I > put the same things into my services.cfg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 3 14:35:29 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 3 Jun 2003 22:35:29 +1000 Subject: [Nagios-announce] Nagios 1.1 Available In-Reply-To: <1054637800.1693.7.camel@miles.debisschop.net>; from karl@debisschop.net on Tue, Jun 03, 2003 at 06:56:40AM -0400 References: <200306030337.AA238223654@mail.ikano.com> <1054637800.1693.7.camel@miles.debisschop.net> Message-ID: <20030603223523.A251@IPAustralia.Gov.AU> Dear Gentlemen, On Tue, Jun 03, 2003 at 06:56:40AM -0400, Karl DeBisschop wrote: > On Tue, 2003-06-03 at 05:37, Robert Galloway wrote: > > Is there a fix included in this release to allow the embedded perl > > to function with an "out of the box" install of perl 5.8.0 that > > ships with RH8 and RH9? > > I do not believe there is a fix for that yet > > And I know that mini_epn will not build on RH9. > > I someone can provide me with a patch, I will apply it to the RPM. But > as of this weekend, we did not have a solution the Stanley Hopcraft (the > mini_epn author was happy with). > > Please tell me I'm wrong, Stanley. > Unfortunately, no. I haven't had a look at the 1.1 source yet so I can't comment meaningfully, however, if the Suse supplied patches have been applied, then there is something else wrong. These patches aparently originate from Suse and addressed what sounds like this issue for the two or three folks who wanted ePN with threaded Perl 5.8.0. Will forward the patches - they have to merged manually I think. > -- > Karl > 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jun 3 14:36:20 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 3 Jun 2003 13:36:20 +0100 Subject: Compiling Nagios 1.1 on RH8 with embedded perl Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513784@jessica.herefordshire.gov.uk> Don't embed Perl??? It compled here happily on RH 8.0 without embedded Perl. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Darren Honeyball (ML) [mailto:mlist at spod.net] > Sent: 03 June 2003 12:47 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling Nagios 1.1 on RH8 with embedded perl > > > ./configure works ok... > > Get this during the compile... > > xdddefault.c -rdynamic > -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-m > ulti/CORE -L/usr/local/lib > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/D > ynaLoader.a -L > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl > -lnsl -ldl -lm -lpt > hread -lc -lcrypt -lutil -lm -o nagios > nagios.c: In function `xs_init': > nagios.c:103: warning: passing arg 3 of `Perl_newXS' from incompatible > pointer type > nagios.c: In function `main': > nagios.c:634: warning: passing arg 2 of `perl_parse' from incompatible > pointer type > make[1]: Leaving directory `/tmp/nagios-1.1/base' > cd ./cgi && make > > and running ./nagios give a Segmentation fault > > Any ideas? > -- > Darren Honeyball > [PGP key ID 1B347F4C - finger abuse at jackson.spod.net for key] > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 14:56:31 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 3 Jun 2003 14:56:31 +0200 Subject: Include In-Reply-To: <3EDC7A9C.1030301@nidecker.net> References: <3EDC58BF.7010108@nidecker.net> <3EDC756B.9010407@datavis.se> <3EDC7A9C.1030301@nidecker.net> Message-ID: <200306031456.31305.Michael.Huettig@Medien-Systempartner.de> Look for my previous message: nagios.cfg: cfg_dir=/usr/local/nagios/etc/services RTFM Regards, Michael Am Dienstag, 3. Juni 2003 12:38 schrieb Nicolas DECKMYN: > Sorry for my mistake ... > > But my problem is still existent : > > I don't to change the name of the config file ... I want to segment the > configuration files, in goal to have as many file as services ... > > Fredrik W?nglund wrote: > > I did say nagios.cfg _not_ contacts.cfg! > > > > /FredrikW > > > > Nicolas DECKMYN wrote: > >> There is again the same problem : > >> > >> nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg > >> cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg > >> nidecker at cathia:/usr/local/etc/nagios$ sudo > >> /usr/local/etc/rc.d/nagios.sh restart > >> Running configuration check... > >> Nagios 1.0 > >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > >> Last Modified: 11-24-2002 > >> License: GPL > >> > >> Reading configuration data... > >> > >> Error: Unexpected token or statement in file > >> '/usr/local/etc/nagios/contacts.cfg' on line 1. > >> > >> Fredrik W?nglund wrote: > >>> Add the line > >>> cfg_file=/usr/local/nagios/etc/contact_temp.cfg > >>> to nagios.cfg > >>> > >>> /FredrikW > >>> > >>> Nicolas DECKMYN wrote: > >>>> Hi > >>>> > >>>> I wanted to know if it's possible to link a configuration file (ex: > >>>> contacts.cfg) with another one : like in C language with the > >>>> #include contacts2.cfg. > >>>> > >>>> So i want to have two files like this (for example) : > >>>> > >>>> *contact.cfg > >>>> ********** > >>>> > >>>> include "contact_temp.cfg" > >>>> > >>>> > >>>> > >>>> *contact_temp.cfg > >>>> *************** > >>>> > >>>> > >>>> ###################################################################### > >>>>########## > >>>> > >>>> # CONTACT DEFINITIONS > >>>> # > >>>> # SYNTAX: > >>>> # > >>>> > >>>> ###################################################################### > >>>>########## > >>>> > >>>> > >>>> # 'supervision' contact definition > >>>> ... > >>>> > >>>> But when i do the things like this and i start nagios, the nagios > >>>> erros configs checker return : > >>>> > >>>> Running configuration check... > >>>> Nagios 1.0 > >>>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > >>>> Last Modified: 11-24-2002 > >>>> License: GPL > >>>> > >>>> Reading configuration data... > >>>> > >>>> Error: Unexpected token or statement in file > >>>> '/usr/local/etc/nagios/contacts.cfg' on line 1. > >>>> > >>>> So ... Is there a syntax for include ?? > >>>> > >>>> Thanks ! > >>> > >>> ------------------------------------------------------- > >>> This SF.net email is sponsored by: eBay > >>> Get office equipment for less on eBay! > >>> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> > >>> ::: Please include Nagios version, 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: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at vault.com Tue Jun 3 15:16:34 2003 From: frank at vault.com (frank at vault.com) Date: Tue, 3 Jun 2003 09:16:34 -0400 Subject: event handlers - remote commands Message-ID: <003301c329d2$5b598410$4401a8c0@ghosty> Hello all, I am trying to configure an event handler for a tomcat process on a remote server. Basically, if the state changes to critical I want a custom script to run and restart the service. Sounds easy and maybe it is, but I am not sure how to invoke a custom command on a remote server. Thanks, -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From timwest at warwickshire.gov.uk Tue Jun 3 15:27:01 2003 From: timwest at warwickshire.gov.uk (timwest at warwickshire.gov.uk) Date: Tue, 3 Jun 2003 14:27:01 +0100 Subject: availability reports and downtime Message-ID: ***** This e-mail is communicated in confidence. It is intended for the recipient only and may not be disclosed further without the express consent of the sender. ***** Nagios 1.0 RedHat 7.2 Plugins 1.3.0 We have scheduled downtime for several hosts using the web front end recently, which works great and we don't get any notifications about services being down. When I then check the availability reported by the availability CGI, it reports all the downtime as unscheduled. Is there a way round this, as management want this report for SLA purposes ? Tim -- Tim West, CAMS ICT Services Warwickshire County Council Email: timwest at warwickshire.gov.uk ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue Jun 3 15:30:03 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 3 Jun 2003 15:30:03 +0200 Subject: Checking Informix DB Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4591@serv-075.icon-germany.local> Hi, has anybody an idea how I can check a Informix DB? I wan't to make sure that it's posible to login to the DB, so a simple check_tcp doesn't do it. Is there a plugin available somewhere? Or can I use a other plugin to do this? Questions, questions, questions... Regards, Hagen ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 15:57:35 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 09:57:35 -0400 (EDT) Subject: [Nagios-users] HP/Compaq ILO and check_http In-Reply-To: <3EDC39ED.6030907@mobilcom.de> References: <3EDC39ED.6030907@mobilcom.de> Message-ID: On Tue, 3 Jun 2003, Jens Kruse wrote: > > monitor1-lx:~ # /usr/local/nagios/libexec/check_http -V > check_http (nagios-plugins 1.3.0) 1.24 > > It just timeouts ... have you tried the timeout option (-t) It defaults to 10 seconds and then sends a SIGALARM to self. port 80 transaction looks fine - can you run it under "time" and see how long it took? port 443 should be ssl so a regular telnet will not work. Try wget or curl. -sg > > > > > But, to start, have you tried the --verbose option? What was the output? > > Yes I did: > > monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > 80 --verbose > Socket timeout after 10 seconds > > That's the result I receive with or without the --verbose option ... > > > > Have you tried just running the seesion over telnet? > > Yes. It works with port 80: > > monitor1-lx:~ # telnet 10.35.178.154 80 > Trying 10.35.178.154... > Connected to 10.35.178.154. > Escape character is '^]'. > GET > HTTP/1.1 405 Method Not Allowed > Content-Type:text/html > > Remote Insight >

Request Error

> HTTP/1.1 405 Method Not Allowed > > Connection closed by foreign host. > > > But not with 443: > > monitor1-lx:~ # telnet 10.35.178.154 443 > Trying 10.35.178.154... > Connected to 10.35.178.154. > Escape character is '^]'. > GET > > > I also tried it with 'strace': > > monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > 10.35.178.154 -p 80 --verbose > > The final output > ... > connect(3, {sin_family=AF_INET, sin_port=htons(80), > sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > recv(3, "514", 1023, 0) = 3 > recv(3, "\r\n brk(0x8052000) = 0x8052000 > recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > brk(0x8053000) = 0x8053000 > recv(3, " server is not configured to use"..., 1023, 0) = 49 > brk(0x8054000) = 0x8054000 > recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > --- SIGALRM (Alarm clock) --- > fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0x40016000 > write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > seconds > ) = 32 > munmap(0x40016000, 4096) = 0 > _exit(2) = ? > > > It stops until it receives a SIGALRM ... (from whome? - The embedded > webserver? - Thats the part I do not understand) > > > In addition: We use iLO Firmware 1.26 > > Can I provide you more information to find a solution for this? > > Regards, > > Jens > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 From stefmit at computer.org Tue Jun 3 15:51:36 2003 From: stefmit at computer.org (stefmit) Date: 3 Jun 2003 13:51:36 -0000 Subject: Nagios 1.1 rpms - MDK9.1 anyone?!? In-Reply-To: <1054619225.1693.2.camel@miles.debisschop.net> References: <1054619225.1693.2.camel@miles.debisschop.net> Message-ID: <20030603135136.13879.qmail@pod-163.dolphin-server.co.uk> Have tried to install the RH9 rpms (fresh new install!) on an MDK 9.1 box. Successful with base and plugins, but fails for the www part. # urpmi nagios-www-1.1-1.i386.rpm installing nagios-www-1.1-1.i386.rpm Installation failed: libgd.so.1.8 is needed by nagios-www-1.1-1 On my machine: # locate libgd /usr/lib/libgdk_pixbuf.so.2 /usr/lib/libgd.so.2 /usr/lib/libgdbm.so.2.0.0 /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.a /usr/lib/libgdk_imlib.so.1.9.14 /usr/lib/libgdk-1.2.so.0 /usr/lib/libgdk_imlib.so.1 /usr/lib/libgdk-1.2.so.0.9.1 /usr/lib/libgdk_pixbuf-2.0.so.0 /usr/lib/libgdbm.so.2 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0.200.1 /usr/lib/libgdk_pixbuf.so.2.0.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0.200.1 /usr/lib/libgd.la /usr/lib/libgd.so /usr/lib/libgdk_pixbuf-2.0.so.0.200.1 then: # urpmf libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd1:/usr/lib/libgd.so.1 libgd1:/usr/lib/libgd.so.1.8.4 libgd1-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd1:/usr/lib/libgd.so.1 libgd1:/usr/lib/libgd.so.1.8.4 libgd1-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so - so - obviously, the libgd1 is what I would probably need ... but it conflicts with libg2, when trying to get it via rpms. Any ideas/suggestions about MDK 9.1? Thx, Stef ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue Jun 3 15:27:50 2003 From: nidecker at nidecker.net (Nicolas DECKMYN) Date: Tue, 03 Jun 2003 15:27:50 +0200 Subject: Include In-Reply-To: <200306031456.31305.Michael.Huettig@Medien-Systempartner.de> References: <3EDC58BF.7010108@nidecker.net> <3EDC756B.9010407@datavis.se> <3EDC7A9C.1030301@nidecker.net> <200306031456.31305.Michael.Huettig@Medien-Systempartner.de> Message-ID: <3EDCA256.8000609@nidecker.net> Thanks ! I will work with cfg directory than cfg files ... Thanks ;) Michael H?ttig wrote: >Look for my previous message: >nagios.cfg: >cfg_dir=/usr/local/nagios/etc/services > >RTFM >Regards, >Michael >Am Dienstag, 3. Juni 2003 12:38 schrieb Nicolas DECKMYN: > > >>Sorry for my mistake ... >> >>But my problem is still existent : >> >>I don't to change the name of the config file ... I want to segment the >>configuration files, in goal to have as many file as services ... >> >>Fredrik W?nglund wrote: >> >> >>>I did say nagios.cfg _not_ contacts.cfg! >>> >>>/FredrikW >>> >>>Nicolas DECKMYN wrote: >>> >>> >>>>There is again the same problem : >>>> >>>> nidecker at cathia:/usr/local/etc/nagios$ more contacts.cfg >>>> cfg_file=/usr/local/etc/nagios/contacts_nagios.cfg >>>> nidecker at cathia:/usr/local/etc/nagios$ sudo >>>> /usr/local/etc/rc.d/nagios.sh restart >>>> Running configuration check... >>>> Nagios 1.0 >>>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>>> Last Modified: 11-24-2002 >>>> License: GPL >>>> >>>> Reading configuration data... >>>> >>>> Error: Unexpected token or statement in file >>>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>>> >>>>Fredrik W?nglund wrote: >>>> >>>> >>>>>Add the line >>>>>cfg_file=/usr/local/nagios/etc/contact_temp.cfg >>>>>to nagios.cfg >>>>> >>>>>/FredrikW >>>>> >>>>>Nicolas DECKMYN wrote: >>>>> >>>>> >>>>>>Hi >>>>>> >>>>>>I wanted to know if it's possible to link a configuration file (ex: >>>>>>contacts.cfg) with another one : like in C language with the >>>>>>#include contacts2.cfg. >>>>>> >>>>>>So i want to have two files like this (for example) : >>>>>> >>>>>>*contact.cfg >>>>>>********** >>>>>> >>>>>> include "contact_temp.cfg" >>>>>> >>>>>> >>>>>> >>>>>>*contact_temp.cfg >>>>>>*************** >>>>>> >>>>>> >>>>>>###################################################################### >>>>>>########## >>>>>> >>>>>> # CONTACT DEFINITIONS >>>>>> # >>>>>> # SYNTAX: >>>>>> # >>>>>> >>>>>>###################################################################### >>>>>>########## >>>>>> >>>>>> >>>>>> # 'supervision' contact definition >>>>>> ... >>>>>> >>>>>>But when i do the things like this and i start nagios, the nagios >>>>>>erros configs checker return : >>>>>> >>>>>> Running configuration check... >>>>>> Nagios 1.0 >>>>>> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >>>>>> Last Modified: 11-24-2002 >>>>>> License: GPL >>>>>> >>>>>> Reading configuration data... >>>>>> >>>>>> Error: Unexpected token or statement in file >>>>>> '/usr/local/etc/nagios/contacts.cfg' on line 1. >>>>>> >>>>>>So ... Is there a syntax for include ?? >>>>>> >>>>>>Thanks ! >>>>>> >>>>>> >>>>>------------------------------------------------------- >>>>>This SF.net email is sponsored by: eBay >>>>>Get office equipment for less on eBay! >>>>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> >>>>>::: Please include Nagios version, 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: eBay >>>Get office equipment for less on eBay! >>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>>::: 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: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > -- .:: Nicolas DECKMYN nidecker at nidecker.net http://www.nidecker.net ::. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewl at loftusitns.co.uk Tue Jun 3 15:49:12 2003 From: matthewl at loftusitns.co.uk (sysreq) Date: 3 Jun 2003 13:49:12 -0000 Subject: Port to Cgywin Message-ID: <20030603134912.13326.qmail@pod-163.dolphin-server.co.uk> First off, please don't flame me. I know Windows isn't everybodies kettle of fish, but I work for a MS house so I have to use it. I'm not asking for support on this I was just wondering if the programmers out there culd answer this question: Is there any reason why Nagios shouldn't compile on Cgywin running on a windows platform? Thanks ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 16:01:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 10:01:26 -0400 (EDT) Subject: Include In-Reply-To: <3EDC64AA.9030601@datavis.se> References: <3EDC64AA.9030601@datavis.se> Message-ID: Or you can try the cfg_dir macro to include all *.cfg files in a dir. -sg On Tue, 3 Jun 2003, Fredrik W?nglund wrote: > Add the line > cfg_file=/usr/local/nagios/etc/contact_temp.cfg > to nagios.cfg > > /FredrikW > > > > Nicolas DECKMYN wrote: > > > Hi > > > > I wanted to know if it's possible to link a configuration file (ex: > > contacts.cfg) with another one : like in C language with the #include > > contacts2.cfg. > > > > So i want to have two files like this (for example) : > > > > *contact.cfg > > ********** > > > > include "contact_temp.cfg" > > > > > > > > *contact_temp.cfg > > *************** > > > > > > ################################################################################ > > > > # CONTACT DEFINITIONS > > # > > # SYNTAX: > > # > > > > ################################################################################ > > > > > > # 'supervision' contact definition > > ... > > > > But when i do the things like this and i start nagios, the nagios > > erros configs checker return : > > > > Running configuration check... > > Nagios 1.0 > > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > > Last Modified: 11-24-2002 > > License: GPL > > > > Reading configuration data... > > > > Error: Unexpected token or statement in file > > '/usr/local/etc/nagios/contacts.cfg' on line 1. > > > > So ... Is there a syntax for include ?? > > > > Thanks ! > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 16:18:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 10:18:01 -0400 (EDT) Subject: Checking Informix DB In-Reply-To: <7E47A0E20913514C8F4CD1BC241A37030A4591@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A37030A4591@serv-075.icon-germany.local> Message-ID: On Tue, 3 Jun 2003, Hagen Deike wrote: > Hi, > > has anybody an idea how I can check a Informix DB? I wan't to make sure that > it's posible to login to the DB, so a simple check_tcp doesn't do it. Is > there a plugin available somewhere? Or can I use a other plugin to do this? > > Questions, questions, questions... > > Regards, > Hagen > You might have to script your own - haven't seen anything for Informaix.. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at VBI.VT.EDU Tue Jun 3 16:12:11 2003 From: dom at VBI.VT.EDU (Dominik L. Borkowski) Date: Tue, 3 Jun 2003 10:12:11 -0400 Subject: event handlers - remote commands In-Reply-To: <003301c329d2$5b598410$4401a8c0@ghosty> References: <003301c329d2$5b598410$4401a8c0@ghosty> Message-ID: <200306031012.12036.dom@vbi.vt.edu> On Tuesday 03 June 2003 09:16 am, frank at vault.com wrote: > Hello all, > I am trying to configure an event handler for a tomcat process on a remote > server. Basically, if the state changes to critical I want a custom script > to run and restart the service. Sounds easy and maybe it is, but I am not > sure how to invoke a custom command on a remote server. Thanks, > > -Frank I know this is off-topic, but a bit similar. I am almost finished with a small plugin to check for tomcat services remotely, if anybody is interested, I'll post the code somewhere. It's a rip-off from one of the perl plugins that comes with nagios, and uses SOAP::Lite. -- Dominik L. Borkowski - Systems Administrator Virginia Bioinformatics Institute - www.vbi.vt.edu ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jun 3 16:36:33 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 03 Jun 2003 11:36:33 -0300 Subject: Statusmap.cgi Message-ID: <20030603143633.17370.qmail@linuxmail.org> Hi all. I'm new to Nagios. I'd like to know how can I generate a statusmap.cgi file. Thanks in advance! []'s -- Rivanor P. Soares [w3b_kn0ws] -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dritchie at advanstar.com Tue Jun 3 16:08:51 2003 From: dritchie at advanstar.com (Doug Ritchie) Date: Tue, 3 Jun 2003 10:08:51 -0400 Subject: availability reports and downtime In-Reply-To: References: Message-ID: Tim, I've had this same problem, and the only way around it that I found was to fiddle around with avail.c. There's a commented call to compute_subject_downtime_part_times in compute_subject_downtime_times toward the end that, by the looks of the comment above it, is responsible for registering scheduled downtime as such. I uncommented that and had to tinker with one or two other things before I finally got it reporting scheduled downtime correctly. Prior to making those changes, all of my scheduled downtime was reported as unscheduled, and I was having the same issues as you with reports to management. I posted on the same topic a while ago and didn't hear anything back, which is why I went and made the changes I did. I'd feel more comfortable if someone more qualified than I recognized the problem and corrected it officially, though. Doug ***** This e-mail is communicated in confidence. It is intended for the recipient only and may not be disclosed further without the express consent of the sender. ***** Nagios 1.0 RedHat 7.2 Plugins 1.3.0 We have scheduled downtime for several hosts using the web front end recently, which works great and we don't get any notifications about services being down. When I then check the availability reported by the availability CGI, it reports all the downtime as unscheduled. Is there a way round this, as management want this report for SLA purposes ? Tim -- Tim West, CAMS ICT Services Warwickshire County Council Email: timwest at warwickshire.gov.uk ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajeevj at EMAIL.masconit.com Tue Jun 3 16:53:35 2003 From: rajeevj at EMAIL.masconit.com (Rajeev Jain) Date: Tue, 3 Jun 2003 09:53:35 -0500 Subject: "last check" service status Message-ID: When I click on service detail, I see "last check" was done at 04-30-2003. I would like to get my hosts checked in every 5 seconds. I would appreciate any help. Regards, Rajeev -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Jun 3 18:03:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:03:26 -0400 (EDT) Subject: Port to Cgywin In-Reply-To: <20030603134912.13326.qmail@pod-163.dolphin-server.co.uk> References: <20030603134912.13326.qmail@pod-163.dolphin-server.co.uk> Message-ID: On 3 Jun 2003, sysreq wrote: > > First off, please don't flame me. > I know Windows isn't everybodies kettle of fish, but I work for a MS house so I have to use it. > > I'm not asking for support on this I was just wondering if the > programmers out there culd answer this question: > > Is there any reason why Nagios shouldn't compile on Cgywin running on a windows platform? > > Thanks No particular reason it shouldn't work - I think some one had reported a while back that it did in fact work... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mav at juniper.net Tue Jun 3 18:01:16 2003 From: mav at juniper.net (Ian Davidson) Date: Tue, 3 Jun 2003 17:01:16 +0100 Subject: need help on monitoring process problems Message-ID: I've just found that on kernel-2.4.20-13.7 on RH7.3 the process is more often displayed as "[nagios]" rather than the normal /usr/local/nagios/bin/nagios Weird. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Subhendu Ghosh > Sent: 03 June 2003 03:44 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] need help on monitoring process problems > > > On Tue, 3 Jun 2003, Syed Zulhilmi Tuan Sharif wrote: > > > <> i need help y my monitoring process still > not running > > ..im running nagios1.0 on apache2.0 in red hat 9.0 > > > > please use text to convey your question. > > In cgi.cfg there is a "nagios_check_command" definition. > This command > needs to be adapted to the local system. > > File based status: using "check_nagios" - modify the > argument for the -C > parameter based on your ps output. > > Database status: use the "check_nagios_db" plugin from the contrib > directory of the plugins distribution. > > > -- > > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-> 6916-5 > > _______________________________________________ > > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 18:09:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:09:38 -0400 (EDT) Subject: CPU Load and scheduling queue In-Reply-To: <01ef01c329a5$5208b1b0$6702a8c0@intranet.equal.fr> References: <01ef01c329a5$5208b1b0$6702a8c0@intranet.equal.fr> Message-ID: On Tue, 3 Jun 2003, louafi wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I have a problem with my nagios. > > I have 1800 services on 130 hosts. > > All my services have the same configuration : > > define service{ > host_name 42.42.42.42 > service_description CPU:CPU_1 > check_command > check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 5 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period 24x7 > parallelize_check 1 > check_freshness 0 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24X7 > notification_options w,c,r > notifications_enabled 0 > stalking_options o,w,u,c > } > > My nagios.cfg is : > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=10000 > service_reaper_frequency=10 > sleep_time=1 > > My perfdata function enter the check result in RRD and in a mysql > database to generate statistics. > > Nagios schedules the check, but the check are not executed at the > scheduling time. For example a sheduled check at 9:42 is executed at > 9:55... My average CPU load is not high (load average: 2.27, 1.41, > 1.18). > > My computer is a bi P3 1,26GHz > > I have tried inter_check_delay_method=0.01 without best result. The > schedule is different (more aggressive) but the check are late. > > Any ideas ? Thanks a lot. > You are using a "smart" check interleave factor. That allows to Nagios to schedule the time of the actual check within a time boundary. It will not be the same interval every time, but close. Look at the docs for check interleave factor if you want precise control. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 17:48:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 11:48:22 -0400 (EDT) Subject: event handlers - remote commands In-Reply-To: <200306031012.12036.dom@vbi.vt.edu> References: <200306031012.12036.dom@vbi.vt.edu> Message-ID: On Tue, 3 Jun 2003, Dominik L. Borkowski wrote: > On Tuesday 03 June 2003 09:16 am, frank at vault.com wrote: > > Hello all, > > I am trying to configure an event handler for a tomcat process on a remote > > server. Basically, if the state changes to critical I want a custom script > > to run and restart the service. Sounds easy and maybe it is, but I am not > > sure how to invoke a custom command on a remote server. Thanks, > > > > -Frank > > I know this is off-topic, but a bit similar. I am almost finished with a small > plugin to check for tomcat services remotely, if anybody is interested, I'll > post the code somewhere. It's a rip-off from one of the perl plugins that > comes with nagios, and uses SOAP::Lite. > Feel free to post to New Plugins tracker on sourceforge/projects/nagiosplug Please include license and copyright.. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 18:13:39 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:13:39 -0400 (EDT) Subject: event handlers - remote commands In-Reply-To: <003301c329d2$5b598410$4401a8c0@ghosty> References: <003301c329d2$5b598410$4401a8c0@ghosty> Message-ID: On Tue, 3 Jun 2003 frank at vault.com wrote: > Hello all, I am trying to configure an event handler for a tomcat > process on a remote server. Basically, if the state changes to critical > I want a custom script to run and restart the service. Sounds easy and > maybe it is, but I am not sure how to invoke a custom command on a > remote server. Thanks, > You need to setup ssh (passwordless or keychain) access and then run the init script to restart the server. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue Jun 3 18:17:03 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 3 Jun 2003 18:17:03 +0200 Subject: Service won't update... Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4592@serv-075.icon-germany.local> Hi all, Take a look at the jpeg. There you can see that I have a service that didn't update it self. As you can see the service should do it's next check at 17:18:36. But the system time is allready 18:05:22. I left this for a while in the hope that it whould start some time later. Well it didn't do so Is this a known problem? Regards, Hagen -------------- next part -------------- A non-text attachment was scrubbed... Name: problem.jpg Type: image/jpeg Size: 46021 bytes Desc: not available URL: From sghosh at sghosh.org Tue Jun 3 18:32:12 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:32:12 -0400 (EDT) Subject: Notifying on a service when host is unreachable? In-Reply-To: <3ED7CCA3.4060001@neonova.net> References: <3ED7CCA3.4060001@neonova.net> Message-ID: You may have to restructure the way the host and services are related. Draw a topology map from "nagios" out. eg. nagios <---> Rt1 <----> Rt2 <----> {rt3, rt4, rt5} l1 l2 {l3,l4,l5} link l2 should be a service of Rt1 link l3, l4,l5 should be a service of Rt2 This way if a link goes down, the service notification comes from the near-side node and the remote nodes are unreachable. if your network is more of a mesh with dynamic routing, then each router should have all the links defined as services because the near-side node will have an alternate path back. -sg On Fri, 30 May 2003, Jeff Smith wrote: > Right... when the intermediate link goes down I would like it to tell me > that the intermediate link (the service bound to the host) went down not > just that the host itself is unreachable. Which is how it happens now. > Here's a mockup of my scenario: > > define host{ > use net_host > > host_name Foo_Router_Edge > alias Foo Router Edge Type:2611 > address 10.1.1.1 > notification_options d,u,r > } > > define service{ > use net_service > > host_name Foo_Router_Edge > service_description Bar T-1 Id:123456 Cn:800-555-1212 > Ip:10.2.2.2 In:Serial0/0 > check_command check_ping_svc!10.2.2.2 > notification_options w,u,c,r > } > > > when the service goes down nagios goes and checks the host. Then it > notifies that the host is unreachable but never notifies me that the > service bound to the host is down. What I'm looking for is a way to > tell Nagios to not only tell me the host is unreachable but also tell me > that the service bound to it is also critical. > > The only Notification I get is: > > PROBLEM Foo Router Edge Type:2611 DOWN 05-30-2003 15:22:00 > > When what I want to be notified on is the above plus: > > PROBLEM Bar T-1 Id:123456 Cn:800-555-1212 Ip:10.2.2.2 In:Serial0/0 > CRITICAL 05-30-2003 15:22:00 > > Thats basically what I'm after. > > Thanks, > Jeff > > Carroll, Jim P [Contractor] wrote: > > > Ah. It seems I misunderstood the original question. > > > > When an intermediate link goes down and you have no way of knowing > > what the status of the remote host (or services on that host) are, > > what would you propose should happen? Just because Nagios can't > > reach the service in question, doesn't mean that the service isn't > > providing useful functionality. > > > > Having said that, is it possible that defining service dependencies > > might help you achieve what you're looking for? > > > > jc > > > > > > > >>-----Original Message----- > >>From: Jeff Smith [mailto:doc at neonova.net] > >>Sent: Friday, May 30, 2003 2:34 PM > >>To: Carroll, Jim P [Contractor] > >>Cc: nagios-users at lists.sourceforge.net > >>Subject: Re: [Nagios-users] Notifying on a service when host is > >>unreachable? > >> > >> > >>The Service Contacts and the Host Contacts are the same contact group. > >> > >>Thanks, > >>Jeff > >> > >>Carroll, Jim P [Contractor] wrote: > >> > >> > >>>What about adding the service contacts to the host contact list? > >>> > >>>jc > >>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: Jeff Smith [mailto:doc at neonova.net] > >>>>Sent: Friday, May 30, 2003 10:29 AM > >>>>To: nagios-users at lists.sourceforge.net > >>>>Subject: [Nagios-users] Notifying on a service when host is > >>>>unreachable? > >>>> > >>>> > >>>>At my site we monitor a lot of network links. Currently these are > >>>>defined as services on the host router they connect to. This > >>>>causes a > >>>>problem when the link drops and the host becomes unreachable. > >>>>The way > >>>>it is currently setup all the contact information for the > >>>>circuit is in > >>>>the service definition such that when it pages the oncall > >> > >>person will > >> > >>>>have all the information neccessary to contact the proper provider. > >>>>However, since they are defined as services (which I believe > >>>>they should > >>>>be) when the host goes unreachable because the link went down > >>>>the only > >>>>notification sent is for the host. Is there a way to force > >>>>the service > >>>>notification to be sent as well? If not, the only other > >>>>solution, that > >>>>I can think of, is to define these as hosts instead of > >> > >>services which > >> > >>>>I'd rather not be forced to do. Any other ideas? > >>>> > >>>>Thanks, > >>>>Jeff > >>>>-- > >>>>Jeffrey Smith > >>>>Operations > >>>>Neonova Network Services > >>>> > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.net email is sponsored by: eBay > >>>>Get office equipment for less on eBay! > >>>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>>>_______________________________________________ > >>>>Nagios-users mailing list > >>>>Nagios-users at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>::: Please include Nagios version, 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: eBay > >>>Get office equipment for less on eBay! > >>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: Please include Nagios version, plugin version (-v) and > >> > >>OS when reporting any issue. > >> > >>>::: Messages without supporting info will risk being sent > >> > >>to /dev/null > >> > >>-- > >>Jeffrey Smith > >>Operations > >>Neonova Network Services > >>doc at neonova.net > >>919.460.3330 > >> > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 18:35:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:35:52 -0400 (EDT) Subject: Upgrading from Netsaint 0.0.7 In-Reply-To: <9287F37B80413743823EC736B51CC07179771C@ALHM1SRV.alhpridom.as> References: <9287F37B80413743823EC736B51CC07179771C@ALHM1SRV.alhpridom.as> Message-ID: On Thu, 29 May 2003, Javier Castillo Alcibar wrote: > Hi list!, > > I have two Netsaint 0.0.7 running since last year. Now, I'd purchase a > new box, and I would like to install nagios on it, but I don't want to > lost historical info stored in the netsaint machines..... Is there any > script/method to do this??. No script needed :) > > thx in advance. > > Javier. > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mriedel at neuearbeit.de Tue Jun 3 18:48:05 2003 From: mriedel at neuearbeit.de (Marko Riedel) Date: Tue, 3 Jun 2003 18:48:05 +0200 (CEST) Subject: nsca compatibility In-Reply-To: References: <200306031012.12036.dom@vbi.vt.edu> Message-ID: <16092.53573.66739.970430@linuxsexi.nasttg> Hi folks, I get the following error message from nsca run under xinetd: Jun 3 18:44:32 compaqtnew nsca[5508]: Handling the connection... Jun 3 18:44:33 compaqtnew nsca[5508]: Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I have checked the password and the crypto algorithm on the client and the server and they match. However, the server is Version: 2.3 Last Modified: 01-26-2003 and the client NSCA Client 2.1 Last Modified: 06-10-2002. Are these two versions mutually compatible or do I need to upgrade the client? Best regards, -- +------------------------------------------------------------+ | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | | http://www.geocities.com/markoriedelde/index.html | +------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.castillo at euroview-spain.com Tue Jun 3 18:37:52 2003 From: javier.castillo at euroview-spain.com (Javier Castillo Alcibar) Date: Tue, 3 Jun 2003 18:37:52 +0200 Subject: Upgrading from Netsaint 0.0.7 Message-ID: <9287F37B80413743823EC736B51CC071797830@ALHM1SRV.alhpridom.as> just copy and paste??? :) -----Mensaje original----- De: Subhendu Ghosh [mailto:sghosh at sghosh.org] Enviado el: martes, 03 de junio de 2003 18:36 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Upgrading from Netsaint 0.0.7 On Thu, 29 May 2003, Javier Castillo Alcibar wrote: > Hi list!, > > I have two Netsaint 0.0.7 running since last year. Now, I'd purchase a > new box, and I would like to install nagios on it, but I don't want to > lost historical info stored in the netsaint machines..... Is there any > script/method to do this??. No script needed :) > > thx in advance. > > Javier. > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 18:43:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:43:04 -0400 (EDT) Subject: Visio In-Reply-To: References: Message-ID: On Fri, 30 May 2003, Fernando Gomes Lima wrote: > > Hi guys, > > Now that I'm not so dummie! ;-) I have a question... Is it possible to take > a Visio Drawing, save it as .jpg or gif, and the use it on StatusMap? Is > anyone do this before? Is it better to use the extendend command and use > just the images of servers and router for example? you can use it a a background map or individual icons (need to convert to gd2 format). You cannot use for the overall statusmap as Nagios positions the nodes based on parent/child relationship. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 18:39:13 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 12:39:13 -0400 (EDT) Subject: host ping In-Reply-To: <200305300201.00676.jasmine.chua@securecirt.com> References: <200305300201.00676.jasmine.chua@securecirt.com> Message-ID: On Fri, 30 May 2003, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Just wondering if anyone can explain this to me. On the web interface, all my > hosts have "Assumed to be up" status, even when I had the host check_command > defined. > > define host{ > host_name host abc > alias host abc > address xxx.xxx.xxx.xxx > check_command check-host-alive > max_check_attempts 3 > notification_interval 0 > notification_period 24x7 > notification_options d,u,r > } > > Also, if I want to vary the arguments passed into check-host-alive. but, > apparently I failed to get Nagios to work with the configuration. > > define command{ > command_name check-thishost-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ > - -c $ARG4$,$ARG5$ -p 5 -t 50 > } > > define host{ > host_name host abc > alias host abc > address xxx.xxx.xxx.xxx > check_command check-thishost-alive!20!2%!30!5% > max_check_attempts 3 > notification_interval 0 > notification_period 24x7 > notification_options d,u,r > } > > Is there anything wrong in defining this? Because Nagios complains that > "check-thishost-alive" is not defined anywhere! hosts are only checked if a service fails. if on startup all services are fine, then hosts may not be checked... host check command in 1.0 does not accept arguments (like the service check commands) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 3 19:10:16 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 3 Jun 2003 12:10:16 -0500 Subject: NSClient Micrsoft Servers / Exchange / SQL / AD Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444A800B6@gsmail.govst.edu> For starters you can monitor the services using ./check_nt. There are others here who I know have created scripts that check to see if an account can login to owa and open an e-mail message, but I haven't gone there yet. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Mattw [mailto:matt at wells.vg] Sent: Monday, June 02, 2003 3:51 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient Micrsoft Servers / Exchange / SQL / AD Does anyone know how to check and what you can check as far as Microsoft Exchange, Microsoft Active Directory and SQL replication/logs? I've been looking all the net for it but to no avail. the NSClient site says that these things are possible. Has anyone had any luck with them?? ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Tue Jun 3 19:04:40 2003 From: stefmit at comcast.net (stefmit) Date: Tue, 3 Jun 2003 12:04:40 -0500 Subject: MDK 9.1 and Nagios 1.1 RPMs for RH9.0 In-Reply-To: <20030603223523.A251@IPAustralia.Gov.AU> References: <200306030337.AA238223654@mail.ikano.com> <1054637800.1693.7.camel@miles.debisschop.net> <20030603223523.A251@IPAustralia.Gov.AU> Message-ID: <200306031204.40413.stefmit@comcast.net> I am very sorry and apologetic for "intruding" in this thread, but my [Q] is related to the original $subject. I just recently became aware of nagios, and jumped at the opportunity of trying it out (have used netsaint years ago, but haven't had a need for anything similar since). I did not want to install the version (base, plugins and www) that come with MDK9.1, as I wanted the "latest and greatest" stable, when I stumbled across the RPMs built for RH9.0. I posted the message below to the forum (http://alpha.square-box.com), without realizing that there is not (am I wrong?!?) a dual relationship between this mailing list and http://alpha.square-box.com, so I dare to bother you all with the following (perhaps a "repeat" for those reading the forums, also): Have tried to install the RH9 rpms (fresh new install!) on an MDK 9.1 box. Successful with base and plugins, but failed for the www RPM: # urpmi nagios-www-1.1-1.i386.rpm installing nagios-www-1.1-1.i386.rpm Installation failed: libgd.so.1.8 is needed by nagios-www-1.1-1 On my machine: # locate libgd /usr/lib/libgdk_pixbuf.so.2 /usr/lib/libgd.so.2 /usr/lib/libgdbm.so.2.0.0 /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.a /usr/lib/libgdk_imlib.so.1.9.14 /usr/lib/libgdk-1.2.so.0 /usr/lib/libgdk_imlib.so.1 /usr/lib/libgdk-1.2.so.0.9.1 /usr/lib/libgdk_pixbuf-2.0.so.0 /usr/lib/libgdbm.so.2 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0.200.1 /usr/lib/libgdk_pixbuf.so.2.0.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0.200.1 /usr/lib/libgd.la /usr/lib/libgd.so /usr/lib/libgdk_pixbuf-2.0.so.0.200.1 then: # urpmf libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd1:/usr/lib/libgd.so.1 libgd1:/usr/lib/libgd.so.1.8.4 libgd1-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd1:/usr/lib/libgd.so.1 libgd1:/usr/lib/libgd.so.1.8.4 libgd1-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so libgd2:/usr/lib/libgd.so.2 libgd2:/usr/lib/libgd.so.2.0.0 libgd2-devel:/usr/lib/libgd.so - so - obviously, the libgd1 is what I would probably need ... but it would probably conflict with libgd2 (when linking the main libdg.so, right!?), when trying to get it via rpms. Any ideas/suggestions about MDK 9.1? Thx, Stef - sorry for getting into the thread ... ;) ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue Jun 3 19:18:48 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 3 Jun 2003 19:18:48 +0200 Subject: Plugins for NRPE_NT available (Nice goodies) Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4595@serv-075.icon-germany.local> Hi all, In the past there where a few questions on monitoring Windows Server. There was a question about the physical memory and a problem on checking drive space. I was working for the last few days on some plugins for nrpe_nt and I belive it has the potential to replace Nsclient. You can download the nrpe_nt daemon and the plugins from: http://support.tsmgsoftware.com/ Following Plugins are available for immediately download: Check_dummy Do I have tell you about it? Check_cputime Check_cputime is a plugin for nrpe_nt that returns the used CPU time in % Check_ram Check_ram is a plugin that will return the amount of free physical memory Check_disk Check_disk is a plugin that will return the Total, Free and Used space in MB/GB And % of a given drive Check_fileage check_fileage is a plugin to check if a file has changed You don't need to install a separate language like perl to run these scripts. They are written in VBS and use the WSH scripting engine version 5.6. The only thing you may have to do is to update your scripting engine. That's it... Script available but from other author: Cpu.kix Need's Kixstart and will return CPU type, speed and amount of physical memory Regards, Hagen Deike ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Tue Jun 3 19:12:31 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Tue, 3 Jun 2003 12:12:31 -0500 Subject: Service won't update... Message-ID: <870BC6C69F20D4118ECC009027FC7761070BC9D4@copexc01.parago.com> What are the spec's on this box? How many services you monitoring and how often? Take a look at the Scheduling Queue and see what the other services look like. -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: Tuesday, June 03, 2003 11:17 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Service won't update... Hi all, Take a look at the jpeg. There you can see that I have a service that didn't update it self. As you can see the service should do it's next check at 17:18:36. But the system time is allready 18:05:22. I left this for a while in the hope that it whould start some time later. Well it didn't do so Is this a known problem? Regards, Hagen ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rachel at public.qz.fj.cn Tue Jun 3 19:32:37 2003 From: rachel at public.qz.fj.cn (Rachel) Date: Wed, 4 Jun 2003 01:32:37 +0800 Subject: manufacturer of garments and bags in China Message-ID: A non-text attachment was scrubbed... Name: not available Type: multipart/mixed Size: 3452 bytes Desc: not available URL: From jcarro10 at sprintspectrum.com Tue Jun 3 20:14:57 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 3 Jun 2003 13:14:57 -0500 Subject: [Nagios-users] HP/Compaq ILO and check_http Message-ID: Karl DeBisschop wrote: > For that matter, I cannot begin to fathom what you muight > mean by saying > there was no satisfying result - did you timeout? Did it hang forever? > Didi you get a seg fault? Was there a ciritical or warning state? I > could go on. Tsk Karl... just use the check_crystal_ball plugin, of course! ;) jc ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 From ext-nagios at jezzer.co.uk Tue Jun 3 20:58:34 2003 From: ext-nagios at jezzer.co.uk (jez_uk1) Date: 3 Jun 2003 18:58:34 -0000 Subject: Error: Could not lock status data tables in database Message-ID: <20030603185834.17356.qmail@pod-163.dolphin-server.co.uk> When starting Nagios with MySQL: Error: Could not lock status data tables in database I have granted the user SELECT, INSERT, UPDATE, DELETE as requested in the documentation. What exactly does this message mean? A little more diagnostic information would be useful ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandler.Collins at silabs.com Tue Jun 3 21:10:03 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Tue, 3 Jun 2003 14:10:03 -0500 Subject: notification of system reboots Message-ID: Hello, I'm trying to find the best way to get notified anytime a system reboots. Essentially, I have about 70 boxes being monitored, and I need to know anytime one of them reboots. Every box also has NRPE installed, and I'm monitoring various services on those systems. Right now, Nagios is setup to notify administrators if a particular service has a problem for 15 minutes (max_check_attempts = 3, normal_check_interval = 5, retry_check_interval = 5). That obviously won't work for a reboot, which under normal circumstances will take much less than 15 minutes, in which case we won't even know about it. Does anyone have any ideas about the best way of doing this so that I'm not notified about transient issues, but I am notified if the system genuinely reboots? Thanks! Chandler Collins This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From Chandler.Collins at silabs.com Tue Jun 3 21:45:09 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Tue, 3 Jun 2003 14:45:09 -0500 Subject: notification of system reboots Message-ID: Actually, we've had similar mechanisms in place in the past, but we're trying to find a clean way to use Nagios to handle this task that won't involve the installation and maintenance of a separate script. We already have to add a new host to a specific hostgroup in Nagios to make sure all the right services are being monitored. We'd like to make it so that notification of a system reboot is simply part of the suite of services that are being monitored under this hostgroup. Chandler > -----Original Message----- > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > Sent: Tuesday, June 03, 2003 2:34 PM > To: Chandler A. Collins; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notification of system reboots > > > Some of our Windows and Unix boxes have a batch file or shell script > that emails a generic template to a mailing list on boot. This > file/script runs at boottime and lets everyone know that the box is > coming back up. > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division > http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > > > -----Original Message----- > From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] > Sent: Tuesday, June 03, 2003 3:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification of system reboots > > > > Hello, > > I'm trying to find the best way to get notified anytime a system > reboots. > > Essentially, I have about 70 boxes being monitored, and I need to know > anytime one of them reboots. Every box also has NRPE > installed, and I'm > monitoring various services on those systems. Right now, Nagios is > setup to notify administrators if a particular service has a > problem for > 15 minutes (max_check_attempts = 3, normal_check_interval = 5, > retry_check_interval = 5). That obviously won't work for a reboot, > which under normal circumstances will take much less than 15 > minutes, in > which case we won't even know about it. > > Does anyone have any ideas about the best way of doing this > so that I'm > not notified about transient issues, but I am notified if the system > genuinely reboots? > > Thanks! > > Chandler Collins > > This email and any attachments thereto may contain private, > confidential, > and privileged material for the sole use of the intended > recipient. Any > review, copying, or distribution of this email (or any attachments > thereto) > by others is strictly prohibited. If you are not the intended > recipient, > > please contact the sender immediately and permanently delete the > original > and any copies of this email and any attachments thereto. > > This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From rburnson at cps.k12.il.us Tue Jun 3 21:58:14 2003 From: rburnson at cps.k12.il.us (Burnson, Richard) Date: Tue, 3 Jun 2003 14:58:14 -0500 Subject: notification of system reboots Message-ID: <79511DDDAB73D411A32F0006298F373B019DA48E@coxmb06.csc.cps.k12.il.us> One way would be to monitor system uptime. For example, you could have Nagios send out an alert if the uptime is less than some threshold. Richard -----Original Message----- From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] Sent: Tuesday, June 03, 2003 2:45 PM To: Aaron Conaway; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] notification of system reboots Actually, we've had similar mechanisms in place in the past, but we're trying to find a clean way to use Nagios to handle this task that won't involve the installation and maintenance of a separate script. We already have to add a new host to a specific hostgroup in Nagios to make sure all the right services are being monitored. We'd like to make it so that notification of a system reboot is simply part of the suite of services that are being monitored under this hostgroup. Chandler > -----Original Message----- > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > Sent: Tuesday, June 03, 2003 2:34 PM > To: Chandler A. Collins; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notification of system reboots > > > Some of our Windows and Unix boxes have a batch file or shell script > that emails a generic template to a mailing list on boot. This > file/script runs at boottime and lets everyone know that the box is > coming back up. > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division > http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > > > -----Original Message----- > From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] > Sent: Tuesday, June 03, 2003 3:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification of system reboots > > > > Hello, > > I'm trying to find the best way to get notified anytime a system > reboots. > > Essentially, I have about 70 boxes being monitored, and I need to know > anytime one of them reboots. Every box also has NRPE > installed, and I'm > monitoring various services on those systems. Right now, Nagios is > setup to notify administrators if a particular service has a > problem for > 15 minutes (max_check_attempts = 3, normal_check_interval = 5, > retry_check_interval = 5). That obviously won't work for a reboot, > which under normal circumstances will take much less than 15 > minutes, in > which case we won't even know about it. > > Does anyone have any ideas about the best way of doing this > so that I'm > not notified about transient issues, but I am notified if the system > genuinely reboots? > > Thanks! > > Chandler Collins > > This email and any attachments thereto may contain private, > confidential, > and privileged material for the sole use of the intended > recipient. Any > review, copying, or distribution of this email (or any attachments > thereto) > by others is strictly prohibited. If you are not the intended > recipient, > > please contact the sender immediately and permanently delete the > original > and any copies of this email and any attachments thereto. > > This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Conaway at HOSystems.com Tue Jun 3 21:33:48 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Tue, 3 Jun 2003 15:33:48 -0400 Subject: notification of system reboots Message-ID: <7D55A9A792CFA24C8918768B5F977A21C6341A@quigon.hosystems> Some of our Windows and Unix boxes have a batch file or shell script that emails a generic template to a mailing list on boot. This file/script runs at boottime and lets everyone know that the box is coming back up. ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 -----Original Message----- From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] Sent: Tuesday, June 03, 2003 3:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification of system reboots Hello, I'm trying to find the best way to get notified anytime a system reboots. Essentially, I have about 70 boxes being monitored, and I need to know anytime one of them reboots. Every box also has NRPE installed, and I'm monitoring various services on those systems. Right now, Nagios is setup to notify administrators if a particular service has a problem for 15 minutes (max_check_attempts = 3, normal_check_interval = 5, retry_check_interval = 5). That obviously won't work for a reboot, which under normal circumstances will take much less than 15 minutes, in which case we won't even know about it. Does anyone have any ideas about the best way of doing this so that I'm not notified about transient issues, but I am notified if the system genuinely reboots? Thanks! Chandler Collins This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 3 22:11:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 03 Jun 2003 16:11:08 -0400 (EDT) Subject: notification of system reboots In-Reply-To: References: Message-ID: On Tue, 3 Jun 2003, Chandler A. Collins wrote: > > Hello, > > I'm trying to find the best way to get notified anytime a system reboots. > > Essentially, I have about 70 boxes being monitored, and I need to know > anytime one of them reboots. Every box also has NRPE installed, and I'm > monitoring various services on those systems. Right now, Nagios is > setup to notify administrators if a particular service has a problem for > 15 minutes (max_check_attempts = 3, normal_check_interval = 5, > retry_check_interval = 5). That obviously won't work for a reboot, > which under normal circumstances will take much less than 15 minutes, in > which case we won't even know about it. > > Does anyone have any ideas about the best way of doing this so that I'm > not notified about transient issues, but I am notified if the system > genuinely reboots? > > Thanks! > > Chandler Collins > Have you tried contrib/check_uptime? It probably needs a bit of tweaking with the new library structure. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandler.Collins at silabs.com Tue Jun 3 22:46:00 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Tue, 3 Jun 2003 15:46:00 -0500 Subject: notification of system reboots Message-ID: Good idea. Is there a plugin that will do this already, or would it involve writing a custom plugin? I'm trying to avoid having to install a new plugin on 70+ hosts. ;-) > -----Original Message----- > From: Burnson, Richard [mailto:rburnson at cps.k12.il.us] > Sent: Tuesday, June 03, 2003 2:58 PM > To: Chandler A. Collins; Aaron Conaway; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notification of system reboots > > > One way would be to monitor system uptime. For example, you > could have > Nagios send out an alert if the uptime is less than some threshold. > > Richard > > > > -----Original Message----- > From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] > Sent: Tuesday, June 03, 2003 2:45 PM > To: Aaron Conaway; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notification of system reboots > > Actually, we've had similar mechanisms in place in the past, but we're > trying to find a clean way to use Nagios to handle this task > that won't > involve the installation and maintenance of a separate > script. We already > have to add a new host to a specific hostgroup in Nagios to > make sure all > the right services are being monitored. We'd like to make it so that > notification of a system reboot is simply part of the suite > of services that > are being monitored under this hostgroup. > > Chandler > > > > -----Original Message----- > > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > > Sent: Tuesday, June 03, 2003 2:34 PM > > To: Chandler A. Collins; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] notification of system reboots > > > > > > Some of our Windows and Unix boxes have a batch file or shell script > > that emails a generic template to a mailing list on boot. This > > file/script runs at boottime and lets everyone know that the box is > > coming back up. > > > > ---------- > > Aaron Conaway > > Network Engineer III > > Verisign, Inc. -- Telecom Services Division > > http://www.verisign.com > > Office: 912.527.4343 > > Fax: 912.527.4014 > > > > > > -----Original Message----- > > From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] > > Sent: Tuesday, June 03, 2003 3:10 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] notification of system reboots > > > > > > > > Hello, > > > > I'm trying to find the best way to get notified anytime a system > > reboots. > > > > Essentially, I have about 70 boxes being monitored, and I > need to know > > anytime one of them reboots. Every box also has NRPE > > installed, and I'm > > monitoring various services on those systems. Right now, Nagios is > > setup to notify administrators if a particular service has a > > problem for > > 15 minutes (max_check_attempts = 3, normal_check_interval = 5, > > retry_check_interval = 5). That obviously won't work for a reboot, > > which under normal circumstances will take much less than 15 > > minutes, in > > which case we won't even know about it. > > > > Does anyone have any ideas about the best way of doing this > > so that I'm > > not notified about transient issues, but I am notified if the system > > genuinely reboots? > > > > Thanks! > > > > Chandler Collins > > > > This email and any attachments thereto may contain private, > > confidential, > > and privileged material for the sole use of the intended > > recipient. Any > > review, copying, or distribution of this email (or any attachments > > thereto) > > by others is strictly prohibited. If you are not the intended > > recipient, > > > > please contact the sender immediately and permanently delete the > > original > > and any copies of this email and any attachments thereto. > > > > > > This email and any attachments thereto may contain private, > confidential, > and privileged material for the sole use of the intended > recipient. Any > review, copying, or distribution of this email (or any > attachments thereto) > by others is strictly prohibited. If you are not the intended > recipient, > please contact the sender immediately and permanently delete > the original > and any copies of this email and any attachments thereto. > > This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From jcarro10 at sprintspectrum.com Tue Jun 3 23:35:39 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 3 Jun 2003 16:35:39 -0500 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? Message-ID: Greets all, I installed Nagios 1.1 today, and noticed a slight cosmetic change. I don't think this was intentional. I examined what's in the ../sbin directory, and all the .cgi files have a timestamp from 10:48am this morning. I took a screencap (see attached). Take a look at the mid-screen, under "Services". It lists "26 Critical", but spans all 5 table colums, leaving Warning, Unknown, Ok and Pending pushed off to the side. Am I the only one experiencing this? (In case you noticed it, yes, I've still got the Authenticate tweak in the sidebar. I reinstated it after making a backup copy of that file and comparing it to the 1.0 version. Otherwise, all the .html and .cgi files which should have been installed appear to be there, thanks to the "make install" after compilation.) If I've managed to fat-finger something, let me know. :) jc -------------- next part -------------- A non-text attachment was scrubbed... Name: tac cgi.png Type: image/png Size: 75126 bytes Desc: tac cgi.png URL: From thoms at clinicomp.com Wed Jun 4 00:20:52 2003 From: thoms at clinicomp.com (Thom Smith) Date: 03 Jun 2003 15:20:52 -0700 Subject: Hide hosts on the status map Message-ID: <1054678852.927.16.camel@pc-thoms.clinicomp.com> Is there any way to have hosts configured, but NOT show up on the status map? For example, I have a remote VPN device that I want to get the bits in and out. I use the inside interface and an SNMP get. I also want to ping the outside interface to measure RTT, but I do NOT want the packet to traverse the tunnel (takes a different path internally). -- Thom Smith ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Wed Jun 4 00:45:03 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Tue, 3 Jun 2003 18:45:03 -0400 Subject: event handlers - remote commands In-Reply-To: References: Message-ID: <200306031845.03790.dom@vbi.vt.edu> On Tuesday 03 June 2003 11:48 am, Subhendu Ghosh wrote: > > I know this is off-topic, but a bit similar. I am almost finished with a > > small plugin to check for tomcat services remotely, if anybody is > > interested, I'll post the code somewhere. It's a rip-off from one of the > > perl plugins that comes with nagios, and uses SOAP::Lite. > > Feel free to post to New Plugins tracker on > sourceforge/projects/nagiosplug > > Please include license and copyright.. I'll post to the nagiosplug possibly tommorow, as soon as I figure out how I should properly credit the original author of check_ntp plugin. [I've never ripped off code before]. For now, anybody interested in this webservice check plugin, it's available at: http://www.vbi.vt.edu/~dom/nagios/check_webservice dom ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Jun 4 02:12:42 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 3 Jun 2003 20:12:42 -0400 Subject: Hide hosts on the status map Message-ID: <5F29693503507B4FB4032686ADF86267077374@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From john.barro at shaw.ca Wed Jun 4 02:26:33 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Tue, 03 Jun 2003 20:26:33 -0400 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? Message-ID: <189f4197a1.197a1189f4@shaw.ca> I experience the same results after installing Nagios 1.1 on my Redhat 7.3 system. I was previously running version 1.0 which did not experience that symptom. I did not examine any directories nor was I going to worry about it as I figured it may have been user initiated. John ----- Original Message ----- From: "Carroll, Jim P [Contractor]" Date: Tuesday, June 3, 2003 5:35 pm Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > Greets all, > > I installed Nagios 1.1 today, and noticed a slight > cosmetic change. I don't think this was intentional. > I examined what's in the ../sbin directory, and all > the .cgi files have a timestamp from 10:48am this morning. > > I took a screencap (see attached). Take a look at the > mid-screen, under "Services". It lists "26 Critical", > but spans all 5 table colums, leaving Warning, Unknown, > Ok and Pending pushed off to the side. > > Am I the only one experiencing this? > > (In case you noticed it, yes, I've still got the Authenticate > tweak in the sidebar. I reinstated it after making a backup > copy of that file and comparing it to the 1.0 version. > Otherwise, all the .html and .cgi files which should have been > installed appear to be there, thanks to the "make install" > after compilation.) > > If I've managed to fat-finger something, let me know. :) > > jc > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dag at wieers.com Wed Jun 4 03:53:52 2003 From: dag at wieers.com (Dag Wieers) Date: Wed, 4 Jun 2003 03:53:52 +0200 (CEST) Subject: Nagios RPM packages for RH73, RH80 and RH9 (fwd) Message-ID: I intended to Cc: it to both mailinglists as there might be some people interested in this, but unfortunately I submitted it to soon. -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ---------- Forwarded message ---------- From: Dag Wieers To: Ethan Galstad Organization: 3TI Web Hosting Services Date: Wed, 4 Jun 2003 03:51:27 +0200 (CEST) User-Agent: Mutt/1.2.5.1i X-Mailer: Ximian Evolution 1.0.5 Subject: Nagios RPM packages for RH73, RH80 and RH9 Hi Ethan, I'm building Nagios RPM packages for RH73, RH80 and RH9. You can find these packages at: http://dag.wieers.com/packages/nagios/ and the plugins at: http://dag.wieers.com/packages/nagios-plugins/ Or use apt as described on: http://dag.wieers.com/apt/ Maybe there are people interested in using apt to install/update nagios or using older RH versions. If so, you could link to it from your website (or copy those files to your website if you like to). Now, I had some troubles building nagios 1.1 due to changes in contrib/mini_epn.c, I compared them against nagios 1.0 and came up with this working patch. It seems to build, but since I'm not a programmer I can't evaluate the correctness of the patch. --- contrib/mini_epn.c.orig 2003-06-04 03:31:50.000000000 +0200 +++ contrib/mini_epn.c 2003-06-04 03:36:03.000000000 +0200 @@ -23,6 +23,11 @@ #define MAX_COMMANDLINE_LENGTH 160 +#define NO_XSLOCKS +#include + +extern void boot_DynaLoader _((CV* cv)); + static PerlInterpreter *perl = NULL; Thanks in advance ! -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 4 05:56:54 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 4 Jun 2003 13:56:54 +1000 Subject: Nagios RPM packages for RH73, RH80 and RH9 (fwd) In-Reply-To: ; from dag@wieers.com on Wed, Jun 04, 2003 at 03:53:52AM +0200 References: Message-ID: <20030604135652.D43383@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your help in this matter but .. On Wed, Jun 04, 2003 at 03:53:52AM +0200, Dag Wieers wrote: > > --- contrib/mini_epn.c.orig 2003-06-04 03:31:50.000000000 +0200 > +++ contrib/mini_epn.c 2003-06-04 03:36:03.000000000 +0200 > @@ -23,6 +23,11 @@ > > #define MAX_COMMANDLINE_LENGTH 160 > > +#define NO_XSLOCKS > +#include > + > +extern void boot_DynaLoader _((CV* cv)); > + > static PerlInterpreter *perl = NULL; > > Thanks in advance ! > -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- > [Any errors in spelling, tact or fact are transmission errors] > > building mini_epn is _no_ longer the problem; the problem is that it SEGVs at the first call to perl_call_argv() on threaded Perls (ie those with RH 8 and 9). Will send the buildable mini_epn patches later .. 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. From karl at debisschop.net Wed Jun 4 05:41:03 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 03 Jun 2003 23:41:03 -0400 Subject: Nagios 1.1 rpms - MDK9.1 anyone?!? In-Reply-To: <20030603135136.13879.qmail@pod-163.dolphin-server.co.uk> References: <20030603135136.13879.qmail@pod-163.dolphin-server.co.uk> Message-ID: <1054698063.1790.6.camel@miles.debisschop.net> On Tue, 2003-06-03 at 09:51, stefmit wrote: > Have tried to install the RH9 rpms (fresh new install!) on an MDK 9.1 box. Successful with base and plugins, but fails for the www part. > > # urpmi nagios-www-1.1-1.i386.rpm > installing nagios-www-1.1-1.i386.rpm > Installation failed: > libgd.so.1.8 is needed by nagios-www-1.1-1 RedHat 9 ships with gd-1.8, so you (or someone else) will need to build the RPMs from the tarball. 'rpmbuild -ta nagios-1.1.tar.gz' ought to work, assuming the proper development libraries are installed. If you go ahead and try the build, be sure to let us know whether or not things worked out. And feel free to post questions - the spec that come with the sources is designed to be appliccable to a fairly wide variety of RPM-based distributions - so if we missed anything relative to MDK, we'd like to know. (FWIW, I do have a custom gd-2.x installed on several of my RedHat machines, and it works fine for me. But I'm reluctant to provide a binary build from those machines becuase I have no real way of knowing what other verion differences there are bethween RH and MDK.) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Wed Jun 4 07:05:29 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 07:05:29 +0200 Subject: notification of system reboots References: Message-ID: <3EDD7E19.2010906@datavis.se> You can use a startup-script and that submit a passive-check-result to Nagios each time the machine comes up. /FredrikW Chandler A. Collins wrote: >Actually, we've had similar mechanisms in place in the past, but we're trying to find a clean way to use Nagios to handle this task that won't involve the installation and maintenance of a separate script. We already have to add a new host to a specific hostgroup in Nagios to make sure all the right services are being monitored. We'd like to make it so that notification of a system reboot is simply part of the suite of services that are being monitored under this hostgroup. > >Chandler > > > > >>-----Original Message----- >>From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] >>Sent: Tuesday, June 03, 2003 2:34 PM >>To: Chandler A. Collins; nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] notification of system reboots >> >> >>Some of our Windows and Unix boxes have a batch file or shell script >>that emails a generic template to a mailing list on boot. This >>file/script runs at boottime and lets everyone know that the box is >>coming back up. >> >>---------- >>Aaron Conaway >>Network Engineer III >>Verisign, Inc. -- Telecom Services Division >>http://www.verisign.com >>Office: 912.527.4343 >>Fax: 912.527.4014 >> >> >>-----Original Message----- >>From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] >>Sent: Tuesday, June 03, 2003 3:10 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] notification of system reboots >> >> >> >>Hello, >> >>I'm trying to find the best way to get notified anytime a system >>reboots. >> >>Essentially, I have about 70 boxes being monitored, and I need to know >>anytime one of them reboots. Every box also has NRPE >>installed, and I'm >>monitoring various services on those systems. Right now, Nagios is >>setup to notify administrators if a particular service has a >>problem for >>15 minutes (max_check_attempts = 3, normal_check_interval = 5, >>retry_check_interval = 5). That obviously won't work for a reboot, >>which under normal circumstances will take much less than 15 >>minutes, in >>which case we won't even know about it. >> >>Does anyone have any ideas about the best way of doing this >>so that I'm >>not notified about transient issues, but I am notified if the system >>genuinely reboots? >> >>Thanks! >> >>Chandler Collins >> >>This email and any attachments thereto may contain private, >>confidential, >>and privileged material for the sole use of the intended >>recipient. Any >>review, copying, or distribution of this email (or any attachments >>thereto) >>by others is strictly prohibited. If you are not the intended >>recipient, >> >>please contact the sender immediately and permanently delete the >>original >>and any copies of this email and any attachments thereto. >> >> >> >> > >This email and any attachments thereto may contain private, confidential, >and privileged material for the sole use of the intended recipient. Any >review, copying, or distribution of this email (or any attachments thereto) >by others is strictly prohibited. If you are not the intended recipient, >please contact the sender immediately and permanently delete the original >and any copies of this email and any attachments thereto. > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paschos at cosmoline.com Wed Jun 4 08:31:14 2003 From: paschos at cosmoline.com (George Paschos) Date: Wed, 4 Jun 2003 09:31:14 +0300 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? In-Reply-To: <189f4197a1.197a1189f4@shaw.ca> References: <189f4197a1.197a1189f4@shaw.ca> Message-ID: I have the same behavior. To get over it I just used the 1.0 version of tac.cgi without any problems (yet..) Regards, george -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of john.barro at shaw.ca Sent: Wednesday, June 04, 2003 3:27 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? Importance: Low I experience the same results after installing Nagios 1.1 on my Redhat 7.3 system. I was previously running version 1.0 which did not experience that symptom. I did not examine any directories nor was I going to worry about it as I figured it may have been user initiated. John ----- Original Message ----- From: "Carroll, Jim P [Contractor]" Date: Tuesday, June 3, 2003 5:35 pm Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > Greets all, > > I installed Nagios 1.1 today, and noticed a slight > cosmetic change. I don't think this was intentional. > I examined what's in the ../sbin directory, and all > the .cgi files have a timestamp from 10:48am this morning. > > I took a screencap (see attached). Take a look at the > mid-screen, under "Services". It lists "26 Critical", > but spans all 5 table colums, leaving Warning, Unknown, > Ok and Pending pushed off to the side. > > Am I the only one experiencing this? > > (In case you noticed it, yes, I've still got the Authenticate > tweak in the sidebar. I reinstated it after making a backup > copy of that file and comparing it to the 1.0 version. > Otherwise, all the .html and .cgi files which should have been > installed appear to be there, thanks to the "make install" > after compilation.) > > If I've managed to fat-finger something, let me know. :) > > jc > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 4 09:38:29 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 4 Jun 2003 17:38:29 +1000 Subject: Announce. Nagios::WebTransact Perl class for developing Nag checks of web transactions. Message-ID: <20030604173827.F43383@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, A rudimentray Perl class on CPAN, Nagios-WebTransact-0.01, may help those interested in checking . web front ends to databases . web reservation or search systems . any thing else where one has to complete out a series of fill out web forms. The class has some dynamicism so that it can snarf Java script values out of the HTML and feed them into subsequent pages. Largely, however, you have to tell it what to do. Regrettably, it doesn't free you from working out what the sequence of URLs are and what name value pairs are required for each. 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Wed Jun 4 09:45:26 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Wed, 4 Jun 2003 15:45:26 +0800 Subject: what cause this problems : Warning: Monitoring process may not be running! Message-ID: i have settle down my problem according to below warning Warning: Monitoring process may not be running! Click here for more info. in the cgi.cfg file when i disable the lines below my problems solve, so i want to know if anyone know what actually caused this problem. # NAGIOS PROCESS CHECK COMMAND #nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' and what is the effect if i permenantly disable that nagios proses check command im running nagios1.0 ,in redhat9.0 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Wed Jun 4 09:42:22 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 09:42:22 +0200 Subject: Statusmap.cgi References: <20030603143633.17370.qmail@linuxmail.org> Message-ID: <3EDDA2DE.2040300@datavis.se> Yes, Download the Nagios-source and compile. /FredrikW Rivanor P. Soares wrote: >Hi all. > >I'm new to Nagios. >I'd like to know how can I generate a statusmap.cgi file. > >Thanks in advance! > >[]'s > >-- >Rivanor P. Soares >[w3b_kn0ws] > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.louafi at e-qual.fr Wed Jun 4 10:54:44 2003 From: sebastien.louafi at e-qual.fr (louafi) Date: Wed, 4 Jun 2003 10:54:44 +0200 Subject: CPU Load and scheduling queue In-Reply-To: References: Message-ID: <029c01c32a76$f1d65950$6702a8c0@intranet.equal.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >-----Message d'origine----- >De : nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] >De la part de >Subhendu Ghosh Envoy? : mardi 3 juin 2003 18:10 >? : nagios-users at lists.sourceforge.net >Objet : Re: [Nagios-users] CPU Load and scheduling queue > > >On Tue, 3 Jun 2003, louafi wrote: > >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I have a problem with my nagios. >> >> I have 1800 services on 130 hosts. >> >> All my services have the same configuration : >> >> define service{ >> host_name 42.42.42.42 >> service_description CPU:CPU_1 >> check_command >> check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public >> max_check_attempts 4 >> normal_check_interval 5 >> retry_check_interval 5 >> active_checks_enabled 1 >> passive_checks_enabled 0 >> check_period 24x7 >> parallelize_check 1 >> check_freshness 0 >> flap_detection_enabled 0 >> process_perf_data 1 >> retain_status_information 1 >> retain_nonstatus_information 1 >> notification_interval 60 >> notification_period 24X7 >> notification_options w,c,r >> notifications_enabled 0 >> stalking_options o,w,u,c >> } >> >> My nagios.cfg is : >> > > >> inter_check_delay_method=s >> service_interleave_factor=s >> max_concurrent_checks=10000 >> service_reaper_frequency=10 >> sleep_time=1 > > >> >> My perfdata function enter the check result in RRD and in a mysql >> database to generate statistics. >> >> Nagios schedules the check, but the check are not executed at the >> scheduling time. For example a sheduled check at 9:42 is executed >> at 9:55... My average CPU load is not high (load average: 2.27, >> 1.41, 1.18). >> >> My computer is a bi P3 1,26GHz >> >> I have tried inter_check_delay_method=0.01 without best result. >> The schedule is different (more aggressive) but the check are >> late. >> >> Any ideas ? Thanks a lot. >> > >You are using a "smart" check interleave factor. That allows to >Nagios to schedule the time of the actual check within a time >boundary. It will not be the same interval every time, but close. > >Look at the docs for check interleave factor if you want precise >control. > >-- >-sg Thanks for your reply. I disagree with you or i don't understand the link between my problem and th check interleave factor. I don't have a problem with the scheduling, the check interleave factor only affect scheduling and not scheduling execution. All my scheduling checks are not executed at the time indicated in the Scheduling Queue. Nagios execute this queue with 5-8 minutes of late. Thanks > > > >------------------------------------------------------- >This SF.net email is sponsored by: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPt2z1OL+f7HHv3GYEQKlCgCgzjsS6AJgcE5Txk4qhvsEHSraL/oAnAl+ C5xkMqPftf8B1qAXc9whfpOF =DWbX -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Wed Jun 4 11:09:47 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Wed, 04 Jun 2003 11:09:47 +0200 Subject: flap detection Message-ID: <3EDDB75B.7060307@loria.fr> Hi, i wanted to use the "flap detection", but when i enabled it in "nagios.cfg" In the "Tactical overview" of nagios, it is always at "disabled". I search in the documentation, but nothing tell about what need to be ok. Any idears ? Best reagards -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mav at juniper.net Wed Jun 4 11:06:57 2003 From: mav at juniper.net (Ian Davidson) Date: Wed, 4 Jun 2003 10:06:57 +0100 Subject: what cause this problems : Warning: Monitoring process may not be running! Message-ID: I think there has been an email thread on this already. I think what you'll find is that the output of the check_nagios command (which essentially does a 'ps -aux' and then looks for an entry called /usr/local/nagios/bin/nagios) doesn't work. On a recently upgraded RH7.3 box I found that the result of the ps command showed the Nagios process as: [root at boy-button]# ps -aux | grep nagios nagios 7557 0.1 0.7 4144 2028 ? S Jun03 1:23 [nagios] Where as on older versions it was [root at schumi]# ps -aux | grep nagios nagios 29516 0.0 0.3 4348 2188 ? S May29 6:01 /usr/local/nagios/bin/nagios I'm not sure why some processes shown by the result of ps are in brackets like that, but that's likely the problem. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Syed Zulhilmi Tuan Sharif > Sent: 04 June 2003 07:45 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] what cause this problems : Warning: > Monitoring process may not be running! > > > i have settle down my problem according to below warning > > Warning: Monitoring process may not be running! > Click here for more info. > > in the cgi.cfg file when i disable the lines below my problems > solve, so i want to know if anyone know what actually caused > this problem. > > # NAGIOS PROCESS CHECK COMMAND > #nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > and what is the effect if i permenantly disable that nagios > proses check command > > im running nagios1.0 ,in redhat9.0 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 4 11:21:44 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 4 Jun 2003 11:21:44 +0200 Subject: nrpe execute probleme Message-ID: <017201c32a7a$b8033320$c801007e@w80075c> hello, when i want to excecute a plugin in my remote host, nagios said :CHECK_NRPE: Error receiving data from host and when i execute a command on host (localy) an error is generate! (cf exemple) test:/usr/local/nagios/libexec # ./check_users -w 20 -c 10 -p /dev/hda3 BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed! my libexec were not compiled in the remote host but just copy/paste (host nagios to remote host) ! my version of nagios : 1.0 in SuSE 7.2 Any ideas ? Thanks a lot. sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Wed Jun 4 11:40:28 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 11:40:28 +0200 Subject: CPU Load and scheduling queue References: <029c01c32a76$f1d65950$6702a8c0@intranet.equal.fr> Message-ID: <3EDDBE8C.9080205@datavis.se> I had the same problem until I decreased the 'service_reaper_frequency' This is my config now: inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=50 service_reaper_frequency=3 Before I used default values and could end up with services being 'stuck' for several minutes, now my check Latency is 1,3,0.095 sec (min, max, avg) /FredrikW louafi wrote: > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > > > >>-----Message d'origine----- >>De : nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] >De la part de >>Subhendu Ghosh Envoy? : mardi 3 juin 2003 18:10 >>? : nagios-users at lists.sourceforge.net >>Objet : Re: [Nagios-users] CPU Load and scheduling queue >> >> >>On Tue, 3 Jun 2003, louafi wrote: >> >> >> >>> >>>-----BEGIN PGP SIGNED MESSAGE----- >>>Hash: SHA1 >>> >>>Hi, >>> >>>I have a problem with my nagios. >>> >>>I have 1800 services on 130 hosts. >>> >>>All my services have the same configuration : >>> >>>define service{ >>> host_name 42.42.42.42 >>> service_description CPU:CPU_1 >>> check_command >>>check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public >>> max_check_attempts 4 >>> normal_check_interval 5 >>> retry_check_interval 5 >>> active_checks_enabled 1 >>> passive_checks_enabled 0 >>> check_period 24x7 >>> parallelize_check 1 >>> check_freshness 0 >>> flap_detection_enabled 0 >>> process_perf_data 1 >>> retain_status_information 1 >>> retain_nonstatus_information 1 >>> notification_interval 60 >>> notification_period 24X7 >>> notification_options w,c,r >>> notifications_enabled 0 >>> stalking_options o,w,u,c >>>} >>> >>>My nagios.cfg is : >>> >>> >>> >> >> >> >> >>>inter_check_delay_method=s >>>service_interleave_factor=s >>>max_concurrent_checks=10000 >>>service_reaper_frequency=10 >>>sleep_time=1 >>> >>> >> >> >> >> >>>My perfdata function enter the check result in RRD and in a mysql >>>database to generate statistics. >>> >>>Nagios schedules the check, but the check are not executed at the >>>scheduling time. For example a sheduled check at 9:42 is executed >>>at 9:55... My average CPU load is not high (load average: 2.27, >>>1.41, 1.18). >>> >>>My computer is a bi P3 1,26GHz >>> >>>I have tried inter_check_delay_method=0.01 without best result. >>>The schedule is different (more aggressive) but the check are >>>late. >>> >>>Any ideas ? Thanks a lot. >>> >>> >>> >>You are using a "smart" check interleave factor. That allows to >>Nagios to schedule the time of the actual check within a time >>boundary. It will not be the same interval every time, but close. >> >>Look at the docs for check interleave factor if you want precise >>control. >> >>-- >>-sg >> >> > >Thanks for your reply. >I disagree with you or i don't understand the link between my problem >and th check interleave factor. > >I don't have a problem with the scheduling, the check interleave >factor only affect scheduling and not scheduling execution. > >All my scheduling checks are not executed at the time indicated in >the Scheduling Queue. Nagios execute this queue with 5-8 minutes of >late. > >Thanks > > > >> >>------------------------------------------------------- >>This SF.net email is sponsored by: eBay >>Get office equipment for less on eBay! >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: PGPfreeware 7.0.3 for non-commercial use > >iQA/AwUBPt2z1OL+f7HHv3GYEQKlCgCgzjsS6AJgcE5Txk4qhvsEHSraL/oAnAl+ >C5xkMqPftf8B1qAXc9whfpOF >=DWbX >-----END PGP SIGNATURE----- > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mav at juniper.net Wed Jun 4 11:49:50 2003 From: mav at juniper.net (Ian Davidson) Date: Wed, 4 Jun 2003 10:49:50 +0100 Subject: nrpe execute probleme Message-ID: Shouldn't you be using the check_disk script, not check_users?? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sylvain Padoan Sent: 04 June 2003 09:22 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe execute probleme hello, when i want to excecute a plugin in my remote host, nagios said :CHECK_NRPE: Error receiving data from host and when i execute a command on host (localy) an error is generate! (cf exemple) test:/usr/local/nagios/libexec # ./check_users -w 20 -c 10 -p /dev/hda3 BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed! my libexec were not compiled in the remote host but just copy/paste (host nagios to remote host) ! my version of nagios : 1.0 in SuSE 7.2 Any ideas ? Thanks a lot. sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Wed Jun 4 12:10:16 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 12:10:16 +0200 Subject: flap detection References: <3EDDB75B.7060307@loria.fr> Message-ID: <3EDDC588.9060704@datavis.se> Either of this should work; Set 'retain_nonstatus_information' to 0 and restart Nagios or Stop nagios, remove the hosts entry from status.sav, and start Nagios again. /FredrikW Lionel Verscheure wrote: > Hi, > > i wanted to use the "flap detection", but when i enabled it in > "nagios.cfg" > In the "Tactical overview" of nagios, it is always at "disabled". > > I search in the documentation, but nothing tell about what need to be ok. > > Any idears ? > > Best reagards > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glaucius at sol.psi.br Wed Jun 4 13:03:09 2003 From: glaucius at sol.psi.br (Glaucius Djalma Pereira Junior) Date: Wed, 4 Jun 2003 08:03:09 -0300 Subject: message Message-ID: <20030604080309.19b4340c.glaucius@sol.psi.br> hi people how can I modify the message format of nagios ?? I'm receveing the msg when some host is down , but I would like to edit this message best regards -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Glaucius Djalma Pereira Junior http://people.debian-rs.org/~h2so4 h2so4 at debian-rs.org =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guilhain.rouyer at cetelem.fr Wed Jun 4 12:50:30 2003 From: guilhain.rouyer at cetelem.fr (ROUYER Guilhain (Neuilly Gestion)) Date: Wed, 4 Jun 2003 12:50:30 +0200 Subject: Statusmap modification Message-ID: Hi, I'm using Nagios on a large network, and i would like to know if it's possible to create multiple statusmap corresponding to different hostgroups. I mean that at the moment, when we choose only one layer, to appear, the status map keeps the same size as if all the layers were displayed .. Moreover, if you select just one layer, the links to host in unselected layers still appear ! How to fix that ! Should I recompile statusmap.c ? Run many instances of Nagios ? (which looks quite tricky ;) Thanks for your help, Guilhain Rouyer Network Engineer Cetelem -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens.kruse at mobilcom.de Wed Jun 4 13:35:44 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Wed, 04 Jun 2003 13:35:44 +0200 Subject: Presentation / BB-Nagios Message-ID: <3EDDD990.6050301@mobilcom.de> Hi there, the small Linux Team (and me) just have been merged with our big Unix Department. Monitoring on the Linux Machines has been done so far with Nagios, the monitoring of the Unix machines ist done with BB. I now have to do the following: * Make a presenation of Nagios for the Unix staff * I have to find ways either to push Nagios results into BB or vv. My questions: 1. Does anyone have a slide show about Nagios (what ever format) and could provide it to me? 2. Has anyone already had to do something with combining/integrating BB/Nagios? Does it make sense? Are there any alternatives? Thanks for your comments and/or help, Jens ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Fernandez at mci.com Wed Jun 4 13:41:54 2003 From: Terry.Fernandez at mci.com (Terry) Date: 4 Jun 2003 11:41:54 -0000 Subject: check_cluster for hosts unknown status Message-ID: <20030604114154.26021.qmail@pod-163.dolphin-server.co.uk> I am using the check_cluster module to monitor win2k wlbs. checking services works fine but checking hosts returns an "unknown" status with the following message: Error: Could not open status log '1' for reading. Any suggestions? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Wed Jun 4 13:35:18 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Wed, 4 Jun 2003 13:35:18 +0200 Subject: AW: Service won't update... Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4596@serv-075.icon-germany.local> > -----Urspr?ngliche Nachricht----- > Von: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Gesendet: Dienstag, 3. Juni 2003 19:13 > An: 'Hagen Deike'; 'nagios-users at lists.sourceforge.net' > Betreff: RE: [Nagios-users] Service won't update... > > > What are the spec's on this box? How many services you > monitoring and how often? Take a look at the Scheduling Queue > and see what the other services look like. It's a PIII with ~1,8 GHz and 256 MB. Running SuSE 8.1 and Nagios 1.0 with 1.3.0 Plugins. I have 37 Hosts and 74 Services checked, all active no passive. I can sometimes see this effect when I re-schedule a service by hand. The cgi want's to know when the service shall be re-scheduled. If I wait to long and the system time is past the time I defined for the re-schedule the service won't be processed correctly (as far as I can see). A few minutes ago I had another strange situation with nagios. Take a look at the Jpeg and look at teh re-schedule times. Killing and starting the process helped but that's no solution to write a cron script that restarts nagios every day. The Scheduling Queue view shows tasks that are sometimes 2-3 or more minutes behinde time. Is there a way to see what plugins are executed at the moment from nagios? Or am I just to picky on this? Regards, Hagen > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Tuesday, June 03, 2003 11:17 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Service won't update... > > > Hi all, > > Take a look at the jpeg. There you can see that I have a > service that didn't update it self. As you can see the > service should do it's next check at 17:18:36. But the system > time is allready 18:05:22. I left this for a while in the > hope that it whould start some time later. Well it didn't do > so Is this a known problem? > > Regards, > Hagen > > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed Jun 4 13:54:28 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 4 Jun 2003 07:54:28 -0400 Subject: message Message-ID: <2E3E9736615DD311895D00105A9CADED014BCD14@eentsvr40.ehvert.com> The message format is in misccommands.cfg. you can edit it there. Later, dean -----Original Message----- From: Glaucius Djalma Pereira Junior [mailto:glaucius at sol.psi.br] Sent: June 4, 2003 7:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] message hi people how can I modify the message format of nagios ?? I'm receveing the msg when some host is down , but I would like to edit this message best regards -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Glaucius Djalma Pereira Junior http://people.debian-rs.org/~h2so4 h2so4 at debian-rs.org =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Wed Jun 4 14:15:33 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 14:15:33 +0200 Subject: message References: <20030604080309.19b4340c.glaucius@sol.psi.br> Message-ID: <3EDDE2E5.3000104@datavis.se> Change the notification-command. Probably in misccommands.cfg.. /FredrikW Glaucius Djalma Pereira Junior wrote: >hi people > >how can I modify the message format of nagios ?? > >I'm receveing the msg when some host is down , but I would like to edit this message > >best regards > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed Jun 4 14:34:22 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 4 Jun 2003 14:34:22 +0200 Subject: nagios doesn't send notifications - sometimes Message-ID: <200306041434.22457.roy@karlsbakk.net> hi all this is strange... I've seen the same errors come up when using postgresql or plain text files: Sometimes nagios just stops sending out notifications! I can't see any falgs set on any hosts or services indicating scheduled downtime. It just looks like it's supposed to. but no notifications are sent out or even logged. Last notifications logged was 2 days ago, and we have some services that sometimes generate quite a few errors (flapping detection disabled). Please help... I beleive this has been reported before. roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. From roy at karlsbakk.net Wed Jun 4 14:43:46 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 4 Jun 2003 14:43:46 +0200 Subject: nagios doesn't send notifications - sometimes In-Reply-To: <200306041434.22457.roy@karlsbakk.net> References: <200306041434.22457.roy@karlsbakk.net> Message-ID: <200306041443.46073.roy@karlsbakk.net> check the configuration files http://karlsbakk.net/nagios-fsckup/ On Wednesday 04 June 2003 14:34, Roy Sigurd Karlsbakk wrote: > hi all > > this is strange... I've seen the same errors come up when using postgresql > or plain text files: Sometimes nagios just stops sending out notifications! > I can't see any falgs set on any hosts or services indicating scheduled > downtime. It just looks like it's supposed to. but no notifications are > sent out or even logged. Last notifications logged was 2 days ago, and we > have some services that sometimes generate quite a few errors (flapping > detection disabled). > > Please help... I beleive this has been reported before. > > roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. From fredrik.wanglund at datavis.se Wed Jun 4 14:37:41 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 04 Jun 2003 14:37:41 +0200 Subject: what cause this problems : Warning: Monitoring process may not be running! References: Message-ID: <3EDDE815.60905@datavis.se> From the ps-manual: ... Programs swapped out to disk will be shown without command line argu- ments, and unless the c option is given, in brackets. ... /FredrikW Ian Davidson wrote: >I think there has been an email thread on this already. > >I think what you'll find is that the output of the check_nagios command >(which essentially does a 'ps -aux' and then looks for an entry called >/usr/local/nagios/bin/nagios) doesn't work. > >On a recently upgraded RH7.3 box I found that the result of the ps >command showed the Nagios process as: > >[root at boy-button]# ps -aux | grep nagios >nagios 7557 0.1 0.7 4144 2028 ? S Jun03 1:23 [nagios] > >Where as on older versions it was >[root at schumi]# ps -aux | grep nagios >nagios 29516 0.0 0.3 4348 2188 ? S May29 6:01 >/usr/local/nagios/bin/nagios > >I'm not sure why some processes shown by the result of ps are in >brackets like that, but that's likely the problem. > > > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Syed Zulhilmi Tuan Sharif >>Sent: 04 June 2003 07:45 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] what cause this problems : Warning: >>Monitoring process may not be running! >> >> >>i have settle down my problem according to below warning >> >>Warning: Monitoring process may not be running! >>Click here for more info. >> >>in the cgi.cfg file when i disable the lines below my problems >>solve, so i want to know if anyone know what actually caused >>this problem. >> >># NAGIOS PROCESS CHECK COMMAND >>#nagios_check_command=/usr/local/nagios/libexec/check_nagios >>/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' >> >>and what is the effect if i permenantly disable that nagios >>proses check command >> >>im running nagios1.0 ,in redhat9.0 >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Etnus, makers of >>TotalView, The best >>thread debugger on the planet. Designed with thread debugging features >>you've never dreamed of, try TotalView 6 free at www.etnus.com. >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, 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: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Wed Jun 4 14:50:46 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 4 Jun 2003 13:50:46 +0100 Subject: Presentation / BB-Nagios Message-ID: <1012BD903945D411915500105A48FF5701C73008@nt.man.fwltech.com> We did some basic investigation of linking BB and Nagios, since we use BB for monitoring our existing systems. We didn't get too far due to lack of time, but essentially it seems that BigBrothers log files are too disorganised to easily merge with Nagios, but it would definitely be possible to alter most of the BigBrother plugins to report to Nagios their results at the same time as they report them to BigBrother, and vice versa. To do it you would need to add a line to each bb plugin doing something like: echo "$time;PROCESS_SERVICE_CHECK_RESULT TEMP; ;;;\n" > /usr/local/nagios/rw/nagios.cmd Since each of the values you need in that line is available in BigBrother too if you keep the hostnames and descriptions the same, then you can quite easily output it to Nagios. http://nagios.sourceforge.net/docs/1_0/extcommands.html has the detailed information on how to do this. BigBrother has a similar idea, where you call "/usr/local/bb/bin/bb $displayserver $LINE" where $displayserver is the hostname of the central BB server, and $LINE is LINE="status $MACHINE.$TEST $COLOR `date`. If you call that every 5minutes with your nagios service results it will appear on the BB display and in the log files. I've also written a very simple and ugly bigbrother type interface in Perl to replace the nagios frontpage (it links to the real nagios page for when you click on a detail line), so it's possible to do this too. I imagine it would be possible to extend this to show both BB and Nagios information on one page, though you'd have to be mad to want to do this :) Ewan > -----Original Message----- > From: Jens Kruse [mailto:jens.kruse at mobilcom.de] > Sent: 04 June 2003 12:36 > To: nagios-users-request at lists.sourceforge.net; Nagios Users > Subject: [Nagios-users] Presentation / BB-Nagios > > > Hi there, > > the small Linux Team (and me) just have been merged with our big Unix > Department. > > Monitoring on the Linux Machines has been done so far with > Nagios, the > monitoring of the Unix machines ist done with BB. > > I now have to do the following: > > * Make a presenation of Nagios for the Unix staff > * I have to find ways either to push Nagios results into BB or vv. > > My questions: > > 1. Does anyone have a slide show about Nagios (what ever format) and > could provide it to me? > > 2. Has anyone already had to do something with combining/integrating > BB/Nagios? Does it make sense? Are there any alternatives? > > Thanks for your comments and/or help, > > Jens > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed Jun 4 14:56:25 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 04 Jun 2003 07:56:25 -0500 Subject: Presentation / BB-Nagios In-Reply-To: <1012BD903945D411915500105A48FF5701C73008@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73008@nt.man.fwltech.com> Message-ID: <1054731385.4625.37.camel@localhost.localdomain> A while ago when we did our conversion from Spong (BB protocol) to Nagios, there was a gateway program that you would configure your client to send data to, and it would just "convert" it and dump it in as a passive check. Worked very slick. I can probably dig up a copy since I don't see it on the nagios website anymore. Let me know if interested, but it worked well, until we could get all the clients updated. Dan On Wed, 2003-06-04 at 07:50, Ewan Leith wrote: > We did some basic investigation of linking BB and Nagios, since we use BB > for monitoring our existing systems. We didn't get too far due to lack of > time, but essentially it seems that BigBrothers log files are too > disorganised to easily merge with Nagios, but it would definitely be > possible to alter most of the BigBrother plugins to report to Nagios their > results at the same time as they report them to BigBrother, and vice versa. > > To do it you would need to add a line to each bb plugin doing something > like: > > echo "$time;PROCESS_SERVICE_CHECK_RESULT TEMP; > ;;;\n" > > /usr/local/nagios/rw/nagios.cmd > > Since each of the values you need in that line is available in BigBrother > too if you keep the hostnames and descriptions the same, then you can quite > easily output it to Nagios. > > http://nagios.sourceforge.net/docs/1_0/extcommands.html has the detailed > information on how to do this. > > BigBrother has a similar idea, where you call "/usr/local/bb/bin/bb > $displayserver $LINE" where $displayserver is the hostname of the central BB > server, and $LINE is LINE="status $MACHINE.$TEST $COLOR `date`. If you call > that every 5minutes with your nagios service results it will appear on the > BB display and in the log files. > > I've also written a very simple and ugly bigbrother type interface in Perl > to replace the nagios frontpage (it links to the real nagios page for when > you click on a detail line), so it's possible to do this too. I imagine it > would be possible to extend this to show both BB and Nagios information on > one page, though you'd have to be mad to want to do this :) > > > Ewan > > > > -----Original Message----- > > From: Jens Kruse [mailto:jens.kruse at mobilcom.de] > > Sent: 04 June 2003 12:36 > > To: nagios-users-request at lists.sourceforge.net; Nagios Users > > Subject: [Nagios-users] Presentation / BB-Nagios > > > > > > Hi there, > > > > the small Linux Team (and me) just have been merged with our big Unix > > Department. > > > > Monitoring on the Linux Machines has been done so far with > > Nagios, the > > monitoring of the Unix machines ist done with BB. > > > > I now have to do the following: > > > > * Make a presenation of Nagios for the Unix staff > > * I have to find ways either to push Nagios results into BB or vv. > > > > My questions: > > > > 1. Does anyone have a slide show about Nagios (what ever format) and > > could provide it to me? > > > > 2. Has anyone already had to do something with combining/integrating > > BB/Nagios? Does it make sense? Are there any alternatives? > > > > Thanks for your comments and/or help, > > > > Jens ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 4 14:51:27 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 4 Jun 2003 22:51:27 +1000 Subject: Presentation / BB-Nagios In-Reply-To: <3EDDD990.6050301@mobilcom.de>; from jens.kruse@mobilcom.de on Wed, Jun 04, 2003 at 01:35:44PM +0200 References: <3EDDD990.6050301@mobilcom.de> Message-ID: <20030604225124.E229@IPAustralia.Gov.AU> Dear Sir, I am writing to say that I think BB can execute commands in response to events. If that is the case, then BB can send 'passive service check results' to Nag as outlined in the docco (using NCSA: see integrating with other software for worked examples of Nag collecting trap notifications from another host that is the focal point of traps [and runs snmptrapd]). As long as BB has some other means of accepting events from remote systems via either . a log watch check - use it to check the Nag log maybe exported with NFS or CIFS . direct injection by socket or file . what all the EMS's seem to looove (and in fact is HPOVs _only_ IPC method): SNMP traps Nags event handlers can probably signal BB also. HTH, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Wirtgen at miwi-dv.com Wed Jun 4 15:18:53 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Wed, 4 Jun 2003 15:18:53 +0200 Subject: Plugins for NRPE_NT available (Nice goodies) Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B42840A8@ws_server.intern.westernsystems.de> Hi all, just some more notes on this... - For some more information and an alternate download of nrpe_nt please look at http://www.miwi-dv.com/nrpent - Personally, I don't consider nrpe_nt to REPLACE nsclient, but to team-up to provide additional ways to monitor windows hosts with nagios. For a detailed discussion on this, look in the archives for Tim Shouldice post on the topic (archived also at http://support.tsmgsoftware.com/viewtopic.php?t=21 ) - I'm currently working on two additional plugins, I feel missing most: - check_service allow to check the state of service on either the local (nrpe_nt) or a remote windows host - check_process allow to check the state/instance-count of process on either the local (nrpe_nt) or a remote windows host Any comments are always appreciated cheers MiWi > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Tuesday, June 03, 2003 7:19 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Plugins for NRPE_NT available (Nice goodies) > > > Hi all, > > In the past there where a few questions on monitoring Windows > Server. There > was a question about the physical memory and a problem on > checking drive > space. I was working for the last few days on some plugins > for nrpe_nt and I > belive it has the potential to replace Nsclient. > > You can download the nrpe_nt daemon and the plugins from: > http://support.tsmgsoftware.com/ > > Following Plugins are available for immediately download: > > Check_dummy > Do I have tell you about it? > Check_cputime > Check_cputime is a plugin for nrpe_nt that returns the > used CPU time > in % > Check_ram > Check_ram is a plugin that will return the amount of > free physical > memory > Check_disk > Check_disk is a plugin that will return the Total, Free and Used > space in MB/GB And % of a given drive > Check_fileage > check_fileage is a plugin to check if a file has changed > > You don't need to install a separate language like perl to run these > scripts. They are written in VBS and use the WSH scripting > engine version > 5.6. The only thing you may have to do is to update your > scripting engine. > That's it... > > Script available but from other author: > Cpu.kix > Need's Kixstart and will return CPU type, speed and amount of > physical memory > > Regards, > Hagen Deike > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mriedel at neuearbeit.de Wed Jun 4 15:57:30 2003 From: mriedel at neuearbeit.de (Marko Riedel) Date: Wed, 4 Jun 2003 15:57:30 +0200 (CEST) Subject: compiling nsca 2.3 Message-ID: <16093.64202.792498.699111@linuxsexi.nasttg> Hello there, does anyone know what causes the following error message? make[1]: Entering directory `/usr/local/src/nsca-2.3/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl nsca.c netutils.c utils.c -o nsca nsca.c: In function `handle_connection_read': nsca.c:867: error: long, short, signed or unsigned used invalidly for `packet_crc32' make[1]: *** [nsca] Error 1 Setup is SuSE-8.2 libgcc-3.3-23 gcc-c++-3.3-23 gcc-3.3-23 This is not urgent, since I only needed the send_nsca client for this machine. Regards, -- +------------------------------------------------------------+ | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | | http://www.geocities.com/markoriedelde/index.html | +------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ozz at pobox.com Wed Jun 4 16:25:23 2003 From: ozz at pobox.com (ozz74) Date: 4 Jun 2003 14:25:23 -0000 Subject: check-ssh: what am I wrong? Message-ID: <20030604142523.770.qmail@pod-163.dolphin-server.co.uk> Hello, I've got a problem: this is my checkcommands.cfg: # 'check-ssh' command definition define command{ command_name check-ssh command_line $USER1$/check_ssh -t $ARG1$ -p $ARG2$ $HOSTADDRESS$ } This is the service definition in services.cfg: check_command check-ssh!1!222 This is the problem: Notification Type: PROBLEM Host: romeo State: DOWN Address: 10.0.1.34 Info: Timeout Interval must be an integer! The service on my host is up and running, but I receive this notification..and I don't know why... Anyone can help? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kuehne at sietec.de Wed Jun 4 16:53:29 2003 From: kuehne at sietec.de (Alex Kuehne) Date: Wed, 04 Jun 2003 16:53:29 +0200 Subject: Problems with embedded perl under Solaris 8 Message-ID: <3EDE07E9.20305@sietec.de> Hi, I can not find a solution for the following issue: (Nagios 1.1 w/ embedded perl, Solaris 8, Perl 5.6.1, gcc 2.95.3) mini_epn stops with error embedded perl plugin return code: 2. plugin output: (No output!) check_mysql.pl works fine from commandline with user nagios. The same occurs with plugin check_ntp, which is also a perl script. Any ideas on that? Regards, Alex Kuehne ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Wed Jun 4 17:10:20 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Wed, 4 Jun 2003 17:10:20 +0200 Subject: Check_service for nrpe_nt is available Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4598@serv-075.icon-germany.local> Hi all, You can download the check_service plugin for nrpe_nt at http://support.tsmgsoftware.com/viewforum.php?f=11 Regards, Hagen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.louafi at e-qual.fr Wed Jun 4 17:14:51 2003 From: sebastien.louafi at e-qual.fr (louafi) Date: Wed, 4 Jun 2003 17:14:51 +0200 Subject: CPU Load and scheduling queue In-Reply-To: <3EDDBE8C.9080205@datavis.se> References: <3EDDBE8C.9080205@datavis.se> Message-ID: <000c01c32aac$0bd3b070$6002a8c0@intranet.equal.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for your reply. I have tried service_reaper_frequency=3 and service_reaper_frequency=2. But i have again my problem. The execution is around 8 minutes late. I don't understand the scheduling is correct, the cpu load is not high but the check execution is not made at the scheduling time. Please help me. S?bastien LOUAFI Chef de projet Syst?me, R?seau et S?curit?. e-Qual - Avenue du Futuroscope - Arobase 2, T?l?port 1 86360 Chasseneuil du Poitou - FRANCE - -----Message d'origine----- De : Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Envoy? : mercredi 4 juin 2003 11:40 ? : louafi Cc : nagios-users at lists.sourceforge.net Objet : Re: RE : [Nagios-users] CPU Load and scheduling queue I had the same problem until I decreased the 'service_reaper_frequency' This is my config now: inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=50 service_reaper_frequency=3 Before I used default values and could end up with services being 'stuck' for several minutes, now my check Latency is 1,3,0.095 sec (min, max, avg) /FredrikW louafi wrote: > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > > > >>-----Message d'origine----- >>De : nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] >De la part de >>Subhendu Ghosh Envoy? : mardi 3 juin 2003 18:10 ? : >>nagios-users at lists.sourceforge.net >>Objet : Re: [Nagios-users] CPU Load and scheduling queue >> >> >>On Tue, 3 Jun 2003, louafi wrote: >> >> >> >>> >>>-----BEGIN PGP SIGNED MESSAGE----- >>>Hash: SHA1 >>> >>>Hi, >>> >>>I have a problem with my nagios. >>> >>>I have 1800 services on 130 hosts. >>> >>>All my services have the same configuration : >>> >>>define service{ >>> host_name 42.42.42.42 >>> service_description CPU:CPU_1 >>> check_command >>>check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public >>> max_check_attempts 4 >>> normal_check_interval 5 >>> retry_check_interval 5 >>> active_checks_enabled 1 >>> passive_checks_enabled 0 >>> check_period 24x7 >>> parallelize_check 1 >>> check_freshness 0 >>> flap_detection_enabled 0 >>> process_perf_data 1 >>> retain_status_information 1 >>> retain_nonstatus_information 1 >>> notification_interval 60 >>> notification_period 24X7 >>> notification_options w,c,r >>> notifications_enabled 0 >>> stalking_options o,w,u,c >>>} >>> >>>My nagios.cfg is : >>> >>> >>> >> >> >> >> >>>inter_check_delay_method=s >>>service_interleave_factor=s >>>max_concurrent_checks=10000 >>>service_reaper_frequency=10 >>>sleep_time=1 >>> >>> >> >> >> >> >>>My perfdata function enter the check result in RRD and in a mysql >>>database to generate statistics. >>> >>>Nagios schedules the check, but the check are not executed at the >>>scheduling time. For example a sheduled check at 9:42 is executed >>>at 9:55... My average CPU load is not high (load average: 2.27, >>>1.41, 1.18). >>> >>>My computer is a bi P3 1,26GHz >>> >>>I have tried inter_check_delay_method=0.01 without best result. >>>The schedule is different (more aggressive) but the check are >>>late. >>> >>>Any ideas ? Thanks a lot. >>> >>> >>> >>You are using a "smart" check interleave factor. That allows to >>Nagios to schedule the time of the actual check within a time >>boundary. It will not be the same interval every time, but >>close. >> >>Look at the docs for check interleave factor if you want precise >>control. >> >>-- >>-sg >> >> > >Thanks for your reply. >I disagree with you or i don't understand the link between my >problem and th check interleave factor. > >I don't have a problem with the scheduling, the check interleave >factor only affect scheduling and not scheduling execution. > >All my scheduling checks are not executed at the time indicated in >the Scheduling Queue. Nagios execute this queue with 5-8 minutes of >late. > >Thanks > > > >> >>------------------------------------------------------- >>This SF.net email is sponsored by: eBay >>Get office equipment for less on eBay! >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: PGPfreeware 7.0.3 for non-commercial use > > >iQA/AwUBPt2z1OL+f7HHv3GYEQKlCgCgzjsS6AJgcE5Txk4qhvsEHSraL/oAnAl+ >C5xkMqPftf8B1qAXc9whfpOF >=DWbX >-----END PGP SIGNATURE----- > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The >best thread debugger on the planet. Designed with thread debugging >features you've never dreamed of, try TotalView 6 free at >www.etnus.com. _______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPt4M6uL+f7HHv3GYEQK0igCgiNCu9V3duqpB0Fvx9TgRVwvE3/QAmwVF z9gbfySznX7LGibtCAPFqDHk =/qEC -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Wed Jun 4 17:23:39 2003 From: jasonp at iland.com (Jason Payne) Date: Wed, 4 Jun 2003 10:23:39 -0500 Subject: Strange Occurance In-Reply-To: <3EDDD990.6050301@mobilcom.de> References: <3EDDD990.6050301@mobilcom.de> Message-ID: A machine went down last night and notified me accordingly. However, this morning when it was brought back up it did not alert. I check out nagios and noticed that it hadn't even done a service check since when the status of the host had changed the night before. I had to force a service check in order for it to page me that it came back up. Very strange. It is setup just like any of my other machine, I hav ebeen running this for a year, and have never had a problem like this before. I was just curious to see if anyone else had seen this before. cfg files are listed below. The downed machine was pegasus, which is listed in the services.cfg in a list. I've never had a poblem with any of these other hosts going down and not notifying when they came back up. define service { host_name realitypublishing2,infomanagement,kshipgroup1,ksh ipgroup2,bondsafe,advancedreality,immix,atomicqube,pegasus,acadianmedia,real ityp ublishing1,immix2,distrdiag,certassoc,ericwalsh,satus,transmissioncenter,gap cons ulting,rumsonchina,web-d-zine,clayartcenter,corpcommunity,getgagaweb,cap5 service_description PING check_command check_ping!250.0,40%!500.0,60% use generic-service max_check_attempts 30 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options c,r contact_groups windows-admins } here's the hosts. It never check-host-alive(d) either, on the host. define host { host_name pegasus alias pegasus address *.*.*.* (omitted) register 1 use generic-host check_command check-host-alive max_check_attempts 20 notification_interval 480 notification_period 24x7 notification_options d,u,r parents c06.47 } Any ideas fellas? Anyone seen this? -Jason Payne ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jun 4 19:26:07 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 04 Jun 2003 14:26:07 -0300 Subject: Statusmap.cgi Message-ID: <20030604172608.14848.qmail@linuxmail.org> Sorry if I made a 'dumb' question. :o) I don't speak english (speak portuguese) and this is my third day with Nagios, and I think I've done a lot of stuff... When I said "how can I generate a statusmap.cgi file" I meant that the following is happening: when I click in the "Status Map" menu (web interface) I receive a error message ("Object not found! Error 404"). Everything is going fine, except this. Thanks again... Rivanor P. Soares [w3b_kn0ws] ----- Original Message ----- From: Fredrik_W?nglund Date: Wed, 04 Jun 2003 09:42:22 +0200 To: "Rivanor P. Soares" Subject: Re: [Nagios-users] Statusmap.cgi > Yes, Download the Nagios-source and compile. > > /FredrikW > > > Rivanor P. Soares wrote: > > >Hi all. > > > >I'm new to Nagios. > >I'd like to know how can I generate a statusmap.cgi file. > > > >Thanks in advance! > > > >[]'s > > > >-- > >Rivanor P. Soares > >[w3b_kn0ws] -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Wed Jun 4 20:03:02 2003 From: itamarf at pbh.gov.br (itamarf) Date: Wed, 04 Jun 2003 15:03:02 -0300 Subject: Use of check_mrtgtraf plugin Message-ID: <3EDE3456.80E1AC79@pbh.gov.br> Hi ! I am trying to use the command check_mrtgtraf in my nagios management system. I need some help to configure the *.cfg files. My configurations file are bellow. checkcommands.cfg file # 'check_mrtg_traf' command definition define command{ command_name check_mrtg_traf command_line $USER1$/check_mrtgtraf -F $LOGFILE$ -a $ARG1$ -w $ARG3$,$ARG4$ -c $ARG5$,$ARG6$ } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name prodabel-goias service_description TRAFEGO is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups circuito-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_mrtg_traf!10.0.24.1_7.log!MAX!200,210!225,230 The mrtg log file is /home/httpd/html/mrtg/10.0.24.1_7.log. The message that I get is Unable to open MRTG log file Thanks ! Best regards ! Itamar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at wells.vg Wed Jun 4 20:29:07 2003 From: matt at wells.vg (Mattw) Date: 4 Jun 2003 18:29:07 -0000 Subject: SQL Stats and Check_NT In-Reply-To: <20030411161110.21617.qmail@pod-163.dolphin-server.co.uk> References: <20030411161110.21617.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030604182907.21253.qmail@pod-163.dolphin-server.co.uk> Have you gotten any info on this? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Wed Jun 4 20:58:13 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 04 Jun 2003 14:58:13 -0400 Subject: Negate Function Message-ID: <5.1.0.14.0.20030604145651.00b52670@pop.icnet.com.ve> Hi, I want to use the negate function for negate the plugin output, but I don?t know how to use that? Anybody can help me? Thanks Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarbas.Junior at planalto.gov.br Wed Jun 4 20:36:29 2003 From: Jarbas.Junior at planalto.gov.br (Jarbas Peixoto Junior) Date: Wed, 4 Jun 2003 15:36:29 -0300 Subject: RES: Statusmap.cgi Message-ID: -----Mensagem original----- De: Rivanor P. Soares [mailto:rivanor at linuxmail.org] Enviada em: quarta-feira, 4 de junho de 2003 14:26 Para: fredrik.wanglund at datavis.se Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Statusmap.cgi Sorry if I made a 'dumb' question. :o) Todas as perguntas n?o s?o "tolas". I don't speak english (speak portuguese) and this is my third day with Nagios, and I think I've done a lot of stuff... Eu tamb?m n?o falo ingl?s (falo Portugu?s) e tenho +/- 8 meses de experi?ncia com o Nagios (instala??o/configura??o na Previd?ncia Social). When I said "how can I generate a statusmap.cgi file" I meant that the following is happening: when I click in the "Status Map" menu (web interface) I receive a error message ("Object not found! Error 404"). Everything is going fine, except this. Entendi sua pergunta, quando clica no Menu "Status Map" aparece um erro. Bom, quando instalei o Nagios tamb?m tive alguns problemas. Criei um grupo para discuss?o para instala??o/configura??o do Nagios em L?ngua Portuguesa (Brasil). Se tiver interesse em participar (o grupo ainda n?o tem participantes - somente 3 pessoas inscritas e nenhuma pergunta ainda) me mande um e-mail com suas expectativas sobre o Nagios que lhe repasso maiores detalhes. http://br.groups.yahoo.com/group/nagios-br/ _ ______________________________ _ / )| Jarbas Peixoto J?nior |( \ / / | Analista T?c. Informa??o | \ \ _( (_ | _ (0xx61) 411-2561 _ | _) )_ (((\ \)|_/ )______________________( \_|(/ /))) (\ \ \_/ / \ \_/ ////) \ \\ / \ // / \ _/ COORDENADOR DO ITI \_ / / / \ \ /___/ ??? \___\ (o o) ----------------------------oOO-(_)-OOo----------------------------- Instituto Nacional de Tecnologia de Informa??o - ITI Casa Civil da Presid?ncia da Rep?blica Explanada dos Minist?rios - Pal?cio da Planalto - Anexo IV CNPJ 04039532/0001-93 CEP 70-150-900 Eu ap?io o Software Livre LinuxUser: 198445 Thanks again... Rivanor P. Soares [w3b_kn0ws] ----- Original Message ----- From: Fredrik_W?nglund Date: Wed, 04 Jun 2003 09:42:22 +0200 To: "Rivanor P. Soares" Subject: Re: [Nagios-users] Statusmap.cgi > Yes, Download the Nagios-source and compile. > > /FredrikW > > > Rivanor P. Soares wrote: > > >Hi all. > > > >I'm new to Nagios. > >I'd like to know how can I generate a statusmap.cgi file. > > > >Thanks in advance! > > > >[]'s > > > >-- > >Rivanor P. Soares > >[w3b_kn0ws] -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarbas.Junior at planalto.gov.br Wed Jun 4 20:52:20 2003 From: Jarbas.Junior at planalto.gov.br (Jarbas Peixoto Junior) Date: Wed, 4 Jun 2003 15:52:20 -0300 Subject: RES: Use of check_mrtgtraf plugin Message-ID: Itamar, a mensagem est? aparentemente clara: o usu?rio "nagios" (que normalmente roda Nagios) n?o est? conseguindo abrir o arquivo de log. Fa?a um teste: 1) logue-se como nagios (su - nagios) 2) tente acessar o arquivo de log (cat /home/httpd/html/mrtg/10.0.24.1_7.log) Parece ser problema com a permiss?o dos aquivos/diret?rios []s -----Mensagem original----- De: itamarf [mailto:itamarf at pbh.gov.br] Enviada em: quarta-feira, 4 de junho de 2003 15:03 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Use of check_mrtgtraf plugin Hi ! I am trying to use the command check_mrtgtraf in my nagios management system. I need some help to configure the *.cfg files. My configurations file are bellow. checkcommands.cfg file # 'check_mrtg_traf' command definition define command{ command_name check_mrtg_traf command_line $USER1$/check_mrtgtraf -F $LOGFILE$ -a $ARG1$ -w $ARG3$,$ARG4$ -c $ARG5$,$ARG6$ } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name prodabel-goias service_description TRAFEGO is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups circuito-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_mrtg_traf!10.0.24.1_7.log!MAX!200,210!225,230 The mrtg log file is /home/httpd/html/mrtg/10.0.24.1_7.log. The message that I get is Unable to open MRTG log file Thanks ! Best regards ! Itamar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From itamarf at pbh.gov.br Wed Jun 4 21:30:11 2003 From: itamarf at pbh.gov.br (itamarf) Date: Wed, 04 Jun 2003 16:30:11 -0300 Subject: Use of check_mrtgtraf plugin Message-ID: <3EDE48C2.F51F1DFD@pbh.gov.br> Hi ! now, I am trying to use the command check_mrtgtraf in my nagios management system. I need some help to configure the *.cfg files. My configurations file are bellow. checkcommands.cfg file # 'check_mrtg_traf' command definition define command{ command_name check_mrtg_traf command_line $USER1$/check_mrtgtraf -F /home/httpd/html/mrtg/$LOGFILE$ -a $ARG1$ -w $ARG3$,$ARG4$ -c $ARG5$,$ARG6$ } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name prodabel-goias service_description TRAFEGO is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups circuito-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_mrtg_traf!10.0.24.1_7.log!MAX!200,210!225,230 The mrtg log file is /home/httpd/html/mrtg/10.0.24.1_7.log. The message that I get is Unable to open MRTG log file Thanks ! Best regards ! Itamar. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 4 22:57:38 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 5 Jun 2003 06:57:38 +1000 Subject: Port to Cgywin In-Reply-To: <20030603134912.13326.qmail@pod-163.dolphin-server.co.uk>; from matthewl@loftusitns.co.uk on Tue, Jun 03, 2003 at 01:49:12PM -0000 References: <20030603134912.13326.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030605065733.A231@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your question and say, On Tue, Jun 03, 2003 at 01:49:12PM -0000, sysreq wrote: > > First off, please don't flame me. > I know Windows isn't everybodies kettle of fish, but I work for a MS house so I have to use it. > > I'm not asking for support on this I was just wondering if the programmers out there culd answer this question: > > Is there any reason why Nagios shouldn't compile on Cgywin running on a windows platform? > If it fails to build after you run configure with the --enable-cygwin option (see configure --help), please post the last 10 lines or so of compiler output, the Cygwin version and the gcc version. Perhaps someone will be able to deal with it. Cygwin looks pretty good to me: if I was stuck with an MS Win desktop I would be using it for the tools (Perl, ssh, bc, not to mention a Unix window manager, a decent shell, access to CIFS shares) but I haven't tried to build Nag on it. MinGw (SourceForge ?) may also be another option for you. 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 4 23:17:40 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 5 Jun 2003 07:17:40 +1000 Subject: Problems with embedded perl under Solaris 8 In-Reply-To: <3EDE07E9.20305@sietec.de>; from kuehne@sietec.de on Wed, Jun 04, 2003 at 04:53:29PM +0200 References: <3EDE07E9.20305@sietec.de> Message-ID: <20030605071737.B231@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Jun 04, 2003 at 04:53:29PM +0200, Alex Kuehne wrote: > Hi, > > I can not find a solution for the following issue: > > (Nagios 1.1 w/ embedded perl, Solaris 8, Perl 5.6.1, gcc 2.95.3) > > mini_epn stops with error > > (perhaps you forgot to load "Embed::check_5fmysql"?) at p1.pl line 133. > > > embedded perl plugin return code: 2. plugin output: (No output!) > that I think this is mini_epn's way of telling you that the plugin is not coded with sufficient rigour to run properly under an embedded Perl interpreter. Unfortunately, syntactically correct Perl programs do _not_ necessarily run under embedded Perl Nag (ePN). > check_mysql.pl works fine from commandline with user nagios. The same > occurs with plugin check_ntp, which is also a perl script. > Likewise, I think. You can make sure that utils.pm is in the same directory as mini_epn and if not, try it again with check_ntp. Otherwise, your options are 1 Have a look at the Nag docco for ePN to get some hints about Perl coding for ePN and correct the plugin. 2 Wait for someone else to try and do so. check_ntp doesn't look as if it has any obvious problems; neither does check_mysql (and it doesn't need utils.pm). In anycase, mini_epn _should_ provide some more feedback on plugin compilation failures (this is what is happening here: the plugin once it is turned into the subroutine named hndlr by p1.pl sub hndlr { my @parms = @_ ; # plugin text } doesn't compile ). > Any ideas on that? > > Regards, > Alex Kuehne 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jun 4 23:27:03 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 4 Jun 2003 16:27:03 -0500 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? Message-ID: Yeah, that's what I ended up doing to 'fix' the problem. I did a diff on the 1.0 and 1.1 versions of tac.c, but can't see much (other than the change of a /* to a */, which I know could make a world of difference). jc > -----Original Message----- > From: George Paschos [mailto:paschos at cosmoline.com] > Sent: Wednesday, June 04, 2003 1:31 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > > I have the same behavior. > To get over it I just used the 1.0 version of tac.cgi without any > problems (yet..) > > Regards, > george > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > john.barro at shaw.ca > Sent: Wednesday, June 04, 2003 3:27 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > Importance: Low > > I experience the same results after installing Nagios 1.1 on my Redhat > 7.3 system. I was previously running version 1.0 which did not > experience that symptom. I did not examine any directories nor was I > going to worry about it as I figured it may have been user initiated. > > John > > ----- Original Message ----- > From: "Carroll, Jim P [Contractor]" > Date: Tuesday, June 3, 2003 5:35 pm > Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > Greets all, > > > > I installed Nagios 1.1 today, and noticed a slight > > cosmetic change. I don't think this was intentional. > > I examined what's in the ../sbin directory, and all > > the .cgi files have a timestamp from 10:48am this morning. > > > > I took a screencap (see attached). Take a look at the > > mid-screen, under "Services". It lists "26 Critical", > > but spans all 5 table colums, leaving Warning, Unknown, > > Ok and Pending pushed off to the side. > > > > Am I the only one experiencing this? > > > > (In case you noticed it, yes, I've still got the Authenticate > > tweak in the sidebar. I reinstated it after making a backup > > copy of that file and comparing it to the 1.0 version. > > Otherwise, all the .html and .cgi files which should have been > > installed appear to be there, thanks to the "make install" > > after compilation.) > > > > If I've managed to fat-finger something, let me know. :) > > > > jc > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralph at mail.Gerstmann.Net Thu Jun 5 00:34:51 2003 From: ralph at mail.Gerstmann.Net (ralph at mail.Gerstmann.Net) Date: Thu, 5 Jun 2003 00:34:51 +0200 (CEST) Subject: Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. Message-ID: <2962.217.0.81.23.1054766091.squirrel@gerstmann.net> Hi Ethan, Hi Ian, (Hi Community,) Thx a lot for providing the best GPL System Monitoring Tools i ever saw. Just to notice: I have lots of experience with this subject. I would love to bring the 2 best Solutions together: Cacti for handling Web-Based, Template Based RRD-Configuration and Nagios for best Alarming and History Features. Are you interrested? What I actually need: Web-Based configuration of RRDs (like in cacti) with an add-on to set alarming-thresholds, which are then sent to nagios for alaming. Or an even better integration of your Tools. The Problem is: Both of your Projects come with their own polling-machine. I can understand pretty well, that its no fun giving up an own code one has written and established. On the other hand, if we marry your great Tools, this would give them a drive, IBM Tivoli will be afaid of, like M$ is (qualified) afaid of Linux... Any Ideas? Cheers, Ralph http://Gerstmann.Com?language=e http://GPLshop.Com (not really translated, yet) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. From marek.dohojda at linksys.com Thu Jun 5 00:49:35 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Wed, 4 Jun 2003 15:49:35 -0700 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036F0C@mail2.hq.linksys.com> Actually I wouldn't suggest using cacti for this. It's a very nice tool, there is no question about it, but it has some weaknesses, that make it perfect for network traffic, not so good for others. If you ant to do this, I would suggest concentrating on Nagios, writing an interface or plugging for it (something akin to APAN) using rrdtool, and probably mysql backend. This way you can display whatever you like to do. Which wouldn't be all that bad, because the availability report could use a little bit of perl magic. -----Original Message----- From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] Sent: Wednesday, June 04, 2003 3:35 PM To: nagios at nagios.org; iberry at raxnet.net Cc: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net; cacti-user at lists.sourceforge.net Hi Ethan, Hi Ian, (Hi Community,) Thx a lot for providing the best GPL System Monitoring Tools i ever saw. Just to notice: I have lots of experience with this subject. I would love to bring the 2 best Solutions together: Cacti for handling Web-Based, Template Based RRD-Configuration and Nagios for best Alarming and History Features. Are you interrested? What I actually need: Web-Based configuration of RRDs (like in cacti) with an add-on to set alarming-thresholds, which are then sent to nagios for alaming. Or an even better integration of your Tools. The Problem is: Both of your Projects come with their own polling-machine. I can understand pretty well, that its no fun giving up an own code one has written and established. On the other hand, if we marry your great Tools, this would give them a drive, IBM Tivoli will be afaid of, like M$ is (qualified) afaid of Linux... Any Ideas? Cheers, Ralph http://Gerstmann.Com?language=e http://GPLshop.Com (not really translated, yet) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Thu Jun 5 01:35:40 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Wed, 4 Jun 2003 16:35:40 -0700 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036F0E@mail2.hq.linksys.com> Not sure what you mean by this. I mean would you want Nagios to poll the data in RRD? Sorry long day and I was stuck in Windows hell, lost at least 50 iq points hehe -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, June 04, 2003 4:26 PM To: Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net nagios should poll the retrieved RRD's ----- Original Message ----- From: "Marek Dohojda" To: Cc: Sent: Thursday, June 05, 2003 10:49 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Actually > > I wouldn't suggest using cacti for this. It's a very nice tool, there > is no > question about it, but it has some weaknesses, that make it perfect > for network traffic, not so good for others. > > If you ant to do this, I would suggest concentrating on Nagios, > writing an interface or plugging for it (something akin to APAN) using > rrdtool, and probably mysql backend. This way you can display whatever you like to do. > > Which wouldn't be all that bad, because the availability report could > use a > little bit of perl magic. > > > > > -----Original Message----- > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > Sent: Wednesday, June 04, 2003 3:35 PM > To: nagios at nagios.org; iberry at raxnet.net > Cc: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net; > cacti-user at lists.sourceforge.net > > Hi Ethan, > Hi Ian, > (Hi Community,) > > Thx a lot for providing the best GPL > System Monitoring Tools i ever saw. > > Just to notice: > I have lots of experience with this subject. > > I would love to bring the 2 best Solutions together: > Cacti for handling Web-Based, Template Based RRD-Configuration and > Nagios for best Alarming and History Features. > > Are you interrested? > > What I actually need: > Web-Based configuration of RRDs (like in cacti) with an add-on to set > alarming-thresholds, which are then sent to nagios for alaming. > Or an even better integration of your Tools. > > The Problem is: > Both of your Projects come with their own polling-machine. > > I can understand pretty well, that its no fun giving up an own code > one has > written and established. > > On the other hand, > if we marry your great Tools, > this would give them a drive, > IBM Tivoli will be afaid of, > like M$ is (qualified) afaid of Linux... > > Any Ideas? > > Cheers, > Ralph > > http://Gerstmann.Com?language=e > http://GPLshop.Com (not really translated, yet) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > best thread debugger on the planet. Designed with thread debugging > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > best thread debugger on the planet. Designed with thread debugging > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 01:26:28 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 5 Jun 2003 11:26:28 +1200 Subject: Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. References: <202FFF2E883FC640B0E12B88EA98FD37036F0C@mail2.hq.linksys.com> Message-ID: <005301c32af0$bad90bd0$b58031ca@bcl977307> nagios should poll the retrieved RRD's ----- Original Message ----- From: "Marek Dohojda" To: Cc: Sent: Thursday, June 05, 2003 10:49 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Actually > > I wouldn't suggest using cacti for this. It's a very nice tool, there is no > question about it, but it has some weaknesses, that make it perfect for > network traffic, not so good for others. > > If you ant to do this, I would suggest concentrating on Nagios, writing an > interface or plugging for it (something akin to APAN) using rrdtool, and > probably mysql backend. This way you can display whatever you like to do. > > Which wouldn't be all that bad, because the availability report could use a > little bit of perl magic. > > > > > -----Original Message----- > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > Sent: Wednesday, June 04, 2003 3:35 PM > To: nagios at nagios.org; iberry at raxnet.net > Cc: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net; > cacti-user at lists.sourceforge.net > > Hi Ethan, > Hi Ian, > (Hi Community,) > > Thx a lot for providing the best GPL > System Monitoring Tools i ever saw. > > Just to notice: > I have lots of experience with this subject. > > I would love to bring the 2 best Solutions together: > Cacti for handling Web-Based, Template Based RRD-Configuration and Nagios > for best Alarming and History Features. > > Are you interrested? > > What I actually need: > Web-Based configuration of RRDs (like in cacti) with an add-on to set > alarming-thresholds, which are then sent to nagios for alaming. > Or an even better integration of your Tools. > > The Problem is: > Both of your Projects come with their own polling-machine. > > I can understand pretty well, that its no fun giving up an own code one has > written and established. > > On the other hand, > if we marry your great Tools, > this would give them a drive, > IBM Tivoli will be afaid of, > like M$ is (qualified) afaid of Linux... > > Any Ideas? > > Cheers, > Ralph > > http://Gerstmann.Com?language=e > http://GPLshop.Com (not really translated, yet) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 01:46:26 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 5 Jun 2003 11:46:26 +1200 Subject: Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. References: <202FFF2E883FC640B0E12B88EA98FD37036F0E@mail2.hq.linksys.com> Message-ID: <005c01c32af3$846e0c50$b58031ca@bcl977307> from time to time this debate comes up. It usually devolves into everyones favorite implementation of a RRDtool front-end. I am not above this. I prefer Cricket. Some people prefer using APAN. APAN is cool. Cricket is cool. I don't know cacti. Inevitably these seem to be arguments about front-ends. If Nagios polled the backend (rrd) then we would avoid having arguments about cacti vs cricket vs APAN etc. Then everyone would have their preferred method sorted. see here for a gmane based thread. http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E jamie ----- Original Message ----- From: "Marek Dohojda" To: "'Jamie Baddeley'" ; "Marek Dohojda" ; Cc: Sent: Thursday, June 05, 2003 11:35 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Not sure what you mean by this. I mean would you want Nagios to poll the > data in RRD? > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq points > hehe > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:26 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > > nagios should poll the retrieved RRD's > > > ----- Original Message ----- > From: "Marek Dohojda" > To: > Cc: > Sent: Thursday, June 05, 2003 10:49 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > > Actually > > > > I wouldn't suggest using cacti for this. It's a very nice tool, there > > is > no > > question about it, but it has some weaknesses, that make it perfect > > for network traffic, not so good for others. > > > > If you ant to do this, I would suggest concentrating on Nagios, > > writing an interface or plugging for it (something akin to APAN) using > > rrdtool, and probably mysql backend. This way you can display whatever > you like to do. > > > > Which wouldn't be all that bad, because the availability report could > > use > a > > little bit of perl magic. > > > > > > > > > > -----Original Message----- > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > Sent: Wednesday, June 04, 2003 3:35 PM > > To: nagios at nagios.org; iberry at raxnet.net > > Cc: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > > cacti-user at lists.sourceforge.net > > > > Hi Ethan, > > Hi Ian, > > (Hi Community,) > > > > Thx a lot for providing the best GPL > > System Monitoring Tools i ever saw. > > > > Just to notice: > > I have lots of experience with this subject. > > > > I would love to bring the 2 best Solutions together: > > Cacti for handling Web-Based, Template Based RRD-Configuration and > > Nagios for best Alarming and History Features. > > > > Are you interrested? > > > > What I actually need: > > Web-Based configuration of RRDs (like in cacti) with an add-on to set > > alarming-thresholds, which are then sent to nagios for alaming. > > Or an even better integration of your Tools. > > > > The Problem is: > > Both of your Projects come with their own polling-machine. > > > > I can understand pretty well, that its no fun giving up an own code > > one > has > > written and established. > > > > On the other hand, > > if we marry your great Tools, > > this would give them a drive, > > IBM Tivoli will be afaid of, > > like M$ is (qualified) afaid of Linux... > > > > Any Ideas? > > > > Cheers, > > Ralph > > > > http://Gerstmann.Com?language=e > > http://GPLshop.Com (not really translated, yet) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Thu Jun 5 01:54:16 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Wed, 4 Jun 2003 16:54:16 -0700 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036F10@mail2.hq.linksys.com> That's actually what I was eluding to below in my response. I don't believe the front end is what is needed. The backend. Once you have either mysql or native rra database, you can do magic. The actual front end doesn't matter all that much. It would be relatively trivial to put that together. Once the backend is all squared away. What I would like to do (and one day may write) is to have Nagios be center piece (and beautiful it is) collecting all information into a database. This information would be then sorted and stored in db. From that point on with Perl and PHP write a interface that graphs and allows management type to see all the pretty UHHH AHHH graphs that seem to make their day. With this you could have graphs for almost every darn lil' thing you want, especially if at the same time you include Snort graphs as well as Ulog iptables accounting. All in one nice package. -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, June 04, 2003 4:46 PM To: Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net from time to time this debate comes up. It usually devolves into everyones favorite implementation of a RRDtool front-end. I am not above this. I prefer Cricket. Some people prefer using APAN. APAN is cool. Cricket is cool. I don't know cacti. Inevitably these seem to be arguments about front-ends. If Nagios polled the backend (rrd) then we would avoid having arguments about cacti vs cricket vs APAN etc. Then everyone would have their preferred method sorted. see here for a gmane based thread. http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E jamie ----- Original Message ----- From: "Marek Dohojda" To: "'Jamie Baddeley'" ; "Marek Dohojda" ; Cc: Sent: Thursday, June 05, 2003 11:35 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Not sure what you mean by this. I mean would you want Nagios to poll > the data in RRD? > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > points hehe > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:26 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > > nagios should poll the retrieved RRD's > > ----- Original Message ----- > From: "Marek Dohojda" > To: > Cc: > Sent: Thursday, June 05, 2003 10:49 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > > Actually > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > there is > no > > question about it, but it has some weaknesses, that make it perfect > > for network traffic, not so good for others. > > > > If you ant to do this, I would suggest concentrating on Nagios, > > writing an interface or plugging for it (something akin to APAN) > > using rrdtool, and probably mysql backend. This way you can display > > whatever > you like to do. > > > > Which wouldn't be all that bad, because the availability report > > could use > a > > little bit of perl magic. > > > > > > > > > > -----Original Message----- > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > Sent: Wednesday, June 04, 2003 3:35 PM > > To: nagios at nagios.org; iberry at raxnet.net > > Cc: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > > cacti-user at lists.sourceforge.net > > > > Hi Ethan, > > Hi Ian, > > (Hi Community,) > > > > Thx a lot for providing the best GPL System Monitoring Tools i ever > > saw. > > > > Just to notice: > > I have lots of experience with this subject. > > > > I would love to bring the 2 best Solutions together: > > Cacti for handling Web-Based, Template Based RRD-Configuration and > > Nagios for best Alarming and History Features. > > > > Are you interrested? > > > > What I actually need: > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > set alarming-thresholds, which are then sent to nagios for alaming. > > Or an even better integration of your Tools. > > > > The Problem is: > > Both of your Projects come with their own polling-machine. > > > > I can understand pretty well, that its no fun giving up an own code > > one > has > > written and established. > > > > On the other hand, > > if we marry your great Tools, > > this would give them a drive, > > IBM Tivoli will be afaid of, > > like M$ is (qualified) afaid of Linux... > > > > Any Ideas? > > > > Cheers, > > Ralph > > > > http://Gerstmann.Com?language=e > > http://GPLshop.Com (not really translated, yet) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 5 06:14:16 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 05 Jun 2003 00:14:16 -0400 Subject: Negate Function In-Reply-To: <5.1.0.14.0.20030604145651.00b52670@pop.icnet.com.ve> References: <5.1.0.14.0.20030604145651.00b52670@pop.icnet.com.ve> Message-ID: <1054786456.31834.12.camel@miles.debisschop.net> On Wed, 2003-06-04 at 14:58, Jeyri Bautista wrote: > Hi, > > I want to use the negate function for negate the plugin output, but I don?t > know how to use that? > > Anybody can help me? negate /usr/lib/nagios/plugins/check_http www.example.com Note that there is a bug in 1.3.0, where you cannot use negate /usr/lib/nagios/plugins/check_http -H www.example.com The bug is fixed in CVS, and that fixed is due to be put in a formal release early next week. Also, like all the plugins, there is a --help option. > Thanks > > Jeyri Bautista > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Thu Jun 5 08:59:59 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 05 Jun 2003 08:59:59 +0200 Subject: Statusmap.cgi References: <20030604172608.14848.qmail@linuxmail.org> Message-ID: <3EDEEA6F.1040302@datavis.se> Is the file in nagios sbin-directory? If not, go back to the source, run configure and check the output. You are probably missing devel-support for either gd- jpg- or png-images. /FredrikW Rivanor P. Soares wrote: >Sorry if I made a 'dumb' question. :o) >I don't speak english (speak portuguese) and this is my third day with Nagios, and I think I've done a lot of stuff... > >When I said "how can I generate a statusmap.cgi file" I meant that the following is happening: when I click in the "Status Map" menu (web interface) I receive a error message ("Object not found! Error 404"). Everything is going fine, except this. > >Thanks again... > >Rivanor P. Soares >[w3b_kn0ws] > >----- Original Message ----- >From: Fredrik_W?nglund >Date: Wed, 04 Jun 2003 09:42:22 +0200 >To: "Rivanor P. Soares" >Subject: Re: [Nagios-users] Statusmap.cgi > > > >>Yes, Download the Nagios-source and compile. >> >>/FredrikW >> >> >>Rivanor P. Soares wrote: >> >> >> >>>Hi all. >>> >>>I'm new to Nagios. >>>I'd like to know how can I generate a statusmap.cgi file. >>> >>>Thanks in advance! >>> >>>[]'s >>> >>>-- >>>Rivanor P. Soares >>>[w3b_kn0ws] >>> >>> ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Thu Jun 5 09:57:54 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Thu, 5 Jun 2003 15:57:54 +0800 Subject: upgrade nagios1.0 to nagios1.1 Message-ID: how and what is the step ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DMaehl at ecclesia.de Thu Jun 5 09:50:00 2003 From: DMaehl at ecclesia.de (DMaehl at ecclesia.de) Date: Thu, 5 Jun 2003 09:50:00 +0200 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? Message-ID: Hi, i've encountered the same problem with earlier cvs-builds and now also with 1.1. After examining the cvs it seems, that the bug is already fixed in later revisions. But here is a simple workaround: uncomment the 2 lines 1224 and 1225 (simply remove /* in line 1223 and */ in line 1226) and recompile nagios. then just copy the newly generated tac.cgi over your existing 1.1-tac.cgi. Hope this is understandable. I'm not a C-geek but fortunately the affected code almost only deals with html-rendering so it wasn't such a big problem. Dominik Maehl Ecclesia Gruppe dmaehl at ecclesia.de ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Fernandez at mci.com Thu Jun 5 09:37:53 2003 From: Terry.Fernandez at mci.com (Terry) Date: 5 Jun 2003 07:37:53 -0000 Subject: Statusmap.cgi In-Reply-To: <3EDDA2DE.2040300@datavis.se> References: <3EDDA2DE.2040300@datavis.se> Message-ID: <20030605073753.17533.qmail@pod-163.dolphin-server.co.uk> if you look in your libex folder, the statusmap.cgi most probably will not be there. However you will find in your source statusmap.c. I have the same issue and reading through some of the past posts, it appears the the issue is with not having compiled the GD library prior to compiling nagios. Hope this helps. So like the previous gentleman mentioned, you will need to recompile. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brunorodriguez at canal21.com Thu Jun 5 10:24:14 2003 From: brunorodriguez at canal21.com (Bruno Rodriguez) Date: Thu, 5 Jun 2003 10:24:14 +0200 Subject: NSClient - Division by Zero problems In-Reply-To: <200305271027.38520.roy@karlsbakk.net> References: <200305271027.38520.roy@karlsbakk.net> Message-ID: <00c001c32b3b$d998cb00$287f08d4@brodriguez> Hello, I've just installed the NSClient package in one of my w2k machines. When I try to execute a check_nt command to check CPU load, I get the following error : c21linux:/usr/local/nagios/libexec# ./check_nt -H xxx.xxx.xxx.xxx -p 1248 -v CPULOAD -l 10,80,95,60,80,95,1440,80,95 NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 And on my w2k BOX I get a "division by zero" error on the event log. The box has w2k sp1. Other options like checking disk occupation seem to work fine. ?any clue? Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Thu Jun 5 10:18:42 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 05 Jun 2003 10:18:42 +0200 Subject: Negate Function In-Reply-To: <5.1.0.14.0.20030604145651.00b52670@pop.icnet.com.ve> References: <5.1.0.14.0.20030604145651.00b52670@pop.icnet.com.ve> Message-ID: <3EDEFCE2.7040606@loria.fr> Jeyri Bautista wrote: > Hi, > > I want to use the negate function for negate the plugin output, but I > don?t know how to use that? > > Anybody can help me? try this kind of things : $USER1$/negate -t 20 '$USER1$/check_nrpe -H jeyri -c check_procs -a 0 9 lpd' > > > Thanks > > Jeyri Bautista -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 5 11:02:25 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 5 Jun 2003 10:02:25 +0100 Subject: NSClient - Division by Zero problems Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513794@jessica.herefordshire.gov.uk> Try using this version of NSClient: http://support.tsmgsoftware.com/viewtopic.php?t=38 You'll need the updated check_nt on your Nagios box too. Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Bruno Rodriguez [mailto:brunorodriguez at canal21.com] > Sent: 05 June 2003 09:24 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient - Division by Zero problems > > > Hello, > > I've just installed the NSClient package in one of my w2k > machines. When I > try to execute a check_nt command to check CPU load, I get > the following > error : > > c21linux:/usr/local/nagios/libexec# ./check_nt -H > xxx.xxx.xxx.xxx -p 1248 -v > CPULOAD -l 10,80,95,60,80,95,1440,80,95 > NSClient - ERROR:Malformed request or internal error. Check > EventLog:None&2&10 > > And on my w2k BOX I get a "division by zero" error on the > event log. The box > has w2k sp1. > > Other options like checking disk occupation seem to work fine. > > ?any clue? > > Thanks! > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brunorodriguez at canal21.com Thu Jun 5 11:19:52 2003 From: brunorodriguez at canal21.com (Bruno Rodriguez) Date: Thu, 5 Jun 2003 11:19:52 +0200 Subject: NSClient - Division by Zero problems In-Reply-To: <0EBC45FCABFC95428EBFC3A51B368C95513794@jessica.herefordshire.gov.uk> References: <0EBC45FCABFC95428EBFC3A51B368C95513794@jessica.herefordshire.gov.uk> Message-ID: <00c701c32b43$9f359d00$287f08d4@brodriguez> Hello, I've just updated, but no luck, I still get the same error :(. Bruno > -----Mensaje original----- > De: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Enviado el: jueves, 05 de junio de 2003 11:02 > Para: 'Bruno Rodriguez'; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] NSClient - Division by Zero problems > > > Try using this version of NSClient: > > http://support.tsmgsoftware.com/viewtopic.php?t=38 > > You'll need the updated check_nt on your Nagios box too. > > Cheers, > > Phil > > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: Bruno Rodriguez [mailto:brunorodriguez at canal21.com] > > Sent: 05 June 2003 09:24 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSClient - Division by Zero problems > > > > > > Hello, > > > > I've just installed the NSClient package in one of my w2k > > machines. When I > > try to execute a check_nt command to check CPU load, I get > > the following > > error : > > > > c21linux:/usr/local/nagios/libexec# ./check_nt -H > > xxx.xxx.xxx.xxx -p 1248 -v > > CPULOAD -l 10,80,95,60,80,95,1440,80,95 > > NSClient - ERROR:Malformed request or internal error. Check > > EventLog:None&2&10 > > > > And on my w2k BOX I get a "division by zero" error on the > > event log. The box > > has w2k sp1. > > > > Other options like checking disk occupation seem to work fine. > > > > ?any clue? > > > > Thanks! > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of > > TotalView, The best > > thread debugger on the planet. Designed with thread > debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 5 11:46:41 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 5 Jun 2003 10:46:41 +0100 Subject: NSClient - Division by Zero problems Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513795@jessica.herefordshire.gov.uk> You'll need to search the list archives then. There was a discussion about this a few weeks back. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Bruno Rodriguez [mailto:brunorodriguez at canal21.com] > Sent: 05 June 2003 10:20 > To: 'Randal, Phil'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSClient - Division by Zero problems > > > Hello, > > I've just updated, but no luck, I still get the same error :(. > > Bruno > > > -----Mensaje original----- > > De: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > > Enviado el: jueves, 05 de junio de 2003 11:02 > > Para: 'Bruno Rodriguez'; nagios-users at lists.sourceforge.net > > Asunto: RE: [Nagios-users] NSClient - Division by Zero problems > > > > > > Try using this version of NSClient: > > > > http://support.tsmgsoftware.com/viewtopic.php?t=38 > > > > You'll need the updated check_nt on your Nagios box too. > > > > Cheers, > > > > Phil > > > > --------------------------------------------- > > Phil Randal > > Network Engineer > > Herefordshire Council > > Hereford, UK > > > > > -----Original Message----- > > > From: Bruno Rodriguez [mailto:brunorodriguez at canal21.com] > > > Sent: 05 June 2003 09:24 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] NSClient - Division by Zero problems > > > > > > > > > Hello, > > > > > > I've just installed the NSClient package in one of my w2k > > > machines. When I > > > try to execute a check_nt command to check CPU load, I get > > > the following > > > error : > > > > > > c21linux:/usr/local/nagios/libexec# ./check_nt -H > > > xxx.xxx.xxx.xxx -p 1248 -v > > > CPULOAD -l 10,80,95,60,80,95,1440,80,95 > > > NSClient - ERROR:Malformed request or internal error. Check > > > EventLog:None&2&10 > > > > > > And on my w2k BOX I get a "division by zero" error on the > > > event log. The box > > > has w2k sp1. > > > > > > Other options like checking disk occupation seem to work fine. > > > > > > ?any clue? > > > > > > Thanks! > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > > > TotalView, The best > > > thread debugger on the planet. Designed with thread > > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Thu Jun 5 13:19:25 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Thu, 5 Jun 2003 13:19:25 +0200 Subject: Nagios check_log help Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAF08@rijpat-s-346.europe.shell.com> Hello Could some body please help me with this plugin, and explain what the proper command line arguments should be. The documentations says: Usage: check_log -F logfile -O oldlog -q query Usage: check_log --help Usage: check_log --version i presume -F is the log file I want to check, and -q is the string I am searching the log for. I have tried #./check_log -F test_log -q WARNING this just goves the following error ./check_log: test: argument expected. what is the -O for old log?? I only have 1 log file, is the -O necessary? the documentation for this plugin is very brief. Help Apreciated Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefmit at comcast.net Thu Jun 5 14:45:13 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 5 Jun 2003 08:45:13 -0400 Subject: [1/2OT]Adding services to services.cfg (apan) Message-ID: <200306050845.13787.stefmit@comcast.net> Trying to run apan - have run into some issues (sorry for posting here, but the apan list seems to be less "talkative" ;)). Here are the two most pressing questions I have: 1. Does anybody have a pointer to the graph.png file? Does not appear to be in the latest apan tarball ... now, writing this, I realized I have not checked the older versions, still available on their site ... I'll probably do that, also ... 2. Attempting to add services (by following the apan docs), in services.cfg, following the format: # from apan docs define service { use generic-service host_name bcn service_description Net-usage check_command apan!snmpget!10!20 normal_check_interval 1 } leads to: root at ntwrkmgmt:/etc/nagios # nagios -v ./nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Net-usage' on host 'bcn' Error: Could not register service (config file '/etc/nagios/services.cfg', line 182) NOTES: a. The generic-service is the one delivered with services.cfg - nothing out of ordinary there. b. I have already defined the command apan in the checkcommands.cfg. Anybody kind enough to enlighten me about the above error? TIA, Stef ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Thu Jun 5 14:59:06 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 5 Jun 2003 08:59:06 -0400 Subject: [1/2OT]Adding services to services.cfg (apan) - follow-up Message-ID: <200306050859.06619.stefmit@comcast.net> Sorry for the previous posting. Have just discovered (by trial and error :)) that I need to fill in ALL fields as defined in the generic-service, for the new one to be accepted. Once I changed: define service { use generic-service host_name bcn service_description Net-usage check_command apan!snmpget!10!20 normal_check_interval 1 } to: define service { use generic-service host_name bcn service_description Net-usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups w2k-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command apan!snmpget!10!20 } no more complaints from #nagios -v ./nagios.cfg Now on to trying to make it work ;) Sorry for jumping the gun so fast ;) Stef ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu Jun 5 13:58:32 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 5 Jun 2003 07:58:32 -0400 Subject: Nagios check_log help Message-ID: <2E3E9736615DD311895D00105A9CADED014BCD20@eentsvr40.ehvert.com> Yes the -O is necessary for the script to keep track of where it left off. The plugin is a perl script. From the in-script comments: # Description: # # This plugin will scan a log file (specified by the option) # for a specific pattern (specified by the option). Successive # calls to the plugin script will only report *new* pattern matches in the # log file, since an copy of the log file from the previous run is saved # to . # # Output: # # On the first run of the plugin, it will return an OK state with a message # of "Log check data initialized". On successive runs, it will return an OK # state if *no* pattern matches have been found in the *difference* between the # log file and the older copy of the log file. If the plugin detects any # pattern matches in the log diff, it will return a CRITICAL state and print # out a message is the following format: "(x) last_match", where "x" is the # total number of pattern matches found in the file and "last_match" is the # last entry in the log file which matches the pattern. # # Notes: # # If you use this plugin make sure to keep the following in mind: # # 1. The "max_attempts" value for the service should be 1, as this # will prevent Nagios from retrying the service check (the # next time the check is run it will not produce the same results). # # 2. The "notify_recovery" value for the service should be 0, so that # Nagios does not notify you of "recoveries" for the check. Since # pattern matches in the log file will only be reported once and not # the next time, there will always be "recoveries" for the service, even # though recoveries really don't apply to this type of check. # # 3. You *must* supply a different for each service that # you define to use this plugin script - even if the different services # check the same for pattern matches. This is necessary # because of the way the script operates. -----Original Message----- From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] Sent: June 5, 2003 7:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios check_log help Hello Could some body please help me with this plugin, and explain what the proper command line arguments should be. The documentations says: Usage: check_log -F logfile -O oldlog -q query Usage: check_log --help Usage: check_log --version i presume -F is the log file I want to check, and -q is the string I am searching the log for. I have tried #./check_log -F test_log -q WARNING this just goves the following error ./check_log: test: argument expected. what is the -O for old log?? I only have 1 log file, is the -O necessary? the documentation for this plugin is very brief. Help Apreciated Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.lambooy at narmida.com Thu Jun 5 15:15:35 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Thu, 5 Jun 2003 15:15:35 +0200 Subject: SMTP relay check In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCD20@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCD20@eentsvr40.ehvert.com> Message-ID: <000701c32b64$8dbdb550$a52efea9@roestbak> Hiya, Is there a way to check if a smtp server is relaying or not would be a very nice feature.. Maybe more advanced options like for wich domain and ip range etc I cant make it, but somebody can on the mailing ;-)> Let me know if this would be a nice feature... Regards, Patrick Lambooy Technical Director Narmida B.V. Tel: 0172-442250 Fax: 0172-600989 Email: p.lambooy at narmida.com Website: http://www.narmida.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Patrick Lambooy (p.lambooy at narmida.com).vcf Type: text/x-vcard Size: 526 bytes Desc: not available URL: From fredrik.wanglund at datavis.se Thu Jun 5 15:10:47 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 05 Jun 2003 15:10:47 +0200 Subject: [1/2OT]Adding services to services.cfg (apan) - follow-up References: <200306050859.06619.stefmit@comcast.net> Message-ID: <3EDF4157.4040200@datavis.se> The purpose of templates (generic-service) is that all parameters should be defined there and only in the service if it differs from the template. This way the length of the object-definitions will be very short and nice. /FredrikW stefmit wrote: >Sorry for the previous posting. Have just discovered (by trial and error :)) >that I need to fill in ALL fields as defined in the generic-service, for the >new one to be accepted. Once I changed: > >define service { > use generic-service > host_name bcn > service_description Net-usage > check_command apan!snmpget!10!20 > normal_check_interval 1 >} > >to: > >define service { > use generic-service > host_name bcn > service_description Net-usage > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups w2k-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command apan!snmpget!10!20 >} > >no more complaints from #nagios -v ./nagios.cfg > >Now on to trying to make it work ;) > >Sorry for jumping the gun so fast ;) > >Stef > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Thu Jun 5 14:24:22 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Thu, 5 Jun 2003 14:24:22 +0200 Subject: Nagios check_log help Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAF0A@rijpat-s-346.europe.shell.com> Thanks for the extra info, i see how it should work now, but when i try ./check_log -F test -O test_log_tmp -q WARNING I get the same error ./check_log: test: argument expected I have also tried with full path names. the test log file, just contains random lines, with one line reading WARNING does anyone know what im doing wrong? Thanks Stuart -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: 05 June 2003 13:59 To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios check_log help Yes the -O is necessary for the script to keep track of where it left off. The plugin is a perl script. From the in-script comments: # Description: # # This plugin will scan a log file (specified by the option) # for a specific pattern (specified by the option). Successive # calls to the plugin script will only report *new* pattern matches in the # log file, since an copy of the log file from the previous run is saved # to . # # Output: # # On the first run of the plugin, it will return an OK state with a message # of "Log check data initialized". On successive runs, it will return an OK # state if *no* pattern matches have been found in the *difference* between the # log file and the older copy of the log file. If the plugin detects any # pattern matches in the log diff, it will return a CRITICAL state and print # out a message is the following format: "(x) last_match", where "x" is the # total number of pattern matches found in the file and "last_match" is the # last entry in the log file which matches the pattern. # # Notes: # # If you use this plugin make sure to keep the following in mind: # # 1. The "max_attempts" value for the service should be 1, as this # will prevent Nagios from retrying the service check (the # next time the check is run it will not produce the same results). # # 2. The "notify_recovery" value for the service should be 0, so that # Nagios does not notify you of "recoveries" for the check. Since # pattern matches in the log file will only be reported once and not # the next time, there will always be "recoveries" for the service, even # though recoveries really don't apply to this type of check. # # 3. You *must* supply a different for each service that # you define to use this plugin script - even if the different services # check the same for pattern matches. This is necessary # because of the way the script operates. -----Original Message----- From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] Sent: June 5, 2003 7:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios check_log help Hello Could some body please help me with this plugin, and explain what the proper command line arguments should be. The documentations says: Usage: check_log -F logfile -O oldlog -q query Usage: check_log --help Usage: check_log --version i presume -F is the log file I want to check, and -q is the string I am searching the log for. I have tried #./check_log -F test_log -q WARNING this just goves the following error ./check_log: test: argument expected. what is the -O for old log?? I only have 1 log file, is the -O necessary? the documentation for this plugin is very brief. Help Apreciated Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Thu Jun 5 15:08:41 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 05 Jun 2003 09:08:41 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20notification?= =?ISO-8859-1?Q?=20of=20system=20reboots?= Message-ID: Where do you find that file? Alex >>> Subhendu Ghosh 03/06/03 16h11 >>> On Tue, 3 Jun 2003, Chandler A. Collins wrote: Have you tried contrib/check_uptime? It probably needs a bit of tweaking with the new library structure. > > Hello, > > I'm trying to find the best way to get notified anytime a system reboots. > > Essentially, I have about 70 boxes being monitored, and I need to know > anytime one of them reboots. Every box also has NRPE installed, and I'm > monitoring various services on those systems. Right now, Nagios is > setup to notify administrators if a particular service has a problem for > 15 minutes (max_check_attempts = 3, normal_check_interval = 5, > retry_check_interval = 5). That obviously won't work for a reboot, > which under normal circumstances will take much less than 15 minutes, in > which case we won't even know about it. > > Does anyone have any ideas about the best way of doing this so that I'm > not notified about transient issues, but I am notified if the system > genuinely reboots? > > Thanks! > > Chandler Collins > Have you tried contrib/check_uptime? It probably needs a bit of tweaking with the new library structure. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Thu Jun 5 17:01:01 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 5 Jun 2003 11:01:01 -0400 Subject: [1/2OT]Adding services to services.cfg (apan) - follow-up In-Reply-To: <3EDF4157.4040200@datavis.se> References: <200306050859.06619.stefmit@comcast.net> <3EDF4157.4040200@datavis.se> Message-ID: <200306051101.01484.stefmit@comcast.net> If I understand you right, then this contradicts what I just had to do, doesn't it? Because it looks like I still had to define all fields, otherwise the newly defined service won't be accepted (#nagios -v ./nagios.cfg compplaints/results from my previous posting). Stef On Thursday 05 June 2003 09:10 am, Fredrik W?nglund wrote: > The purpose of templates (generic-service) is that all parameters should > be defined there and only in > the service if it differs from the template. This way the length of the > object-definitions will be very > short and nice. > > > /FredrikW > > stefmit wrote: > >Sorry for the previous posting. Have just discovered (by trial and error > > :)) that I need to fill in ALL fields as defined in the generic-service, > > for the new one to be accepted. Once I changed: > > > >define service { > > use generic-service > > host_name bcn > > service_description Net-usage > > check_command apan!snmpget!10!20 > > normal_check_interval 1 > >} > > > >to: > > > >define service { > > use generic-service > > host_name bcn > > service_description Net-usage > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups w2k-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command apan!snmpget!10!20 > >} > > > >no more complaints from #nagios -v ./nagios.cfg > > > >Now on to trying to make it work ;) > > > >Sorry for jumping the gun so fast ;) > > > >Stef > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Etnus, makers of TotalView, The best > >thread debugger on the planet. Designed with thread debugging features > >you've never dreamed of, try TotalView 6 free at www.etnus.com. > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brunorodriguez at canal21.com Thu Jun 5 16:12:17 2003 From: brunorodriguez at canal21.com (Bruno Rodriguez) Date: Thu, 5 Jun 2003 16:12:17 +0200 Subject: NSClient - Division by Zero problems In-Reply-To: <00c701c32b43$9f359d00$287f08d4@brodriguez> References: <00c701c32b43$9f359d00$287f08d4@brodriguez> Message-ID: <000001c32b6c$7958c930$287f08d4@brodriguez> Hello, The problem was with the configuration of the "counters.def" file. I fixed it adding the following lines under the "spanish" config : W2K_SystemTotalProcessorTime = "\Procesador(_Total)\% tiempo de procesador" W2K_SystemSystemUpTime = "\Sistema\Tiempo de actividad del sistema" W2K_MemoryCommitLimit = "\Memoria\L?mite comprometido" W2K_MemoryCommitByte = "\Memoria\Bytes comprometidos" Thank you for your clues! Bruno > -----Mensaje original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] En nombre > de Bruno Rodriguez > Enviado el: jueves, 05 de junio de 2003 11:20 > Para: 'Randal, Phil'; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] NSClient - Division by Zero problems > > > Hello, > > I've just updated, but no luck, I still get the same error :(. > > Bruno > > > -----Mensaje original----- > > De: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > > Enviado el: jueves, 05 de junio de 2003 11:02 > > Para: 'Bruno Rodriguez'; nagios-users at lists.sourceforge.net > > Asunto: RE: [Nagios-users] NSClient - Division by Zero problems > > > > > > Try using this version of NSClient: > > > > http://support.tsmgsoftware.com/viewtopic.php?t=38 > > > > You'll need the updated check_nt on your Nagios box too. > > > > Cheers, > > > > Phil > > > > --------------------------------------------- > > Phil Randal > > Network Engineer > > Herefordshire Council > > Hereford, UK > > > > > -----Original Message----- > > > From: Bruno Rodriguez [mailto:brunorodriguez at canal21.com] > > > Sent: 05 June 2003 09:24 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] NSClient - Division by Zero problems > > > > > > > > > Hello, > > > > > > I've just installed the NSClient package in one of my w2k > machines. > > > When I try to execute a check_nt command to check CPU load, I get > > > the following > > > error : > > > > > > c21linux:/usr/local/nagios/libexec# ./check_nt -H > xxx.xxx.xxx.xxx -p > > > 1248 -v CPULOAD -l 10,80,95,60,80,95,1440,80,95 > > > NSClient - ERROR:Malformed request or internal error. Check > > > EventLog:None&2&10 > > > > > > And on my w2k BOX I get a "division by zero" error on the > event log. > > > The box has w2k sp1. > > > > > > Other options like checking disk occupation seem to work fine. > > > > > > ?any clue? > > > > > > Thanks! > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > TotalView, The > > > best thread debugger on the planet. Designed with thread > > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of > TotalView, The best thread debugger on the planet. Designed > with thread debugging features you've never dreamed of, try > TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Thu Jun 5 16:03:52 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Thu, 5 Jun 2003 09:03:52 -0500 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: <5D8D9455134FD211AE4900A0C9DED11E0AFDDB89@indy1ntm.herffjones.hj-int> Ok, so what's so hard about that? All you need is a simple rrdtool plugin then, right? Plugin only has to check for staleness of the data and return it if it's not stale. With the exception of ping time (which, btw, cacti gets wrong on redhat7.2 and later - those are microseconds, not milliseconds) the type of data I would typically put into rrdtool isn't the kind of data that nagios is monitoring. I use nagios to monitor availability; I use mrtg/rrdtool to monitor performance. For all I know there may already be an rrdtool plugin for nagios - if there isn't, it seems like it would be a simple ten minute project. -- Trever -----Original Message----- From: Marek Dohojda [mailto:marek.dohojda at linksys.com] Sent: Wednesday, June 04, 2003 6:54 PM To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. That's actually what I was eluding to below in my response. I don't believe the front end is what is needed. The backend. Once you have either mysql or native rra database, you can do magic. The actual front end doesn't matter all that much. It would be relatively trivial to put that together. Once the backend is all squared away. What I would like to do (and one day may write) is to have Nagios be center piece (and beautiful it is) collecting all information into a database. This information would be then sorted and stored in db. From that point on with Perl and PHP write a interface that graphs and allows management type to see all the pretty UHHH AHHH graphs that seem to make their day. With this you could have graphs for almost every darn lil' thing you want, especially if at the same time you include Snort graphs as well as Ulog iptables accounting. All in one nice package. -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, June 04, 2003 4:46 PM To: Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net from time to time this debate comes up. It usually devolves into everyones favorite implementation of a RRDtool front-end. I am not above this. I prefer Cricket. Some people prefer using APAN. APAN is cool. Cricket is cool. I don't know cacti. Inevitably these seem to be arguments about front-ends. If Nagios polled the backend (rrd) then we would avoid having arguments about cacti vs cricket vs APAN etc. Then everyone would have their preferred method sorted. see here for a gmane based thread. http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E jamie ----- Original Message ----- From: "Marek Dohojda" To: "'Jamie Baddeley'" ; "Marek Dohojda" ; Cc: Sent: Thursday, June 05, 2003 11:35 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Not sure what you mean by this. I mean would you want Nagios to poll > the data in RRD? > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > points hehe > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:26 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > > nagios should poll the retrieved RRD's > > ----- Original Message ----- > From: "Marek Dohojda" > To: > Cc: > Sent: Thursday, June 05, 2003 10:49 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > > Actually > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > there is > no > > question about it, but it has some weaknesses, that make it perfect > > for network traffic, not so good for others. > > > > If you ant to do this, I would suggest concentrating on Nagios, > > writing an interface or plugging for it (something akin to APAN) > > using rrdtool, and probably mysql backend. This way you can display > > whatever > you like to do. > > > > Which wouldn't be all that bad, because the availability report > > could use > a > > little bit of perl magic. > > > > > > > > > > -----Original Message----- > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > Sent: Wednesday, June 04, 2003 3:35 PM > > To: nagios at nagios.org; iberry at raxnet.net > > Cc: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > > cacti-user at lists.sourceforge.net > > > > Hi Ethan, > > Hi Ian, > > (Hi Community,) > > > > Thx a lot for providing the best GPL System Monitoring Tools i ever > > saw. > > > > Just to notice: > > I have lots of experience with this subject. > > > > I would love to bring the 2 best Solutions together: > > Cacti for handling Web-Based, Template Based RRD-Configuration and > > Nagios for best Alarming and History Features. > > > > Are you interrested? > > > > What I actually need: > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > set alarming-thresholds, which are then sent to nagios for alaming. > > Or an even better integration of your Tools. > > > > The Problem is: > > Both of your Projects come with their own polling-machine. > > > > I can understand pretty well, that its no fun giving up an own code > > one > has > > written and established. > > > > On the other hand, > > if we marry your great Tools, > > this would give them a drive, > > IBM Tivoli will be afaid of, > > like M$ is (qualified) afaid of Linux... > > > > Any Ideas? > > > > Cheers, > > Ralph > > > > http://Gerstmann.Com?language=e > > http://GPLshop.Com (not really translated, yet) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkothandan at yahoo.com Thu Jun 5 16:14:52 2003 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Thu, 5 Jun 2003 07:14:52 -0700 (PDT) Subject: Disk space check in sun/hp Message-ID: <20030605141452.33862.qmail@web40403.mail.yahoo.com> Dear sir How to check sun sparc and hp system disk space now aim getting this error In Hp Status is WARNING Status Information is Disk "/dev/vg00/data1" not mounted or nonexistant In Sun solaris Satatus is UNKNOWN Status Information is Usage: with regards koths --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM). -------------- next part -------------- An HTML attachment was scrubbed... URL: From ehults at paydata.com Thu Jun 5 17:29:36 2003 From: ehults at paydata.com (Bill Hults) Date: Thu, 5 Jun 2003 11:29:36 -0400 Subject: Install problem Message-ID: Hi I'm working on a new install of Nagios. I'm working on RH7.3 w/Apache 1.3.27. I've installed Nagios from source & the plugins from RPM. The startup check returns 0 errors. I have the web interface working with authentication but the hosts show up with "(Return code of 126 is out of bounds - plugin may be missing)" messages. I can't find anything specific to this return code in the archives though there is a FAQ about the generic issue. The plugins are in /usr/lib/nogias/plugins & I have set that path for $USER1$. Nagios is in /usr/local/nagios with cgi.cfg & nagios.cfg in ../etc. The other config files are in /etc/nagios with the appropriate pointers in nagios.cfg. The Tactical Overview page shows a warning that the monitering process is not running which suggests that the check_nagios plugin suffers from the same problem. When I start Nagios from inet.d it starts and gives a message "This account is currently not available". I'm running Nagios as apache & the nagios start script shows that user. Any thoughts? TIA Bill Hults This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Thu Jun 5 17:31:58 2003 From: drich at employees.org (Daniel Rich) Date: Thu, 05 Jun 2003 08:31:58 -0700 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. In-Reply-To: <5D8D9455134FD211AE4900A0C9DED11E0AFDDB89@indy1ntm.herffjones.hj-int> References: <5D8D9455134FD211AE4900A0C9DED11E0AFDDB89@indy1ntm.herffjones.hj-int> Message-ID: <3EDF626E.4010502@employees.org> I've cobbled together a check_cricket script that should work with any rrd database. I figured that since I'm polling everything with cricket anyway I could offload the SNMP traffic by just looking at what I already have in the rrd files. I've attached the script if anyone is interested, and below is an example of the configuration. The one thing that is cricket specific is the DS index instead of a DS name. I decided to do that since cricket uses fixed DS names instead of allowing the user to specify the DS name. Someday I may update this to parse the cricket config so you could just specify a name, but don't hold your breath... :) define command{ command_name check_cricket command_line $USER1$/check_cricket_data -R /var/cricket/cricket-data$ARG1$ -i $ARG2$ -w $ARG3$ -c $ARG4$ } define service{ ... host_name switch-1 contact_groups switch-admins check_command check_cricket!/Switches/switch-1/switch-1.rrd!1!50!80 } Furnish, Trever G wrote: > Ok, so what's so hard about that? All you need is a simple rrdtool plugin > then, right? Plugin only has to check for staleness of the data and return > it if it's not stale. With the exception of ping time (which, btw, cacti > gets wrong on redhat7.2 and later - those are microseconds, not > milliseconds) the type of data I would typically put into rrdtool isn't the > kind of data that nagios is monitoring. I use nagios to monitor > availability; I use mrtg/rrdtool to monitor performance. > > For all I know there may already be an rrdtool plugin for nagios - if there > isn't, it seems like it would be a simple ten minute project. > > -- > Trever > > -----Original Message----- > From: Marek Dohojda [mailto:marek.dohojda at linksys.com] > Sent: Wednesday, June 04, 2003 6:54 PM > To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get > ton s of mails/day, please read the, nevertheless. > > > That's actually what I was eluding to below in my response. I don't believe > the front end is what is needed. The backend. Once you have either mysql > or native rra database, you can do magic. > > The actual front end doesn't matter all that much. It would be relatively > trivial to put that together. Once the backend is all squared away. > > What I would like to do (and one day may write) is to have Nagios be center > piece (and beautiful it is) collecting all information into a database. > This information would be then sorted and stored in db. From that point on > with Perl and PHP write a interface that graphs and allows management type > to see all the pretty UHHH AHHH graphs that seem to make their day. > > With this you could have graphs for almost every darn lil' thing you want, > especially if at the same time you include Snort graphs as well as Ulog > iptables accounting. > > All in one nice package. > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:46 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > from time to time this debate comes up. It usually devolves into everyones > favorite implementation of a RRDtool front-end. > > I am not above this. I prefer Cricket. Some people prefer using APAN. APAN > is cool. Cricket is cool. I don't know cacti. > > Inevitably these seem to be arguments about front-ends. If Nagios polled the > backend (rrd) then we would avoid having arguments about cacti vs cricket vs > APAN etc. Then everyone would have their preferred method sorted. > > see here for a gmane based thread. > http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C > Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E > > http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C > C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E > > > jamie > > ----- Original Message ----- > From: "Marek Dohojda" > To: "'Jamie Baddeley'" ; "Marek Dohojda" > ; > Cc: > Sent: Thursday, June 05, 2003 11:35 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > >>Not sure what you mean by this. I mean would you want Nagios to poll >>the data in RRD? >> >>Sorry long day and I was stuck in Windows hell, lost at least 50 iq >>points hehe >> >> >>-----Original Message----- >>From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] >>Sent: Wednesday, June 04, 2003 4:26 PM >>To: Marek Dohojda; ralph at mail.Gerstmann.Net >>Cc: nagios-users at lists.sourceforge.net >> >> >>nagios should poll the retrieved RRD's >> >>----- Original Message ----- >>From: "Marek Dohojda" >>To: >>Cc: >>Sent: Thursday, June 05, 2003 10:49 AM >>Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get > > tons > >>of mails/day, please read the, nevertheless. >> >> >> >>>Actually >>> >>>I wouldn't suggest using cacti for this. It's a very nice tool, >>>there is >> >>no >> >>>question about it, but it has some weaknesses, that make it perfect >>>for network traffic, not so good for others. >>> >>>If you ant to do this, I would suggest concentrating on Nagios, >>>writing an interface or plugging for it (something akin to APAN) >>>using rrdtool, and probably mysql backend. This way you can display >>>whatever >> >>you like to do. >> >>>Which wouldn't be all that bad, because the availability report >>>could use >> >>a >> >>>little bit of perl magic. >>> >>> >>> >>> >>>-----Original Message----- >>>From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] >>>Sent: Wednesday, June 04, 2003 3:35 PM >>>To: nagios at nagios.org; iberry at raxnet.net >>>Cc: nagios-users at lists.sourceforge.net; >> >>nagios-devel at lists.sourceforge.net; >> >>>cacti-user at lists.sourceforge.net >>> >>>Hi Ethan, >>>Hi Ian, >>>(Hi Community,) >>> >>>Thx a lot for providing the best GPL System Monitoring Tools i ever >>>saw. >>> >>>Just to notice: >>>I have lots of experience with this subject. >>> >>>I would love to bring the 2 best Solutions together: >>>Cacti for handling Web-Based, Template Based RRD-Configuration and >>>Nagios for best Alarming and History Features. >>> >>>Are you interrested? >>> >>>What I actually need: >>>Web-Based configuration of RRDs (like in cacti) with an add-on to >>>set alarming-thresholds, which are then sent to nagios for alaming. >>>Or an even better integration of your Tools. >>> >>>The Problem is: >>>Both of your Projects come with their own polling-machine. >>> >>>I can understand pretty well, that its no fun giving up an own code >>>one >> >>has >> >>>written and established. >>> >>>On the other hand, >>>if we marry your great Tools, >>>this would give them a drive, >>>IBM Tivoli will be afaid of, >>>like M$ is (qualified) afaid of Linux... >>> >>>Any Ideas? >>> >>>Cheers, >>>Ralph >>> >>>http://Gerstmann.Com?language=e >>>http://GPLshop.Com (not really translated, yet) >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: Etnus, makers of TotalView, The >>>best thread debugger on the planet. Designed with thread debugging >>>features you've never dreamed of, try TotalView 6 free at www.etnus.com. >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, 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: Etnus, makers of TotalView, The >>>best thread debugger on the planet. Designed with thread debugging >>>features you've never dreamed of, try TotalView 6 free at www.etnus.com. >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, 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: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_cricket_data URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jcarro10 at sprintspectrum.com Thu Jun 5 17:46:37 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 5 Jun 2003 10:46:37 -0500 Subject: Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. Message-ID: This sounds very similar to what I've suggested in the past, ie, using: - PHP - MySQL - JpGraph However, Stanley Hopcroft countered with some extremely persuasive arguments favouring the use of RRDs instead. Do the 2 options need to be mutually exclusive? Not at all. If someone builds it, they will come, and all that. And Ralph? If you *really* want Ethan to drop everything for a period of time to do the integration you're looking for, I'm sure he would be open to negotiation. Just bring a check. Put a "1" at the beginning of the dollar amount, and start writing zeros after it. He'll let you know when to stop. ;) jc > -----Original Message----- > From: Marek Dohojda [mailto:marek.dohojda at linksys.com] > Sent: Wednesday, June 04, 2003 6:54 PM > To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get > tons of mails/day, please read the, nevertheless. > > > That's actually what I was eluding to below in my response. > I don't believe > the front end is what is needed. The backend. Once you have > either mysql > or native rra database, you can do magic. > > The actual front end doesn't matter all that much. It would > be relatively > trivial to put that together. Once the backend is all squared away. > > What I would like to do (and one day may write) is to have > Nagios be center > piece (and beautiful it is) collecting all information into a > database. > This information would be then sorted and stored in db. From > that point on > with Perl and PHP write a interface that graphs and allows > management type > to see all the pretty UHHH AHHH graphs that seem to make their day. > > With this you could have graphs for almost every darn lil' > thing you want, > especially if at the same time you include Snort graphs as > well as Ulog > iptables accounting. > > All in one nice package. > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:46 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > from time to time this debate comes up. It usually devolves > into everyones > favorite implementation of a RRDtool front-end. > > I am not above this. I prefer Cricket. Some people prefer > using APAN. APAN > is cool. Cricket is cool. I don't know cacti. > > Inevitably these seem to be arguments about front-ends. If > Nagios polled the > backend (rrd) then we would avoid having arguments about > cacti vs cricket vs > APAN etc. Then everyone would have their preferred method sorted. > > see here for a gmane based thread. > http://news.gmane.org/onethread.php?group=gmane.network.nagios > .user&root=%3C > Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E > > http://news.gmane.org/onethread.php?group=gmane.network.nagios > .user&root=%3C > C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E > > > jamie > > ----- Original Message ----- > From: "Marek Dohojda" > To: "'Jamie Baddeley'" ; "Marek Dohojda" > ; > Cc: > Sent: Thursday, June 05, 2003 11:35 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you > must get tons > of mails/day, please read the, nevertheless. > > > > Not sure what you mean by this. I mean would you want > Nagios to poll > > the data in RRD? > > > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > > points hehe > > > > > > -----Original Message----- > > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > > Sent: Wednesday, June 04, 2003 4:26 PM > > To: Marek Dohojda; ralph at mail.Gerstmann.Net > > Cc: nagios-users at lists.sourceforge.net > > > > > > nagios should poll the retrieved RRD's > > > > ----- Original Message ----- > > From: "Marek Dohojda" > > To: > > Cc: > > Sent: Thursday, June 05, 2003 10:49 AM > > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know > you must get > tons > > of mails/day, please read the, nevertheless. > > > > > > > Actually > > > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > > there is > > no > > > question about it, but it has some weaknesses, that make > it perfect > > > for network traffic, not so good for others. > > > > > > If you ant to do this, I would suggest concentrating on Nagios, > > > writing an interface or plugging for it (something akin to APAN) > > > using rrdtool, and probably mysql backend. This way you > can display > > > whatever > > you like to do. > > > > > > Which wouldn't be all that bad, because the availability report > > > could use > > a > > > little bit of perl magic. > > > > > > > > > > > > > > > -----Original Message----- > > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > > Sent: Wednesday, June 04, 2003 3:35 PM > > > To: nagios at nagios.org; iberry at raxnet.net > > > Cc: nagios-users at lists.sourceforge.net; > > nagios-devel at lists.sourceforge.net; > > > cacti-user at lists.sourceforge.net > > > > > > Hi Ethan, > > > Hi Ian, > > > (Hi Community,) > > > > > > Thx a lot for providing the best GPL System Monitoring > Tools i ever > > > saw. > > > > > > Just to notice: > > > I have lots of experience with this subject. > > > > > > I would love to bring the 2 best Solutions together: > > > Cacti for handling Web-Based, Template Based > RRD-Configuration and > > > Nagios for best Alarming and History Features. > > > > > > Are you interrested? > > > > > > What I actually need: > > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > > set alarming-thresholds, which are then sent to nagios > for alaming. > > > Or an even better integration of your Tools. > > > > > > The Problem is: > > > Both of your Projects come with their own polling-machine. > > > > > > I can understand pretty well, that its no fun giving up > an own code > > > one > > has > > > written and established. > > > > > > On the other hand, > > > if we marry your great Tools, > > > this would give them a drive, > > > IBM Tivoli will be afaid of, > > > like M$ is (qualified) afaid of Linux... > > > > > > Any Ideas? > > > > > > Cheers, > > > Ralph > > > > > > http://Gerstmann.Com?language=e > > > http://GPLshop.Com (not really translated, yet) > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > TotalView, The > > > best thread debugger on the planet. Designed with thread > debugging > > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Jun 5 17:33:34 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 5 Jun 2003 17:33:34 +0200 (CEST) Subject: Problem with MsSql Message-ID: <20030605153334.80133.qmail@web10902.mail.yahoo.com> Hello, I want to be able to check connections to Ms SQL 7 and 2000 server. I have unsuccessfully tested the check_mssql.sh script coming from Tom DE BLENDE. I have installed sqsh and freetds. All servers i can test on are without pass...maybe this is the problem. Or is somebody having any suggestions ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 5 17:56:29 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 5 Jun 2003 10:56:29 -0500 Subject: Nagios check_log help Message-ID: Personally, I use check_log2.pl from the contrib directory. jc -----Original Message----- From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] Sent: Thursday, June 05, 2003 6:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios check_log help Hello Could some body please help me with this plugin, and explain what the proper command line arguments should be. The documentations says: Usage: check_log -F logfile -O oldlog -q query Usage: check_log --help Usage: check_log --version i presume -F is the log file I want to check, and -q is the string I am searching the log for. I have tried #./check_log -F test_log -q WARNING this just goves the following error ./check_log: test: argument expected. what is the -O for old log?? I only have 1 log file, is the -O necessary? the documentation for this plugin is very brief. Help Apreciated Stuart ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 5 18:00:32 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 5 Jun 2003 11:00:32 -0500 Subject: SMTP relay check Message-ID: I'm not sure I understand what you're trying to accomplish here. Do you actually have to check a particular MTA which seems to relay most of the time, then for no apparent reason stops relaying (and that you'd like to be paged out on this at 3:00am)? Or are you looking for a tool/utility which can check arbitrary MTAs on the Internet to see whether they're relaying or not? If the latter, I think you're on the wrong mailing list. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Thursday, June 05, 2003 8:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMTP relay check Hiya, Is there a way to check if a smtp server is relaying or not would be a very nice feature.... Maybe more advanced options like for wich domain and ip range etc I cant make it, but somebody can on the mailing ;-)> Let me know if this would be a nice feature..... Regards, Patrick Lambooy Technical Director Narmida B.V. Tel: 0172-442250 Fax: 0172-600989 Email: p.lambooy at narmida.com Website: http://www.narmida.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Thu Jun 5 18:03:33 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Thu, 5 Jun 2003 09:03:33 -0700 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036F18@mail2.hq.linksys.com> Nobody said it be hard... Just need time to sit and code, But the original poster wanted more then just. He wanted a tool kind of like HP OpenView or something similar using Nagios and Rrdtool. This could take more then 10 minutes of coding. -----Original Message----- From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] Sent: Thursday, June 05, 2003 7:04 AM To: Nagios-Users List (E-mail) Ok, so what's so hard about that? All you need is a simple rrdtool plugin then, right? Plugin only has to check for staleness of the data and return it if it's not stale. With the exception of ping time (which, btw, cacti gets wrong on redhat7.2 and later - those are microseconds, not milliseconds) the type of data I would typically put into rrdtool isn't the kind of data that nagios is monitoring. I use nagios to monitor availability; I use mrtg/rrdtool to monitor performance. For all I know there may already be an rrdtool plugin for nagios - if there isn't, it seems like it would be a simple ten minute project. -- Trever -----Original Message----- From: Marek Dohojda [mailto:marek.dohojda at linksys.com] Sent: Wednesday, June 04, 2003 6:54 PM To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. That's actually what I was eluding to below in my response. I don't believe the front end is what is needed. The backend. Once you have either mysql or native rra database, you can do magic. The actual front end doesn't matter all that much. It would be relatively trivial to put that together. Once the backend is all squared away. What I would like to do (and one day may write) is to have Nagios be center piece (and beautiful it is) collecting all information into a database. This information would be then sorted and stored in db. From that point on with Perl and PHP write a interface that graphs and allows management type to see all the pretty UHHH AHHH graphs that seem to make their day. With this you could have graphs for almost every darn lil' thing you want, especially if at the same time you include Snort graphs as well as Ulog iptables accounting. All in one nice package. -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, June 04, 2003 4:46 PM To: Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net from time to time this debate comes up. It usually devolves into everyones favorite implementation of a RRDtool front-end. I am not above this. I prefer Cricket. Some people prefer using APAN. APAN is cool. Cricket is cool. I don't know cacti. Inevitably these seem to be arguments about front-ends. If Nagios polled the backend (rrd) then we would avoid having arguments about cacti vs cricket vs APAN etc. Then everyone would have their preferred method sorted. see here for a gmane based thread. http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root=%3C C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E jamie ----- Original Message ----- From: "Marek Dohojda" To: "'Jamie Baddeley'" ; "Marek Dohojda" ; Cc: Sent: Thursday, June 05, 2003 11:35 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Not sure what you mean by this. I mean would you want Nagios to poll > the data in RRD? > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > points hehe > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:26 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > > nagios should poll the retrieved RRD's > > ----- Original Message ----- > From: "Marek Dohojda" > To: > Cc: > Sent: Thursday, June 05, 2003 10:49 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > > Actually > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > there is > no > > question about it, but it has some weaknesses, that make it perfect > > for network traffic, not so good for others. > > > > If you ant to do this, I would suggest concentrating on Nagios, > > writing an interface or plugging for it (something akin to APAN) > > using rrdtool, and probably mysql backend. This way you can display > > whatever > you like to do. > > > > Which wouldn't be all that bad, because the availability report > > could use > a > > little bit of perl magic. > > > > > > > > > > -----Original Message----- > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > Sent: Wednesday, June 04, 2003 3:35 PM > > To: nagios at nagios.org; iberry at raxnet.net > > Cc: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > > cacti-user at lists.sourceforge.net > > > > Hi Ethan, > > Hi Ian, > > (Hi Community,) > > > > Thx a lot for providing the best GPL System Monitoring Tools i ever > > saw. > > > > Just to notice: > > I have lots of experience with this subject. > > > > I would love to bring the 2 best Solutions together: > > Cacti for handling Web-Based, Template Based RRD-Configuration and > > Nagios for best Alarming and History Features. > > > > Are you interrested? > > > > What I actually need: > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > set alarming-thresholds, which are then sent to nagios for alaming. > > Or an even better integration of your Tools. > > > > The Problem is: > > Both of your Projects come with their own polling-machine. > > > > I can understand pretty well, that its no fun giving up an own code > > one > has > > written and established. > > > > On the other hand, > > if we marry your great Tools, > > this would give them a drive, > > IBM Tivoli will be afaid of, > > like M$ is (qualified) afaid of Linux... > > > > Any Ideas? > > > > Cheers, > > Ralph > > > > http://Gerstmann.Com?language=e > > http://GPLshop.Com (not really translated, yet) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timo.waelchli at hangartner.com Thu Jun 5 17:59:22 2003 From: timo.waelchli at hangartner.com (timo.waelchli at hangartner.com) Date: Thu, 5 Jun 2003 17:59:22 +0200 Subject: performance troubles Message-ID: Hi list I seem to have performance problems with nagios 1.0 on a system with 512 MB Memory, AMD 1 GHz CPU. Nagios should do about 20 apan!ping (check-ping with rrd support) every two minutes and some disk, dns and other checks every 1/4 h up to every 1 h depending on the checks. Load is about 0.02 and there are virtually no other services running on that box. I did everything described in the docu to speed things up, but it does not work. Some minutes after starting nagios I start getting many orphaned checks (any type, not only ping). When I check the logs, I usually have about three to four seconds between any to checks... What is wrong on that system? Any ideas? Thanks in advance Timo Waelchli ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 5 18:25:46 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 5 Jun 2003 11:25:46 -0500 Subject: Nagios& Cacti - Ethan, I know you must get ton s of mails/day, please read the, nevertheless. Message-ID: http://apan.sourceforge.net/ > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Thursday, June 05, 2003 9:04 AM > To: Nagios-Users List (E-mail) > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get > ton s of mails/day, please read the, nevertheless. > > > Ok, so what's so hard about that? All you need is a simple > rrdtool plugin > then, right? Plugin only has to check for staleness of the > data and return > it if it's not stale. With the exception of ping time > (which, btw, cacti > gets wrong on redhat7.2 and later - those are microseconds, not > milliseconds) the type of data I would typically put into > rrdtool isn't the > kind of data that nagios is monitoring. I use nagios to monitor > availability; I use mrtg/rrdtool to monitor performance. > > For all I know there may already be an rrdtool plugin for > nagios - if there > isn't, it seems like it would be a simple ten minute project. > > -- > Trever > > -----Original Message----- > From: Marek Dohojda [mailto:marek.dohojda at linksys.com] > Sent: Wednesday, June 04, 2003 6:54 PM > To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get > ton s of mails/day, please read the, nevertheless. > > > That's actually what I was eluding to below in my response. > I don't believe > the front end is what is needed. The backend. Once you have > either mysql > or native rra database, you can do magic. > > The actual front end doesn't matter all that much. It would > be relatively > trivial to put that together. Once the backend is all squared away. > > What I would like to do (and one day may write) is to have > Nagios be center > piece (and beautiful it is) collecting all information into a > database. > This information would be then sorted and stored in db. From > that point on > with Perl and PHP write a interface that graphs and allows > management type > to see all the pretty UHHH AHHH graphs that seem to make their day. > > With this you could have graphs for almost every darn lil' > thing you want, > especially if at the same time you include Snort graphs as > well as Ulog > iptables accounting. > > All in one nice package. > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:46 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > from time to time this debate comes up. It usually devolves > into everyones > favorite implementation of a RRDtool front-end. > > I am not above this. I prefer Cricket. Some people prefer > using APAN. APAN > is cool. Cricket is cool. I don't know cacti. > > Inevitably these seem to be arguments about front-ends. If > Nagios polled the > backend (rrd) then we would avoid having arguments about > cacti vs cricket vs > APAN etc. Then everyone would have their preferred method sorted. > > see here for a gmane based thread. > http://news.gmane.org/onethread.php?group=gmane.network.nagios > .user&root=%3C > Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E > > http://news.gmane.org/onethread.php?group=gmane.network.nagios > .user&root=%3C > C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E > > > jamie > > ----- Original Message ----- > From: "Marek Dohojda" > To: "'Jamie Baddeley'" ; "Marek Dohojda" > ; > Cc: > Sent: Thursday, June 05, 2003 11:35 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you > must get tons > of mails/day, please read the, nevertheless. > > > > Not sure what you mean by this. I mean would you want > Nagios to poll > > the data in RRD? > > > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > > points hehe > > > > > > -----Original Message----- > > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > > Sent: Wednesday, June 04, 2003 4:26 PM > > To: Marek Dohojda; ralph at mail.Gerstmann.Net > > Cc: nagios-users at lists.sourceforge.net > > > > > > nagios should poll the retrieved RRD's > > > > ----- Original Message ----- > > From: "Marek Dohojda" > > To: > > Cc: > > Sent: Thursday, June 05, 2003 10:49 AM > > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know > you must get > tons > > of mails/day, please read the, nevertheless. > > > > > > > Actually > > > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > > there is > > no > > > question about it, but it has some weaknesses, that make > it perfect > > > for network traffic, not so good for others. > > > > > > If you ant to do this, I would suggest concentrating on Nagios, > > > writing an interface or plugging for it (something akin to APAN) > > > using rrdtool, and probably mysql backend. This way you > can display > > > whatever > > you like to do. > > > > > > Which wouldn't be all that bad, because the availability report > > > could use > > a > > > little bit of perl magic. > > > > > > > > > > > > > > > -----Original Message----- > > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > > Sent: Wednesday, June 04, 2003 3:35 PM > > > To: nagios at nagios.org; iberry at raxnet.net > > > Cc: nagios-users at lists.sourceforge.net; > > nagios-devel at lists.sourceforge.net; > > > cacti-user at lists.sourceforge.net > > > > > > Hi Ethan, > > > Hi Ian, > > > (Hi Community,) > > > > > > Thx a lot for providing the best GPL System Monitoring > Tools i ever > > > saw. > > > > > > Just to notice: > > > I have lots of experience with this subject. > > > > > > I would love to bring the 2 best Solutions together: > > > Cacti for handling Web-Based, Template Based > RRD-Configuration and > > > Nagios for best Alarming and History Features. > > > > > > Are you interrested? > > > > > > What I actually need: > > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > > set alarming-thresholds, which are then sent to nagios > for alaming. > > > Or an even better integration of your Tools. > > > > > > The Problem is: > > > Both of your Projects come with their own polling-machine. > > > > > > I can understand pretty well, that its no fun giving up > an own code > > > one > > has > > > written and established. > > > > > > On the other hand, > > > if we marry your great Tools, > > > this would give them a drive, > > > IBM Tivoli will be afaid of, > > > like M$ is (qualified) afaid of Linux... > > > > > > Any Ideas? > > > > > > Cheers, > > > Ralph > > > > > > http://Gerstmann.Com?language=e > > > http://GPLshop.Com (not really translated, yet) > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > TotalView, The > > > best thread debugger on the planet. Designed with thread > debugging > > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Thu Jun 5 19:07:30 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 5 Jun 2003 12:07:30 -0500 Subject: Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. Message-ID: <352B04312822444A962714393AED8A4D96A90C@ADAEVS01.int.chickasaw.net> That would beee sweeet!! A common Backend AND Interface.... for it all.. -----Original Message----- From: Marek Dohojda [mailto:marek.dohojda at linksys.com] Sent: Wednesday, June 04, 2003 6:54 PM To: 'Jamie Baddeley'; Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. That's actually what I was eluding to below in my response. I don't believe the front end is what is needed. The backend. Once you have either mysql or native rra database, you can do magic. The actual front end doesn't matter all that much. It would be relatively trivial to put that together. Once the backend is all squared away. What I would like to do (and one day may write) is to have Nagios be center piece (and beautiful it is) collecting all information into a database. This information would be then sorted and stored in db. From that point on with Perl and PHP write a interface that graphs and allows management type to see all the pretty UHHH AHHH graphs that seem to make their day. With this you could have graphs for almost every darn lil' thing you want, especially if at the same time you include Snort graphs as well as Ulog iptables accounting. All in one nice package. -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, June 04, 2003 4:46 PM To: Marek Dohojda; ralph at mail.Gerstmann.Net Cc: nagios-users at lists.sourceforge.net from time to time this debate comes up. It usually devolves into everyones favorite implementation of a RRDtool front-end. I am not above this. I prefer Cricket. Some people prefer using APAN. APAN is cool. Cricket is cool. I don't know cacti. Inevitably these seem to be arguments about front-ends. If Nagios polled the backend (rrd) then we would avoid having arguments about cacti vs cricket vs APAN etc. Then everyone would have their preferred method sorted. see here for a gmane based thread. http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root =%3C Pine.LNX.4.21.0304241224200.25293-100000%40hclmail.hclinsys.com%3E http://news.gmane.org/onethread.php?group=gmane.network.nagios.user&root =%3C C476216FED4D5342898C9A2CD9030952E3C4E1%40PKDWB02C.ad.sprint.com%3E jamie ----- Original Message ----- From: "Marek Dohojda" To: "'Jamie Baddeley'" ; "Marek Dohojda" ; Cc: Sent: Thursday, June 05, 2003 11:35 AM Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons of mails/day, please read the, nevertheless. > Not sure what you mean by this. I mean would you want Nagios to poll > the data in RRD? > > Sorry long day and I was stuck in Windows hell, lost at least 50 iq > points hehe > > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, June 04, 2003 4:26 PM > To: Marek Dohojda; ralph at mail.Gerstmann.Net > Cc: nagios-users at lists.sourceforge.net > > > nagios should poll the retrieved RRD's > > ----- Original Message ----- > From: "Marek Dohojda" > To: > Cc: > Sent: Thursday, June 05, 2003 10:49 AM > Subject: RE: [Nagios-users] Nagios& Cacti - Ethan, I know you must get tons > of mails/day, please read the, nevertheless. > > > > Actually > > > > I wouldn't suggest using cacti for this. It's a very nice tool, > > there is > no > > question about it, but it has some weaknesses, that make it perfect > > for network traffic, not so good for others. > > > > If you ant to do this, I would suggest concentrating on Nagios, > > writing an interface or plugging for it (something akin to APAN) > > using rrdtool, and probably mysql backend. This way you can display > > whatever > you like to do. > > > > Which wouldn't be all that bad, because the availability report > > could use > a > > little bit of perl magic. > > > > > > > > > > -----Original Message----- > > From: ralph at mail.Gerstmann.Net [mailto:ralph at mail.Gerstmann.Net] > > Sent: Wednesday, June 04, 2003 3:35 PM > > To: nagios at nagios.org; iberry at raxnet.net > > Cc: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > > cacti-user at lists.sourceforge.net > > > > Hi Ethan, > > Hi Ian, > > (Hi Community,) > > > > Thx a lot for providing the best GPL System Monitoring Tools i ever > > saw. > > > > Just to notice: > > I have lots of experience with this subject. > > > > I would love to bring the 2 best Solutions together: > > Cacti for handling Web-Based, Template Based RRD-Configuration and > > Nagios for best Alarming and History Features. > > > > Are you interrested? > > > > What I actually need: > > Web-Based configuration of RRDs (like in cacti) with an add-on to > > set alarming-thresholds, which are then sent to nagios for alaming. > > Or an even better integration of your Tools. > > > > The Problem is: > > Both of your Projects come with their own polling-machine. > > > > I can understand pretty well, that its no fun giving up an own code > > one > has > > written and established. > > > > On the other hand, > > if we marry your great Tools, > > this would give them a drive, > > IBM Tivoli will be afaid of, > > like M$ is (qualified) afaid of Linux... > > > > Any Ideas? > > > > Cheers, > > Ralph > > > > http://Gerstmann.Com?language=e > > http://GPLshop.Com (not really translated, yet) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The > > best thread debugger on the planet. Designed with thread debugging > > features you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Thu Jun 5 20:41:05 2003 From: itamarf at pbh.gov.br (itamarf) Date: Thu, 05 Jun 2003 15:41:05 -0300 Subject: plugin check_mrtgtraf Message-ID: <3EDF8EC1.B53C6775@pbh.gov.br> oi, Estou tendo Problemas para colocar em funcionamento o plugin check_mrtgtraf. o comando esta sendo montado corretamente como na documenta?ao, porem na execu?ao ? dada a seguinte mensagem: Unable to open MRTG log file o plugin do nagios esta em /usr/local/nagios/libexec o arquivo de log do mrtg esta em /home/httpd/html/mrtg/10.0.24.1_7.log j? verifiquei e nao h? probelemas de permissao ao acesso do arquivo de log o caminho esta sendo passado corretamente na especifica?ao , porem so ? dada a mensgem, se alguem puder me ajudar. Obrigado, Itamar. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at wells.vg Thu Jun 5 20:29:40 2003 From: matt at wells.vg (Mattw) Date: 5 Jun 2003 18:29:40 -0000 Subject: Problem with MsSql In-Reply-To: <20030605153334.80133.qmail@web10902.mail.yahoo.com> References: <20030605153334.80133.qmail@web10902.mail.yahoo.com> Message-ID: <20030605182940.22818.qmail@pod-163.dolphin-server.co.uk> Steve I'm looking for something with MS SQL as well. I'm trying to be able to monitor my SQL replication between two locations. I'm reading up on doing this but if you gather any info or if anyone has any info on this let me know. I'm pretty much doing what you have done so far (learning as I go on it.) So any guidance would be great for a fairly newbie. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CabreraN at southcom.disa.mil Thu Jun 5 20:26:00 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Thu, 5 Jun 2003 14:26:00 -0400 Subject: Missing cgi's Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193F4B@emsmia1.southcom.disa.mil> Hi, Just completed a normal install of Nagios 1.0 following the instructions but noticed that I seem to be missing several cgi files, specifically statusmap.cgi, trends.cgi, and histogram.cgi. Did I miss something from the download section? Is there somewhere else I can get these files? Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 5 20:46:58 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 5 Jun 2003 13:46:58 -0500 Subject: Missing cgi's Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7496@mismail.ena.com> Make sure that you have the required GD libraries installed. They are listed in the System Requirements section of the documentation. You may need to pass the location of them to the configure script. Also, watch ./configure for errors. -- Marc > -----Original Message----- > From: Cabrera, Nestor (Contractor) [mailto:CabreraN at southcom.disa.mil] > Sent: Thursday, June 05, 2003 1:26 PM > To: nagios-users at lists.sourceforge.net > Importance: Low > > Hi, > > Just completed a normal install of Nagios 1.0 following the instructions > but > noticed that I seem to be missing several cgi files, specifically > statusmap.cgi, trends.cgi, and histogram.cgi. Did I miss something from > the > download section? Is there somewhere else I can get these files? Thanks in > advance. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bren at midco.net Thu Jun 5 20:56:19 2003 From: bren at midco.net (Brendon Colby) Date: Thu, 5 Jun 2003 13:56:19 -0500 Subject: Missing cgi's In-Reply-To: <04C669CE7B1D8E4EB46971034B329A6C193F4B@emsmia1.southcom.disa.mil> References: <04C669CE7B1D8E4EB46971034B329A6C193F4B@emsmia1.southcom.disa.mil> Message-ID: <200306051356.19829.bren@midco.net> On Thursday 05 June 2003 13:26, Cabrera, Nestor \(Contractor\) wrote: > Hi, > > Just completed a normal install of Nagios 1.0 following the instructions > but noticed that I seem to be missing several cgi files, specifically > statusmap.cgi, trends.cgi, and histogram.cgi. Did I miss something from the > download section? Is there somewhere else I can get these files? Thanks in > advance. If I can recall, the make failed for me and didn't error out (which made me believe everything got compiled). I think it couldn't find a library somewhere. If you watch the make output closely, you'll see what I mean. -- Brendon Colby Systems Administrator Midcontinent Communications ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dant at wetsnow.com Thu Jun 5 22:54:56 2003 From: dant at wetsnow.com (MrWetsnow) Date: 5 Jun 2003 20:54:56 -0000 Subject: Free disk space : Invalid drive (Checking Windows 2000 Server) Message-ID: <20030605205456.20106.qmail@pod-163.dolphin-server.co.uk> Hello. I am running Nagios 1.0 on a linux box. I used check_nt to check various windows machines. I have all of them working fine, checking the various drives. On one machine, when I ask Nagios to check a drive (the D drive on the machine), it always returns: Free disk space : Invalid drive It has no problem checking any other drives on that machine. I am using the nsclient on the Windows Server. Has anyone seen this before? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 5 23:03:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 05 Jun 2003 17:03:22 -0400 (EDT) Subject: [Nagios-users] =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20notification?= =?ISO-8859-1?Q?=20of=20system=20reboots?= In-Reply-To: References: Message-ID: nagios plugins tarball - contrib directory On Thu, 5 Jun 2003, Serveur-Faucon Surveillance wrote: > Where do you find that file? > > Alex > > >>> Subhendu Ghosh 03/06/03 16h11 >>> > On Tue, 3 Jun 2003, Chandler A. Collins wrote: > > Have you tried contrib/check_uptime? > > It probably needs a bit of tweaking with the new library structure. > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.lambooy at narmida.com Fri Jun 6 01:19:13 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Fri, 6 Jun 2003 01:19:13 +0200 Subject: SMTP relay check In-Reply-To: References: Message-ID: <001501c32bb8$e36e0140$0c01a8c0@patrickthuis> No what I meant was servers I own or of my customers to check if they do NOT relay (keep spam in mind dude) Would be nice if it triggerd on that espacialy with M$ mail servers .... etc -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: donderdag 5 juni 2003 18:01 To: Patrick Lambooy; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMTP relay check I'm not sure I understand what you're trying to accomplish here. Do you actually have to check a particular MTA which seems to relay most of the time, then for no apparent reason stops relaying (and that you'd like to be paged out on this at 3:00am)? Or are you looking for a tool/utility which can check arbitrary MTAs on the Internet to see whether they're relaying or not? If the latter, I think you're on the wrong mailing list. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Thursday, June 05, 2003 8:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMTP relay check Hiya, Is there a way to check if a smtp server is relaying or not would be a very nice feature.... Maybe more advanced options like for wich domain and ip range etc I cant make it, but somebody can on the mailing ;-)> Let me know if this would be a nice feature..... Regards, Patrick Lambooy Technical Director Narmida B.V. Tel: 0172-442250 Fax: 0172-600989 Email: p.lambooy at narmida.com Website: http://www.narmida.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 08:16:54 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 06 Jun 2003 08:16:54 +0200 Subject: Problem with MsSql In-Reply-To: <20030605153334.80133.qmail@web10902.mail.yahoo.com> References: <20030605153334.80133.qmail@web10902.mail.yahoo.com> Message-ID: <3EE031D6.3020105@dhl.com> Hi, A few questions: 1) Did you list all servers in freetds.conf? 2) Are you able to connect to the servers by using sqsh (sqsh -S server -U sa) 3) What error message do you get? 4) If you REALLY do have to use blank passwords, then use the plugin like this: ./check_mssql.sh server user "" 2000 Hope this helps. Kind regards, Tom Steve Dussaux wrote: > Hello, > > > I want to be able to check connections to Ms SQL 7 and 2000 server. > I have unsuccessfully tested the check_mssql.sh script coming from Tom DE BLENDE. > I have installed sqsh and freetds. > All servers i can test on are without pass...maybe this is the problem. > > Or is somebody having any suggestions ? > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 08:29:08 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 06 Jun 2003 08:29:08 +0200 Subject: Problem with MsSql In-Reply-To: <20030605182940.22818.qmail@pod-163.dolphin-server.co.uk> References: <20030605182940.22818.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EE034B4.8020702@dhl.com> I have written a small script back when I had to test replication. Here it is (quite ugly and not adjusted for publication). You will have to change stuff inside the script, but it will get you started (username, password, SOURCESERVER, TARGETSERVER, ReplicatedDatabase). The script requires a working freetds and sqsh. I might rewrite it later on, but really don't have the time now (too busy at work and Belgian national party at Rolland Garros this Saturday). #!/bin/sh hostname=$1 tempfile=/tmp/sqlrepl-$hostname.tmp exit="-1" if [ "$hostname" == "" ]; then echo -e "\nYou did not supply enough arguments. \nUsage: ./check_sql_repl.sh \n \nCheck_sql_repl.sh checks whether the online database replication is still running. \nIt was written by Tom De Blende in 2002. \n" && exit "-1" fi /usr/local/bin/sqsh -S $hostname -U username -P password -C sp_who2 > $tempfile tmp=`/bin/cat $tempfile` if [ -z "$tmp" ]; then stdio="Could not make connection to SQL server." && /bin/rm -f $tempfile && echo $stdio && exit 1; fi lines=`/bin/cat $tempfile | grep "SOURCESERVER-ReplicatedDatabase-TARGETSERVER-1" | wc -l`; if [ "$lines" -eq "1" ]; then exit="0" && stdio="Online replication of ReplicatedDatabase database is up and running."; elif [ "$lines" -eq "0" ]; then exit="2" && stdio="Online replication of the ReplicatedDatabase database stopped!"; else exit="-1" && stdio="Unable to check for online replication."; fi /bin/rm -f $tempfile echo $stdio exit $exit Mattw wrote: > Steve I'm looking for something with MS SQL as well. I'm trying to be able to monitor my SQL replication between two locations. I'm reading up on doing this but if you gather any info or if anyone has any info on this let me know. I'm pretty much doing what you have done so far (learning as I go on it.) > So any guidance would be great for a fairly newbie. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 designit.com.au Fri Jun 6 09:14:50 2003 From: karl at designit.com.au (Karl Latiss) Date: 06 Jun 2003 17:14:50 +1000 Subject: service dependencies and hosts Message-ID: <1054883689.19508.275.camel@darkstar.internal.designit.com.au> My understanding of service checks is that if a service check fails then a host check will be performed. If the host check fails I will receive a host notification. If I have service AND host dependencies in place, in what order are they processed? IE. if a service check fails and doesn't meet any of the service or notification check dependencies for check or notification suppression does a standard host check take place, or does Nagios then check the host dependencies to see if the failure may be related to another host? I can't find any documentation that explains the relationship between service and host dependencies - just their individual operation (http://nagios.sourceforge.net/docs/1_0/dependencies.html) -- Karl Latiss design IT ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Fri Jun 6 09:32:14 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Fri, 6 Jun 2003 09:32:14 +0200 Subject: Nagios check_log help Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAF16@rijpat-s-346.europe.shell.com> Thanks But i dont have a contrib directory by default, and a search of the net only shows me linux RPM'S for these extra plugins. can somone point me to the source code so i can compile on solaris??? thanks Stuart -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: 05 June 2003 17:56 To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios check_log help Personally, I use check_log2.pl from the contrib directory. jc -----Original Message----- From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] Sent: Thursday, June 05, 2003 6:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios check_log help Hello Could some body please help me with this plugin, and explain what the proper command line arguments should be. The documentations says: Usage: check_log -F logfile -O oldlog -q query Usage: check_log --help Usage: check_log --version i presume -F is the log file I want to check, and -q is the string I am searching the log for. I have tried #./check_log -F test_log -q WARNING this just goves the following error ./check_log: test: argument expected. what is the -O for old log?? I only have 1 log file, is the -O necessary? the documentation for this plugin is very brief. Help Apreciated Stuart ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.castillo at euroview-spain.com Fri Jun 6 11:04:46 2003 From: javier.castillo at euroview-spain.com (Javier Castillo Alcibar) Date: Fri, 6 Jun 2003 11:04:46 +0200 Subject: Nagios config stored in MySQL Message-ID: <9287F37B80413743823EC736B51CC0717978BF@ALHM1SRV.alhpridom.as> Hello, is there any script/plugin/add-on that stores nagios config files in mysql??. It would be nice to modify nagios configuration files from web php interface, storing the config files in mysql tables, and generating the nagios files from mysql tables.... I'm sure you know something... :) Thx. Javier. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Jun 6 11:13:58 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 6 Jun 2003 11:13:58 +0200 (CEST) Subject: Problem with MsSql In-Reply-To: <3EE031D6.3020105@dhl.com> References: <3EE031D6.3020105@dhl.com> Message-ID: <20030606091358.23128.qmail@web10905.mail.yahoo.com> Thanks Tom I have forgotten to list all servers in freetds.conf. Now it works with freetds 0.52. --- Tom DE BLENDE a ?crit?: > Hi, > > A few questions: > > 1) Did you list all servers in freetds.conf? > 2) Are you able to connect to the servers by using sqsh (sqsh -S > server -U sa) > 3) What error message do you get? > 4) If you REALLY do have to use blank passwords, then use the plugin > like this: ./check_mssql.sh server user "" 2000 > > Hope this helps. > > Kind regards, > Tom > > Steve Dussaux wrote: > > Hello, > > > > > > I want to be able to check connections to Ms SQL 7 and 2000 server. > > I have unsuccessfully tested the check_mssql.sh script coming from Tom DE BLENDE. > > I have installed sqsh and freetds. > > All servers i can test on are without pass...maybe this is the problem. > > > > Or is somebody having any suggestions ? > > > > Thanks, > > Steve > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Fri Jun 6 11:54:40 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 6 Jun 2003 10:54:40 +0100 Subject: Nagios config stored in MySQL Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137A0@jessica.herefordshire.gov.uk> Yes! Check out NagMin at http://nagmin.sf.net. It's a Webmin module which is very useful. Features include auto-populating your Nagios config via nmap scanning. I'm still in the middle of setting up Nagios here, but I have 124 hosts with 1379 services set up entirely with NagMin. The best approach is to set up Service Templates and Service Groups and associate them with your hosts. Being webmin based, it seems to run dog slow here, but it is a lot easier than doing it all by hand. I had to add the line xedtemplate_config_file=/usr/local/nagmin/nagios/HostExtInfo.cfg into cgi.cfg to get Extended info to show, but otherwise no real hassles. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Javier Castillo Alcibar > [mailto:javier.castillo at euroview-spain.com] > Sent: 06 June 2003 10:05 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios config stored in MySQL > > > Hello, > > is there any script/plugin/add-on that stores nagios config files in > mysql??. It would be nice to modify nagios configuration > files from web > php interface, storing the config files in mysql tables, and > generating > the nagios files from mysql tables.... > > I'm sure you know something... :) > > > Thx. > Javier. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Jun 6 11:46:16 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 06 Jun 2003 11:46:16 +0200 Subject: status.log and database support Message-ID: <3EE062E8.2050307@mobilcom.de> Hi! We use Nagios 1.0 with compiled mysql-support, so the status.log is empty.. I'd now like to have a status.log which I can read as usual, does anyone know a solution, i.e. - telling nagios to fill status.log 'the old way' or - a script to build a status.log rwading the data from the database? Otherwise I have to write a script on my own, but I'm not that experienced writing a script that reads databases ... Thanks for any hint1 Regards, Jens ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.pavani at cineca.it Fri Jun 6 12:25:06 2003 From: d.pavani at cineca.it (Denis Pavani) Date: Fri, 06 Jun 2003 12:25:06 +0200 Subject: service state for host unreachable Message-ID: <3EE06C02.3040209@cineca.it> I'm trying to suppress notification for services on host when they become unreachable. So, I put only d,r on notification host in notification_options field. But what about services on these hosts? Are notification suppressed or are they in unknown state, so I have to delete the u flag on notification_options in servie definition, too? Thanks in advance -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti NOC - Network Operations Center phone:+39 0516171953 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.castillo at euroview-spain.com Fri Jun 6 12:31:19 2003 From: javier.castillo at euroview-spain.com (Javier Castillo Alcibar) Date: Fri, 6 Jun 2003 12:31:19 +0200 Subject: Nagios config stored in MySQL Message-ID: <9287F37B80413743823EC736B51CC0717978CF@ALHM1SRV.alhpridom.as> thx ....and what about http://sourceforge.net/projects/nagiosweb/ ?? Any experience?? -----Mensaje original----- De: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Enviado el: viernes, 06 de junio de 2003 11:55 Para: Javier Castillo Alcibar; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] Nagios config stored in MySQL Yes! Check out NagMin at http://nagmin.sf.net. It's a Webmin module which is very useful. Features include auto-populating your Nagios config via nmap scanning. I'm still in the middle of setting up Nagios here, but I have 124 hosts with 1379 services set up entirely with NagMin. The best approach is to set up Service Templates and Service Groups and associate them with your hosts. Being webmin based, it seems to run dog slow here, but it is a lot easier than doing it all by hand. I had to add the line xedtemplate_config_file=/usr/local/nagmin/nagios/HostExtInfo.cfg into cgi.cfg to get Extended info to show, but otherwise no real hassles. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Javier Castillo Alcibar > [mailto:javier.castillo at euroview-spain.com] > Sent: 06 June 2003 10:05 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios config stored in MySQL > > > Hello, > > is there any script/plugin/add-on that stores nagios config files in > mysql??. It would be nice to modify nagios configuration files from > web php interface, storing the config files in mysql tables, and > generating > the nagios files from mysql tables.... > > I'm sure you know something... :) > > > Thx. > Javier. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Fri Jun 6 13:10:24 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 06 Jun 2003 13:10:24 +0200 Subject: Nagios check_log help References: <5539FB0922D5E544B12A031DBD255E55DCAF16@rijpat-s-346.europe.shell.com> Message-ID: <3EE076A0.5030000@datavis.se> nagiosplug.sf.net /FredrikW Webster, Stuart SITI-ITDIUR wrote: >Thanks > >But i dont have a contrib directory by default, and a search of the net only shows me linux RPM'S for these extra plugins. can somone point me to the source code so i can compile on solaris??? > >thanks > >Stuart > >-----Original Message----- >From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >Sent: 05 June 2003 17:56 >To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Nagios check_log help > > >Personally, I use check_log2.pl from the contrib directory. > >jc > >-----Original Message----- >From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] >Sent: Thursday, June 05, 2003 6:19 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Nagios check_log help > > >Hello >Could some body please help me with this plugin, and explain what the proper command line arguments should be. >The documentations says: > >Usage: check_log -F logfile -O oldlog -q query >Usage: check_log --help >Usage: check_log --version >i presume -F is the log file I want to check, and -q is the string I am searching the log for. >I have tried >#./check_log -F test_log -q WARNING >this just goves the following error >./check_log: test: argument expected. >what is the -O for old log?? I only have 1 log file, is the -O necessary? >the documentation for this plugin is very brief. >Help Apreciated >Stuart > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 13:26:19 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Jun 2003 07:26:19 -0400 Subject: Nagios check_log help In-Reply-To: <5539FB0922D5E544B12A031DBD255E55DCAF16@rijpat-s-346.europe.shell.com> References: <5539FB0922D5E544B12A031DBD255E55DCAF16@rijpat-s-346.europe.shell.com> Message-ID: <1054898779.1182.16.camel@miles.debisschop.net> On Fri, 2003-06-06 at 03:32, Webster, Stuart SITI-ITDIUR wrote: > Thanks > > But i dont have a contrib directory by default, and a search of the net only shows me linux RPM'S for these extra plugins. can somone point me to the source code so i can compile on solaris??? The contrib directory is in the distribution tarball and in CVS. Both are available at http://sf.net/projects/nagiosplug If you are loolong for a specific contributed) plugin, as is the case here, there's a hyperlink for 'CVS' at the top of the nagiosplug page. Click that link and you will come to another page that allows you to browse the CVS repository. On the next page, select the 'nagiosplug' module, then select 'contrib', then pick up the code. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/ > thanks > > Stuart > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: 05 June 2003 17:56 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios check_log help > > > Personally, I use check_log2.pl from the contrib directory. > > jc > > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] > Sent: Thursday, June 05, 2003 6:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios check_log help > > > Hello > Could some body please help me with this plugin, and explain what the proper command line arguments should be. > The documentations says: > > Usage: check_log -F logfile -O oldlog -q query > Usage: check_log --help > Usage: check_log --version > i presume -F is the log file I want to check, and -q is the string I am searching the log for. > I have tried > #./check_log -F test_log -q WARNING > this just goves the following error > ./check_log: test: argument expected. > what is the -O for old log?? I only have 1 log file, is the -O necessary? > the documentation for this plugin is very brief. > Help Apreciated > Stuart > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Jun 6 13:31:56 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 6 Jun 2003 07:31:56 -0400 Subject: Free disk space : Invalid drive (Checking Wind ows 2000 Server) Message-ID: <2E3E9736615DD311895D00105A9CADED014BCD22@eentsvr40.ehvert.com> We're going to need more information to help you. i.e. what is the target server configuration wrt harddrives, what does your nagios config look like (specifically the check_nt command in checkcommands.cfg and the service definition in services.cfg) what should the result be, what happens if you run check_nt from the command-line? dean -----Original Message----- From: MrWetsnow [mailto:dant at wetsnow.com] Sent: June 5, 2003 4:55 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Free disk space : Invalid drive (Checking Windows 2000 Server) Hello. I am running Nagios 1.0 on a linux box. I used check_nt to check various windows machines. I have all of them working fine, checking the various drives. On one machine, when I ask Nagios to check a drive (the D drive on the machine), it always returns: Free disk space : Invalid drive It has no problem checking any other drives on that machine. I am using the nsclient on the Windows Server. Has anyone seen this before? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Jun 6 13:58:46 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 6 Jun 2003 07:58:46 -0400 Subject: service state for host unreachable Message-ID: <2E3E9736615DD311895D00105A9CADED014BCD24@eentsvr40.ehvert.com> I'm not sure I understand, do you mean that you wish to suppress the notifications (both host and service) if the _host_ becomes unreachable? If this is the case, then just removing the "u" from the hostgroup definition will do. If a host becomes unreachable, Nagios will suppress all service notifications and will send a host "UNREACHABLE" notification (unless you have removed the "u" from the hostgroup definition). If you remove the "u" from the hostgroup definition then you would not get a notification about this host or any of its services at all; but then you would be able to deduce this from the host down notification you receive from the upstream host right? Hope this helps, dean -----Original Message----- From: Denis Pavani [mailto:d.pavani at cineca.it] Sent: June 6, 2003 6:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service state for host unreachable I'm trying to suppress notification for services on host when they become unreachable. So, I put only d,r on notification host in notification_options field. But what about services on these hosts? Are notification suppressed or are they in unknown state, so I have to delete the u flag on notification_options in servie definition, too? Thanks in advance -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti NOC - Network Operations Center phone:+39 0516171953 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.pavani at cineca.it Fri Jun 6 14:12:34 2003 From: d.pavani at cineca.it (Denis Pavani) Date: Fri, 06 Jun 2003 14:12:34 +0200 Subject: service state for host unreachable References: <2E3E9736615DD311895D00105A9CADED014BCD24@eentsvr40.ehvert.com> Message-ID: <3EE08532.20406@cineca.it> yes, thanks. Dean Bishop wrote: >I'm not sure I understand, do you mean that you wish to suppress the >notifications (both host and service) if the _host_ becomes unreachable? If >this is the case, then just removing the "u" from the hostgroup definition >will do. > >If a host becomes unreachable, Nagios will suppress all service >notifications and will send a host "UNREACHABLE" notification (unless you >have removed the "u" from the hostgroup definition). If you remove the "u" >from the hostgroup definition then you would not get a notification about >this host or any of its services at all; but then you would be able to >deduce this from the host down notification you receive from the upstream >host right? > >Hope this helps, >dean > > >-----Original Message----- >From: Denis Pavani [mailto:d.pavani at cineca.it] >Sent: June 6, 2003 6:25 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] service state for host unreachable > >I'm trying to suppress notification for services on host when they >become unreachable. >So, I put only d,r on notification host in notification_options field. >But what about services on these hosts? Are notification suppressed or >are they in unknown state, so I have to delete the u flag on >notification_options in servie definition, too? > >Thanks in advance > > > -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti NOC - Network Operations Center phone:+39 0516171953 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Jun 6 15:15:49 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 06 Jun 2003 15:15:49 +0200 Subject: HP/Compaq ILO and check_http References: Message-ID: <3EE09405.6060900@mobilcom.de> Hi -sg, Subhendu Ghosh wrote: > have you tried the timeout option (-t) > It defaults to 10 seconds and then sends a SIGALARM to self. Yes, same behavior ... > port 80 transaction looks fine - can you run it under "time" and see how > long it took? Appr. 2 sec., so the -t option didn't help too ... > port 443 should be ssl so a regular telnet will not work. Try wget or > curl. All right, it works with wget: monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ --15:10:47-- https://10.35.178.154/ => `index.html' Connecting to 10.35.178.154:443... connected! HTTP request sent, awaiting response... 200 Ok Length: unspecified [text/html] 0K . Does this give you a clue? Regards, Jens >>>But, to start, have you tried the --verbose option? What was the output? >> >>Yes I did: >> >>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p >>80 --verbose >>Socket timeout after 10 seconds >> >>That's the result I receive with or without the --verbose option ... >> >> >> >>>Have you tried just running the seesion over telnet? >> >>Yes. It works with port 80: >> >>monitor1-lx:~ # telnet 10.35.178.154 80 >>Trying 10.35.178.154... >>Connected to 10.35.178.154. >>Escape character is '^]'. >>GET >>HTTP/1.1 405 Method Not Allowed >>Content-Type:text/html >> >>Remote Insight >>

Request Error

>>HTTP/1.1 405 Method Not Allowed >> >>Connection closed by foreign host. >> >> >>But not with 443: >> >>monitor1-lx:~ # telnet 10.35.178.154 443 >>Trying 10.35.178.154... >>Connected to 10.35.178.154. >>Escape character is '^]'. >>GET >> >> >>I also tried it with 'strace': >> >>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H >>10.35.178.154 -p 80 --verbose >> >>The final output >>... >>connect(3, {sin_family=AF_INET, sin_port=htons(80), >>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 >>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 >>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 >>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 >>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 >>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 >>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 >>recv(3, "514", 1023, 0) = 3 >>recv(3, "\r\n>brk(0x8052000) = 0x8052000 >>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 >>brk(0x8053000) = 0x8053000 >>recv(3, " server is not configured to use"..., 1023, 0) = 49 >>brk(0x8054000) = 0x8054000 >>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 >>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) >>--- SIGALRM (Alarm clock) --- >>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 >>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, >>-1, 0) = 0x40016000 >>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 >>seconds >>) = 32 >>munmap(0x40016000, 4096) = 0 >>_exit(2) = ? >> >> >>It stops until it receives a SIGALRM ... (from whome? - The embedded >>webserver? - Thats the part I do not understand) >> >> >>In addition: We use iLO Firmware 1.26 >> >>Can I provide you more information to find a solution for this? >> >>Regards, >> >>Jens >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: eBay >>Get office equipment for less on eBay! >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > -- Mit freundlichen Gr??en Jens Kruse Linux Systemadministration MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Fri Jun 6 15:31:10 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 06 Jun 2003 15:31:10 +0200 Subject: Free disk space : Invalid drive (Checking Wind ows 2000 Server) References: <2E3E9736615DD311895D00105A9CADED014BCD22@eentsvr40.ehvert.com> Message-ID: <3EE0979E.7050801@datavis.se> I have the same problem.. [root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 -l C C:\ - total: 3.91 Gb - used: 3.17 Gb (81%) - free 0.74 Gb (19%) [root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 -l D Free disk space : Invalid drive [root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 -l E E:\ - total: 10.18 Gb - used: 6.67 Gb (65%) - free 3.52 Gb (35%) [root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 -l F F:\ - total: 67.83 Gb - used: 23.70 Gb (35%) - free 44.13 Gb (65%) [root at pistol hl]# snmpwalk -c ***** sdl-fil-003 HOST-RESOURCES-MIB::hrStorage HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 1048092 KBytes HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1 HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2 HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3 HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4 HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5 HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6 HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7 HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\ HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 94d2f9ec HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\ HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\ Label: Serial Number b8405859 HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: F:\ Label:Data Serial Number 1ca44e5a HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Z:\ HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Virtual Memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 0 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 0 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 65536 Bytes HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 1024079 HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 2669055 HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 17781938 HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 18905 HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 829877 HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 1747961 HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 6212954 HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0 HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0 As you can see from the snmpwalk, drive D (index 3) have no label, allocationunits, size etc. BUT, as you can see in the attached jpg-image, it works in Windows! /FredrikW Dean Bishop wrote: >We're going to need more information to help you. i.e. > >what is the target server configuration wrt harddrives, >what does your nagios config look like (specifically the check_nt command in >checkcommands.cfg and the service definition in services.cfg) >what should the result be, >what happens if you run check_nt from the command-line? > >dean > >-----Original Message----- >From: MrWetsnow [mailto:dant at wetsnow.com] >Sent: June 5, 2003 4:55 PM >To: Nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Free disk space : Invalid drive (Checking Windows >2000 Server) > > >Hello. > >I am running Nagios 1.0 on a linux box. I used check_nt to check various >windows machines. I have all of them working fine, checking the various >drives. On one machine, when I ask Nagios to check a drive (the D drive on >the machine), it always returns: > > >Free disk space : Invalid drive > >It has no problem checking any other drives on that machine. > >I am using the nsclient on the Windows Server. > >Has anyone seen this before? > >Thank you. > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- A non-text attachment was scrubbed... Name: screen.jpg Type: image/jpeg Size: 77111 bytes Desc: not available URL: From mylists at ame.de Fri Jun 6 16:00:08 2003 From: mylists at ame.de (Matthias Eichler) Date: 06 Jun 2003 16:00:08 +0200 Subject: check_real on Network Appliance Caches Message-ID: <1054908007.2221.5.camel@blindzero.ame.loc> Hi Everybody, I want to set up some monitoring environment of some streaming media infrastructure and I am experiencing some problems with check_real in combination with Network Appliance NetCaches. ./check_real -H realnetworks-server -u /farm/*/encoder/directory/file.rm works fine and brings an OK state. ./check_real -H netcache -u /farm/*/encoder/directory/file.rm does always bring up some message: ---cut--- SET_PARAMETER * RTSP/1.0 ---cut--- Unfortunately this messages is always printed out, although I am checking for some non-existing file... Does anybody has some experience with monitoring Network Appliance Caches?!? Thanks, Matthias ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Fri Jun 6 18:07:55 2003 From: jmunoz at comcel.com.co (=?ISO-8859-15?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Fri, 6 Jun 2003 11:07:55 -0500 Subject: Free disk space : Invalid drive (Checking Windows 2000 Server) Message-ID: I experimented the same situation when I used the check over a compressed disk, and this don't have a directly solution jet. Have you got a compressed disk? Jomb. -----Mensaje original----- De: MrWetsnow [mailto:dant at wetsnow.com] Enviado el: jueves, 05 de junio de 2003 15:55 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Free disk space : Invalid drive (Checking Windows 2000 Server) Hello. I am running Nagios 1.0 on a linux box. I used check_nt to check various windows machines. I have all of them working fine, checking the various drives. On one machine, when I ask Nagios to check a drive (the D drive on the machine), it always returns: Free disk space : Invalid drive It has no problem checking any other drives on that machine. I am using the nsclient on the Windows Server. Has anyone seen this before? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Fri Jun 6 18:17:32 2003 From: mylists at ame.de (Matthias Eichler) Date: 06 Jun 2003 18:17:32 +0200 Subject: SOLVED Re: check_real on Network Appliance Caches In-Reply-To: <1054908007.2221.5.camel@blindzero.ame.loc> References: <1054908007.2221.5.camel@blindzero.ame.loc> Message-ID: <1054916251.2138.9.camel@blindzero.ame.loc> Hi Everybody, with some help I got it solved...the problem is, that NetCaches need some \r\n as newline, the check_real has just \n in it's code. So for everybody who wants to check RTSP on Network Appliance Caches: just edit the code to \r\n. I will also commit some "check_netcache" Plugin... Greetings, Matthias Am Fre, 2003-06-06 um 16.00 schrieb Matthias Eichler: > Hi Everybody, > > I want to set up some monitoring environment of some streaming media > infrastructure and I am experiencing some problems with check_real in > combination with Network Appliance NetCaches. > > ./check_real -H realnetworks-server -u /farm/*/encoder/directory/file.rm > works fine and brings an OK state. > > ./check_real -H netcache -u /farm/*/encoder/directory/file.rm > does always bring up some message: > ---cut--- > SET_PARAMETER * RTSP/1.0 > ---cut--- > Unfortunately this messages is always printed out, although I am > checking for some non-existing file... > > Does anybody has some experience with monitoring Network Appliance > Caches?!? > > Thanks, > > Matthias > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Jun 6 19:36:09 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 13:36:09 -0400 (EDT) Subject: SOLVED Re: check_real on Network Appliance Caches In-Reply-To: <1054916251.2138.9.camel@blindzero.ame.loc> References: <1054916251.2138.9.camel@blindzero.ame.loc> Message-ID: Does check_real w/ the \r\n patch work against Real servers as well? -sg On 6 Jun 2003, Matthias Eichler wrote: > Hi Everybody, > > with some help I got it solved...the problem is, that NetCaches need > some \r\n as newline, the check_real has just \n in it's code. > So for everybody who wants to check RTSP on Network Appliance Caches: > just edit the code to \r\n. > > I will also commit some "check_netcache" Plugin... > > Greetings, > > Matthias > > Am Fre, 2003-06-06 um 16.00 schrieb Matthias Eichler: > > Hi Everybody, > > > > I want to set up some monitoring environment of some streaming media > > infrastructure and I am experiencing some problems with check_real in > > combination with Network Appliance NetCaches. > > > > ./check_real -H realnetworks-server -u /farm/*/encoder/directory/file.rm > > works fine and brings an OK state. > > > > ./check_real -H netcache -u /farm/*/encoder/directory/file.rm > > does always bring up some message: > > ---cut--- > > SET_PARAMETER * RTSP/1.0 > > ---cut--- > > Unfortunately this messages is always printed out, although I am > > checking for some non-existing file... > > > > Does anybody has some experience with monitoring Network Appliance > > Caches?!? > > > > Thanks, > > > > Matthias > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Jun 6 19:47:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 13:47:27 -0400 (EDT) Subject: HP/Compaq ILO and check_http In-Reply-To: <3EE09405.6060900@mobilcom.de> References: <3EE09405.6060900@mobilcom.de> Message-ID: which version of check_http? what is the size of index.html? how long did it take with wget? what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the transaction) Can you increase the timeout if above fails? -sg On Fri, 6 Jun 2003, Jens Kruse wrote: > Hi -sg, > > Subhendu Ghosh wrote: > > > have you tried the timeout option (-t) > > It defaults to 10 seconds and then sends a SIGALARM to self. > > Yes, same behavior ... > > > port 80 transaction looks fine - can you run it under "time" and see how > > long it took? > > Appr. 2 sec., so the -t option didn't help too ... > > > port 443 should be ssl so a regular telnet will not work. Try wget or > > curl. > > All right, it works with wget: > > monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ > --15:10:47-- https://10.35.178.154/ > => `index.html' > Connecting to 10.35.178.154:443... connected! > HTTP request sent, awaiting response... 200 Ok > Length: unspecified [text/html] > > 0K . > > Does this give you a clue? > > Regards, Jens > > > > >>>But, to start, have you tried the --verbose option? What was the output? > >> > >>Yes I did: > >> > >>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > >>80 --verbose > >>Socket timeout after 10 seconds > >> > >>That's the result I receive with or without the --verbose option ... > >> > >> > >> > >>>Have you tried just running the seesion over telnet? > >> > >>Yes. It works with port 80: > >> > >>monitor1-lx:~ # telnet 10.35.178.154 80 > >>Trying 10.35.178.154... > >>Connected to 10.35.178.154. > >>Escape character is '^]'. > >>GET > >>HTTP/1.1 405 Method Not Allowed > >>Content-Type:text/html > >> > >>Remote Insight > >>

Request Error

> >>HTTP/1.1 405 Method Not Allowed > >> > >>Connection closed by foreign host. > >> > >> > >>But not with 443: > >> > >>monitor1-lx:~ # telnet 10.35.178.154 443 > >>Trying 10.35.178.154... > >>Connected to 10.35.178.154. > >>Escape character is '^]'. > >>GET > >> > >> > >>I also tried it with 'strace': > >> > >>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > >>10.35.178.154 -p 80 --verbose > >> > >>The final output > >>... > >>connect(3, {sin_family=AF_INET, sin_port=htons(80), > >>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > >>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > >>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > >>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > >>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > >>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > >>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > >>recv(3, "514", 1023, 0) = 3 > >>recv(3, "\r\n >>brk(0x8052000) = 0x8052000 > >>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > >>brk(0x8053000) = 0x8053000 > >>recv(3, " server is not configured to use"..., 1023, 0) = 49 > >>brk(0x8054000) = 0x8054000 > >>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > >>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > >>--- SIGALRM (Alarm clock) --- > >>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > >>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > >>-1, 0) = 0x40016000 > >>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > >>seconds > >>) = 32 > >>munmap(0x40016000, 4096) = 0 > >>_exit(2) = ? > >> > >> > >>It stops until it receives a SIGALRM ... (from whome? - The embedded > >>webserver? - Thats the part I do not understand) > >> > >> > >>In addition: We use iLO Firmware 1.26 > >> > >>Can I provide you more information to find a solution for this? > >> > >>Regards, > >> > >>Jens > >> -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Jun 6 20:02:24 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 14:02:24 -0400 (EDT) Subject: SMTP relay check In-Reply-To: <001501c32bb8$e36e0140$0c01a8c0@patrickthuis> References: <001501c32bb8$e36e0140$0c01a8c0@patrickthuis> Message-ID: Should be simple enough to modify check_smtp to add "TO xxx at domain.not.supported" arg and verify we get a 550 message back Of cource it will only check to see if relaying is allowed for that domain - not relay in general. If do add the above args - we might not be able to roll it into check_tcp as we were attempting to do ;) (Karl - comments?) Of course keep in mind M$ "bridgehead" servers should relay but only for the domain they are supporting... -sg On Fri, 6 Jun 2003, Patrick Lambooy wrote: > No what I meant was servers I own or of my customers to check if they do > NOT relay (keep spam in mind dude) > > Would be nice if it triggerd on that espacialy with M$ mail servers .... > etc > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: donderdag 5 juni 2003 18:01 > To: Patrick Lambooy; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SMTP relay check > > I'm not sure I understand what you're trying to accomplish here. > > Do you actually have to check a particular MTA which seems to relay > most of the time, then for no apparent reason stops relaying > (and that you'd like to be paged out on this at 3:00am)? > > Or are you looking for a tool/utility which can check arbitrary > MTAs on the Internet to see whether they're relaying or not? > > If the latter, I think you're on the wrong mailing list. > > jc > > > -----Original Message----- > From: Patrick Lambooy [mailto:p.lambooy at narmida.com] > Sent: Thursday, June 05, 2003 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMTP relay check > > > Hiya, > > Is there a way to check if a smtp server is relaying or not would be a > very nice feature.... > Maybe more advanced options like for wich domain and ip range etc > > I cant make it, but somebody can on the mailing ;-)> > > Let me know if this would be a nice feature..... > > Regards, > > Patrick Lambooy > Technical Director > > Narmida B.V. > Tel: 0172-442250 > Fax: 0172-600989 > Email: p.lambooy at narmida.com > Website: http://www.narmida.com > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Jun 6 20:10:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 14:10:04 -0400 (EDT) Subject: propoganda Message-ID: New article in Linux Journal (subscriber only on the web) http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue111&file=index Thanks for writing it Richard now if only Nagios could cut some grass :) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbestetti at opservices.com.br Fri Jun 6 20:25:01 2003 From: dbestetti at opservices.com.br (Dario B. Bestetti) Date: Fri, 6 Jun 2003 15:25:01 -0300 Subject: propoganda In-Reply-To: References: Message-ID: <002a01c32c58$f156d610$3c0aa8c0@dario> Could you cut and paste the story and send it to the list ? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: sexta-feira, 6 de junho de 2003 15:10 To: Nagios-users Subject: [Nagios-users] propoganda New article in Linux Journal (subscriber only on the web) http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue11 1&file=index Thanks for writing it Richard now if only Nagios could cut some grass :) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From check at STRASZ.com Fri Jun 6 20:26:12 2003 From: check at STRASZ.com (Carey Heck) Date: Fri, 6 Jun 2003 14:26:12 -0400 Subject: Monitoring Specific Port Message-ID: Hello all. I am curious if I can monitor a specific TCP port with nagios? Say for example, TCP port 9980? I checked the faq for tcp port, and couldnt get the info I needed. If nagios cant provide that type of check, does anyone know of a service out there that can? Thanks for your help in advance. check ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Fri Jun 6 20:29:55 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 6 Jun 2003 14:29:55 -0400 Subject: Monitoring Specific Port Message-ID: yes you can, use the "check_tcp" plugin. -----Original Message----- From: Carey Heck [mailto:check at STRASZ.com] Sent: Friday, June 06, 2003 2:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Specific Port Hello all. I am curious if I can monitor a specific TCP port with nagios? Say for example, TCP port 9980? I checked the faq for tcp port, and couldnt get the info I needed. If nagios cant provide that type of check, does anyone know of a service out there that can? Thanks for your help in advance. check ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dant at wetsnow.com Fri Jun 6 20:32:12 2003 From: dant at wetsnow.com (MrWetsnow) Date: 6 Jun 2003 18:32:12 -0000 Subject: Free disk space : Invalid drive (Checking Windows 2000 Server) In-Reply-To: References: Message-ID: <20030606183212.9097.qmail@pod-163.dolphin-server.co.uk> No, this disk is not compressed... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dant at wetsnow.com Fri Jun 6 20:48:22 2003 From: dant at wetsnow.com (MrWetsnow) Date: 6 Jun 2003 18:48:22 -0000 Subject: Free disk space : Invalid drive (Checking Windows 2000 Server) In-Reply-To: <20030606183212.9097.qmail@pod-163.dolphin-server.co.uk> References: <20030606183212.9097.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030606184822.12877.qmail@pod-163.dolphin-server.co.uk> For whatever reason this started working. I had this service check disabled (for that drive only) for a couple of months. Today I want back to re-enable it to do some more troubleshooting and it started to work properly. Thank you for the suggestions. Dan ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aragonx at dcsnow.com Fri Jun 6 21:21:51 2003 From: aragonx at dcsnow.com (AragonX) Date: Fri, 6 Jun 2003 15:21:51 -0400 (EDT) Subject: How do I run checks on remote hosts? Message-ID: <2726.10.1.1.3.1054927311.squirrel@dcsnow.com> I want to be able to run drive space, processes and user checks on remote systems that I have admin to. How do I configure Nagios to do that? I have it checking the local machine fine. Secondly, can someone point me to the HTML docs for the plugins? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 21:48:21 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 6 Jun 2003 14:48:21 -0500 Subject: Monitoring Specific Port Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E74D4@mismail.ena.com> Yes, it's one of the core plugins -- [root at oscar libexec]# ./check_tcp --help check_tcp (nagios-plugins 1.3.0-alpha1) 1.1.1.1 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) 1999 Ethan Galstad (nagios at nagios.org) This plugin tests TCP connections with the specified host. Usage: check_tcp -H host -p port [-w warn_time] [-c crit_time] [-s send] [-e expect] [-W wait] [-t to_sec] [-v] Options: -H, --hostname=ADDRESS Host name argument for servers using host headers (use numeric address if possible to bypass DNS lookup). -p, --port=INTEGER Port number -s, --send=STRING String to send to the server -e, --expect=STRING String to expect in server response -W, --wait=INTEGER Seconds to wait between sending string and polling for response -w, --warning=INTEGER Response time to result in warning status (seconds) -c, --critical=INTEGER Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v Show details for command-line debugging (do not use with nagios server) -h, --help Print detailed help screen -V, --version Print version information -- Marc > -----Original Message----- > From: Carey Heck [mailto:check at STRASZ.com] > Sent: Friday, June 06, 2003 1:26 PM > To: nagios-users at lists.sourceforge.net > > Hello all. I am curious if I can monitor a specific TCP port with > nagios? Say for example, TCP port 9980? > I checked the faq for tcp port, and couldnt get the info I needed. > If nagios cant provide that type of check, does anyone know of a service > out there that can? > > Thanks for your help in advance. > > check > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Fri Jun 6 21:59:50 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Fri, 6 Jun 2003 15:59:50 -0400 Subject: How do I run checks on remote hosts? In-Reply-To: <2726.10.1.1.3.1054927311.squirrel@dcsnow.com> References: <2726.10.1.1.3.1054927311.squirrel@dcsnow.com> Message-ID: <200306061559.50193.dom@vbi.vt.edu> www.nagios.org, look under the documentation, nrpe section. On Friday 06 June 2003 03:21 pm, AragonX wrote: > I want to be able to run drive space, processes and user checks on remote > systems that I have admin to. How do I configure Nagios to do that? I > have it checking the local machine fine. > > Secondly, can someone point me to the HTML docs for the plugins? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Dominik L. Borkowski - Systems Administrator Virginia Bioinformatics Institute - www.vbi.vt.edu ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jun 6 22:22:48 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 6 Jun 2003 15:22:48 -0500 Subject: Intro & Windows options Message-ID: <16096.63512.475479.721864@montanaro.dyndns.org> I just came across Nagios yesterday. I was looking for a replacement for a homegrown system monitor I inherited and I must say I am very impressed. Like most organizations, the servers we manage are a mixed bag. To replace the current system I have to monitor Windows systems. I saw the check_nt plugin and the reference to NSClient. I tried installing NSClient on my Win2k box, but it won't go. I get a dialog with The application failed to initialize properly (0xc0000022). Click on OK to terminate the application. Now I'm not a Windows person, but something tells me it wasn't supposed to do that. Can someone steer my in the right direction or suggest other Windows monitoring options? Thanks, -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Fri Jun 6 23:02:12 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 06 Jun 2003 14:02:12 -0700 Subject: Passive volatile not resending alerts Message-ID: Hello, I have a passive volatile service that I am trying to get to alert me every time it changes (its in critical, and then I get another critical alert - I want to see that to). I see the status output change on the web page, but I never get the notification except when it first goes critical, not on subsequent notifications. I added the stalking option in an attempt to force it to work (the output from the check is usually different each time it fails). According to the docs if I define it as volatile it SHOULD notify me everytime it gets an alert, any idea what I'm doing wrong? The service is setup like: define service { hostgroup_name lotsonodes service_description ioerror check_freshness 0 check_period none is_volatile 1 stalking_options c active_checks_enable 1 passive_checks_enable 1 normal_check_interval 10 retry_check_interval 7 max_check_attempts 1 contact_groups test notification_interval 0 notification_period 24x7 notification_options w,c,r check_command check_none } ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maartenh at phreaker.net Fri Jun 6 23:09:39 2003 From: maartenh at phreaker.net (Maarten) Date: Fri, 6 Jun 2003 23:09:39 +0200 Subject: Check_service for nrpe_nt is available References: <7E47A0E20913514C8F4CD1BC241A37030A4598@serv-075.icon-germany.local> Message-ID: <005301c32c6f$f23557c0$195019ac@thesnitch> I was wondering: since you are writing all these excellent plugins for windows, are you also working on a check_log for the different windows event logs? It would be really great to be able to query the event logs through ntpe_nt for specifics and alert based on the results.... maarten ----- Original Message ----- From: "Hagen Deike" To: Sent: Wednesday, June 04, 2003 5:10 PM Subject: [Nagios-users] Check_service for nrpe_nt is available > Hi all, > > You can download the check_service plugin for nrpe_nt at > > http://support.tsmgsoftware.com/viewforum.php?f=11 > > Regards, > Hagen > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 23:25:07 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Jun 2003 17:25:07 -0400 Subject: SOLVED Re: check_real on Network Appliance Caches In-Reply-To: <1054916251.2138.9.camel@blindzero.ame.loc> References: <1054908007.2221.5.camel@blindzero.ame.loc> <1054916251.2138.9.camel@blindzero.ame.loc> Message-ID: <1054934706.31564.5.camel@miles.debisschop.net> On Fri, 2003-06-06 at 12:17, Matthias Eichler wrote: > Hi Everybody, > > with some help I got it solved...the problem is, that NetCaches need > some \r\n as newline, the check_real has just \n in it's code. > So for everybody who wants to check RTSP on Network Appliance Caches: > just edit the code to \r\n. Before you submit some new plugin - I would not be surprised of the "\n" was a bug. Most of the protocols like HTTP, TCP, SMTP actually use "\r\n" -- but when originally written a number of plugins were buggy in that that only used "\n". Even if it should be "\n", it woul be pretty easy to add an option to use "\r\n' at the user's discretion. > I will also commit some "check_netcache" Plugin... > > Greetings, > > Matthias > > Am Fre, 2003-06-06 um 16.00 schrieb Matthias Eichler: > > Hi Everybody, > > > > I want to set up some monitoring environment of some streaming media > > infrastructure and I am experiencing some problems with check_real in > > combination with Network Appliance NetCaches. > > > > ./check_real -H realnetworks-server -u /farm/*/encoder/directory/file.rm > > works fine and brings an OK state. > > > > ./check_real -H netcache -u /farm/*/encoder/directory/file.rm > > does always bring up some message: > > ---cut--- > > SET_PARAMETER * RTSP/1.0 > > ---cut--- > > Unfortunately this messages is always printed out, although I am > > checking for some non-existing file... > > > > Does anybody has some experience with monitoring Network Appliance > > Caches?!? > > > > Thanks, > > > > Matthias > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Jun 7 02:40:13 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 20:40:13 -0400 (EDT) Subject: How do I run checks on remote hosts? In-Reply-To: <2726.10.1.1.3.1054927311.squirrel@dcsnow.com> References: <2726.10.1.1.3.1054927311.squirrel@dcsnow.com> Message-ID: On Fri, 6 Jun 2003, AragonX wrote: > Secondly, can someone point me to the HTML docs for the plugins? sorry no html docs. each plugin supports a -h (--help) option for usage help and options. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Jun 7 02:54:54 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 06 Jun 2003 20:54:54 -0400 (EDT) Subject: Install problem In-Reply-To: References: Message-ID: see FAQ# 17 also: From the bash man page: For the shell's purposes, a command which exits with a zero exit status has succeeded. An exit status of zero indicates success. A non-zero exit status indicates fail? ure. When a command terminates on a fatal signal N, bash uses the value of 128+N as the exit status. If a command is not found, the child process created to execute it returns a status of 127. If a command is found but is not executable, the return status is 126. If a command fails because of an error during expansion or redirection, the exit status is greater than zero. Shell builtin commands return a status of 0 (true) if suc? cessful, and non-zero (false) if an error occurs while they execute. All builtins return an exit status of 2 to indicate incorrect usage. Bash itself returns the exit status of the last command executed, unless a syntax error occurs, in which case it exits with a non-zero value. See also the exit builtin command below. On Thu, 5 Jun 2003, Bill Hults wrote: > Hi > I'm working on a new install of Nagios. I'm working on RH7.3 w/Apache > 1.3.27. I've installed Nagios from source & the plugins from RPM. The > startup check returns 0 errors. > I have the web interface working with authentication but the hosts show up > with "(Return code of 126 is out of bounds - plugin may be missing)" > messages. I can't find anything specific to this return code in the archives > though there is a FAQ about the generic issue. > The plugins are in /usr/lib/nogias/plugins & I have set that path for > $USER1$. Nagios is in /usr/local/nagios with cgi.cfg & nagios.cfg in ../etc. > The other config files are in /etc/nagios with the appropriate pointers in > nagios.cfg. > The Tactical Overview page shows a warning that the monitering process is > not running which suggests that the check_nagios plugin suffers from the > same problem. > When I start Nagios from inet.d it starts and gives a message "This account > is currently not available". I'm running Nagios as apache & the nagios start > script shows that user. > Any thoughts? > TIA > > Bill Hults > > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Sat Jun 7 07:16:39 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Sat, 7 Jun 2003 01:16:39 -0400 Subject: disabling nrpe syslog In-Reply-To: References: Message-ID: <200306070116.39664.dom@vbi.vt.edu> Is there a way to disable nrpe from logging? I have debug=0 in nrpe.cfg, yet my logs are getting filled with: Jun 7 01:20:33 gimli nrpe[5308]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Jun 7 01:20:46 gimli nrpe[5365]: INFO: SSL/TLS initialized. All network traffic will be encrypted. in addition, I still can't figure out what part of nrpe causes this to show up: Jun 7 01:18:47 gimli kernel: svc: unknown version (0) Jun 7 01:20:46 gimli kernel: svc: unknown version (0) Before I go into the code, and disable all logging, I was wondering if there's an 'official-supported' way of doing such. thanks, dom ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Jun 7 22:18:47 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 07 Jun 2003 16:18:47 -0400 Subject: HP/Compaq ILO and check_http In-Reply-To: References: Message-ID: <1055017126.983.8.camel@miles.debisschop.net> On Fri, 2003-06-06 at 13:47, Subhendu Ghosh wrote: > which version of check_http? > what is the size of index.html? how long did it take with wget? > > what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the > transaction) > > Can you increase the timeout if above fails? I'm sure i'm only thinking of it because of the recent patch to check_tcp, but I wonder if this could be the same sort of deal - the device is through sending but has not informed the client, or at least not in a way that check_http understands. It doesn't help that the length is unspecified. Sound plausible? I wonder if runnig tcpdump or ethereal while making the request would provide useful data? Maybe log the connection once for wget and a second time for for check_http? Since I know zip about this ILO thingie, I'm not coming up with alot of other ideas. -- Karl > -sg > > On Fri, 6 Jun 2003, Jens Kruse wrote: > > > Hi -sg, > > > > Subhendu Ghosh wrote: > > > > > have you tried the timeout option (-t) > > > It defaults to 10 seconds and then sends a SIGALARM to self. > > > > Yes, same behavior ... > > > > > port 80 transaction looks fine - can you run it under "time" and see how > > > long it took? > > > > Appr. 2 sec., so the -t option didn't help too ... > > > > > port 443 should be ssl so a regular telnet will not work. Try wget or > > > curl. > > > > All right, it works with wget: > > > > monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ > > --15:10:47-- https://10.35.178.154/ > > => `index.html' > > Connecting to 10.35.178.154:443... connected! > > HTTP request sent, awaiting response... 200 Ok > > Length: unspecified [text/html] > > > > 0K . > > > > Does this give you a clue? > > > > Regards, Jens > > > > > > > > >>>But, to start, have you tried the --verbose option? What was the output? > > >> > > >>Yes I did: > > >> > > >>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > > >>80 --verbose > > >>Socket timeout after 10 seconds > > >> > > >>That's the result I receive with or without the --verbose option ... > > >> > > >> > > >> > > >>>Have you tried just running the seesion over telnet? > > >> > > >>Yes. It works with port 80: > > >> > > >>monitor1-lx:~ # telnet 10.35.178.154 80 > > >>Trying 10.35.178.154... > > >>Connected to 10.35.178.154. > > >>Escape character is '^]'. > > >>GET > > >>HTTP/1.1 405 Method Not Allowed > > >>Content-Type:text/html > > >> > > >>Remote Insight > > >>

Request Error

> > >>HTTP/1.1 405 Method Not Allowed > > >> > > >>Connection closed by foreign host. > > >> > > >> > > >>But not with 443: > > >> > > >>monitor1-lx:~ # telnet 10.35.178.154 443 > > >>Trying 10.35.178.154... > > >>Connected to 10.35.178.154. > > >>Escape character is '^]'. > > >>GET > > >> > > >> > > >>I also tried it with 'strace': > > >> > > >>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > > >>10.35.178.154 -p 80 --verbose > > >> > > >>The final output > > >>... > > >>connect(3, {sin_family=AF_INET, sin_port=htons(80), > > >>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > > >>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > > >>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > > >>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > > >>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > > >>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > > >>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > > >>recv(3, "514", 1023, 0) = 3 > > >>recv(3, "\r\n > >>brk(0x8052000) = 0x8052000 > > >>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > > >>brk(0x8053000) = 0x8053000 > > >>recv(3, " server is not configured to use"..., 1023, 0) = 49 > > >>brk(0x8054000) = 0x8054000 > > >>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > > >>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > > >>--- SIGALRM (Alarm clock) --- > > >>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > > >>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > > >>-1, 0) = 0x40016000 > > >>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > > >>seconds > > >>) = 32 > > >>munmap(0x40016000, 4096) = 0 > > >>_exit(2) = ? > > >> > > >> > > >>It stops until it receives a SIGALRM ... (from whome? - The embedded > > >>webserver? - Thats the part I do not understand) > > >> > > >> > > >>In addition: We use iLO Firmware 1.26 > > >> > > >>Can I provide you more information to find a solution for this? > > >> > > >>Regards, > > >> > > >>Jens > > >> ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Sun Jun 8 03:42:19 2003 From: stefmit at comcast.net (stefmit) Date: Sat, 07 Jun 2003 20:42:19 -0500 Subject: propoganda In-Reply-To: References: Message-ID: <200306072042.19036.stefmit@comcast.net> Very nice, indeed. I have one minor observation, if I may: one of the links mentioned in the article: ftp://ftp.ssc.com/pub/lj/issue111/6767.tgz seems to be broken?!? Richard (or somoeone else) - could you possibly share with us the content of it? Thx. Stef On Friday 06 June 2003 01:10 pm, Subhendu Ghosh wrote: > New article in Linux Journal > (subscriber only on the web) > > http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue1 >11&file=index > > > Thanks for writing it Richard > now if only Nagios could cut some grass :) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jengel at home.nl Sun Jun 8 12:51:01 2003 From: jengel at home.nl (jengel) Date: Sun, 8 Jun 2003 12:51:01 +0200 Subject: Statusmap Message-ID: The statusmap is showing me all hosts correctly, but when a host is down then the text below the picture for that host is showing all the time that it is UP ( in green color). The popup window for that host shows that the services are down. Why don't I see under the picture of the host not the text DOWN ( in red color). Thanks Jac ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Sun Jun 8 17:33:08 2003 From: larry.bills at mci.com (Larry Bills) Date: Sun, 08 Jun 2003 10:33:08 -0500 Subject: Correct URLfor Propaganda Articla References: <200306072042.19036.stefmit@comcast.net> Message-ID: <000001c32de0$5e943000$6401a8c0@mcilink.com> The correct url should be: ftp://ftp.ssc.com/pub/lj/listings/issue111/6767.tgz the "listings" directory was left out Larry Bills ----- Original Message ----- From: "stefmit" To: Sent: Saturday, June 07, 2003 8:42 PM Subject: [Nagios-users] Re: propoganda > Very nice, indeed. I have one minor observation, if I may: one of the links > mentioned in the article: > > ftp://ftp.ssc.com/pub/lj/issue111/6767.tgz > > seems to be broken?!? > > Richard (or somoeone else) - could you possibly share with us the content of > it? > > Thx. > Stef > > > On Friday 06 June 2003 01:10 pm, Subhendu Ghosh wrote: > > New article in Linux Journal > > (subscriber only on the web) > > > > http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue1 > >11&file=index > > > > > > Thanks for writing it Richard > > now if only Nagios could cut some grass :) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Sun Jun 8 20:06:35 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Sun, 8 Jun 2003 11:06:35 -0700 Subject: Solaris 2.8 Total_Proc and Zombie_Proc Doesnt work Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB042F28B0@zanexch.zantaz.com> My check_procs plugin segfaults when I run it. Everything else I've tried works (the other plugins). Anyone have a working one or some idea why this plugin doesn't want to work? Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From HarlanRichardC at JohnDeere.com Mon Jun 9 04:35:34 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Sun, 8 Jun 2003 21:35:34 -0500 Subject: propoganda Message-ID: <5A8210C827DA0D40AE5BD0DCF96CBCB71863F6@edxmb8.jdnet.deere.com> Sorry about that the link was put in by Linux Journal. If you would like something posted that got left out just let me know. And thanks for the comments. -----Original Message----- From: stefmit [mailto:stefmit at comcast.net] Sent: Sat 6/7/2003 8:42 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Re: propoganda Very nice, indeed. I have one minor observation, if I may: one of the links mentioned in the article: ftp://ftp.ssc.com/pub/lj/issue111/6767.tgz seems to be broken?!? Richard (or somoeone else) - could you possibly share with us the content of it? Thx. Stef On Friday 06 June 2003 01:10 pm, Subhendu Ghosh wrote: > New article in Linux Journal > (subscriber only on the web) > > http://www.linuxjournal.com/modules.php?op=modload &name=NS-lj-issues/issue1 >11&file=index > > > Thanks for writing it Richard > now if only Nagios could cut some grass :) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gianluca.boccia at bitmedia.it Mon Jun 9 14:46:31 2003 From: gianluca.boccia at bitmedia.it (giabbo) Date: 9 Jun 2003 12:46:31 -0000 Subject: Problem Compiling N.R.P.E. on AIX Unix 4.3 Message-ID: <20030609124631.19292.qmail@pod-163.dolphin-server.co.uk> I have a problem when compiling all version of nrpe tools on unix aix. I try to compile the nrpe, for example version 1.8, with standard options, and gcc compiler; when the GCC compiles, it finds an error in nrpe.c and utils.c in the some use of variable declared in system.h library. This is the output: >gcc -g -O2 -DHAVE_CONFIG_H -lnsl nrpe.c utils.c -o nrpe >In file included from ../common/config.h:110, from nrpe.c:22: >/usr/lynx/cross_43/lib/gcc-lib/powerpc-cetia-lynxos/2.8. 1/natif/usr/include/sys/time.h:21: >warning: #warning Using instead of >nrpe.c: In function `wait_for_connections': >nrpe.c:352: `AF_INET' undeclared (first use in this function) >nrpe.c:352: (Each undeclared identifier is reported only once >nrpe.c:352: for each function it appears in.) >nrpe.c:352: `SOCK_STREAM' undeclared (first use in this >function) >nrpe.c:362: `SOL_SOCKET' undeclared (first use in this >function) >nrpe.c:362: `SO_REUSEADDR' undeclared (first use in this >function) >In file included from ../common/config.h:110, from utils.h:32, from utils.c:33: >/usr/lynx/cross_43/lib/gcc-lib/powerpc-cetia-lynxos/2.8. 1/natif/usr/include/sys/time.h:21: >warning: #warning Using instead of >utils.c: In function `my_connect': >utils.c:54: `AF_INET' undeclared (first use in this function) >utils.c:54: (Each undeclared identifier is reported only once >utils.c:54: for each function it appears in.) >utils.c:61: warning: passing arg 1 of `gethostbyname' discards >`const' from pointer target type >utils.c:77: `PF_INET' undeclared (first use in this function) >utils.c:77: `SOCK_DGRAM' undeclared (first use in this >function) >utils.c:77: `SOCK_STREAM' undeclared (first use in this >function) >make[1]: *** [nrpe] Error 1 Someone have idea to resolve this problem ??? Thanks for all Gianluca ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Mon Jun 9 15:00:48 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 9 Jun 2003 15:00:48 +0200 (CEST) Subject: return code out of bounds??? Message-ID: hi all I have a few Perl plugins (some submitted to the list), and a variant of the check_mssql (perl) plugin gives me some serious problems. Sometimes it just tells me '(Return code of 141 is out of bounds)' as the output, but running the plugin with the exact same arguments works fine. Any idea what this might be? I'm running Debian with perl 5.8.0 roy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Mon Jun 9 16:01:04 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 9 Jun 2003 15:01:04 +0100 Subject: Problem Compiling N.R.P.E. on AIX Unix 4.3 Message-ID: <1012BD903945D411915500105A48FF5701C73078@nt.man.fwltech.com> AIX being awkward, you will need to add the line #include to nrpe.c and utils.c near the top where the other #include statements are. Also, it'll be worth the effort to change the line #include to #include whereever it occurs. Ewan > -----Original Message----- > From: giabbo [mailto:gianluca.boccia at bitmedia.it] > Sent: 09 June 2003 13:47 > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem Compiling N.R.P.E. on AIX Unix 4.3 > > > > I have a problem when compiling all version of nrpe tools on unix aix. > I try to compile the nrpe, for example version 1.8, with > standard options, and gcc compiler; > when the GCC compiles, it finds an error in nrpe.c and > utils.c in the some use of variable declared in system.h > library. This is the output: > > >gcc -g -O2 -DHAVE_CONFIG_H -lnsl nrpe.c utils.c -o nrpe > >In file included from ../common/config.h:110, > from nrpe.c:22: > >/usr/lynx/cross_43/lib/gcc-lib/powerpc-cetia-lynxos/2.8. > 1/natif/usr/include/sys/time.h:21: >warning: #warning Using > instead of > >nrpe.c: In function `wait_for_connections': > >nrpe.c:352: `AF_INET' undeclared (first use in this function) > >nrpe.c:352: (Each undeclared identifier is reported only once > >nrpe.c:352: for each function it appears in.) > >nrpe.c:352: `SOCK_STREAM' undeclared (first use in this >function) > >nrpe.c:362: `SOL_SOCKET' undeclared (first use in this >function) > >nrpe.c:362: `SO_REUSEADDR' undeclared (first use in this >function) > >In file included from ../common/config.h:110, > from utils.h:32, > from utils.c:33: > >/usr/lynx/cross_43/lib/gcc-lib/powerpc-cetia-lynxos/2.8. > 1/natif/usr/include/sys/time.h:21: >warning: #warning Using > instead of > >utils.c: In function `my_connect': > >utils.c:54: `AF_INET' undeclared (first use in this function) > >utils.c:54: (Each undeclared identifier is reported only once > >utils.c:54: for each function it appears in.) > >utils.c:61: warning: passing arg 1 of `gethostbyname' > discards >`const' from pointer target type > >utils.c:77: `PF_INET' undeclared (first use in this function) > >utils.c:77: `SOCK_DGRAM' undeclared (first use in this >function) > >utils.c:77: `SOCK_STREAM' undeclared (first use in this >function) > >make[1]: *** [nrpe] Error 1 > > Someone have idea to resolve this problem ??? > > Thanks for all > > Gianluca > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at lycos.com Mon Jun 9 17:07:51 2003 From: julien.touche at lycos.com (julien Touche) Date: Mon, 09 Jun 2003 17:07:51 +0200 Subject: zombie & openbsd Message-ID: <3EE4A2C7.40401@lycos.com> a little precision about zombie on openbsd state is not Z, but ZW -bash-2.05b# /opt/nagios/libexec/check_procs -w 5 -c 10 -s ZW WARNING - 8 processes running with STATE = ZW -bash-2.05b# /opt/nagios/libexec/check_procs -w 5 -c 10 -s Z OK - 0 processes running with STATE = Z (default in nrpe.cfg is Z) so pay attention Regards Julien ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshavdia at aol.com Mon Jun 9 17:42:48 2003 From: dshavdia at aol.com (DShavdia) Date: 9 Jun 2003 15:42:48 -0000 Subject: Variables Not Showing Up Message-ID: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> Hey, I'm trying to develop a Nagios plug-in (written in Perl). And I have the plug-in print the value: print "$state: Used: $usedpercent% Free: $gigsfree GBn"; where the variables have apprioprate values. When I run in from my linux box it returns correct values. Ex: OK: Used: 10% Free: 33.37 GB. But on Nagios, this shows up: OK: Used: % Free: GB. This is driving me crazy. Anyone know what's happening? Thanks for the help. Dewang ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From waldo at cos.com Mon Jun 9 18:00:06 2003 From: waldo at cos.com (David Waldo) Date: Mon, 9 Jun 2003 12:00:06 -0400 Subject: Failover pager notifications Message-ID: All - I want to make sure that pager notifications are delivered even when our network or our internet connection is down. I can get both epaging and paging via modem/TAP working, but I don't want to get 2 pages (one from each notification command) for each notification. Ideally, I'd like to set up a service check for my pager company's SMTP server. If it went down, an event handler would trigger an external command to shutdown all epaging and enable all modem/TAP paging for all contacts. Unfortunately, it doesn't look like Nagios has this ability. Neither the contact->host/service_notification_commands nor the recognized external commands look like they support anything like this. It also doesn't look like you can 'chain' notification_commands in a contact definition, so that if one notification method fails, try an alternate one: notify-by-epager || notify-by-modem. It looks like my only alternative is to write my own notification command wrapper script which implements this logic: - run check_smtp plug-in against epager SMTP server. - if it returns 0, send email page. - else send modem page. Has anyone else solved this problem any other way? - Dave Waldo ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckalos at esaya.com Mon Jun 9 17:54:34 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Mon, 09 Jun 2003 11:54:34 -0400 Subject: Check_cluster help? Message-ID: Before I roll this out, I understand how to configure the command for individual services. I'm just at a loss for how to set it up as a service to be checked. Services are always checked on a per-host basis. In the case of a service cluster, how do you set this up? Do you just set up a cluster check for *one* host, as it's really a dummy command that just scrubs the status log, or do you set it up to check all members of the cluster? I'd assume the former for alert generation, but without built-in cluster support for nagios, both methods seem contrary to the general methods that nagios uses to rank service problems and generate alerts. I personally think that clustering shouldn't be dependent on a plugin, as the check itself doesn't even rely on checking the services at all. Is this going to be rolled into a future version of Nagios as a configuration option? CK ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From firemann816 at hotmail.com Mon Jun 9 18:55:33 2003 From: firemann816 at hotmail.com (Austin Mann) Date: Mon, 9 Jun 2003 11:55:33 -0500 Subject: NooB with Apache & Status Map Error Message-ID: Hello All - First Thanks to Tom Welsh of Square Box for the demo . (I had to have this tool after seeing your demo, and using it, THANKS !!!) Secondly this list saved me a lot of grief, up front. (I used the GNAME interface and searched on Redhat, lib, ld.so.conf etc to learn how their rpm based system will impact my compiles.) So I compiled nagios as so: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin \ --with-htmurl=/nagios --with-nagios-user=nagios \ --with-gd-lib=/usr/lib --with-gd-inc=/usr/include \ --with-nagios-grp=nagios I verified the paths first myself, and they're valid. The compile went well, things look good. However in the Status map view (standard not 3d) When I click on a host I get the dreaded "Internal server error" from Apache. I researched this on the list and think my problem is different, perhaps not, but it appeared to me it might be after looking at /var/log/httpd/error.log: [Mon Jun 9 05:55:05 2003] [error] [client 192.168.210.19] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi [Mon Jun 9 06:30:16 2003] [error] [client 192.168.210.19] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi [Mon Jun 9 06:30:24 2003] [error] [client 192.168.210.19] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi (I have not bound apache and nagios into a similar group, and am willing to if someone thinks this is it, but everything else seems to work) Also my status map is "ugly" (although I'm glad I got this far, ;^)) by comparison to Tom Welsh's and the screen shots on the main page. I downloaded the images (pretty icons) from Extras and got them config'd but my background is "green engineering paper." I'd prefer a pristine white, or something, any hints here are also appreciatted. Thanks to all since I've learned from reading of your experiences, and a Double Thanks to anyone who will help me overcome the statusmap / Apache Error thing -Austin Mann Marshall Medical Centers austin mann mmcenters com supporting info follows: [nagios at nagios bin]$ ./nagios -v ../etc/nagios.cfg Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 4 services. Checking hosts... Checked 4 hosts. Checking host groups... Checked 4 host groups. Checking contacts... Checked 3 contacts. Checking contact groups... Checked 4 contact groups. Checking service escalations... Checked 1 service escalations. Checking host group escalations... Checked 2 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 22 commands. Checking time periods... Checked 4 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: 0 Things look okay - No serious problems were detected during the pre-flight check from :/var/log/httpd/error.log: [Mon Jun 9 05:55:05 2003] [error] [client 192.168.210.19] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi [Mon Jun 9 06:30:16 2003] [error] [client 192.168.210.19] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi [Mon Jun 9 06:30:24 2003] [error] [client 192.168.210.19] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Apache/1.3.27 (Red-Hat/Linux) = Apache Server version nagios 1.1 = nagios version nagios-plugins-1.3.0 =plugin version Red Hat Linux 7.3 =OS nagios.mmcenters.com =hostname 2.4.18-3 i686 =Kernel ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frafuval at mixmail.com Mon Jun 9 19:15:56 2003 From: frafuval at mixmail.com (Francisco Javier Furio Val) Date: Mon, 09 Jun 2003 18:15:56 +0100 Subject: no acceptable cc found in $PATH Message-ID: An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Mon Jun 9 19:29:49 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 13:29:49 -0400 (EDT) Subject: no acceptable cc found in $PATH In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003, Francisco Javier Furio Val wrote: > Hi everybody I'm a new Nagios user but i can't install it I've tried with the > admin and local user, but always is the same What am i doing wrong ? Thanks > frafuval > You need to make sure your system has a C compiler - preferably the GNU C compiler. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Jun 9 19:31:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 13:31:36 -0400 (EDT) Subject: Variables Not Showing Up In-Reply-To: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> References: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> Message-ID: On 9 Jun 2003, DShavdia wrote: > > Hey, > > I'm trying to develop a Nagios plug-in (written in Perl). And I have > the plug-in print the value: > > print "$state: Used: $usedpercent% Free: $gigsfree GBn"; > > where the variables have apprioprate values. When I run in from my > linux box it returns correct values. > > Ex: OK: Used: 10% Free: 33.37 GB. > > But on Nagios, this shows up: OK: Used: % Free: GB. > > This is driving me crazy. Anyone know what's happening? > > Thanks for the help. > > Dewang > Try it after removing the "%" from the print statement... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshavdia at aol.com Mon Jun 9 20:07:11 2003 From: dshavdia at aol.com (DShavdia) Date: 9 Jun 2003 18:07:11 -0000 Subject: Variables Not Showing Up In-Reply-To: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> References: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030609180711.18884.qmail@pod-163.dolphin-server.co.uk> Tried that but that doesn't work. Still the same. Thanks though. Dewang ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stottsjr at excite.com Mon Jun 9 22:05:21 2003 From: stottsjr at excite.com (lem) Date: 9 Jun 2003 20:05:21 -0000 Subject: NPRE Compilation Issues... Message-ID: <20030609200521.10012.qmail@pod-163.dolphin-server.co.uk> Hi all! I was trying to compile NPRE 2.0b4 and I get the following error, I've compiled NPRE 1.8 without any issues. What gives? Thanks! Jason ---Output as follows--- cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from /usr/include/sys/types.h:36, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' In file included from utils.h:35, from nrpe.c:24: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: redefinition of `int32_t' ../common/config.h:54: `int32_t' previously declared here In file included from /usr/include/sys/types.h:36, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from utils.h:35, from utils.c:33: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /tmp/nagios/nrpe-2.0b4/src *** Error code 1 make: Fatal error: Command failed for target `all' ---End of Output--- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandler.Collins at silabs.com Mon Jun 9 22:20:40 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Mon, 9 Jun 2003 15:20:40 -0500 Subject: upgrading from 1.0 to 1.1 Message-ID: Hello, I've looked through the Nagios docs online and in the nagios-1.1 source, and looked through the FAQ and searched the mailing list archives. Alas, I can't seem to find any information about what is necessary to upgrade between minor releases. If I've overlooked something, please let me know. Otherwise, I'd really appreciate some pointers on how to do this and still keep all previous configuration intact. I'm currently running nagios 1.0 on Red Hat 9, running version 1.3.0 of the plugins. Thanks very much! Chandler Collins This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From HarlanRichardC at JohnDeere.com Mon Jun 9 22:20:18 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Mon, 9 Jun 2003 15:20:18 -0500 Subject: propoganda Message-ID: <5A8210C827DA0D40AE5BD0DCF96CBCB7187F80@edxmb8.jdnet.deere.com> -----Original Message----- From: Dario B. Bestetti [mailto:dbestetti at opservices.com.br] Sent: Friday, June 06, 2003 1:25 PM To: 'Nagios-users' Subject: RE: [Nagios-users] propoganda Could you cut and paste the story and send it to the list ? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: sexta-feira, 6 de junho de 2003 15:10 To: Nagios-users Subject: [Nagios-users] propoganda New article in Linux Journal (subscriber only on the web) http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue11 1&file=index Thanks for writing it Richard now if only Nagios could cut some grass :) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: http___interactive_linuxjournal_com_Magazines_LJ111_6767.pdf Type: application/octet-stream Size: 149607 bytes Desc: not available URL: From Anthony_Brock at ous.edu Mon Jun 9 22:51:06 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Mon, 09 Jun 2003 13:51:06 -0700 Subject: Service and host dependencies Message-ID: I am having problems identifying how to define a specific dependency situation. Assuming I have 3 hosts (R1, R2, and R2) located behind a transparent firewall. The transparent firewall (FW1) serves as a bridge (using interface 'br0') from the internal network (N1) and the Internet. However, the transparent firewall does NOT have logical connectivity to either network (it does not have an IP address or route to either network). On the other hand, the firewall DOES have a direct network connection to the management network (N2) that nagios is running on. How would I define this dependency? Put simply, I believe I want to define a dependency for each host located behind the transparent FW1. This dependency need to be against the SERVICE of 'br0'. This may seem a little complicated, but it become important when you have more than one bridged interface on a transparent firewall (say, 4 or 5). It is quite possible for one of the bridged interfaces to go down while the other interfaces remain functional. This makes a host/host dependency too broad. Ideas? I keep telling myself it is possible, but I've only found instructions for service/service and host/host dependencies, not for service/host dependencies. Or does someone have a better way to do this? Tony Anthony Brock Unix Administrator/Network Engineer Oregon University System Chancellor's Office (541) 737-9607 Anthony_Brock at ous.edu ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phu at uui.com Tue Jun 10 01:37:17 2003 From: phu at uui.com (Phu Nguyen) Date: Mon, 9 Jun 2003 16:37:17 -0700 Subject: the same check_ping command and agruments works on NT box but not on SOLARIS, LINUX box Message-ID: <001701c32ee0$10de4520$140a0a0a@phu> Hello, This driving me crazy for days, I appreciate for any help and comment. Here is my problem. I install Nagios version 1.0 on Linux SUSE 7.0 box, it runs ok after installed. In service_check for all NT box and Solaris, Linux boxes, I use the same check_ping arguments such as: NT BOX: -------------- define service{ use generic-service ; Name of service template to use host_name sys1_tn1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups System1-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } SOLARIS and LINUX : -------------------------- define service{ use generic-service ; Name of service template to use host_name dev0orc1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups SS7_ORC-admins notification_interval 240 notification_period 24x7 notification_options w,c check_command check_ping!100.0,20%!500.0,60% } Phu Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric.de_la_goublaye_de at alumnos.utfsm.cl Tue Jun 10 02:50:49 2003 From: eric.de_la_goublaye_de at alumnos.utfsm.cl (Eric de la Goublaye de =?iso-8859-1?b?Telub3J2YWw=?=) Date: Mon, 9 Jun 2003 20:50:49 -0400 Subject: statusmap.cgi execution error Message-ID: <1055206249.3ee52b6987ed0@webmail.alumnos.utfsm.cl> Dear List. I have a Solaris 8 box with nagios-1.1 installed and perfectly (?) compiled with gd-1.8.2 and libpng-1.2.4 as packages. Everything works ok, except the 3 cgi?s that use the libpng library. Apache claims that there is a premature end of header and "ld.so" cannot find /usr/local/lib/libpng12.so.0 (statusmap.cgi dependancy). any clues ? PD: I?ve tried LD_LIBRARY_PATH, etc.. regards, Eric ------------------------------------------------------------------------- Este email fue enviado usando IMP: http://webmail.alumnos.utfsm.cl/horde/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 03:35:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 21:35:27 -0400 (EDT) Subject: the same check_ping command and agruments works on NT box but not on SOLARIS, LINUX box In-Reply-To: <001701c32ee0$10de4520$140a0a0a@phu> References: <001701c32ee0$10de4520$140a0a0a@phu> Message-ID: Why don't you use a common template if they are the same? What is the error you are getting? -sg On Mon, 9 Jun 2003, Phu Nguyen wrote: > Hello, > > > > This driving me crazy for days, I appreciate for any help and comment. Here > is my problem. > > > I install Nagios version 1.0 on Linux SUSE 7.0 box, it runs ok after > installed. In service_check for all NT box and Solaris, Linux boxes, I use > the same check_ping arguments such as: > > > > NT BOX: > -------------- > define service{ > use generic-service; Name of service template to use > host_name sys1_tn1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups System1-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > SOLARIS and LINUX : > -------------------------- > define service{ > use generic-service; Name of service template to use > host_name dev0orc1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups SS7_ORC-admins > notification_interval 240 > notification_period 24x7 > notification_options w,c > check_command check_ping!100.0,20%!500.0,60% > > } > > Phu Nguyen -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 03:49:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 21:49:04 -0400 (EDT) Subject: Upgrading from Netsaint 0.0.7 In-Reply-To: <9287F37B80413743823EC736B51CC071797830@ALHM1SRV.alhpridom.as> References: <9287F37B80413743823EC736B51CC071797830@ALHM1SRV.alhpridom.as> Message-ID: rename the netsaint-* files to nagios-* files... -sg On Tue, 3 Jun 2003, Javier Castillo Alcibar wrote: > just copy and paste??? :) > > -----Mensaje original----- > De: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Enviado el: martes, 03 de junio de 2003 18:36 > Para: Javier Castillo Alcibar > CC: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Upgrading from Netsaint 0.0.7 > > > On Thu, 29 May 2003, Javier Castillo Alcibar wrote: > > > Hi list!, > > > > I have two Netsaint 0.0.7 running since last year. Now, I'd purchase a > > > new box, and I would like to install nagios on it, but I don't want to > > > lost historical info stored in the netsaint machines..... Is there any > > > script/method to do this??. > > No script needed :) > > > > > thx in advance. > > > > Javier. > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 04:06:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 22:06:43 -0400 (EDT) Subject: Statusmap modification In-Reply-To: References: Message-ID: Current statusmap only creates one image of all hosts... On Wed, 4 Jun 2003, ROUYER Guilhain (Neuilly Gestion) wrote: > Hi, > I'm using Nagios on a large network, > and i would like to know if it's possible to create multiple statusmap > corresponding to different hostgroups. I mean that at the moment, > when we choose only one layer, to appear, the status map keeps the same size > as if all the layers were displayed .. > Moreover, if you select just one layer, > the links to host in unselected layers still appear ! How to fix that ! > Should I recompile statusmap.c ? > Run many instances of Nagios ? (which looks quite tricky ;) > > Thanks for your help, > > Guilhain Rouyer > Network Engineer > Cetelem > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 04:08:15 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 09 Jun 2003 22:08:15 -0400 (EDT) Subject: return code out of bounds??? In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003, Roy Sigurd Karlsbakk wrote: > hi all > > I have a few Perl plugins (some submitted to the list), and a variant of > the check_mssql (perl) plugin gives me some serious problems. Sometimes it > just tells me '(Return code of 141 is out of bounds)' as the output, but > running the plugin with the exact same arguments works fine. Any idea what > this might be? > > I'm running Debian with perl 5.8.0 > > roy > > Take a look at the man page the shell assigned to nagios for info on return codes.. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Fernandez at mci.com Tue Jun 10 04:29:14 2003 From: Terry.Fernandez at mci.com (Terry) Date: 10 Jun 2003 02:29:14 -0000 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? In-Reply-To: References: Message-ID: <20030610022914.14903.qmail@pod-163.dolphin-server.co.uk> I did a fresh install of 1.1 and had the same issue of the pending going off the page and critical covering most of the page. My quick fix was to copy the tac.cgi from 1.0 over and it seems to be working. I dont think that is the best solution ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 04:32:18 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 09 Jun 2003 22:32:18 -0400 Subject: upgrading from 1.0 to 1.1 In-Reply-To: References: Message-ID: <1055212338.1061.2.camel@miles.debisschop.net> On Mon, 2003-06-09 at 16:20, Chandler A. Collins wrote: > Hello, > > I've looked through the Nagios docs online and in the nagios-1.1 source, and looked > through the FAQ and searched the mailing list archives. Alas, I can't seem to find > any information about what is necessary to upgrade between minor releases. If I've > overlooked something, please let me know. Otherwise, I'd really appreciate some > pointers on how to do this and still keep all previous configuration intact. > > I'm currently running nagios 1.0 on Red Hat 9, running version 1.3.0 of the plugins. It's just a bug fix release. There are no changes to config files. If you use the RPM, it will not overwrite you configs. IIRC, the manual build has a separate step for installing the configs, which you should not do. Either verify or backup you configs first. Actauuly, back them up in any case. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 04:34:48 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 09 Jun 2003 22:34:48 -0400 Subject: propoganda In-Reply-To: <5A8210C827DA0D40AE5BD0DCF96CBCB7187F80@edxmb8.jdnet.deere.com> References: <5A8210C827DA0D40AE5BD0DCF96CBCB7187F80@edxmb8.jdnet.deere.com> Message-ID: <1055212488.1061.6.camel@miles.debisschop.net> The story is copyrighted and has not been made available to those who do not subscribe. IANAL, but I think you are asking the list to break the law by infringing copyright. Please don't. -- Karl On Mon, 2003-06-09 at 16:20, Harlan Richard C wrote: > -----Original Message----- > From: Dario B. Bestetti [mailto:dbestetti at opservices.com.br] > Sent: Friday, June 06, 2003 1:25 PM > To: 'Nagios-users' > Subject: RE: [Nagios-users] propoganda > > > Could you cut and paste the story and send it to the list ? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu > Ghosh > Sent: sexta-feira, 6 de junho de 2003 15:10 > To: Nagios-users > Subject: [Nagios-users] propoganda > > > New article in Linux Journal > (subscriber only on the web) > > http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue11 > 1&file=index > > > Thanks for writing it Richard > now if only Nagios could cut some grass :) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd at bsd.uchicago.edu Tue Jun 10 04:22:33 2003 From: todd at bsd.uchicago.edu (Todd Anderson) Date: Mon, 9 Jun 2003 21:22:33 -0500 Subject: upgrading from 1.0 to 1.1 In-Reply-To: References: Message-ID: I tested installing overtop of a current install, copied in tac.cgi from version 1 and was done. no problems on the system so far. cp -rp cd ~nagios-1.1 ./configure -- make all make install make install-commandmode cp /sbin/tac.cgi /sbin/tac.cgi todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chandler A. Collins Sent: Monday, June 09, 2003 3:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] upgrading from 1.0 to 1.1 Hello, I've looked through the Nagios docs online and in the nagios-1.1 source, and looked through the FAQ and searched the mailing list archives. Alas, I can't seem to find any information about what is necessary to upgrade between minor releases. If I've overlooked something, please let me know. Otherwise, I'd really appreciate some pointers on how to do this and still keep all previous configuration intact. I'm currently running nagios 1.0 on Red Hat 9, running version 1.3.0 of the plugins. Thanks very much! Chandler Collins This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoleri at scoleri.net Tue Jun 10 03:49:19 2003 From: scoleri at scoleri.net (Steven Scoleri) Date: Mon, 9 Jun 2003 21:49:19 -0400 (EDT) Subject: Can't Acknowledge for Passive Checks Message-ID: For passive services in a Critical status I cannot acknowledge in the Web CGI. The acknowledge button isn't even there? The funny thing is I can acknowledge the CRIT's from my phone with the WAP cgi??? The acknowledge works for hosts the central server check directly (non-passive). Same user for both WAP and WEB - all privileges. Thanks, -Scoleri ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 05:06:29 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 09 Jun 2003 23:06:29 -0400 Subject: Service and host dependencies In-Reply-To: References: Message-ID: <1055214389.1061.38.camel@miles.debisschop.net> On Mon, 2003-06-09 at 16:51, Anthony Brock wrote: > I am having problems identifying how to define a specific dependency situation. Assuming > I have 3 hosts (R1, R2, and R2) located behind a transparent firewall. The transparent > firewall (FW1) serves as a bridge (using interface 'br0') from the internal network (N1) > and the Internet. > > However, the transparent firewall does NOT have logical connectivity to either network > (it does not have an IP address or route to either network). On the other hand, the > firewall DOES have a direct network connection to the management network (N2) that > nagios is running on. How would I define this dependency? > > Put simply, I believe I want to define a dependency for each host located behind > the transparent FW1. This dependency need to be against the SERVICE of 'br0'. This > may seem a little complicated, but it become important when you have more than one > bridged interface on a transparent firewall (say, 4 or 5). It is quite possible for > one of the bridged interfaces to go down while the other interfaces remain functional. > This makes a host/host dependency too broad. > > Ideas? I keep telling myself it is possible, but I've only found instructions for > service/service and host/host dependencies, not for service/host dependencies. Or > does someone have a better way to do this? The host check can be defined any way you want. So define a 'virtual' host that corresponds to what you presently have defined as the service br0. You probably also want to have this new virtual host be a child of the firewall host. Unfirtunately, I don't think I can be any more specific that that without knowing how the service 'br0' is implemented. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 designit.com.au Tue Jun 10 05:54:27 2003 From: karl at designit.com.au (Karl Latiss) Date: 10 Jun 2003 13:54:27 +1000 Subject: service dependencies and hosts Message-ID: <1055217267.2070.5.camel@darkstar.internal.designit.com.au> I haven't seen any response to the below question so am wondering if I've missed something in the docs? If so if someone could point it out for me I would appreciate it. Thanks. Karl. (Original question below) ---------------------------------------------- My understanding of service checks is that if a service check fails then a host check will be performed. If the host check fails I will receive a host notification. If I have service AND host dependencies in place, in what order are they processed? IE. if a service check fails and doesn't meet any of the service or notification check dependencies for check or notification suppression does a standard host check take place, or does Nagios then check the host dependencies to see if the failure may be related to another host? I can't find any documentation that explains the relationship between service and host dependencies - just their individual operation (http://nagios.sourceforge.net/docs/1_0/dependencies.html) -- Karl Latiss design IT ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sidpinoy at yahoo.com Tue Jun 10 06:32:54 2003 From: sidpinoy at yahoo.com (lombard0) Date: 10 Jun 2003 04:32:54 -0000 Subject: Error: Could not read host and service status information! Message-ID: <20030610043254.4274.qmail@pod-163.dolphin-server.co.uk> Hi All! Have anybody experience this error? This is the error I'm getting from the web interface. The reporting is working though. I have checked the files for permissions, logs said that the daemon has started without a problem. Here's my system environment: FreeBSD 4.8-Stable Nagios 1.0_1 I have installed Nagios from the ports collection. Appreciate your help. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Tue Jun 10 08:30:56 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Tue, 10 Jun 2003 08:30:56 +0200 Subject: HP/Compaq ILO and check_http References: Message-ID: <3EE57B20.40007@mobilcom.de> Hi Subhendu, Subhendu Ghosh wrote: > which version of check_http? monitor2-lx:/usr/local/nagios/libexec # ./check_http -V check_http (nagios-plugins 1.3.0) 1.24 > what is the size of index.html? how long did it take with wget? I don't know the size, as it is an embedded device I don't have an idea how to find out ... I can't tell you the exect time, as I have to CTRL-C it ... > what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the > transaction) monitor2-lx:/usr/local/nagios/libexec # ./check_http -S -H 10.35.178.154 -u / -t 30 -v check_http: invalid option - SSL is not available ??? So I tried it without -S and pushed the time amount up to 90 Seconds ... monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 -u / -t 90 -v Socket timeout after 90 seconds Just no answer ... > Can you increase the timeout if above fails? ??? Regards, Jens > On Fri, 6 Jun 2003, Jens Kruse wrote: > > >>Hi -sg, >> >>Subhendu Ghosh wrote: >> >> >>>have you tried the timeout option (-t) >>>It defaults to 10 seconds and then sends a SIGALARM to self. >> >>Yes, same behavior ... >> >> >>>port 80 transaction looks fine - can you run it under "time" and see how >>>long it took? >> >>Appr. 2 sec., so the -t option didn't help too ... >> >> >>>port 443 should be ssl so a regular telnet will not work. Try wget or >>>curl. >> >>All right, it works with wget: >> >>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ >>--15:10:47-- https://10.35.178.154/ >> => `index.html' >>Connecting to 10.35.178.154:443... connected! >>HTTP request sent, awaiting response... 200 Ok >>Length: unspecified [text/html] >> >> 0K . >> >>Does this give you a clue? >> >>Regards, Jens >> >> >> >> >>>>>But, to start, have you tried the --verbose option? What was the output? >>>> >>>>Yes I did: >>>> >>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p >>>>80 --verbose >>>>Socket timeout after 10 seconds >>>> >>>>That's the result I receive with or without the --verbose option ... >>>> >>>> >>>> >>>> >>>>>Have you tried just running the seesion over telnet? >>>> >>>>Yes. It works with port 80: >>>> >>>>monitor1-lx:~ # telnet 10.35.178.154 80 >>>>Trying 10.35.178.154... >>>>Connected to 10.35.178.154. >>>>Escape character is '^]'. >>>>GET >>>>HTTP/1.1 405 Method Not Allowed >>>>Content-Type:text/html >>>> >>>>Remote Insight >>>>

Request Error

>>>>HTTP/1.1 405 Method Not Allowed >>>> >>>>Connection closed by foreign host. >>>> >>>> >>>>But not with 443: >>>> >>>>monitor1-lx:~ # telnet 10.35.178.154 443 >>>>Trying 10.35.178.154... >>>>Connected to 10.35.178.154. >>>>Escape character is '^]'. >>>>GET >>>> >>>> >>>>I also tried it with 'strace': >>>> >>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H >>>>10.35.178.154 -p 80 --verbose >>>> >>>>The final output >>>>... >>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), >>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 >>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 >>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 >>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 >>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 >>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 >>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 >>>>recv(3, "514", 1023, 0) = 3 >>>>recv(3, "\r\n>>>brk(0x8052000) = 0x8052000 >>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 >>>>brk(0x8053000) = 0x8053000 >>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 >>>>brk(0x8054000) = 0x8054000 >>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 >>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) >>>>--- SIGALRM (Alarm clock) --- >>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 >>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, >>>>-1, 0) = 0x40016000 >>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 >>>>seconds >>>>) = 32 >>>>munmap(0x40016000, 4096) = 0 >>>>_exit(2) = ? >>>> >>>> >>>>It stops until it receives a SIGALRM ... (from whome? - The embedded >>>>webserver? - Thats the part I do not understand) >>>> >>>> >>>>In addition: We use iLO Firmware 1.26 >>>> >>>>Can I provide you more information to find a solution for this? >>>> >>>>Regards, >>>> >>>>Jens >>>> >>> > > -- Mit freundlichen Gr??en Jens Kruse Linux Systemadministration MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Tue Jun 10 08:40:38 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Tue, 10 Jun 2003 08:40:38 +0200 Subject: HP/Compaq ILO and check_http References: <1055017126.983.8.camel@miles.debisschop.net> Message-ID: <3EE57D66.2010506@mobilcom.de> Hi Karl, Karl DeBisschop wrote: > I wonder if runnig tcpdump or ethereal while making the request would > provide useful data? Maybe log the connection once for wget and a second > time for for check_http? OK, here's the dump for wget ... <------------------------ schnipp ------------------------------> monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 tcpdump: listening on eth0 08:33:48.382982 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: S 307329410:307329410(0) win 5840 (DF) 08:33:48.383782 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) tell mccg-lx-rilo.mobilcom.de 08:33:48.383798 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 08:33:48.384202 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: S 693572000:693572000(0) ack 307329411 win 5840 08:33:48.384223 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) 08:33:48.384364 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: P 1:99(98) ack 1 win 5840 (DF) 08:33:48.387907 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 1:16(15) ack 99 win 5840 08:33:48.387921 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) 08:33:48.388731 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 16:18(2) ack 99 win 5840 08:33:48.388741 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) 08:33:48.389579 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 18:41(23) ack 99 win 5840 08:33:48.389590 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) 08:33:48.390244 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 41:43(2) ack 99 win 5840 08:33:48.390254 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) 08:33:48.391103 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 43:81(38) ack 99 win 5840 08:33:48.391113 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) 08:33:48.391732 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 81:83(2) ack 99 win 5840 08:33:48.391749 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 83 win 5840 (DF) 08:33:48.392648 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 83:106(23) ack 99 win 5840 08:33:48.392672 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 106 win 5840 (DF) 08:33:48.393500 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 106:125(19) ack 99 win 5840 08:33:48.393518 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 125 win 5840 (DF) 08:33:48.394156 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 125:127(2) ack 99 win 5840 08:33:48.394175 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 127 win 5840 (DF) 08:33:48.395005 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 127:153(26) ack 99 win 5840 08:33:48.395024 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 153 win 5840 (DF) 08:33:48.395649 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 153:155(2) ack 99 win 5840 08:33:48.395667 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 155 win 5840 (DF) 08:33:48.396511 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 155:157(2) ack 99 win 5840 08:33:48.396531 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 157 win 5840 (DF) 08:33:48.398632 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 157:160(3) ack 99 win 5840 08:33:48.398668 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 160 win 5840 (DF) 08:33:48.400319 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 160:696(536) ack 99 win 5840 08:33:48.400335 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 696 win 6432 (DF) 08:33:48.400323 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: . 696:1232(536) ack 99 win 5840 08:33:48.400349 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 1232 win 7504 (DF) 08:33:48.402360 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 1232:1464(232) ack 99 win 5840 08:33:48.402376 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 1464 win 8576 (DF) 08:33:48.404361 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57059: P 1464:1936(472) ack 99 win 5840 08:33:48.404371 monitor2-lx.mobilcom.de.57059 > mccg-lx-rilo.mobilcom.de.http: . ack 1936 win 9648 (DF) 40 packets received by filter 0 packets dropped by kernel <------------------------ schnipp ------------------------------> And here for the check_http ... <------------------------ schnipp ------------------------------> monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 Socket timeout after 10 seconds monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 tcpdump: listening on eth0 08:37:08.065489 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: icmp: echo request (DF) 08:37:08.066027 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: icmp: echo reply 08:37:08.280371 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: S 521852342:521852342(0) win 5840 (DF) 08:37:08.281148 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) tell mccg-lx-rilo.mobilcom.de 08:37:08.281171 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 08:37:08.281564 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: S 693771910:693771910(0) ack 521852343 win 5840 08:37:08.281620 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) 08:37:08.281827 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: P 1:92(91) ack 1 win 5840 (DF) 08:37:08.285304 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 1:16(15) ack 92 win 5840 08:37:08.285322 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) 08:37:08.285995 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 16:18(2) ack 92 win 5840 08:37:08.286007 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) 08:37:08.286883 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 18:41(23) ack 92 win 5840 08:37:08.286896 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) 08:37:08.287544 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 41:43(2) ack 92 win 5840 08:37:08.287556 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) 08:37:08.288390 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 43:81(38) ack 92 win 5840 08:37:08.288411 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) 08:37:08.289048 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 81:83(2) ack 92 win 5840 08:37:08.289211 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 83 win 5840 (DF) 08:37:08.289944 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 83:106(23) ack 92 win 5840 08:37:08.290077 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 106 win 5840 (DF) 08:37:08.290896 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 106:108(2) ack 92 win 5840 08:37:08.291064 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 108 win 5840 (DF) 08:37:08.291821 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 108:155(47) ack 92 win 5840 08:37:08.291898 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 155 win 5840 (DF) 08:37:08.292734 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 155:157(2) ack 92 win 5840 08:37:08.292851 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 157 win 5840 (DF) 08:37:08.294812 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 157:160(3) ack 92 win 5840 08:37:08.294978 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 160 win 5840 (DF) 08:37:08.296288 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 160:696(536) ack 92 win 5840 08:37:08.296379 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 696 win 6432 (DF) 08:37:08.297090 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: . 696:1232(536) ack 92 win 5840 08:37:08.297142 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 1232 win 7504 (DF) 08:37:08.299364 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 1232:1768(536) ack 92 win 5840 08:37:08.299417 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 1768 win 8576 (DF) 08:37:08.301282 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: P 1768:1936(168) ack 92 win 5840 08:37:08.301752 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 1936 win 8576 (DF) 08:37:09.072478 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: icmp: echo request (DF) 08:37:09.072998 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: icmp: echo reply 08:37:10.072510 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: icmp: echo request (DF) 08:37:10.072984 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: icmp: echo reply 08:37:11.072511 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: icmp: echo request (DF) 08:37:11.072996 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: icmp: echo reply 08:37:12.072495 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: icmp: echo request (DF) 08:37:12.072990 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: icmp: echo reply 08:37:18.272849 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: F 92:92(0) ack 1936 win 8576 (DF) 08:37:18.273526 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: . ack 93 win 5840 08:37:18.274257 mccg-lx-rilo.mobilcom.de.http > monitor2-lx.mobilcom.de.57412: F 1936:1936(0) ack 93 win 5840 08:37:18.274280 monitor2-lx.mobilcom.de.57412 > mccg-lx-rilo.mobilcom.de.http: . ack 1937 win 8576 (DF) 50 packets received by filter 0 packets dropped by kernel <------------------------ schnipp ------------------------------> Maybe the ICMP Packages are a hint ... ? > Since I know zip about this ILO thingie, I'm not coming up with alot of > other ideas. Thnaks for helping! Jens >>On Fri, 6 Jun 2003, Jens Kruse wrote: >> >> >>>Hi -sg, >>> >>>Subhendu Ghosh wrote: >>> >>> >>>>have you tried the timeout option (-t) >>>>It defaults to 10 seconds and then sends a SIGALARM to self. >>> >>>Yes, same behavior ... >>> >>> >>>>port 80 transaction looks fine - can you run it under "time" and see how >>>>long it took? >>> >>>Appr. 2 sec., so the -t option didn't help too ... >>> >>> >>>>port 443 should be ssl so a regular telnet will not work. Try wget or >>>>curl. >>> >>>All right, it works with wget: >>> >>>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ >>>--15:10:47-- https://10.35.178.154/ >>> => `index.html' >>>Connecting to 10.35.178.154:443... connected! >>>HTTP request sent, awaiting response... 200 Ok >>>Length: unspecified [text/html] >>> >>> 0K . >>> >>>Does this give you a clue? >>> >>>Regards, Jens >>> >>> >>> >>> >>>>>>But, to start, have you tried the --verbose option? What was the output? >>>>> >>>>>Yes I did: >>>>> >>>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p >>>>>80 --verbose >>>>>Socket timeout after 10 seconds >>>>> >>>>>That's the result I receive with or without the --verbose option ... >>>>> >>>>> >>>>> >>>>> >>>>>>Have you tried just running the seesion over telnet? >>>>> >>>>>Yes. It works with port 80: >>>>> >>>>>monitor1-lx:~ # telnet 10.35.178.154 80 >>>>>Trying 10.35.178.154... >>>>>Connected to 10.35.178.154. >>>>>Escape character is '^]'. >>>>>GET >>>>>HTTP/1.1 405 Method Not Allowed >>>>>Content-Type:text/html >>>>> >>>>>Remote Insight >>>>>

Request Error

>>>>>HTTP/1.1 405 Method Not Allowed >>>>> >>>>>Connection closed by foreign host. >>>>> >>>>> >>>>>But not with 443: >>>>> >>>>>monitor1-lx:~ # telnet 10.35.178.154 443 >>>>>Trying 10.35.178.154... >>>>>Connected to 10.35.178.154. >>>>>Escape character is '^]'. >>>>>GET >>>>> >>>>> >>>>>I also tried it with 'strace': >>>>> >>>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H >>>>>10.35.178.154 -p 80 --verbose >>>>> >>>>>The final output >>>>>... >>>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), >>>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 >>>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 >>>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 >>>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 >>>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 >>>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 >>>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 >>>>>recv(3, "514", 1023, 0) = 3 >>>>>recv(3, "\r\n>>>>brk(0x8052000) = 0x8052000 >>>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 >>>>>brk(0x8053000) = 0x8053000 >>>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 >>>>>brk(0x8054000) = 0x8054000 >>>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 >>>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) >>>>>--- SIGALRM (Alarm clock) --- >>>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 >>>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, >>>>>-1, 0) = 0x40016000 >>>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 >>>>>seconds >>>>>) = 32 >>>>>munmap(0x40016000, 4096) = 0 >>>>>_exit(2) = ? >>>>> >>>>> >>>>>It stops until it receives a SIGALRM ... (from whome? - The embedded >>>>>webserver? - Thats the part I do not understand) >>>>> >>>>> >>>>>In addition: We use iLO Firmware 1.26 >>>>> >>>>>Can I provide you more information to find a solution for this? >>>>> >>>>>Regards, >>>>> >>>>>Jens >>>>> >>>> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mit freundlichen Gr??en Jens Kruse Linux Systemadministration MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jun 10 10:47:49 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 10 Jun 2003 09:47:49 +0100 Subject: upgrading from 1.0 to 1.1 Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137A3@jessica.herefordshire.gov.uk> No need to use the old tac.cgi, just aplt this diff to the new cgi/tac.c. --- tac.c.old 2003-06-05 15:32:35.000000000 +0100 +++ tac.c.new 2003-06-05 15:32:44.000000000 +0100 @@ -1220,10 +1220,10 @@ printf("\n"); printf("\n"); - /* + printf("\n"); printf("\n"); - */ + printf("\n"); --------------------------------------------- Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Todd Anderson [mailto:todd at bsd.uchicago.edu] > Sent: 10 June 2003 03:23 > To: Chandler A. Collins; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] upgrading from 1.0 to 1.1 > > > I tested installing overtop of a current install, copied in > tac.cgi from > version 1 and was done. > no problems on the system so far. > > > cp -rp > cd ~nagios-1.1 > ./configure -- > make all > make install > make install-commandmode > cp /sbin/tac.cgi /sbin/tac.cgi > > > > todd > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chandler > A. Collins > Sent: Monday, June 09, 2003 3:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] upgrading from 1.0 to 1.1 > > > > Hello, > > I've looked through the Nagios docs online and in the > nagios-1.1 source, and > looked through the FAQ and searched the mailing list > archives. Alas, I > can't seem to find any information about what is necessary to upgrade > between minor releases. If I've overlooked something, please > let me know. > Otherwise, I'd really appreciate some pointers on how to do > this and still > keep all previous configuration intact. > > I'm currently running nagios 1.0 on Red Hat 9, running > version 1.3.0 of the > plugins. > > Thanks very much! > > Chandler Collins > > This email and any attachments thereto may contain private, > confidential, > and privileged material for the sole use of the intended > recipient. Any > review, copying, or distribution of this email (or any > attachments thereto) > by others is strictly prohibited. If you are not the intended > recipient, > please contact the sender immediately and permanently delete > the original > and any copies of this email and any attachments thereto. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrius at skynet.lt Tue Jun 10 12:07:04 2003 From: andrius at skynet.lt (andrius at skynet.lt) Date: Tue, 10 Jun 2003 13:07:04 +0300 Subject: Problem with hostextinfo and hostgroup_name Message-ID: <20030610100704.GC16878@mx> Hello, all, I have following setup in my hostextinfo.cfg: define hostextinfo{ name mysql icon_image sun.png icon_image_alt Some Server vrml_image sun.png statusmap_image sun.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 register 0 } define hostextinfo{ use mysql hostgroup_name mysql-servers } Problem is, that nagios silently accepts this with no errors or warnings, but I still cannot see sun.png shining in my status map for all servers. Idea behind this setup is to be able to apply "template", named "mysql" to all servers, that are members of hostgroup "mysql-servers". If this is not possible - can someone propose simple way to apply this template to multiple servers without manually defining each server - when you have 150 and more the same type servers it is an issue... Thanks, Andrius ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Tue Jun 10 13:04:07 2003 From: fredrik.wanglund at datavis.se (=?UTF-8?B?RnJlZHJpayBXw6RuZ2x1bmQ=?=) Date: Tue, 10 Jun 2003 13:04:07 +0200 Subject: Problem with hostextinfo and hostgroup_name References: <20030610100704.GC16878@mx> Message-ID: <3EE5BB27.7090706@datavis.se> You can't use 'hostgroup_name' in extinfo-definitions. Use 'host_name' instead... Nagios don't check the extinfo-files because it's a part of the web-interface. /FredrikW andrius at skynet.lt wrote: >Hello, all, > >I have following setup in my hostextinfo.cfg: > >define hostextinfo{ > name mysql > icon_image sun.png > icon_image_alt Some Server > vrml_image sun.png > statusmap_image sun.gd2 > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > register 0 >} > >define hostextinfo{ > use mysql > hostgroup_name mysql-servers >} > >Problem is, that nagios silently accepts this with no errors >or warnings, but I still cannot see sun.png shining in my status map for >all servers. > >Idea behind this setup is to be able to apply "template", named "mysql" >to all servers, that are members of hostgroup "mysql-servers". > >If this is not possible - can someone propose simple way to apply this template >to multiple servers without manually defining each server - when you have 150 and >more the same type servers it is an issue... > >Thanks, >Andrius > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 13:03:01 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 10 Jun 2003 07:03:01 -0400 Subject: HP/Compaq ILO and check_http In-Reply-To: <3EE57B20.40007@mobilcom.de> References: <3EE57B20.40007@mobilcom.de> Message-ID: <1055242980.1061.44.camel@miles.debisschop.net> On Tue, 2003-06-10 at 02:30, Jens Kruse wrote: > Hi Subhendu, > > Subhendu Ghosh wrote: > > which version of check_http? > > monitor2-lx:/usr/local/nagios/libexec # ./check_http -V > check_http (nagios-plugins 1.3.0) 1.24 > > > > what is the size of index.html? how long did it take with wget? > > I don't know the size, as it is an embedded device I don't have an idea > how to find out ... > I can't tell you the exect time, as I have to CTRL-C it ... I missed that in previous posts... It looks like check_http is not the only client that has this problem. Form that, I further infer that the device is not correctly closing the connection, and the client cannot either because the length is not provided. Does a broswer read the steam correctly, or do you have to press the 'stop; button to stop loading the page? Can you send us the last few lines of an output page? -- Karl > > what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the > > transaction) > > monitor2-lx:/usr/local/nagios/libexec # ./check_http -S -H 10.35.178.154 > -u / -t 30 -v > check_http: invalid option - SSL is not available > > ??? > > So I tried it without -S and pushed the time amount up to 90 Seconds ... > > monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 -u > / -t 90 -v > Socket timeout after 90 seconds > > Just no answer ... > > > Can you increase the timeout if above fails? > > ??? > > Regards, Jens > > > > > On Fri, 6 Jun 2003, Jens Kruse wrote: > > > > > >>Hi -sg, > >> > >>Subhendu Ghosh wrote: > >> > >> > >>>have you tried the timeout option (-t) > >>>It defaults to 10 seconds and then sends a SIGALARM to self. > >> > >>Yes, same behavior ... > >> > >> > >>>port 80 transaction looks fine - can you run it under "time" and see how > >>>long it took? > >> > >>Appr. 2 sec., so the -t option didn't help too ... > >> > >> > >>>port 443 should be ssl so a regular telnet will not work. Try wget or > >>>curl. > >> > >>All right, it works with wget: > >> > >>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ > >>--15:10:47-- https://10.35.178.154/ > >> => `index.html' > >>Connecting to 10.35.178.154:443... connected! > >>HTTP request sent, awaiting response... 200 Ok > >>Length: unspecified [text/html] > >> > >> 0K . > >> > >>Does this give you a clue? > >> > >>Regards, Jens > >> > >> > >> > >> > >>>>>But, to start, have you tried the --verbose option? What was the output? > >>>> > >>>>Yes I did: > >>>> > >>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > >>>>80 --verbose > >>>>Socket timeout after 10 seconds > >>>> > >>>>That's the result I receive with or without the --verbose option ... > >>>> > >>>> > >>>> > >>>> > >>>>>Have you tried just running the seesion over telnet? > >>>> > >>>>Yes. It works with port 80: > >>>> > >>>>monitor1-lx:~ # telnet 10.35.178.154 80 > >>>>Trying 10.35.178.154... > >>>>Connected to 10.35.178.154. > >>>>Escape character is '^]'. > >>>>GET > >>>>HTTP/1.1 405 Method Not Allowed > >>>>Content-Type:text/html > >>>> > >>>>Remote Insight > >>>>

Request Error

> >>>>HTTP/1.1 405 Method Not Allowed > >>>> > >>>>Connection closed by foreign host. > >>>> > >>>> > >>>>But not with 443: > >>>> > >>>>monitor1-lx:~ # telnet 10.35.178.154 443 > >>>>Trying 10.35.178.154... > >>>>Connected to 10.35.178.154. > >>>>Escape character is '^]'. > >>>>GET > >>>> > >>>> > >>>>I also tried it with 'strace': > >>>> > >>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > >>>>10.35.178.154 -p 80 --verbose > >>>> > >>>>The final output > >>>>... > >>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), > >>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > >>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > >>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > >>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > >>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > >>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > >>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > >>>>recv(3, "514", 1023, 0) = 3 > >>>>recv(3, "\r\n >>>>brk(0x8052000) = 0x8052000 > >>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > >>>>brk(0x8053000) = 0x8053000 > >>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 > >>>>brk(0x8054000) = 0x8054000 > >>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > >>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > >>>>--- SIGALRM (Alarm clock) --- > >>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > >>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > >>>>-1, 0) = 0x40016000 > >>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > >>>>seconds > >>>>) = 32 > >>>>munmap(0x40016000, 4096) = 0 > >>>>_exit(2) = ? > >>>> > >>>> > >>>>It stops until it receives a SIGALRM ... (from whome? - The embedded > >>>>webserver? - Thats the part I do not understand) > >>>> > >>>> > >>>>In addition: We use iLO Firmware 1.26 > >>>> > >>>>Can I provide you more information to find a solution for this? > >>>> > >>>>Regards, > >>>> > >>>>Jens > >>>> > >>> > > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 13:16:13 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 10 Jun 2003 07:16:13 -0400 Subject: HP/Compaq ILO and check_http In-Reply-To: <3EE57D66.2010506@mobilcom.de> References: <1055017126.983.8.camel@miles.debisschop.net> <3EE57D66.2010506@mobilcom.de> Message-ID: <1055243773.1061.53.camel@miles.debisschop.net> On Tue, 2003-06-10 at 02:40, Jens Kruse wrote: > Hi Karl, > > Karl DeBisschop wrote: > > > I wonder if runnig tcpdump or ethereal while making the request would > > provide useful data? Maybe log the connection once for wget and a second > > time for for check_http? > OK, here's the dump for wget ... I have only just scanned it, but it looks to me like the ILO is streaming the data... Could that be true? If so, you need to be able put a size and/or time limit on it. You would probably like to be able to say 'report an error if in n seconds less than j bytes are delivered.' Does that make any sense for your context? (I admit I'm doing alot of guessing here still, as I still don't know much [anything, actually] about the device -- I've heard of a 'Lights Out' card for campaq, I think - is that what this is? Are there any technical specs available for the device? Do they say anything about a streaming mode or something similar?) I don't think you can set a max on bytes delivered with check_http presently, tyhough you can with check_tcp from CVS. But it's a feature that could and probably should be added. -- Karl > <------------------------ schnipp ------------------------------> > monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 > tcpdump: listening on eth0 > 08:33:48.382982 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: S 307329410:307329410(0) win 5840 1460,sackOK,timestamp 196131746 0,nop,wscale 0> (DF) > 08:33:48.383782 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) > tell mccg-lx-rilo.mobilcom.de > 08:33:48.383798 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 > 08:33:48.384202 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: S 693572000:693572000(0) ack 307329411 > win 5840 > 08:33:48.384223 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) > 08:33:48.384364 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: P 1:99(98) ack 1 win 5840 (DF) > 08:33:48.387907 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 1:16(15) ack 99 win 5840 > 08:33:48.387921 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) > 08:33:48.388731 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 16:18(2) ack 99 win 5840 > 08:33:48.388741 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) > 08:33:48.389579 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 18:41(23) ack 99 win 5840 > 08:33:48.389590 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) > 08:33:48.390244 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 41:43(2) ack 99 win 5840 > 08:33:48.390254 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) > 08:33:48.391103 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 43:81(38) ack 99 win 5840 > 08:33:48.391113 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) > 08:33:48.391732 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 81:83(2) ack 99 win 5840 > 08:33:48.391749 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 83 win 5840 (DF) > 08:33:48.392648 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 83:106(23) ack 99 win 5840 > 08:33:48.392672 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 106 win 5840 (DF) > 08:33:48.393500 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 106:125(19) ack 99 win 5840 > 08:33:48.393518 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 125 win 5840 (DF) > 08:33:48.394156 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 125:127(2) ack 99 win 5840 > 08:33:48.394175 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 127 win 5840 (DF) > 08:33:48.395005 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 127:153(26) ack 99 win 5840 > 08:33:48.395024 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 153 win 5840 (DF) > 08:33:48.395649 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 153:155(2) ack 99 win 5840 > 08:33:48.395667 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 155 win 5840 (DF) > 08:33:48.396511 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 155:157(2) ack 99 win 5840 > 08:33:48.396531 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 157 win 5840 (DF) > 08:33:48.398632 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 157:160(3) ack 99 win 5840 > 08:33:48.398668 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 160 win 5840 (DF) > 08:33:48.400319 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 160:696(536) ack 99 win 5840 > 08:33:48.400335 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 696 win 6432 (DF) > 08:33:48.400323 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: . 696:1232(536) ack 99 win 5840 > 08:33:48.400349 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 1232 win 7504 (DF) > 08:33:48.402360 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 1232:1464(232) ack 99 win 5840 > 08:33:48.402376 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 1464 win 8576 (DF) > 08:33:48.404361 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57059: P 1464:1936(472) ack 99 win 5840 > 08:33:48.404371 monitor2-lx.mobilcom.de.57059 > > mccg-lx-rilo.mobilcom.de.http: . ack 1936 win 9648 (DF) > > > > 40 packets received by filter > 0 packets dropped by kernel > <------------------------ schnipp ------------------------------> > > And here for the check_http ... > > <------------------------ schnipp ------------------------------> > monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 > Socket timeout after 10 seconds > monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 > tcpdump: listening on eth0 > 08:37:08.065489 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: > icmp: echo request (DF) > 08:37:08.066027 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: > icmp: echo reply > 08:37:08.280371 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: S 521852342:521852342(0) win 5840 1460,sackOK,timestamp 196151735 0,nop,wscale 0> (DF) > 08:37:08.281148 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) > tell mccg-lx-rilo.mobilcom.de > 08:37:08.281171 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 > 08:37:08.281564 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: S 693771910:693771910(0) ack 521852343 > win 5840 > 08:37:08.281620 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) > 08:37:08.281827 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: P 1:92(91) ack 1 win 5840 (DF) > 08:37:08.285304 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 1:16(15) ack 92 win 5840 > 08:37:08.285322 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) > 08:37:08.285995 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 16:18(2) ack 92 win 5840 > 08:37:08.286007 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) > 08:37:08.286883 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 18:41(23) ack 92 win 5840 > 08:37:08.286896 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) > 08:37:08.287544 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 41:43(2) ack 92 win 5840 > 08:37:08.287556 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) > 08:37:08.288390 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 43:81(38) ack 92 win 5840 > 08:37:08.288411 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) > 08:37:08.289048 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 81:83(2) ack 92 win 5840 > 08:37:08.289211 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 83 win 5840 (DF) > 08:37:08.289944 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 83:106(23) ack 92 win 5840 > 08:37:08.290077 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 106 win 5840 (DF) > 08:37:08.290896 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 106:108(2) ack 92 win 5840 > 08:37:08.291064 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 108 win 5840 (DF) > 08:37:08.291821 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 108:155(47) ack 92 win 5840 > 08:37:08.291898 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 155 win 5840 (DF) > 08:37:08.292734 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 155:157(2) ack 92 win 5840 > 08:37:08.292851 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 157 win 5840 (DF) > 08:37:08.294812 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 157:160(3) ack 92 win 5840 > 08:37:08.294978 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 160 win 5840 (DF) > 08:37:08.296288 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 160:696(536) ack 92 win 5840 > 08:37:08.296379 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 696 win 6432 (DF) > 08:37:08.297090 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: . 696:1232(536) ack 92 win 5840 > 08:37:08.297142 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 1232 win 7504 (DF) > 08:37:08.299364 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 1232:1768(536) ack 92 win 5840 > 08:37:08.299417 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 1768 win 8576 (DF) > 08:37:08.301282 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: P 1768:1936(168) ack 92 win 5840 > 08:37:08.301752 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 1936 win 8576 (DF) > 08:37:09.072478 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: > icmp: echo request (DF) > 08:37:09.072998 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: > icmp: echo reply > 08:37:10.072510 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: > icmp: echo request (DF) > 08:37:10.072984 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: > icmp: echo reply > 08:37:11.072511 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: > icmp: echo request (DF) > 08:37:11.072996 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: > icmp: echo reply > 08:37:12.072495 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: > icmp: echo request (DF) > 08:37:12.072990 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: > icmp: echo reply > 08:37:18.272849 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: F 92:92(0) ack 1936 win 8576 (DF) > 08:37:18.273526 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: . ack 93 win 5840 > 08:37:18.274257 mccg-lx-rilo.mobilcom.de.http > > monitor2-lx.mobilcom.de.57412: F 1936:1936(0) ack 93 win 5840 > 08:37:18.274280 monitor2-lx.mobilcom.de.57412 > > mccg-lx-rilo.mobilcom.de.http: . ack 1937 win 8576 (DF) > > > > 50 packets received by filter > 0 packets dropped by kernel > <------------------------ schnipp ------------------------------> > > Maybe the ICMP Packages are a hint ... ? > > > Since I know zip about this ILO thingie, I'm not coming up with alot of > > other ideas. > > Thnaks for helping! > > Jens > > > >>On Fri, 6 Jun 2003, Jens Kruse wrote: > >> > >> > >>>Hi -sg, > >>> > >>>Subhendu Ghosh wrote: > >>> > >>> > >>>>have you tried the timeout option (-t) > >>>>It defaults to 10 seconds and then sends a SIGALARM to self. > >>> > >>>Yes, same behavior ... > >>> > >>> > >>>>port 80 transaction looks fine - can you run it under "time" and see how > >>>>long it took? > >>> > >>>Appr. 2 sec., so the -t option didn't help too ... > >>> > >>> > >>>>port 443 should be ssl so a regular telnet will not work. Try wget or > >>>>curl. > >>> > >>>All right, it works with wget: > >>> > >>>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ > >>>--15:10:47-- https://10.35.178.154/ > >>> => `index.html' > >>>Connecting to 10.35.178.154:443... connected! > >>>HTTP request sent, awaiting response... 200 Ok > >>>Length: unspecified [text/html] > >>> > >>> 0K . > >>> > >>>Does this give you a clue? > >>> > >>>Regards, Jens > >>> > >>> > >>> > >>> > >>>>>>But, to start, have you tried the --verbose option? What was the output? > >>>>> > >>>>>Yes I did: > >>>>> > >>>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > >>>>>80 --verbose > >>>>>Socket timeout after 10 seconds > >>>>> > >>>>>That's the result I receive with or without the --verbose option ... > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Have you tried just running the seesion over telnet? > >>>>> > >>>>>Yes. It works with port 80: > >>>>> > >>>>>monitor1-lx:~ # telnet 10.35.178.154 80 > >>>>>Trying 10.35.178.154... > >>>>>Connected to 10.35.178.154. > >>>>>Escape character is '^]'. > >>>>>GET > >>>>>HTTP/1.1 405 Method Not Allowed > >>>>>Content-Type:text/html > >>>>> > >>>>>Remote Insight > >>>>>

Request Error

> >>>>>HTTP/1.1 405 Method Not Allowed > >>>>> > >>>>>Connection closed by foreign host. > >>>>> > >>>>> > >>>>>But not with 443: > >>>>> > >>>>>monitor1-lx:~ # telnet 10.35.178.154 443 > >>>>>Trying 10.35.178.154... > >>>>>Connected to 10.35.178.154. > >>>>>Escape character is '^]'. > >>>>>GET > >>>>> > >>>>> > >>>>>I also tried it with 'strace': > >>>>> > >>>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > >>>>>10.35.178.154 -p 80 --verbose > >>>>> > >>>>>The final output > >>>>>... > >>>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), > >>>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > >>>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > >>>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > >>>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > >>>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > >>>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > >>>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > >>>>>recv(3, "514", 1023, 0) = 3 > >>>>>recv(3, "\r\n >>>>>brk(0x8052000) = 0x8052000 > >>>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > >>>>>brk(0x8053000) = 0x8053000 > >>>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 > >>>>>brk(0x8054000) = 0x8054000 > >>>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > >>>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > >>>>>--- SIGALRM (Alarm clock) --- > >>>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > >>>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > >>>>>-1, 0) = 0x40016000 > >>>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > >>>>>seconds > >>>>>) = 32 > >>>>>munmap(0x40016000, 4096) = 0 > >>>>>_exit(2) = ? > >>>>> > >>>>> > >>>>>It stops until it receives a SIGALRM ... (from whome? - The embedded > >>>>>webserver? - Thats the part I do not understand) > >>>>> > >>>>> > >>>>>In addition: We use iLO Firmware 1.26 > >>>>> > >>>>>Can I provide you more information to find a solution for this? > >>>>> > >>>>>Regards, > >>>>> > >>>>>Jens > >>>>> > >>>> > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Tue Jun 10 14:42:19 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Tue, 10 Jun 2003 14:42:19 +0200 Subject: HP/Compaq ILO and check_http References: <3EE57B20.40007@mobilcom.de> <1055242980.1061.44.camel@miles.debisschop.net> Message-ID: <3EE5D22B.1020009@mobilcom.de> Hi Karl, hi *, Karl DeBisschop wrote: > Does a broswer read the steam correctly, or do you have to press the > 'stop; button to stop loading the page? Different browsers read the stream well (either 80 or 443), even links etc. > Can you send us the last few lines of an output page? monitor2-lx:/usr/local/nagios/libexec # telnet 10.35.178.154 80 Trying 10.35.178.154... Connected to 10.35.178.154. Escape character is '^]'. GET HTTP/1.1 405 Method Not Allowed Content-Type:text/html Remote Insight

Request Error

HTTP/1.1 405 Method Not Allowed Connection closed by foreign host. The following will show you more info on requiring http://10.35.178.154: http://www.kruse-kiel.de/nagios/ilo-prob1.png The device tells you that you'll need https: http://www.kruse-kiel.de/nagios/ilo-prob2.png And maybe the following will give you some more clues (requiring IE 5.5): http://www.kruse-kiel.de/nagios/ilo-prob3.png Regards, Jens >>>what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the >>>transaction) >> >>monitor2-lx:/usr/local/nagios/libexec # ./check_http -S -H 10.35.178.154 >>-u / -t 30 -v >>check_http: invalid option - SSL is not available >> >>??? >> >>So I tried it without -S and pushed the time amount up to 90 Seconds ... >> >>monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 -u >>/ -t 90 -v >>Socket timeout after 90 seconds >> >>Just no answer ... >> >> >>>Can you increase the timeout if above fails? >> >>??? >> >>Regards, Jens >> >> >> >> >>>On Fri, 6 Jun 2003, Jens Kruse wrote: >>> >>> >>> >>>>Hi -sg, >>>> >>>>Subhendu Ghosh wrote: >>>> >>>> >>>> >>>>>have you tried the timeout option (-t) >>>>>It defaults to 10 seconds and then sends a SIGALARM to self. >>>> >>>>Yes, same behavior ... >>>> >>>> >>>> >>>>>port 80 transaction looks fine - can you run it under "time" and see how >>>>>long it took? >>>> >>>>Appr. 2 sec., so the -t option didn't help too ... >>>> >>>> >>>> >>>>>port 443 should be ssl so a regular telnet will not work. Try wget or >>>>>curl. >>>> >>>>All right, it works with wget: >>>> >>>>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ >>>>--15:10:47-- https://10.35.178.154/ >>>> => `index.html' >>>>Connecting to 10.35.178.154:443... connected! >>>>HTTP request sent, awaiting response... 200 Ok >>>>Length: unspecified [text/html] >>>> >>>> 0K . >>>> >>>>Does this give you a clue? >>>> >>>>Regards, Jens >>>> >>>> >>>> >>>> >>>> >>>>>>>But, to start, have you tried the --verbose option? What was the output? >>>>>> >>>>>>Yes I did: >>>>>> >>>>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p >>>>>>80 --verbose >>>>>>Socket timeout after 10 seconds >>>>>> >>>>>>That's the result I receive with or without the --verbose option ... >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Have you tried just running the seesion over telnet? >>>>>> >>>>>>Yes. It works with port 80: >>>>>> >>>>>>monitor1-lx:~ # telnet 10.35.178.154 80 >>>>>>Trying 10.35.178.154... >>>>>>Connected to 10.35.178.154. >>>>>>Escape character is '^]'. >>>>>>GET >>>>>>HTTP/1.1 405 Method Not Allowed >>>>>>Content-Type:text/html >>>>>> >>>>>>Remote Insight >>>>>>

Request Error

>>>>>>HTTP/1.1 405 Method Not Allowed >>>>>> >>>>>>Connection closed by foreign host. >>>>>> >>>>>> >>>>>>But not with 443: >>>>>> >>>>>>monitor1-lx:~ # telnet 10.35.178.154 443 >>>>>>Trying 10.35.178.154... >>>>>>Connected to 10.35.178.154. >>>>>>Escape character is '^]'. >>>>>>GET >>>>>> >>>>>> >>>>>>I also tried it with 'strace': >>>>>> >>>>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H >>>>>>10.35.178.154 -p 80 --verbose >>>>>> >>>>>>The final output >>>>>>... >>>>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), >>>>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 >>>>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 >>>>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 >>>>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 >>>>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 >>>>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 >>>>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 >>>>>>recv(3, "514", 1023, 0) = 3 >>>>>>recv(3, "\r\n>>>>>brk(0x8052000) = 0x8052000 >>>>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 >>>>>>brk(0x8053000) = 0x8053000 >>>>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 >>>>>>brk(0x8054000) = 0x8054000 >>>>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 >>>>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) >>>>>>--- SIGALRM (Alarm clock) --- >>>>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 >>>>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, >>>>>>-1, 0) = 0x40016000 >>>>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 >>>>>>seconds >>>>>>) = 32 >>>>>>munmap(0x40016000, 4096) = 0 >>>>>>_exit(2) = ? >>>>>> >>>>>> >>>>>>It stops until it receives a SIGALRM ... (from whome? - The embedded >>>>>>webserver? - Thats the part I do not understand) >>>>>> >>>>>> >>>>>>In addition: We use iLO Firmware 1.26 >>>>>> >>>>>>Can I provide you more information to find a solution for this? >>>>>> >>>>>>Regards, >>>>>> >>>>>>Jens >>>>>> >>>>> >>> > -- Mit freundlichen Gr??en Jens Kruse Linux Systemadministration MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mian at swemic.net Tue Jun 10 14:51:30 2003 From: mian at swemic.net (Michael Andersson) Date: Tue, 10 Jun 2003 14:51:30 +0200 Subject: Hide hosts on the status map In-Reply-To: <5F29693503507B4FB4032686ADF86267077374@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF86267077374@mtviny25.mtvi.com> Message-ID: <20030610145130.79736e9f.mian@swemic.net> On Tue, 3 Jun 2003 20:12:42 -0400 "Hochberg, Keith" wrote: > [Nagios-users] Hide hosts on the status map > Don't specify a parent in the hosts.cfg for the remote vpn device. > Will this really hide the host(s) on the status map??? Just tried that, since I wanted that feature as well. AFAIK, not to specify a parent in my host configuration file will only result in a root host. Right? Best regards, Michael ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Skrede at TWT.com Tue Jun 10 15:55:22 2003 From: Skrede at TWT.com (Skrede at TWT.com) Date: Tue, 10 Jun 2003 08:55:22 -0500 Subject: Problem with hostextinfo and hostgroup_name Message-ID: I don't believe you can use the hostgroup_name, but you can specify multiple servers in the hostextinfo. define hostextinfo{ host_name bonnie,clyde,unity1,6509-fxs-blade,6509-conference icon_image ciscologo.jpg icon_image_alt Cisco telephony statusmap_image ciscologo.jpg } david skrede skrede at twt.com andrius at skynet.lt Sent by: nagios-users-admin at lists.sourceforge.net 06/10/2003 05:07 AM To: nagios-users at lists.sourceforge.net cc: Subject: [Nagios-users] Problem with hostextinfo and hostgroup_name Hello, all, I have following setup in my hostextinfo.cfg: define hostextinfo{ name mysql icon_image sun.png icon_image_alt Some Server vrml_image sun.png statusmap_image sun.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 register 0 } define hostextinfo{ use mysql hostgroup_name mysql-servers } Problem is, that nagios silently accepts this with no errors or warnings, but I still cannot see sun.png shining in my status map for all servers. Idea behind this setup is to be able to apply "template", named "mysql" to all servers, that are members of hostgroup "mysql-servers". If this is not possible - can someone propose simple way to apply this template to multiple servers without manually defining each server - when you have 150 and more the same type servers it is an issue... Thanks, Andrius ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sghosh at sghosh.org Tue Jun 10 16:42:05 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Jun 2003 10:42:05 -0400 (EDT) Subject: HP/Compaq ILO and check_http In-Reply-To: <3EE5D22B.1020009@mobilcom.de> References: <3EE5D22B.1020009@mobilcom.de> Message-ID: Problem 1: Your plugin (check_http) does not support SSL connections. You need to make sure OpenSSL is locally installed and recompile the plugins to get "https" support. Problem 2: iLO (HP/Compaq's server management card) does seems to "prefer" IE5.5 and doesn't like the "check_http" user agent tag. Problem 3: iLO given proper url paths doesn't seem to stop streaming data. Solutions to try: check_http -H host -u "" -e "405" This will tell you that iLO is up, but the method used to try to connect to it is not supported. Other solutions: 1. Look at the contents of the file retrieved by wget (wrapper -> wget -> parse) 2. modify check_http as proposed by Karl 2a. max bytes to read 2b. configureable user-agent string -sg On Tue, 10 Jun 2003, Jens Kruse wrote: > Hi Karl, hi *, > > Karl DeBisschop wrote: > > Does a broswer read the steam correctly, or do you have to press the > > 'stop; button to stop loading the page? > > Different browsers read the stream well (either 80 or 443), even links etc. > > > Can you send us the last few lines of an output page? > > monitor2-lx:/usr/local/nagios/libexec # telnet 10.35.178.154 80 > Trying 10.35.178.154... > Connected to 10.35.178.154. > Escape character is '^]'. > GET > HTTP/1.1 405 Method Not Allowed > Content-Type:text/html > > Remote Insight >

Request Error

> HTTP/1.1 405 Method Not Allowed > > Connection closed by foreign host. > > The following will show you more info on requiring http://10.35.178.154: > > http://www.kruse-kiel.de/nagios/ilo-prob1.png > > The device tells you that you'll need https: > > http://www.kruse-kiel.de/nagios/ilo-prob2.png > > And maybe the following will give you some more clues (requiring IE 5.5): > > http://www.kruse-kiel.de/nagios/ilo-prob3.png > > Regards, Jens > > > >>>what about: check_http -S -H 10.35.178.154 -u / -t 30 -v (please post the > >>>transaction) > >> > >>monitor2-lx:/usr/local/nagios/libexec # ./check_http -S -H 10.35.178.154 > >>-u / -t 30 -v > >>check_http: invalid option - SSL is not available > >> > >>??? > >> > >>So I tried it without -S and pushed the time amount up to 90 Seconds ... > >> > >>monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 -u > >>/ -t 90 -v > >>Socket timeout after 90 seconds > >> > >>Just no answer ... > >> > >> > >>>Can you increase the timeout if above fails? > >> > >>??? > >> > >>Regards, Jens > >> > >> > >> > >> > >>>On Fri, 6 Jun 2003, Jens Kruse wrote: > >>> > >>> > >>> > >>>>Hi -sg, > >>>> > >>>>Subhendu Ghosh wrote: > >>>> > >>>> > >>>> > >>>>>have you tried the timeout option (-t) > >>>>>It defaults to 10 seconds and then sends a SIGALARM to self. > >>>> > >>>>Yes, same behavior ... > >>>> > >>>> > >>>> > >>>>>port 80 transaction looks fine - can you run it under "time" and see how > >>>>>long it took? > >>>> > >>>>Appr. 2 sec., so the -t option didn't help too ... > >>>> > >>>> > >>>> > >>>>>port 443 should be ssl so a regular telnet will not work. Try wget or > >>>>>curl. > >>>> > >>>>All right, it works with wget: > >>>> > >>>>monitor2-lx:/usr/local/nagios/libexec # wget https://10.35.178.154/ > >>>>--15:10:47-- https://10.35.178.154/ > >>>> => `index.html' > >>>>Connecting to 10.35.178.154:443... connected! > >>>>HTTP request sent, awaiting response... 200 Ok > >>>>Length: unspecified [text/html] > >>>> > >>>> 0K . > >>>> > >>>>Does this give you a clue? > >>>> > >>>>Regards, Jens > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>>>But, to start, have you tried the --verbose option? What was the output? > >>>>>> > >>>>>>Yes I did: > >>>>>> > >>>>>>monitor1-lx:~ # /usr/local/nagios/libexec/check_http -H 10.35.178.154 -p > >>>>>>80 --verbose > >>>>>>Socket timeout after 10 seconds > >>>>>> > >>>>>>That's the result I receive with or without the --verbose option ... > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Have you tried just running the seesion over telnet? > >>>>>> > >>>>>>Yes. It works with port 80: > >>>>>> > >>>>>>monitor1-lx:~ # telnet 10.35.178.154 80 > >>>>>>Trying 10.35.178.154... > >>>>>>Connected to 10.35.178.154. > >>>>>>Escape character is '^]'. > >>>>>>GET > >>>>>>HTTP/1.1 405 Method Not Allowed > >>>>>>Content-Type:text/html > >>>>>> > >>>>>>Remote Insight > >>>>>>

Request Error

> >>>>>>HTTP/1.1 405 Method Not Allowed > >>>>>> > >>>>>>Connection closed by foreign host. > >>>>>> > >>>>>> > >>>>>>But not with 443: > >>>>>> > >>>>>>monitor1-lx:~ # telnet 10.35.178.154 443 > >>>>>>Trying 10.35.178.154... > >>>>>>Connected to 10.35.178.154. > >>>>>>Escape character is '^]'. > >>>>>>GET > >>>>>> > >>>>>> > >>>>>>I also tried it with 'strace': > >>>>>> > >>>>>>monitor1-lx:~ # strace /usr/local/nagios/libexec/check_http -H > >>>>>>10.35.178.154 -p 80 --verbose > >>>>>> > >>>>>>The final output > >>>>>>... > >>>>>>connect(3, {sin_family=AF_INET, sin_port=htons(80), > >>>>>>sin_addr=inet_addr("10.35.178.154")}}, 16) = 0 > >>>>>>send(3, "GET / HTTP/1.0\r\nHost: 10.35.178."..., 91, 0) = 91 > >>>>>>recv(3, "HTTP/1.1 200 Ok", 1023, 0) = 15 > >>>>>>recv(3, "\r\nContent-Type: text/html\r\n", 1023, 0) = 27 > >>>>>>recv(3, "Expires: Fri, 30 Oct 1998 14:19:"..., 1023, 0) = 38 > >>>>>>recv(3, "\r\nCache-Control: no-cache\r\nConne"..., 1023, 0) = 44 > >>>>>>recv(3, "\r\nTransfer-Encoding: chunked\r\n\r\n", 1023, 0) = 32 > >>>>>>recv(3, "514", 1023, 0) = 3 > >>>>>>recv(3, "\r\n >>>>>>brk(0x8052000) = 0x8052000 > >>>>>>recv(3, " licensed to the U.S. Government"..., 1023, 0) = 1023 > >>>>>>brk(0x8053000) = 0x8053000 > >>>>>>recv(3, " server is not configured to use"..., 1023, 0) = 49 > >>>>>>brk(0x8054000) = 0x8054000 > >>>>>>recv(3, "ou will not be able \r\nto communi"..., 1023, 0) = 168 > >>>>>>recv(3, 0x804f440, 1023, 0) = ? ERESTARTSYS (To be restarted) > >>>>>>--- SIGALRM (Alarm clock) --- > >>>>>>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > >>>>>>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > >>>>>>-1, 0) = 0x40016000 > >>>>>>write(1, "Socket timeout after 10 seconds\n", 32Socket timeout after 10 > >>>>>>seconds > >>>>>>) = 32 > >>>>>>munmap(0x40016000, 4096) = 0 > >>>>>>_exit(2) = ? > >>>>>> > >>>>>> > >>>>>>It stops until it receives a SIGALRM ... (from whome? - The embedded > >>>>>>webserver? - Thats the part I do not understand) > >>>>>> > >>>>>> > >>>>>>In addition: We use iLO Firmware 1.26 > >>>>>> > >>>>>>Can I provide you more information to find a solution for this? > >>>>>> > >>>>>>Regards, > >>>>>> > >>>>>>Jens > >>>>>> > >>>>> > >>> > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 16:46:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Jun 2003 10:46:16 -0400 (EDT) Subject: Failover pager notifications In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003, David Waldo wrote: > All - > > I want to make sure that pager notifications are delivered > even when our network or our internet connection is down. > I can get both epaging and paging via modem/TAP working, but I > don't want to get 2 pages (one from each notification command) > for each notification. > > Ideally, I'd like to set up a service check for my pager company's > SMTP server. If it went down, an event handler would trigger an > external command to shutdown all epaging and enable all modem/TAP > paging for all contacts. Unfortunately, it doesn't look like Nagios > has this ability. Neither the contact->host/service_notification_commands > nor the recognized external commands look like they support anything > like this. > > It also doesn't look like you can 'chain' notification_commands in > a contact definition, so that if one notification method fails, > try an alternate one: notify-by-epager || notify-by-modem. > > It looks like my only alternative is to write my own notification > command wrapper script which implements this logic: > > - run check_smtp plug-in against epager SMTP server. > - if it returns 0, send email page. > - else send modem page. > > Has anyone else solved this problem any other way? > This is the way to do it. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstotler at quelsys.com Tue Jun 10 17:14:09 2003 From: jstotler at quelsys.com (Stotler, John) Date: Tue, 10 Jun 2003 11:14:09 -0400 Subject: memory checks? Message-ID: <11FFB5D3F971D41183950001031E1EAA8359FE@CENTRAL> I'm having trouble finding a plugin to watch memory usage. I found mention of a plugin to do this in a "contrib" distribution, but I haven't been able to find it anywhere other than a Mandrake RPM. How are people watching memory usage? thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvain.padoan at sihpic.fr Tue Jun 10 17:31:24 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Tue, 10 Jun 2003 17:31:24 +0200 Subject: nrpe probleme Message-ID: <00cc01c32f65$5a485cc0$c801007e@w80075c> hello, when i want to excecute a plugin in my nagios serveur to a remote host, nagios said: nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c check_users CHECK_NRPE: Error receiving data from host. but when i want to excecute a plugin in my remote host, nagios said : (it's ok!) root at forum:/usr/local/nagios/libexec > /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS OK - 1 users currently logged in my version of nagios : 1.0 in SuSE 7.2 Any ideas ? Thanks a lot. sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: From kelvinchike at blackplanet.com Tue Jun 10 13:44:57 2003 From: kelvinchike at blackplanet.com (kelvin chike) Date: Tue, 10 Jun 2003 04:44:57 -0700 Subject: URGENT BUSINESS TRANSACTION Message-ID: Dear sir/madam, I am a Private Investigator based in Europe. A group of Government Officials from an African Country contacted me with a Proposal. I am to Make contact with you and state their offer, if your Interest is Genuine, you will be Contacted for your Account details to which will be transferred the sum of $33,600,000.00 USD. (20% of which is yours). You are then required to forward the remaining balance (Minus the Interest, handling and tax clearance charges, which Will be offset by Us & Deducted from the transferred sum) to a nominated Bank account in the Cayman Islands. I don't think I need to spell out the importance of Secrecy in this Matter considering the amount involved. Let me state clearly here that the account that you would be providing does not need to have funds in it, it is only needed to be active and be able to receive funds. So, if I don't hear from you within three days I will assume you are not interested and will solicit for a new partner, but if you know you are interested let me know. List your phone & fax Numbers so we may communicate with you. This is important as we would Have to talk about the modalities of the transaction. Waiting to hear from you. kelvin chike ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phu at uui.com Tue Jun 10 18:23:17 2003 From: phu at uui.com (Phu Nguyen) Date: Tue, 10 Jun 2003 09:23:17 -0700 Subject: the same check_ping command and agruments works on NT box but not on SOLARIS, LINUX box In-Reply-To: References: Message-ID: <000c01c32f6c$9a916860$140a0a0a@phu> Thank you for your respond, I'm getting errors from Nagios interface for check_ping such as: CRITICAL - Plugin timed out after 10 seconds Yes, I'm using the template after installed. I've searched thru forum for help, but look like no one has a problem like mine. Again, Thank you for your help. PS. The check_ping works on command line mode with Linux and Solaris boxes, but not when I use it on services.cfg Phu Nguyen -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Monday, June 09, 2003 6:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] the same check_ping command and agruments works on NT box but not on SOLARIS, LINUX box Why don't you use a common template if they are the same? What is the error you are getting? -sg On Mon, 9 Jun 2003, Phu Nguyen wrote: > Hello, > > > > This driving me crazy for days, I appreciate for any help and comment. Here > is my problem. > > > I install Nagios version 1.0 on Linux SUSE 7.0 box, it runs ok after > installed. In service_check for all NT box and Solaris, Linux boxes, I use > the same check_ping arguments such as: > > > > NT BOX: > -------------- > define service{ > use generic-service; Name of service template to use > host_name sys1_tn1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups System1-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > SOLARIS and LINUX : > -------------------------- > define service{ > use generic-service; Name of service template to use > host_name dev0orc1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups SS7_ORC-admins > notification_interval 240 > notification_period 24x7 > notification_options w,c > check_command check_ping!100.0,20%!500.0,60% > > } > > Phu Nguyen -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 10 18:30:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Jun 2003 12:30:58 -0400 (EDT) Subject: no acceptable cc found in $PATH In-Reply-To: References: Message-ID: check your htaccess file and cgi.cfg -sg On Tue, 10 Jun 2003, Francisco Javier Furio Val wrote: > > Thanks a lot > > It works. > > Now, I'm having problems with the user authentication. > > I'm not allowed to view any object in my map. I've tried to change the default > user from guest to nagios or root, but it doesn't work. > > I'll continue tomorrow, if you have any suggestion... ;-) > > See you > > Javier > > ? > > >On Mon, 9 Jun 2003, Francisco Javier Furio Val wrote: >> Hi everybody I'm a new > Nagios user but i can't install it I've tried with the >> admin and local user, > but always is the same What am i doing wrong ? Thanks >> frafuval >> >You need > to make sure your system has a C compiler - preferably the GNU C >compiler. >-- > >-sg > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From denis at tritonnetworking.ca Tue Jun 10 18:27:57 2003 From: denis at tritonnetworking.ca (Denis Lemire) Date: 10 Jun 2003 16:27:57 -0000 Subject: Nagios on FreeBSD, status.cgi signal 11 Message-ID: <20030610162757.15627.qmail@pod-163.dolphin-server.co.uk> I am running nagios on FreeBSD 4.8-RELEASE, compiled from the source tree. Intermitently status.cgi crashes with a signal 11 when I try to access it. It doesn't do this all the time. When it happens I simply keep trying until it works. Quite bizaire. I am having another problem where certain hosts are not showing any info in the 2D map. They do not show pending, down or up. They are simply just blank. Host status information not found shows up when the mouse is hovered over the items in question. I believe these two problems to be related as one one goes away so does the other. Any ideas? Anybody experience simular issues? Thanks for any information. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Tue Jun 10 18:43:10 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 10 Jun 2003 17:43:10 +0100 Subject: nrpe probleme References: <00cc01c32f65$5a485cc0$c801007e@w80075c> Message-ID: <04c101c32f6f$608a5660$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Have you checked nrpe.cfg and set the appropriate values in this? Jim ----- Original Message ----- From: "Sylvain Padoan" To: Sent: Tuesday, June 10, 2003 4:31 PM Subject: [Nagios-users] nrpe probleme hello, when i want to excecute a plugin in my nagios serveur to a remote host, nagios said: nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c check_users CHECK_NRPE: Error receiving data from host. but when i want to excecute a plugin in my remote host, nagios said : (it's ok!) root at forum:/usr/local/nagios/libexec > /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS OK - 1 users currently logged in my version of nagios : 1.0 in SuSE 7.2 Any ideas ? Thanks a lot. sylvain ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wguyton at informs.com Tue Jun 10 18:45:19 2003 From: wguyton at informs.com (william f guyton jr) Date: 10 Jun 2003 11:45:19 -0500 Subject: command.cfg with qmail MTA Message-ID: <1055263519.642.11.camel@qmail> Running the preflight check, with nagios v1.1, I get an error from line 33 in command.cfg: Line 33 is: command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ I have qmail running on this host (RH v8), so my question is what is the syntax for sending this notify to qmail. I have tried /usr/sbin/sendmail -> /var/qmail/bin/sendmail, but then it does not like the -s switch. Any help would be great -- william f guyton jr senior network engineer informs 334.277.0372x133 -------------- next part -------------- An HTML attachment was scrubbed... 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 Richard.Wu at fusepoint.com Tue Jun 10 18:46:47 2003 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Tue, 10 Jun 2003 09:46:47 -0700 Subject: minimum check interval Message-ID: <77F055FA968580429F4546414D8C10E707FD54@s102b.rhcci.net> Tried to set up a ping every 5 seconds ( I know it is uncommon but sometime it is needed) while Nagios(1.0) can only schedule it for 10 seconds, even if I put only ONE ping service check . Is 10 seconds the minimum check interval for Nagios ? Thanks, Richard Wu ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jun 10 19:09:26 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 10 Jun 2003 12:09:26 -0500 Subject: command.cfg with qmail MTA In-Reply-To: <1055263519.642.11.camel@qmail> References: <1055263519.642.11.camel@qmail> Message-ID: <16102.4294.71558.608055@montanaro.dyndns.org> william> Running the preflight check, with nagios v1.1, I get an error william> from line 33 in command.cfg: What's the error message ? william> Line 33 is: william> command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s william> '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ Maybe you need /usr/bin/printf and /usr/bin/mail? william> I have qmail running on this host (RH v8), so my question is william> what is the syntax for sending this notify to qmail. I have william> tried /usr/sbin/sendmail -> /var/qmail/bin/sendmail, but then william> it does not like the -s switch. I really doubt you'll need to resort to calling qmail or sendmail to get this to work on a RedHat system. You almost certainly have /bin/mail and /bin/printf (my Mac has both, but in /usr/bin) or can get them from an rpm. That would be easier than calling sendmail or qmail-faking-sendmail directly. If you can't manage to find and/or install /bin/mail, note that sendmail expects an rfc-2?822 message on stdin. As a first guess I'd try something like /bin/printf "To: $CONTACTEMAIL$\nSubject: $SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$\n\n$OUTPUT$" | /usr/sbin/sendmail -odb but that's just a guess. In any case, I doubt the preflight check is actually trying (and failing) to execute the /bin/mail and /bin/printf. I suspect your problem lies elsewhere. -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wguyton at informs.com Tue Jun 10 19:18:21 2003 From: wguyton at informs.com (william f guyton jr) Date: 10 Jun 2003 12:18:21 -0500 Subject: command.cfg with qmail MTA In-Reply-To: <16102.4294.71558.608055@montanaro.dyndns.org> References: <1055263519.642.11.camel@qmail> <16102.4294.71558.608055@montanaro.dyndns.org> Message-ID: <1055265501.642.19.camel@qmail> error is : Error: Unexpected token or statement in file '/usr/local/nagios/etc/command.cfg' on line 33. On Tue, 2003-06-10 at 12:09, Skip Montanaro wrote: > william> Running the preflight check, with nagios v1.1, I get an error > william> from line 33 in command.cfg: > > What's the error message ? > > william> Line 33 is: > > william> command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s > william> '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ > > Maybe you need /usr/bin/printf and /usr/bin/mail? > > william> I have qmail running on this host (RH v8), so my question is > william> what is the syntax for sending this notify to qmail. I have > william> tried /usr/sbin/sendmail -> /var/qmail/bin/sendmail, but then > william> it does not like the -s switch. > > I really doubt you'll need to resort to calling qmail or sendmail to get > this to work on a RedHat system. You almost certainly have /bin/mail and > /bin/printf (my Mac has both, but in /usr/bin) or can get them from an rpm. > That would be easier than calling sendmail or qmail-faking-sendmail > directly. If you can't manage to find and/or install /bin/mail, note that > sendmail expects an rfc-2?822 message on stdin. As a first guess I'd try > something like > > /bin/printf "To: $CONTACTEMAIL$\nSubject: $SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$\n\n$OUTPUT$" | /usr/sbin/sendmail -odb > > but that's just a guess. In any case, I doubt the preflight check is > actually trying (and failing) to execute the /bin/mail and /bin/printf. I > suspect your problem lies elsewhere. -- william f guyton jr senior network engineer informs 334.277.0372x133 -------------- next part -------------- An HTML attachment was scrubbed... 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 ton.machielsen at private.com Tue Jun 10 19:33:03 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Tue, 10 Jun 2003 19:33:03 +0200 Subject: How to monitor virtually hosted websites? (newbie alert!) Message-ID: Hi all, My name is Ton Machielsen and i'm new to Nagios. I installed it yesterday and to my surprise almost everything works. I have a couple of questions: statusmap.cgi, trends.cgi and histogram.cgi are not installed in sbin. Why? How can i monitor virtually hosted websites? I have seen examples where they configure websites as hosts with different IP addresses, but i have all my sites on one IP address. How? That's all for now. I'm surprised that i got almost everything working, even the NT servers. Now i have to set up notifications. Let's see how that goes. Thanks in advance. Ton. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 10 20:06:28 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 10 Jun 2003 13:06:28 -0500 Subject: How to monitor virtually hosted websites? (newbie alert!) Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E757E@mismail.ena.com> > -----Original Message----- > From: Ton Machielsen [mailto:ton.machielsen at private.com] > Sent: Tuesday, June 10, 2003 12:33 PM > To: Nagios-users at lists.sourceforge.net > > Hi all, > > My name is Ton Machielsen and i'm new to Nagios. I installed it > yesterday and to my surprise almost everything works. > > I have a couple of questions: > > statusmap.cgi, trends.cgi and histogram.cgi are not installed in sbin. > Why? These depend on the proper prior installation of the Boutell GD libraries. Make sure they're installed and that ./configure saw them properly. There has been a lot of chatter about GD and Redhat 8 on the list. Search the archives if that applies to you. > How can i monitor virtually hosted websites? I have seen examples where > they configure websites as hosts with different IP addresses, but i have > all my sites on one IP address. How? Check_http --help The -H flag is what you want. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 20:21:45 2003 From: td3201 at yahoo.com (Terry) Date: Tue, 10 Jun 2003 11:21:45 -0700 (PDT) Subject: recovery notifications from critical state only Message-ID: <20030610182145.45513.qmail@web80505.mail.yahoo.com> Hello, I want to be notified of recoveries if the recovery is from a critical state only. For example, I have warnings sent to one email address and criticals sent to another. I want the recoveries for these to be seperate as well. Is this possible? I cant imagine it would be too difficult to implement... Thank you! ===== Terry __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandler.Collins at silabs.com Tue Jun 10 20:38:13 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Tue, 10 Jun 2003 13:38:13 -0500 Subject: upgrading from 1.0 to 1.1 Message-ID: So far, so good. I just upgraded and everything looks like it's running well. Thanks for the help everyone! Chandler > -----Original Message----- > From: Todd Anderson [mailto:todd at bsd.uchicago.edu] > Sent: Monday, June 09, 2003 9:23 PM > To: Chandler A. Collins; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] upgrading from 1.0 to 1.1 > > > I tested installing overtop of a current install, copied in > tac.cgi from > version 1 and was done. > no problems on the system so far. > > > cp -rp > cd ~nagios-1.1 > ./configure -- > make all > make install > make install-commandmode > cp /sbin/tac.cgi /sbin/tac.cgi > > > > todd > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chandler > A. Collins > Sent: Monday, June 09, 2003 3:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] upgrading from 1.0 to 1.1 > > > > Hello, > > I've looked through the Nagios docs online and in the > nagios-1.1 source, and > looked through the FAQ and searched the mailing list > archives. Alas, I > can't seem to find any information about what is necessary to upgrade > between minor releases. If I've overlooked something, please > let me know. > Otherwise, I'd really appreciate some pointers on how to do > this and still > keep all previous configuration intact. > > I'm currently running nagios 1.0 on Red Hat 9, running > version 1.3.0 of the > plugins. > > Thanks very much! > > Chandler Collins > > This email and any attachments thereto may contain private, > confidential, > and privileged material for the sole use of the intended > recipient. Any > review, copying, or distribution of this email (or any > attachments thereto) > by others is strictly prohibited. If you are not the intended > recipient, > please contact the sender immediately and permanently delete > the original > and any copies of this email and any attachments thereto. > > > This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From skip at pobox.com Tue Jun 10 21:03:40 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 10 Jun 2003 14:03:40 -0500 Subject: How to monitor virtually hosted websites? (newbie alert!) In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E757E@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E757E@mismail.ena.com> Message-ID: <16102.11148.320630.828043@montanaro.dyndns.org> >> statusmap.cgi, trends.cgi and histogram.cgi are not installed in >> sbin. Why? Marc> These depend on the proper prior installation of the Boutell GD Marc> libraries. Note that once you do get them installed you'll have to zap config.cache to force them to be located (I like config.cache less every time I encounter it). Also, be careful of "make clean". It zaps (but shouldn't) the products of configure. That functionality should be reserved for "make distclean". Bad juju, that. -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshavdia at aol.com Tue Jun 10 22:07:40 2003 From: dshavdia at aol.com (DShavdia) Date: 10 Jun 2003 20:07:40 -0000 Subject: Plug-in Development Message-ID: <20030610200740.25869.qmail@pod-163.dolphin-server.co.uk> If I run a command from command line from shell and then put that same command line in the checkcommands.cfg and set it to run, nagios returns a different value. Any ideas? Dewang ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From papendick at nexserver.com Tue Jun 10 22:31:53 2003 From: papendick at nexserver.com (Kevin L. Papendick) Date: Tue, 10 Jun 2003 16:31:53 -0400 Subject: Nagios 1.1 RH 7.3 RPM Problem Message-ID: <3EE64039.2000904@nexserver.com> I've been trying to build a Red Hat 7.3 RPM, but keep running into libgd.so errors when installing nagios-www. I've previously build nagios-1.0 about a month ago based upon a RPMS I got from Origix ( ftp://development.origix.net/pub/SRPMS/ ). I didn't find an updated 1.1 package there, but I did find one at http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/ I was able to successfully install the dag RPM, but it doesn't work for me as I need to change the "--with-command-user" and "--with-command-grp" configurations for the systems this is going to be used on. I've tried various spec file changes base upon what I see in both the Origix and dag files and although both build cleanly, when I attempt to install they fail. I've just rejoined this list, but I saw a recent post in the archives that suggested trying "rpmbuild -ta nagios-1.1.tar.gz" using the source. I did this and pretty much got the same results...nagios-1.1-1.i386.rpm installs, but nagios-www-1.1-1.i386.rpm fails: error: failed dependencies: libgd.so is needed by nagios-www-1.1-1 The GD libraries are in /usr/lib/... /usr/lib/libgd.a /usr/lib/libgdbm.so.2 -> libgdbm.so.2.0.0* /usr/lib/libgdbm.so.2.0.0* /usr/lib/libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1* /usr/lib/libgdk-1.2.so.0.9.1* /usr/lib/libgdk_imlib.so.1 -> libgdk_imlib.so.1.9.13* /usr/lib/libgdk_imlib.so.1.9.13* /usr/lib/libgdk_pixbuf.so.2 -> libgdk_pixbuf.so.2.0.0* /usr/lib/libgdk_pixbuf.so.2.0.0* /usr/lib/libgdk_pixbuf_xlib.so.2 -> libgdk_pixbuf_xlib.so.2.0.0* /usr/lib/libgdk_pixbuf_xlib.so.2.0.0* /usr/lib/libgd.so -> /usr/lib/libgd.so.2.0.2* /usr/lib/libgd.so.1 -> libgd.so.1.8.4* /usr/lib/libgd.so.1.8 -> libgd.so.1.8.4* /usr/lib/libgd.so.1.8.4* /usr/lib/libgd.so.2 -> /usr/lib/libgd.so.2.0.2* /usr/lib/libgd.so.2.0.2* This is the same box that I build 1.0 on about a month ago, thus I don't understand why it is now being so problematic. Any and all help would be most appreciated. Regards, -- ******************************** Kevin L. Papendick Programmer Analyst Nexserver www.nexserver.com papendick at nexserver.com (v) 716-655-9968 (f) 716-655-9982 ******************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Tue Jun 10 22:47:10 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 10 Jun 2003 17:47:10 -0300 Subject: Nagios Notifications Message-ID: <3EE643CD.DC212178@pbh.gov.br> hi! i am using nagios but the system is not send the notificacions, how can i make to nagios send notificacions , i am using the system in one Linux Conectiva 8. What can i have to configure? thanks! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Jun 10 22:45:30 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 10 Jun 2003 13:45:30 -0700 Subject: Variables Not Showing Up References: <20030609154248.21394.qmail@pod-163.dolphin-server.co.uk> Message-ID: Sounds like the subroutine you're using to calculate the $usedpercent and $gigsfree requires something set in your shell environment that the nagios user's environment doesn't have set. Also, if you're making calls to any external commands, make sure they are executable in the context of the nagios user. "DShavdia" wrote in message news:20030609154248.21394.qmail at pod-163.dolphin-server.co.uk... > > Hey, > > I'm trying to develop a Nagios plug-in (written in Perl). And I have the plug-in print the value: > > print "$state: Used: $usedpercent% Free: $gigsfree GBn"; > > where the variables have apprioprate values. When I run in from my linux box it returns correct values. > > Ex: OK: Used: 10% Free: 33.37 GB. > > But on Nagios, this shows up: OK: Used: % Free: GB. > > This is driving me crazy. Anyone know what's happening? > > Thanks for the help. > > Dewang > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Tue Jun 10 23:10:15 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 10 Jun 2003 18:10:15 -0300 Subject: Nagios Notificacions Message-ID: <3EE64936.8A2B8480@pbh.gov.br> hi! i'm using nagios but the nagios doesn?t send the notificacions, he is working no problem, only don?t send the notificacions, i wouldo like to know which configurations i have to do for nagios working ok if someone could help me thanks. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phu at uui.com Wed Jun 11 02:16:44 2003 From: phu at uui.com (Phu Nguyen) Date: Tue, 10 Jun 2003 17:16:44 -0700 Subject: possible ./configure change Message-ID: <000f01c32fae$be37d190$140a0a0a@phu> Hello all, I will install nagios on a SUSE 7.0 box, I wonder if I can use my customize ./configure instead of use the default one? DEFAULT: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios with-nagios-grp=nagios MY CUSTOMIZE: ./configure --prefix=/usr/local/nagios --with-cgiurl=/mycompany/cgi-bin --with-htmurl=/mycompany/ --with-nagios-user=nagios with-nagios-grp=nagios So, after install I will point the browser to http://localhost/mycompany instead of http://localhost/nagios . Can this set up will work? Have anyone done this? Thank you, Phu Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Jun 11 03:19:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Jun 2003 21:19:58 -0400 (EDT) Subject: possible ./configure change In-Reply-To: <000f01c32fae$be37d190$140a0a0a@phu> References: <000f01c32fae$be37d190$140a0a0a@phu> Message-ID: On Tue, 10 Jun 2003, Phu Nguyen wrote: > Hello all, > > > I will install nagios on a SUSE 7.0 box, I wonder if I can use my customize > ./configure instead of use the default one? > > DEFAULT: > > ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios/ --with-nagios-user=nagios with-nagios-grp=nagios > > MY CUSTOMIZE: > ./configure --prefix=/usr/local/nagios --with-cgiurl=/mycompany/cgi-bin > --with-htmurl=/mycompany/ --with-nagios-user=nagios with-nagios-grp=nagios > > So, after install I will point the browser to http://localhost/mycompany > instead of http://localhost/nagios . Can this set up will work? Have anyone > done this? > Absolutely - that's why the configure options are there. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Wed Jun 11 05:36:08 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Wed, 11 Jun 2003 11:36:08 +0800 Subject: Nagat Message-ID: -- im not successfull install Nagat !! can anyone guide me to install Nagat -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Wed Jun 11 06:19:24 2003 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 11 Jun 2003 14:19:24 +1000 Subject: Compling Nagios with MySQL on RH 8.0 issues References: Message-ID: <010001c32fd0$a3bd96c0$d700a8c0@iih.usyd.edu.au> Whilst compiling Nagios 1.1 under Redhat 8 (MySQL 4.0.13 Standard) with the following configure: ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagio s-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-lib=/ usr/local/mysql/lib/ --with-mysql-inc=/usr/local/mysql/include/ The configure works fine but when I run make all I get the errors below (note I have confimed mysql.h and errmsg.h are both present in /usr/local/mysql/include/) - I am presuming the xrddb.c code is looking in the wrong place for these? Of course I could be totally wrong. Thanks in advance James Turnbull gcc -g -O2 -I/usr/local/mysql/include/ -DHAVE_CONFIG_H -DNSCORE -L/usr/local /mysql/lib/ -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory ../xdata/xrddb.c:59: parse error before "xrddb_mysql" ../xdata/xrddb.c:59: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_read_program_information': ../xdata/xrddb.c:823: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:823: (Each undeclared identifier is reported only once ../xdata/xrddb.c:823: for each function it appears in.) ../xdata/xrddb.c:823: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:824: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:824: parse error before "result_row" ../xdata/xrddb.c:854: `result_row' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_host_information': ../xdata/xrddb.c:921: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:921: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:922: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:922: parse error before "result_row" ../xdata/xrddb.c:955: `result_row' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_service_information': ../xdata/xrddb.c:1098: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:1098: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:1099: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:1099: parse error before "result_row" ../xdata/xrddb.c:1133: `result_row' undeclared (first use in this function) ../xdata/xcddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xcddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xcddb.c:66: parse error before "xcddb_mysql" ../xdata/xcddb.c:66: warning: data definition has no type or storage class ../xdata/xcddb.c: In function `xcddb_validate_host_comments': ../xdata/xcddb.c:449: `MYSQL_RES' undeclared (first use in this function) ../xdata/xcddb.c:449: (Each undeclared identifier is reported only once ../xdata/xcddb.c:449: for each function it appears in.) ../xdata/xcddb.c:449: `query_result' undeclared (first use in this function) ../xdata/xcddb.c:450: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xcddb.c:450: parse error before "result_row" ../xdata/xcddb.c:481: `result_row' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_validate_service_comments': ../xdata/xcddb.c:539: `MYSQL_RES' undeclared (first use in this function) ../xdata/xcddb.c:539: `query_result' undeclared (first use in this function) ../xdata/xcddb.c:540: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xcddb.c:540: parse error before "result_row" ../xdata/xcddb.c:570: `result_row' undeclared (first use in this function) ../xdata/xsddb.c:46:25: mysql/mysql.h: No such file or directory ../xdata/xsddb.c:47:26: mysql/errmsg.h: No such file or directory ../xdata/xsddb.c:62: parse error before "xsddb_mysql" ../xdata/xsddb.c:62: warning: data definition has no type or storage class ../xdata/xsddb.c: In function `xsddb_check_connection': ../xdata/xsddb.c:366: `CR_SERVER_LOST' undeclared (first use in this function) ../xdata/xsddb.c:366: (Each undeclared identifier is reported only once ../xdata/xsddb.c:366: for each function it appears in.) ../xdata/xsddb.c:366: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) ../xdata/xdddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xdddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xdddb.c:66: parse error before "xdddb_mysql" ../xdata/xdddb.c:66: warning: data definition has no type or storage class ../xdata/xdddb.c: In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:440: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:440: (Each undeclared identifier is reported only once ../xdata/xdddb.c:440: for each function it appears in.) ../xdata/xdddb.c:440: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:441: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:441: parse error before "result_row" ../xdata/xdddb.c:477: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:554: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:554: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:555: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:555: parse error before "result_row" ../xdata/xdddb.c:591: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1079: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:1079: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:1080: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:1080: parse error before "result_row" ../xdata/xdddb.c:1111: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1210: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:1210: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:1211: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:1211: parse error before "result_row" ../xdata/xdddb.c:1242: `result_row' undeclared (first use in this function) make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/downloads/nagios-1.1/base' make: *** [all] Error 2 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atul_iet at rediffmail.com Wed Jun 11 07:27:02 2003 From: atul_iet at rediffmail.com (Atul Shrivastava) Date: 11 Jun 2003 05:27:02 -0000 Subject: Plotting Memory Usage and CPU in Win NT Using NSClient and APAN Message-ID: <20030611052702.16530.qmail@webmail31.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From ton.machielsen at private.com Wed Jun 11 08:45:26 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Wed, 11 Jun 2003 08:45:26 +0200 Subject: How to monitor virtually hosted websites? (newbie alert!) Message-ID: > > statusmap.cgi, trends.cgi and histogram.cgi are not > installed in sbin. > > Why? > > These depend on the proper prior installation of the Boutell > GD libraries. Make sure they're installed and that > ./configure saw them properly. There has been a lot of > chatter about GD and Redhat 8 on the list. Search the > archives if that applies to you. I've been installing them over and over again. I can't seem to get is working. I'm using OpenBSD for my server. I downloaded and installed gd-2.0.15.tar.gz and png-1.2.5p1.tgz, but i can't seem to get it working. > > How can i monitor virtually hosted websites? I have seen examples > where > > they configure websites as hosts with different IP addresses, but i > have > > all my sites on one IP address. How? > > Check_http --help > > The -H flag is what you want. Will check it out. Thanks, Ton. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 08:52:11 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 08:52:11 +0200 Subject: (no subject) Message-ID: <00d301c32fe5$fc467cc0$c801007e@w80075c> I run nrpe in my inetd. In nrpe.cfg : debug=1 (I don't see deference if debug=0 !!) command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 In /etc/inetd.conf : # NRPE FOR NAGIOS nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cf g --inetd a user in my remote host : forum (group=users) In /etc/services nrpe 5666/tcp # nrpe for NAGIOS I don't know. tanks, sylvain ----- Original Message ----- From: "Jim Mozley" To: "Sylvain Padoan" Sent: Tuesday, June 10, 2003 6:42 PM Subject: Re: [Nagios-users] nrpe probleme > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Have you checked nrpe.cfg and set the appropriate values in this? > > Jim > > ----- Original Message ----- > From: "Sylvain Padoan" > To: > Sent: Tuesday, June 10, 2003 4:31 PM > Subject: [Nagios-users] nrpe probleme > > > hello, > > when i want to excecute a plugin in my nagios serveur to a remote host, > nagios said: > > nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c > check_users > CHECK_NRPE: Error receiving data from host. > > > but when i want to excecute a plugin in my remote host, nagios said : (it's > ok!) > > root at forum:/usr/local/nagios/libexec > > /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS OK - 1 users currently logged in > > > my version of nagios : 1.0 in SuSE 7.2 > > Any ideas ? Thanks a lot. > > > sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Wed Jun 11 08:53:25 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 11 Jun 2003 08:53:25 +0200 Subject: Plotting Memory Usage and CPU in Win NT Using NSClient and APAN References: <20030611052702.16530.qmail@webmail31.rediffmail.com> Message-ID: <3EE6D1E5.60800@datavis.se> Check the permission on the rrd-file. The nagios-user should have write-access and the user that runs the webserver must be able to read it. /FredrikW Atul Shrivastava wrote: > Hello, > > Can anybody tell me how can I plot the Memory Usage and CPU Usage in > Win NT using NSClient and apan. > > My Services.cfg file it as below: > define service { > host_name Atul > service_description Load > check_command apan!nt-load!100!150 > use generic-service > > My apan.cfg file is as below: > Atul;Load;/usr/local/nagios/rrd/atul-load.rrd;CPULOAD|MEMUSE;CPU-Load:AREA > Memory-Usage:LINE2;%;%; > > The status message shows "CPULOAD: 12%, MEMUSE: 33%" BUT not graph is > there. In place of graphs only "X" is there. > > My Disk Utilization is working fine by using the same method and it is > plotting the correct value. Then whats the problem with that thing. > Pls help me out. > > Regards and have a nice day, > > Atul Shrivastava > > > > ___________________________________________________ > Impress your clients! Send mail from me @ mycompany.com . > Just Rs.1499/year. > Click http://www.rediffmailpro.com to know more. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 09:06:12 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Wed, 11 Jun 2003 09:06:12 +0200 Subject: Plotting Memory Usage and CPU in Win NT Using NSClient and APAN In-Reply-To: <20030611052702.16530.qmail@webmail31.rediffmail.com> References: <20030611052702.16530.qmail@webmail31.rediffmail.com> Message-ID: <200306110906.13088.Michael.Huettig@Medien-Systempartner.de> Hi Atul, i'm using also APAN for some test-servers, try to subsitute CPU-Load:AREA with CPU-Load:LINE2 mh;Perf;/usr/local/nagios/rrd/mh_Load.rrd;CPULOAD|MEMUSE;CPU-Load:LINE2 MEMUSE:LINE2;Used resources;%;-l 0 And NT-Load would not be good to check with warn:100 crit:150, makes no sense, try with 80,90 Regards, Michael Am Mittwoch, 11. Juni 2003 07:27 schrieb Atul Shrivastava: > Hello, > > Can anybody tell me how can I plot the Memory Usage and CPU Usage > in Win NT using NSClient and apan. > > My Services.cfg file it as below: > define service { > host_name Atul > service_description Load > check_command apan!nt-load!100!150 > use generic-service > > My apan.cfg file is as below: > Atul;Load;/usr/local/nagios/rrd/atul-load.rrd;CPULOAD|MEMUSE;CPU-Load:AREA > Memory-Usage:LINE2;%;%; > > The status message shows "CPULOAD: 12%, MEMUSE: 33%" BUT not graph > is there. In place of graphs only "X" is there. > > My Disk Utilization is working fine by using the same method and > it is plotting the correct value. Then whats the problem with that > thing. Pls help me out. > > Regards and have a nice day, > > Atul Shrivastava > > > > ___________________________________________________ > Impress your clients! Send mail from me @ mycompany.com . > Just Rs.1499/year. > Click http://www.rediffmailpro.com to know more. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Wed Jun 11 09:35:08 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Wed, 11 Jun 2003 09:35:08 +0200 Subject: Nagat In-Reply-To: References: Message-ID: <3EE6DBAC.6090203@loria.fr> Hi ! very simple to install. First, Do you have a apache server installed running PHP ? Then, you just have to copy your file in : "r?pertoire racine server apache"/nagat/ "r?pertoire racine server apache" est souvent : /var/www/html/ ensuite tu tape l'url de ton pc suivi de "/nagat/" .. Oki ? best regards Syed Zulhilmi Tuan Sharif wrote: > -- im not successfull install Nagat !! can anyone guide me to install > Nagat -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 09:39:46 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 09:39:46 +0200 Subject: nrpe problem Message-ID: <00f201c32fec$a1f0b540$c801007e@w80075c> I run nrpe in my inetd. In nrpe.cfg : debug=1 (I don't see deference if debug=0 !!) command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 In /etc/inetd.conf : # NRPE FOR NAGIOS nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cf g --inetd a user in my remote host : forum (group=users) In /etc/services nrpe 5666/tcp # nrpe for NAGIOS I don't know. tanks, sylvain ----- Original Message ----- From: "Jim Mozley" To: "Sylvain Padoan" Sent: Tuesday, June 10, 2003 6:42 PM Subject: Re: [Nagios-users] nrpe probleme > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Have you checked nrpe.cfg and set the appropriate values in this? > > Jim > > ----- Original Message ----- > From: "Sylvain Padoan" > To: > Sent: Tuesday, June 10, 2003 4:31 PM > Subject: [Nagios-users] nrpe probleme > > > hello, > > when i want to excecute a plugin in my nagios serveur to a remote host, > nagios said: > > nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c > check_users > CHECK_NRPE: Error receiving data from host. > > > but when i want to excecute a plugin in my remote host, nagios said : (it's > ok!) > > root at forum:/usr/local/nagios/libexec > > /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS OK - 1 users currently logged in > > > my version of nagios : 1.0 in SuSE 7.2 > > Any ideas ? Thanks a lot. > > > sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.mozley at exponential-e.com Wed Jun 11 10:21:31 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 11 Jun 2003 09:21:31 +0100 Subject: nrpe probleme References: <00cc01c32f65$5a485cc0$c801007e@w80075c> <04b301c32f6f$4bc801a0$03bff40a@Exponentiale.com> <006601c32fe2$fd518b80$c801007e@w80075c> Message-ID: <056001c32ff2$765fd950$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Have you tried running it as a daemon? This is how I have started to get it going. Then move to inetd/tcpwrapper. Regards, Jim > I run nrpe in my inetd. > In nrpe.cfg : > debug=1 (I don't see deference if debug=0 !!) > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > > In /etc/inetd.conf : > # NRPE FOR NAGIOS > nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cf > g --inetd > > a user in my remote host : forum (group=users) > > In /etc/services > nrpe 5666/tcp # nrpe for NAGIOS > Looks reasonanle to me, but I'm not an expert. I couldn't see what difference the debug option made. But it might be syslog configuration needs to be altered. Jim ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 10:25:15 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 10:25:15 +0200 Subject: nrpe problem References: <00f201c32fec$a1f0b540$c801007e@w80075c> Message-ID: <01bc01c32ff2$fc2cee60$c801007e@w80075c> when a try to start nrpe with /usr/local/nagios/nrpe -c nrpe.cfg --inetd In /var/log/messages: Jun 11 10:15:15 forum nrpe[1368]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 Jun 11 10:15:15 forum nrpe[1368]: Added command[check_disk]=/usr/local/nagios/libexec/check_disk -w 80 -c 75 -p /dev/rd/c0d0p3 Jun 11 10:15:15 forum nrpe[1368]: Added command[check_procs]=/usr/local/nagios/libexec/check_procs -w 60 -c 100 Jun 11 10:15:15 forum nrpe[1368]: Handling the connection... Jun 11 10:15:15 forum nrpe[1368]: Could not read request from client, bailing out... what is the problem? (Could not read request from client, bailing out...) ----- Original Message ----- From: Sylvain Padoan To: nagios-users at lists.sourceforge.net Sent: Wednesday, June 11, 2003 9:39 AM Subject: [Nagios-users] nrpe problem I run nrpe in my inetd. In nrpe.cfg : debug=1 (I don't see deference if debug=0 !!) command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 In /etc/inetd.conf : # NRPE FOR NAGIOS nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cf g --inetd a user in my remote host : forum (group=users) In /etc/services nrpe 5666/tcp # nrpe for NAGIOS I don't know. tanks, sylvain ----- Original Message ----- From: "Jim Mozley" To: "Sylvain Padoan" Sent: Tuesday, June 10, 2003 6:42 PM Subject: Re: [Nagios-users] nrpe probleme > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Have you checked nrpe.cfg and set the appropriate values in this? > > Jim > > ----- Original Message ----- > From: "Sylvain Padoan" > To: > Sent: Tuesday, June 10, 2003 4:31 PM > Subject: [Nagios-users] nrpe probleme > > > hello, > > when i want to excecute a plugin in my nagios serveur to a remote host, > nagios said: > > nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c > check_users > CHECK_NRPE: Error receiving data from host. > > > but when i want to excecute a plugin in my remote host, nagios said : (it's > ok!) > > root at forum:/usr/local/nagios/libexec > > /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS OK - 1 users currently logged in > > > my version of nagios : 1.0 in SuSE 7.2 > > Any ideas ? Thanks a lot. > > > sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From atul_iet at rediffmail.com Wed Jun 11 11:51:35 2003 From: atul_iet at rediffmail.com (Atul Shrivastava) Date: 11 Jun 2003 09:51:35 -0000 Subject: Bandwidth Utilization using NSClient Message-ID: <20030611095135.20379.qmail@webmail7.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Jacques.LUYCKX at cec.eu.int Wed Jun 11 11:56:23 2003 From: Jacques.LUYCKX at cec.eu.int (Jacques.LUYCKX at cec.eu.int) Date: Wed, 11 Jun 2003 11:56:23 +0200 Subject: Insecure dependency Message-ID: <5DE88A46D971D411A17A009027FC7C1107F989EB@EX2BEL86MBX01> Hello I have this probleme. ./check_hprsc --check-filesystem -filesystem XXXXXXX --host XXXX --warning 85 --critical 95 community batman Insecure dependency in exec while running with -T switch at ./check_hprsc line 109. kid exited 65280 at ./check_hprsc line 107. Insecure dependency in exec while running with -T switch at ./check_hprsc line 109. kid exited 65280 at ./check_hprsc line 107. Insecure dependency in exec while running with -T switch at ./check_hprsc line 109. kid exited 65280 at ./check_hprsc line 107. /dev/vg00/lvol7 doesn't exist in atlas1 The host is good and filesystem to. First machine with debian and netsaint this command is ok but other machine with rh9 and nagios 1 this command make error. Nb : sorry for my english Jacques. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnews03 at hotmail.com Wed Jun 11 12:19:34 2003 From: jnews03 at hotmail.com (=?iso-8859-1?B?amF2aSBjYXN0YfFv?=) Date: Wed, 11 Jun 2003 12:19:34 +0200 Subject: MacOS X Jaguar and statusmap.cgi Message-ID: HI !! First at all, sorry my bad English. I'm new nagios's user, i installed nagios 1.0 in MacOS X Jaguar and use hostextinf.cfg. My problem is statusmap.cgi no show the gd2 or png files I have all required libraries installed ( libpng, ligd, libjpeg... ) and i run "otool -L /usr/local/nagios/sbin/statusmap.cgi" for see the shared library dependencies and i don't know if is correct or i need some library more. The result of the command is: sh-2.05a$ otool -L /usr/local/nagios/sbin/statusmap.cgi /usr/local/nagios/sbin/statusmap.cgi: /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0) My hostextinfo is: define hostextinfo{ host_name pcpruebas icon_image win40.png icon_image_alt Windows 2000 Pruebas vrml_image win40.jpg statusmap_image win40.gd2 } Besides, i can see the vrml_image from 3-D Status Map. I don't know what is the problem. Any help ??? Thanks ! _________________________________________________________________ MSN Compras: Veinte tiendas personales abiertas todo el d?a. http://www.msn.es/compras/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francio.francio at katamail.com Wed Jun 11 12:35:28 2003 From: francio.francio at katamail.com (gian_franco) Date: 11 Jun 2003 10:35:28 -0000 Subject: Service check scheduled In-Reply-To: <20030526083720.7833.qmail@pod-163.dolphin-server.co.uk> References: <20030526083720.7833.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030611103528.20662.qmail@pod-163.dolphin-server.co.uk> system date is ok i'm try modify *.cfg early possible thanks 1000 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jacques.LUYCKX at cec.eu.int Wed Jun 11 12:17:01 2003 From: Jacques.LUYCKX at cec.eu.int (Jacques.LUYCKX at cec.eu.int) Date: Wed, 11 Jun 2003 12:17:01 +0200 Subject: Recall: Insecure dependency Message-ID: <5DE88A46D971D411A17A009027FC7C1107F989EC@EX2BEL86MBX01> LUYCKX Jacques (AGRI) would like to recall the message, "Insecure dependency ". ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Jun 11 12:38:13 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 11 Jun 2003 11:38:13 +0100 Subject: nrpe problem References: <00f201c32fec$a1f0b540$c801007e@w80075c> <01bc01c32ff2$fc2cee60$c801007e@w80075c> Message-ID: <069b01c33005$8f3b3e20$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry, but the only thing I can suggest is trying to run this as a daemon to see if this works, unless your inetd.conf is incorrect. > In /etc/inetd.conf : > # NRPE FOR NAGIOS > nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cfg --inetd An example from Solaris of an entry has the full path name of the daemon then the daemon followed by its options. Example below for tftpd: tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /opt/tftpboot So should your entry be: nrpe stream tcp nowait forum /usr/local/nagios/nrpe nrpe -c /usr/local/nagios/nrpe.cfg --inetd Anyone else any ideas? Regards, Jim ----- Original Message ----- From: "Sylvain Padoan" To: Sent: Wednesday, June 11, 2003 9:25 AM Subject: Re: [Nagios-users] nrpe problem when a try to start nrpe with /usr/local/nagios/nrpe -c nrpe.cfg --inetd In /var/log/messages: Jun 11 10:15:15 forum nrpe[1368]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 Jun 11 10:15:15 forum nrpe[1368]: Added command[check_disk]=/usr/local/nagios/libexec/check_disk -w 80 -c 75 -p /dev/rd/c0d0p3 Jun 11 10:15:15 forum nrpe[1368]: Added command[check_procs]=/usr/local/nagios/libexec/check_procs -w 60 -c 100 Jun 11 10:15:15 forum nrpe[1368]: Handling the connection... Jun 11 10:15:15 forum nrpe[1368]: Could not read request from client, bailing out... what is the problem? (Could not read request from client, bailing out...) ----- Original Message ----- From: Sylvain Padoan To: nagios-users at lists.sourceforge.net Sent: Wednesday, June 11, 2003 9:39 AM Subject: [Nagios-users] nrpe problem I run nrpe in my inetd. In nrpe.cfg : debug=1 (I don't see deference if debug=0 !!) command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 In /etc/inetd.conf : # NRPE FOR NAGIOS nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cf g --inetd a user in my remote host : forum (group=users) In /etc/services nrpe 5666/tcp # nrpe for NAGIOS I don't know. tanks, sylvain ----- Original Message ----- From: "Jim Mozley" To: "Sylvain Padoan" Sent: Tuesday, June 10, 2003 6:42 PM Subject: Re: [Nagios-users] nrpe probleme > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Have you checked nrpe.cfg and set the appropriate values in this? > > Jim > > ----- Original Message ----- > From: "Sylvain Padoan" > To: > Sent: Tuesday, June 10, 2003 4:31 PM > Subject: [Nagios-users] nrpe probleme > > > hello, > > when i want to excecute a plugin in my nagios serveur to a remote host, > nagios said: > > nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c > check_users > CHECK_NRPE: Error receiving data from host. > > > but when i want to excecute a plugin in my remote host, nagios said : (it's > ok!) > > root at forum:/usr/local/nagios/libexec > > /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS OK - 1 users currently logged in > > > my version of nagios : 1.0 in SuSE 7.2 > > Any ideas ? Thanks a lot. > > > sylvain > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Wed Jun 11 12:47:06 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Wed, 11 Jun 2003 12:47:06 +0200 Subject: Monitoring log files. Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAF56@rijpat-s-346.europe.shell.com> Hello Does any one have any experience and advice for monitoring envirnonments with a lot of log files. So far i have tried the standard check_log that comes with nagios. from my understanding this creates a copy of the log file, this is not really viable for me as it would need too much disk space. I also have tried check_log2.pl from the contrib directory. this works by creating a counter to remember what line it was on for the next check. this works fine untill the log rotates, then when a new log file is created, im presuming the log_check2.pl will not know to start from the beggining of the log. Has anyone solved these problems of rotating log files, the only solution i can think of it to write a cron that changes check_log2.pl's counter to 0 when the logs rotate, but this wil prove a complicated setup. help or ideas appreciated Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jacques.LUYCKX at cec.eu.int Wed Jun 11 12:46:06 2003 From: Jacques.LUYCKX at cec.eu.int (Jacques.LUYCKX at cec.eu.int) Date: Wed, 11 Jun 2003 12:46:06 +0200 Subject: Recall: Insecure dependency Message-ID: <5DE88A46D971D411A17A009027FC7C1107F989ED@EX2BEL86MBX01> LUYCKX Jacques (AGRI) would like to recall the message, "Insecure dependency ". ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 13:08:14 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 13:08:14 +0200 Subject: nrpe problem References: <00f201c32fec$a1f0b540$c801007e@w80075c> <01bc01c32ff2$fc2cee60$c801007e@w80075c> <069b01c33005$8f3b3e20$03bff40a@Exponentiale.com> Message-ID: <025c01c33009$c13c4fa0$c801007e@w80075c> thanks for your help! the solution is in /etc/inetd.conf : # NRPE FOR NAGIOS nrpe stream tcp nowait forum /usr/sbin/tcpd /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd ----- Original Message ----- From: "Jim Mozley" To: "Sylvain Padoan" ; Sent: Wednesday, June 11, 2003 12:38 PM Subject: Re: [Nagios-users] nrpe problem > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Sorry, but the only thing I can suggest is trying to run this as a daemon to > see if this works, unless your inetd.conf is incorrect. > > > In /etc/inetd.conf : > > # NRPE FOR NAGIOS > > nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c > > /usr/local/nagios/nrpe.cfg --inetd > > An example from Solaris of an entry has the full path name of the daemon > then the daemon followed by its options. Example below for tftpd: > > tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s > /opt/tftpboot > > So should your entry be: > > nrpe stream tcp nowait forum /usr/local/nagios/nrpe nrpe -c > /usr/local/nagios/nrpe.cfg --inetd > > Anyone else any ideas? > > Regards, > > Jim > > ----- Original Message ----- > From: "Sylvain Padoan" > To: > Sent: Wednesday, June 11, 2003 9:25 AM > Subject: Re: [Nagios-users] nrpe problem > > > when a try to start nrpe with /usr/local/nagios/nrpe -c nrpe.cfg --inetd > In /var/log/messages: > Jun 11 10:15:15 forum nrpe[1368]: Added > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > Jun 11 10:15:15 forum nrpe[1368]: Added > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 80 -c 75 -p > /dev/rd/c0d0p3 > Jun 11 10:15:15 forum nrpe[1368]: Added > command[check_procs]=/usr/local/nagios/libexec/check_procs -w 60 -c 100 > Jun 11 10:15:15 forum nrpe[1368]: Handling the connection... > Jun 11 10:15:15 forum nrpe[1368]: Could not read request from client, > bailing out... > > what is the problem? (Could not read request from client, bailing out...) > ----- Original Message ----- > From: Sylvain Padoan > To: nagios-users at lists.sourceforge.net > Sent: Wednesday, June 11, 2003 9:39 AM > Subject: [Nagios-users] nrpe problem > > > I run nrpe in my inetd. > In nrpe.cfg : > debug=1 (I don't see deference if debug=0 !!) > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > > In /etc/inetd.conf : > # NRPE FOR NAGIOS > nrpe stream tcp nowait forum /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cf > g --inetd > > a user in my remote host : forum (group=users) > > In /etc/services > nrpe 5666/tcp # nrpe for NAGIOS > > > I don't know. > tanks, > > sylvain > > > ----- Original Message ----- > From: "Jim Mozley" > To: "Sylvain Padoan" > Sent: Tuesday, June 10, 2003 6:42 PM > Subject: Re: [Nagios-users] nrpe probleme > > > > *This message was transferred with a trial version of CommuniGate(tm) > Pro* > > Have you checked nrpe.cfg and set the appropriate values in this? > > > > Jim > > > > ----- Original Message ----- > > From: "Sylvain Padoan" > > To: > > Sent: Tuesday, June 10, 2003 4:31 PM > > Subject: [Nagios-users] nrpe probleme > > > > > > hello, > > > > when i want to excecute a plugin in my nagios serveur to a remote host, > > nagios said: > > > > nagios:/usr/local/nagios # ./libexec/check_nrpe -H 126.0.22.71 -c > > check_users > > CHECK_NRPE: Error receiving data from host. > > > > > > but when i want to excecute a plugin in my remote host, nagios said : > (it's > > ok!) > > > > root at forum:/usr/local/nagios/libexec > > > /usr/local/nagios/libexec/check_users -w 5 -c 10 > > USERS OK - 1 users currently logged in > > > > > > my version of nagios : 1.0 in SuSE 7.2 > > > > Any ideas ? Thanks a lot. > > > > > > sylvain > > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Wed Jun 11 13:13:22 2003 From: js at irishbroadband.ie (John Senior) Date: Wed, 11 Jun 2003 12:13:22 +0100 Subject: Check_snmp doesn't seem to work correctly? Message-ID: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088DA0@dubsrv01.irishbroadband.ie> Hi there folks, I'm trying to check a SNMP value with the check_snmp plugin and it doesn't seem to be working correctly: mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o .1.3.6.1.2.1.33.1.3.3.1.3.1 /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 .1.3.6.1.2.1.33.1.3.3.1.3.1 iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233 SNMP CRITICAL - *233* mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o .1.3.6.1.2.1.33.1.3.3.1.3.1 /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 .1.3.6.1.2.1.33.1.3.3.1.3.1 iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228 SNMP CRITICAL - *228* The limits seem to be ignored for some reason - the plugin always returns a critical status. This happens to be a voltage reading and I want to get a notification if it drops below a certain level. Am I missing something obvious? All the best, John. -- John Senior -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Wed Jun 11 13:09:34 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 11 Jun 2003 07:09:34 -0400 Subject: Monitoring log files. Message-ID: check_log2.pl is smart enough to know that the log file was rotated. My moitoring server also serves as a syslog server for MS Event Logs for a few hundred MS machines that are monitored. I use a combination of syslog-ng and Event-Sentry, and a slightly modified check_log2.pl does the work. All the logs are rotated daily with logrotate. Works great. Lane -----Original Message----- From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com] Sent: Wednesday, June 11, 2003 6:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring log files. Hello Does any one have any experience and advice for monitoring envirnonments with a lot of log files. So far i have tried the standard check_log that comes with nagios. from my understanding this creates a copy of the log file, this is not really viable for me as it would need too much disk space. I also have tried check_log2.pl from the contrib directory. this works by creating a counter to remember what line it was on for the next check. this works fine untill the log rotates, then when a new log file is created, im presuming the log_check2.pl will not know to start from the beggining of the log. Has anyone solved these problems of rotating log files, the only solution i can think of it to write a cron that changes check_log2.pl's counter to 0 when the logs rotate, but this wil prove a complicated setup. help or ideas appreciated Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefmit at comcast.net Wed Jun 11 14:02:17 2003 From: stefmit at comcast.net (stefmit) Date: Wed, 11 Jun 2003 07:02:17 -0500 Subject: [LONG!!!]Nagios+apan on Mandrake9.1 and ... PITA Message-ID: <200306110702.17949.stefmit@comcast.net> Due to some unknown reasons, the "packagers" of Mandrake decided to have nagios install all over, with no relationship to where its original docs and the defaults seem to indicate. I have - thus - spent an incredible amount of hours fixing variables through all possible files, and I finally got stuck using apan. Here is the deal: MDK9.1 rpm installs Nagios 1.0 as follows: usr/sbin/nagios----------> just executable /etc/nagios/--------------> configuration files (*.cfg) /usr/lib/nagios/----------> cgi/ --> *.cgi files |---------> plugins/------> check_* files |-----> contrib/ --> check_*.pl and .sh files /usr/include/nagios-------> locations.h /usr/share/nagios/--------> contexthelp/ |-------> ssi/ |-------> images/ --> *.gif and *.png files |-------> media/ |-------> stylesheets/ |-------> docs/ |-------> index.html, main.html, side.html, robots.txt I had all of tgeh above taken care of, eventually, thus nagios running, with the std plugins ... so I moved on to using apan (I had MRTG for a while, and decided to dump it in the favor of this consolidated tool). As apan does not exist as an rpm, I installed it from the tarball, as follows (the closest I came up with, on the new directory structure, based on the docs from apan's site, which use as assumed /usr/local/nagios for everything): extract apan from tarball into /usr/share/nagios/ (see above MDK's nagios dir structure on why) cp apan/libexec/* /usr/lib/nagios/plugins/ cp apan/*.cgi /usr/lib/nagios/cgi extract graph.png from an older version of apan (0.2.1 missed it!) cp graph.png /usr/share/nagios/images/ fix (because of assumed /usr/local/nagios on all these files) variables in /usr/share/nagios/apan/apan.defs (directories, including rrdtool placement) fix directory where apan.defs is, in the following files: /usr/share/nagios/apan/apan.sh /usr/lib/nagios/cgi/apan.cgi /usr/lib/nagios/cgi/generate.cgi and - after the creation of the rrd file, using rrdtool, I started filling it up with data (I am testing now the simple bandwidth measurement, as described here: http://apan.sourceforge.net/ --> documentation --> how to ... for SNMP) I left debug enabled in apan.defs, for both apan and apancgi, and I can see data being entered in the rrd file, when looking at /tmp/apan.debug (NOTE: for whatever reasons ... maybe related to my problems - there is no apancgi.debug being created?!?) serviceextinfo is supposed to help in the creation of an icon and link. Here I had to follow the new format indicated by nagios docs, vs. the format in apan docs, so I ended up with an entry like: serviceextinfo[my-device;Net-usage]=/nagios/cgi-bin/apan.cgi?host=my-devicer&service=Net-usage;/usr/share/nagios/images/graph.png;View graphs where Net-usage has been defined in /etc/nagios/services.cfg, per the docs. I am assuming all of the above have been properly defined, as I can see data being collected and inserted into the rrd file. Questions: 1. serviceextinfo (according to apan docs) is supposed to add a link and icon ... where? I had to download a previous version of apan, just to find graph.png (as it is missing from the latest tarball) ... so I fixed that. But where are the links supposed to show on the nagios page(s)? 2. when running the script manually, as defined in the serviceextinfo, in /etc/nagios/cgi.cfg, i.e.: http://localhost/nagios/cgi-bin/apan.cgi?host=my-device&service=Net-usage all I get are "blank" graphs?!? Any idea why is not reading the file from the location I indicated in apan.cfg? The file is there, growing, and is is read-writeable by nagios (actually I opened it to the whole world, at one point in time, out of frustration ;)) I am in the process of documeting everything, so that I can feed back my horrible experience with the way Mandrake packaged this, in regards to where all the changes have to go ... so I will (hopefully) be able to "give back" to the community pretty soon :) TIA, Stef ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mriedel at neuearbeit.de Wed Jun 11 14:56:31 2003 From: mriedel at neuearbeit.de (Marko Riedel) Date: Wed, 11 Jun 2003 14:56:31 +0200 (CEST) Subject: nsca service going critical Message-ID: <16103.9983.971820.986872@linuxsexi.nasttg> Hi folks, we have a number of passive services that report to a central nagios host every five minutes. The log file nagios.log shows external commands being submitted at precisely the right intervals. The problem is that at some random point in time the service will go critical and stay critical for some time before it recovers. It goes critical with an absurd message like service "stale by 1920 seconds," yet the logs show that nsca submits service checks every five minutes. This is my template: define service{ use generic-service name nsca-service active_checks_enabled 0 passive_checks_enabled 1 is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options r,c,w check_freshness 1 freshness_threshold 480 check_command check_dummy!2 register 0 } define service{ use nsca-service service_description TRACEROUTE host_name somename } Here is an excerpt from the log: [1055283610] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055283910] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055284210] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055284510] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055284530] SERVICE ALERT: somename;TRACEROUTE;CRITICAL;HARD;1;Status is CRITICAL [1055284540] Warning: The results of service 'TRACEROUTE' on host 'somename' are stale by 1140 seconds (threshold=480 seconds). I'm forcing an immediate che ck of the service. [1055284810] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055285080] Warning: The results of service 'TRACEROUTE' on host 'somename' are stale by 60 seconds (threshold=480 seconds). I'm forcing an immediate check of the service. [1055285110] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;somename;TRACEROUTE;0;somename traceroute okay [1055285380] SERVICE ALERT: somename;TRACEROUTE;OK;HARD;1;somename traceroute okay Best regards, -- +------------------------------------------------------------+ | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | | http://www.geocities.com/markoriedelde/index.html | +------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 14:34:01 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 11 Jun 2003 08:34:01 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20Nagat?= Message-ID: In English, this give... Hi ! very simple to install. First, Do you have a apache server installed running PHP ? Then, you just have to copy your file in : "root directory server apache"/nagat/ "root directory server apache" is often : /var/www/html/ after that, type the url of your pc (server) followed by "/nagat/" .. >>> Lionel Verscheure 11/06/03 03h35 >>> Hi ! very simple to install. First, Do you have a apache server installed running PHP ? Then, you just have to copy your file in : "r?pertoire racine server apache"/nagat/ "r?pertoire racine server apache" est souvent : /var/www/html/ ensuite tu tape l'url de ton pc suivi de "/nagat/" .. Oki ? best regards Syed Zulhilmi Tuan Sharif wrote: > -- im not successfull install Nagat !! can anyone guide me to install > Nagat -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Jun 11 15:16:07 2003 From: benny at bennyvision.com (C. Bensend) Date: Wed, 11 Jun 2003 08:16:07 -0500 Subject: How to monitor virtually hosted websites? (newbie alert!) In-Reply-To: ; from ton.machielsen@private.com on Wed, Jun 11, 2003 at 08:45:26AM +0200 References: Message-ID: <20030611081607.A2035@bennyvision.com> On Wed, Jun 11, 2003 at 08:45:26AM +0200, Ton Machielsen wrote: > > I've been installing them over and over again. I can't seem to get is > working. I'm using OpenBSD for my server. I downloaded and installed > gd-2.0.15.tar.gz and png-1.2.5p1.tgz, but i can't seem to get it > working. Hey Tom, I run all of my Nagios installations on OpenBSD. The trick seems to be to specify the location of both GD and the GD includes in the configure options, as well as having "/usr/local/lib" in shlib_dirs in your /etc/rc.conf (or better, /etc/rc.conf.local). Once I got those steps down, I have never had a problem with the CGIs building as intended. If you need further help, feel free to contact me offlist, and I can help with the OpenBSD specifics. Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Wed Jun 11 15:27:48 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 11 Jun 2003 15:27:48 +0200 Subject: [LONG!!!]Nagios+apan on Mandrake9.1 and ... PITA References: <200306110702.17949.stefmit@comcast.net> Message-ID: <3EE72E54.60909@datavis.se> 1) The icond should show up next to the service-name in the webinterface. Look at the screenshots at apan.sf.net. 2) The RRD-file should be readable by the web-server user. The cgi should write some info to apancgi.debug. Look in that file and see if you can find any possible errors. Maybe you can send me the relevant lines from apan.debug, apancgi.debug, apan.cfg, your service-definition and the command you used to create the RRD-file? /FredrikW stefmit wrote: >Due to some unknown reasons, the "packagers" of Mandrake decided to have >nagios install all over, with no relationship to where its original docs and >the defaults seem to indicate. I have - thus - spent an incredible amount of >hours fixing variables through all possible files, and I finally got stuck >using apan. Here is the deal: MDK9.1 rpm installs Nagios 1.0 as follows: > >usr/sbin/nagios----------> just executable >/etc/nagios/--------------> configuration files (*.cfg) >/usr/lib/nagios/----------> cgi/ --> *.cgi files > |---------> plugins/------> check_* files > |-----> contrib/ --> check_*.pl and .sh files >/usr/include/nagios-------> locations.h >/usr/share/nagios/--------> contexthelp/ > |-------> ssi/ > |-------> images/ --> *.gif and *.png files > |-------> media/ > |-------> stylesheets/ > |-------> docs/ > |-------> index.html, main.html, side.html, robots.txt > >I had all of tgeh above taken care of, eventually, thus nagios running, with >the std plugins ... so I moved on to using apan (I had MRTG for a while, and >decided to dump it in the favor of this consolidated tool). > >As apan does not exist as an rpm, I installed it from the tarball, as follows >(the closest I came up with, on the new directory structure, based on the >docs from apan's site, which use as assumed /usr/local/nagios for >everything): > >extract apan from tarball into /usr/share/nagios/ (see above MDK's nagios dir >structure on why) >cp apan/libexec/* /usr/lib/nagios/plugins/ >cp apan/*.cgi /usr/lib/nagios/cgi >extract graph.png from an older version of apan (0.2.1 missed it!) >cp graph.png /usr/share/nagios/images/ > >fix (because of assumed /usr/local/nagios on all these files) variables in >/usr/share/nagios/apan/apan.defs (directories, including rrdtool placement) >fix directory where apan.defs is, in the following files: >/usr/share/nagios/apan/apan.sh >/usr/lib/nagios/cgi/apan.cgi >/usr/lib/nagios/cgi/generate.cgi > >and - after the creation of the rrd file, using rrdtool, I started filling it >up with data (I am testing now the simple bandwidth measurement, as described >here: http://apan.sourceforge.net/ --> documentation --> how to ... for SNMP) > >I left debug enabled in apan.defs, for both apan and apancgi, and I can see >data being entered in the rrd file, when looking at /tmp/apan.debug (NOTE: >for whatever reasons ... maybe related to my problems - there is no >apancgi.debug being created?!?) > >serviceextinfo is supposed to help in the creation of an icon and link. Here I >had to follow the new format indicated by nagios docs, vs. the format in apan >docs, so I ended up with an entry like: > >serviceextinfo[my-device;Net-usage]=/nagios/cgi-bin/apan.cgi?host=my-devicer&service=Net-usage;/usr/share/nagios/images/graph.png;View >graphs > >where Net-usage has been defined in /etc/nagios/services.cfg, per the docs. > >I am assuming all of the above have been properly defined, as I can see data >being collected and inserted into the rrd file. > >Questions: > >1. serviceextinfo (according to apan docs) is supposed to add a link and icon >... where? I had to download a previous version of apan, just to find >graph.png (as it is missing from the latest tarball) ... so I fixed that. But >where are the links supposed to show on the nagios page(s)? > >2. when running the script manually, as defined in the serviceextinfo, in >/etc/nagios/cgi.cfg, i.e.: >http://localhost/nagios/cgi-bin/apan.cgi?host=my-device&service=Net-usage >all I get are "blank" graphs?!? Any idea why is not reading the file from the >location I indicated in apan.cfg? The file is there, growing, and is is >read-writeable by nagios (actually I opened it to the whole world, at one >point in time, out of frustration ;)) > >I am in the process of documeting everything, so that I can feed back my >horrible experience with the way Mandrake packaged this, in regards to where >all the changes have to go ... so I will (hopefully) be able to "give back" >to the community pretty soon :) > >TIA, >Stef > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jun 11 15:43:32 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 11 Jun 2003 08:43:32 -0500 Subject: How to monitor virtually hosted websites? (newbie alert!) In-Reply-To: References: Message-ID: <16103.12804.896225.178484@montanaro.dyndns.org> >> These depend on the proper prior installation of the Boutell GD >> libraries. Make sure they're installed and that ./configure saw them >> properly. There has been a lot of chatter about GD and Redhat 8 on >> the list. Search the archives if that applies to you. Ton> I've been installing them over and over again. I can't seem to get Ton> is working. I'm using OpenBSD for my server. I downloaded and Ton> installed gd-2.0.15.tar.gz and png-1.2.5p1.tgz, but i can't seem to Ton> get it working. When you run the Nagios configure script does it give you the impression that it found gd and png? You do need to feed configure the --with-gd-lib and --with-gd-inc flags. -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Jun 11 16:04:40 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 11 Jun 2003 10:04:40 -0400 (EDT) Subject: Check_snmp doesn't seem to work correctly? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088DA0@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088DA0@dubsrv01.irishbroadband.ie> Message-ID: On Wed, 11 Jun 2003, John Senior wrote: > Hi there folks, I'm trying to check a SNMP value with the check_snmp > plugin > and it doesn't seem to be working correctly: > > mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o > .1.3.6.1.2.1.33.1.3.3.1.3.1 > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > .1.3.6.1.2.1.33.1.3.3.1.3.1 > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233 > > SNMP CRITICAL - *233* > > mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o > .1.3.6.1.2.1.33.1.3.3.1.3.1 > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > .1.3.6.1.2.1.33.1.3.3.1.3.1 > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228 > > SNMP CRITICAL - *228* > > The limits seem to be ignored for some reason - the plugin always > returns > a critical status. This happens to be a voltage reading and I want to > get > a notification if it drops below a certain level. > > Am I missing something obvious? > > All the best, > > John. > > -- > John Senior > from the help: - If specified in the order 'max:min' a non-OK state will be returned if the result is within the (inclusive) range. 500<223<0 ==> non-OK == CRITICAL -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nestorlcabrera at hotmail.com Wed Jun 11 16:35:46 2003 From: nestorlcabrera at hotmail.com (Nestor Cabrera) Date: Wed, 11 Jun 2003 10:35:46 -0400 Subject: Nagios image logos Message-ID: Hi, I really like the logo images that are provided on the Nagios site and was wondering how I would go about making my own. Thanks. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manfred.steinbacher at scheucher.at Wed Jun 11 16:37:18 2003 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Wed, 11 Jun 2003 16:37:18 +0200 Subject: Nagios 1.1 and Apache 2.0.40 Error Message-ID: <3705031E1454D7119E740002B32AED360131D1@ntsv01.scheucher.at> Hello I have installed Nagios 1.1 on Red-Hat 9.0 with Apache 2.0.40. The installations was ok. When I go to the web-site /hostname/nagios/ it appear the startsite of nagios and ask me for a username and password ( I have add the file .htaccess in the sbin directory and also add the user with the htpasswd). But when I go to any link ( Tactical Overview or Host Detail) I always got following error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have no idea. Thanks for your help. Best Regards manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From networks at wi.rr.com Wed Jun 11 17:03:39 2003 From: networks at wi.rr.com (Networks) Date: 11 Jun 2003 10:03:39 -0500 Subject: How to check a windows timestamp (remotely)? In-Reply-To: References: Message-ID: <1055343820.30483.2.camel@elijah> Has anyone tried checking the time stamp on a file (in windows) remotely as a plugin for Nagios? Basically I am trying to work with some batch jobs that re run every night and want to make sure the files are correctly updated by comparing the time stamp on the file. Any help would be appreciated. Thanks, Josh ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 17:24:25 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 17:24:25 +0200 Subject: Nagios image logos References: Message-ID: <02fb01c3302d$8b0184e0$c801007e@w80075c> in http://www.nagios.org/download/extras.php they are many logos but in my nagios server, there are not nice in the 3D status map!!! Anyone else any ideas? Regards, sylvain ----- Original Message ----- From: "Nestor Cabrera" To: Sent: Wednesday, June 11, 2003 4:35 PM Subject: [Nagios-users] Nagios image logos > Hi, > > I really like the logo images that are provided on the Nagios site and was > wondering how I would go about making my own. Thanks. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 11 17:28:11 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 11 Jun 2003 17:28:11 +0200 Subject: Nagios image logos References: Message-ID: <030601c3302e$118eb5a0$c801007e@w80075c> what file of icons used for 3D status map in my hostextinfo.cfg I have that but is not beautiful !! define hostextinfo{ host_name test icon_image win40.png icon_image_alt Serveur de test vrml_image win40.png statusmap_image win40.gd2 } Anyone else any ideas? Regards, sylvain ----- Original Message ----- From: "Nestor Cabrera" To: Sent: Wednesday, June 11, 2003 4:35 PM Subject: [Nagios-users] Nagios image logos > Hi, > > I really like the logo images that are provided on the Nagios site and was > wondering how I would go about making my own. Thanks. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From papendick at nexserver.com Wed Jun 11 17:28:25 2003 From: papendick at nexserver.com (Kevin L. Papendick) Date: Wed, 11 Jun 2003 11:28:25 -0400 Subject: Nagios 1.1 RH 7.3 RPM Problem In-Reply-To: <48859.204.83.191.2.1055276715.squirrel@webmail.bangtherockstogether.n et> References: <3EE64039.2000904@nexserver.com> <48859.204.83.191.2.1055276715.squirrel@webmail.bangtherockstogether.n et> Message-ID: <3EE74A99.6010408@nexserver.com> The problem is installing the nagios-www RPM. If you reread my original post I am able to build the RPM's (attempted from several sources) without a problem. The base nagios RPM installs with no errors, but when I attempt to install nagios-www it fails with the libgd.so dependency error. I checked /etc/ld.so.conf and /usr/lib was not there so I added it and ran ldconfig per your suggestion. This made do difference in building or installing. Per the ld man page (search for ld.so.conf) this shouldn't be necessary anyway: The linker uses the following search paths to locate required shared libraries. ... 7. The default directories, normally /lib and /usr/lib. 8. For a native linker on an ELF system, if the file /etc/ld.so.conf exists, the list of directories found in that file. My current /etc/ld.so.conf: # cat ld.so.conf /usr/i486-linux-libc5/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/mysql The GD libraries are in my /usr/lib directory: # ll /usr/lib/libgd* /usr/lib/libgd.a /usr/lib/libgdbm.so.2 -> libgdbm.so.2.0.0* /usr/lib/libgdbm.so.2.0.0* /usr/lib/libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1* /usr/lib/libgdk-1.2.so.0.9.1* /usr/lib/libgdk_imlib.so.1 -> libgdk_imlib.so.1.9.13* /usr/lib/libgdk_imlib.so.1.9.13* /usr/lib/libgdk_pixbuf.so.2 -> libgdk_pixbuf.so.2.0.0* /usr/lib/libgdk_pixbuf.so.2.0.0* /usr/lib/libgdk_pixbuf_xlib.so.2 -> libgdk_pixbuf_xlib.so.2.0.0* /usr/lib/libgdk_pixbuf_xlib.so.2.0.0* /usr/lib/libgd.so -> /usr/lib/libgd.so.2.0.2* /usr/lib/libgd.so.1 -> libgd.so.1.8.4* /usr/lib/libgd.so.1.8 -> libgd.so.1.8.4* /usr/lib/libgd.so.1.8.4* /usr/lib/libgd.so.2 -> /usr/lib/libgd.so.2.0.2* /usr/lib/libgd.so.2.0.2* I don't understand how the RPM build can find the GD libraries without a problem and build successfully, but not be able to install on the same system. Particularly when I was able to build and install Nagios-1.0 RPM's about a month ago without any problems. Anyone have any ideas? Thank You, Kevin Lonny Selinger wrote: > Is this a src RPM installation or just rpm? If its just an RPM installation it may be that its > querying the rpmdb and not seeing a reference to libgd as an installed rpm package. Another > possibility is where your linker is looking, check /etc/ld.so.conf for /usr/lib as a path ... if > its not in there, add it and run ldconfig to update. > > -- > Lonny > > >>error: failed dependencies: >> libgd.so is needed by nagios-www-1.1-1 >> >> >>The GD libraries are in /usr/lib/... > > -- ******************************** Kevin L. Papendick Programmer Analyst Nexserver www.nexserver.com papendick at nexserver.com (v) 716-655-9968 (f) 716-655-9982 ******************************** ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ehults at paydata.com Wed Jun 11 17:31:09 2003 From: ehults at paydata.com (Bill Hults) Date: Wed, 11 Jun 2003 11:31:09 -0400 Subject: Nagios 1.1 and Apache 2.0.40 Error In-Reply-To: <3705031E1454D7119E740002B32AED360131D1@ntsv01.scheucher.at> References: <3705031E1454D7119E740002B32AED360131D1@ntsv01.scheucher.at> Message-ID: Check the permissions on the .htaccess & be sure that the user running the web server has permissions to it. Bill -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Steinbacher Manfred Sent: Wednesday, June 11, 2003 10:37 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios 1.1 and Apache 2.0.40 Error Hello I have installed Nagios 1.1 on Red-Hat 9.0 with Apache 2.0.40. The installations was ok. When I go to the web-site /hostname/nagios/ it appear the startsite of nagios and ask me for a username and password ( I have add the file .htaccess in the sbin directory and also add the user with the htpasswd). But when I go to any link ( Tactical Overview or Host Detail) I always got following error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have no idea. Thanks for your help. Best Regards manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SecurityCheck.txt Type: text/ignore Size: 64 bytes Desc: not available URL: From sghosh at sghosh.org Wed Jun 11 17:48:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 11 Jun 2003 11:48:10 -0400 (EDT) Subject: Nagios 1.1 and Apache 2.0.40 Error In-Reply-To: References: Message-ID: Also the user name should match the name in the contacts in Nagios... -sg On Wed, 11 Jun 2003, Bill Hults wrote: > Check the permissions on the .htaccess & be sure that the user running the > web server has permissions to it. > Bill > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Steinbacher > Manfred > Sent: Wednesday, June 11, 2003 10:37 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagios 1.1 and Apache 2.0.40 Error > > > Hello > > > > I have installed Nagios 1.1 on Red-Hat 9.0 with Apache 2.0.40. > > The installations was ok. > > > > When I go to the web-site /hostname/nagios/ it appear the startsite of > nagios and ask me for a username and password ( I have add the file > .htaccess in the sbin directory and also add the user with the htpasswd). > > But when I go to any link ( Tactical Overview or Host Detail) I always got > following error: > > > > It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > > > > > I have no idea. > > > > Thanks for your help. > > > > > > > > > > Best Regards > > manfred > -- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raul.montoya at auna.es Wed Jun 11 17:57:30 2003 From: raul.montoya at auna.es (=?iso-8859-1?Q?Raul_Montoya_Casta=F1eda_=28Accio_Global=29?=) Date: Wed, 11 Jun 2003 17:57:30 +0200 Subject: OpenVMS management Message-ID: Hello all, My question is very simple, someone try to monitoring a host under OpenVMS operating system with netsaint? it's is possible? and if yes, Which are the posibilities that we have? Thanks in advanced!!! Ra?l Montoya Casta?eda Enginyeria de Sistemes de Xarxa Desenvolupament de Sistemes de Gesti? Auna Telecomunicaciones c\ Avila, n? 45 08025 Barcelona, Espanya Tel. (+34) 93 503 35 43 Fax. (+34) 93 503 37 24 mailto:raul.montoya at auna.es ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlacey at cybermesa.com Wed Jun 11 17:56:04 2003 From: dlacey at cybermesa.com (Dan Lacey) Date: Wed, 11 Jun 2003 09:56:04 -0600 Subject: Nagios 1.1 and Apache 2.0.40 Error References: <3705031E1454D7119E740002B32AED360131D1@ntsv01.scheucher.at> Message-ID: <3EE75114.5080708@cybermesa.com> My htpasswd file is in the nagios etc directory. Can you check this? Steinbacher Manfred wrote: > Hello > > > > I have installed Nagios 1.1 on Red-Hat 9.0 with Apache 2.0.40. > > The installations was ok. > > > > When I go to the web-site /hostname/nagios/ it appear the startsite of > nagios and ask me for a username and password ( I have add the file > .htaccess in the sbin directory and also add the user with the htpasswd). > > But when I go to any link ( Tactical Overview or Host Detail) I always > got following error: > > > > It appears as though you do not have permission to view information > for any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > > > > > I have no idea. > > > > Thanks for your help. > > > > > > > > > > Best Regards > > manfred > -- Dan Lacey Cyber Mesa Computer Systems 1830 Fifth Street Santa Fe, New Mexico 87505 505 988-9200 Voice 505 988-8875 Fax ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 eventhorizon.ca Wed Jun 11 18:11:24 2003 From: chris at eventhorizon.ca (chris at eventhorizon.ca) Date: Wed, 11 Jun 2003 10:11:24 -0600 Subject: OpenVMS management In-Reply-To: References: Message-ID: <20030611161124.GA21421@eventhorizon.ca> Many moons ago we cobled together some scripts that made connections via RSH and reported back to NetSaint. Unfortunately, I don't have access to these plugins anymore. I believe we were checking just availability and disk utilization but if you have good knowledge of VMS then the possibilities are endless. On Wed, Jun 11, 2003 at 05:57:30PM +0200, Raul Montoya Casta?eda (Accio Global) wrote: > Hello all, > > My question is very simple, someone try to monitoring a host under OpenVMS > operating system with netsaint? > it's is possible? and if yes, Which are the posibilities that we have? > > Thanks in advanced!!! > > Ra?l Montoya Casta?eda > Enginyeria de Sistemes de Xarxa > Desenvolupament de Sistemes de Gesti? > > Auna Telecomunicaciones > c\ Avila, n? 45 > 08025 Barcelona, Espanya > Tel. (+34) 93 503 35 43 > Fax. (+34) 93 503 37 24 > > mailto:raul.montoya at auna.es > > > > -- Chris Rothecker chris at eventhorizon.ca ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Wed Jun 11 18:09:46 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Wed, 11 Jun 2003 12:09:46 -0400 Subject: Nagios::* namespace accepted on CPAN. References: <53104E20A25CD411B556009027E50636079A9B12@pnnemp02.pn.egg.com> <20030529073230.B231@IPAustralia.Gov.AU> <20030610152529.I66783@IPAustralia.Gov.AU> Message-ID: I'll work on preparing the Nagios::Config module for CPAN submission shortly. When I post it will "explode templates" (many levels) and provide POD and accessor generic accessor methods (no autoloading for now). NOTE: I do not intent to make this module "intelligent" about the different objects that Nagios uses. This means that it will parse the config files, and provide ways to access the different attributes for each object without knowing what those attributes are or if they are valid or not. If someone want to write such a module, I'll gladly rename mine Nagios::Config::Simple in order to liberate the more generic namespace. Or else I'll proceed with Nagios::Config. Cheers, Patrick LeBoutillier --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Stanley Hopcroft" To: "Patrick LeBoutillier" Sent: Tuesday, June 10, 2003 1:25 AM Subject: Re: [Nagios-users] Re: Nagios::* namespace accepted on CPAN. > Dear Sir, > > I am writing to thank you for your letter and say, > > On Thu, May 29, 2003 at 07:53:09AM -0400, Patrick LeBoutillier wrote: > > I'm very pleased with this. > > > > I also have NagiosPlugin.pm, that could be renamed Nagios::Plugin.pm, an > > object oriented > > wrapper to create Perl Nagios Plugins. You basically use it like this, > > implementing the usage(), > > validate_options() and test() methods: > > > > ----------------------------------- > > #!/usr/bin/perl > > > > package check_xxx ; > > @ISA = qw(NagiosPlugin) ; > > > > use strict ; > > use NagiosPlugin ; > > > > sub new { > > my $class = shift ; > > my $this = $class->SUPER::new('check_xxx', '1.0', "-H=s", "-p=i", > > "-t=i") ; > > } > > > > sub usage { > > my $this = shift ; > > return "Usage: check_xxx.pl -H host -p port [-t timeout]\n" ; > > } > > > > sub validate_options { > > my $this = shift ; > > if ((! $this->{opts}->{H})||(! $this->{opts}->{p})){ > > die($this->usage()) ; > > } > > } > > > > sub test { > > my $this = shift ; > > my $host = $this->{opts}->{H} ; > > my $port = $this->{opts}->{p} ; > > > > my $time = $this->now() ; > > my $ok = 0 ; > > # Test xxx @ $host:$port > > my $d = sprintf("%.3f", $this->now() - $time) ; > > if ($ok){ > > $this->ok("XXX OK - $d seconds response time") ; > > } > > else{ > > $this->critical("XXX failed: ") ; > > } > > } > > > > my $p = new check_xxx() ; > > $p->run() ; > > ----------------------------------- > > that I am not sure that I follow you here and probably only would after > having seen Nagios::Plugin > > (I import the subs &support and &print_revision from utils.pm and > implement sub usage in each plugin. This is Ok.). > > Do you intend to publish your Nagios Configuration module. I have forked > it futher since last writing and think your module sufficiently useful > for others to use. > > Do you want a look at what I have (or propose) ie > > . handle multiple templates for each type of thing - it may even handle > multiple 'use TEMPLATE's in an obj def. > > . accessors (memoized autoloaded) to get stuff > > . POD > > ? > > 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabrasil at abilis.com.br Wed Jun 11 20:16:34 2003 From: gabrasil at abilis.com.br (Guilherme de Assis Brasil) Date: Wed, 11 Jun 2003 15:16:34 -0300 Subject: Bandwidth utilization checks. Message-ID: <3EE77202.4070209@abilis.com.br> I have a Nagios running integrated with APAN and RRDTool to genarate bandwith utilization graphs. I'm using "apan!snmpget" to get informations and it works well. But the alerts doesn't work... I'd like to set Nagios to alert me (WARNING, CRITICAL) according especific thresholds. Is it possible? I.e.: If a have a 512Kbps links, Nagios cold give me a WARNING if my utilization is gigger than 384 Kbps. Something like this. -- Guilherme de Assis Brasil gabrasil at abilis.com.br - CCNA Certified - Linux User: 77317 ABILIS TECNOLOGIA LTDA Tel: (47) 433-0606 Joinville - SC - Brasil ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nestorlcabrera at hotmail.com Wed Jun 11 21:06:17 2003 From: nestorlcabrera at hotmail.com (Nestor Cabrera) Date: Wed, 11 Jun 2003 15:06:17 -0400 Subject: Monitoring Shiva Lanrover Message-ID: I'm trying to monitor a Shive LANRover Plus by ports (23, 115, 1549) using the check_tcp!port_number command but it fails everytime. Same configuration being used on other hosts with no problem. I think it may have something to do with the hostname although I'm not sure how to find the hostname of this unit. Is there a plugin specifically designge for Shiva available? Thanks.
Nestor L. Cabrera
_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TAlbrecht at wernerelectric.com Wed Jun 11 20:58:51 2003 From: TAlbrecht at wernerelectric.com (Travis Albrecht) Date: Wed, 11 Jun 2003 13:58:51 -0500 Subject: 3d status map SSL Message-ID: <98A23B12BF469E4C92BA67EF99685BB243E877@wese2k002.wes.local> Nagios is up and running wonderfully, however when I enable SSL and run Nagios as a secure site the 3D status map no longer functions. Nagios 1.0 on Slackware. I get the dreaded download confirmation box in IE with Cortona VRML plugin when the site is secure. Any Thoughts? Travis Albrecht Business Systems Engineer Werner Electric Supply -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Wed Jun 11 21:41:01 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 11 Jun 2003 14:41:01 -0500 Subject: hostextinfo not working Message-ID: <16103.34253.689753.824787@montanaro.dyndns.org> (I'm running Nagios 1.1 on Mac OS X.) I decided to experiment with the hostextinfo stuff today. I added define hostextinfo{ icon_image win40.png vrml_image win40.png statusmap_image win40.gd2 host_name cyclops } to my cgi.cfg file and define host{ use desktop host_name cyclops alias Skip's Desktop address 129.105.214.85 } in my hosts.cfg file. I downloaded the base image stuff and tossed the files in ~nagios/share/images/logos (read permission for all). I don't see an image in the output of the various CGI scripts which involve cyclops, nor do I see requests for win40.png in the Apache access_log, errors related to this in the Apache error_log or the Nagios logs and no errors or warnings related to them are displayed when I run nagios -v. What am I missing? Thanks, -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Wed Jun 11 22:04:02 2003 From: itamarf at pbh.gov.br (itamarf) Date: Wed, 11 Jun 2003 17:04:02 -0300 Subject: help Nagios Message-ID: <3EE78B32.C9ABC406@pbh.gov.br> hi! how can I make for the nagios send the notifications? i am using in a Linux Conectiva 8 Thanks! ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jun 11 22:54:04 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 11 Jun 2003 17:54:04 -0300 Subject: Nagios 1.1 and Apache 2.0.40 Error Message-ID: <20030611205404.23187.qmail@linuxmail.org> Hi... By default: /usr/local/nagios/etc/htpasswd.users The error said: "check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." The file is: /usr/local/nagios/etc/cgi.cfg And the error may be: authorized_for_all_services=??? authorized_for_all_hosts=??? Try to put the user's name that you're logging in, something like `nagiosadmin'. Best reagards... []'s ----- Original Message ----- From: Dan Lacey Date: Wed, 11 Jun 2003 09:56:04 -0600 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 1.1 and Apache 2.0.40 Error > My htpasswd file is in the nagios etc directory. Can you check this? > > Steinbacher Manfred wrote: > > > Hello > > I have installed Nagios 1.1 on Red-Hat 9.0 with Apache 2.0.40. > > > > The installations was ok. > > When I go to the web-site /hostname/nagios/ it appear the startsite of > > nagios and ask me for a username and password ( I have add the file > > .htaccess in the sbin directory and also add the user with the htpasswd). > > > > But when I go to any link ( Tactical Overview or Host Detail) I always > > got following error: > > It appears as though you do not have permission to view information > > for any of the services you requested... > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > I have no idea. > > > > Thanks for your help. > > > > Best Regards > > > > manfred > > > > -- > Dan Lacey > Cyber Mesa Computer Systems > 1830 Fifth Street > Santa Fe, New Mexico 87505 > 505 988-9200 Voice > 505 988-8875 Fax -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Wed Jun 11 23:29:26 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 11 Jun 2003 17:29:26 -0400 Subject: Question about check_bgp Message-ID: <5.1.0.14.0.20030611172420.02ae6830@pop.icnet.com.ve> Hi, I configure the check_bgpstate plugin and is running very well, but now I want to configure the check_bgp plugin for check the bgp session in my router, but is working bad. I don?t know how to configure the variables in the plugin and the check_command Thanks Jeyri bautista ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Wed Jun 11 23:29:31 2003 From: jasonp at iland.com (Jason Payne) Date: Wed, 11 Jun 2003 16:29:31 -0500 Subject: help Nagios In-Reply-To: <3EE78B32.C9ABC406@pbh.gov.br> References: <3EE78B32.C9ABC406@pbh.gov.br> Message-ID: Make for the Nagios to use the contacts and the turn the notifications on in the nagios.cfg and then add the contacts to the hosts/services and then the nagios will the notificationify you. :) Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of itamarf Sent: Wednesday, June 11, 2003 3:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help Nagios hi! how can I make for the nagios send the notifications? i am using in a Linux Conectiva 8 Thanks! ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From logan at qlnet.com Thu Jun 12 01:35:41 2003 From: logan at qlnet.com (logan) Date: Wed, 11 Jun 2003 17:35:41 -0600 Subject: Help with getting nagios to display on apache. Message-ID: <000901c33072$2ba56350$0deabbd0@carbon> Help with getting nagios to display on apache. I am having trouble getting apache to display my nagios page; I did the nagios install in the default directory, and with the default config (/usr/local/nagios). I have added the script alias in my httpd.conf file for both html and cgi's and restarted the server. I know that nagios is working properly, because I have ran verify script and it says I have no errors, and it outputs correctly to my log files. I also know that apache is working correctly because I can view the apache test page when I browse to my ip or http://207.0.0.1 But when I browse to http://"MYIP"/nagios or http://207.0.0.1/nagios, I get a 404 error, object not found. I have sorted through all the config files I could find, and read all the docs at least twice, can anyone tell me what I am doing wrong? Thanks. logan at qlnet.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 12 02:02:39 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 12 Jun 2003 10:02:39 +1000 Subject: How to check a windows timestamp (remotely)? In-Reply-To: <1055343820.30483.2.camel@elijah>; from networks@wi.rr.com on Wed, Jun 11, 2003 at 10:03:39AM -0500 References: <1055343820.30483.2.camel@elijah> Message-ID: <20030612100235.A74470@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Jun 11, 2003 at 10:03:39AM -0500, Networks wrote: > Has anyone tried checking the time stamp on a file (in windows) remotely > as a plugin for Nagios? Basically I am trying to work with some batch > jobs that re run every night and want to make sure the files are > correctly updated by comparing the time stamp on the file. > that this is quite feasable in one of two ways :- 1 with smbclient //WinBOX//Share pass -u user -c 'ls; quit' You will need to write a plugin to invoke smbclient and interpret its output (check_disk_smb shows whats involved) 2 A very nice CPAN module called FileSys::SmbClient (I think) that provides a _much_ nicer object interface to an SMB file system. I am doing this with my own version - different requirements - of a module like this quite successfully. It may be be on CPAN eventually. > Any help would be appreciated. > > Thanks, > > Josh > > 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Thu Jun 12 05:45:15 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Thu, 12 Jun 2003 11:45:15 +0800 Subject: Nagios status map unmanaged Message-ID: -- please tell me how i can make my status map more clear, now its like a mess.. see attachment -------------- next part -------------- A non-text attachment was scrubbed... Name: map.gif Type: image/gif Size: 21973 bytes Desc: map.gif URL: From fredrik.wanglund at datavis.se Thu Jun 12 07:35:21 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 12 Jun 2003 07:35:21 +0200 Subject: Nagios status map unmanaged References: Message-ID: <3EE81119.5010000@datavis.se> First. If you have >50 hosts and/or different users who only can se 'their hosts' , then the statusmap is useless. To make it more clear, you should start with defining parent-relationship between hosts. They will then be drawn at different levels/radius in the maps. If you want to spend some time, you can assign coordinates to all hosts and use the 'User-supplied coords' drawing method. /FredrikW Syed Zulhilmi Tuan Sharif wrote: >-- please tell me how i can make my status map more clear, now its like a mess.. see attachment > > > > ------------------------------------------------------------------------ > From atul_iet at rediffmail.com Thu Jun 12 08:19:57 2003 From: atul_iet at rediffmail.com (Atul Shrivastava) Date: 12 Jun 2003 06:19:57 -0000 Subject: Plotting Bandwidth Utilization Using NSClient not working !!!! Message-ID: <20030612061957.17614.qmail@webmail30.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From sylvain.padoan at sihpic.fr Thu Jun 12 08:25:25 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Thu, 12 Jun 2003 08:25:25 +0200 Subject: Help with getting nagios to display on apache. References: <000901c33072$2ba56350$0deabbd0@carbon> Message-ID: <008f01c330ab$6997c200$c801007e@w80075c> helo > But when I browse to http://"MYIP"/nagios or http://207.0.0.1/nagios, I get a 404 error, object not found. try http://207.0.0.1/nagios/ sylvain - Original Message ----- From: logan To: nagios-users at lists.sourceforge.net Sent: Thursday, June 12, 2003 1:35 AM Subject: [Nagios-users] Help with getting nagios to display on apache. Help with getting nagios to display on apache. I am having trouble getting apache to display my nagios page; I did the nagios install in the default directory, and with the default config (/usr/local/nagios). I have added the script alias in my httpd.conf file for both html and cgi's and restarted the server. I know that nagios is working properly, because I have ran verify script and it says I have no errors, and it outputs correctly to my log files. I also know that apache is working correctly because I can view the apache test page when I browse to my ip or http://207.0.0.1 But when I browse to http://"MYIP"/nagios or http://207.0.0.1/nagios, I get a 404 error, object not found. I have sorted through all the config files I could find, and read all the docs at least twice, can anyone tell me what I am doing wrong? Thanks. logan at qlnet.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ton.machielsen at private.com Thu Jun 12 08:58:00 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Thu, 12 Jun 2003 08:58:00 +0200 Subject: How to monitor virtually hosted websites? (newbie alert!) Message-ID: > I've been installing them over and over again. I can't seem > to get is working. I'm using OpenBSD for my server. I > downloaded and installed gd-2.0.15.tar.gz and > png-1.2.5p1.tgz, but i can't seem to get it working. OK, this is working now. RTFM issue. :-O > > > How can i monitor virtually hosted websites? I have seen examples > > where > > > they configure websites as hosts with different IP > addresses, but i > > have > > > all my sites on one IP address. How? > > > > Check_http --help > > > > The -H flag is what you want. This still is not. In my services.cfg i have: define service{ use templ_service ; Name of service template to use host_name w1 service_description WWW.WEBSITE.COM 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 check_command check_http!http://www.website.com } Can't see anything wrong with it. I'll keep on reading though. Thanks for the help so far. Ton. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.machielsen at private.com Thu Jun 12 09:03:05 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Thu, 12 Jun 2003 09:03:05 +0200 Subject: How to monitor virtually hosted websites? (GD item FIXED, one more problem to go) Message-ID: Hi all, Thanks for all your help getting the GD libraries to work. I got it working yesterday. I am still struggling with my virtual hosted websites. Nagios seems to do the http check against the server instead of against the sites. This is my definition in services.cfg: define service{ use templ_service ; Name of service template to use host_name w1 service_description WWW.WEBSITE.COM 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 check_command check_http!http://www.website.com } Can't see too much wrong with it. Any hints? Ton. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhp at addix.net Thu Jun 12 09:05:14 2003 From: jhp at addix.net (Jan-Hendrik Palic) Date: Thu, 12 Jun 2003 09:05:14 +0200 Subject: Notifications at free days under the week Message-ID: <20030612070514.GA21090@addix.net> Hi folks ... I have the following problem. I let nagios send SMS for notifications, the whole day at weekend and between 08pm - 08am o' clock under the week. So, all the time, where nobody is at work, should nagios send a SMS. But when we have a free day under the week, nagios sends SMS only between 08pm - 08am o' clock. What is the best way to get nagios send SMS the hole day, when we are all not at work under the week .... without to configure it manually? Thnx for hints ;) Jan ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.machielsen at private.com Thu Jun 12 09:04:58 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Thu, 12 Jun 2003 09:04:58 +0200 Subject: Nagios and RRD Tool? Message-ID: Hi all, I switched from Big Sister to Nagios. One of the things i'm missing in Nagios is RRD Tool functionality. Has anybody made an attempt to integrate RRD Tool into Nagios? Ton. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhp at addix.net Thu Jun 12 09:36:26 2003 From: jhp at addix.net (Jan-Hendrik Palic) Date: Thu, 12 Jun 2003 09:36:26 +0200 Subject: Nagios and RRD Tool? In-Reply-To: References: Message-ID: <20030612073626.GB21090@addix.net> Hoi .. On Thu, Jun 12, 2003 at 09:04:58AM +0200, Ton Machielsen wrote: >I switched from Big Sister to Nagios. One of the things i'm missing in >Nagios is RRD Tool functionality. You might to look at apan.sourceforge.net? Regards Jan ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Thu Jun 12 09:34:51 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Thu, 12 Jun 2003 09:34:51 +0200 Subject: WAP autentification ??? References: <3EE81119.5010000@datavis.se> Message-ID: <00bc01c330b5$1c8507c0$c801007e@w80075c> hello I try to use the WAP interface. but I want ti know where I do specify the autorisation for this CGI ??? when i use DECK-IT WML previewer 1.2.3 Error 403 permission denied when I use imacos.com emulator Errors/Warnings: ------------------------- 002 Recieved a 'Timeout' signal while requesting the page. Please try again. when I use Iexplorer or mozila, a message box appear with USER and PASSWORD. Why this message box does'nt appear in my WAP interface?? thanks a lot, sylvain ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manfred.steinbacher at scheucher.at Thu Jun 12 08:14:00 2003 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Thu, 12 Jun 2003 08:14:00 +0200 Subject: Nagios 1.1 Compile Error Message-ID: <3705031E1454D7119E740002B32AED360131DC@ntsv01.scheucher.at> Hello I have install Nagios 1.1 on a Red-Hat 9.0 system. The command configure works without any error but the command make all has problems When I wand to execute the command "make all" the following error occur: /nagios-1.1/cgi/statusmap.c:2222 undefined reference to 'gdImageCreateFromJpeg' I have installed the gd.2.0.15 library. Thanks Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From davy.gaussen at sneftechnologies.fr Thu Jun 12 11:32:48 2003 From: davy.gaussen at sneftechnologies.fr (Davy Gaussen) Date: Thu, 12 Jun 2003 10:32:48 +0100 Subject: unsuscribe References: <20030612073626.GB21090@addix.net> Message-ID: <006501c330c5$96a656c0$5966a8c0@sneftech> HOW CAN I UNSUSCRIBE PLEASE????? ----- Original Message ----- From: "Jan-Hendrik Palic" To: Sent: Thursday, June 12, 2003 8:36 AM Subject: Re: [Nagios-users] Nagios and RRD Tool? > Hoi .. > > On Thu, Jun 12, 2003 at 09:04:58AM +0200, Ton Machielsen wrote: > >I switched from Big Sister to Nagios. One of the things i'm missing in > >Nagios is RRD Tool functionality. > > You might to look at apan.sourceforge.net? > > > Regards > Jan > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 12 10:43:36 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 12 Jun 2003 09:43:36 +0100 Subject: How to check a windows timestamp (remotely)? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137AD@jessica.herefordshire.gov.uk> It should be simple enough to script a plugin for nrpe_nt to do it. Check out http://support.tsmgsoftware.com/ Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Networks [mailto:networks at wi.rr.com] > Sent: 11 June 2003 16:04 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to check a windows timestamp (remotely)? > > > Has anyone tried checking the time stamp on a file (in > windows) remotely > as a plugin for Nagios? Basically I am trying to work with some batch > jobs that re run every night and want to make sure the files are > correctly updated by comparing the time stamp on the file. > > Any help would be appreciated. > > Thanks, > > Josh > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Thu Jun 12 11:02:09 2003 From: js at irishbroadband.ie (John Senior) Date: Thu, 12 Jun 2003 10:02:09 +0100 Subject: Check_snmp doesn't seem to work correctly? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0BA149@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0BA149@dubsrv01.irishbroadband.ie> Message-ID: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088994@dubsrv01.irishbroadband.ie> Thanks Subhendu, however, if you look at the commands below, I have run with -c "500:0" which returns critical as you would expect, and also with -c "100:0" which still returns critical! In the 2nd example below 228 is clearly not in the range 0-100.. Cheers, John. -- John Senior > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Subhendu > Ghosh > Sent: 11 June 2003 15:05 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_snmp doesn't seem to work correctly? > > > On Wed, 11 Jun 2003, John Senior wrote: > > > Hi there folks, I'm trying to check a SNMP value with the check_snmp > > plugin > > and it doesn't seem to be working correctly: > > > > mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233 > > > > SNMP CRITICAL - *233* > > > > mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228 > > > > SNMP CRITICAL - *228* > > > > The limits seem to be ignored for some reason - the plugin always > > returns > > a critical status. This happens to be a voltage reading > and I want to > > get > > a notification if it drops below a certain level. > > > > Am I missing something obvious? > > > > All the best, > > > > John. > > > > -- > > John Senior > > > > from the help: > > - If specified in the order 'max:min' a non-OK state will be > returned if > the result is within the (inclusive) range. > > 500<223<0 ==> non-OK == CRITICAL > > -- > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sylvain.padoan at sihpic.fr Thu Jun 12 11:05:59 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Thu, 12 Jun 2003 11:05:59 +0200 Subject: WAP interface References: <3EE81119.5010000@datavis.se> <00bc01c330b5$1c8507c0$c801007e@w80075c> Message-ID: <011101c330c1$d799ad20$c801007e@w80075c> hello I try to use the WAP interface. but I want to know why my result in this interface is 0 !!! ???? what is the file to configure the WAP interface? a screen shot of the problem : Anyone else any ideas? Regards, sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wap.bmp Type: image/bmp Size: 29614 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 12 11:45:01 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 12 Jun 2003 19:45:01 +1000 Subject: unsuscribe In-Reply-To: <006501c330c5$96a656c0$5966a8c0@sneftech>; from davy.gaussen@sneftechnologies.fr on Thu, Jun 12, 2003 at 10:32:48AM +0100 References: <20030612073626.GB21090@addix.net> <006501c330c5$96a656c0$5966a8c0@sneftech> Message-ID: <20030612194456.A229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say that it appears to me that 1 The obvious place, https://lists.sourceforge.net/lists/listinfo/nagios-users does _not_ help one subsribe. I could onlu see directions for 1.1 subscribing and 1.2 getting a digest Here is the text I see " Using Nagios-users To post a message to all the list members, send email to nagios-users at lists.sourceforge.net. You can subscribe to the list, or change your existing subscription, in the sections below. Subscribing to Nagios-users Subscribe to Nagios-users by filling out the following form. You will be sent email requesting confirmation, to prevent others from gratuitously subscribing you. This is a hidden list, which means that the members list is available only to the list administrator. Your email address: You must enter a privacy password. This provides only mild security, but should prevent others from messing with your subscription. Do not use a valuable password as it will occasionally be emailed back to you in cleartext. Once a month, your password will be emailed to you as a reminder. Pick a password: Reenter password to confirm: Would you like to receive list mail batched in a daily digest? No Yes Nagios-users Subscribers The subscribers list is only available to the list administrator. " 2 Searching the Nag archives at http://sourceforge.net/mailarchive/forum.php?forum=nagios-users for 'unsubscribe' shows a letter from Mr Ghosh that suggests is somewehere in the page. I couldn't see it. So, it looks like to unsubscribe one sends a letter addressed to nagios-users-request at lists.sourceforge.net with subject unsubscribe On Thu, Jun 12, 2003 at 10:32:48AM +0100, Davy Gaussen wrote: > HOW CAN I UNSUSCRIBE PLEASE????? > HTH, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Jun 12 11:45:56 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 12 Jun 2003 11:45:56 +0200 (CEST) Subject: Windows swap monitoring Message-ID: <20030612094556.90544.qmail@web10902.mail.yahoo.com> Hi, I'd like to monitor Windows swap memory (paging). I have to do it by SNMP because I'm not allowed to use passive services on servers. But I can't figure out which OID I should use (in Microsoft MIB) : ...performance.memory.memoryPagesPerSec ? Or performance.pageFilePaging-FileTable.pagefilePercentUsage ? Or maybe an other one OID ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Thu Jun 12 11:56:26 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Thu, 12 Jun 2003 11:56:26 +0200 Subject: Harddisk space Message-ID: <200306121156.26303@tg> Hello there. I was wondering how much space a nagios installation needs, if it is running some time, and a few 100 checks are managed regulary. Is there a kind of Round-Robin Database, or grows it bigger and bigger. What does your machines have? What would you suggest? -- Viele Gr??e Thorsten Giese ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 12:11:41 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 12 Jun 2003 12:11:41 +0200 Subject: Harddisk space In-Reply-To: <200306121156.26303@tg> References: <200306121156.26303@tg> Message-ID: <3EE851DD.6020206@dhl.com> Dear, Please find my answers below. Thorsten Giese wrote: > Hello there. > > I was wondering how much space a nagios installation needs, if it is running > some time, and a few 100 checks are managed regulary. Is there a kind of > Round-Robin Database, or grows it bigger and bigger. [root at netsaint etc]# du -hs /usr/local/nagios/ 94M /usr/local/nagios This off course depends on the amount of checks. I have now 222 hosts and 590 services. Log files are not RRD-based, so they grow bigger and bigger (or more files, depends on how yo configured it). [root at netsaint etc]# du -hs /usr/local/nagios/var/ 84M /usr/local/nagios/var And this is the amount of historical data I have: [root at netsaint etc]# ls /usr/local/nagios/var/archives/ -hal total 82M drwxrwxr-x 2 nagios nagios 4.0k Jun 1 00:00 . drwxrwxr-x 4 nagios nagios 4.0k Jun 12 12:07 .. -rw-r--r-- 1 nagios nagios 7.7M Jan 15 10:12 nagios-01-01-2003-00.log -rw-rw-r-- 1 nagios nagios 5.2M Jan 31 23:28 nagios-02-01-2003-00.log -rw-rw-r-- 1 nagios nagios 4.0M Feb 28 23:53 nagios-03-01-2003-00.log -rw-rw-r-- 1 nagios nagios 3.1M Mar 31 23:57 nagios-04-01-2003-00.log -rw-r--r-- 1 nagios nagios 3.2M Apr 30 23:59 nagios-05-01-2003-00.log -rw-r--r-- 1 nagios nagios 4.1M Jan 15 10:12 nagios-06-01-2002-00.log -rw-r--r-- 1 nagios nagios 3.1M May 31 23:57 nagios-06-01-2003-00.log -rw-r--r-- 1 nagios nagios 3.5M Jan 15 10:12 nagios-07-01-2002-00.log -rw-r--r-- 1 nagios nagios 9.4M Jan 15 10:12 nagios-08-01-2002-00.log -rw-r--r-- 1 nagios nagios 7.7M Jan 15 10:12 nagios-09-01-2002-00.log -rw-r--r-- 1 nagios nagios 9.0M Jan 15 10:12 nagios-10-01-2002-00.log -rw-r--r-- 1 nagios nagios 9.7M Jan 15 10:12 nagios-11-01-2002-00.log -rw-r--r-- 1 nagios nagios 11M Jan 15 10:12 nagios-12-01-2002-00.log As you can see, most disk space is taken up by the archives. You can safely delete these if you are not interested in historical data. > What does your machines have? What would you suggest? Nagios is running on an HP LP2000r Netserver dual PIII 1.4 Ghz, 1 Gb RAM, 3 NICS (2 100 Mbit, 1 Gbit), 36 Gb RAID 1 SCSI. Running smoothly by the way (together with some other apps as Veritas Netbackup). Check out http://www.nagios.org/userprofiles/browse.php for more usage data. Kind regards, Tom ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Jun 12 12:11:46 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 12 Jun 2003 11:11:46 +0100 Subject: unsuscribe Message-ID: <53104E20A25CD411B556009027E50636079A9C35@pnnemp02.pn.egg.com> The location https://lists.sourceforge.net/lists/listinfo/nagios-users DOES have an unsubscribe option - it is at the bottom under the heading Nagios-users Subscribers. You have to enter your subscription email address and then the following page allows you to unsubscribe. However, it is not obvious. I don't know if Subhendu can do anything about this page. Ton > -----Original Message----- > From: Stanley Hopcroft [SMTP:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Thursday, June 12, 2003 10:45 AM > To: Davy Gaussen > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] unsuscribe > > Dear Sir, > > I am writing to thank you for your letter and say that it appears to me > that > > 1 The obvious place, > https://lists.sourceforge.net/lists/listinfo/nagios-users > > does _not_ help one subsribe. I could onlu see directions for > > 1.1 subscribing and > > 1.2 getting a digest > > Here is the text I see > > " > Using Nagios-users > To post a message to all the list members, send email to > nagios-users at lists.sourceforge.net. > > You can subscribe to the list, or change your existing subscription, in > the sections below. > Subscribing to Nagios-users > Subscribe to Nagios-users by filling out the following form. You will be > sent email requesting confirmation, to prevent others from gratuitously > subscribing you. This is a > hidden list, which means that the members list is available only to the > list administrator. > > Your email address: > > > You must enter a privacy password. This provides only mild security, but > should prevent others from messing with your subscription. > Do not use a valuable password as it will occasionally be emailed back > to you in cleartext. Once a month, your password will be > emailed to you as a reminder. > Pick a password: > > > Reenter password to confirm: > > > Would you like to receive list mail batched in a daily digest? > > No Yes > > > > Nagios-users Subscribers > > The subscribers list is only available to the list administrator. > " > > 2 Searching the Nag archives at > http://sourceforge.net/mailarchive/forum.php?forum=nagios-users > > for 'unsubscribe' shows a letter from Mr Ghosh that suggests > > > > is somewehere in the page. > > I couldn't see it. > > So, it looks like to unsubscribe one sends a letter addressed to > > nagios-users-request at lists.sourceforge.net > > with subject unsubscribe > > > > > > > On Thu, Jun 12, 2003 at 10:32:48AM +0100, Davy Gaussen wrote: > > HOW CAN I UNSUSCRIBE PLEASE????? > > > > HTH, > > 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: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Jun 12 12:16:07 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 12 Jun 2003 11:16:07 +0100 Subject: How to monitor virtually hosted websites? (GD item FIXED, one more problem to go) Message-ID: <53104E20A25CD411B556009027E50636079A9C36@pnnemp02.pn.egg.com> What is your check_http check_command defined as? If it is something like command check_http -H $ARG1$ then the check_command in the service below should read: check_command check_http!www.website.com The http:// is not required. (The other) Ton > -----Original Message----- > From: Ton Machielsen [SMTP:ton.machielsen at private.com] > Sent: Thursday, June 12, 2003 8:03 AM > To: skip at pobox.com > Cc: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to monitor virtually hosted websites? (GD > item FIXED, one more problem to go) > > Hi all, > > Thanks for all your help getting the GD libraries to work. I got it > working yesterday. > > I am still struggling with my virtual hosted websites. Nagios seems to > do the http check against the server instead of against the sites. This > is my definition in services.cfg: > > define service{ > use templ_service ; Name > of service template to use > host_name w1 > service_description WWW.WEBSITE.COM > 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 > check_command > check_http!http://www.website.com > } > > Can't see too much wrong with it. > > Any hints? > > > Ton. > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.machielsen at private.com Thu Jun 12 12:18:46 2003 From: ton.machielsen at private.com (Ton Machielsen) Date: Thu, 12 Jun 2003 12:18:46 +0200 Subject: How to monitor virtually hosted websites? (GD item FIXED, one more problem to go) Message-ID: > What is your check_http check_command defined as? If it is > something like > > command check_http -H $ARG1$ No, the standard command definition is command check_http -H $HOSTADDRESS$. That's why it checks against the host. What i've done now is to create websites as hosts and do a check_http against them. Lemme see, maybe it's better to just change the command definition to the above. Good tip! Ton. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 12 12:24:07 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 12 Jun 2003 20:24:07 +1000 Subject: unsuscribe In-Reply-To: <53104E20A25CD411B556009027E50636079A9C35@pnnemp02.pn.egg.com>; from Ton.Voon@egg.com on Thu, Jun 12, 2003 at 11:11:46AM +0100 References: <53104E20A25CD411B556009027E50636079A9C35@pnnemp02.pn.egg.com> Message-ID: <20030612202404.B229@IPAustralia.Gov.AU> Dear Sir, I apologise _profusely_ for wasting your time but I could not see it even after looking where you describe. On Thu, Jun 12, 2003 at 11:11:46AM +0100, Voon, Ton wrote: > The location https://lists.sourceforge.net/lists/listinfo/nagios-users DOES > have an unsubscribe option - it is at the bottom under the heading > Nagios-users Subscribers. You have to enter your subscription email address > and then the following page allows you to unsubscribe. > > However, it is not obvious. I don't know if Subhendu can do anything about > this page. > > Ton > > For the benefit of others like me, "To change your subscription (set options like digest and delivery modes, get a reminder of your password, __or unsubscribe from Nagios-users), enter your subscription email address:__" May I suggest, To change your subscription (set options like digest and delivery modes, get a reminder of your password, or unsubscribe from Nagios-users), enter your subscription email address: or To change your subscription (set options like digest and delivery modes, get a reminder of your password, or unsubscribe from Nagios-users), enter your subscription email address: Thanks for coming to the rescue of the less fortunate. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 12:31:17 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 12 Jun 2003 12:31:17 +0200 Subject: unsuscribe In-Reply-To: <20030612202404.B229@IPAustralia.Gov.AU> References: <53104E20A25CD411B556009027E50636079A9C35@pnnemp02.pn.egg.com> <20030612202404.B229@IPAustralia.Gov.AU> Message-ID: <3EE85675.90106@dhl.com> Dear, Adding an unsubscribe link in the already _huge_ email footers would also be a nice idea... Kind regards, Tom Stanley Hopcroft wrote: > Dear Sir, > > I apologise _profusely_ for wasting your time but I could not see it > even after looking where you describe. > > On Thu, Jun 12, 2003 at 11:11:46AM +0100, Voon, Ton wrote: > >>The location https://lists.sourceforge.net/lists/listinfo/nagios-users DOES >>have an unsubscribe option - it is at the bottom under the heading >>Nagios-users Subscribers. You have to enter your subscription email address >>and then the following page allows you to unsubscribe. >> >>However, it is not obvious. I don't know if Subhendu can do anything about >>this page. >> >>Ton >> >> > > > For the benefit of others like me, > > "To change your subscription (set options like digest and delivery > modes, get a reminder of your password, __or unsubscribe from > Nagios-users), enter your subscription email address:__" > > May I suggest, > > To change your subscription (set options like digest and delivery modes, > get a reminder of your password, or unsubscribe from Nagios-users), > enter your subscription email address: > > or > > > To change your subscription (set options like digest and delivery > modes, get a reminder of your password, or unsubscribe from > Nagios-users), enter your subscription email address: > > > Thanks for coming to the rescue of the less fortunate. > > Yours sincerely. > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Thu Jun 12 13:35:27 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 12 Jun 2003 12:35:27 +0100 Subject: unsuscribe Message-ID: <1012BD903945D411915500105A48FF5701C730E2@nt.man.fwltech.com> It's well hidden, but it is there. You put your email address in the bottom field, hit "edit options" on https://lists.sourceforge.net/lists/listinfo/nagios-users, then on the next page it has: Unsubscribing from Nagios-users To unsubscribe, enter your password and hit the button. (If you've lost your password, see just below to have it emailed to you.) Password: Ewan > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: 12 June 2003 11:24 > To: Voon, Ton > Cc: 'Stanley Hopcroft'; Davy Gaussen; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] unsuscribe > > > Dear Sir, > > I apologise _profusely_ for wasting your time but I could not see it > even after looking where you describe. > > On Thu, Jun 12, 2003 at 11:11:46AM +0100, Voon, Ton wrote: > > The location > https://lists.sourceforge.net/lists/listinfo/nagios-users DOES > > have an unsubscribe option - it is at the bottom under the heading > > Nagios-users Subscribers. You have to enter your > subscription email address > > and then the following page allows you to unsubscribe. > > > > However, it is not obvious. I don't know if Subhendu can do > anything about > > this page. > > > > Ton > > > > > > For the benefit of others like me, > > "To change your subscription (set options like digest and delivery > modes, get a reminder of your password, __or unsubscribe from > Nagios-users), enter your subscription email address:__" > > May I suggest, > > To change your subscription (set options like digest and > delivery modes, > get a reminder of your password, or unsubscribe from Nagios-users), > enter your subscription email address: > > or > > > To change your subscription (set options like digest and delivery > modes, get a reminder of your password, or unsubscribe from > Nagios-users), enter your subscription email address: > > > Thanks for coming to the rescue of the less fortunate. > > 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: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From papendick at nexserver.com Thu Jun 12 13:55:46 2003 From: papendick at nexserver.com (Kevin L. Papendick) Date: Thu, 12 Jun 2003 07:55:46 -0400 Subject: Help with getting nagios to display on apache. In-Reply-To: <000901c33072$2ba56350$0deabbd0@carbon> References: <000901c33072$2ba56350$0deabbd0@carbon> Message-ID: <3EE86A42.4060303@nexserver.com> This may sound silly and trivial, but try: http://"MYIP"/nagios/ or http://207.0.0.1/nagios/ Note the trailing slash. -- ******************************** Kevin L. Papendick Programmer Analyst Nexserver www.nexserver.com papendick at nexserver.com (v) 716-655-9968 (f) 716-655-9982 ******************************** logan wrote: > Help with getting nagios to display on apache. > > I am having trouble getting apache to display my nagios page; I did the > > But when I browse to http://"MYIP"/nagios or http://207.0.0.1/nagios, I > get a 404 error, object not found. > > Thanks. > logan at qlnet.com > > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Thu Jun 12 14:07:30 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Thu, 12 Jun 2003 07:07:30 -0500 Subject: NSClient SERVICESTATE question Message-ID: Hi, I am having problems with this and somewhat confused. If I use the command ./check_nt -H xxx.xxx.xxx.xxx -v PROCSTATE -l grpwise.exe to check the grpwise.exe process, it responds with "All Processes are running". But if I use the command like this ./check_nt -H xxx.xxx.xxx.xxx -v SERVICESTATE -l grpwise.exe it returns "grpwise.exe: Unknown". I thought the PROCSTATE and SERVICESTATE were basically the same command. Is there any major difference between the two? Are the results different? Running Nagios 1.0 with NSClient 1.0.8.4 and have been working on this for a couple of days and finally gave up and decided to ask. Thanks Leonard ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 12 14:15:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 12 Jun 2003 08:15:51 -0400 (EDT) Subject: Check_snmp doesn't seem to work correctly? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088994@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088994@dubsrv01.irishbroadband.ie> Message-ID: Sorry - about that. What version of the plugin are you using? On Thu, 12 Jun 2003, John Senior wrote: > Thanks Subhendu, however, if you look at the commands below, I have > run > with -c "500:0" which returns critical as you would expect, and also > with -c "100:0" which still returns critical! In the 2nd example > below 228 is clearly not in the range 0-100.. > > Cheers, > > John. > > -- > John Senior > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Subhendu > > Ghosh > > Sent: 11 June 2003 15:05 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Check_snmp doesn't seem to work > correctly? > > > > > > On Wed, 11 Jun 2003, John Senior wrote: > > > > > Hi there folks, I'm trying to check a SNMP value with the > check_snmp > > > plugin > > > and it doesn't seem to be working correctly: > > > > > > mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233 > > > > > > SNMP CRITICAL - *233* > > > > > > mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228 > > > > > > SNMP CRITICAL - *228* > > > > > > The limits seem to be ignored for some reason - the plugin always > > > returns > > > a critical status. This happens to be a voltage reading > > and I want to > > > get > > > a notification if it drops below a certain level. > > > > > > Am I missing something obvious? > > > > > > All the best, > > > > > > John. > > > > > > -- > > > John Senior > > > > > > > from the help: > > > > - If specified in the order 'max:min' a non-OK state will be > > returned if > > the result is within the (inclusive) range. > > > > 500<223<0 ==> non-OK == CRITICAL > > -- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 12 14:33:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 12 Jun 2003 08:33:01 -0400 (EDT) Subject: unsuscribe In-Reply-To: <3EE85675.90106@dhl.com> References: <3EE85675.90106@dhl.com> Message-ID: There are no options to add the text Stanley suggested near the "Edit Options" button. Instead I added the following paragraph in a "About Nagios-users" section of the mailing list page. To unsubscribe - enter you email in the box at the bottom of the page and select "Edit Options". On the following page, enter your list password and select "Unsubscribe". -sg On Thu, 12 Jun 2003, Tom DE BLENDE wrote: > Dear, > > Adding an unsubscribe link in the already _huge_ email footers would > also be a nice idea... > > Kind regards, > Tom > > Stanley Hopcroft wrote: > > Dear Sir, > > > > I apologise _profusely_ for wasting your time but I could not see it > > even after looking where you describe. > > > > On Thu, Jun 12, 2003 at 11:11:46AM +0100, Voon, Ton wrote: > > > >>The location https://lists.sourceforge.net/lists/listinfo/nagios-users DOES > >>have an unsubscribe option - it is at the bottom under the heading > >>Nagios-users Subscribers. You have to enter your subscription email address > >>and then the following page allows you to unsubscribe. > >> > >>However, it is not obvious. I don't know if Subhendu can do anything about > >>this page. > >> > >>Ton > >> > >> > > > > > > For the benefit of others like me, > > > > "To change your subscription (set options like digest and delivery > > modes, get a reminder of your password, __or unsubscribe from > > Nagios-users), enter your subscription email address:__" > > > > May I suggest, > > > > To change your subscription (set options like digest and delivery modes, > > get a reminder of your password, or unsubscribe from Nagios-users), > > enter your subscription email address: > > > > or > > > > > > To change your subscription (set options like digest and delivery > > modes, get a reminder of your password, or unsubscribe from > > Nagios-users), enter your subscription email address: > > > > > > Thanks for coming to the rescue of the less fortunate. > > > > Yours sincerely. > > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at obantec.net Thu Jun 12 14:41:32 2003 From: support at obantec.net (Obantec Support) Date: Thu, 12 Jun 2003 13:41:32 +0100 Subject: unsuscribe References: <1012BD903945D411915500105A48FF5701C730E2@nt.man.fwltech.com> Message-ID: <330e01c330df$f7002d10$0a01a8c0@gamma> Hi Since its a mailman list you can get to your options via this url https://lists.sourceforge.net/lists/options/nagios-users/ but you need to add your email address at the end of the link. (if you go to the link without it will report an error but then simply add the address you subscribed with. (the url was supplied with subscribe email) Mark -- Obantec Support www.obantec.net WebHosting and Domains Nominet UK Tag Holder ----- Original Message ----- From: "Ewan Leith" To: "'Stanley Hopcroft'" ; "Voon, Ton" Cc: "Davy Gaussen" ; Sent: Thursday, June 12, 2003 12:35 PM Subject: RE: [Nagios-users] unsuscribe > It's well hidden, but it is there. You put your email address in the bottom > field, hit "edit options" on > https://lists.sourceforge.net/lists/listinfo/nagios-users, then on the next > page it has: > > Unsubscribing from Nagios-users > To unsubscribe, enter your password and hit the button. (If you've lost your > password, see just below to have it emailed to you.) > > Password: > > > Ewan > > > -----Original Message----- > > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > > Sent: 12 June 2003 11:24 > > To: Voon, Ton > > Cc: 'Stanley Hopcroft'; Davy Gaussen; > > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] unsuscribe > > > > > > Dear Sir, > > > > I apologise _profusely_ for wasting your time but I could not see it > > even after looking where you describe. > > > > On Thu, Jun 12, 2003 at 11:11:46AM +0100, Voon, Ton wrote: > > > The location > > https://lists.sourceforge.net/lists/listinfo/nagios-users DOES > > > have an unsubscribe option - it is at the bottom under the heading > > > Nagios-users Subscribers. You have to enter your > > subscription email address > > > and then the following page allows you to unsubscribe. > > > > > > However, it is not obvious. I don't know if Subhendu can do > > anything about > > > this page. > > > > > > Ton > > > > > > > > > > For the benefit of others like me, > > > > "To change your subscription (set options like digest and delivery > > modes, get a reminder of your password, __or unsubscribe from > > Nagios-users), enter your subscription email address:__" > > > > May I suggest, > > > > To change your subscription (set options like digest and > > delivery modes, > > get a reminder of your password, or unsubscribe from Nagios-users), > > enter your subscription email address: > > > > or > > > > > > To change your subscription (set options like digest and delivery > > modes, get a reminder of your password, or unsubscribe from > > Nagios-users), enter your subscription email address: > > > > > > Thanks for coming to the rescue of the less fortunate. > > > > 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: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 12 14:40:24 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 12 Jun 2003 13:40:24 +0100 Subject: NSClient SERVICESTATE question Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137B0@jessica.herefordshire.gov.uk> PROCSTATE verifies a process is running on the NT box (i.e. that it will be in the process list in task manager). SERVICESTATE monitors wheteher an NT Service is running or not. As there is no NT Service named "grpwise.exe" you get an "unknown" response. It is all explained in the readme.html file. Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > Sent: 12 June 2003 13:08 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient SERVICESTATE question > > > Hi, > I am having problems with this and somewhat confused. If I use the > command > ./check_nt -H xxx.xxx.xxx.xxx -v PROCSTATE -l grpwise.exe > > to check the grpwise.exe process, it responds with "All Processes are > running". But if I use the command like this > ./check_nt -H xxx.xxx.xxx.xxx -v SERVICESTATE -l grpwise.exe > > it returns "grpwise.exe: Unknown". I thought the PROCSTATE and > SERVICESTATE were basically the same command. Is there any major > difference between the two? Are the results different? > > Running Nagios 1.0 with NSClient 1.0.8.4 and have been working on this > for a couple of days and finally gave up and decided to ask. > > Thanks > Leonard > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Thu Jun 12 14:46:45 2003 From: js at irishbroadband.ie (John Senior) Date: Thu, 12 Jun 2003 13:46:45 +0100 Subject: Check_snmp doesn't seem to work correctly? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0BA1E4@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0BA1E4@dubsrv01.irishbroadband.ie> Message-ID: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088999@dubsrv01.irishbroadband.ie> check_snmp -V gives this: check_snmp (nagios-plugins 1.3.0) 1.24 -- John Senior > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: 12 June 2003 13:16 > To: John Senior > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_snmp doesn't seem to work correctly? > > > Sorry - about that. What version of the plugin are you using? > > On Thu, 12 Jun 2003, John Senior wrote: > > > Thanks Subhendu, however, if you look at the commands below, I have > > run > > with -c "500:0" which returns critical as you would expect, and also > > with -c "100:0" which still returns critical! In the 2nd example > > below 228 is clearly not in the range 0-100.. > > > > Cheers, > > > > John. > > > > -- > > John Senior > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Subhendu > > > Ghosh > > > Sent: 11 June 2003 15:05 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Check_snmp doesn't seem to work > > correctly? > > > > > > > > > On Wed, 11 Jun 2003, John Senior wrote: > > > > > > > Hi there folks, I'm trying to check a SNMP value with the > > check_snmp > > > > plugin > > > > and it doesn't seem to be working correctly: > > > > > > > > mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o > > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233 > > > > > > > > SNMP CRITICAL - *233* > > > > > > > > mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o > > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > > /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161 > > > > .1.3.6.1.2.1.33.1.3.3.1.3.1 > > > > iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228 > > > > > > > > SNMP CRITICAL - *228* > > > > > > > > The limits seem to be ignored for some reason - the > plugin always > > > > returns > > > > a critical status. This happens to be a voltage reading > > > and I want to > > > > get > > > > a notification if it drops below a certain level. > > > > > > > > Am I missing something obvious? > > > > > > > > All the best, > > > > > > > > John. > > > > > > > > -- > > > > John Senior > > > > > > > > > > from the help: > > > > > > - If specified in the order 'max:min' a non-OK state will be > > > returned if > > > the result is within the (inclusive) range. > > > > > > 500<223<0 ==> non-OK == CRITICAL > > > > > -- > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From timo.koskela at datavahti.fi Thu Jun 12 14:57:49 2003 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Thu, 12 Jun 2003 15:57:49 +0300 Subject: problems with notification Message-ID: <000801c330e2$3a644da0$b50fa8c0@fi.poltto> I'm pretty confused why I can't get notification to work. I have 2 nagios servers, both running same version, 1.0. First installation works fine, but the second one isn't. I have even copied all cfg and binaries files from working nagios server, but still no notifications. Only difference is hosts.cfg, but there seems to be nothing wrong, I have even tried to copy couple hosts and services from working one, and just changed ip:s, all the other are same, notification group parameters and so on. But no use. Can anyone help? Does anyone have a clue or tip? couple lines from nagios.log [1055420478] HOST ALERT: posio_airstation3;DOWN;SOFT;6;CRITICAL - Plugin timed out after 20 seconds [1055420502] HOST ALERT: posio_airstation3;DOWN;HARD;7;CRITICAL - Plugin timed out after 20 seconds [1055420502] SERVICE ALERT: posio_airstation3;ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 20 seconds [1055420522] HOST ALERT: posio_airstation5;DOWN;SOFT;1;CRITICAL - Plugin timed out after 20 seconds [1055420542] HOST ALERT: posio_airstation5;DOWN;SOFT;2;CRITICAL - Plugin timed out after 20 seconds [1055420562] HOST ALERT: posio_airstation5;DOWN;SOFT;3;CRITICAL - Plugin timed out after 20 seconds [1055420582] HOST ALERT: posio_airstation5;DOWN;SOFT;4;CRITICAL - Plugin timed out after 20 seconds [1055420602] HOST ALERT: posio_airstation5;DOWN;SOFT;5;CRITICAL - Plugin timed out after 20 seconds [1055420622] HOST ALERT: posio_airstation5;DOWN;SOFT;6;CRITICAL - Plugin timed out after 20 seconds [1055420646] HOST ALERT: posio_airstation5;DOWN;HARD;7;CRITICAL - Plugin timed out after 20 seconds [1055420646] SERVICE ALERT: posio_airstation5;ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 20 seconds [1055420666] HOST ALERT: posio_airstation4;DOWN;SOFT;1;CRITICAL - Plugin timed out after 20 seconds [1055420686] HOST ALERT: posio_airstation4;DOWN;SOFT;2;CRITICAL - Plugin timed out after 20 seconds [1055420706] HOST ALERT: posio_airstation4;DOWN;SOFT;3;CRITICAL - Plugin timed out after 20 seconds [1055420726] HOST ALERT: posio_airstation4;DOWN;SOFT;4;CRITICAL - Plugin timed out after 20 seconds [1055420746] HOST ALERT: posio_airstation4;DOWN;SOFT;5;CRITICAL - Plugin timed out after 20 seconds [1055420766] HOST ALERT: posio_airstation4;DOWN;SOFT;6;CRITICAL - Plugin timed out after 20 seconds [1055420790] HOST ALERT: posio_airstation4;DOWN;HARD;7;CRITICAL - Plugin timed out after 20 seconds [1055420790] SERVICE ALERT: posio_airstation4;ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 20 seconds so it goes hard, but not even tries to send notification?!?! Timo -------------- next part -------------- An HTML attachment was scrubbed... URL: From wbates at wbates.com Thu Jun 12 16:10:23 2003 From: wbates at wbates.com (William Bates) Date: Thu, 12 Jun 2003 10:10:23 -0400 Subject: Nagios Segmentation Fault Message-ID: <000a01c330ec$5dff3f90$710611ac@ursusmaritimus> I have attempted to install Nagios-1.1 and Nagios-1.0 on a RedHat 8 box. When I attempt to run the binary, I get a segmentation fault. When compiling, I had no problems. This is the configuration I used: ./configure --with-cgiurl=/cgi-bin --with-htmurl= --with-nagios-user=monitor --with-nagios-grp=monitor --enable-embedded-perl --disable-statuswrl ------------------------- Bill Bates wbates at wbates.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhh at apk.net Thu Jun 12 17:21:18 2003 From: mhh at apk.net (Martin Hebrank) Date: Thu, 12 Jun 2003 11:21:18 -0400 Subject: service with only passive checks. Message-ID: <20030612112117.A20177@newstaff.apk.net> Ok. Sort of a newbie, but I did go through the FAQ and docs and can't seem to find a way to do this. If I am an idiot and it's documented, or thinking wrong, please yell at me. I want to define services with no real check_command, only a passive check. I would like it to simply assume that it's in the last state sent in via passive check. Is that at all possible? ** Martin -- Martin Hebrank. Systems Administrator/Postmaster APK.net, Cleveland, OH. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 12 17:31:19 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 12 Jun 2003 16:31:19 +0100 Subject: Nagios Segmentation Fault Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137B1@jessica.herefordshire.gov.uk> Try it without embedded Perl and see what happens. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: William Bates [mailto:wbates at wbates.com] Sent: 12 June 2003 15:10 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Segmentation Fault I have attempted to install Nagios-1.1 and Nagios-1.0 on a RedHat 8 box. When I attempt to run the binary, I get a segmentation fault. When compiling, I had no problems. This is the configuration I used: ./configure --with-cgiurl=/cgi-bin --with-htmurl= --with-nagios-user=monitor --with-nagios-grp=monitor --enable-embedded-perl --disable-statuswrl ------------------------- Bill Bates wbates at wbates.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Jun 12 17:33:26 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 12 Jun 2003 10:33:26 -0500 Subject: service with only passive checks. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com> In your service definition -- active_checks_enabled 0 ; Active service checks are disabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted I think you still have to define a check_command but it'll never get executed. -- Marc > -----Original Message----- > From: Martin Hebrank [mailto:mhh at apk.net] > Sent: Thursday, June 12, 2003 10:21 AM > To: nagios-users at lists.sourceforge.net > > Ok. Sort of a newbie, but I did go through the FAQ and docs and can't seem > to find a way to do this. If I am an idiot and it's documented, or > thinking wrong, please yell at me. > > I want to define services with no real check_command, only a passive > check. I would like it to simply assume that it's in the last state sent > in via passive check. Is that at all possible? > > ** Martin > > -- > Martin Hebrank. Systems Administrator/Postmaster > APK.net, Cleveland, OH. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Thu Jun 12 17:37:03 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Thu, 12 Jun 2003 10:37:03 -0500 Subject: OpenVMS management In-Reply-To: References: Message-ID: <11206.9681323648$1055433213@news.gmane.org> I've got a suggestion for monitoring OpenVMS. One of my most successful methods has been to have regularly scheduled batch jobs on the VMS system dump device or process information to a file, then use a scripted FTP or TFTP job to send that file to the monitoring host. That file can be parsed and submitted as a passive event. You'll want a service check that makes sure the file doesn't get stale. I currently use this to send device data to Cricket, and will be doing so with Nagios once I migrate off Netsaint 0.0.7. If you want further information, I'd be happy to post a script or two. Russell On Wed, Jun 11, 2003 at 05:57:30PM +0200, Raul Montoya Casta?eda (Accio Global) wrote: > Hello all, > > My question is very simple, someone try to monitoring a host under OpenVMS > operating system with netsaint? > it's is possible? and if yes, Which are the posibilities that we have? > > Thanks in advanced!!! > > Ra?l Montoya Casta?eda > Enginyeria de Sistemes de Xarxa > Desenvolupament de Sistemes de Gesti? > > Auna Telecomunicaciones > c\ Avila, n? 45 > 08025 Barcelona, Espanya > Tel. (+34) 93 503 35 43 > Fax. (+34) 93 503 37 24 > > mailto:raul.montoya at auna.es > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Jun 12 18:18:56 2003 From: networks at wi.rr.com (Networks) Date: 12 Jun 2003 11:18:56 -0500 Subject: Statically Scheduled Chekcs (?) Please Help In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com> Message-ID: <1055434737.31962.9.camel@elijah> I would like to be able to schedule a check to run at the same time every day. (lets say 6:00am). Is there a way to statically schedule these checks in Nagios? Thanks in advance, Josh ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhh at apk.net Thu Jun 12 18:33:59 2003 From: mhh at apk.net (Martin Hebrank) Date: Thu, 12 Jun 2003 12:33:59 -0400 Subject: service with only passive checks. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com>; from mpowell@ena.com on Thu, Jun 12, 2003 at 10:33:26AM -0500 References: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com> Message-ID: <20030612123359.B26426@newstaff.apk.net> On Thu, Jun 12, 2003 at 10:33:26AM -0500, Marc Powell wrote: > In your service definition -- > > active_checks_enabled 0 ; Active service checks are > disabled > passive_checks_enabled 1 ; Passive service checks are > enabled/accepted > > I think you still have to define a check_command but it'll never get > executed. I tried this. It still insists on executing the check_command. For testing I have check_tcp as the check_command, but without any commands, so it returns an unknown with "check_tcp: Unknown argument: (null)". So, it's definately trying to run the command and failing. I'm using Nagios 1.0, compiled from source on a Redhat 7.3 box with kernel 2.4.18-27.7.xsmp. ** Martin > > -----Original Message----- > > From: Martin Hebrank [mailto:mhh at apk.net] > > Sent: Thursday, June 12, 2003 10:21 AM > > To: nagios-users at lists.sourceforge.net > > > > Ok. Sort of a newbie, but I did go through the FAQ and docs and can't > seem > > to find a way to do this. If I am an idiot and it's documented, or > > thinking wrong, please yell at me. > > > > I want to define services with no real check_command, only a passive > > check. I would like it to simply assume that it's in the last state > sent > > in via passive check. Is that at all possible? > > > > ** Martin > > > > -- > > Martin Hebrank. Systems Administrator/Postmaster > > APK.net, Cleveland, OH. > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Martin Hebrank. Systems Administrator/Postmaster APK.net, Cleveland, OH. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ehults at paydata.com Thu Jun 12 18:39:13 2003 From: ehults at paydata.com (Bill Hults) Date: Thu, 12 Jun 2003 12:39:13 -0400 Subject: NRPE Usage Message-ID: I'm working on setting up Nagios on my mixed RH Linux & W2K network and am having some problems. I'm using nagmin for my configuration settings. If I run check_nrpe -H fs2 -c check_http from the command line it returns proper info. When run from within Nagios it returns an error message - " CHECK_NRPE: Socket timeout after 20 seconds." My setup from the Command.cfg file is - "$USER1$/check_nrpe -t 20 -H $HOSTADDRESS$ -c $ARG1$". I added the -t 20 to see if increasing the timeout would help. Any thoughts? TIA Bill Hults This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Thu Jun 12 18:47:29 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 12 Jun 2003 11:47:29 -0500 Subject: Extended Info... Message-ID: <352B04312822444A962714393AED8A4D026868@ADAEVS01.int.chickasaw.net> Ok, where would I put the serviceextinfo entrys. I put them in the hostextinfo.cfg file that is specified in cgi.cfg, but it doesn't work. The hostextinfo entrys work fine. But the serviceextinfo doesn't. Where does it go? Thanks in Advance. jrmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From phu at uui.com Thu Jun 12 18:57:14 2003 From: phu at uui.com (Phu Nguyen) Date: Thu, 12 Jun 2003 09:57:14 -0700 Subject: nagios update every 90 second. Message-ID: <001801c33103$acde0440$140a0a0a@phu> Hi everyone, I want to configure the nagios update the status of systems every 30 second, is it possible? Can any one show me how? I'm running nagios version 1.1 on SUSE 7.0 box. I'm appreciate your help, Phu Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at Medien-Systempartner.de Thu Jun 12 19:01:07 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 12 Jun 2003 19:01:07 +0200 Subject: Service check timed out / No answer from client Message-ID: <200306121901.07392.Michael.Huettig@Medien-Systempartner.de> Hi, i have problems with "service check timed out - notifications" and some unix-servers running netsaint_statd (perl). Volumes and load should be checked. Mostly all checks are fine, current load of the systems is under 5, but sometimes i get this message and also the "No answer from client"-Message. Nagios 1.0 on RH73 nagios.cfg has following Timeout-Values ... service_check_timeout=90 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 ... in which circumstances does this happen, has anyone a hint for me? -- Regards Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbadrak at tco.census.gov Thu Jun 12 19:08:53 2003 From: dbadrak at tco.census.gov (Don Badrak) Date: Thu, 12 Jun 2003 13:08:53 -0400 Subject: MIB for Nagios Message-ID: All, Hi. We've got an HP OpenView enterprise management system here. I started using Nagios to augment that, since it did several things that OVO hasn't been set up (yet) here to do: recovery messages, event correlation, and service checks. What I've been asked to do now is find a way to put Nagios notifications into OVO. I can do it through snmp traps. My plan is to use a global event handler in perl which uses the Net::SNMP modules to send an SNMP trap. One thing I've been thinking about is using a MIB to define events. Something like: x.x.x.nagios 1 state 1.1 SOFT 1.2 HARD 2 condition 2.1 OK 2.2 WARNING 2.3 CRITICAL 2.4 UNKNOWN 3 host 3.1 UP 3.2 DOWN 3.3 UNREACHABLE 3.4 RECOVERY 4 service 4.1 OK 4.2 WARNING 4.3 CRITICAL etc. Any thoughts on this? It would be nice if there was an official MIB for Nagios. What am I missing in this? Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Jun 12 19:10:21 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 12 Jun 2003 12:10:21 -0500 Subject: Extended Info... In-Reply-To: <352B04312822444A962714393AED8A4D026868@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D026868@ADAEVS01.int.chickasaw.net> Message-ID: <16104.46077.634171.862820@montanaro.dyndns.org> Jeremy> Ok, where would I put the serviceextinfo entrys. I put them in Jeremy> the hostextinfo.cfg file that is specified in cgi.cfg, but it Jeremy> doesn't work. The hostextinfo entrys work fine. But the Jeremy> serviceextinfo doesn't. Where does it go? Thanks in Advance. I just stumbled over this yesterday. In your cgi.cfg file add a line like xedtemplate_config_file=/Users/nagios/etc/hostextinfo.cfg -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Jun 12 19:11:05 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 12 Jun 2003 12:11:05 -0500 Subject: nagios update every 90 second. In-Reply-To: <001801c33103$acde0440$140a0a0a@phu> References: <001801c33103$acde0440$140a0a0a@phu> Message-ID: <16104.46121.460376.770091@montanaro.dyndns.org> Phu> I want to configure the nagios update the status of systems every Phu> 30 second, is it possible? Can any one show me how? I'm running Phu> nagios version 1.1 on SUSE 7.0 box. Change the refresh_rate setting in your cgi.cfg file. -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 12 19:32:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 12 Jun 2003 13:32:07 -0400 (EDT) Subject: MIB for Nagios In-Reply-To: References: Message-ID: On Thu, 12 Jun 2003, Don Badrak wrote: > All, > > Hi. We've got an HP OpenView enterprise management system here. I started > using Nagios to augment that, since it did several things that OVO hasn't > been set up (yet) here to do: recovery messages, event correlation, and > service checks. > > What I've been asked to do now is find a way to put Nagios notifications > into OVO. I can do it through snmp traps. My plan is to use a global > event handler in perl which uses the Net::SNMP modules to send an SNMP > trap. There is no official MIB for nagios. Rather than writing a complete mib consider just writing a trap definition. VarBinds you want to pass should be the ones that are visible for event handlers (specially if you enable state tracking). If considering the MIB, use tables for hosts, services, comment and downtime (all things that have log entries and state). -sg > > One thing I've been thinking about is using a MIB to define events. > > Something like: > > x.x.x.nagios > > 1 state > 1.1 SOFT > 1.2 HARD > > 2 condition > 2.1 OK > 2.2 WARNING > 2.3 CRITICAL > 2.4 UNKNOWN > > 3 host > 3.1 UP > 3.2 DOWN > 3.3 UNREACHABLE > 3.4 RECOVERY > > 4 service > 4.1 OK > 4.2 WARNING > 4.3 CRITICAL > > etc. > > Any thoughts on this? It would be nice if there was an official MIB for > Nagios. What am I missing in this? > > Don > -- > Don Badrak 301.763.5534 work > Telecommunications Office 301.457.4438 fax > U.S. Bureau of the Census > Suitland MD, USA > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ext-nagios at jezzer.co.uk Thu Jun 12 21:03:31 2003 From: ext-nagios at jezzer.co.uk (jez_uk1) Date: 12 Jun 2003 19:03:31 -0000 Subject: Authentication problem Message-ID: <20030612190331.23621.qmail@pod-163.dolphin-server.co.uk> I'm having trouble getting nagios 1.1 authentication to work on the CGI's.. Apache auth is working fine, and i've configured the CGI's with the appropriate username(s). After logging in "Logged in as ?" is shown. Nagios doesn't seem to be reading the necessary CGI vars. Consequently, the CGI's simply report: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." Any ideas would be appreciated! Thanks, Jeremy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Thu Jun 12 21:44:30 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 12 Jun 2003 14:44:30 -0500 Subject: Ongoing MDK-nagios-apan saga - graph.png Message-ID: <200306121444.30214.stefmit@comcast.net> I hate packagers :) On my quest for resolving the placement of files as delivered by MDK9.1 vs. where the docs and default are supposed to be (remember the long posting I had a few days ago?), I pretty much nailed down everything, except for the placement of the icon for apan (net-usage service). As someone mentioned here, already, the external file usage with xedtemplate in cgi.cfg was the working method (vs. the serviceextinfo directly in cgi.cfg, as I initially attempted). That external file has now the entry: define serviceextinfo{ host_name my-device service_description Net-usage notes_url http://localhost/nagios/cgi-bin/apan.cgi?host=my-device&service=Net-usage icon_image /usr/share/nagios/images/graph.png icon_image_alt View graphs } and the graphs show up fine, when "clicking" on the non-existent icon (just an empty frame, pointing to the notes_url). The problem is that the picture (graph.png) still doesn't show up - but this time the reason is obvious, after looking at the source for the page: the link built for the picture in the nagios page is appending the assumed nagios directory (i.e. http://my-nagios-machine/nagios/images/logos/) to the location instructed above, ending up in something like: http://my-nagios-machine/nagios/images/logos//usr/share/nagios/images/graph.png Now - where is this path coming from? I grep-ed for it (nagios/images/logos) all over, but couldn't find it anywhere. For those of you attempting to answer me that I should just have the file name (graph.png) there, I would like to kindly remind them that the directory structure of MDK9.1 nagios RPM is TOTALLY different than the /usr/local/nagios, thus me having had to change everything so far ... except for not being able to figure out this one. TIA, Stef ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From logan at qlnet.com Thu Jun 12 21:57:02 2003 From: logan at qlnet.com (logan) Date: Thu, 12 Jun 2003 13:57:02 -0600 Subject: nagios cgi error 505, help Message-ID: <000001c3311c$caa56c70$0deabbd0@carbon> Now that I have configured nagios and it seems to be running fine, at least that is what the command line "pre flight check" says. But I am getting a (server error 500) when I try to browse to my local web server (apache), the error message is as follows "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." I have looked through all of the *.conf files (cgi.conf specifically) and didn't see anything that would cause a CGI script error. And all of the files look like they are in the right directory. Dose anybody have any ideas on what went wrong? Thanks in advance. Logan logan at qlnet.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefmit at comcast.net Thu Jun 12 20:07:18 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 12 Jun 2003 13:07:18 -0500 Subject: Extended Info... In-Reply-To: <352B04312822444A962714393AED8A4D026868@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D026868@ADAEVS01.int.chickasaw.net> Message-ID: <200306121307.18591.stefmit@comcast.net> Good question. I have been trying to understand this myself, but looking in cgi.cfg I found entries right there, in the format serviceextinfo (do a search for this string, and you'll see what I mean), and the comments made in that file left me with the impression that this would be the only place. Perhaps this is why I wasn't getting the icons in my apan?!? ... hmmm ... one would wonder if the docs are wrong, or if the info in cgi.cfg is incorrect?!? I would appreciate to hear from someone "in the know" for this issue. Stef On Thursday 12 June 2003 11:47 am, Jeremy Russell wrote: > Ok, where would I put the serviceextinfo entrys. I put them in the > hostextinfo.cfg file that is specified in cgi.cfg, but it doesn't work. > The hostextinfo entrys work fine. But the serviceextinfo doesn't. Where > does it go? Thanks in Advance. > > jrmy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Thu Jun 12 22:39:19 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 12 Jun 2003 15:39:19 -0500 Subject: Extended Info... Message-ID: <352B04312822444A962714393AED8A4D96A92D@ADAEVS01.int.chickasaw.net> This is what I am trying but it still seems to not work.... http://nagios.sourceforge.net/docs/1_0/xedtemplate.html xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg The two lines above go into your cgi.cfg file. Then create the files serviceextinfo.cfg hostextinfo.cfg with your nagios user having rights to them. The weblink should explain it. Randy -----Original Message----- From: stefmit [mailto:stefmit at comcast.net] Sent: Thursday, June 12, 2003 1:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Extended Info... Good question. I have been trying to understand this myself, but looking in cgi.cfg I found entries right there, in the format serviceextinfo (do a search for this string, and you'll see what I mean), and the comments made in that file left me with the impression that this would be the only place. Perhaps this is why I wasn't getting the icons in my apan?!? ... hmmm ... one would wonder if the docs are wrong, or if the info in cgi.cfg is incorrect?!? I would appreciate to hear from someone "in the know" for this issue. Stef On Thursday 12 June 2003 11:47 am, Jeremy Russell wrote: > Ok, where would I put the serviceextinfo entrys. I put them in the > hostextinfo.cfg file that is specified in cgi.cfg, but it doesn't work. > The hostextinfo entrys work fine. But the serviceextinfo doesn't. Where > does it go? Thanks in Advance. > > jrmy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Thu Jun 12 22:45:38 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 12 Jun 2003 15:45:38 -0500 Subject: Extended Info... In-Reply-To: <352B04312822444A962714393AED8A4D96A92D@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D96A92D@ADAEVS01.int.chickasaw.net> Message-ID: <200306121545.38068.stefmit@comcast.net> See my follow-up message, with an example file for serviceextinfo.cfg - I got it, finally, the way you were trying it. I was just screwing around with the graph.png, but that should be irrelevant to this discussion. Stef On Thursday 12 June 2003 03:39 pm, Jeremy Russell wrote: > This is what I am trying but it still seems to not work.... > > > http://nagios.sourceforge.net/docs/1_0/xedtemplate.html > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > The two lines above go into your cgi.cfg file. > > Then create the files serviceextinfo.cfg hostextinfo.cfg with your > nagios user having rights to them. > The weblink should explain it. > > Randy > > > -----Original Message----- > From: stefmit [mailto:stefmit at comcast.net] > Sent: Thursday, June 12, 2003 1:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Extended Info... > > Good question. I have been trying to understand this myself, but looking > in > cgi.cfg I found entries right there, in the format serviceextinfo (do a > search for this string, and you'll see what I mean), and the comments > made in > that file left me with the impression that this would be the only place. > > Perhaps this is why I wasn't getting the icons in my apan?!? ... hmmm > ... one > would wonder if the docs are wrong, or if the info in cgi.cfg is > incorrect?!? > > I would appreciate to hear from someone "in the know" for this issue. > > Stef > > On Thursday 12 June 2003 11:47 am, Jeremy Russell wrote: > > Ok, where would I put the serviceextinfo entrys. I put them in the > > hostextinfo.cfg file that is specified in cgi.cfg, but it doesn't > > work. > > > The hostextinfo entrys work fine. But the serviceextinfo doesn't. > > Where > > > does it go? Thanks in Advance. > > > > jrmy > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phu at uui.com Thu Jun 12 23:05:27 2003 From: phu at uui.com (Phu Nguyen) Date: Thu, 12 Jun 2003 14:05:27 -0700 Subject: shorten service check time for each node. Message-ID: <002301c33126$5af108d0$140a0a0a@phu> Hi every one, I have nagios monitors 110 nodes, there are at less 5 services for each node. The cycle time for nagios to check one node now is 5 minutes, if I add more services this cycle time can go up. Is there any configuration to set this cycle time manually? Thank you for your help, Phu Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Jun 12 23:10:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 12 Jun 2003 17:10:20 -0400 (EDT) Subject: unsuscribe In-Reply-To: <20030612194456.A229@IPAustralia.Gov.AU> References: <20030612194456.A229@IPAustralia.Gov.AU> Message-ID: Hi Stanley I took the mailto: url from the email header. Actually the email header includes the following List related headers. My mail client (pine) puts a note/link at the bottom of all messages that this message contain email list management information. List-Help: List-Post: List-Subscribe: , List-Id: Nagios Users List List-Unsubscribe: , List-Archive: -sg On Thu, 12 Jun 2003, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say that it appears to me > that > > 1 The obvious place, > https://lists.sourceforge.net/lists/listinfo/nagios-users > > does _not_ help one subsribe. I could onlu see directions for > > 1.1 subscribing and > > 1.2 getting a digest > > Here is the text I see > > " > Using Nagios-users > To post a message to all the list members, send email to > nagios-users at lists.sourceforge.net. > > You can subscribe to the list, or change your existing subscription, in > the sections below. > Subscribing to Nagios-users > Subscribe to Nagios-users by filling out the following form. You will be > sent email requesting confirmation, to prevent others from gratuitously > subscribing you. This is a > hidden list, which means that the members list is available only to the > list administrator. > > Your email address: > > > You must enter a privacy password. This provides only mild security, but > should prevent others from messing with your subscription. > Do not use a valuable password as it will occasionally be emailed back > to you in cleartext. Once a month, your password will be > emailed to you as a reminder. > Pick a password: > > > Reenter password to confirm: > > > Would you like to receive list mail batched in a daily digest? > > No Yes > > > > Nagios-users Subscribers > > The subscribers list is only available to the list administrator. > " > > 2 Searching the Nag archives at > http://sourceforge.net/mailarchive/forum.php?forum=nagios-users > > for 'unsubscribe' shows a letter from Mr Ghosh that suggests > > > > is somewehere in the page. > > I couldn't see it. > > So, it looks like to unsubscribe one sends a letter addressed to > > nagios-users-request at lists.sourceforge.net > > with subject unsubscribe > > > > > > > On Thu, Jun 12, 2003 at 10:32:48AM +0100, Davy Gaussen wrote: > > HOW CAN I UNSUSCRIBE PLEASE????? > > > > HTH, > > Yours sincerely. > > -- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Thu Jun 12 23:26:40 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Thu, 12 Jun 2003 15:26:40 -0600 Subject: Problems with nagios remembering things Message-ID: <3EE8F010.7010909@bridgeband.net> I seem to be having a problem disabling active checks on services when migrating from active checks on a single host to a distributed system. The original master server will still be doing _some_ active checks, so I can't just disable it globally, but have changed the "active_checks_enabled" to 0 in the template for the services in question, and "passive_checks_enabled" to 1. The problem is, it's still doing active checks, and refuses to believe that they are disabled for the services in question. It accepts passive checks just fine, but it still for some odd reason, goes out and does it's own active check as well. The only way I've found to get this to update, is to completely wipe the history and status of nagios, and start fresh. Nagios seems to (unless I'm missing an obvious step) "cache" the previous setup of an existing service, and not let this be changed via the config files. I have the same problem with notifications. If I originally have notifications enabled for a host, does this happily for a time, then I go and disable notifications in the service and hosts files, it still thinks that notifications are enabled, until I force an external command for each specific host/service, or wipe the status/history of nagios. Maybe I'm smokin something, but that's what's happening. I don't want to wipe the status/history of nagios during my migration to a distributed system, as I use the history of the hosts quite often. Thoughts are appreciated, -- Mikel Bauer ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Thu Jun 12 23:41:23 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Thu, 12 Jun 2003 14:41:23 -0700 Subject: Authentication problem In-Reply-To: <20030612190331.23621.qmail@pod-163.dolphin-server.co.uk> References: <20030612190331.23621.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030612214123.GA19619@UnderGrid.net> I was getting the same error as well even using the nagiosadmin login on the web server... I did notice I had some how changed the permissions on the hosts.cfg file so you may want to go back and check the permissions on your config files and see if they are possibly unreadable by the web process... Regards, Jeremy On Thu, Jun 12, 2003 at 07:03:31PM -0000, jez_uk1 wrote: > > I'm having trouble getting nagios 1.1 authentication to work on the CGI's.. Apache auth is working fine, and i've configured the CGI's with the appropriate username(s). After logging in "Logged in as ?" is shown. Nagios doesn't seem to be reading the necessary CGI vars. Consequently, the CGI's simply report: > > "It appears as though you do not have permission to view information for any of the hosts you requested... > If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI > and check the authorization options in your CGI configuration file." > > Any ideas would be appreciated! > > Thanks, > > Jeremy > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Thu Jun 12 23:58:12 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Fri, 13 Jun 2003 09:58:12 +1200 Subject: Statically Scheduled Chekcs (?) Please Help In-Reply-To: References: Message-ID: Hi, I noticed that I had services running at a particular time each day & it was done by regularly checking but disabling the service until a specific time. So maybe you could try something like setting up a time that the service was enabled for (say 6 to 6:30) and setting up the checking to check every hour. Then it should schedule the check for 6:00 and only run it once... Hmmm Darren. nagios-users-admin at lists.sourceforge.net wrote on 13/06/2003 05:09:23: Message: 24 From: Networks To: nagios-users at lists.sourceforge.net Date: 12 Jun 2003 11:18:56 -0500 Subject: [Nagios-users] Statically Scheduled Chekcs (?) Please Help I would like to be able to schedule a check to run at the same time every day. (lets say 6:00am). Is there a way to statically schedule these checks in Nagios? Thanks in advance, Josh ########################################################################### 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. ########################################################################### ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wbates at wbates.com Fri Jun 13 00:17:35 2003 From: wbates at wbates.com (William Bates) Date: Thu, 12 Jun 2003 18:17:35 -0400 Subject: Nagios Segmentation Fault References: <0EBC45FCABFC95428EBFC3A51B368C955137B1@jessica.herefordshire.gov.uk> Message-ID: <001101c33130$6df50030$710611ac@ursusmaritimus> I have done so and with success. I will have a need down the road to run several perl monitors. What are my options if I want to use the performance increase of using embedded perl? Or am I SOL? ----- Original Message ----- From: Randal, Phil To: 'William Bates' ; nagios-users at lists.sourceforge.net Sent: Thursday, June 12, 2003 11:31 AM Subject: RE: [Nagios-users] Nagios Segmentation Fault Try it without embedded Perl and see what happens. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: William Bates [mailto:wbates at wbates.com] Sent: 12 June 2003 15:10 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Segmentation Fault I have attempted to install Nagios-1.1 and Nagios-1.0 on a RedHat 8 box. When I attempt to run the binary, I get a segmentation fault. When compiling, I had no problems. This is the configuration I used: ./configure --with-cgiurl=/cgi-bin --with-htmurl= --with-nagios-user=monitor --with-nagios-grp=monitor --enable-embedded-perl --disable-statuswrl ------------------------- Bill Bates wbates at wbates.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.mooney at pnl.gov Fri Jun 13 00:53:18 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Thu, 12 Jun 2003 15:53:18 -0700 Subject: Web interface a bit slow Message-ID: Hello, I have a rather large number of services I'm watching (~6500) on quite a few hosts (~1000) and the web pages are starting to get quite slow (~30 seconds per web page, this is on a dual xenon 2.8Ghz with 1G of RAM). I ran a profiler on them and found that ~80% of the time is in the linked list lookup/insert in common.c:add_service_status. Ideally data structure would get re-written to use something like a hash or some other more efficient storage algorithm (this would exact a very small penalty on small installations but would be an order of magnitude better on large), but with the current CGI's going away I'm hesitant to spend any cycles on it. If this would be useful for others within the lifespan of the current interface I can go ahead and do it, but if its not I don't want to spend the time. What I need to do now is get a workable solution to get the support people off of my neck so they can clear errors. I've given them a simple cli interface that dropps a passive check into the external command interface, which solves my immediate problem, but as I add more services the web interface will continue to get logarithmically slower. Any thoughts, appreciated. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 02:11:48 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 10:11:48 +1000 Subject: Web interface a bit slow In-Reply-To: ; from ryan.mooney@pnl.gov on Thu, Jun 12, 2003 at 03:53:18PM -0700 References: Message-ID: <20030613101144.A77055@IPAustralia.Gov.AU> Dear Sir, The linked list search performance hit has been canvassed before Someone has cntributed code for it and it will be released IIRC in 2.0 (see forthcoming on the Nag page). You may want to have a look in the CVS and see if there is something usable there. If you want to go from scratch - ypu don't like the CVS - a RAD __possibility__ may be 1 embed Perl 2 use the Perl hash API 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Fri Jun 13 02:28:17 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Thu, 12 Jun 2003 17:28:17 -0700 Subject: Web interface a bit slow Message-ID: Stanley, Thanks for the response. I actually had already looked at the code in CVS and it doesn't fix this specific problem. The "inserts" into the data structure from the status data file/database are still done by traversing a linked list, only the (later) lookups are faster. Actually even thats not really true, as it looks like the specific area I'm looking at doesn't have the hash lookup wrappers, only the object file parts have that, not the status file parts. My problem is that I have so many services that looking up where to insert a status record takes to long (> 8 seconds total for all the services according to gprof). The hash stuff would speed up some other parts, but this part would still be really slow and its whats eating most of my time (as noted below). In specific the lines that read: for(temp_svcstatus=servicestatus_list;temp_svcstatus!=NULL;temp_svcstatus=temp_svcstatus->next){ if(strcmp(new_svcstatus->host_name,temp_svcstatus->host_name)<0){ } is where all the time is spent. This is actually because I have a semi pathological case where the data order in the file seems to require a full traversal of the list to put each service status record in its position almost every time. I tried changing the host sort order there (strcmp >0) which helped there, but moved the problem to the lookup (this COULD be solved by implementing the hash wrappers for this code section). However that is a bad general solution since I happen to be bad one way doesn't mean someone else isn't ordered the other way (??). As far as I can tell the only general case solution is to kill the linked list for the service status structure and use something else. > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Thursday, June 12, 2003 5:12 PM > To: Mooney, Ryan > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Web interface a bit slow > > > Dear Sir, > > The linked list search performance hit has been canvassed before > > Someone has cntributed code for it and it will be released > IIRC in 2.0 > (see forthcoming on the Nag page). > > You may want to have a look in the CVS and see if there is something > usable there. > > If you want to go from scratch - ypu don't like the CVS - a RAD > __possibility__ may be > > 1 embed Perl > 2 use the Perl hash API > > 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Jun 13 02:37:17 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 12 Jun 2003 19:37:17 -0500 Subject: Web interface a bit slow In-Reply-To: References: Message-ID: <3EE8D66D.12019.893CE1@localhost> I'm actually in the process of finishing up chained hash support for all lists in the 2.0 code. So its on the way, just not here yet. On 12 Jun 2003 at 15:53, Mooney, Ryan wrote: > > Hello, > > I have a rather large number of services I'm watching (~6500) on quite > a few hosts (~1000) and the web pages are starting to get quite slow > (~30 seconds per web page, this is on a dual xenon 2.8Ghz with 1G of > RAM). I ran a profiler on them and found that ~80% of the time is in > the linked list lookup/insert in common.c:add_service_status. Ideally > data structure would get re-written to use something like a hash or > some other more efficient storage algorithm (this would exact a very > small penalty on small installations but would be an order of > magnitude better on large), but with the current CGI's going away I'm > hesitant to spend any cycles on it. If this would be useful for > others within the lifespan of the current interface I can go ahead and > do it, but if its not I don't want to spend the time. > > What I need to do now is get a workable solution to get the support > people off of my neck so they can clear errors. I've given them a > simple cli interface that dropps a passive check into the external > command interface, which solves my immediate problem, but as I add > more services the web interface will continue to get logarithmically > slower. > > Any thoughts, appreciated. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 02:49:20 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 10:49:20 +1000 Subject: Nagios Segmentation Fault In-Reply-To: <001101c33130$6df50030$710611ac@ursusmaritimus>; from wbates@wbates.com on Thu, Jun 12, 2003 at 06:17:35PM -0400 References: <0EBC45FCABFC95428EBFC3A51B368C955137B1@jessica.herefordshire.gov.uk> <001101c33130$6df50030$710611ac@ursusmaritimus> Message-ID: <20030613104918.B77055@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and hope that someone more careful will correct this answer if necessary, On Thu, Jun 12, 2003 at 06:17:35PM -0400, William Bates wrote: > I have done so and with success. I will have a need down the road to run several perl monitors. > What are my options if I want to use the performance increase of > using embedded perl? Or am I SOL? The embedded Perl problems were resolved to associated with threaded Perls (usually Perl 5.8.0) as shipped with . Mandrake 9 . Redhat 8+ and probably others (but not FreeBSD and probably the other BSDs also. The determinant seems to be mature thread support in the OS). The problems _have_ been identified and fixed. Unfortunately, I cannot identify where the good stuff is. It looks to me that HEAD branches in the CVS of . checks.c are OK . contrib/mini_epn.c not OK I hope someone will correct this. Unfortunately, I cannot see recent diffs in checks.c that look as if there were embedded Perl corrections. I suggest that 1 You lurk longer until Mr de Bisschop or Mr Galstad say something authorative. otherwise 2 try the CVS checks.c or 3 write me privately and you can have the stuff that I have tested with Mandrake 9. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Fri Jun 13 03:55:14 2003 From: james at lovedthanlost.net (James Turnbull) Date: Fri, 13 Jun 2003 11:55:14 +1000 Subject: Compling Nagios with MySQL on RH 8.0 issues References: <010001c32fd0$a3bd96c0$d700a8c0@iih.usyd.edu.au> Message-ID: <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> James Turnbull wrote: > Whilst compiling Nagios 1.1 under Redhat 8 (MySQL 4.0.13 Standard) > with the > following configure: > > ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios > --with-nagio s-user=nagios --with-nagios-grp=nagios > --with-mysql-xdata --with-mysql-lib=/ usr/local/mysql/lib > --with-mysql-inc=/usr/local/mysql/include > > The configure works fine but when I run make all I get the errors > below (note I have confimed mysql.h and errmsg.h are both present in > /usr/local/mysql/include/) - I am presuming the xrddb.c code is > looking in > the wrong place for these? Of course I could be totally wrong. > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory Hi I posted this a few days ago and got no response - I have searched the archives and found about half a dozen people reporting the same 'make all' problem as me - and no record of any resolution. Is there anyone out there who has overcome this problem or has any ideas? Any help much appreciated Regards James Turnbull ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From securityguy at ikano.com Fri Jun 13 03:55:11 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Thu, 12 Jun 2003 19:55:11 -0600 Subject: Nagios Segmentation Fault In-Reply-To: <20030613104918.B77055@IPAustralia.Gov.AU> References: <20030613104918.B77055@IPAustralia.Gov.AU> Message-ID: <007801c3314e$d2d4aff0$ddd0d0cd@pendleton> Just to put my two cents in on this. I was quite disappointed that this wasn't fixed with Nagios 1.1. It seems to me that this problem is going to get worse as more people upgrade to Mandrake 9 and RH8/9. So how about it Ethan and Karl? Perhaps 1.1a with this issue patched? Thanks, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 Securityguy_AT_ikano.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stanley Hopcroft Sent: Thursday, June 12, 2003 6:49 PM To: William Bates Cc: Randal, Phil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Segmentation Fault Dear Sir, I am writing to thank you for your letter and hope that someone more careful will correct this answer if necessary, On Thu, Jun 12, 2003 at 06:17:35PM -0400, William Bates wrote: > I have done so and with success. I will have a need down the road to run several perl monitors. > What are my options if I want to use the performance increase of > using embedded perl? Or am I SOL? The embedded Perl problems were resolved to associated with threaded Perls (usually Perl 5.8.0) as shipped with . Mandrake 9 . Redhat 8+ and probably others (but not FreeBSD and probably the other BSDs also. The determinant seems to be mature thread support in the OS). The problems _have_ been identified and fixed. Unfortunately, I cannot identify where the good stuff is. It looks to me that HEAD branches in the CVS of . checks.c are OK . contrib/mini_epn.c not OK I hope someone will correct this. Unfortunately, I cannot see recent diffs in checks.c that look as if there were embedded Perl corrections. I suggest that 1 You lurk longer until Mr de Bisschop or Mr Galstad say something authorative. otherwise 2 try the CVS checks.c or 3 write me privately and you can have the stuff that I have tested with Mandrake 9. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 04:08:36 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 12:08:36 +1000 Subject: Nagios Segmentation Fault In-Reply-To: <007801c3314e$d2d4aff0$ddd0d0cd@pendleton>; from securityguy@ikano.com on Thu, Jun 12, 2003 at 07:55:11PM -0600 References: <20030613104918.B77055@IPAustralia.Gov.AU> <007801c3314e$d2d4aff0$ddd0d0cd@pendleton> Message-ID: <20030613120833.C77055@IPAustralia.Gov.AU> Dear Sir, This has _nothing_ whatsoever to do with Messers Galstad or de Bisschop On Thu, Jun 12, 2003 at 07:55:11PM -0600, Robert S. Galloway wrote: > Just to put my two cents in on this. I was quite disappointed that this > wasn't fixed with Nagios 1.1. It seems to me that this problem is going to > get worse as more people upgrade to Mandrake 9 and RH8/9. > > So how about it Ethan and Karl? Perhaps 1.1a with this issue patched? > The embedded stuff is _all_ contributed code. The incumbent embedded Perl maintainer, failed utterly to get his act together with this stuff, and unfortunately for them, these men trusted him to do it. Send flames to me personally but do not bother the list with "it's borked, why isn't it fixed". If you want release management, regular updates and bug fixes, an account representative to 'negotiate with', then Open Source Software is not for you. In fact it is precisely these requirements that people articulate when they choose commercial software because Real people loathe developers and software ("we don't do code, thanks"); they can't bear the thought of relying on someone they can't manipulate with a contract. All they want is the shrink wrapped plastic and the up front cost. Read what people say who code: they have all the disappointments and pressures that you and I have - all the trappings of what passes for life in this world - yet they still manage to give back what they have received. > Thanks, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From securityguy at ikano.com Fri Jun 13 04:35:28 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Thu, 12 Jun 2003 20:35:28 -0600 Subject: Nagios Segmentation Fault In-Reply-To: <20030613120833.C77055@IPAustralia.Gov.AU> References: <20030613120833.C77055@IPAustralia.Gov.AU> Message-ID: <000001c33154$743685d0$ddd0d0cd@pendleton> Hi Stan, Thanks for the information about this being contributed code, but frankly you should have left it at that. I do what I can to support open source software. (I write documentation and how to docs.) But it sounds to me like you believe that if I cannot contribute code that I shouldn't use it?? WTF? Also, if you wanted to rant and flame someone, why don't you follow your own advice and keep it off the list? Furthermore as the primary maintainers of the overall product, I think it is very appropriate to ask Ethan or Karl to fix it, or at least test the patches that have been contributed and include it in a release. Isn't that what being a maintainer is all about? Anyway, since you flamed me I felt it necessary to respond. I apologize to the rest of the list participants for them getting both of the last two e-mails in this thread, but I felt I needed to stand up for myself and the rest of us that "don't do code". If you'd like to respond to this, I invite you to e-mail me directly. Have a better day Stan. Sincerely, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 Securityguy_AT_ikano.com 801-415-8089 -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Thursday, June 12, 2003 8:09 PM To: Robert S. Galloway Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Segmentation Fault Dear Sir, This has _nothing_ whatsoever to do with Messers Galstad or de Bisschop On Thu, Jun 12, 2003 at 07:55:11PM -0600, Robert S. Galloway wrote: > Just to put my two cents in on this. I was quite disappointed that this > wasn't fixed with Nagios 1.1. It seems to me that this problem is going to > get worse as more people upgrade to Mandrake 9 and RH8/9. > > So how about it Ethan and Karl? Perhaps 1.1a with this issue patched? > The embedded stuff is _all_ contributed code. The incumbent embedded Perl maintainer, failed utterly to get his act together with this stuff, and unfortunately for them, these men trusted him to do it. Send flames to me personally but do not bother the list with "it's borked, why isn't it fixed". If you want release management, regular updates and bug fixes, an account representative to 'negotiate with', then Open Source Software is not for you. In fact it is precisely these requirements that people articulate when they choose commercial software because Real people loathe developers and software ("we don't do code, thanks"); they can't bear the thought of relying on someone they can't manipulate with a contract. All they want is the shrink wrapped plastic and the up front cost. Read what people say who code: they have all the disappointments and pressures that you and I have - all the trappings of what passes for life in this world - yet they still manage to give back what they have received. > Thanks, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 04:55:23 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 12:55:23 +1000 Subject: Nagios Segmentation Fault In-Reply-To: <000001c33154$743685d0$ddd0d0cd@pendleton>; from securityguy@ikano.com on Thu, Jun 12, 2003 at 08:35:28PM -0600 References: <20030613120833.C77055@IPAustralia.Gov.AU> <000001c33154$743685d0$ddd0d0cd@pendleton> Message-ID: <20030613125521.D77055@IPAustralia.Gov.AU> Dear Sir, This will be the last of anyones time I waste with this. On Thu, Jun 12, 2003 at 08:35:28PM -0600, Robert S. Galloway wrote: > Hi Stan, > > Thanks for the information about this being contributed code, but frankly > you should have left it at that. I do what I can to support open source > software. (I write documentation and how to docs.) But it sounds to me like > you believe that if I cannot contribute code that I shouldn't use it?? WTF? No. If you don't contribute code, I suggest you do not complain about its quality, or exert pressure on others to do something about it. > Also, if you wanted to rant and flame someone, why don't you follow your own > advice and keep it off the list? > If you really want to help Open Source Software (whatever that is), I suggest more substantial contributions are necessary. Developers need . encouragement - what could be a more sincere gesture of appreciation than any of - a case of the right stuff - a cheque - some good chocolates (bait) - a good book - a personal letter or postcard - something for their kids . cash - if people are developing for MS platforms, they need to buy MS visual studio etc etc in order that they can give their code away. . and what it sounds like you are already doing. If you want to know of people producing good stuff and are struggling please, I will let you know. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Fri Jun 13 05:49:30 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 12 Jun 2003 22:49:30 -0500 Subject: Last one about apan (really ?!? ;)) Message-ID: <200306122249.30142.stefmit@comcast.net> One more question about apan (got everything working, finally!!!): the two lines in an SNMP inbytes and outbytes graph show the same color, even though: 1. apan.cfg looks like this: my-device;Net-usage;/usr/share/nagios/rrd/my-device_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.10|public:.1.3.6.1.2.1.2.2.1.16.10;IN:LINE1 OUT:LINE2;Network throughput;Bytes/sec; 2. the line in the apan.defs files for the COLS array has different colors for each entry: COLS=("#ff0000" "#00ff00" "#0000ff" "#ffff00" "#ff00ff" "#00ffff" "#ff8080" "#808080" "#8080ff" ) 3. the generate.cgi file looks to me like properly defined to parse the number of "members" in $data (IN:LINE1 and OUT:LINE2), i.e. for entry in $data; do COL=${COLS[$N]} thus presumably associating a different color for each "N" ... ... but the result is still "mono" colored (red, to be more precise, for both variables being plotted). What am I missing here? TIA, Stef P.S. [OT] Having used before just the simple MRTG, with no RRD support, this is my first attempt at learning the latter. Does anybody know how to eliminate the "white" space at the "right" of each of the graphs created by rrdtool (more obvious for the shorter times ones) ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shwets_stmp at yahoo.com Fri Jun 13 07:31:12 2003 From: shwets_stmp at yahoo.com (shweta choudhary) Date: Thu, 12 Jun 2003 22:31:12 -0700 (PDT) Subject: hi i am a newbie in this field seeking for guidence.. Message-ID: <20030613053112.73468.qmail@web41608.mail.yahoo.com> Hi I ve just started with the configuration of nagios.Please guide me how to go about I ve downloaded nagios-1.1 and I am new in field of networking,can i get guidence regarding the configuration of the files according to n/w setup;how to monitor ping,n/w load etc thanks shweta __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Fri Jun 13 07:54:12 2003 From: james at lovedthanlost.net (James Turnbull) Date: Fri, 13 Jun 2003 15:54:12 +1000 Subject: Compling Nagios 1.1 with PostgreSQL 7.3.3 on RH 8.0 issues References: <010001c32fd0$a3bd96c0$d700a8c0@iih.usyd.edu.au> <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> Message-ID: <009501c33170$3758a3c0$d700a8c0@iih.usyd.edu.au> Hi all After having given up on getting Nagios 1.1 to work with MySQL I tried installing it with PostgreSQL (7.3.3). No luck there either. I configure with: ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagio s-user=nagios --with-nagios-grp=nagios --with-pgsql-xdata --with-pgsql-lib=/ usr/local/pgsql/lib --with-pgsql-inc=/usr/local/pgsql/include Configure runs perfectly and says it finds the PostgreSQL libraries. Then when I run 'make all' I get: gcc -g -O2 -I/usr/local/pgsql/include -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c gcc -g -O2 -I/usr/local/pgsql/include -DHAVE_CONFIG_H -DNSCORE -L/usr/local/ pgsql/lib -lpq nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:46:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xrddb.c:63: parse error before '*' token ../xdata/xrddb.c:63: warning: data definition has no type or storage class ../xdata/xrddb.c:64: parse error before '*' token ../xdata/xrddb.c:64: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_connect': It looks as if it can't find the pgsql/libpq-fe.h file! Even though it says it found the libraries fine in the ./configure. I am not a developer and have no idea why this is happening - simply a Network Admin wanting to use the product. Can someone out there please help with some suggestions! Thanks in advance James Turnbull ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 08:34:59 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 13 Jun 2003 08:34:59 +0200 Subject: Statically Scheduled Chekcs (?) Please Help In-Reply-To: <1055434737.31962.9.camel@elijah> References: <5DB017510818EC468B05BD7BD9EACF83038E75EB@mismail.ena.com> <1055434737.31962.9.camel@elijah> Message-ID: <3EE97093.7070104@dhl.com> This is exactly what I do to test our beeper every day at 16:05. Here is the time period I use for that: # 'beeper' timeperiod definition define timeperiod{ timeperiod_name beeper alias Beeper Test sunday 16:05-16:10 monday 16:05-16:10 tuesday 16:05-16:10 wednesday 16:05-16:10 thursday 16:05-16:10 friday 16:05-16:10 saturday 16:05-16:10 } And here is the service check: # Service definition define service{ use generic-service host_name netsaint service_description Beeper is_volatile 1 check_period beeper max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups unix-admins notification_interval 0 notification_period beeper check_period beeper notification_options n check_command check_beeper } Hope this helps. Networks wrote: > I would like to be able to schedule a check to run at the same time > every day. (lets say 6:00am). Is there a way to statically schedule > these checks in Nagios? > > Thanks in advance, > > Josh > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Fri Jun 13 09:16:40 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Fri, 13 Jun 2003 15:16:40 +0800 Subject: question about rrdtools Message-ID: --- im in a way to install apan and seems that it required the rrd tools so i download it and sh configure and make and make install. after that i realise that i have make a mistake during the sh configure i want to install it in the directory /usr/local/nagios/rrd but i have made a mistake i type this sh configure --prefix=/usr/local/nagios and after the make install finish i check the directory /usr/local/nagios but no directory rrd then i realise i have to sh configure --prefix=/usr/local/nagios/rrd not sh configure --prefix=/usr/local/nagios my question is : can i just simply move the all the folder that related to rrd and put it in a new folder in /usr/local/nagios/rrd ? ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Jun 13 10:52:55 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 13 Jun 2003 10:52:55 +0200 Subject: Problem with check_by_ssh and Sun Solaris Message-ID: <3EE990E7.8050007@mobilcom.de> Hi, maybe someone has a hint for the following problem which just occured: He are starting a monitoring test with nagios on Solaris machines (monitoring hosts and clients). While checking a remot Solaris Disk with check_by_ssh ((nagios plugin 1.3.0) 1.9) and SUN-ssh ( SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. for Solaris 9) we get * a text output which is OK * a state unknown (return code is 255) - orange When we execute the plugin manually with Sun SSH it gives back the correct result, but the error code is 255. When we execute the plugin manually with Open SSH it gives back the correct result, and the error code is 0. Any ideas? Regards, Jens ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Jun 13 11:10:09 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 13 Jun 2003 11:10:09 +0200 (CEST) Subject: Compling Nagios with MySQL on RH 8.0 issues In-Reply-To: <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> References: <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> Message-ID: <20030613091009.1306.qmail@web10906.mail.yahoo.com> Just change in xrddb.c the files path of your include files. Hope this help, Steve --- James Turnbull a ?crit?: > James Turnbull wrote: > > Whilst compiling Nagios 1.1 under Redhat 8 (MySQL 4.0.13 Standard) > > with the > > following configure: > > > > ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios > > --with-nagio s-user=nagios --with-nagios-grp=nagios > > --with-mysql-xdata --with-mysql-lib=/ usr/local/mysql/lib > > --with-mysql-inc=/usr/local/mysql/include > > > > The configure works fine but when I run make all I get the errors > > below (note I have confimed mysql.h and errmsg.h are both present in > > /usr/local/mysql/include/) - I am presuming the xrddb.c code is > > looking in > > the wrong place for these? Of course I could be totally wrong. > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory > > > Hi I posted this a few days ago and got no response - I have searched the > archives and found about half a dozen people reporting the same 'make all' > problem as me - and no record of any resolution. > > Is there anyone out there who has overcome this problem or has any ideas? > > Any help much appreciated > > Regards > > James Turnbull > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ipsen-sender-25cac0 at andebakken.dk Fri Jun 13 12:19:19 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Fri, 13 Jun 2003 12:19:19 +0200 Subject: No alerts/notifications ? Message-ID: Hi! I have a wierd problem..... A host has been defines as: define host{ use generic-host ; Name of host template to use host_name 3-sal-vest-ekstra alias Printer #7 address 192.168.116.223 check_command check-host-alive parents Switch-Master max_check_attempts 10 notification_interval 480 notification_period workhours } With services: define service{ use generic-service ; Name of service template to use host_name 3-sal-vest-ekstra service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups printer-admins notification_interval 120 notification_period workhours notification_options c,r check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service ; Name of service template to use host_name 3-sal-vest-ekstra service_description Printer Status is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups printer-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_hpjd } Powering off the device, and leaving it off for 40 minutes gives: 3-sal-vest-ekstra PING CRITICAL 13-06-2003 12:11:06 0d 0h 40m 51s 1/3 CRITICAL - Plugin timed out after 10 seconds Printer Status CRITICAL 13-06-2003 12:07:47 0d 0h 40m 11s 1/3 Timeout: No response from 192.168.116.223 But no notifications ??? Is this because of the notification interval of 480 minutes ?? The history of the device on the log is: [13-06-2003 11:47:56] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:46:26] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:45:46] Finished daemonizing... (New PID=14658) [13-06-2003 11:45:46] Nagios 1.0 starting... (PID=14657) [13-06-2003 11:45:46] Successfully shutdown... (PID=12939) [13-06-2003 11:45:46] Caught SIGTERM, shutting down... [13-06-2003 11:32:25] SERVICE ALERT: 3-sal-vest-ekstra;Printer Status;CRITICAL;HARD;1;Timeout: No response from 192.168.116.223 [13-06-2003 11:31:45] SERVICE ALERT: 3-sal-vest-ekstra;PING;CRITICAL;HARD;1;TEST [13-06-2003 11:31:45] HOST ALERT: 3-sal-vest-ekstra;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:31:35] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:31:25] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:31:15] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:31:05] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:30:55] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:30:45] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:30:35] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:30:25] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:30:15] HOST ALERT: 3-sal-vest-ekstra;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [13-06-2003 11:22:25] SERVICE ALERT: 3-sal-vest-ekstra;Printer Status;OK;HARD;1;Printer ok - (STRING: "Ready --- A4 PLAIN ") Any ideas to why no notifications isn't sent ? Regards, /Brian ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 12:26:41 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 20:26:41 +1000 Subject: MIB for Nagios In-Reply-To: ; from sghosh@sghosh.org on Thu, Jun 12, 2003 at 01:32:07PM -0400 References: Message-ID: <20030613202638.C232@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your lhetter and ask, please for the benefit of the less literate SNMP folks around (such as YT), On Thu, Jun 12, 2003 at 01:32:07PM -0400, Subhendu Ghosh wrote: > On Thu, 12 Jun 2003, Don Badrak wrote: > > > What I've been asked to do now is find a way to put Nagios notifications > > into OVO. I can do it through snmp traps. My plan is to use a global > > event handler in perl which uses the Net::SNMP modules to send an SNMP > > trap. > > > There is no official MIB for nagios. Rather than writing a complete mib > consider just writing a trap definition. VarBinds you want to pass should > be the ones that are visible for event handlers (specially if you enable > state tracking). > would you care to elabourate (amplify) on your answer ? How would Open View understand the trap without a MIB ? Will Open View accept _any_ trap and act on it - if configured to do so ? > If considering the MIB, use tables for hosts, services, comment and > downtime (all things that have log entries and state). > > > -sg Perhaps the general question is that if you have an 'Enterprise Management System' such as Tivoli, Open View and friends, how does one notify it - given that all of these things only understand _one_ IPC method, namely SNMP traps, of a problem that Nagios detects ? 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 13:08:34 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 13 Jun 2003 21:08:34 +1000 Subject: No alerts/notifications ? In-Reply-To: ; from Brian.Ipsen-sender-25cac0@andebakken.dk on Fri, Jun 13, 2003 at 12:19:19PM +0200 References: Message-ID: <20030613210831.D232@IPAustralia.Gov.AU> Dear Sir, Are the host notifications set as you expect in the host definition and template ? Here is an example define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled .. yada .. max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ie notfify on downs and unreachables (as well as recovery). 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Fri Jun 13 14:32:11 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 13 Jun 2003 14:32:11 +0200 Subject: question about rrdtools References: Message-ID: <3EE9C44B.6030603@datavis.se> Yes. Yuo may need to put rrdtools lib-directory in /etc/ld.co.conf, LD_LIBRARY_PATH or whatever your OS requires. /FredrikW Syed Zulhilmi Tuan Sharif wrote: > --- im in a way to install apan and seems that it required the rrd tools >so i download it and sh configure and make and make install. after that i realise that i have make a mistake >during the sh configure i want to install it in the directory /usr/local/nagios/rrd >but i have made a mistake i type this sh configure --prefix=/usr/local/nagios >and after the make install finish i check the directory /usr/local/nagios but no directory rrd >then i realise i have to sh configure --prefix=/usr/local/nagios/rrd not sh configure --prefix=/usr/local/nagios > > >my question is : can i just simply move the all the folder that related to rrd and put it in a new folder in > /usr/local/nagios/rrd ? > > >------------------------------------------------------- >This SF.NET email is sponsored by: eBay >Great deals on office technology -- on eBay now! Click here: >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Fri Jun 13 14:27:40 2003 From: stefmit at comcast.net (stefmit) Date: Fri, 13 Jun 2003 07:27:40 -0500 Subject: question about rrdtools In-Reply-To: References: Message-ID: <200306130727.41235.stefmit@comcast.net> After having run configure, you must have obtained a Makefile, probably. Look inside, to see where the path is being used, and this should tell you whether a simple move would have any impact. I installed mine from an RPM, so I haven't had to worry about this ... my worries came much later, when I learned that the path assumed by some other programs needing rrd wasn't the same as the one I had installed it to ;( Stef On Friday 13 June 2003 02:16 am, Syed Zulhilmi Tuan Sharif wrote: > --- im in a way to install apan and seems that it required the rrd tools > so i download it and sh configure and make and make install. after that i > realise that i have make a mistake during the sh configure i want to > install it in the directory /usr/local/nagios/rrd but i have made a mistake > i type this sh configure --prefix=/usr/local/nagios and after the make > install finish i check the directory /usr/local/nagios but no directory rrd > then i realise i have to sh configure --prefix=/usr/local/nagios/rrd not sh > configure --prefix=/usr/local/nagios > > > my question is : can i just simply move the all the folder that related to > rrd and put it in a new folder in /usr/local/nagios/rrd ? ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhh at apk.net Fri Jun 13 14:46:02 2003 From: mhh at apk.net (Martin Hebrank) Date: Fri, 13 Jun 2003 08:46:02 -0400 Subject: Problems with nagios remembering things In-Reply-To: <3EE8F010.7010909@bridgeband.net>; from mikel@bridgeband.net on Thu, Jun 12, 2003 at 03:26:40PM -0600 References: <3EE8F010.7010909@bridgeband.net> Message-ID: <20030613084602.B28933@newstaff.apk.net> On Thu, Jun 12, 2003 at 03:26:40PM -0600, Mikel Bauer wrote: [snip for space] > Nagios seems to (unless I'm missing an obvious step) "cache" the > previous setup of an existing service, and not let this be changed via > the config files. > > I have the same problem with notifications. If I originally have > notifications enabled for a host, does this happily for a time, then I > go and disable notifications in the service and hosts files, it still > thinks that notifications are enabled, until I force an external command > for each specific host/service, or wipe the status/history of nagios. > > Maybe I'm smokin something, but that's what's happening. Nope. It stores certain things. If you check the docs, the descriptions for certain options have an asterisk (*) next to them that indicates that nagios stores them. Look into the retain_nonstatus_information option. Silly me, I just ran into the same problem on my setup so this message is also a thanks to Volker for correcting me. ** Martin -- Martin Hebrank. Systems Administrator/Postmaster APK.net, Cleveland, OH. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Fri Jun 13 14:37:19 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Fri, 13 Jun 2003 08:37:19 -0400 Subject: Distributed monitoring: passive host checks Message-ID: Hi all, I'd like to implement a distributed monitoring environment using the technique described in the documentation. What I would like to do is isolate the two environments in such a way that the only communication occuring between the 2 different networks is the NSCA stuff. Meaning I don't want the central server pinging the hosts that are under the distributed server's "control". The reason for this is that the gateway between the two networks is somewhat unreliable and I don't want to be flooded with many (many) HOST UNREACHABLE and HOST DOWN alerts when the gateway goes down. Doing the distrubuted thing allows me to check the staleness of one specific service and raise a single alert when the gateway is down. All that means I want to get the host check results passively. The documentation says: "There are ways to obtain host checks passively, but implementing them is beyond the scope of what I care to write about at this time. :-) " Can anyone elaborate on ways of doing this? --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Volker.Aust at premiere.de Fri Jun 13 14:48:47 2003 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Fri, 13 Jun 2003 14:48:47 +0200 Subject: service with only passive checks. Message-ID: Hi Martin, First take a look at your service in the web-interface. If you have configured retention, then your service allready have "active_checks_enabled" set. Take a look at the option "retain_nonstatus_information". Second you can try "check_period none". -vol > -----Original Message----- > From: Martin Hebrank [mailto:mhh at apk.net] > Sent: Thursday, June 12, 2003 6:34 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] service with only passive checks. > > > On Thu, Jun 12, 2003 at 10:33:26AM -0500, Marc Powell wrote: > > In your service definition -- > > > > active_checks_enabled 0 ; Active service checks are > > disabled > > passive_checks_enabled 1 ; Passive service checks are > > enabled/accepted > > > > I think you still have to define a check_command but it'll never get > > executed. > > I tried this. It still insists on executing the > check_command. For testing > I have check_tcp as the check_command, but without any commands, so it > returns an unknown with "check_tcp: Unknown argument: > (null)". So, it's > definately trying to run the command and failing. > > > I'm using Nagios 1.0, compiled from source on a Redhat 7.3 > box with kernel > 2.4.18-27.7.xsmp. > > ** Martin > > > > -----Original Message----- > > > From: Martin Hebrank [mailto:mhh at apk.net] > > > Sent: Thursday, June 12, 2003 10:21 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > Ok. Sort of a newbie, but I did go through the FAQ and > docs and can't > > seem > > > to find a way to do this. If I am an idiot and it's documented, or > > > thinking wrong, please yell at me. > > > > > > I want to define services with no real check_command, > only a passive > > > check. I would like it to simply assume that it's in the > last state > > sent > > > in via passive check. Is that at all possible? > > > > > > ** Martin > > > > > > -- > > > Martin Hebrank. Systems Administrator/Postmaster > > > APK.net, Cleveland, OH. > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: eBay > > > Great deals on office technology -- on eBay now! Click here: > > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > -- > Martin Hebrank. Systems Administrator/Postmaster > APK.net, Cleveland, OH. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jun 13 15:04:08 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 13 Jun 2003 08:04:08 -0500 Subject: hi i am a newbie in this field seeking for guidence.. In-Reply-To: <20030613053112.73468.qmail@web41608.mail.yahoo.com> References: <20030613053112.73468.qmail@web41608.mail.yahoo.com> Message-ID: <16105.52168.658641.659865@montanaro.dyndns.org> shweta> ... can i get guidence regarding the configuration of the files shweta> according to n/w setup;how to monitor ping,n/w load etc Best place to look is the Nagios documentation: http://www.nagios.org/docs/ That page contains pointers to the users manual as well as an article by Andrew Kaplan about installing Nagios for first-time users. -- Skip Montanaro skip at pobox.com http://www.musi-cal.com/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbb at virginia.edu Fri Jun 13 15:38:30 2003 From: jbb at virginia.edu (Joseph Burch) Date: Fri, 13 Jun 2003 09:38:30 -0400 Subject: Compling Nagios with MySQL on RH 8.0 issues References: <010001c32fd0$a3bd96c0$d700a8c0@iih.usyd.edu.au> <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> Message-ID: <3EE9D3D6.5F27600E@Virginia.EDU> James - I ran into the problem compiling nagios 1.1 using the native C compiler on under AIX 4.3.3, patch level 11. In the xdata directory several files have "ifdefs" of the following form #ifdef USE_XCDMYSQL #include #include #endif Angle brackets tell the pre-processor to look for the file in the "standard library" -- in the old days /usr/lib. This conflicts with the "--with-mysql-lib=/usr/local/mysql/lib" config option. To fix this, locate the MYSQL conditional defines in xcddb.c xdddb.c xeddb.c xrddb.c xsddb.c and change the include statements to: #include "mysql.h" #include "errmsg.h" My build (with GD extensions) referenced the "floor" function which required the usual "-lm" loader option to be appended to LDFLAGS. If you need GD, either modify the configure script or append in the makefiles AFTER you have run configure. The same considerations apply to the POSTGRESQL build. "<>" don't work unless the mysql or postgres header files have been placed in the standard lib. Good Luck, Joe James Turnbull wrote: > James Turnbull wrote: > > Whilst compiling Nagios 1.1 under Redhat 8 (MySQL 4.0.13 Standard) > > with the > > following configure: > > > > ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios > > --with-nagio s-user=nagios --with-nagios-grp=nagios > > --with-mysql-xdata --with-mysql-lib=/ usr/local/mysql/lib > > --with-mysql-inc=/usr/local/mysql/include > > > > The configure works fine but when I run make all I get the errors > > below (note I have confimed mysql.h and errmsg.h are both present in > > /usr/local/mysql/include/) - I am presuming the xrddb.c code is > > looking in > > the wrong place for these? Of course I could be totally wrong. > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory > > Hi I posted this a few days ago and got no response - I have searched the > archives and found about half a dozen people reporting the same 'make all' > problem as me - and no record of any resolution. > > Is there anyone out there who has overcome this problem or has any ideas? > > Any help much appreciated > > Regards > > James Turnbull > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Fri Jun 13 15:48:03 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Fri, 13 Jun 2003 09:48:03 -0400 Subject: Distributed monitoring: passive host checks References: <20030613090026.A7195@newstaff.apk.net> Message-ID: Martin: > > Additionally, you could turn off UNREACHABLE notifications and set all > the hosts to have a parent of the remote side of the link. Then, when the > link goes down, the only notification you would get is that the remote > side is DOWN. > In a way that's how it's set up, but it doesn't do what I expected. One question about this though. Suppose I have my parent on the remote side and 50 child hosts to that parent. Suppose the parent goes down and I have 20 service checks on the children in the scheduling queue before the next service check on the parent. When Nagios comes to test the first of those 20 child host services, it will be critical. Then Nagios will check the child host and find it down. Then Nagios goes up to the parent. Does it run the parent host check at that point or does it simply use the current state in order to determine if the child is down vs. unreachable? This is the difference between 1 or 21 notifications being sent out. Hold on... I think I just answered my own question. I have the parent set up as a cluster. The problem with this is that the host check for clusters is not "live". The check_cluster plugin looks in the status log for the last results of the cluster elements. That's probably why the parent is viewed as alive (until one of it's elements is checked, and the notifications are sent out... Thanks, Patrick ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbadrak at tco.census.gov Fri Jun 13 16:01:46 2003 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 13 Jun 2003 10:01:46 -0400 Subject: MIB for Nagios In-Reply-To: <20030613202638.C232@IPAustralia.Gov.AU> References: <20030613202638.C232@IPAustralia.Gov.AU> Message-ID: Stanley, Subhendu, On Fri, 13 Jun 2003, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your lhetter and ask, please for the > benefit of the less literate SNMP folks around (such as YT), > > On Thu, Jun 12, 2003 at 01:32:07PM -0400, Subhendu Ghosh wrote: > > On Thu, 12 Jun 2003, Don Badrak wrote: > > > > > What I've been asked to do now is find a way to put Nagios notifications > > > into OVO. I can do it through snmp traps. My plan is to use a global > > > event handler in perl which uses the Net::SNMP modules to send an SNMP > > > trap. > > > > > > There is no official MIB for nagios. Rather than writing a complete mib > > consider just writing a trap definition. VarBinds you want to pass should > > be the ones that are visible for event handlers (specially if you enable > > state tracking). > > > > would you care to elabourate (amplify) on your answer ? Yeah, my sentiments exactly. I partly understand, but this hit above my level of SNMP knowledge. > How would Open View understand the trap without a MIB ? You have to have some kind of OID to pass it. You can either make them up (not quite a good idea), or get an official Enterprise OID from IANA. That's why I asked about an official Nagios MIB. > Will Open View accept _any_ trap and act on it - if configured to do so > ? It seems so, from my testing. I don't know OVO, but our people here configured it to accept the OID I sent, and mapped it to something. They got the event. I guess then one configures it to do something. I used this simple example to send to our OVO machine: === #!/usr/local/bin/perl use Net::SNMP; my $localaddress="192.168.100.1"; my $manager="managerhost"; ($session,$error) = Net::SNMP->session ( -hostname => $manager, -community => $community || 'public', -port => 162 ); if (!defined($session)) { printf("ERROR creating session: %s.\n", $error); exit 1; } my $census="1.3.6.1.4.1.7112.1.6"; my $http="$census.1.1.3.80"; $result=$session->trap ( -enterprise => $http, -agentaddr => $localaddress, -specifictrap => 1, -varbindlist => [$http,INTEGER,5] ); if (!defined($result)) { printf("ERROR sending trap: %s.\n", $session->error); $session->close; exit 1; } === This resulted in the trap on OVO: - Normal Thu Jun 05 17:38:33 192.168.100.1 EnterpriseDefault (Ref #55) Received event .1.3.6.1.4.1.7112.1.6.1.1.3.80.0.1 (enterprise:.1.3.6.1.4.1.7112.1.6.1.1.3.80 generic:6 specific:1), no format in trapd.conf. 1 args: [1] private.enterprises.7112.1.6.1.1.3.80 (Integer): 5 > > If considering the MIB, use tables for hosts, services, comment and > > downtime (all things that have log entries and state). So, something like: 1.3.6.1.4.1.X (where X is a Nagios Enterprise number, or your own Enterprise number): hostTable hostEntry hostName hostAlias hostAddress hostParents hostStateType ( SOFT | HARD ) hostState ( OK | WARNING | UP | DOWN | UNREACHABLE | RECOVERY ) serviceTable serviceEntry hostName serviceDescription serviceStateType ( SOFT | HARD ) serviceState ( OK | WARNING | CRITICAL | UNKNOWN ) commentTable commentEntry commentType ( HOST | SERVICE ) hostName serviceDescription entryTime author commentText commentId persistent ( NO | YES ) downtimeTable downtimeEntry downtimeType ( HOST | SERVICE ) hostName serviceDescription entryTime author commentText startTime endTime fixed ( NO | YES ) duration This is just a quick stab at it. I'd have to read up some more on properly defining MIBS and such. > Perhaps the general question is that if you have an 'Enterprise > Management System' such as Tivoli, Open View and friends, how does one > notify it - given that all of these things only understand _one_ IPC > method, namely SNMP traps, of a problem that Nagios detects ? It looks like I'll be doing just this. I know nearly nothing about the large-scale EMS stuff, but I could pass along config options for OVO and how to make Nagios integrate. It does some things better than OVO (and it's easier to get working). Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Fri Jun 13 16:27:41 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 13 Jun 2003 16:27:41 +0200 Subject: [Apan-users] nt-disk reporting "invalid drive" References: Message-ID: <3EE9DF5D.6000900@datavis.se> I have the same problem. Maybe someone that has more knowledge about NSClient can look at it.. Vinay Kumar wrote: >I have NT 4 server with a single disk of 40G. I have two partitions on it. C >and D. check_nt reports correct values for c drive. But cannot see the d >drive. It says invalid drive for d. > >c partition is : 4GB >d partition is : 36GB > >has anybody seen this problem.. > >/vinay > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: eBay >Great deals on office technology -- on eBay now! Click here: >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Apan-users mailing list >Apan-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/apan-users > > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Jun 13 16:52:46 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 13 Jun 2003 10:52:46 -0400 (EDT) Subject: MIB for Nagios In-Reply-To: References: Message-ID: On Fri, 13 Jun 2003, Don Badrak wrote: > Stanley, Subhendu, > > On Fri, 13 Jun 2003, Stanley Hopcroft wrote: > > > Dear Sir, > > > > I am writing to thank you for your lhetter and ask, please for the > > benefit of the less literate SNMP folks around (such as YT), > > > > On Thu, Jun 12, 2003 at 01:32:07PM -0400, Subhendu Ghosh wrote: > > > On Thu, 12 Jun 2003, Don Badrak wrote: > > > > > > > What I've been asked to do now is find a way to put Nagios notifications > > > > into OVO. I can do it through snmp traps. My plan is to use a global > > > > event handler in perl which uses the Net::SNMP modules to send an SNMP > > > > trap. > > > > > > > > > There is no official MIB for nagios. Rather than writing a complete mib > > > consider just writing a trap definition. VarBinds you want to pass should > > > be the ones that are visible for event handlers (specially if you enable > > > state tracking). > > > > > > > would you care to elabourate (amplify) on your answer ? > > Yeah, my sentiments exactly. I partly understand, but this hit above my > level of SNMP knowledge. >From my perspective, a complete MIB would specify all the status info that is maintained by Nagios (some that are only visible from the cgis - such as next scheduled check) A smaller subset would by what is maintained in the log files. Hence the 4 tables that Don layed out below. The traps are an even smaller subset, because the oids in traps don't have to refer to other parts of the mib (though most do). The traps would need oids to denote the following (at least): host/service: hostname: servicename: (if service) state: timestamp: plugin output: > > > How would Open View understand the trap without a MIB ? > > You have to have some kind of OID to pass it. You can either make them up > (not quite a good idea), or get an official Enterprise OID from IANA. > That's why I asked about an official Nagios MIB. > > > Will Open View accept _any_ trap and act on it - if configured to do so > > ? > > It seems so, from my testing. I don't know OVO, but our people here > configured it to accept the OID I sent, and mapped it to something. They > got the event. I guess then one configures it to do something. OV will understand any trap. What needs to be done in OV is to map the trap to some action. (All events in OV are created via traps). Yes - there is no Nagios enterprise tree registered with IANA, that could be done relatively easily. It is not good practice to appropriate oid sub-trees ;) > > So, something like: > > 1.3.6.1.4.1.X (where X is a Nagios Enterprise number, or your own > Enterprise number): > > hostTable > hostEntry > hostName > hostAlias > hostAddress > hostParents > hostStateType ( SOFT | HARD ) > hostState ( OK | WARNING | UP | DOWN | UNREACHABLE | RECOVERY ) > > serviceTable > serviceEntry > hostName > serviceDescription > serviceStateType ( SOFT | HARD ) > serviceState ( OK | WARNING | CRITICAL | UNKNOWN ) > > commentTable > commentEntry > commentType ( HOST | SERVICE ) > hostName > serviceDescription > entryTime > author > commentText > commentId > persistent ( NO | YES ) > > downtimeTable > downtimeEntry > downtimeType ( HOST | SERVICE ) > hostName > serviceDescription > entryTime > author > commentText > startTime > endTime > fixed ( NO | YES ) > duration > > This is just a quick stab at it. I'd have to read up some more on properly defining > MIBS and such. > > > Perhaps the general question is that if you have an 'Enterprise > > Management System' such as Tivoli, Open View and friends, how does one > > notify it - given that all of these things only understand _one_ IPC > > method, namely SNMP traps, of a problem that Nagios detects ? > > It looks like I'll be doing just this. I know nearly nothing about the > large-scale EMS stuff, but I could pass along config options for OVO and how to > make Nagios integrate. It does some things better than OVO (and it's easier > to get working). > > Don > -- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Jun 13 17:42:57 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 13 Jun 2003 11:42:57 -0400 Subject: Nagios looping, causing hundreds of procs! Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB87@NJ-2K-Email1.delphi-tech.com> I'm having a problem with nagios, only recently, where nagios is starting a new nagios process every minute! I'm using a distributed setup with one central and two distributed servers. Nagios seems to run fine up until I kick on nsca, once the passive checks start coming in it'll kick off another nagios proc. After a day my box can be encumbered with just sleeping procs! 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped Any suggestions?! ________________________ David A. Terrell MIS Engineer Delphi Technology, Inc. Cambridge, MA 02139 617-494-8361 x2024 ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Jun 13 17:47:36 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 13 Jun 2003 11:47:36 -0400 Subject: [Apan-users] nt-disk reporting "invalid dr ive" Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB88@NJ-2K-Email1.delphi-tech.com> I have! I just recently had this exact problem, except instead of C and D, mine was out to G and H. It turns out the NTFS permissions were set such that the NSClient didn't have rights to list on the drive! That immediately solved my problem, perhaps yours is completely differet, worth a look though. -Dave -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Friday, June 13, 2003 10:28 AM To: Vinay Kumar Cc: 'apan-users at lists.sourceforge.net'; rubiyz at yahoo.com; Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: [Apan-users] nt-disk reporting "invalid drive" I have the same problem. Maybe someone that has more knowledge about NSClient can look at it.. Vinay Kumar wrote: >I have NT 4 server with a single disk of 40G. I have two partitions on it. C >and D. check_nt reports correct values for c drive. But cannot see the d >drive. It says invalid drive for d. > >c partition is : 4GB >d partition is : 36GB > >has anybody seen this problem.. > >/vinay > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: eBay >Great deals on office technology -- on eBay now! Click here: >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Apan-users mailing list >Apan-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/apan-users > > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 17:55:05 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 13 Jun 2003 10:55:05 -0500 Subject: Nagios looping, causing hundreds of procs! Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E761D@mismail.ena.com> How many checks are you doing? Are they coming in faster than nagios can process them? How about your host-check-command? Remember that your central server will try to execute the host-check-command for any services that come in as critical. If it can't reach the device hosting the service you may need to change your host-check-command for that device on the central server. Additionally, try setting command_check_interval=-1 in nagios.cfg. You might also want to increase your status_update_interval (I've got mine set to 120 seconds). -- Marc > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Friday, June 13, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > > I'm having a problem with nagios, only recently, where nagios is starting > a > new nagios process every minute! I'm using a distributed setup with one > central and two distributed servers. Nagios seems to run fine up until I > kick on nsca, once the passive checks start coming in it'll kick off > another > nagios proc. After a day my box can be encumbered with just sleeping > procs! > > 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19 > 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped > > Any suggestions?! > > ________________________ > David A. Terrell > MIS Engineer > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Jun 13 18:44:42 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 13 Jun 2003 12:44:42 -0400 Subject: Nagios looping, causing hundreds of procs! Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB8B@NJ-2K-Email1.delphi-tech.com> I'm doing ~40 checks per distributed host. They are fine, and the central server seems to handle the checks quickly enough (up until there are hundreds of nagios procs running!). I will attempt one thing at a time...first I've pushed the status_update_interval to 120 from 15 (default?). I should know shortly, at least by the end of the day if its helped. If not at that point I'll try the check_command_interval. The other suggestion, fixing the host-check-command...I'm using standard modules, like check_tcp etc, and I cannot pinpoint one particular service check that's actually causing another nagios to spawn. WE'll see Thanks, Dave -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, June 13, 2003 11:55 AM To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! How many checks are you doing? Are they coming in faster than nagios can process them? How about your host-check-command? Remember that your central server will try to execute the host-check-command for any services that come in as critical. If it can't reach the device hosting the service you may need to change your host-check-command for that device on the central server. Additionally, try setting command_check_interval=-1 in nagios.cfg. You might also want to increase your status_update_interval (I've got mine set to 120 seconds). -- Marc > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Friday, June 13, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > > I'm having a problem with nagios, only recently, where nagios is starting > a > new nagios process every minute! I'm using a distributed setup with one > central and two distributed servers. Nagios seems to run fine up until I > kick on nsca, once the passive checks start coming in it'll kick off > another > nagios proc. After a day my box can be encumbered with just sleeping > procs! > > 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19 > 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped > > Any suggestions?! > > ________________________ > David A. Terrell > MIS Engineer > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckalos at esaya.com Fri Jun 13 18:41:09 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Fri, 13 Jun 2003 12:41:09 -0400 Subject: Check_log and rotation? Message-ID: This morning, I saw a false alarm generated by check_log. I'm using it on logfiles generated by DJB's multilog program, which are rotated fairly often. Unfortunately, this means that any term which was found prior to the log rotation will create an alert *just after* the log rotates, based on the output of diff on the old logfile and the new one. Does anyone else have this problem, and if so, how do you get around it? Thanks, Christopher Kalos ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at droidmcse.com Fri Jun 13 18:45:46 2003 From: andy at droidmcse.com (Andy) Date: Fri, 13 Jun 2003 12:45:46 -0400 (EDT) Subject: Buggy Trending Information Message-ID: <52539.209.177.245.141.1055522746.squirrel@www.atcomputerconsulting.com> Hey Gang, RH7.3 Nagios 1.1. I thought upgrading to 1.1 would fix this, but it's the same in both 1.0 and 1.1. I have been presented with some problems with the reports and I tried my best to isolate it down. Seems that if I generate a report (host state trends, host availability) for a date range that is previous to March 12st i get really strange results. If the start date is: 1047531599=03-12-2003 23:59:59 to 06-13-2003 12:30:39 I get huge unreachable data back UNREACHABLE Unscheduled 92d 11h 33m 44s 99.830% 100.000% if the start date is: 1047531600=03-13-2003 00:00:00 to 06-13-2003 12:30:39 The numbers are 'normal' UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% There have been some server problems here that management has been actively looking at Nagios for any supporting data. When my manager when into Nagios to pull out the server data for the year, a huge red bar shows up as bein unreachable. But as you can see by changing the start date a little, there is a specific window where it kicks in. The start vs. end numbers are directly proportionate to each other. every second that passes, I have to up the start time by that number to get data. Any thoughts? ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 19:24:36 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Fri, 13 Jun 2003 12:24:36 -0500 Subject: Odd Nagios problem, displaying old data only some of the time Message-ID: I'm having a, you guessed it, odd problem with Nagios that I was hoping someone here could help me with. Today we had one server that was having problems. For some reason Nagios would only display the problems half of the time when going to the Status Grid or "View Status Detail For This Host". The other half of the time all the checks on that server were in the green, but it said Last Check: 06-11-2003 (when it should have read 06-13-2003 of course). Every 30 seconds or so Nagios would toggle back and forth between showing the "red" status (last check 06-13) and the "green" status (last check 06-11). I'm assuming this is some sort of permission error. I have .../nagios/var/rw set up ok (chmod 2770 with apache in the same group as nagiocmd) and can execute commands without any error messages. I checked all of the other directories but everything else still seems to be owned by nagios:nagios :-( Any idea what might be causing Nagios to show this old data half the time and the new data the other half? Maybe I should just add apache to the nagios group as well and be done with it?? Thanks! Jeremy Martin Network Technician GSI - http://www.gsi-kc.com ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 19:34:21 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 13 Jun 2003 12:34:21 -0500 Subject: Odd Nagios problem, displaying old data only some of the time Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7621@mismail.ena.com> Sounds like the classic and well discussed symptoms of having multiple copies of nagios running. Stop nagios, verify that all the processes are dead and restart nagios. -- Marc > -----Original Message----- > From: Martin, Jeremy [mailto:jmartin at gsi-kc.com] > Sent: Friday, June 13, 2003 12:25 PM > To: nagios-users at lists.sourceforge.net > > I'm having a, you guessed it, odd problem with Nagios that I was hoping > someone here could help me with. > > Today we had one server that was having problems. For some reason Nagios > would only display the problems half of the time when going to the Status > Grid or "View Status Detail For This Host". The other half of the time all > the checks on that server were in the green, but it said Last Check: 06- > 11-2003 (when it should have read 06-13-2003 of course). Every 30 seconds > or so Nagios would toggle back and forth between showing the "red" status > (last check 06-13) and the "green" status (last check 06-11). > > I'm assuming this is some sort of permission error. I have > .../nagios/var/rw set up ok (chmod 2770 with apache in the same group as > nagiocmd) and can execute commands without any error messages. I checked > all of the other directories but everything else still seems to be owned > by nagios:nagios :-( > > Any idea what might be causing Nagios to show this old data half the time > and the new data the other half? Maybe I should just add apache to the > nagios group as well and be done with it?? > > Thanks! > Jeremy Martin > Network Technician > GSI - http://www.gsi-kc.com > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Fri Jun 13 20:35:02 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 13 Jun 2003 18:35:02 +0000 (UTC) Subject: Question about SNMP Traps Message-ID: <5.1.0.14.0.20030813141918.00b5db60@pop.icnet.com.ve> Hi, I want configure the nagios for receive the snmp traps from my host and routers, but I don?t know how to do that. I have cisco routers configured for send traps, but what I Have to configure in the nagios for receive that? Thanks Jeyri ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Fri Jun 13 20:25:20 2003 From: stefmit at comcast.net (stefmit) Date: Fri, 13 Jun 2003 13:25:20 -0500 Subject: YES!!! - apan done! Message-ID: <200306131325.20593.stefmit@comcast.net> To Whom It May Concern: after all the pain I had to go through to get this apan figured out (in the context of a proprietary MDK9.1 RPM installs for nagios), the last straw was color (getting the same for both variables). I finally figured that one out: I changed the start value for N in generate.cgi, from 0 to 1, just prior to the last for loop - and bingo: two colors for two variables! Thanks again to all who helped me during this process. My plan - next - is to clean up the docs I created in the process, and post them for other Mandrake users willing to install nagios using RPMs, with the most weird directory structure I have ever seen. Stef ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stlscott at yahoo.com Fri Jun 13 20:31:46 2003 From: stlscott at yahoo.com (stlscott) Date: 13 Jun 2003 18:31:46 -0000 Subject: Can\'t get notifcations to work!!! Read everything! Message-ID: <20030613183146.22355.qmail@pod-163.dolphin-server.co.uk> Please help - new to Nagios, have it working great except for notofications. I've read tons and tons of posts regarding this issue and can't seem to locate the true solution - please help. Info: Nagios 1.1 Plugins 1.3 OS: RH 8.0 stock Problem: Notifications can't be forwarded because they don't have a "From" user address. I can only assume that I'm missing a config line in my misccommands.cfg file to put the "from" address in - but I've tried and tried and can't get it in the right place or maybe not the right command. Here is my e-mail line from my misccommands.cfg file. # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****nnNotification Type: $NOTIFICATIONTYPE$nnService: $SERVICEDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState: $SERVICESTATE$nnDate/Time: $DATETIME$nnAdditional Info:nn$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ -u nagios } You'll notice the "-u nagios" added on - this was an attempt to add the "user" to the FROM address - no luck though! HELP! ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Fri Jun 13 20:44:56 2003 From: stefmit at comcast.net (stefmit) Date: Fri, 13 Jun 2003 13:44:56 -0500 Subject: Arghhh - apan still broken :(( In-Reply-To: <200306131325.20593.stefmit@comcast.net> References: <200306131325.20593.stefmit@comcast.net> Message-ID: <200306131344.56815.stefmit@comcast.net> Bummer - have gotten the colors different, but only on the existing data. Five minutes after having made this change, and having sent this email, the impact of changing that variable cropped up somewhere else: no more data was being recorded ... arghhhhh!!! - back to red with red, I guess. I need a good night of sleep ;( On Friday 13 June 2003 01:25 pm, stefmit wrote: > To Whom It May Concern: after all the pain I had to go through to get this > apan figured out (in the context of a proprietary MDK9.1 RPM installs for > nagios), the last straw was color (getting the same for both variables). I > finally figured that one out: I changed the start value for N in > generate.cgi, from 0 to 1, just prior to the last for loop - and bingo: two > colors for two variables! > > Thanks again to all who helped me during this process. My plan - next - is > to clean up the docs I created in the process, and post them for other > Mandrake users willing to install nagios using RPMs, with the most weird > directory structure I have ever seen. > > Stef ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 13 21:11:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 13 Jun 2003 14:11:30 -0500 Subject: Check_log and rotation? Message-ID: I never did get check_log to work. I highly recommend check_log2.pl, in the contrib directory. jc > -----Original Message----- > From: Christopher Kalos [mailto:ckalos at esaya.com] > Sent: Friday, June 13, 2003 11:41 AM > To: Nagios-users > Subject: [Nagios-users] Check_log and rotation? > > > This morning, I saw a false alarm generated by check_log. > I'm using it > on logfiles generated by DJB's multilog program, which are > rotated fairly > often. Unfortunately, this means that any term which was > found prior to the > log rotation will create an alert *just after* the log > rotates, based on the > output of diff on the old logfile and the new one. > Does anyone else have this problem, and if so, how do you > get around it? > > Thanks, > Christopher Kalos > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 13 21:18:23 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 13 Jun 2003 14:18:23 -0500 Subject: Can\'t get notifcations to work!!! Read everything! Message-ID: Before you go tearing your hair out over Nagios, please confirm that you can su to the nagios user and send *any* mail out to the target address. If you can't, you know where you need to focus your attention. jc > -----Original Message----- > From: stlscott [mailto:stlscott at yahoo.com] > Sent: Friday, June 13, 2003 1:32 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can\'t get notifcations to work!!! Read > everything! > > > > Please help - new to Nagios, have it working great except for > notofications. > > I've read tons and tons of posts regarding this issue and > can't seem to locate the true solution - please help. > > Info: > Nagios 1.1 > Plugins 1.3 > OS: RH 8.0 stock > > Problem: Notifications can't be forwarded because they don't > have a "From" user address. I can only assume that I'm > missing a config line in my misccommands.cfg file to put the > "from" address in - but I've tried and tried and can't get it > in the right place or maybe not the right command. Here is my > e-mail line from my misccommands.cfg file. > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****nnNotification Type: $NOTIFICATIONTYPE$nnService: > $SERVICEDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState: > $SERVICESTATE$nnDate/Time: $DATETIME$nnAdditional > Info:nn$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert > - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ -u nagios > } > > You'll notice the "-u nagios" added on - this was an attempt > to add the "user" to the FROM address - no luck though! > > HELP! > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Fri Jun 13 21:28:06 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Fri, 13 Jun 2003 15:28:06 -0400 Subject: Performance Data Message-ID: Hi all, Is performance data processed for passive service checks and can NSCA carry it along? Thanks, --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Jun 13 21:44:15 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 13 Jun 2003 15:44:15 -0400 Subject: Nagios looping, causing hundreds of procs! Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB8C@NJ-2K-Email1.delphi-tech.com> Ok, no change so far, I'm going to now try turning off the command_check_interval on the central? nagios box. /me crosses fingers. -Dave -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Friday, June 13, 2003 12:45 PM To: mpowell at ena.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! I'm doing ~40 checks per distributed host. They are fine, and the central server seems to handle the checks quickly enough (up until there are hundreds of nagios procs running!). I will attempt one thing at a time...first I've pushed the status_update_interval to 120 from 15 (default?). I should know shortly, at least by the end of the day if its helped. If not at that point I'll try the check_command_interval. The other suggestion, fixing the host-check-command...I'm using standard modules, like check_tcp etc, and I cannot pinpoint one particular service check that's actually causing another nagios to spawn. WE'll see Thanks, Dave -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, June 13, 2003 11:55 AM To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! How many checks are you doing? Are they coming in faster than nagios can process them? How about your host-check-command? Remember that your central server will try to execute the host-check-command for any services that come in as critical. If it can't reach the device hosting the service you may need to change your host-check-command for that device on the central server. Additionally, try setting command_check_interval=-1 in nagios.cfg. You might also want to increase your status_update_interval (I've got mine set to 120 seconds). -- Marc > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Friday, June 13, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > > I'm having a problem with nagios, only recently, where nagios is starting > a > new nagios process every minute! I'm using a distributed setup with one > central and two distributed servers. Nagios seems to run fine up until I > kick on nsca, once the passive checks start coming in it'll kick off > another > nagios proc. After a day my box can be encumbered with just sleeping > procs! > > 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19 > 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped > > Any suggestions?! > > ________________________ > David A. Terrell > MIS Engineer > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 13 23:08:06 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 07:08:06 +1000 Subject: MIB for Nagios In-Reply-To: ; from dbadrak@tco.census.gov on Fri, Jun 13, 2003 at 10:01:46AM -0400 References: <20030613202638.C232@IPAustralia.Gov.AU> Message-ID: <20030614070759.A232@IPAustralia.Gov.AU> Dear Sir, Thank you very much for a very helpful and comprehensive reply. If you have the time, you may want to consider submitting an FAQ on 'Intergrating Nag with EMS' (there is a nice FAQ submitter form on the Nag web page). 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Fri Jun 13 23:40:49 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Fri, 13 Jun 2003 16:40:49 -0500 Subject: Question about SNMP Traps Message-ID: I don't think that nagios can receive snmp traps, but I could be wrong. You could setup your machine to receive snmptraps from devices though. Use snmptrapd. >>> Jeyri Bautista 06/13/03 14:59 PM >>> Hi, I want configure the nagios for receive the snmp traps from my host and routers, but I don?t know how to do that. I have cisco routers configured for send traps, but what I Have to configure in the nagios for receive that? Thanks Jeyri ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Sat Jun 14 00:02:02 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 13 Jun 2003 17:02:02 -0500 Subject: HTTP(S)? on multiple ports - simple single-service definition Message-ID: <16106.18906.692075.91387@montanaro.dyndns.org> I have one machine which listens for http requests on ports 80, 81 and 82 and for https requests on ports 443 and 444. At the moment besides http-service and https-service definitions, I have three others defined for the odd ports. For one machine alone I thus have three special services and two special check commands defined. This seems like a waste. It's certainly going to be a scalability nightmare should this happen very often. Is there a simpler way to do this which doesn't require me to always declare the port to connect to? Something like define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2|80$ } so when invoked without a second argument like so: check_http!/ $ARG2$ would default to 80: $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -p 80 Or is there another way to do this? I read the "sanity" chapter in the docs. It mostly seemed to concern itself with defining the same service/escalation/whatever across many hosts. Maybe using that for other machines with identical services will make this problem bearable though... Any suggestions appreciated. -- Skip Montanaro skip at pobox.com Check out Spambayes as a spam filter: http://spambayes.sf.net/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Sat Jun 14 00:01:00 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 13 Jun 2003 15:01:00 -0700 Subject: FYI, nagios command file pipe may cause passive service corruption Message-ID: Just as an FYI since I've worked around it but since the var/rw/nagios.cmd is a pipe there is a possibility of multiple processes writing to it at the same time which can cause the messages to interleave giving erroneous results (lost messages, bad data, ??). I looked through the NSCA and some other scripts/programs that are using that facility and didn't see anything doing any locking either (release or CVS). Under "normal" traffic volumes the odds of this happening are quite low. I hit it quite a few times when I was pumping in ~2000-4000 checks/minute (burst - not sustained). I worked around it by front ending all of my (high volume passive) checks with another program (syslog-ng in this case, although any one of a number of other apps would likely work) that opens a filesystem socket and the nagios pipe and then bundles them through for me. The FS Socket doesn't have the same problem since every client is a seperate fd. >From what I've heard the 2.0 interface will be completely different, so hopefully this problem goes completely away then. In the interest of not wasting developers time on old problems so they can get the next gen out :) if anyone else is seeing an issue here is the hack workaround I'm using: source s_stream { unix-stream("/path/.syslog.nagios" max-connections(100) owner(nagios) group(www) perm(0640)); }; destination nagios { file("/nagios/var/rw/nagios.cmd" template("$MSG\n") sync(0) owner(nagios) group(www) perm(0660)); }; log { source(s_stream); destination(nagios); }; You can then use it in perl like: use IO::Socket::UNIX; $TS = IO::Socket::UNIX->new(Type => SOCK_STREAM, Peer => "/path/.syslog.nagios") || die "$!"; printf($TS "PROCESS_SERVICE_CHECK_RESULT;%s;service;%d; %s\n" $node, $result, $output); close($TS); The only gotcha I've seen so far is that the application thats doing the pass through (syslog-ng in this case) needs to re-open the nagios pipe is nagios is restarted. I put a kill -HUP for syslog-ng into the nagios startup. Another solution would be to hack all the applications that access the nagios.cmd file perform locking on it. The locking is only advisory though so if anyones program(s) didn't use it... well we'd be right back where we started. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 00:57:21 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 08:57:21 +1000 Subject: FYI, nagios command file pipe may cause passive service corruption In-Reply-To: ; from ryan.mooney@pnl.gov on Fri, Jun 13, 2003 at 03:01:00PM -0700 References: Message-ID: <20030614085718.B232@IPAustralia.Gov.AU> Dear Sir, You may be mistaken in the matter of interleaving with _high volumes_ of messages input to the Nagios command file. Most of the texts (eg W R Stevens APUE p 446) state that provided each process writes no more than PIPE_BUF per write, there will be no interleaving, regardless of the input rate. Writes to a named pipe will be atomic if each write is less than PIPE_BUF (perl -MPOSIX=_POSIX_PIPE_BUF -e 'print _POSIX_PIPE_BUF, "\n"' on this FreeBSD system it is 512 bytes). 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Jun 14 01:22:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 13 Jun 2003 19:22:11 -0400 (EDT) Subject: Question about SNMP Traps In-Reply-To: <5.1.0.14.0.20030813141918.00b5db60@pop.icnet.com.ve> References: <5.1.0.14.0.20030813141918.00b5db60@pop.icnet.com.ve> Message-ID: In the documentation: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html On Wed, 13 Aug 2003, Jeyri Bautista wrote: > Hi, > > I want configure the nagios for receive the snmp traps from my host and > routers, but I don?t know how to do that. > > I have cisco routers configured for send traps, but what I Have to > configure in the nagios for receive that? > > Thanks > > Jeyri > > > -- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.gerkman at gartner.com Sat Jun 14 01:27:44 2003 From: joe.gerkman at gartner.com (Gerkman,Joseph) Date: Fri, 13 Jun 2003 16:27:44 -0700 Subject: dumb question...about how to best define/represent routers and multi-homed hosts Message-ID: <94A4F620CC594E4ABC170291D5FD2D2C020F1965@elk.gar.com> Hi all, I've been working with Nagios for quite a while now and just wanted to say a big thanks to Ethan and the other folks who've made it such an incredible piece of software. Now, for a kinda dumb question... I have been creating a host entries for each interface on multi-homed hosts and routers (e.g. routerA has 3 interfaces, for which I create 3 host entries, routerA-1, routerA-2, routerA-3). While this has service my purposes in allowing me to know if a particular interface is having issues, I'm realizing that this may not have been the best way to do this...so I'm just looking for some input from others as to what the best method to deal with multi-homed hosts, routers, and for that matter, VLANs. Thanks and take care, -J ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Sat Jun 14 01:28:30 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 13 Jun 2003 16:28:30 -0700 Subject: FYI, nagios command file pipe may cause passive service corruption Message-ID: Interesting because I clearly saw messages stomping on each other with smaller messages than PIPE_BUF. Hmm... Looking closer my external commands scripts that pump the data in are all perl and I didn't set the output to the pipe to be unbuffered. I pre-generate the results for N hosts (where N is big) and shove them in all at once (well I do a seperate printf("...") for each one) perl was probably buffering my write up for me and then blasting a rather large chunk in all at once thus causing the problem. Still a little scary since I have to make sure all my write to pipe programs are well behaved in that regard and flush thier output after each message (not a big deal, but..). > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Friday, June 13, 2003 3:57 PM > To: Mooney, Ryan > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] FYI, nagios command file pipe may cause > passive service corruption > > > Dear Sir, > > You may be mistaken in the matter of interleaving with _high > volumes_ of > messages input to the Nagios command file. > > Most of the texts (eg W R Stevens APUE p 446) state that provided each > process writes no more than PIPE_BUF per write, there will be no > interleaving, regardless of the input rate. > > Writes to a named pipe will be atomic if each write is less than > PIPE_BUF (perl -MPOSIX=_POSIX_PIPE_BUF -e 'print > _POSIX_PIPE_BUF, "\n"' > on this FreeBSD system it is 512 bytes). > > 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From logan at qlnet.com Sat Jun 14 01:42:55 2003 From: logan at qlnet.com (logan) Date: Fri, 13 Jun 2003 17:42:55 -0600 Subject: nagios, appache, authentication help. Message-ID: <000001c33205$83f9d740$0deabbd0@carbon> I have installed nagios on my redhat 8 server, with apache. I created htpasswd.users file and used the htpasswd command to add users and passwords. I set use_authentication=1 in cgi.cfg. And I put a .htaccess file in the following locations: /nagios, /nagios/sbin, /nagios/share. I double checked all of the directory trees to make sure they are pointing to the correct places. The problem is, when I try to log on to my nagios web front (http://localhost/nagios/, http://207.0.0.1/nagios/ or http://MYIP/nagios/) I get the authentication popup box, but none of the user/passwords work. I could find no other information in the nagios documentary or the apache docs. Please help. TIA. logan at qlnet.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Sat Jun 14 02:12:37 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 10:12:37 +1000 Subject: FYI, nagios command file pipe may cause passive service corruption In-Reply-To: ; from ryan.mooney@pnl.gov on Fri, Jun 13, 2003 at 04:28:30PM -0700 References: Message-ID: <20030614101234.C232@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jun 13, 2003 at 04:28:30PM -0700, Mooney, Ryan wrote: > > Interesting because I clearly saw messages stomping on each other with smaller > messages than PIPE_BUF. Hmm... Looking closer my external commands scripts > that pump the data in are all perl and I didn't set the output to the pipe to > be unbuffered. I pre-generate the results for N hosts (where N is big) and shove > them in all at once (well I do a seperate printf("...") for each one) perl was > probably buffering my write up for me and then blasting a rather large chunk in > all at once thus causing the problem. Yep. printf? and friends all use stdio so are buffered (depending on what the library thinks you are talking to, but the only thing that varies is the degree of buffering). > Still a little scary since I have to make > sure all my write to pipe programs are well behaved in that regard and flush > thier output after each message (not a big deal, but..). > Would perl -i.bak -pe 's/printf/syswrite s/' -- puff of blue smoke from -- the chainsaw. Watch your -- limbs. # turn pesky printf yada, nada, foo, bar ; into # syswrite sprintf yada, nada, foo, bar ; help ? Hmm, you would probably enjoy Mr Stein's "Network programming in Perl". All the IO that's fit to printf? with and without blocking. And if you are not acquainted with it, Parallel::ForkManager is a nice way of collecting data from lots of IO bound processes (eg getting CAM tables from switches) that you can shove into a named pipe and have it come out looking wholesome. 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. Here's some gunk from the subroutine called by Parallel::ForkManager ## can only write PIPE_BUF bytes without interleaving ## my $max_len = 1 ; map { my $x; $max_len = $x if ($x = length($_)) > $max_len } @dot1dTpFdbTable ; my $posix_pipe_buf = PIPE_BUF ; $posix_pipe_buf -= 42 ; # largest known 'switch block' header. my $mac_per_pipe_buff = int( $posix_pipe_buf/$max_len ) ; while ( @pipe_buff = splice(@dot1dTpFdbTable, 0, $mac_per_pipe_buff) ) { $pipe_buff = "switch: $ip_address $sysDescr\n" ; # FIXME $sysDescr rubbish !!! $pipe_buff .= "@pipe_buff\n" ; # same as join(" ", @pipe_buff) . "\n" # If buffered io is used (print FIFO), the # output from writers is interleaved, regardless # of the number of bytes written. $nwrite = syswrite(WRITER, $pipe_buff, PIPE_BUF) ; die "syswrite(WRITER, pipe_buff, PIPE_BUF) for switch: $switch failed: $!\n" if ! defined $nwrite ; } ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 02:28:50 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 10:28:50 +1000 Subject: dumb question...about how to best define/represent routers and multi-homed hosts In-Reply-To: <94A4F620CC594E4ABC170291D5FD2D2C020F1965@elk.gar.com>; from joe.gerkman@gartner.com on Fri, Jun 13, 2003 at 04:27:44PM -0700 References: <94A4F620CC594E4ABC170291D5FD2D2C020F1965@elk.gar.com> Message-ID: <20030614102847.D232@IPAustralia.Gov.AU> Dear Sir, On Fri, Jun 13, 2003 at 04:27:44PM -0700, Gerkman,Joseph wrote: > Hi all, > > I've been working with Nagios for quite a while now and just wanted to say a big thanks to Ethan and the other folks who've made it such an incredible piece of software. > > Now, for a kinda dumb question... > > I have been creating a host entries for each interface on multi-homed hosts and routers (e.g. routerA has 3 interfaces, for which I create 3 host entries, routerA-1, routerA-2, routerA-3). > > While this has service my purposes in allowing me to know if a particular interface is having issues, I'm realizing that this may not have been the best way to do this...so I'm just looking for some input from others as to what the best method to deal with multi-homed hosts, routers, and for that matter, VLANs. > This issue has been canvassed many times on the list. I suggest you should examine the archives at either . SourceForge . Gmane and see if the answers there are suitable. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.gerkman at gartner.com Sat Jun 14 02:56:23 2003 From: joe.gerkman at gartner.com (Gerkman,Joseph) Date: Fri, 13 Jun 2003 17:56:23 -0700 Subject: dumb question...about how to best define/represent routers and multi-homed hosts Message-ID: <94A4F620CC594E4ABC170291D5FD2D2C020F1966@elk.gar.com> Also neglected to mention that it's in reference to use with the parent/child relationships too...that's where I believe I may have taken a wrong turn, especially when I take a look at my status map %-) Again, just curious to hear/see how others have tackled it and what seems to work best for them. -----Original Message----- From: Gerkman,Joseph Sent: Friday, June 13, 2003 4:28 PM To: 'nagios-users at lists.sourceforge.net' Subject: dumb question...about how to best define/represent routers and multi-homed hosts Hi all, I've been working with Nagios for quite a while now and just wanted to say a big thanks to Ethan and the other folks who've made it such an incredible piece of software. Now, for a kinda dumb question... I have been creating a host entries for each interface on multi-homed hosts and routers (e.g. routerA has 3 interfaces, for which I create 3 host entries, routerA-1, routerA-2, routerA-3). While this has service my purposes in allowing me to know if a particular interface is having issues, I'm realizing that this may not have been the best way to do this...so I'm just looking for some input from others as to what the best method to deal with multi-homed hosts, routers, and for that matter, VLANs. Thanks and take care, -J ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 03:51:44 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 11:51:44 +1000 Subject: Some noise about Nagios .. Message-ID: <20030614115141.F232@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing with some comments about Nagios and it's intended function. Most of this is only marginally related to using Nagios. My employer has asked my input on a paper evaluation of the famous brand 'Enterprise Management Softwares' (EMS). Since this is a family program I won't bother naming them. This evaluation was the result of managements perception of shortcomings in the management of systems and that best of breed soltions (such as monitoring Web logic internals or the guts of Oracle) were incomplete. My participation was at least partly the result of needing to enlist a Nagios partisan, since Nagios has been in use here for some (very happy, alas) years. Those responsible suggested the following shortcomings in 'best of breed' products (element managers, availability monitors are other names) 1. the usual management hard asks of asset/inventory/code distribution (ie desktops)/service desk integration/change management integration, but more interestingly 2. business view - multiple views, including relationships (producer-consumer and so on) of 'business processes', including the IT objects that actually do the work - reporting against systems (business processes) rather (or as well as) against elements - alarms from business processes for events of business significance . notification that some process had exceeded its outage limit for example . at least one of the products had Prolog based rule systems for determining how to react (who, how etc). Very nice. - cause analysis ('root cause analysis') in helping pinpoint the IT cause of a business system failure - this is hard to do with undocumented or otherwise opaque supply chains. . this may simply be a consequence of having a multi-level diagram of the entities involved in business processes (whether you lay this out or the system does [for bonus marks] seems irrelevant) that is responsive to the health of the IT elements. . on the other hand, it may be the result of inference from rules (the knee bones connected to the toe bone ..) 3. user view of transactions - including measurement of user transactions . most of the EMS would only do synthetic transactions, even though they provided record and replay tools to do so (Syn Trxs are useless for update transactions). 4. being able to provide multiple perspectives of costly IT resources such as storage, being able to analyse in real time, how much and where, at the various views Obviously, such things may not be useful to all classes of Nagios users. Those whose main game is box management, and who are skillful enough to master it, will wonder why bother. On the other hand, facilities such as those above make Nag attractive to a wider audience. The business view is the one that really intrigues me. The prospect of a Nag drag and drop GUI that can associate managed IT elements with systems sounds wonderful. However, inference based reactions also sounds very chic. Nagios by comparison with the EMSs demonstrates a great deal of flexibility. Adding or thinking about such things would be very helpful. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 05:19:49 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 13:19:49 +1000 Subject: HTTP(S)? on multiple ports - simple single-service definition In-Reply-To: <16106.18906.692075.91387@montanaro.dyndns.org>; from skip@pobox.com on Fri, Jun 13, 2003 at 05:02:02PM -0500 References: <16106.18906.692075.91387@montanaro.dyndns.org> Message-ID: <20030614131946.H232@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jun 13, 2003 at 05:02:02PM -0500, Skip Montanaro wrote: > > I have one machine which listens for http requests on ports 80, 81 and 82 > and for https requests on ports 443 and 444. At the moment besides > http-service and https-service definitions, I have three others defined for > the odd ports. For one machine alone I thus have three special services and > two special check commands defined. > > This seems like a waste. It's certainly going to be a scalability nightmare > should this happen very often. Is there a simpler way to do this which > doesn't require me to always declare the port to connect to? Something like > > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2|80$ > } > > so when invoked without a second argument like so: > > check_http!/ > > $ARG2$ would default to 80: > > $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -p 80 > > Or is there another way to do this? I read the "sanity" chapter in the > docs. It mostly seemed to concern itself with defining the same > service/escalation/whatever across many hosts. Maybe using that for other > machines with identical services will make this problem bearable though... > that a wrapper encapsulating check_http comes to mind #!/usr/bin/perl -w use strict ; use utils qw(..) ; # getopt the -p option and decide what to do with it my $port = ( $opt_p =~ m#\S+\|80# ? _port_corresp_to_arg2 : 80 ) ; # probably you would need to decode $ARG2 from what you say system("check_http .. -p $port) && do { # nope. don't use system, otherwise no output exit $ERRORS{CRITICAL} ; # or whatever .. # actually, once the args are got exec() check_http and let it worry # about output and return code. }; print "consoling message.\n" ; exit $ERRORS{'OK'} ; > Any suggestions appreciated. > > -- > Skip Montanaro > skip at pobox.com > Check out Spambayes as a spam filter: http://spambayes.sf.net/ > HTH, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Sat Jun 14 06:05:05 2003 From: stefmit at comcast.net (stefmit) Date: Fri, 13 Jun 2003 23:05:05 -0500 Subject: [OT]Re: Some noise about Nagios .. In-Reply-To: <20030614115141.F232@IPAustralia.Gov.AU> References: <20030614115141.F232@IPAustralia.Gov.AU> Message-ID: <200306132305.06521.stefmit@comcast.net> Mr. Hopcroft et al., I am not quite sure where you are getting with this, but I may as well throw my $0.02 in: I have been asked recently by my executive level to proceed with my group in the evaluation of network, application and fault management/monitoring tools, and their capabilities of being consolidated at various levels (views, if you will), such as: - views for the help desk - views for the technical support with expertise in XYZ apps or systems - dashboard for management - possibility of importing data in KPMs (Key Performance Measures) - business functions visibility, as mapping of business processes taking place "on top" of various applications and systems - application/network/systems/hardware capabilities - real-time, as well as historical recording and data analysis - centralization of syslogs - sniffing capabilities, for "drill-down" functionality, in case of problems detected initially at higher layers, but with root cause at lower ones (here I am referring mostly to "integration" of sniffing capabilities, not only in their availability) - event correlation - the icing on the cake was the requirements for a tool capable of as much visibility as possible in the workings of a client-server in a multi-tier deployment of the whole Oracle e-business suite, for which we are continuously installing modules, in all aspects of our business, thus being interested in completely controlling its behavior. It is just a coincidence that - in my spare time (i.e. at home, 'cause that's what I have left, even if the outcome is for work) I decided to look again at Netsaint --> now Nagios. Meanwhile, at work, I interviewed and analyzed many vendors, of which some caught my attention for various reasons. The reason of replying to the original email was to see if it is worth continuing on an off-topic thread, with a debate in regards to EMS and NMS (by the way - the "S" should probably stand for systems, not software, as some solutions may be built directly on hardware appliances), and their relationship to what Nagios is and/or could be. Anybody interested? I would be willing to start with a description of what I have seen so far, and what I liked from each, perhaps with the perspective of what Nagios could potentially become/do, with the hope that others may share their opinions. How does this sound? Regards, Stef On Friday 13 June 2003 08:51 pm, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > I am writing with some comments about Nagios and it's intended function. > > Most of this is only marginally related to using Nagios. > > My employer has asked my input on a paper evaluation of the famous brand > 'Enterprise Management Softwares' (EMS). Since this is a family program > I won't bother naming them. > > This evaluation was the result of managements perception of > shortcomings in the management of systems and that best of breed > soltions (such as monitoring Web logic internals or the guts of > Oracle) were incomplete. My participation was at least partly the result > of needing to enlist a Nagios partisan, since Nagios has been in use > here for some (very happy, alas) years. > > Those responsible suggested the following shortcomings in 'best of > breed' products (element managers, availability monitors are other > names) > > > 1. the usual management hard asks of asset/inventory/code > distribution (ie desktops)/service desk integration/change > management integration, > > but more interestingly > > 2. business view > > - multiple views, including relationships (producer-consumer and so > on) of 'business processes', including the IT objects that actually > do the work > > - reporting against systems (business processes) rather (or as well > as) against elements > > - alarms from business processes for events of business significance > > . notification that some process had exceeded its outage limit for > example > > . at least one of the products had Prolog based rule systems for > determining how to react (who, how etc). Very nice. > > - cause analysis ('root cause analysis') in helping pinpoint > the IT cause of a business system failure - this is > hard to do with undocumented or otherwise opaque supply chains. > > . this may simply be a consequence of having a multi-level > diagram of the entities involved in business processes (whether > you lay this out or the system does [for bonus marks] seems > irrelevant) that is responsive to the health of the IT elements. > > . on the other hand, it may be the result of inference from rules > (the knee bones connected to the toe bone ..) > > 3. user view of transactions - including measurement of user > transactions > > . most of the EMS would only do synthetic transactions, even though > they provided record and replay tools to do so (Syn Trxs are > useless for update transactions). > > 4. being able to provide multiple perspectives of costly IT resources > such as storage, being able to analyse in real time, how much and > where, at the various views > > Obviously, such things may not be useful to all classes of Nagios > users. Those whose main game is box management, and who are skillful > enough to master it, will wonder why bother. On the other hand, > facilities such as those above make Nag attractive to a wider audience. > > The business view is the one that really intrigues me. The prospect of a > Nag drag and drop GUI that can associate managed IT elements with > systems sounds wonderful. > > However, inference based reactions also sounds very chic. > > Nagios by comparison with the EMSs demonstrates a great deal of > flexibility. > > Adding or thinking about such things would be very helpful. > > Yours sincerely. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 09:16:49 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 14 Jun 2003 17:16:49 +1000 Subject: [OT]Re: Some noise about Nagios .. In-Reply-To: <200306132305.06521.stefmit@comcast.net>; from stefmit@comcast.net on Fri, Jun 13, 2003 at 11:05:05PM -0500 References: <20030614115141.F232@IPAustralia.Gov.AU> <200306132305.06521.stefmit@comcast.net> Message-ID: <20030614171643.A952@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jun 13, 2003 at 11:05:05PM -0500, stefmit wrote: > Mr. Hopcroft et al., > > > The reason of replying to the original email was to see if it is worth > continuing on an off-topic thread, with a debate in regards to EMS and NMS > (by the way - the "S" should probably stand for systems, not software, as > some solutions may be built directly on hardware appliances), and their > relationship to what Nagios is and/or could be. Anybody interested? I would > be willing to start with a description of what I have seen so far, and what I > liked from each, perhaps with the perspective of what Nagios could > potentially become/do, with the hope that others may share their opinions. > > How does this sound? > It sounds very good to me; should there be complaints, it can continue privately. Part of the reason for the letter was to provide a proper perspective on Nagios with regard to what it does well and less well, and also what opportunities there are for addons or improvements. I am of the view that many EMS claims are highly platform dependent (and in fact the reference implementation is the OHP), but I am very keen to hear what they do well in case that provides some inspiration for Nagios development. Not so much of, "Wouldn't it be nice if Nagios was like Snivoli ?" but, how the hell can Nagios pinch the good bits ? Half of knowing what to pinch is seeing them first, or hearing about them. There will be some cheap wins. For example, getting stuff into Excel is a winner with those that attach no credibility to anything other than spreadsheets (that's right: if I say in an email, from Nag reporting, that outsourced service X was down for 30 hours last 5 day week, it almost certainly will be ignored. PNG graph likewise. Spreadsheet - data plus graph - well now, it _must_ be accurate.) It is easy to . lift the existing Nag availability downs and ups . change the time stamps to Excel format (strftime("%D %R", .. and reformat as CSV) . mail it to a Win MUA that will launch Excel (Mind you this is not very useful, but there are those who must put their hands in the wounds ..) In any case, from what little I know about this, I am fairly confident that 1 Nagios and EMS can have complimentary roles, since the Nagios forte of testing services (rather than plonking agents on servers) is not threatened by EMS 2 Should folk want EMS reporting and Nagios sensing, the letter from Don Barak about Subhendu Ghosh about having Nag send notifications to the EMS as snmp traps sounds a simple and viable means of doing so. 3 There is also a case that EMS and Nag are mutually exclusive. Those that are on top of their game enough to only want to know what's down when aren't interested in EMS. 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atul_iet at rediffmail.com Sat Jun 14 12:17:38 2003 From: atul_iet at rediffmail.com (Atul Shrivastava) Date: 14 Jun 2003 10:17:38 -0000 Subject: Plotting Bandwidth Utilization Using NSClient not working !!!! Message-ID: <20030614101738.13674.qmail@webmail9.rediffmail.com> Hello, I am monitoring a Win NT machine Bandwidth Utilization but the bytes are coming out to be zero but in that time I am downloading files of big size so no way it can come out to be zero. Can you tell me why this is happening with NSClient. I want to use only one of them (either SNMP or NSClient) but for Memory Monitoring I require NSClient because I can't monitor Memory using snmp. All things are working fine but the value is zero, can you tell me why.... I have taken the Interface name from the Network Neighbourhood Properties....... Other things using NSClient (CPU,Memory, Disk) are working fine. Regards and have a nice day, Atul Shrivastava =============================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Sat Jun 14 18:24:17 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Sat, 14 Jun 2003 16:24:17 +0000 (UTC) Subject: Question about reports Message-ID: <5.1.0.14.0.20030814121149.00b51b00@pop.icnet.com.ve> Hi, In last time I export the service availability report to excel, but now i cant do that, because don?t show me the option when I press the mouse right button. Can anybody help me? Jeyri ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spam-block at fribert.dk Sat Jun 14 21:07:15 2003 From: spam-block at fribert.dk (Spam Block) Date: Sat, 14 Jun 2003 21:07:15 +0200 Subject: How do I set up a check for BackupExec? Message-ID: Has anybody set this up? Done via SNMP I guess, but what to check? Fribse -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew-netsaint at andrew.net.au Mon Jun 16 06:59:56 2003 From: andrew-netsaint at andrew.net.au (Andrew Pollock) Date: Mon, 16 Jun 2003 14:59:56 +1000 Subject: Service checks during scheduled maintenance Message-ID: <20030616045956.GA18251@daedalus.andrew.net.au> Hi, My understanding of Nagios' behavior during scheduled maintenance is that it continues to do service checks and if a service check fails it won't notify. Does it report anything differently when viewing the trends for that service? Where I'm going is I'm trying to work out if the trend graph will show a patch of critical during a scheduled maintenance window any differently to a patch of critical outside a scheduled maintenance window. regards Andrew ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Mon Jun 16 08:06:21 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 16 Jun 2003 08:06:21 +0200 Subject: Was: Re: [Apan-users] Plotting Bandwidth Utilization Using NSClient not working !!!! References: <20030614101738.13674.qmail@webmail9.rediffmail.com> Message-ID: <3EED5E5D.1020509@datavis.se> I have the same broblem, but I always get '56'.. Nagios>./check_nt -H adsrv -v COUNTER -l '\Network Interface(Intel 8255x-based Integrated Fast Ethernet)\Bytes Total/sec' 56 Nagios> Maybe someone that is more familiar with NSClient have an answer? Maybe there is another way to measure bandwith via NSClient? /FredrikW Atul Shrivastava wrote: >Hello, > >I am monitoring a Win NT machine Bandwidth Utilization but the bytes are coming out to be zero but in that time I am downloading files of big size so no way it can come out to be zero. Can you tell me why this is happening with NSClient. I want to use only one of them (either SNMP or NSClient) but for Memory Monitoring I require NSClient because I can't monitor Memory using snmp. All things are working fine but the value is zero, can you tell me why.... >I have taken the Interface name from the Network Neighbourhood Properties....... >Other things using NSClient (CPU,Memory, Disk) are working fine. > >Regards and have a nice day, > >Atul Shrivastava > >=============================================================== > > > > > > ------------------------------------------------------------------------ > > From sylvain.padoan at sihpic.fr Mon Jun 16 09:45:03 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Mon, 16 Jun 2003 09:45:03 +0200 Subject: /var/rw/nagios.cmd is not allowed?? References: <20030614101738.13674.qmail@webmail9.rediffmail.com> <3EED5E5D.1020509@datavis.se> Message-ID: <018301c333db$32c60b00$c801007e@w80075c> hello when I stop and start nagios, the file /var/rw/nagios.cmd is not allowed for "other" in /var/rw/ prw-rw---- nagios nagios nagios.cmd (in my web interface, external command say: Error: Could not open command file /usr/local/nagios/var/rw/nagios.cmd' for update!) when i make chmod 555 nagios.cmd prw-rw-rw- nagios nagios nagios.cmd (in my web interface, all external command is good) but how to automate this step?? what config file?? thanks a lot and excuse me for my bad english :-) sylvain ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Mon Jun 16 09:52:41 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Mon, 16 Jun 2003 09:52:41 +0200 Subject: /var/rw/nagios.cmd is not allowed?? Message-ID: <01ad01c333dc$43b71700$c801007e@w80075c> Excuse for the mistake!! is not 555 but chmod 666 :-) ----- Original Message ----- From: "Sylvain Padoan" To: Sent: Monday, June 16, 2003 9:45 AM Subject: /var/rw/nagios.cmd is not allowed?? > hello > > when I stop and start nagios, the file /var/rw/nagios.cmd is not allowed for > "other" > in /var/rw/ > prw-rw---- nagios nagios nagios.cmd > (in my web interface, external command say: Error: Could not open command > file /usr/local/nagios/var/rw/nagios.cmd' for update!) > > when i make > chmod 555 nagios.cmd > prw-rw-rw- nagios nagios nagios.cmd > (in my web interface, all external command is good) > > but how to automate this step?? what config file?? > > thanks a lot and excuse me for my bad english :-) > > sylvain > > > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jun 16 10:30:33 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Mon, 16 Jun 2003 10:30:33 +0200 Subject: Pretty icons in status map Message-ID: <20030616083033.GA26488@amit.hu> Hi Kids, i'm newbie in nagios - this is a great software! everything works good, and now, i would like to use the pretty icons from http://prdownloads.sourceforge.net/nagios/imagepak-base.tar.gz but it doesn't work. :( what i did: - get that package (unpack, and copy to $NAGIOSHOME/share/images/logos) - set up cgi.cfg: default_statusmap_layout=4 xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg - set up hostextinfo.cfg: define hostextinfo{ host_name bishop.intra.amit.hu 2d_coords 279,83 icon_image debian.png icon_image_alt AMIT VPN FW vrml_image debian.png statusmap_image debian.gd2 } define hostextinfo{ host_name nike2000.nitrokemia.local 2d_coords 20,32 icon_image win40.png icon_image_alt NIKE EXCHANGE vrml_image win40.png statusmap_image win40.gd2 } i think it seems every settings are good, but it doesn't works... when i moved hostextinfo.cfg to _hostextinfo.cfg, there is nothing changed. can somebody help me? of course, when i changed something, i restarted nagios and apache too. thanks: air ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrzej.wisniewski at contium.pl Mon Jun 16 10:30:20 2003 From: andrzej.wisniewski at contium.pl (Andrzej Wisniewski) Date: 16 Jun 2003 10:30:20 +0200 Subject: check_http and *.jsp Message-ID: <1055752220.580.27.camel@andy> Hi I have a problem with jsp scripts. When I try my check_http plugin to monitoring some jsp files I can see 500 External error : # ./check_http www.someserver.com -u /somefile.jsp HTTP CRITICAL: HTTP/1.1 500 Internal Server Error So, I have an old plugin check_http (from netsaint yet) and it works propertly : # ./check_http www.someserver.com -u /somefile.jsp HTTP ok: HTTP/1.1 200 ok - 5 second response time but I have not source of this plugin :( Well, I have this problem with all JSP files :( Can somebody help me ? -- AndY ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at id.pl Mon Jun 16 11:01:31 2003 From: nagios at id.pl (Andrzej Wisniewski) Date: 16 Jun 2003 11:01:31 +0200 Subject: /var/rw/nagios.cmd is not allowed?? In-Reply-To: <018301c333db$32c60b00$c801007e@w80075c> References: <20030614101738.13674.qmail@webmail9.rediffmail.com> <3EED5E5D.1020509@datavis.se> <018301c333db$32c60b00$c801007e@w80075c> Message-ID: <1055754091.580.33.camel@andy> > but how to automate this step?? what config file?? You can make some changes in your /etc/init.d/nagios file: chmod 770 $NagiosCmd chgrp www-data $NagiosCmd in start) section. -- AndY ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frafuval at mixmail.com Mon Jun 16 12:20:41 2003 From: frafuval at mixmail.com (Francisco Javier Furio Val) Date: Mon, 16 Jun 2003 11:20:41 +0100 Subject: Hosts Images Message-ID: An HTML attachment was scrubbed... URL: From karl at debisschop.net Mon Jun 16 13:12:37 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 16 Jun 2003 07:12:37 -0400 Subject: check_http and *.jsp In-Reply-To: <1055752220.580.27.camel@andy> References: <1055752220.580.27.camel@andy> Message-ID: <1055761957.15968.12.camel@miles.debisschop.net> On Mon, 2003-06-16 at 04:30, Andrzej Wisniewski wrote: > Hi > I have a problem with jsp scripts. When I try my check_http plugin to > monitoring some jsp files I can see 500 External error : > > # ./check_http www.someserver.com -u /somefile.jsp > HTTP CRITICAL: HTTP/1.1 500 Internal Server Error > > So, I have an old plugin check_http (from netsaint yet) and it works > propertly : > > # ./check_http www.someserver.com -u /somefile.jsp > HTTP ok: HTTP/1.1 200 ok - 5 second response time > > but I have not source of this plugin :( > Well, I have this problem with all JSP files :( > Can somebody help me ? Have you tried the full POSIX-style invocation? ./check_http -I www.someserver.com -H www.someserver.com \ -u /somefile.jsp -- Karl ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrzej.wisniewski at contium.pl Mon Jun 16 13:33:25 2003 From: andrzej.wisniewski at contium.pl (Andrzej Wisniewski) Date: 16 Jun 2003 13:33:25 +0200 Subject: check_http and *.jsp In-Reply-To: <1055761957.15968.12.camel@miles.debisschop.net> References: <1055752220.580.27.camel@andy> <1055761957.15968.12.camel@miles.debisschop.net> Message-ID: <1055763205.584.132.camel@andy> > > # ./check_http www.someserver.com -u /somefile.jsp > > HTTP ok: HTTP/1.1 200 ok - 5 second response time > > > > but I have not source of this plugin :( > > Well, I have this problem with all JSP files :( > > Can somebody help me ? > > Have you tried the full POSIX-style invocation? > > ./check_http -I www.someserver.com -H www.someserver.com \ > -u /somefile.jsp Wow ! :) With this style everything is ok. I don't know why but fact is the fact :) Tx -- AndY ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Mon Jun 16 14:16:16 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Mon, 16 Jun 2003 14:16:16 +0200 Subject: check_smtp problem References: <20030616045956.GA18251@daedalus.andrew.net.au> Message-ID: <00be01c33401$166f2420$c801007e@w80075c> hello, when i try to use check_smtp, the webmaster recieve: Mail Delivery System a ?crit : > Transcript of session follows. > > Out: 220 ESMTP Exchange > In: HELO nagios > Out: 250 scrih10.sipic.com > In: MAIL FROM: > Out: 501 Syntax: MAIL FROM:
> In: QUIT > Out: 221 Bye > > No message was collected successfully. Why FROM is not specified in this mail?? thanks a lot, sylvain ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.peissig at fms-media.com Mon Jun 16 14:25:40 2003 From: uwe.peissig at fms-media.com (uwe.peissig at fms-media.com) Date: Mon, 16 Jun 2003 14:25:40 +0200 Subject: nagios.cmd / external commands don`t work... Message-ID: hi there. i have the external commands option up and running. i can enable and disable everything without problems and i can see that the nagios.cmd - file is updated with my requests. ( i get the message "Your command request was successfully submitted to Nagios for processing." ) but the command isn`t actually processed - nothing happens with this command. I have everything configured like described in the manual (check_interval etc.) Any ideas ?? THX Uwe ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Mon Jun 16 14:56:25 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Mon, 16 Jun 2003 07:56:25 -0500 Subject: check_smtp problem Message-ID: What is the command line you are using? did you add a address to the command? [millerlw at pc9814 libexec]$ ./check_smtp -H scrih10.sipic.com -f Loser at ms.com -v FROMCMD: MAIL FROM: Loser at ms.com SMTP OK - 0 sec. response time, 220 ESMTP Exchange DUMMYCMD: MAIL FROM: Loser at ms.com 250 Ok h10.sipic.com >>> "Sylvain Padoan" 06/16/03 08:16AM >>> hello, when i try to use check_smtp, the webmaster recieve: Mail Delivery System a ?crit : > Transcript of session follows. > > Out: 220 ESMTP Exchange > In: HELO nagios > Out: 250 scrih10.sipic.com > In: MAIL FROM: > Out: 501 Syntax: MAIL FROM:
> In: QUIT > Out: 221 Bye > > No message was collected successfully. Why FROM is not specified in this mail?? thanks a lot, sylvain ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Mon Jun 16 15:04:56 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Mon, 16 Jun 2003 15:04:56 +0200 Subject: check_smtp problem References: Message-ID: <017601c33407$e2ecefe0$c801007e@w80075c> OK! thanks. evrything is good. sylvain ----- Original Message ----- From: "Leonard Miller" To: ; Sent: Monday, June 16, 2003 2:56 PM Subject: Re: [Nagios-users] check_smtp problem What is the command line you are using? did you add a address to the command? [millerlw at pc9814 libexec]$ ./check_smtp -H scrih10.sipic.com -f Loser at ms.com -v FROMCMD: MAIL FROM: Loser at ms.com SMTP OK - 0 sec. response time, 220 ESMTP Exchange DUMMYCMD: MAIL FROM: Loser at ms.com 250 Ok h10.sipic.com >>> "Sylvain Padoan" 06/16/03 08:16AM >>> hello, when i try to use check_smtp, the webmaster recieve: Mail Delivery System a ?crit : > Transcript of session follows. > > Out: 220 ESMTP Exchange > In: HELO nagios > Out: 250 scrih10.sipic.com > In: MAIL FROM: > Out: 501 Syntax: MAIL FROM:
> In: QUIT > Out: 221 Bye > > No message was collected successfully. Why FROM is not specified in this mail?? thanks a lot, sylvain ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at ftpb.com Mon Jun 16 15:47:25 2003 From: jjesse at ftpb.com (Jonathan Jesse) Date: Mon, 16 Jun 2003 09:47:25 -0400 Subject: New User to nagios, probably a simple question Message-ID: <2495C4CA32423F49ACB087C7A67B9729CA8C3D@mail.founderstrust.net> am a total newbie to nagios and have just installed it. I have read manual and can't figure out what I am doing. I start nagios with the command /usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg . Where do I go about configuring this? Did I miss something in the manual? Slackware 9.0 Installation with Apache setup with SSL mode Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Checked 4 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 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: 12 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data definitions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jun 16 16:13:24 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 16 Jun 2003 09:13:24 -0500 Subject: New User to nagios, probably a simple question In-Reply-To: <2495C4CA32423F49ACB087C7A67B9729CA8C3D@mail.founderstrust.net> References: <2495C4CA32423F49ACB087C7A67B9729CA8C3D@mail.founderstrust.net> Message-ID: <16109.53380.890746.115112@montanaro.dyndns.org> Jonathan> I have read manual and can't figure out what I am doing. I Jonathan> start nagios with the command /usr/local/nagios/bin/nagios -v Jonathan> /usr/local/nagios/bin/nagios.cfg . Where do I go about Jonathan> configuring this? Did I miss something in the manual? You edit the various .cfg files which will probably be in either /usr/local/nagios/etc or in the same directory as your nagios.cfg file. Choosing the first error mentioned in your post: Jonathan> Error: Dependent service specified in service dependency for service Jonathan> 'Website #2' on host 'nt1' is not defined anywhere! Note that "Website #2" is mentioned in dependencies.cfg-sample and "nt1" is mentioned in dependencies.cfg-sample, hostgroups.cfg-sample, hosts.cfg-sample and services.cfg-sample. Did you perhaps simply copy the .cfg-sample files to their .cfg counterparts? The .cfg-sample files are just that: samples. They demonstrate the syntax of the command language and show how the different files related to one another, but they almost certainly don't refer to actual hosts or services on your network. I suggest you start simple. copy hosts.cfg-sample to hosts.cfg and wipe out all the concrete host definitions (those without a "register 0" line) except the one for "nt1", then modify that one to match a machine actually on your network. Zero out dependencies.cfg. Modify hostgroups.cfg to have a single hostgroup which mentions the machine you defined in hosts.cfg. Then zero out services.cfg and add a single ping service for the machine mentioned in hosts.cfg. See if you can get that to work. To start with, ignore warnings and resolve errors one-by-one. (Once you get no errors it stops reporting warnings on the console, but they still show up in the log file.) Once you've got an error-free -v run, start Nagios and build from there, one service or one host at a time. After each little change, try another -v run to see if you've introduced new errors. I run Nagios manually using the provided daemon-init script and simply recall and execute sudo -u nagios ~nagios/bin/daemon-init reload when I want to check changes to my .cfg files. -- Skip Montanaro skip at pobox.com Check out Spambayes as a spam filter: http://spambayes.sf.net/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Mon Jun 16 16:29:16 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Mon, 16 Jun 2003 15:29:16 +0100 Subject: New User to nagios, probably a simple question Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137B3@jessica.herefordshire.gov.uk> I'd recommend the NagMin (http://nagmin.sf.net) WebMin module as a handy configuration tool for Nagios newbies. Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Jonathan Jesse [mailto:jjesse at ftpb.com] > Sent: 16 June 2003 14:47 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] New User to nagios, probably a simple > question > > > am a total newbie to nagios and have just installed it. I have read > manual and can't figure out what I am doing. I start nagios with the > command /usr/local/nagios/bin/nagios -v > /usr/local/nagios/bin/nagios.cfg . Where do I go about configuring > this? Did I miss something in the manual? > > > > Slackware 9.0 Installation with Apache setup with SSL mode > > > > > > Nagios 1.1 > > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > > Last Modified: 06-02-2003 > > License: GPL > > > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 38 services. > > Checking hosts... > > Checked 15 hosts. > > Checking host groups... > > Checked 6 host groups. > > Checking contacts... > > Checked 2 contacts. > > Checking contact groups... > > Checked 6 contact groups. > > Checking service escalations... > > Checked 2 service escalations. > > Checking host group escalations... > > Checked 2 host group escalations. > > Checking service dependencies... > > Error: Dependent service specified in service dependency for service > 'Website #2' on host 'nt1' is not defined anywhere! > > Error: Service specified in service dependency for service > 'Website #2' > on host 'nt1' is not defined anywhere! > > Error: Service dependency definition for service 'Website #2' on host > 'nt1' is circular (it depends on itself)! > > Error: Dependent service specified in service dependency for service > 'Website #2' on host 'nt1' is not defined anywhere! > > Error: Service specified in service dependency for service > 'Website #2' > on host 'nt1' is not defined anywhere! > > Error: Service dependency definition for service 'Website #2' on host > 'nt1' is circular (it depends on itself)! > > Error: Dependent service specified in service dependency for service > 'Website #1' on host 'nt1' is not defined anywhere! > > Error: Service specified in service dependency for service > 'Website #1' > on host 'nt1' is not defined anywhere! > > Error: Service dependency definition for service 'Website #1' on host > 'nt1' is circular (it depends on itself)! > > Error: Dependent service specified in service dependency for service > 'Website #1' on host 'nt1' is not defined anywhere! > > Error: Service specified in service dependency for service > 'Website #1' > on host 'nt1' is not defined anywhere! > > Error: Service dependency definition for service 'Website #1' on host > 'nt1' is circular (it depends on itself)! > > Checked 4 service dependencies. > > Checking host escalations... > > Checked 0 host escalations. > > Checking host dependencies... > > Checked 0 host dependencies. > > Checking commands... > > Checked 22 commands. > > Checking time periods... > > Checked 4 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: 12 > > > > ***> One or more problems was encountered while running the pre-flight > check... > > > > Check your configuration file(s) to ensure that they > contain valid > > directives and data definitions. If you are upgrading from a > previous > > version of Nagios, you should be aware that some > variables/definitions > > may have been removed or modified in this version. Make sure to > read > > the HTML documentation on the main and host config files, as well > as the > > 'Whats New' section to find out what has changed. > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Mon Jun 16 16:23:52 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Mon, 16 Jun 2003 10:23:52 -0400 Subject: check_http and *.jsp References: <1055752220.580.27.camel@andy> <1055761957.15968.12.camel@miles.debisschop.net> <1055763205.584.132.camel@andy> Message-ID: Here's my stab at it: It's probably a HTTP/1.0 vs. HTTP/1.1 issue. HTTP/1.1 requires a specific header (Host: ) to be sent by the client in order for the HTTP request to be valid. The plugin code does this: case 'H': /* Host Name (virtual host) */ asprintf (&host_name, "%s", optarg); break; then this: /* optionally send the host header info (not clear if it's usable) */ if (strcmp (host_name, "")) asprintf (&buf, "%sHost: %s\r\n", buf, host_name); So if you don't use the -H option, you can't succesfully talk to a HTTP/1.1 server. --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Andrzej Wisniewski" To: "Karl DeBisschop" Cc: "Nagios Users" Sent: Monday, June 16, 2003 7:33 AM Subject: Re: [Nagios-users] check_http and *.jsp > > > # ./check_http www.someserver.com -u /somefile.jsp > > > HTTP ok: HTTP/1.1 200 ok - 5 second response time > > > > > > but I have not source of this plugin :( > > > Well, I have this problem with all JSP files :( > > > Can somebody help me ? > > > > Have you tried the full POSIX-style invocation? > > > > ./check_http -I www.someserver.com -H www.someserver.com \ > > -u /somefile.jsp > > Wow ! :) > With this style everything is ok. I don't know why but fact is the fact :) > Tx > > -- > AndY > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonm at kelman.com Mon Jun 16 16:57:44 2003 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 16 Jun 2003 08:57:44 -0600 (MDT) Subject: FYI, nagios command file pipe may cause passive service corruption In-Reply-To: <20030614085718.B232@IPAustralia.Gov.AU> References: <20030614085718.B232@IPAustralia.Gov.AU> Message-ID: > You may be mistaken in the matter of interleaving with _high volumes_ of > messages input to the Nagios command file. > > Most of the texts (eg W R Stevens APUE p 446) state that provided each > process writes no more than PIPE_BUF per write, there will be no > interleaving, regardless of the input rate. Yes, Stanley's right. The term for this is 'atomic' writes, where the write is guaranteed to not be interleaved as long as it's within a certain size. It's 512 bytes on Linux and apparently *BSD, and 5120 on Solaris... This fact is supposed to _guarantee_ that no interleaving will occur on small-enough writes to the pipe, and after some pretty thorough diagnosis of another problem, I verified this to be quite true. I even bumped up the NSCA buffer sizes to about 1500 bytes so that NSCA can pass Nagios disk-status messages with filesystem mountpoints, megs free, and HTML markup so that critically full filesystems are in red, nearly-full ones are in yellow, etc. With just 453 bytes or whatever the default is, you can't mark up many filesystems before you overload that array... --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.ward at mapfusion.com Mon Jun 16 16:56:12 2003 From: ray.ward at mapfusion.com (Ray Ward) Date: Mon, 16 Jun 2003 10:56:12 -0400 Subject: statusmap.cgi none existent Message-ID: Hi, I have setup nagios v1.1 on a Solaris 8 box using apache. I have been able to configure everything successfully except the statusmap.cgi is none existent. Is there special configuration required to setup the status map? _______________________________ Ray Ward IT Technician MapFusion Technologies Inc. _______________________________ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francois at iecholden.com Mon Jun 16 17:11:57 2003 From: francois at iecholden.com (Francois Meehan) Date: Mon, 16 Jun 2003 11:11:57 -0400 Subject: How do I set up a check for BackupExec? In-Reply-To: References: Message-ID: <3EEDDE3D.6040509@iecholden.com> Spam Block wrote: > Has anybody set this up? > Done via SNMP I guess, but what to check? > > Fribse > I do it with snmp traps: First have a look at Nagios doc: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html Copied files be_ov.mib and bkupexec.mib (from the server that runs BackupExec) to my Nagios server mibs directory (/usr/share/snmp/mibs/ on Gentoo) Did put the following statments in snmptrapd.conf: # BackupExec job failed traphandle Backup-Exec-MIB::jobFailured /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 2 # BackupExec job cancelled traphandle Backup-Exec-MIB::jobAborted /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 1 # BackupExec job success traphandle Backup-Exec-MIB::jobSuccess /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 3 # BackupExec full back-up complete job success traphandle Backup-Exec-MIB::fullBackupComplete /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 3 # BackupExec job completed with warnings traphandle Backup-Exec-MIB::jobSuccessExcept /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 4 And modified a little, the batch file from the documentation as follows: # Get severity level (OK, WARNING, UNKNOWN, or CRITICAL) and plugin output based on trape type state=-1 output="No output" case "$1" in # failed to format tape - critical 1) output="Warning: Job Cancelled" state=1 ;; # failed to position tape - critical 2) output="Critical: Job Failed" state=2 ;; # backup success - ok 3) output="Ok: BackupExec backup operation successful" state=0 ;; # backup incomplete - warning 4) output="Warning: BackupExec backup operation incomplete" state=1 ;; esac # Submit passive check result to monitoring host /usr/nagios/libexec/eventhandlers/submit_check_result $hostname "Backup Exec" $state "$output" exit 0 Now you have to configure a Nagios service called "Backup Exec", configure your Back-up exec to send trap to the Nagios machine. That is "roughly" it... Francois ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.Muir at stortext.com Mon Jun 16 17:34:44 2003 From: Richard.Muir at stortext.com (Richard Muir (Ham)) Date: Mon, 16 Jun 2003 16:34:44 +0100 Subject: nagios.cmd permissions Message-ID: Installed Nagios v 1.0 and had everything working no problem Installed v1.1 last week and now cannot execute commands from the web interface due to permission problems. Have checked and have the following drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:31 . drwxrwxr-x 4 nagios nagios 4096 Jun 16 15:31 .. prw-rw---- 1 nagios nagiocmd 0 Jun 16 15:31 nagios.cmd Doing a chmod works BUT every time I restart nagios it resets the permissions back to whats above. Have restarted the web server, checked the groups all seem ok. Anyone else have this issue ? Richard Muir Systems Manager Stortext(UK) Limited phone: +44 (0) 1698 455 821 (reception) Caird Centre, phone: +44 (0) 1698 455 812 (direct) Caird Park, fax: +44 (0) 1698 455 858 Hamilton, ML3 0EU email: richard.muir at stortext.com Scotland www: > ----------------------------------------------- This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Stortext Group * does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Stortext Group * in this regard and the recipient should carry out such virus and other checks as it considers appropriate. * The Stortext Group of companies consists of Stortext Group Limited, Stortext UK Limited and Stortext Document Solutions Limited. ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From DTerrell at Delphi-Tech.com Mon Jun 16 17:43:49 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Mon, 16 Jun 2003 11:43:49 -0400 Subject: Nagios looping, causing hundreds of procs! Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB8D@NJ-2K-Email1.delphi-tech.com> No go again...something else goin on here, the other two boxes are fine but this one still has a problem. Everything is latest version, but after the weekend, I came in this morning to this: 11:42am up 27 days, 22:30, 1 user, load average: 0.17, 3.26, 6.93 820 processes: 819 sleeping, 1 running, 0 zombie, 0 stopped The one running process? Top...Nagios would be running but wasn't getting anything at the time. HELP!!! -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Friday, June 13, 2003 3:44 PM To: mpowell at ena.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! Ok, no change so far, I'm going to now try turning off the command_check_interval on the central? nagios box. /me crosses fingers. -Dave -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Friday, June 13, 2003 12:45 PM To: mpowell at ena.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! I'm doing ~40 checks per distributed host. They are fine, and the central server seems to handle the checks quickly enough (up until there are hundreds of nagios procs running!). I will attempt one thing at a time...first I've pushed the status_update_interval to 120 from 15 (default?). I should know shortly, at least by the end of the day if its helped. If not at that point I'll try the check_command_interval. The other suggestion, fixing the host-check-command...I'm using standard modules, like check_tcp etc, and I cannot pinpoint one particular service check that's actually causing another nagios to spawn. WE'll see Thanks, Dave -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, June 13, 2003 11:55 AM To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs! How many checks are you doing? Are they coming in faster than nagios can process them? How about your host-check-command? Remember that your central server will try to execute the host-check-command for any services that come in as critical. If it can't reach the device hosting the service you may need to change your host-check-command for that device on the central server. Additionally, try setting command_check_interval=-1 in nagios.cfg. You might also want to increase your status_update_interval (I've got mine set to 120 seconds). -- Marc > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Friday, June 13, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > > I'm having a problem with nagios, only recently, where nagios is starting > a > new nagios process every minute! I'm using a distributed setup with one > central and two distributed servers. Nagios seems to run fine up until I > kick on nsca, once the passive checks start coming in it'll kick off > another > nagios proc. After a day my box can be encumbered with just sleeping > procs! > > 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19 > 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped > > Any suggestions?! > > ________________________ > David A. Terrell > MIS Engineer > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jun 16 17:58:41 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Mon, 16 Jun 2003 17:58:41 +0200 Subject: Pretty icons in status map In-Reply-To: References: <20030616083033.GA26488@amit.hu> Message-ID: <20030616155841.GA28002@amit.hu> Dear Patrick, > When I unpacked those images they went in > $NAGIOSHOME/share/images/logos/base/... > Maybe that is your problem... thank you for your post - the solution of problem was not this: when i reconfigured nagios (before i recompiled) with '--with-template-extinfo' options, and - of course - recompiled, and reinstalled nagios daemon, the problem was solved. this tip was in README, under $SOURCE/sample-config/template-extinfo directory... :) i just post this mail to list also, if somebody gets this error, and maybe search in list-archive... :) thank you: air ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jun 16 18:12:10 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Mon, 16 Jun 2003 18:12:10 +0200 Subject: Too many "services" defined? Message-ID: <20030616161210.GA28047@amit.hu> Hello List, this is my new problem: i should set up Nagios, all of what i want. so, i started to fill the services section - i try to set up 2 services per host: one service just looks the host-alive state, and an other looks something else: for example: smtp, netbios, anything... i'm afraid, if there is more, than one service defined per host, (with cc 8 hosts), more cgi srcipts give me back the result with badly: there is no all services, or no all hosts. in status-map menu some host is unreacheable. the services or hosts are the lasts in services.cfg, or in hosts.cfg. when i put a refresh in browser, sometime the cgi gives me the correct result, but sometimes just also with error: service or hosts down... i hope, you understand my problem. can anybody help me? thank you: air ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jun 16 18:22:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 16 Jun 2003 11:22:10 -0500 Subject: check-host-alive vs check_ping Message-ID: <16109.61106.462440.418001@montanaro.dyndns.org> Is there any need to define ping services? It seems the check-host-alive command is sufficient for this particular purpose. Does Nagios execute the host's check_command and then only run service checks if that succeeds? -- Skip Montanaro skip at pobox.com Check out Spambayes as a spam filter: http://spambayes.sf.net/ ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:21:10 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 16 Jun 2003 11:21:10 -0500 Subject: Too many "services" defined? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E766A@mismail.ena.com> 2 things -- Try running nagios with '/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg'. That will verify your config files and let you know if there are any problems. You should have no difficulty adding multiple services per host (I have upwards of 15 defined for some). As far as the intermittent states in the web interface, it sounds like you've got multiple copies of nagios running. Stop nagios, verify that you don't have any additional processes running and restart nagios (after running the -v command above, of course). Hth. -- Marc > -----Original Message----- > From: Hegedus, Ervin [mailto:airween at amit.hu] > Sent: Monday, June 16, 2003 11:12 AM > To: nagios-users at lists.sourceforge.net > > Hello List, > > this is my new problem: > i should set up Nagios, all of what i want. > > so, i started to fill the services section - i try to set up 2 > services per host: one service just looks the host-alive state, > and an other looks something else: for example: smtp, netbios, > anything... > > i'm afraid, if there is more, than one service defined per host, > (with cc 8 hosts), more cgi srcipts give me back the result with > badly: there is no all services, or no all hosts. in status-map > menu some host is unreacheable. the services or hosts are the > lasts in services.cfg, or in hosts.cfg. > > when i put a refresh in browser, sometime the cgi gives me the > correct result, but sometimes just also with error: service or > hosts down... > > i hope, you understand my problem. > > can anybody help me? > > > thank you: > > air > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jun 16 18:25:35 2003 From: airween at amit.hu (=?iso-8859-1?Q?Heged=FCs?= Ervin) Date: Mon, 16 Jun 2003 18:25:35 +0200 Subject: Too many "services" defined? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E766A@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E766A@mismail.ena.com> Message-ID: <20030616162535.GA28098@amit.hu> Hello, thank you for quick reply. > Try running nagios with '/usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg'. That will verify your config files > and let you know if there are any problems. You should have no > difficulty adding multiple services per host (I have upwards of 15 > defined for some). monitor:~# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg . . Checking hosts... Warning: Host 'BISHOP' has no services associated with it! Warning: Host 'NIKEVPN01' has no services associated with it! Warning: Host 'SZDSZFW' has no services associated with it! Warning: Host 'TRANZITFW' has no services associated with it! . . Total Warnings: 4 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check > As far as the intermittent states in the web interface, it sounds like > you've got multiple copies of nagios running. Stop nagios, verify that > you don't have any additional processes running and restart nagios > (after running the -v command above, of course). you won :) monitor:~# ps ax | grep nagios 31331 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 1846 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 6735 pts/0 S 0:00 grep nagios at this time i can't access to my web interface - i try to look that tomorrow. thank you, i think it was a big help to me. air ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:32:46 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 16 Jun 2003 11:32:46 -0500 Subject: Too many "services" defined? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E766E@mismail.ena.com> > -----Original Message----- > From: Heged?s Ervin [mailto:airween at amit.hu] > Sent: Monday, June 16, 2003 11:26 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > Hello, [snip...] > monitor:~# /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > . > . > Checking hosts... > Warning: Host 'BISHOP' has no services associated with it! > Warning: Host 'NIKEVPN01' has no services associated with it! > Warning: Host 'SZDSZFW' has no services associated with it! > Warning: Host 'TRANZITFW' has no services associated with it! > . > . > > Total Warnings: 4 > Total Errors: 0 > > Things look okay - No serious problems were detected during the pre-flight > check [snip...] > at this time i can't access to my web interface - i try to look > that tomorrow. > I believe if you fix the above problems then you'll be fine. -- Marc ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:39:51 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 16 Jun 2003 11:39:51 -0500 Subject: nrpe on RedHat 9 Message-ID: Hi, I'm having a little difficulty getting nrpe to run on a RedHat 9 linux server using xinetd. I added this to /etc/xinetd.conf service nrpe { flags = REUSE log_on_failure += USERID socket_type = stream user = nagios group = nagios server = /etc/nrpe/nrpe server_args = -c /etc/nrpe/nrpe.cfg --inetd wait = no only_from = 192.168.100.2 } I also allowed 192.168.100.2 in /etc/hosts.allow For some reason nrpe doesn't show up when I ps -ax | grep nrpe... I think that's normal for xinetd services but I just wanted to make sure. One thing I noticed is that in /var/log/messages it says: Jun 16 11:34:24 zion nrpe[2413]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Jun 16 11:34:24 zion nrpe[2413]: Error: Could not complete SSL handshake. 1 each time the nagios server tries to connect to the client. I just ssh'd from the nagios client -> server, and from the server -> client, and told it to save the server fingerprint.. It still didn't fix it unfortunately. I'm at a loss as to how to set up the SSL handshake. Any clues? Thanks! Jeremy Martin ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:44:29 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 16 Jun 2003 11:44:29 -0500 Subject: nrpe on RedHat 9 Message-ID: Oops, I just noticed there is a separate README.SSL file... I'm updating my OpenSSL to 0.9.7a or higher as recommended. If there's more to it than just that I would still appreciate any hints. Thanks Jeremy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_leboutillier at hotmail.com Mon Jun 16 18:45:57 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Mon, 16 Jun 2003 12:45:57 -0400 Subject: check-host-alive vs check_ping References: <16109.61106.462440.418001@montanaro.dyndns.org> Message-ID: It's the other way around. Nagios executes the host check_command only if one of the service check fails. That's why in some case where you have no services on a device, you must use a "ping service" to actually get the device pinged on a regular basis. --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Skip Montanaro" To: Sent: Monday, June 16, 2003 12:22 PM Subject: [Nagios-users] check-host-alive vs check_ping > > Is there any need to define ping services? It seems the check-host-alive > command is sufficient for this particular purpose. Does Nagios execute the > host's check_command and then only run service checks if that succeeds? > > -- > Skip Montanaro > skip at pobox.com > Check out Spambayes as a spam filter: http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aleksey at loehmanns.com Mon Jun 16 18:49:10 2003 From: Aleksey at loehmanns.com (Aleksey Domorad) Date: Mon, 16 Jun 2003 12:49:10 -0400 Subject: nagios.cmd permissions Message-ID: <87273DB23407D511B8900008C7FA923301405E47@EXCHANGE> I had very same issue. Change your nagios.cfg to reflect following # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. nagios_group=apache Basically start nagios with apache group. Make sure that your apache config matches that group. -----Original Message----- From: Richard Muir (Ham) [mailto:Richard.Muir at stortext.com] Sent: Monday, June 16, 2003 11:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios.cmd permissions Installed Nagios v 1.0 and had everything working no problem Installed v1.1 last week and now cannot execute commands from the web interface due to permission problems. Have checked and have the following drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:31 . drwxrwxr-x 4 nagios nagios 4096 Jun 16 15:31 .. prw-rw---- 1 nagios nagiocmd 0 Jun 16 15:31 nagios.cmd Doing a chmod works BUT every time I restart nagios it resets the permissions back to whats above. Have restarted the web server, checked the groups all seem ok. Anyone else have this issue ? Richard Muir Systems Manager Stortext(UK) Limited phone: +44 (0) 1698 455 821 (reception) Caird Centre, phone: +44 (0) 1698 455 812 (direct) Caird Park, fax: +44 (0) 1698 455 858 Hamilton, ML3 0EU email: richard.muir at stortext.com Scotland www: > ----------------------------------------------- This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Stortext Group * does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Stortext Group * in this regard and the recipient should carry out such virus and other checks as it considers appropriate. * The Stortext Group of companies consists of Stortext Group Limited, Stortext UK Limited and Stortext Document Solutions Limited. ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikel at bridgeband.net Mon Jun 16 19:26:36 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Mon, 16 Jun 2003 11:26:36 -0600 Subject: nagios.cmd permissions In-Reply-To: <87273DB23407D511B8900008C7FA923301405E47@EXCHANGE> References: <87273DB23407D511B8900008C7FA923301405E47@EXCHANGE> Message-ID: <3EEDFDCC.2070304@bridgeband.net> I would suggest against doing this, but instead, verify that the httpd user (ie apache or nobody) is in the nagioscmd group. Also, have you restarted apache since you updated the cgi scripts? I'd give that a shot. Aleksey Domorad wrote: > I had very same issue. > Change your nagios.cfg to reflect following > > # NAGIOS GROUP > # This determines the effective group that Nagios should run as. > # You can either supply a group name or a GID. > > nagios_group=apache > > > Basically start nagios with apache group. > > Make sure that your apache config matches that group. > > > > -----Original Message----- > *From:* Richard Muir (Ham) [mailto:Richard.Muir at stortext.com] > *Sent:* Monday, June 16, 2003 11:35 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nagios.cmd permissions > > Installed Nagios v 1.0 and had everything working no problem > > > > Installed v1.1 last week and now cannot execute commands from the > web interface due to permission problems. > > > > Have checked and have the following > > drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:31 . > > drwxrwxr-x 4 nagios nagios 4096 Jun 16 15:31 .. > > prw-rw---- 1 nagios nagiocmd 0 Jun 16 15:31 nagios.cmd > > > > Doing a chmod works BUT every time I restart nagios it resets the > permissions back to whats above. > > > > Have restarted the web server, checked the groups all seem ok. > > > > Anyone else have this issue ? > > Richard Muir > Systems Manager > Stortext(UK) Limited phone: +44 (0) 1698 455 821 (reception) > Caird Centre, phone: +44 (0) 1698 455 812 (direct) > Caird Park, fax: +44 (0) 1698 455 858 > Hamilton, ML3 0EU email: richard.muir at stortext.com > Scotland www:_ _ > ----------------------------------------------- > This e-mail message is confidential and for use by the addressee > only. If the message is received by anyone other than the addressee, > please return the message to the sender by replying to it and then > delete the message from your computer. Internet e-mails are not > necessarily secure. The Stortext Group * does not accept > responsibility for changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the transmission > of viruses, it is the responsibility of the recipient to ensure that > the onward transmission, opening or use of this message and any > attachments will not adversely affect its systems or data. No > responsibility is accepted by The Stortext Group * in this regard > and the recipient should carry out such virus and other checks as it > considers appropriate. > > * The Stortext Group of companies consists of Stortext Group > Limited, Stortext UK Limited and Stortext Document Solutions Limited. > > ----------------------------------------------- > > > -- Mikel Bauer ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mp at xmission.com Mon Jun 16 19:33:28 2003 From: mp at xmission.com (Myke Place) Date: Mon, 16 Jun 2003 11:33:28 -0600 Subject: Many orphaned services Message-ID: <20030616173328.GB25311@xmission.com> Hello, Lately I've been seeing a large number of log entries that look like this: '06-16-2003 02:01:55] Warning: The check of service 'x' on host 'x' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service...' I currently have the maximum number of Nagios procs capped at 100, because setting the value any higher causes Nagios to keep spawning procs until the machine dies. We are monitoring ~125 machines and ~600 services, using the NRPE plugin for about %80 of the checks. Is the fact that the services are 'orphaned' casuing Nagios to keep spawning procs if set to higher than 100 max? Is a longer timeout for NRPE check advisable? (I'm currently using 10 seconds, which seems reasonable but perhaps not?) Primarily, I'm interested in knowing what can be done to correct his problem and if these error messages are something that I should be concerned about. I'd be happy to post any additional information that might help. TIA. -mp ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy at hq.newdream.net Mon Jun 16 21:37:47 2003 From: jeremy at hq.newdream.net (Jeremy Hanmer) Date: 16 Jun 2003 12:37:47 -0700 Subject: notification troubles Message-ID: <1055792267.3857.1.camel@localhost> I've had netsaint/nagios set up for about 2 years now, and am just starting to have some problems with it not delaying service and/or host notifications. The log file reports the command processing successfully, but we keep getting notifications when we shouldn't be. Here's the log excerpt: [1055545097] EXTERNAL COMMAND: DELAY_SVC_NOTIFICATION;sloth;raid;1055631497 I've got retention turned on for everything, but it seems to be either forgetting or ignoring the delays. Anybody have any ideas? Jeremy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 21:41:23 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 16 Jun 2003 14:41:23 -0500 Subject: nrpe on RedHat 9 Message-ID: By the way... It wasn't work with nrpe v2.x because I still had v1.5 of check_nrpe on my Nagios server. I can now get it to work ok if I run it as /etc/nrpe/nrpe -d /etc/nrpe/nrpe.cfg manually (I added it to /etc/rc.d/rc.local so its started automatically upon reboot)... but trying to run nrpe with -i instead of -d still causes "CHECK_NRPE: Error receiving data from host." errors. Ah well, at least it's working, somehow, now. Just saying all this for the record in case anyone runs into this in the future and bothers to search the archives... Jeremy ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Mon Jun 16 22:08:37 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Mon, 16 Jun 2003 14:08:37 -0600 Subject: nrpe on RedHat 9 In-Reply-To: References: Message-ID: <3EEE23C5.8020404@bridgeband.net> Jeremy, You might also want to make sure that if you are running it via xinetd (or trying to), that you either are specifying it as an unregistered service, or add the nrpe port to the services file. Martin, Jeremy wrote: > By the way... > > It wasn't work with nrpe v2.x because I still had v1.5 of check_nrpe on my Nagios server. > > I can now get it to work ok if I run it as /etc/nrpe/nrpe -d /etc/nrpe/nrpe.cfg manually (I added it to /etc/rc.d/rc.local so its started automatically upon reboot)... but trying to run nrpe with -i instead of -d still causes "CHECK_NRPE: Error receiving data from host." errors. Ah well, at least it's working, somehow, now. > > Just saying all this for the record in case anyone runs into this in the future and bothers to search the archives... > > Jeremy > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mikel Bauer ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Mon Jun 16 23:13:24 2003 From: mylists at ame.de (Matthias Eichler) Date: 16 Jun 2003 23:13:24 +0200 Subject: SOLVED Re: check_real on Network Appliance Caches In-Reply-To: References: Message-ID: <1055798004.2270.12.camel@blindzero.ame.loc> Hi Folx, sorry for replying so late... The check_real plugin works with the \r\n as well on RealServers, but there I saw some other difference between some "old" version of the check_real plugin and the version of 1.3.0 With the new I always have to check some URL with -u, because without the -u option I get "404 not found" (thats ok, RealServer dont have directory indexing). The old version could check tje general availability of the real service without the -u option. Did this change in the past? I think the "old" version was better, because -u was just optional not mandatory, as I do not always know which content lies on the server... Matthias Am Fre, 2003-06-06 um 19.36 schrieb Subhendu Ghosh: > Does check_real w/ the \r\n patch work against Real servers as well? > > -sg > > On 6 Jun 2003, Matthias Eichler wrote: > > > Hi Everybody, > > > > with some help I got it solved...the problem is, that NetCaches need > > some \r\n as newline, the check_real has just \n in it's code. > > So for everybody who wants to check RTSP on Network Appliance Caches: > > just edit the code to \r\n. > > > > I will also commit some "check_netcache" Plugin... > > > > Greetings, > > > > Matthias > > > > Am Fre, 2003-06-06 um 16.00 schrieb Matthias Eichler: > > > Hi Everybody, > > > > > > I want to set up some monitoring environment of some streaming media > > > infrastructure and I am experiencing some problems with check_real in > > > combination with Network Appliance NetCaches. > > > > > > ./check_real -H realnetworks-server -u /farm/*/encoder/directory/file.rm > > > works fine and brings an OK state. > > > > > > ./check_real -H netcache -u /farm/*/encoder/directory/file.rm > > > does always bring up some message: > > > ---cut--- > > > SET_PARAMETER * RTSP/1.0 > > > ---cut--- > > > Unfortunately this messages is always printed out, although I am > > > checking for some non-existing file... > > > > > > Does anybody has some experience with monitoring Network Appliance > > > Caches?!? > > > > > > Thanks, > > > > > > Matthias > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 23:23:42 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 16 Jun 2003 16:23:42 -0500 Subject: nrpe on RedHat 9 Message-ID: > You might also want to make sure that if you are running it > via xinetd > (or trying to), that you either are specifying it as an unregistered > service, or add the nrpe port to the services file. I did add it to the service file. Does an xinetd restart reload the service file or do you have to do something more to reload it? Cheers Jeremy ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcarr at somanetworks.com Mon Jun 16 23:32:10 2003 From: tcarr at somanetworks.com (Tim Carr) Date: 16 Jun 2003 17:32:10 -0400 Subject: Multi-level service dependencies... not working Message-ID: <1055799130.820.29.camel@kamikiriad> Howdy. In my setup i'm running Nagios 1.0.0, and I have only one host (the same one that Nagios runs on), so no host dependencies. I have a multi-level service dependency tree, eg. A B C D E F G (read as D "depends-upon" B, B "depends-upon" A, and also G "depends-upon" A etc). Now I know (from the documentation, which yes i've read many times) that Nagios' service-dependency definitions are NOT recursive, ie if I say that G depends upon C and C upon A, this does NOT imply G depends upon A. So I get around this (in this example) by writing two rules: 1. G depends upon C 2. G depends upon A Nowhere in the documentation does it say that this (having multiple "parents" if you will) is not allowed/possible, so I presume it's OK. Yes, I have a lot of rules because my tree is quite large. What concerns me most is that this ISN'T "working". Now let me define what I mean by "working": I want it to work so that when A is in a critical or unknown state, G is not checked/monitored (and therefore G's eventhandler is not called). I want this to be true at Nagios' startup (I have retain_state_information=0 in my nagios.cfg), and during normal operation. Here's the actual erroneous situation I have encountered: 1. Nagios starts up, using above dependency tree (in dependencies.cfg). I have engineered it so that all of the services are UP, except for A and G which are both "down" (will return CRITICAL when monitored) 2. Nagios erroneously monitors G first, and calls G's eventhandler. Not good! I want it to not check G until A is verified as OK! All of my dependencies configured in dependencies.cfg have the line: execution_failure_criteria u,c So, I think what i'm doing is both valid and supposed-to-work. All help is very much appreciated ! :) Thanks, Tim Carr ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Mon Jun 16 23:35:44 2003 From: mylists at ame.de (Matthias Eichler) Date: 16 Jun 2003 23:35:44 +0200 Subject: SV: check_real: what does it really do? and is it enough? In-Reply-To: <6A72D51571C7C348906310222963B23D01376E30@TMS031MB.tcad.telia.se> References: <6A72D51571C7C348906310222963B23D01376E30@TMS031MB.tcad.telia.se> Message-ID: <1055799343.2335.23.camel@blindzero.ame.loc> A bit late, but here come my $0.01, some general ideas and questions, as I am looking for some WMV-monitoring, too...:-) Sure, MMS is closed source and maybe therefore we have some problems together with nagios-plugins (what does GPL say about something like this?!?), BUT: - there are "open-source"-apps like the genius mplayer which takes the windows codec.exe and can play WMV and WMA streams perfectly - there are several WindowsMedia SDK packages for developing stuff Now my ideas: - If mplayer is able to stream WM on a linux box, why is it "impossible" to implement in some check_wmt? - If it is not possible (by license) to implement the whole transport protocol as it is closed source, why not implementing the transport library or something like this and not re-inventing it, just using it? - If all these ideas were suxx, there is a possibility to remote admin and monitor the WMserver of some code which is distributed by the WM SDK's, so some check_wmt plugin would not really check the stream itself, but contact the server and control the status information of the server itself?!? What do you think?!? Matthias Am Fre, 2003-04-18 um 09.54 schrieb Magnus.M.Glantz at telia.se: > My $0.05. > $USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$ > > It checks that you can make a TCP connection to the Windows Media Streaming server. > > I think that writing a decent plug-in for Windows Media would be very difficult, cause the MMS protocoll is 'closed' and heavily copywrited. > > I guess that if someone managed to write a plug-in and implement the protocoll, it couldnt not be published without payin' some heavy dues to Microsoft, and that plug-in could not be OpenSource. > > I guess that if someone figured out what to send and what to expect as answere, you could use the check_tcp plugin -s and/or -e switches.. > > Cheers, > //Magnus Glantz > > -----Ursprungligt meddelande----- > Fr?n: David Gitman [mailto:David at feedroom.com] > Skickat: to 2003-04-17 17:02 > Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 22 > Kopia: nagios-users at lists.sourceforge.net > ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? > > > > Has anyone written a plug-in for Windows Media 9 Streaming? > > [-d] > > -----Original Message----- > From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] > Sent: Tuesday, April 15, 2003 7:01 PM > To: David Gitman > Cc: nagios-users at lists.sourceforge.net > > Well, I'm drawing the conclusion after talking with some streaming specialists that sending a DESCRIBE method to the streaming server should do the trick. > > A successful try indicates that you got a two-way connection to/from the server, the file you're searching for (on, for example an ondemand server) exists, and the server can send you a description of the file. > > The people I've talked to cannot see any problems that should hinder an actual stream from taking place after the server successfully answered to the DESCRIBE method. > > Though, I'm still doing some research on this. I'll prolly know in acouple of days, should this not be the case. > > I'll send a mail to the list, when I know more. :-) > > Cheers, > //Magnus Glantz > > > -----Ursprungligt meddelande----- > Fr?n: David Gitman [mailto:David at feedroom.com] > Skickat: ti 2003-04-15 19:45 > Till: Magnus Glantz > Kopia: > ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? > > > > Have you found out anything? > > > > [-d] > > > _____ > > > From: Magnus Glantz [mailto:magnus at hacka.net] > Sent: Friday, April 11, 2003 2:33 PM > To: nagios-users at lists.sourceforge.net > > > > I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? > > > > I dumped the conversation (tcpdump -X) while doing: > > ./check_real -H host -u /url/file.rm > > > > I'm not 100% sure what happens.. > > Though.. I've been able to understand some stuff.. > > > > ( I've had some help interpeting the packets from the RTSP RFC. > > http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) > > > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT > 0x0050 5350 SP > > > > Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) > > > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t > 0x0050 692f i/ > > > > Above.. check_real asks the real-server of a description of the file. > > > > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth > 0x0050 3d31 =1 > > > > After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. > > > > Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? > > The author of the plug-in writes in his source code (check_real.c). > > ----------------snip------------- > > /* Part II - Check stream exists and is ok */ > if ((result == STATE_OK) && (server_url != NULL)) { > > > > /* Part I - Server Check */ > > > > /* send the OPTIONS request */ > sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, > server_port, server_url); > result = send (sd, buffer, strlen (buffer), 0); > > > > /* send the header sync */ > sprintf (buffer, "CSeq: 2\n"); > result = send (sd, buffer, strlen (buffer), 0); > > > > /* send a newline so the server knows we're done with the request */ > sprintf (buffer, "\n"); > result = send (sd, buffer, strlen (buffer), 0); > ----------------snip------------- > > > > DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. > > But I could be wrong.. please check for yourselfs. > > > > An actual stream is from what I can tell, not initialized.. > > Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should > > be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. > > > > > > Full dump of "check_real -H hostname -u /url/file.rm" below.. > > > > Hope you can shed some light upon this.. > > Cheers, > > //Magnus Glantz > > > > > > > > 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) > 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... > 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... > 0x0030 1185 106e 0000 0000 0103 0300 ...n........ > > > > 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) > 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... > 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. > 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) > 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 .LO. > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT > 0x0050 5350 SP > > > > 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) > 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ > 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. > 0x0030 1185 1070 ...p > > > > 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) > 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... > 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s > 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. > > > > 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) > 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I > 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. > 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da > 0x0050 7465 te > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) > 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w > 0x0030 a54c 4fd9 .LO. > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t > 0x0050 692f i/ > > > > 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) > 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... > 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. > 0x0030 1185 1077 ...w > > > > 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) > 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! > 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ > 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. > > > > 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... > 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. > 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da > 0x0050 7465 te > > > > 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) > 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... > 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... > 0x0030 a54c 4fed .LO. > > > > 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... > 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. > 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim > 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av > 0x0050 6742 gB > > > > 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... > 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 > 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE > 0x0050 6e64 nd > > > > 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth > 0x0050 3d31 =1 > > > > 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Jun 16 23:51:10 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 16 Jun 2003 16:51:10 -0500 Subject: nrpe on RedHat 9 Message-ID: Two things: 1) Make sure you have nrpe defined for tcp port 5666 in your /etc/services file 2) It appears the version of NRPE you have installed on your client is different from the version you have installed on your server. Make sure they're the same. jc > -----Original Message----- > From: Martin, Jeremy [mailto:jmartin at gsi-kc.com] > Sent: Monday, June 16, 2003 11:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe on RedHat 9 > > > Hi, > > I'm having a little difficulty getting nrpe to run on a > RedHat 9 linux server using xinetd. > > I added this to /etc/xinetd.conf > > service nrpe > { > flags = REUSE > log_on_failure += USERID > socket_type = stream > user = nagios > group = nagios > server = /etc/nrpe/nrpe > server_args = -c /etc/nrpe/nrpe.cfg --inetd > wait = no > only_from = 192.168.100.2 > } > > I also allowed 192.168.100.2 in /etc/hosts.allow > > For some reason nrpe doesn't show up when I ps -ax | grep > nrpe... I think that's normal for xinetd services but I just > wanted to make sure. > > One thing I noticed is that in /var/log/messages it says: > > Jun 16 11:34:24 zion nrpe[2413]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Jun 16 11:34:24 zion nrpe[2413]: Error: Could not complete > SSL handshake. 1 > > each time the nagios server tries to connect to the client. I > just ssh'd from the nagios client -> server, and from the > server -> client, and told it to save the server > fingerprint.. It still didn't fix it unfortunately. I'm at a > loss as to how to set up the SSL handshake. Any clues? > > Thanks! > Jeremy Martin > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Mon Jun 16 23:52:35 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 16 Jun 2003 16:52:35 -0500 Subject: nrpe return codes Message-ID: <1055800354.29116.47.camel@tux.its.uiowa.edu> I've got a system that has a load of 9, the output says critical in check_load, when I run check_load on the command line the return code is 2, but yet when I execute: check_nrpe!check_load in the host config file, the status says OK. It's alsmost like it's ignorning the return code. Anyone else seen this? Dan -- =========================== Daniel Wittenberg Senior Unix Admin University of Iowa - ITS ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 02:12:34 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 17 Jun 2003 10:12:34 +1000 Subject: Multi-level service dependencies... not working In-Reply-To: <1055799130.820.29.camel@kamikiriad>; from tcarr@somanetworks.com on Mon, Jun 16, 2003 at 05:32:10PM -0400 References: <1055799130.820.29.camel@kamikiriad> Message-ID: <20030617101228.A241@IPAustralia.Gov.AU> Dear Sir, FWIW, I think I have seen the same problem with single level dependencies: if the service that depends on the other is checked first, it doesn't matter what the state of the dependency is. It only seems to work (for me) when the dependency is actually in a hard state. If this is the case, in your example, were you to make G depend directly on A, I think you would see the same results as you see already. All I can suggest is . check to see if there is a dependency debug option in configure. Otherwise, enable service checking debugging and you may see service checks scheduled regardless of the state of the dependency (if the dependency is not in a hard critical state) . post a problem report if that is the case. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbruna at linuxvalpo.cl Tue Jun 17 04:51:35 2003 From: pbruna at linuxvalpo.cl (xpato) Date: Mon, 16 Jun 2003 22:51:35 -0400 Subject: check_nrpe on checkcommands.cfg Message-ID: <200306162251.35150.pbruna@linuxvalpo.cl> how the lines goes i have this in checkcommands.cfg: "define command{ command_name check_nrpe command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ } " and this on services.cfg: " define service{ use generic-service host_name casablanca service_description Free Space is_volatile 0 check_period 24x7 max_check_attempts 8 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } " when i excute in the shell this: "./check_nrpe -H www.e-casablanca.cl -c check_disk1" it works ok but the web interface dont work, any ideas? ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Tue Jun 17 08:42:07 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Tue, 17 Jun 2003 08:42:07 +0200 Subject: Too many "services" defined? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E766E@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E766E@mismail.ena.com> Message-ID: <20030617064207.GA29429@amit.hu> Hello, > I believe if you fix the above problems then you'll be fine. yes, you all right - thank you. :) air ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 08:41:00 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 17 Jun 2003 08:41:00 +0200 Subject: Multi-level service dependencies... not working In-Reply-To: <20030617101228.A241@IPAustralia.Gov.AU> References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> Message-ID: <3EEEB7FC.6020402@dhl.com> Gentlemen, I hope I can be the bringer of good news. I had the same problem back in the Netsaint days. The issue is indeed what mister Hopcroft is referring to: service dependencies only seem to work when the service is in a hard state. However, there is a setting you can add to your nagios.cfg: soft_state_dependencies=1 This should solve your problems as Nagios will now act upon soft service states as well. It worked for me. Hope this works out for you. Tom Stanley Hopcroft wrote: > Dear Sir, > > FWIW, I think I have seen the same problem with single level > dependencies: if the service that depends on the other is checked first, > it doesn't matter what the state of the dependency is. > > It only seems to work (for me) when the dependency is actually in a hard > state. > > If this is the case, in your example, were you to make G depend directly > on A, I think you would see the same results as you see already. > > All I can suggest is > > . check to see if there is a dependency debug option in > configure. Otherwise, enable service checking debugging and you may see > service checks scheduled regardless of the state of the dependency (if > the dependency is not in a hard critical state) > > . post a problem report if that is the case. > > 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 09:16:30 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 17 Jun 2003 17:16:30 +1000 Subject: Multi-level service dependencies... not working In-Reply-To: <3EEEB7FC.6020402@dhl.com>; from Tom.DeBlende@dhl.com on Tue, Jun 17, 2003 at 08:41:00AM +0200 References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> <3EEEB7FC.6020402@dhl.com> Message-ID: <20030617171626.D3114@IPAustralia.Gov.AU> Dear Sir, On Tue, Jun 17, 2003 at 08:41:00AM +0200, Tom DE BLENDE wrote: > Gentlemen, > > I hope I can be the bringer of good news. I had the same problem back > in the Netsaint days. The issue is indeed what mister Hopcroft is > referring to: service dependencies only seem to work when the service > is in a hard state. > > However, there is a setting you can add to your nagios.cfg: > > soft_state_dependencies=1 > > This should solve your problems as Nagios will now act upon soft > service states as well. It worked for me. > > Hope this works out for you. > > Tom > Unfortunately, it _may_ not work. tsitc> grep -i depend /usr/local/nagios/etc/nagios.cfg # Set 'soft_state_dependencies' option for _via_provider checks (these depend # should not give false positives if the dependencies are in soft states). cfg_file=/usr/local/nagios/etc/dependencies.cfg # SOFT SERVICE DEPENDENCIES # This option determines whether or not Nagios will use soft service state information when checking service dependencies. # Normally Nagios will only use the latest hard service state when checking dependencies. soft_state_dependencies=1 tsitc> Even with this set, the boundary case is for A <= B (service A relies on B; B is a dependency): if B has failed but has not been checked and therefore detected as failed - whether a hard or soft failure, then the service check of A will be handled as it would if there were _no_ dependency. Other than a test bench set up, it is is not clear to me how to proceed furher. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 09:30:00 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 17 Jun 2003 09:30:00 +0200 Subject: Multi-level service dependencies... not working In-Reply-To: <20030617171626.D3114@IPAustralia.Gov.AU> References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> <3EEEB7FC.6020402@dhl.com> <20030617171626.D3114@IPAustralia.Gov.AU> Message-ID: <3EEEC378.6030406@dhl.com> Stanley Hopcroft wrote: > Even with this set, the boundary case is for A <= B (service A relies on > B; B is a dependency): if B has failed but has not been checked and > therefore detected as failed - whether a hard or soft failure, then the > service check of A will be handled as it would if there were _no_ > dependency. If this is the case, then it is really a design issue. Service dependencies should then be implemented in a similar way host checks are done now. If service A fails and is dependent service B, a check of service B should be forced immediately... At least, that's how I see it... Maybe something to suggest to our guru? ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Magnus.Glantz at teliasonera.com Tue Jun 17 09:37:08 2003 From: Magnus.Glantz at teliasonera.com (Magnus.Glantz at teliasonera.com) Date: Tue, 17 Jun 2003 09:37:08 +0200 Subject: SV: SV: check_real: what does it really do? and isit enough? Message-ID: <6A72D51571C7C348906310222963B23D01376EA2@TMS031MB.tcad.telia.se> I agree that if open-source apps like mplayer can implement wmv and wma streaming, then a nagios plugin can aswell. I guess one could check out the legal stuff around mplayer and see if you can borrow some ideas. I'm no wiz coder so it would be very nice to be able to borrow the actual streaming implementation. //Magnus Glantz -----Ursprungligt meddelande----- Fr?n: Matthias Eichler [mailto:mylists at ame.de] Skickat: den 16 juni 2003 23:36 Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 22 Kopia: David at feedroom.com; nagios-users at lists.sourceforge.net ?mne: Re: SV: [Nagios-users] check_real: what does it really do? and isit enough? A bit late, but here come my $0.01, some general ideas and questions, as I am looking for some WMV-monitoring, too...:-) Sure, MMS is closed source and maybe therefore we have some problems together with nagios-plugins (what does GPL say about something like this?!?), BUT: - there are "open-source"-apps like the genius mplayer which takes the windows codec.exe and can play WMV and WMA streams perfectly - there are several WindowsMedia SDK packages for developing stuff Now my ideas: - If mplayer is able to stream WM on a linux box, why is it "impossible" to implement in some check_wmt? - If it is not possible (by license) to implement the whole transport protocol as it is closed source, why not implementing the transport library or something like this and not re-inventing it, just using it? - If all these ideas were suxx, there is a possibility to remote admin and monitor the WMserver of some code which is distributed by the WM SDK's, so some check_wmt plugin would not really check the stream itself, but contact the server and control the status information of the server itself?!? What do you think?!? Matthias Am Fre, 2003-04-18 um 09.54 schrieb Magnus.M.Glantz at telia.se: > My $0.05. > $USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$ > > It checks that you can make a TCP connection to the Windows Media Streaming server. > > I think that writing a decent plug-in for Windows Media would be very difficult, cause the MMS protocoll is 'closed' and heavily copywrited. > > I guess that if someone managed to write a plug-in and implement the protocoll, it couldnt not be published without payin' some heavy dues to Microsoft, and that plug-in could not be OpenSource. > > I guess that if someone figured out what to send and what to expect as answere, you could use the check_tcp plugin -s and/or -e switches.. > > Cheers, > //Magnus Glantz > > -----Ursprungligt meddelande----- > Fr?n: David Gitman [mailto:David at feedroom.com] > Skickat: to 2003-04-17 17:02 > Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 22 > Kopia: nagios-users at lists.sourceforge.net > ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? > > > > Has anyone written a plug-in for Windows Media 9 Streaming? > > [-d] > > -----Original Message----- > From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] > Sent: Tuesday, April 15, 2003 7:01 PM > To: David Gitman > Cc: nagios-users at lists.sourceforge.net > > Well, I'm drawing the conclusion after talking with some streaming specialists that sending a DESCRIBE method to the streaming server should do the trick. > > A successful try indicates that you got a two-way connection to/from the server, the file you're searching for (on, for example an ondemand server) exists, and the server can send you a description of the file. > > The people I've talked to cannot see any problems that should hinder an actual stream from taking place after the server successfully answered to the DESCRIBE method. > > Though, I'm still doing some research on this. I'll prolly know in acouple of days, should this not be the case. > > I'll send a mail to the list, when I know more. :-) > > Cheers, > //Magnus Glantz > > > -----Ursprungligt meddelande----- > Fr?n: David Gitman [mailto:David at feedroom.com] > Skickat: ti 2003-04-15 19:45 > Till: Magnus Glantz > Kopia: > ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? > > > > Have you found out anything? > > > > [-d] > > > _____ > > > From: Magnus Glantz [mailto:magnus at hacka.net] > Sent: Friday, April 11, 2003 2:33 PM > To: nagios-users at lists.sourceforge.net > > > > I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? > > > > I dumped the conversation (tcpdump -X) while doing: > > ./check_real -H host -u /url/file.rm > > > > I'm not 100% sure what happens.. > > Though.. I've been able to understand some stuff.. > > > > ( I've had some help interpeting the packets from the RTSP RFC. > > http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) > > > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT > 0x0050 5350 SP > > > > Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) > > > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t > 0x0050 692f i/ > > > > Above.. check_real asks the real-server of a description of the file. > > > > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth > 0x0050 3d31 =1 > > > > After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. > > > > Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? > > The author of the plug-in writes in his source code (check_real.c). > > ----------------snip------------- > > /* Part II - Check stream exists and is ok */ > if ((result == STATE_OK) && (server_url != NULL)) { > > > > /* Part I - Server Check */ > > > > /* send the OPTIONS request */ > sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, > server_port, server_url); > result = send (sd, buffer, strlen (buffer), 0); > > > > /* send the header sync */ > sprintf (buffer, "CSeq: 2\n"); > result = send (sd, buffer, strlen (buffer), 0); > > > > /* send a newline so the server knows we're done with the request */ > sprintf (buffer, "\n"); > result = send (sd, buffer, strlen (buffer), 0); > ----------------snip------------- > > > > DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. > > But I could be wrong.. please check for yourselfs. > > > > An actual stream is from what I can tell, not initialized.. > > Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should > > be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. > > > > > > Full dump of "check_real -H hostname -u /url/file.rm" below.. > > > > Hope you can shed some light upon this.. > > Cheers, > > //Magnus Glantz > > > > > > > > 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) > 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... > 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... > 0x0030 1185 106e 0000 0000 0103 0300 ...n........ > > > > 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) > 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... > 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. > 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) > 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 .LO. > > > > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT > 0x0050 5350 SP > > > > 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) > 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ > 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. > 0x0030 1185 1070 ...p > > > > 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) > 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... > 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s > 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. > > > > 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) > 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I > 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. > 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da > 0x0050 7465 te > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) > 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w > 0x0030 a54c 4fd9 .LO. > > > > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t > 0x0050 692f i/ > > > > 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) > 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... > 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. > 0x0030 1185 1077 ...w > > > > 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) > 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! > 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ > 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. > > > > 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... > 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. > 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da > 0x0050 7465 te > > > > 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) > 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... > 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... > 0x0030 a54c 4fed .LO. > > > > 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... > 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. > 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim > 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av > 0x0050 6742 gB > > > > 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) > 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... > 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 > 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE > 0x0050 6e64 nd > > > > 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth > 0x0050 3d31 =1 > > > > 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... > 0x0020 5004 0000 cd0d 0000 P....... > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nils_mueller at hotmail.com Tue Jun 17 12:26:52 2003 From: nils_mueller at hotmail.com (solkan) Date: 17 Jun 2003 10:26:52 -0000 Subject: Monitoring specific process? Message-ID: <20030617102652.1625.qmail@pod-163.dolphin-server.co.uk> Hello, i'd like nagios to check for a specific process is running on a remote host. In this particular case for crond. How could this be accomplished? ./check_procs xxx.xxx.com -w 0 -c 0 -C crond /- a crond always returns: OK - 0 processes running with command name crond I'd like to see a warning if this process is not running. Any ideas? Kind regards ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stlscott at yahoo.com Tue Jun 17 12:35:47 2003 From: stlscott at yahoo.com (stlscott) Date: 17 Jun 2003 10:35:47 -0000 Subject: Statusmap.cgi Message-ID: <20030617103547.3624.qmail@pod-163.dolphin-server.co.uk> OH yeah... And if I try to PICO the statusmap.cgi - it's garbage, so I assume it's a compiled or encrypted.. Scott ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stlscott at yahoo.com Tue Jun 17 12:34:22 2003 From: stlscott at yahoo.com (stlscott) Date: 17 Jun 2003 10:34:22 -0000 Subject: Statusmap.cgi In-Reply-To: <20030605073753.17533.qmail@pod-163.dolphin-server.co.uk> References: <20030605073753.17533.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030617103422.3378.qmail@pod-163.dolphin-server.co.uk> I'm having similiar troubles... however, I installed GD, png, jpeg libs beforehand and configure found everything fine (no errors on those items)... So, there's a statusmap.cgi in my SBIN folder, but... I get this error message: Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: statusmap.cgi If you think this is a server error, please contact the webmaster Error 500 HELP! THanks. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Fernandez at mci.com Tue Jun 17 13:06:46 2003 From: Terry.Fernandez at mci.com (Terry) Date: 17 Jun 2003 11:06:46 -0000 Subject: Statusmap.cgi In-Reply-To: <20030617103547.3624.qmail@pod-163.dolphin-server.co.uk> References: <20030617103547.3624.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030617110646.9564.qmail@pod-163.dolphin-server.co.uk> I got it going here is a step by step using v1.1. 1) Installed OS Redhat 8.0 with all the sources and nothing else. 2) Installed zlib library 3) Installed libpng library 3) Installed GD library (2,3 and 4 were needed for the trending and statusmap graphics) 4) Installed mysql 4.1 5) Installed Apache 2.x 6) Installed PHP 4.3.x 7) Installed Nagios Installed plugins 9) Installed imagepacks 10) configured the whole enchilada. You dont need item 4. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwaterho at sgi.com Tue Jun 17 13:43:17 2003 From: mwaterho at sgi.com (Mark Waterhouse) Date: Tue, 17 Jun 2003 12:43:17 +0100 Subject: Upgrade to 1.1 - max length 63 characters Message-ID: Hi My services.cfg file was beginning to grow very large and so I decided to employ some of the tricks as detailed at http://nagios.sourceforge.net/docs/1_0/templatetricks.html#hostgroup Basically, all hosts in one hostgroup can be checked for the same service at the same time. Now, this seemed like a good idea but gave me strange errors. I therefore decided to upgrade to version 1.1 However, there seems to be a hard limit set on the length of the hostname when nagios does its preflight checks. The relevant configs are as follows; services.cfg ============ default service{ service_description Description to be added contact_groups nagios-admin service_description Check Ping Status check_command check_ping!500!1000 name service_template register 0 } define service{ hostgroup_name MailServers contact_groups nagios-admin use service_template } hostgroups.cfg ============== define hostgroup{ hostgroup_name MailServers alias All Mail Servers contact_groups nagios-admin members a list of 21 mail servers with a FQDN } When I run 'nagios -v ../etc/nagios.cfg', I get the following output Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Host name ' List of all mail servers ' for service 'Check Ping Status' exceeds maximum length of 63 characters Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 11) ***> One or more problems was encountered while processing the config files... I suspect that this is a coded limit and wondered if someone could post a diff to remove it. Thanks Mark ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 14:11:21 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 17 Jun 2003 22:11:21 +1000 Subject: Upgrade to 1.1 - max length 63 characters In-Reply-To: ; from mwaterho@sgi.com on Tue, Jun 17, 2003 at 12:43:17PM +0100 References: Message-ID: <20030617221117.D226@IPAustralia.Gov.AU> Dear Sir, Here's what you want to clobber objects.h:#define MAX_HOSTNAME_LENGTH 64 /* max. host name length */ in common/ HTH, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcarr at somanetworks.com Tue Jun 17 15:29:12 2003 From: tcarr at somanetworks.com (Tim Carr) Date: 17 Jun 2003 09:29:12 -0400 Subject: Multi-level service dependencies... not working In-Reply-To: <3EEEC378.6030406@dhl.com> References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> <3EEEB7FC.6020402@dhl.com> <20030617171626.D3114@IPAustralia.Gov.AU> <3EEEC378.6030406@dhl.com> Message-ID: <1055856554.1511.41.camel@kamikiriad> Oh dear. I had thought this was quite possible given the current revision of Nagios; now i'm responsible for having Nagios implemented here where I work, and i'm going to bite a nice silver bullet if it turns out this dependency issue can't be fixed :( > If service A fails and is dependent service B, a check > of service B should be forced immediately... At least, that's how I > see it... Maybe something to suggest to our guru? Is there no way to do as he has suggested above? Many thanks, Tim Carr ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 15:34:18 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 17 Jun 2003 15:34:18 +0200 Subject: Multi-level service dependencies... not working In-Reply-To: <1055856554.1511.41.camel@kamikiriad> References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> <3EEEB7FC.6020402@dhl.com> <20030617171626.D3114@IPAustralia.Gov.AU> <3EEEC378.6030406@dhl.com> <1055856554.1511.41.camel@kamikiriad> Message-ID: <3EEF18DA.4040208@dhl.com> I must say that the setting I mentioned earlier has never let me down before. I guess that if you set your check interval of the service you are depending on small enough, you should be fine. But it might be best to take this up with Ethan or anyone else who can shed some light... Tim Carr wrote: > Oh dear. > > I had thought this was quite possible given the current revision of > Nagios; now i'm responsible for having Nagios implemented here where I > work, and i'm going to bite a nice silver bullet if it turns out this > dependency issue can't be fixed :( > > >>If service A fails and is dependent service B, a check >>of service B should be forced immediately... At least, that's how I >>see it... Maybe something to suggest to our guru? > > > Is there no way to do as he has suggested above? > > > Many thanks, > > Tim Carr > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.Muir at stortext.com Tue Jun 17 15:36:45 2003 From: Richard.Muir at stortext.com (Richard Muir (Ham)) Date: Tue, 17 Jun 2003 14:36:45 +0100 Subject: nagios.cmd permissions Message-ID: Apache runs as the user wwwrun and its in the group nagiocmd:x:503:nagios,nobody,nagiosadmin,wwwrun Permissions after a restart of nagios are as follows drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:46 rw -rw-rw-r-- 1 nagios users 3520 Jun 17 13:35 status.log -rw-r--r-- 1 nagios nagios 2473 Jun 17 12:46 status.sav hrg-netmon1 nagios/var# cd rw Directory: /usr/local/nagios/var/rw hrg-netmon1 var/rw# ll total 8 drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:46 . drwxrwxr-x 4 nagios nagios 4096 Jun 17 13:35 .. prw-rw---- 1 nagios nagiocmd 0 Jun 16 15:46 nagios.cmd -----Original Message----- From: Mikel Bauer [mailto:mikel at bridgeband.net] Sent: 16 June 2003 18:27 To: Aleksey Domorad Cc: 'Richard Muir (Ham)'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd permissions I would suggest against doing this, but instead, verify that the httpd user (ie apache or nobody) is in the nagioscmd group. Also, have you restarted apache since you updated the cgi scripts? I'd give that a shot. Aleksey Domorad wrote: > I had very same issue. > Change your nagios.cfg to reflect following > > # NAGIOS GROUP > # This determines the effective group that Nagios should run as. > # You can either supply a group name or a GID. > > nagios_group=apache > > > Basically start nagios with apache group. > > Make sure that your apache config matches that group. > > > > -----Original Message----- > *From:* Richard Muir (Ham) [mailto:Richard.Muir at stortext.com] > *Sent:* Monday, June 16, 2003 11:35 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nagios.cmd permissions > > Installed Nagios v 1.0 and had everything working no problem > > > > Installed v1.1 last week and now cannot execute commands from the > web interface due to permission problems. > > > > Have checked and have the following > > drwxrwsr-x 2 nagios nagiocmd 4096 Jun 16 15:31 . > > drwxrwxr-x 4 nagios nagios 4096 Jun 16 15:31 .. > > prw-rw---- 1 nagios nagiocmd 0 Jun 16 15:31 nagios.cmd > > > > Doing a chmod works BUT every time I restart nagios it resets the > permissions back to whats above. > > > > Have restarted the web server, checked the groups all seem ok. > > > > Anyone else have this issue ? > > Richard Muir > Systems Manager > Stortext(UK) Limited phone: +44 (0) 1698 455 821 (reception) > Caird Centre, phone: +44 (0) 1698 455 812 (direct) > Caird Park, fax: +44 (0) 1698 455 858 > Hamilton, ML3 0EU email: richard.muir at stortext.com > Scotland www:_ _ > ----------------------------------------------- > This e-mail message is confidential and for use by the addressee > only. If the message is received by anyone other than the addressee, > please return the message to the sender by replying to it and then > delete the message from your computer. Internet e-mails are not > necessarily secure. The Stortext Group * does not accept > responsibility for changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the transmission > of viruses, it is the responsibility of the recipient to ensure that > the onward transmission, opening or use of this message and any > attachments will not adversely affect its systems or data. No > responsibility is accepted by The Stortext Group * in this regard > and the recipient should carry out such virus and other checks as it > considers appropriate. > > * The Stortext Group of companies consists of Stortext Group > Limited, Stortext UK Limited and Stortext Document Solutions Limited. > > ----------------------------------------------- > > > -- Mikel Bauer ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 15:45:08 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 17 Jun 2003 23:45:08 +1000 Subject: Multi-level service dependencies... not working In-Reply-To: <1055856554.1511.41.camel@kamikiriad>; from tcarr@somanetworks.com on Tue, Jun 17, 2003 at 09:29:12AM -0400 References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU> <3EEEB7FC.6020402@dhl.com> <20030617171626.D3114@IPAustralia.Gov.AU> <3EEEC378.6030406@dhl.com> <1055856554.1511.41.camel@kamikiriad> Message-ID: <20030617234501.E226@IPAustralia.Gov.AU> Dear Gentlemen, I am writing to beg your pardon for talking at least some nonsense about service dependencies. The docco is quite plain (v1.0), 'How Service Dependencies Are Tested Before Nagios executes a service check or sends notifications out for a service, it will check to see if the service has any dependencies. If it doesn't have any dependencies, the check is executed or the notification is sent out as it normally would be. If the service does have one or more dependencies, Nagios will check each dependency entry as follows: 1.Nagios gets the current status* of the service that is being depended upon. 2.Nagios compares the current status of the service that is being depended upon against either the execution or notification failure options in the dependency definition (whichever one is relevant at the time). 3.If the current status of the service that is being depended upon matches one of the failure options, the dependency is said to have failed and Nagios will break out of the dependency check loop. 4.If the current state of the service that is being depended upon does not match any of the failure options for the dependency entry, the dependency is said to have passed and Nagios will go on and check the next dependency entry. This cycle continues until either all dependencies for the service have been checked or until one dependency check fails. ' Point 1 says that _before_ a dependent service is checked, the __current__ state of the dependency is checked and the action taken as specified in the dependency def. Therefore it seems to me that this is allows the dependent service to fail without Nag following the dependency spcification because the dependent service has failed but has not been checked. You could try and reduce or eliminate the impact of this by having the rate of checks of the dependency greater than the dependent checks (extra marks to relate the ratio of dependency to dependent checks to the risk/probability of a false alarm). If there is any doubt about the matter 1 enable service check debug and any depend debugging 2 run Nag with a test config that has the dependent service fail (eg check_dummy false) HTH, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From superbenk at superk.org Tue Jun 17 15:52:00 2003 From: superbenk at superk.org (Benjamin Krein) Date: Tue, 17 Jun 2003 09:52:00 -0400 Subject: FW: No status.log updating with Nagios running Message-ID: <000401c334d7$a043b270$0c01a8c0@bkrein> I had everything working great (so why fix it right?), then I tried to add gd and the libraries necessary for statusmap and now have a problem. When I start nagios, things look fine. But when I log into it, all the cgi's say that the status log has no information and sure enough, status.log is empty. I can't find any error information in nagios.log and the service seems to run fine (even can see the processes where it runs the defined checks). What am I missing? I think I have permissions correct (have checked it several times). Ben ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcarr at somanetworks.com Tue Jun 17 16:01:35 2003 From: tcarr at somanetworks.com (Tim Carr) Date: 17 Jun 2003 10:01:35 -0400 Subject: Multi-level service dependencies... not working In-Reply-To: <3EEF18DA.4040208@dhl.com> References: <1055799130.820.29.camel@kamikiriad> <20030617101228.A241@IPAustralia.Gov.AU > <3EEEB7FC.6020402@dhl.com> <20030617171626.D3114@IPAustralia.Gov.AU> <3EEEC378.6030406@dhl.com> <1055856554.1511.41.camel@kamikiriad> <3EEF18DA.4040208@dhl.com> Message-ID: <1055858495.819.67.camel@kamikiriad> Ok, i've sent this to the Master :) > I must say that the setting I mentioned earlier has never let me down > before. I guess that if you set your check interval of the service you > are depending on small enough, you should be fine. Unfortunately i've always had that option enabled (soft state dependencies), so it's not fixing things for me. > But it might be best to take this up with Ethan or anyone else who can > shed some light... Right, time to fill him in... Ethan, the problem i'm having is that even with soft-state dependencies turned on, service dependencies aren't being properly enforced. For instance, if I have Nagios monitoring services A and B, with A dependent-upon B, if I shut down _both_ A and B quite often what happens is 1. Nagios checks A first (ok) 2. determines it is down (ok) 3. immediately calls A's eventhandler (bad) I realize that it can't know exactly when something goes down (nor the order in which things went bad), but the behavior that I want is this (well, this is the behavior I want *given* step 1; i realize sometimes it will check B first): 1. Nagios checks A first 2. determines it is down 3. immediately actively re-checks B 4. (immediately active re-checks any other services that A depends-upon) 5. if all services that A depends-upon are OK, it calls A's eventhandler; otherwise, it suspends checking/eventhandling for A until this is so. I realize that it's possible that A will be checked before B, but upon finding error I want the services that A depends-upon checked right away. Is this possible in Nagios 1.0/1.1 ? Is this planned for 2.x ? Stanley Hopcroft writes the following (figured i'd put this all into one email): --- begin stanley --- (Stanley pastes some Nagios documentation here) Point 1 says that _before_ a dependent service is checked, the __current__ state of the dependency is checked and the action taken as specified in the dependency def. Therefore it seems to me that this is allows the dependent service to fail without Nag following the dependency spcification because the dependent service has failed but has not been checked. You could try and reduce or eliminate the impact of this by having the rate of checks of the dependency greater than the dependent checks (extra marks to relate the ratio of dependency to dependent checks to the risk/probability of a false alarm). --- end stanley --- Stanley's suggestion is that by increasing the rate of checks, hopefully one would catch the failed service that is depended-upon before catching the service that depends upon it. This doesn't seem right to me, as there will always be a margin of error no matter how you manipulate the check rates. In my case, no margin of error is acceptable (seriously, i'm not making this up, ask for more details if you want 'em). The solution it seems (to me), is to have nagios actively re-check the service that is depended upon, instead of just using its current state (as suggested above in the second ordered-list) Many thanks for your time, Tim Carr ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Jun 17 16:08:28 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 17 Jun 2003 10:08:28 -0400 Subject: Multi-level service dependencies... not workin g Message-ID: <2E3E9736615DD311895D00105A9CADED014BCD5A@eentsvr40.ehvert.com> Just passing by m e-mail...what about a passive check initiated by an event_handler? Not pretty but perhaps better than a bullet (experience speaking here, bullets suck). Just 2cents (or less). dean -----Original Message----- From: Tim Carr [mailto:tcarr at somanetworks.com] Sent: June 17, 2003 9:29 AM To: Tom DE BLENDE Cc: Stanley Hopcroft; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Multi-level service dependencies... not working Oh dear. I had thought this was quite possible given the current revision of Nagios; now i'm responsible for having Nagios implemented here where I work, and i'm going to bite a nice silver bullet if it turns out this dependency issue can't be fixed :( > If service A fails and is dependent service B, a check > of service B should be forced immediately... At least, that's how I > see it... Maybe something to suggest to our guru? Is there no way to do as he has suggested above? Many thanks, Tim Carr ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jun 17 17:08:20 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 17 Jun 2003 10:08:20 -0500 Subject: nrpe woes - Received 0 bytes from daemon... Message-ID: <16111.12004.634477.898907@montanaro.dyndns.org> I installed nrpe 2.0b4 on a Red Hat machine using "./configure --disable-ssl" and built check_nrpe on a Mac OS X machine (same configure command). (I manually #define'd socklen_t to be int on the Mac.) The server starts okay from an rc script using this command: /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg -d It forks and sets its user/group to nagios/nagios as it should. When I execute ./check_nrpe -H cirweb.itcs.northwestern.edu -c check_users on the Mac I get this error: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. If by "remote server logs" it means syslog, I see nothing. Any suggestions? Thanks, -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue Jun 17 17:04:49 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 17 Jun 2003 17:04:49 +0200 Subject: check_disk syntax question Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAFBB@rijpat-s-346.europe.shell.com> Hello all I am using check_disk plugin to monitor some very large file systems. I was monitoring using percentages, but this is pointless, because when you ar 99% full, you still have lots of space. so I changed to a minimum killobytes check, now i get critical messages for every disk i check, probably something obviously wrong in what im doing. Here is one of my filesystems #df -k sw017 4164728832 858727296 3306001536 21% /sw017 and here is my nrpe command command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 -m /sw017 im trying to set it to 1.5 gb warning, and 1gb crit. but i get this error every time. DISK CRITICAL [-988965760 kB (79%) free on /sw017] is my sytax wrong???? help appreciated Stu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Tue Jun 17 17:11:47 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 17 Jun 2003 11:11:47 -0400 Subject: check_nt Message-ID: <5.1.0.14.0.20030617110112.00b52368@pop.icnet.com.ve> Hi, I have configured the nsclient and the check_nt for monitor the variables. But I want to modify the check_nt but when I try to modify this I can?t see it well, I saw very stranger characters. Thanks Jeyri Bautista ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 17:26:34 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Tue, 17 Jun 2003 11:26:34 -0400 Subject: Question about NAGIOS Message-ID: <4986B9AA97C37D4D91E554CA8D84415B0127FB9D@rbnt1.rb.net> I am evaluating Nagios and concord (commerical). I was wondering - has anyone switched from a commericial product to nagios and why? Cheers, Jenn -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Tue Jun 17 17:48:57 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 17 Jun 2003 11:48:57 -0400 Subject: Host max_check_attempts Message-ID: <3EEF3869.7000200@quadrix.com> There is a max_check_attempts setting for host definition to allow multiple host checks before a host is deemed down. My question, though, is what is the interval between these additional retry checks? There is no retry_check_interval for hosts, so what does it default to? Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jun 17 18:07:50 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 17 Jun 2003 11:07:50 -0500 Subject: nrpe woes - Received 0 bytes from daemon... Message-ID: <16111.15574.636074.245289@montanaro.dyndns.org> Following up to my own post: ... > on the Mac I get this error: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Turns out I had a typo ('3' instead of '4') in the allowed_hosts field of my nrpe.cfg file. Shouldn't an attempt to connect from an invalid IP address be logged? I saw nothing in /var/log/messages after the daemon startup message. -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 atomicmatrix.net Tue Jun 17 18:14:54 2003 From: ben at atomicmatrix.net (Ben Goodwin) Date: Tue, 17 Jun 2003 12:14:54 -0400 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <005f01c334eb$abdb9800$33b0dfaa@dsg.atomicmatrix.net> I'm having a heck of a time trying to figure out a relatively secure way to monitor my win2k boxes with nagios... I don't like the security model of nsclient (unless I'm missing something) .. so I was hoping to go down the road of snmp restricted via community and IP ... but I'm stumbling on figuring out how to check to see if a process or a service is running. . or check disk space etc.. I see the disks and processes show up, but I surely don't want to hardcode an OID into my check_snmp command .. and I don't even see a list of services .. is SNMP not the way to go for this? Is there a way I can secure nsclient such that everyone inside the firewall doesn't have read access to the data? Thanks, -=| Ben ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue Jun 17 18:27:13 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 17 Jun 2003 11:27:13 -0500 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <352B04312822444A962714393AED8A4D96A949@ADAEVS01.int.chickasaw.net> Well, you can configure nsclient with a password, but that is only as secure as nsclient is I think... You can setup your network to be more secure though. Use some ACL's to block out any machine but your monitoring box to be avle to touch the nsclient port. I have heard something about running nsclient over ssl also, maybe a capability in a future release or hack for the current release, I don't know details. As for the ACL's there are probably your best bet for the most secure solution. -----Original Message----- From: Ben Goodwin [mailto:ben at atomicmatrix.net] Sent: Tuesday, June 17, 2003 11:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Win2k: check_snmp (and nsclient) woes I'm having a heck of a time trying to figure out a relatively secure way to monitor my win2k boxes with nagios... I don't like the security model of nsclient (unless I'm missing something) .. so I was hoping to go down the road of snmp restricted via community and IP ... but I'm stumbling on figuring out how to check to see if a process or a service is running. . or check disk space etc.. I see the disks and processes show up, but I surely don't want to hardcode an OID into my check_snmp command .. and I don't even see a list of services .. is SNMP not the way to go for this? Is there a way I can secure nsclient such that everyone inside the firewall doesn't have read access to the data? Thanks, -=| Ben ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jun 17 18:41:24 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 17 Jun 2003 17:41:24 +0100 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137B8@jessica.herefordshire.gov.uk> Use nrpe_nt - you can restrict access to specified IP addresses. See http://support.tsmgsoftware.com/ Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Ben Goodwin [mailto:ben at atomicmatrix.net] > Sent: 17 June 2003 17:15 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Win2k: check_snmp (and nsclient) woes > > > I'm having a heck of a time trying to figure out a relatively > secure way to > monitor my win2k boxes with nagios... I don't like the > security model of > nsclient (unless I'm missing something) .. so I was hoping to > go down the > road of snmp restricted via community and IP ... but I'm stumbling on > figuring out how to check to see if a process or a service is > running. . or > check disk space etc.. I see the disks and processes show > up, but I surely > don't want to hardcode an OID into my check_snmp command .. > and I don't even > see a list of services .. is SNMP not the way to go for > this? Is there a > way I can secure nsclient such that everyone inside the > firewall doesn't > have read access to the data? > > Thanks, > > -=| Ben > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jun 17 18:55:01 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 17 Jun 2003 17:55:01 +0100 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137BA@jessica.herefordshire.gov.uk> nrpe_nt runs over SSL. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Sent: 17 June 2003 17:27 > To: Ben Goodwin; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Win2k: check_snmp (and nsclient) woes > > > Well, you can configure nsclient with a password, but that is only as > secure as nsclient is I think... You can setup your network > to be more > secure though. Use some ACL's to block out any machine but your > monitoring box to be avle to touch the nsclient port. I have heard > something about running nsclient over ssl also, maybe a > capability in a > future release or hack for the current release, I don't know details. > As for the ACL's there are probably your best bet for the most secure > solution. > > -----Original Message----- > From: Ben Goodwin [mailto:ben at atomicmatrix.net] > Sent: Tuesday, June 17, 2003 11:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Win2k: check_snmp (and nsclient) woes > > I'm having a heck of a time trying to figure out a relatively > secure way > to > monitor my win2k boxes with nagios... I don't like the > security model of > nsclient (unless I'm missing something) .. so I was hoping to go down > the > road of snmp restricted via community and IP ... but I'm stumbling on > figuring out how to check to see if a process or a service is > running. . > or > check disk space etc.. I see the disks and processes show up, but I > surely > don't want to hardcode an OID into my check_snmp command .. > and I don't > even > see a list of services .. is SNMP not the way to go for > this? Is there > a > way I can secure nsclient such that everyone inside the > firewall doesn't > have read access to the data? > > Thanks, > > -=| Ben > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Wirtgen at miwi-dv.com Tue Jun 17 19:05:44 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Tue, 17 Jun 2003 19:05:44 +0200 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E4FF0@ws_server.intern.westernsystems.de> Ben, you might want to look at nrpe_nt: http://www.miwi-dv.com/nrpent Some plugins available here: http://support.tsmgsoftware.com/viewforum.php?f=11 cheers MiWi > -----Original Message----- > From: Ben Goodwin [mailto:ben at atomicmatrix.net] > Sent: Dienstag, 17. Juni 2003 18:15 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Win2k: check_snmp (and nsclient) woes > > > I'm having a heck of a time trying to figure out a relatively > secure way to > monitor my win2k boxes with nagios... I don't like the > security model of > nsclient (unless I'm missing something) .. so I was hoping to > go down the > road of snmp restricted via community and IP ... but I'm stumbling on > figuring out how to check to see if a process or a service is > running. . or > check disk space etc.. I see the disks and processes show > up, but I surely > don't want to hardcode an OID into my check_snmp command .. > and I don't even > see a list of services .. is SNMP not the way to go for > this? Is there a > way I can secure nsclient such that everyone inside the > firewall doesn't > have read access to the data? > > Thanks, > > -=| Ben > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue Jun 17 19:21:38 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 17 Jun 2003 12:21:38 -0500 Subject: Trending and availability Message-ID: <352B04312822444A962714393AED8A4D96A94B@ADAEVS01.int.chickasaw.net> Hello list, I'm running into some problems. When I check the history of my hosts, a lot of them have indeterminate data, some have partial data, and some are fine. I'll keep looking an post more pertinent info when I get some but for now, if anyone has any advice I will surely appreciate it. jrmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Jun 17 19:47:45 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 17 Jun 2003 12:47:45 -0500 Subject: Trending and availability Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E769B@mismail.ena.com> If a service on a host has not failed, nagios has never performed a check on that host, therefore it's state is Undetermined. Only when a service on that host fails will the host be checked and an appropriate log entry made. For me, best practice is to set 'Assume initial states' to yes and 'First assumed host state' to Host UP. Also -- http://www.nagios.org/faqs/viewfaq.php?faq_id=136 ________________________________________ From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Sent: Tuesday, June 17, 2003 12:22 PM To: nagios-users at lists.sourceforge.net Hello list, I'm running into some problems. When I check the history of my hosts, a lot of them have indeterminate data, some have partial data, and some are fine. I'll keep looking an post more pertinent info when I get some but for now, if anyone has any advice I will surely appreciate it. jrmy ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jun 17 20:13:47 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 17 Jun 2003 13:13:47 -0500 Subject: nrpe woes - Received 0 bytes from daemon... Message-ID: Did you check /var/log/secure ? jc > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: Tuesday, June 17, 2003 11:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: nrpe woes - Received 0 bytes from > daemon... > > > Following up to my own post: > > ... > > on the Mac I get this error: > > CHECK_NRPE: Received 0 bytes from daemon. Check the > remote server > logs for error messages. > > Turns out I had a typo ('3' instead of '4') in the > allowed_hosts field of my > nrpe.cfg file. Shouldn't an attempt to connect from an > invalid IP address > be logged? I saw nothing in /var/log/messages after the > daemon startup > message. > > -- > Skip Montanaro > skip at pobox.com > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Tue Jun 17 20:25:38 2003 From: stefmit at comcast.net (stefmit) Date: Tue, 17 Jun 2003 13:25:38 -0500 Subject: [1/2OT]Multi-tier client-server apps monitoring w/Nagios integration?!? Message-ID: <200306171325.38956.stefmit@comcast.net> Sorry for the semi-OT - just a request for info: did anybody find a way to use Nagios to consolidate multi-tier response time info, in regards to building a WHOLE picture of client-server apps traversing multiple levels of servers? To be more specific: take the example of a generic case of a browser-based client accessing a web server, which is just front end for a database server. If no obvious pluggins already developed, to accommodate integration into Nagios, does anybody at least have some awareness (personal experience) of third party (even commercial) tools whose output could be used to "report" back into Nagios? As I mentioned in another email of mine (but never followed up with details, as nobody expressed any interest) I was tasked to evaluate different products, for different layers of network monitoring, and - in regards to something coming close to what I am asking here (application layer) - I have found: - http://www.netiq.com - http://www.netqos.com - http://www.compuware.com - http://www.opnet.com (quite impressive!) - http://www.somix.org (WebNM as a consolidator solution, which I believe could be really challenged by Nagios! - worth a look) - this one is where I see Nagios being even stronger, if it could consolidate the likes of one of the other tools above. If you want to take a look at it, choose WebNM from the product options, username:demo, password:greatfun. TIA, Stef ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jun 17 20:32:20 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 17 Jun 2003 13:32:20 -0500 Subject: nrpe woes - Received 0 bytes from daemon... In-Reply-To: References: Message-ID: <16111.24244.191461.477342@montanaro.dyndns.org> Jim> Did you check /var/log/secure ? Yup: # egrep -il nrpe * boot.log messages Skip ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jun 17 20:35:36 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 17 Jun 2003 15:35:36 -0300 Subject: nagios.cmd permissions Message-ID: <20030617183536.2176.qmail@linuxmail.org> Nagios v. 1.0 Linux RedHat 8.0 OS When I try to add a host comment: "Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!" [root at localhost etc]# ls -l /usr/local/nagios/var/rw/ total 0 prwxrwx--x 1 nagios nagios 0 Jun 4 13:46 nagios.cmd The dirs perms are OK. I read the FAQs, but I didn't find any answers. What can be wrong? Thanks in advance. []'s -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Tue Jun 17 20:40:23 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 17 Jun 2003 14:40:23 -0400 Subject: FW: No status.log updating with Nagios running References: <000401c334d7$a043b270$0c01a8c0@bkrein> Message-ID: <3EEF6097.5040601@quadrix.com> Try "df" and see if you are out of diskspace - the disappearing status.log is often a sign of a lack of diskspace available. Russell Scibetti Benjamin Krein wrote: >I had everything working great (so why fix it right?), then I tried to >add gd and the libraries necessary for statusmap and now have a problem. >When I start nagios, things look fine. But when I log into it, all the >cgi's say that the status log has no information and sure enough, >status.log is empty. I can't find any error information in nagios.log >and the service seems to run fine (even can see the processes where it >runs the defined checks). What am I missing? I think I have >permissions correct (have checked it several times). > >Ben > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rvf at linux.wku.edu Tue Jun 17 19:42:34 2003 From: rvf at linux.wku.edu ( Rob VanFleet) Date: Tue, 17 Jun 2003 12:42:34 -0500 Subject: statusmap.cgi none existent In-Reply-To: References: Message-ID: <20030617174234.GA1309@linux.wku.edu> On Mon, Jun 16, 2003 at 10:56:12AM -0400, Ray Ward wrote: > > Hi, I have setup nagios v1.1 on a Solaris 8 box using apache. I have been > able to configure everything successfully except the statusmap.cgi is none > existent. Is there special configuration required to setup the status map? If you compiled nagios, you need to have the headers for the GD library, as well as PNG and JPEG libraries. You can probably grab all three from http://www.sunfreeware.com/ Rob ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TAlbrecht at wernerelectric.com Tue Jun 17 21:18:16 2003 From: TAlbrecht at wernerelectric.com (Travis Albrecht) Date: Tue, 17 Jun 2003 14:18:16 -0500 Subject: Win2k: check_snmp (and nsclient) woes Message-ID: <98A23B12BF469E4C92BA67EF99685BB201219069@wese2k002.wes.local> Has anyone ever tried connecting to the nsclient port and tried to get anything meaningful... I'm finding it difficult, but I'm not a hacker or programmer Travis Albrecht Business Systems Engineer Werner Electric Supply -----Original Message----- From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Sent: Tuesday, June 17, 2003 11:27 AM To: Ben Goodwin; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Win2k: check_snmp (and nsclient) woes Well, you can configure nsclient with a password, but that is only as secure as nsclient is I think... You can setup your network to be more secure though. Use some ACL's to block out any machine but your monitoring box to be avle to touch the nsclient port. I have heard something about running nsclient over ssl also, maybe a capability in a future release or hack for the current release, I don't know details. As for the ACL's there are probably your best bet for the most secure solution. -----Original Message----- From: Ben Goodwin [mailto:ben at atomicmatrix.net] Sent: Tuesday, June 17, 2003 11:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Win2k: check_snmp (and nsclient) woes I'm having a heck of a time trying to figure out a relatively secure way to monitor my win2k boxes with nagios... I don't like the security model of nsclient (unless I'm missing something) .. so I was hoping to go down the road of snmp restricted via community and IP ... but I'm stumbling on figuring out how to check to see if a process or a service is running. . or check disk space etc.. I see the disks and processes show up, but I surely don't want to hardcode an OID into my check_snmp command .. and I don't even see a list of services .. is SNMP not the way to go for this? Is there a way I can secure nsclient such that everyone inside the firewall doesn't have read access to the data? Thanks, -=| Ben ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From superbenk at superk.org Tue Jun 17 21:23:21 2003 From: superbenk at superk.org (Benjamin Krein) Date: Tue, 17 Jun 2003 15:23:21 -0400 Subject: FW: No status.log updating with Nagios running In-Reply-To: <3EEF6097.5040601@quadrix.com> References: <3EEF6097.5040601@quadrix.com> Message-ID: <000201c33505$ea6e4670$0c01a8c0@bkrein> That was definitely it. I feel stupid for not looking at that first! Thanks again. Ben -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Russell Scibetti Sent: Tuesday, June 17, 2003 2:40 PM To: Benjamin Krein Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FW: No status.log updating with Nagios running Try "df" and see if you are out of diskspace - the disappearing status.log is often a sign of a lack of diskspace available. Russell Scibetti Benjamin Krein wrote: >I had everything working great (so why fix it right?), then I tried to >add gd and the libraries necessary for statusmap and now have a >problem. When I start nagios, things look fine. But when I log into >it, all the cgi's say that the status log has no information and sure >enough, status.log is empty. I can't find any error information in >nagios.log and the service seems to run fine (even can see the >processes where it runs the defined checks). What am I missing? I >think I have permissions correct (have checked it several times). > >Ben > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting >Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >Commission! INetU Dedicated Managed Hosting >http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Tue Jun 17 22:07:56 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Tue, 17 Jun 2003 14:07:56 -0600 Subject: nagios.cmd permissions In-Reply-To: <20030617183536.2176.qmail@linuxmail.org> References: <20030617183536.2176.qmail@linuxmail.org> Message-ID: <3EEF751C.1030200@bridgeband.net> you need to either add apache to the group "nagios" or make a new group, like "nagioscmd" and add both nagios and apache to it. Rivanor P. Soares wrote: > Nagios v. 1.0 > Linux RedHat 8.0 OS > > When I try to add a host comment: > "Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!" > > [root at localhost etc]# ls -l /usr/local/nagios/var/rw/ > total 0 > prwxrwx--x 1 nagios nagios 0 Jun 4 13:46 nagios.cmd > > The dirs perms are OK. > > I read the FAQs, but I didn't find any answers. > > What can be wrong? > > Thanks in advance. > > []'s > > -- > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil -- Mikel Bauer ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Tue Jun 17 22:31:06 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 17 Jun 2003 16:31:06 -0400 Subject: check_mrtg Message-ID: <5.1.0.14.0.20030617163007.00bab1d0@pop.icnet.com.ve> Hi, Can I configured the check_mrtg for scan mrtg log that are in a remote pc? Thanks Jeyri ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at redpepperracing.com Tue Jun 17 22:30:26 2003 From: tom at redpepperracing.com (Tom Lichti) Date: Tue, 17 Jun 2003 16:30:26 -0400 Subject: Upgrade to 1.1 - max length 63 characters In-Reply-To: References: Message-ID: <3EEF7A62.1050503@redpepperracing.com> Mark Waterhouse wrote: > > I suspect that this is a coded limit and wondered if someone could post a > diff to remove it. > > Thanks > Mark > Dumb question, but did you put commas between the host names? Tom ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Jun 17 22:41:38 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 17 Jun 2003 13:41:38 -0700 Subject: Monitoring specific process? References: <20030617102652.1625.qmail@pod-163.dolphin-server.co.uk> Message-ID: # check_procs --help ... RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max')... Thus, the command you want is: check_procs -w 1: -C crond However, if you want to test a remote host, you need to wrapper it using check_by_ssh or use nrpe. There's a FAQ about remote hosts. http://www.nagios.org/faqs/viewfaq.php?faq_id=59 "solkan" wrote in message news:20030617102652.1625.qmail at pod-163.dolphin-server.co.uk... > > Hello, > i'd like nagios to check for a specific process is running on a remote host. > In this particular case for crond. > How could this be accomplished? > ./check_procs xxx.xxx.com -w 0 -c 0 -C crond /- a crond > > always returns: > > OK - 0 processes running with command name crond > > I'd like to see a warning if this process is not running. > > Any ideas? > > Kind regards > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 23:08:30 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 18 Jun 2003 07:08:30 +1000 Subject: [1/2OT]Multi-tier client-server apps monitoring w/Nagios integration?!? In-Reply-To: <200306171325.38956.stefmit@comcast.net>; from stefmit@comcast.net on Tue, Jun 17, 2003 at 01:25:38PM -0500 References: <200306171325.38956.stefmit@comcast.net> Message-ID: <20030618070824.A228@IPAustralia.Gov.AU> Dear Sir, I am writing to thank yuo for your letter and say, On Tue, Jun 17, 2003 at 01:25:38PM -0500, stefmit wrote: > > As I mentioned in another email of mine (but never followed up with details, > as nobody expressed any interest) I was tasked to evaluate different > products, for different layers of network monitoring, and - in regards to > something coming close to what I am asking here (application layer) - I have > found: > - http://www.netiq.com > - http://www.netqos.com > - http://www.compuware.com > - http://www.opnet.com (quite impressive!) > - http://www.somix.org (WebNM as a consolidator solution, which I believe > could be really challenged by Nagios! - worth a look) - this one is where I > see Nagios being even stronger, if it could consolidate the likes of one of > the other tools above. If you want to take a look at it, choose WebNM from > the product options, username:demo, password:greatfun. > the Usenet tradition is _rarely_ to encourage, only to discourage. Please post what you have found about the products you evaluated. One of the question my employers RFQ on EMS asked was 'describe what means the product has for measuring end to end response times'. The responses were suprisingly poor in that 1 Most proposed synthetic transactions - completely unsuitable for updates or write once 2 only one even mentioned the use of (the EMS purchasing organisations own) RMON2 probes and _none_ mentioned other comparable equipment such as the Packeteer 3 only one mentioned other means of doing so (server side APM instrumented applications) in the general case. It seems to me that you are looking at best of breed solutions for what you are prposing, but I think analysing the delays in multi-tier (so long in web, much longer in the DB, really long in the app server ..) sounds hard. > TIA, > Stef 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abest at rentokilinitial.com.au Wed Jun 18 04:11:34 2003 From: abest at rentokilinitial.com.au (Andrew Best) Date: Wed, 18 Jun 2003 12:11:34 +1000 Subject: nrpe 1.8 under SCO 5.0.6 Message-ID: <012201c3353e$f123b700$4da09384@SYSADM> Hi All, I'm in the process of getting nrpe 1.8 running under SCO 5.0.6. I have successfully compiled and installed nrpe 1.8 and it runs fine. When running from inetd: I telnet to port 5666 on the host I want to monitor, the connection opens and is then immediatly dropped. The syslog shows: Jun 18 11:24:20 mistest nrpe[18890]: Handling the connection... Jun 18 11:24:20 mistest nrpe[18890]: Could not read request from client, bailing out... When running as standalone daemon: I telnet to port 5666 on the host I want to monitor, the connection opens and is then immediatly dropped. syslog shows: Jun 18 11:54:03 mistest nrpe[18925]: Connection from XXX.XXX.XXX.XXX port 61837 Jun 18 11:54:03 mistest nrpe[18925]: Host address checks out ok Jun 18 11:54:03 mistest nrpe[18925]: Handling the connection... Jun 18 11:54:03 mistest nrpe[18925]: Could not read request from client, bailing out... Jun 18 11:54:03 mistest nrpe[18925]: Connection from XXX.XXX.XXX.XXX closed. Ive trawled through the mailing list archive and seen several people experience this problem but most of those appeared to be a problem with the config of inetd. TCP Wrappers are not running on this host and I would like to avoid having to install it if I possibly can. Anyone care to offer any insights, things I might have missed etc? /etc/services: nrpe 5666/tcp # NRPE (Nagios Monitoring Daemon) >From inet.conf nrpe stream tcp nowait nagios /usr/sbin/nrpe nrpe -c /etc/nrpe.cfg --inetd nrpe: mistest >ls -la /usr/sbin/nrpe -rwxrwxr-x 1 nagios nagios 88792 Jun 18 09:11 /usr/sbin/nrpe nrpe.cfg mistest >ls -al /etc/nrpe.cfg -rw-rw---- 1 nagios nagios 3575 Jun 18 12:03 /etc/nrpe.cfg Contents of nrpe.cfg changes depending if im running it from inetd or as a daemon but there is nothing weird in the file. cheers Andrew Best -- Disclaimer removed because they suck. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jun 18 05:42:47 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 17 Jun 2003 23:42:47 -0400 Subject: check_disk syntax question In-Reply-To: <5539FB0922D5E544B12A031DBD255E55DCAFBB@rijpat-s-346.europe.shell.com> References: <5539FB0922D5E544B12A031DBD255E55DCAFBB@rijpat-s-346.europe.shell.com> Message-ID: <1055907767.1979.16.camel@miles.debisschop.net> On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > Hello all > > I am using check_disk plugin to monitor some very large file systems. > I was monitoring using percentages, but this is pointless, because > when you ar 99% full, you still have lots of space. > > so I changed to a minimum killobytes check, now i get critical > messages for every disk i check, probably something obviously wrong > in what im doing. > > Here is one of my filesystems > #df -k > sw017 4164728832 858727296 3306001536 21% /sw017 > > and here is my nrpe command > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > -m /sw017 > > im trying to set it to 1.5 gb warning, and 1gb crit. > > but i get this error every time. > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > is my sytax wrong???? What plugin version on the remote machine? ISTM there must be a bug, unless you've figured out how to store more bytes on a disk than its total capacity (which I take to be the meaning of les than 0 bytes free). OOTH, if you have figured out a way to create this extra capacity, when you take out the patent please be sure you do not mention 'Unix' in the application, otherwise SCO may assert ownership ;-) -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abest at rentokilinitial.com.au Wed Jun 18 05:56:46 2003 From: abest at rentokilinitial.com.au (Andrew Best) Date: Wed, 18 Jun 2003 13:56:46 +1000 Subject: nrpe 1.8 under SCO 5.0.6 References: <012201c3353e$f123b700$4da09384@SYSADM> Message-ID: <004501c3354d$a34aad40$4da09384@SYSADM> > When running from inetd: > I telnet to port 5666 on the host I want to monitor, the connection opens > and is then immediatly dropped. > The syslog shows: > > Jun 18 11:24:20 mistest nrpe[18890]: Handling the connection... > Jun 18 11:24:20 mistest nrpe[18890]: Could not read request from client, > bailing out... Hmmm, well im just dumb. I figured I would test nrpe on the host as it was anyway from our nagios box. The few tests ive done have actually worked okay. So, um yea, for now, disregard my email. Duh. cheers Andrew ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spam-block at fribert.dk Wed Jun 18 08:27:25 2003 From: spam-block at fribert.dk (Spam Block) Date: Wed, 18 Jun 2003 08:27:25 +0200 Subject: Svar: Re: How do I set up a check for BackupExec? Message-ID: Sorry for not replying earlier. I'll have a look at it today! I studied the docs a little, it looks complicated. Kenneth >>> Francois Meehan 16-06-2003 17:11:57 >>> Spam Block wrote: > Has anybody set this up? > Done via SNMP I guess, but what to check? > > Fribse > I do it with snmp traps: First have a look at Nagios doc: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html Copied files be_ov.mib and bkupexec.mib (from the server that runs BackupExec) to my Nagios server mibs directory (/usr/share/snmp/mibs/ on Gentoo) Did put the following statments in snmptrapd.conf: # BackupExec job failed traphandle Backup-Exec-MIB::jobFailured /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 2 # BackupExec job cancelled traphandle Backup-Exec-MIB::jobAborted /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 1 # BackupExec job success traphandle Backup-Exec-MIB::jobSuccess /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 3 # BackupExec full back-up complete job success traphandle Backup-Exec-MIB::fullBackupComplete /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 3 # BackupExec job completed with warnings traphandle Backup-Exec-MIB::jobSuccessExcept /usr/nagios/libexec/eventhandlers/bkexec_trap.sh 4 And modified a little, the batch file from the documentation as follows: # Get severity level (OK, WARNING, UNKNOWN, or CRITICAL) and plugin output based on trape type state=-1 output="No output" case "$1" in # failed to format tape - critical 1) output="Warning: Job Cancelled" state=1 ;; # failed to position tape - critical 2) output="Critical: Job Failed" state=2 ;; # backup success - ok 3) output="Ok: BackupExec backup operation successful" state=0 ;; # backup incomplete - warning 4) output="Warning: BackupExec backup operation incomplete" state=1 ;; esac # Submit passive check result to monitoring host /usr/nagios/libexec/eventhandlers/submit_check_result $hostname "Backup Exec" $state "$output" exit 0 Now you have to configure a Nagios service called "Backup Exec", configure your Back-up exec to send trap to the Nagios machine. That is "roughly" it... Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.blidung at philips.com Wed Jun 18 08:52:54 2003 From: thomas.blidung at philips.com (thomas.blidung at philips.com) Date: Wed, 18 Jun 2003 08:52:54 +0200 Subject: hundreds of procs Message-ID: Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Wed Jun 18 09:55:20 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Wed, 18 Jun 2003 09:55:20 +0200 Subject: check_disk syntax question Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAFBC@rijpat-s-346.europe.shell.com> Thanks for reply... the plugin is ./check_disk -V check_disk (nagios-plugins 1.3.0) 1.7 and nagios is version 1.0. and both machines are solaris 8 I thought it was very wierd as well, but i thought my syntax might have been wrong. cheers Stu -----Original Message----- From: Karl DeBisschop [mailto:karl at debisschop.net] Sent: 18 June 2003 05:43 To: Webster, Stuart SITI-ITDIUR Cc: Nagios Users Subject: Re: [Nagios-users] check_disk syntax question On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > Hello all > > I am using check_disk plugin to monitor some very large file systems. > I was monitoring using percentages, but this is pointless, because > when you ar 99% full, you still have lots of space. > > so I changed to a minimum killobytes check, now i get critical > messages for every disk i check, probably something obviously wrong > in what im doing. > > Here is one of my filesystems > #df -k > sw017 4164728832 858727296 3306001536 21% /sw017 > > and here is my nrpe command > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > -m /sw017 > > im trying to set it to 1.5 gb warning, and 1gb crit. > > but i get this error every time. > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > is my sytax wrong???? What plugin version on the remote machine? ISTM there must be a bug, unless you've figured out how to store more bytes on a disk than its total capacity (which I take to be the meaning of les than 0 bytes free). OOTH, if you have figured out a way to create this extra capacity, when you take out the patent please be sure you do not mention 'Unix' in the application, otherwise SCO may assert ownership ;-) -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhp at addix.net Wed Jun 18 11:33:00 2003 From: jhp at addix.net (Jan-Hendrik Palic) Date: Wed, 18 Jun 2003 11:33:00 +0200 Subject: Nagios1.1 Segfault at circular dependencies Message-ID: <20030618093300.GA21583@addix.net> Hoi .. is it known? I have circular dependencies and /usr/sbin/nagios -v /etc/nagios.cfg gets a segfault detecting them. jpa at beverly:$ sudo /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 400 services. Checking hosts... Checked 79 hosts. Checking host groups... Checked 17 host groups. Checking contacts... Checked 4 contacts. Checking contact groups... Checked 1 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 63 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Segmentation fault jpa at beverly:$ I attached the strace-output. Regards Jan -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_segfault.gz Type: application/octet-stream Size: 5052 bytes Desc: not available URL: From Stuart.Webster at shell.com Wed Jun 18 13:48:32 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Wed, 18 Jun 2003 13:48:32 +0200 Subject: check_disk syntax question Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAFCD@rijpat-s-346.europe.shell.com> Regarding the below problem, i see that all the filesystems that give the incorrect reading with check_disk are samfs file systems!!. I guess check_disk just cant get an accurate reading of samfs, unless anyone knows a way??? help appreciated. Stu -----Original Message----- From: Webster, Stuart SITI-ITDIUR Sent: 18 June 2003 09:55 To: Karl DeBisschop Cc: Nagios Users Subject: RE: [Nagios-users] check_disk syntax question Thanks for reply... the plugin is ./check_disk -V check_disk (nagios-plugins 1.3.0) 1.7 and nagios is version 1.0. and both machines are solaris 8 I thought it was very wierd as well, but i thought my syntax might have been wrong. cheers Stu -----Original Message----- From: Karl DeBisschop [mailto:karl at debisschop.net] Sent: 18 June 2003 05:43 To: Webster, Stuart SITI-ITDIUR Cc: Nagios Users Subject: Re: [Nagios-users] check_disk syntax question On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > Hello all > > I am using check_disk plugin to monitor some very large file systems. > I was monitoring using percentages, but this is pointless, because > when you ar 99% full, you still have lots of space. > > so I changed to a minimum killobytes check, now i get critical > messages for every disk i check, probably something obviously wrong > in what im doing. > > Here is one of my filesystems > #df -k > sw017 4164728832 858727296 3306001536 21% /sw017 > > and here is my nrpe command > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > -m /sw017 > > im trying to set it to 1.5 gb warning, and 1gb crit. > > but i get this error every time. > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > is my sytax wrong???? What plugin version on the remote machine? ISTM there must be a bug, unless you've figured out how to store more bytes on a disk than its total capacity (which I take to be the meaning of les than 0 bytes free). OOTH, if you have figured out a way to create this extra capacity, when you take out the patent please be sure you do not mention 'Unix' in the application, otherwise SCO may assert ownership ;-) -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwaterho at sgi.com Wed Jun 18 13:59:53 2003 From: mwaterho at sgi.com (Mark Waterhouse) Date: Wed, 18 Jun 2003 12:59:53 +0100 Subject: fyi : Nagios.org site appears down Message-ID: ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Jun 18 14:39:27 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 18 Jun 2003 08:39:27 -0400 Subject: [1/2OT]Multi-tier client-server apps monitorin g w/Nagios integration?!? Message-ID: We have just that type of environment. Apache Web Server -> Oracle Applications Server -> Oracle Database -> Data Warehouse -> Unix System Procs. All of which have to be working in order to provide one Application. Since our applications are developed in-house, no commercial package could verify all of the processes as a whole. With Nagios we developed a few web based Oracle procedures to test application availability via a Nagios (Perl) plugin accessing an Apache Web Server. With a little effort you could also use the check_cluster plugin to group common processes to specific application checks. One of the many nice things about open-source, "it is always possible". Plus you'll save 10's - 100's of thousands of dollars a year. Lane -----Original Message----- From: stefmit [mailto:stefmit at comcast.net] Sent: Tuesday, June 17, 2003 2:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [1/2OT]Multi-tier client-server apps monitoring w/Nagios integration?!? Sorry for the semi-OT - just a request for info: did anybody find a way to use Nagios to consolidate multi-tier response time info, in regards to building a WHOLE picture of client-server apps traversing multiple levels of servers? To be more specific: take the example of a generic case of a browser-based client accessing a web server, which is just front end for a database server. If no obvious pluggins already developed, to accommodate integration into Nagios, does anybody at least have some awareness (personal experience) of third party (even commercial) tools whose output could be used to "report" back into Nagios? As I mentioned in another email of mine (but never followed up with details, as nobody expressed any interest) I was tasked to evaluate different products, for different layers of network monitoring, and - in regards to something coming close to what I am asking here (application layer) - I have found: - http://www.netiq.com - http://www.netqos.com - http://www.compuware.com - http://www.opnet.com (quite impressive!) - http://www.somix.org (WebNM as a consolidator solution, which I believe could be really challenged by Nagios! - worth a look) - this one is where I see Nagios being even stronger, if it could consolidate the likes of one of the other tools above. If you want to take a look at it, choose WebNM from the product options, username:demo, password:greatfun. TIA, Stef ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kreig.Dubose at webex.com Wed Jun 18 15:03:39 2003 From: Kreig.Dubose at webex.com (Kreig Dubose) Date: Wed, 18 Jun 2003 06:03:39 -0700 Subject: /usr/local/nagios/var/rw/nagios.cmd Message-ID: I'm having some considerable difficulties with this file. Basically everytime I restart nagios it's permissions get reset and host comments and passive info quit working. The only way I've found to make it work is by changing perms to 777 (Which I don't like doing anyways). Am I missing something here ? prwxrwxrwt 1 nagios nagios 0 Jun 18 12:59 nagios.cmd Nagios 1.0 2.4.7-10smp #1 SMP TIA, Kreig ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed Jun 18 15:12:17 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 18 Jun 2003 14:12:17 +0100 Subject: check_disk syntax question Message-ID: <53104E20A25CD411B556009027E50636079A9C76@pnnemp02.pn.egg.com> My guess is that the numbers returned by df -k are v high (> 2^31 signed). This means that the integer that holds the values overflow, hence your negative results. I've just been reading up large numbers and it seems that what may need to happen is that the data types for disk_used and total_used should be floats (to allow numbers up to 3.4E+38) and the subsequent printf formats altered to reflect. I think I've seen this problem on the CVS HEAD version of check_disk too. Try this patch for check_disk.c against r1.3.0. It works on my Sun 2.6 system, but I don't have huge disk to test against! <> Let us know how you get on. Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Wednesday, June 18, 2003 12:49 PM > To: Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > Regarding the below problem, i see that all the filesystems that give the > incorrect reading with check_disk are samfs file systems!!. I guess > check_disk just cant get an accurate reading of samfs, unless anyone knows > a way??? > > help appreciated. > > Stu > > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR > Sent: 18 June 2003 09:55 > To: Karl DeBisschop > Cc: Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > > Thanks for reply... > the plugin is > ./check_disk -V > check_disk (nagios-plugins 1.3.0) 1.7 > > and nagios is version 1.0. > and both machines are solaris 8 > > I thought it was very wierd as well, but i thought my syntax might have > been wrong. > > cheers > > Stu > > -----Original Message----- > From: Karl DeBisschop [mailto:karl at debisschop.net] > Sent: 18 June 2003 05:43 > To: Webster, Stuart SITI-ITDIUR > Cc: Nagios Users > Subject: Re: [Nagios-users] check_disk syntax question > > > On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > > Hello all > > > > I am using check_disk plugin to monitor some very large file systems. > > I was monitoring using percentages, but this is pointless, because > > when you ar 99% full, you still have lots of space. > > > > so I changed to a minimum killobytes check, now i get critical > > messages for every disk i check, probably something obviously wrong > > in what im doing. > > > > Here is one of my filesystems > > #df -k > > sw017 4164728832 858727296 3306001536 21% /sw017 > > > > and here is my nrpe command > > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > > -m /sw017 > > > > im trying to set it to 1.5 gb warning, and 1gb crit. > > > > but i get this error every time. > > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > > > > is my sytax wrong???? > > What plugin version on the remote machine? > > ISTM there must be a bug, unless you've figured out how to store more > bytes on a disk than its total capacity (which I take to be the meaning > of les than 0 bytes free). > > OOTH, if you have figured out a way to create this extra capacity, when > you take out the patent please be sure you do not mention 'Unix' in the > application, otherwise SCO may assert ownership ;-) > > -- > Karl > > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- A non-text attachment was scrubbed... Name: check_disk.patch_for_floats.c Type: application/octet-stream Size: 2743 bytes Desc: not available URL: From matt.garrett at shell.com Wed Jun 18 15:39:21 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Wed, 18 Jun 2003 14:39:21 +0100 Subject: /usr/local/nagios/var/rw/nagios.cmd Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50DDBF4@abe-s-039.europe.shell.com> Kreig The permissions on this file should be prw-rw---- 1 nagios nagios 0 Jun 18 10:30 /local/nagios/var/rw/nagios.cmd Your passive commands should be running either as user nagios or as group nagios Or if you are feeling brave root You should not allow any body to be able to write to this file. I know Ethan has some error checking on this file but you should not rely on this. As users could try and crash nagios or DOS attacks etc. We got around the problem by using nsca , running a check command on the client as root due to its very nature, and then sending the info back to nsca running as nagios Works very well, for us. Hope this help's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: Kreig Dubose [mailto:Kreig.Dubose at webex.com] > Sent: 18 June 2003 14:04 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] /usr/local/nagios/var/rw/nagios.cmd > > > I'm having some considerable difficulties with this file. Basically > everytime I restart nagios it's permissions get reset and > host comments and > passive info quit working. The only way I've found to make > it work is by > changing perms to 777 (Which I don't like doing anyways). Am > I missing > something here ? > > prwxrwxrwt 1 nagios nagios 0 Jun 18 12:59 nagios.cmd > > Nagios 1.0 > 2.4.7-10smp #1 SMP > > > TIA, > Kreig > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 15:54:28 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 09:54:28 -0400 Subject: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBA3@NJ-2K-Email1.delphi-tech.com> I've been hammering at it (albeit lightly), but haven't found my solution yet, if anyone has suggestions, warmly accepted, especially before my two week vacation starts this Fri ;-) -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 16:09:39 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 10:09:39 -0400 Subject: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBA7@NJ-2K-Email1.delphi-tech.com> By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 16:23:48 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 10:23:48 -0400 Subject: duplicate service alerts Message-ID: <003f01c335a5$3c11eeb0$f805ff0a@tekniq> I've been experiencing some strange behavior in the nagios.log and was hoping I could have everyone's thoughts on this situation. My nagios.log contains duplicate service alerts for most external commands. For example: [1055945454] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host.com;Memory;0;Memory OK - 434 MB free [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB free [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB free Not all services do this and this is only with regards to external commands (passive service checks) sent through nsca. There is only one nagios core process running. I cannot duplicate this unless I send results through nsca -- writing to the external commands file by hand registers only one service alert. Does anyone have any ideas on why nagios might be processing service alerts sent through nsca twice? I figure this is probably eating resources on my system and would like to resolve it. Thanks! Jason Lancaster ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Wed Jun 18 16:27:32 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Wed, 18 Jun 2003 08:27:32 -0600 Subject: /usr/local/nagios/var/rw/nagios.cmd In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D50DDBF4@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D50DDBF4@abe-s-039.europe.shell.com> Message-ID: <3EF076D4.1010305@bridgeband.net> I'm assuming you're probably having problems with the web cgi's. You will need to add the webserver user (probably apache or nobody) to the group nagios. The webserver needs to have write permissions to this file, and if the only way you get it to work is to 777 the file, then it's obviously not a part of the group that has write permissions. -- Mikel Bauer Garrett, Matt M SITI-ITDIEEE wrote: > Kreig > > The permissions on this file should be > prw-rw---- 1 nagios nagios 0 Jun 18 10:30 /local/nagios/var/rw/nagios.cmd > > Your passive commands should be running either as user nagios or as group nagios > Or if you are feeling brave root > > You should not allow any body to be able to write to this file. > I know Ethan has some error checking on this file but you should not rely on this. > As users could try and crash nagios or DOS attacks etc. > > We got around the problem by using nsca , running a check command on the client as root > due to its very nature, and then sending the info back to nsca running as nagios > Works very well, for us. > > Hope this help's > > Matt > > > Matthew Garrett > Unix System Support > Shell Information Technology International Limited > Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom > > Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 > Email: Matt.M.Garrett at is.shell.com > Internet: http://www.shell.com > > > >>-----Original Message----- >>From: Kreig Dubose [mailto:Kreig.Dubose at webex.com] >>Sent: 18 June 2003 14:04 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] /usr/local/nagios/var/rw/nagios.cmd >> >> >>I'm having some considerable difficulties with this file. Basically >>everytime I restart nagios it's permissions get reset and >>host comments and >>passive info quit working. The only way I've found to make >>it work is by >>changing perms to 777 (Which I don't like doing anyways). Am >>I missing >>something here ? >> >>prwxrwxrwt 1 nagios nagios 0 Jun 18 12:59 nagios.cmd >> >>Nagios 1.0 >>2.4.7-10smp #1 SMP >> >> >>TIA, >>Kreig >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: INetU >>Attention Web Developers & Consultants: Become An INetU >>Hosting Partner. >>Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >>Commission! >>INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 16:32:41 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 10:32:41 -0400 Subject: hundreds of procs References: <880E60DA7286AB4CBEECB01B169A63BD055BDBA3@NJ-2K-Email1.delphi-tech.com> Message-ID: <004501c335a6$79a733b0$f805ff0a@tekniq> In situations I've seen, hundreds of procs means that nagios is not processing alerts fast enough. There are three solutions for this. - Tweak nagios.cfg (might take a lot of time) - Put the status.log on a ramdisk (very easy, everyone should do this) - Use a faster cpu. Often the cpu's won't be overloaded and you may have 98-99% cpu free but updates just aren't fast because of one of the above reasons. Then nagios just gets stuck in a never-ending queue. Let me know if you have any questions... I can go into further detail if needed. Jason Lancaster Intranet Administrator, Affinity Internet (954) 334-8203 ----- Original Message ----- From: To: ; Sent: Wednesday, June 18, 2003 9:54 Subject: RE: [Nagios-users] hundreds of procs > I've been hammering at it (albeit lightly), but haven't found my solution > yet, if anyone has suggestions, warmly accepted, especially before my two > week vacation starts this Fri ;-) > > -----Original Message----- > From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] > Sent: Wednesday, June 18, 2003 2:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hundreds of procs > > > Hi to everyone, > > I just was reading the posting from Dave and his problem "nagios looping - > hundreds of procs" > > It seems that I got the same problem. Up to now there is a relationship > between the frequency of checks an the occurance of many nagios-tasks. But > even if I set the normal_check_interval to al long period (10 minutes) it > happens, that after one or two > days there ar up to 200 or more nagios tasks. > Is this problem already solved I would like to get the solution. > > regards > tom > > > Thomas Blidung > Philips Research Hamburg > Tel. 5078-2838 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 16:37:00 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 10:37:00 -0400 Subject: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBA9@NJ-2K-Email1.delphi-tech.com> Yes, this is the second e-mail I have gotten to the effect that nagios is overloaded, last one I dismissed because the machine didn't appear (to the linux standard) to be overloaded. I have 81 hosts and 91 services being passively monitored on this machine. What would a possible suggestion of hardware be? -----Original Message----- From: Jason Lancaster [mailto:jlancaster at affinity.com] Sent: Wednesday, June 18, 2003 10:33 AM To: DTerrell at Delphi-Tech.com; thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hundreds of procs In situations I've seen, hundreds of procs means that nagios is not processing alerts fast enough. There are three solutions for this. - Tweak nagios.cfg (might take a lot of time) - Put the status.log on a ramdisk (very easy, everyone should do this) - Use a faster cpu. Often the cpu's won't be overloaded and you may have 98-99% cpu free but updates just aren't fast because of one of the above reasons. Then nagios just gets stuck in a never-ending queue. Let me know if you have any questions... I can go into further detail if needed. Jason Lancaster Intranet Administrator, Affinity Internet (954) 334-8203 ----- Original Message ----- From: To: ; Sent: Wednesday, June 18, 2003 9:54 Subject: RE: [Nagios-users] hundreds of procs > I've been hammering at it (albeit lightly), but haven't found my solution > yet, if anyone has suggestions, warmly accepted, especially before my two > week vacation starts this Fri ;-) > > -----Original Message----- > From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] > Sent: Wednesday, June 18, 2003 2:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hundreds of procs > > > Hi to everyone, > > I just was reading the posting from Dave and his problem "nagios looping - > hundreds of procs" > > It seems that I got the same problem. Up to now there is a relationship > between the frequency of checks an the occurance of many nagios-tasks. But > even if I set the normal_check_interval to al long period (10 minutes) it > happens, that after one or two > days there ar up to 200 or more nagios tasks. > Is this problem already solved I would like to get the solution. > > regards > tom > > > Thomas Blidung > Philips Research Hamburg > Tel. 5078-2838 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sylvain.padoan at sihpic.fr Wed Jun 18 16:42:51 2003 From: sylvain.padoan at sihpic.fr (Sylvain Padoan) Date: Wed, 18 Jun 2003 16:42:51 +0200 Subject: /usr/local/nagios/var/rw/nagios.cmd References: Message-ID: <003e01c335a7$e5af7e40$c801007e@w80075c> > but how to automate this step?? what config file?? You can make some changes in your /etc/init.d/nagios file: chmod 770 $NagiosCmd chgrp www-data $NagiosCmd in start) section. ----- Original Message ----- From: "Kreig Dubose" To: Sent: Wednesday, June 18, 2003 3:03 PM Subject: [Nagios-users] /usr/local/nagios/var/rw/nagios.cmd > I'm having some considerable difficulties with this file. Basically > everytime I restart nagios it's permissions get reset and host comments and > passive info quit working. The only way I've found to make it work is by > changing perms to 777 (Which I don't like doing anyways). Am I missing > something here ? > > prwxrwxrwt 1 nagios nagios 0 Jun 18 12:59 nagios.cmd > > Nagios 1.0 > 2.4.7-10smp #1 SMP > > > TIA, > Kreig > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed Jun 18 16:30:24 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Wed, 18 Jun 2003 11:30:24 -0300 Subject: /usr/local/nagios/var/rw/nagios.cmd In-Reply-To: References: Message-ID: Guys, I note that has a lot of people having some issues with nagios.cmd Here is the link of documentation (nagios site) with step by step of how to! http://nagios.sourceforge.net/docs/1_0/commandfile.html Here is an little script that we create to restart nagios when it's necessary [root at host bin]# more nagios-restart rm -f /usr/local/nagios/var/rw/nagios.cmd /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg For those that can't access Internet, follow the instructions bellow I hope that helps! Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) "Share knowledge is the best way to increase your own..." Users and Groups First, find the user that your web server process is running as. On many systems this is the user nobody, although it will vary depending on what OS/distribution you are running. You'll also need to know what user Nagios is effectively running as - this is specified with the nagios_user variable in the main config file. Next we're going to create a new group whose members include the user the web server is running as and the user Nagios is running as. Let's say we call this new group 'nagiocmd' (you can name it differently if you wish). On RedHat Linux you can use the following command to add a new group (other systems may differ): /usr/sbin/groupadd nagiocmd Next, add the web server user (nobody or apache, etc) and the Nagios user (nagios) to the newly created group with the following commands: /usr/sbin/usermod -G nagiocmd nagios /usr/sbin/usermod -G nagiocmd nobody Creating the directory Next, create the directory where the command file should be stored. By default, this is /usr/local/nagios/var/rw, although it can be changed by modifying the path specified in thecommand_file directory. mkdir /usr/local/nagios/var/rw Setting directory permissions Next, change the ownership of the directory that will be used to hold the command file... chown nagios.nagiocmd /usr/local/nagios/var/rw Make sure the Nagios user has full permissions on the directory... chmod u+rwx /usr/local/nagios/var/rw Make sure the group we created has full permissions on the directory. chmod g+rwx /usr/local/nagios/var/rw In order to force newly created files in the directory to inherit the group permissions from the directory, we need to enable the group sticky bit on the directory... chmod g+s /usr/local/nagios/var/rw Verifying the permissions Check the permissions on the rw/ subdirectory by running 'ls -al /usr/local/nagios/var'. You should see something similiar to the following: drwxrws--- 2 nagios nagiocmd 1024 Aug 11 16:30 rw Note that the user nagios is the owner of the directory and the group nagiocmd is the group owner of the directory. The nagios user has rwx permissions and group nagiocmd has rw permissions on the directory. Also, note that the group sticky bit is enabled. That's what we want... Restart your web server Once you set the proper permission on the directory containing the external command file, make sure to restart your web server. If you fail to do this, Apache will not be able to write to the external command file, even though the user it runs as is a member of the nagiocmd group. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kreig Dubose Sent: quarta-feira, 18 de junho de 2003 10:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] /usr/local/nagios/var/rw/nagios.cmd I'm having some considerable difficulties with this file. Basically everytime I restart nagios it's permissions get reset and host comments and passive info quit working. The only way I've found to make it work is by changing perms to 777 (Which I don't like doing anyways). Am I missing something here ? prwxrwxrwt 1 nagios nagios 0 Jun 18 12:59 nagios.cmd Nagios 1.0 2.4.7-10smp #1 SMP TIA, Kreig ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 16:52:58 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 10:52:58 -0400 Subject: duplicate service alerts Message-ID: <006701c335a9$4efffbd0$f805ff0a@tekniq> I should probably let everyone know that two processes of nsca are not running. Additionally, if I disable the external commands file and have nsca dump to a dump log, entries are only being written once. Jason ----- Original Message ----- From: "Jason Lancaster" To: Sent: Wednesday, June 18, 2003 10:23 Subject: duplicate service alerts > I've been experiencing some strange behavior in the nagios.log and was > hoping I could have everyone's thoughts on this situation. My nagios.log > contains duplicate service alerts for most external commands. For example: > [1055945454] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;host.com;Memory;0;Memory OK - 434 MB free > [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB > free > [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB > free > > Not all services do this and this is only with regards to external commands > (passive service checks) sent through nsca. There is only one nagios core > process running. I cannot duplicate this unless I send results through > nsca -- writing to the external commands file by hand registers only one > service alert. > > Does anyone have any ideas on why nagios might be processing service alerts > sent through nsca twice? I figure this is probably eating resources on my > system and would like to resolve it. > > Thanks! > Jason Lancaster > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From laurent.vaills at dms.at Wed Jun 18 16:44:24 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 18 Jun 2003 16:44:24 +0200 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? In-Reply-To: References: Message-ID: <1055947465.23091.12.camel@neo.sophia.dms.at> Hi all. Is it possible to make a new release for that bug (ok it's not a blocking bug, just annoying...) ? Why about a release Nagios 1.1a or 1.2 ? Laurent On Wed, 2003-06-04 at 23:27, Carroll, Jim P [Contractor] wrote: > Yeah, that's what I ended up doing to 'fix' the problem. > > I did a diff on the 1.0 and 1.1 versions of tac.c, but can't see much > (other than the change of a /* to a */, which I know could make a > world of difference). > > jc > > > > -----Original Message----- > > From: George Paschos [mailto:paschos at cosmoline.com] > > Sent: Wednesday, June 04, 2003 1:31 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > > > > > > I have the same behavior. > > To get over it I just used the 1.0 version of tac.cgi without any > > problems (yet..) > > > > Regards, > > george > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > john.barro at shaw.ca > > Sent: Wednesday, June 04, 2003 3:27 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > Importance: Low > > > > I experience the same results after installing Nagios 1.1 on my Redhat > > 7.3 system. I was previously running version 1.0 which did not > > experience that symptom. I did not examine any directories nor was I > > going to worry about it as I figured it may have been user initiated. > > > > John > > > > ----- Original Message ----- > > From: "Carroll, Jim P [Contractor]" > > Date: Tuesday, June 3, 2003 5:35 pm > > Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > > > Greets all, > > > > > > I installed Nagios 1.1 today, and noticed a slight > > > cosmetic change. I don't think this was intentional. > > > I examined what's in the ../sbin directory, and all > > > the .cgi files have a timestamp from 10:48am this morning. > > > > > > I took a screencap (see attached). Take a look at the > > > mid-screen, under "Services". It lists "26 Critical", > > > but spans all 5 table colums, leaving Warning, Unknown, > > > Ok and Pending pushed off to the side. > > > > > > Am I the only one experiencing this? > > > > > > (In case you noticed it, yes, I've still got the Authenticate > > > tweak in the sidebar. I reinstated it after making a backup > > > copy of that file and comparing it to the 1.0 version. > > > Otherwise, all the .html and .cgi files which should have been > > > installed appear to be there, thanks to the "make install" > > > after compilation.) > > > > > > If I've managed to fat-finger something, let me know. :) > > > > > > jc > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of > > TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of > > TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Jun 18 16:51:11 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 18 Jun 2003 10:51:11 -0400 Subject: hundreds of procs Message-ID: I see the same thing. But I think this is the way it should be. Nagios is a parallel application. I typically run with an average of 50 - 70 nagios procs a second and sometimes peaking at 300. System load typically runs between 3 and 4, which for a typical server would be high. I have Sun Enterprise application servers that run with a load average above 10 all day and Sun Enterprise backup servers that run with a load of 6 or higher. I suggest running "top" and watching whats going on. If your "iowait" is 0%, memory looks good, and the sleeping processes flucuate with on-going processes, I'd say your running just fine. The fact that you have a high load average may just mean you need a newer/faster server. I run with dual xeons on a gig of ram, and sometimes peek my load average at 19. The only problems I've noticed is with the default setting of "Sendmail" rejecting request when load is above 12. I just reset those settings to 70 and all looks good. If your having problems with Nagios not completing checks in a timely fashion, I recommend revisting your configuration. If you have a high number of passive checks you may need to account for that as well. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 10:10 AM To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 17:18:23 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 11:18:23 -0400 Subject: hundreds of procs References: <880E60DA7286AB4CBEECB01B169A63BD055BDBA9@NJ-2K-Email1.delphi-tech.com> Message-ID: <007b01c335ac$dbbd5010$f805ff0a@tekniq> Hardware depends on the frequency and types of checks you're doing, as well as whether or not your in a distributed environment, etc. Many, many variables. I'd emphasize the implementation of a ramdisk and tweaking the nagios.cfg to your liking before you went through the trouble of changing hardware. A rough estimate... if I had a single-monitoring system running no ocsp commands checking 91 active services on a two minute interval where the service check is about as resource intensive as check_ping or check_tcp... I'd use a p3 500. I have not tested it, but I believe a p3 500 would be sufficient for a very low latency (under 5 second) service check execution/update time implementation. Let me know if you have any questions. -Jason ----- Original Message ----- From: To: ; ; ; Sent: Wednesday, June 18, 2003 10:37 Subject: RE: [Nagios-users] hundreds of procs > Yes, this is the second e-mail I have gotten to the effect that nagios is > overloaded, last one I dismissed because the machine didn't appear (to the > linux standard) to be overloaded. I have 81 hosts and 91 services being > passively monitored on this machine. What would a possible suggestion of > hardware be? > > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, June 18, 2003 10:33 AM > To: DTerrell at Delphi-Tech.com; thomas.blidung at philips.com; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hundreds of procs > > > In situations I've seen, hundreds of procs means that nagios is not > processing alerts fast enough. There are three solutions for this. > - Tweak nagios.cfg (might take a lot of time) > - Put the status.log on a ramdisk (very easy, everyone should do this) > - Use a faster cpu. > > Often the cpu's won't be overloaded and you may have 98-99% cpu free but > updates just aren't fast because of one of the above reasons. Then nagios > just gets stuck in a never-ending queue. > > Let me know if you have any questions... I can go into further detail if > needed. > > Jason Lancaster > Intranet Administrator, Affinity Internet > (954) 334-8203 > ----- Original Message ----- > From: > To: ; > Sent: Wednesday, June 18, 2003 9:54 > Subject: RE: [Nagios-users] hundreds of procs > > > > I've been hammering at it (albeit lightly), but haven't found my solution > > yet, if anyone has suggestions, warmly accepted, especially before my two > > week vacation starts this Fri ;-) > > > > -----Original Message----- > > From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] > > Sent: Wednesday, June 18, 2003 2:53 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] hundreds of procs > > > > > > Hi to everyone, > > > > I just was reading the posting from Dave and his problem "nagios looping - > > hundreds of procs" > > > > It seems that I got the same problem. Up to now there is a relationship > > between the frequency of checks an the occurance of many nagios-tasks. But > > even if I set the normal_check_interval to al long period (10 minutes) it > > happens, that after one or two > > days there ar up to 200 or more nagios tasks. > > Is this problem already solved I would like to get the solution. > > > > regards > > tom > > > > > > Thomas Blidung > > Philips Research Hamburg > > Tel. 5078-2838 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 17:39:11 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 11:39:11 -0400 Subject: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBAC@NJ-2K-Email1.delphi-tech.com> That top output isn't a depiction of how the box looks when nagios is normally running. Nagios continues to grow larger and larger until the machine has so many procs the load average goes up. This is a more typical top output, and was taken after rebooting the machine and having nagios run for ~1hr: 11:36am up 1:22, 1 user, load average: 0.12, 0.16, 0.15 50 processes: 47 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle Mem: 124840K av, 109744K used, 15096K free, 0K shrd, 20072K buff Swap: 262040K av, 0K used, 262040K free 25592K cached At some point today I expect the box to trip and fall hard onto another hundred-someodd nagios procs pushing the load higher and higher as it goes. Its seems a circular problem that when nagios gets slightly overloaded it doesn't recover and load gets higher, the next time its congested (this time a smaller threshold) it does it again, until it really chokes out the system. I'm concerned nagios isn't capable of handling such a load...perhaps this should be pointed out to the developers? -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 10:51 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I see the same thing. But I think this is the way it should be. Nagios is a parallel application. I typically run with an average of 50 - 70 nagios procs a second and sometimes peaking at 300. System load typically runs between 3 and 4, which for a typical server would be high. I have Sun Enterprise application servers that run with a load average above 10 all day and Sun Enterprise backup servers that run with a load of 6 or higher. I suggest running "top" and watching whats going on. If your "iowait" is 0%, memory looks good, and the sleeping processes flucuate with on-going processes, I'd say your running just fine. The fact that you have a high load average may just mean you need a newer/faster server. I run with dual xeons on a gig of ram, and sometimes peek my load average at 19. The only problems I've noticed is with the default setting of "Sendmail" rejecting request when load is above 12. I just reset those settings to 70 and all looks good. If your having problems with Nagios not completing checks in a timely fashion, I recommend revisting your configuration. If you have a high number of passive checks you may need to account for that as well. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 10:10 AM To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jun 18 17:38:17 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 18 Jun 2003 10:38:17 -0500 Subject: hundreds of procs In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD055BDBA9@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD055BDBA9@NJ-2K-Email1.delphi-tech.com> Message-ID: <16112.34665.794625.739035@montanaro.dyndns.org> DTerrell> I have 81 hosts and 91 services being passively monitored on DTerrell> this machine. What would a possible suggestion of hardware DTerrell> be? I have 150+ hosts and 200+ services and am running Nagios 1.1 with no problem on a Powerbook (800Mhz, 1GB ram). This is my day-to-day machine (XDarwin, XEmacs, lots of mail is filtered through Spambayes via procmail, etc). Load average at the moment is within normal bounds: % w 10:18AM up 4 days, 18:37, 3 users, load averages: 0.14, 0.34, 0.34 USER TTY FROM LOGIN@ IDLE WHAT skip co - Fri03PM 4days - skip p2 - Fri03PM 4days - skip p5 :0.0 Tue11AM 0 - and top reports a fair amount of available RAM (612MB inactive, 83.2MB free). There are only a few Nagios-related processes running at any time: % while true ; do > ps auxww | egrep -h nagios | egrep -v egrep | wc -l > sleep 10 > done 3 7 3 5 1 3 1 1 ... A bunch of things that come to mind (mostly just thinking out loud): * Maybe you are getting a huge blast of checks all at once. Does your scheduling page show the scheduled checks to be suitably staggered? * Did you maybe extend the sleep_time configuration parameter? That would tend to synchronize checks. * Is your inter_check_delay_method set to 's'? * Perhaps it's a network speed issue (does "netstat -in" show a lot of errors or collisions?) * Perhaps the hosts you're monitoring are loaded enough themselves that they respond very slowly to the Nagios requests. * Have you tried shortening up your service_check_timeout? The default is 60 seconds. Most tests should run very quickly. * Maybe you just need to bug your boss to buy you a Powerbook. ;-) -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 17:49:56 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 11:49:56 -0400 Subject: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBAE@NJ-2K-Email1.delphi-tech.com> Unfortunately there are two threads running around this problem, this being the more active.. I'm using a distributed setup, two remote nagios boxes (actually one on the same switch) with one central. The box in question is the central box that accepts 100% passive checks for 81 hosts and 91 services. Each distributed server is running ~half that. Nagios has still yet to loop since I rebooted, though I do expect it to start soon. -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 11:47 AM To: 'DTerrell at Delphi-Tech.com'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I am sorry if I missed it but, How many active service checks? How many passive service checks? How many host checks? are you performing. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 11:39 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs That top output isn't a depiction of how the box looks when nagios is normally running. Nagios continues to grow larger and larger until the machine has so many procs the load average goes up. This is a more typical top output, and was taken after rebooting the machine and having nagios run for ~1hr: 11:36am up 1:22, 1 user, load average: 0.12, 0.16, 0.15 50 processes: 47 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle Mem: 124840K av, 109744K used, 15096K free, 0K shrd, 20072K buff Swap: 262040K av, 0K used, 262040K free 25592K cached At some point today I expect the box to trip and fall hard onto another hundred-someodd nagios procs pushing the load higher and higher as it goes. Its seems a circular problem that when nagios gets slightly overloaded it doesn't recover and load gets higher, the next time its congested (this time a smaller threshold) it does it again, until it really chokes out the system. I'm concerned nagios isn't capable of handling such a load...perhaps this should be pointed out to the developers? -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 10:51 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I see the same thing. But I think this is the way it should be. Nagios is a parallel application. I typically run with an average of 50 - 70 nagios procs a second and sometimes peaking at 300. System load typically runs between 3 and 4, which for a typical server would be high. I have Sun Enterprise application servers that run with a load average above 10 all day and Sun Enterprise backup servers that run with a load of 6 or higher. I suggest running "top" and watching whats going on. If your "iowait" is 0%, memory looks good, and the sleeping processes flucuate with on-going processes, I'd say your running just fine. The fact that you have a high load average may just mean you need a newer/faster server. I run with dual xeons on a gig of ram, and sometimes peek my load average at 19. The only problems I've noticed is with the default setting of "Sendmail" rejecting request when load is above 12. I just reset those settings to 70 and all looks good. If your having problems with Nagios not completing checks in a timely fashion, I recommend revisting your configuration. If you have a high number of passive checks you may need to account for that as well. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 10:10 AM To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perez at buenos-aires.oilfield.slb.com Wed Jun 18 17:35:56 2003 From: perez at buenos-aires.oilfield.slb.com (Ricardo Perez) Date: Wed, 18 Jun 2003 12:35:56 -0300 Subject: Problems with check_oracle Message-ID: I am a new user of nagios and I have some problems to check my oracle databases with check_oracle . If I run check_oracle from a command line (/usr/local/nagios/libexec/check_oracle -tns oraxxx) it is works OK, but from the Nagios web page I get the following error (Return code of 141 is out of bounds) This are the definition I add to the checkcommands.cfg and services.cfg # 'check_oracle' command definition define command{ command_name check_oracle command_line /usr/bin/env -i "ORACLE_HOME=/usr/local/oracle8i" $USER1$/check_oracle -tns $ARG1$ } # Service definition define service{ use generic-service host_name Xserver service_description ORAXXX is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_oracle!oraxxx } Any help will be appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3616 bytes Desc: not available URL: From DTerrell at Delphi-Tech.com Wed Jun 18 17:51:36 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 11:51:36 -0400 Subject: FW: hundreds of procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBAF@NJ-2K-Email1.delphi-tech.com> Just as I sent this one out...I noticed nagios forked again with these stats: 11:50am up 1:37, 1 user, load average: 0.22, 0.15, 0.13 52 processes: 50 sleeping, 2 running, 0 zombie, 0 stopped CPU states: 0.1% user, 0.3% system, 0.0% nice, 99.4% idle Mem: 124840K av, 110132K used, 14708K free, 0K shrd, 24412K buff Swap: 262040K av, 0K used, 262040K free 20844K cached Any more thoughts? -----Original Message----- From: David A. Terrell Sent: Wednesday, June 18, 2003 11:50 AM To: 'Williams, P. Lane'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs Unfortunately there are two threads running around this problem, this being the more active.. I'm using a distributed setup, two remote nagios boxes (actually one on the same switch) with one central. The box in question is the central box that accepts 100% passive checks for 81 hosts and 91 services. Each distributed server is running ~half that. Nagios has still yet to loop since I rebooted, though I do expect it to start soon. -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 11:47 AM To: 'DTerrell at Delphi-Tech.com'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I am sorry if I missed it but, How many active service checks? How many passive service checks? How many host checks? are you performing. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 11:39 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs That top output isn't a depiction of how the box looks when nagios is normally running. Nagios continues to grow larger and larger until the machine has so many procs the load average goes up. This is a more typical top output, and was taken after rebooting the machine and having nagios run for ~1hr: 11:36am up 1:22, 1 user, load average: 0.12, 0.16, 0.15 50 processes: 47 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle Mem: 124840K av, 109744K used, 15096K free, 0K shrd, 20072K buff Swap: 262040K av, 0K used, 262040K free 25592K cached At some point today I expect the box to trip and fall hard onto another hundred-someodd nagios procs pushing the load higher and higher as it goes. Its seems a circular problem that when nagios gets slightly overloaded it doesn't recover and load gets higher, the next time its congested (this time a smaller threshold) it does it again, until it really chokes out the system. I'm concerned nagios isn't capable of handling such a load...perhaps this should be pointed out to the developers? -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 10:51 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I see the same thing. But I think this is the way it should be. Nagios is a parallel application. I typically run with an average of 50 - 70 nagios procs a second and sometimes peaking at 300. System load typically runs between 3 and 4, which for a typical server would be high. I have Sun Enterprise application servers that run with a load average above 10 all day and Sun Enterprise backup servers that run with a load of 6 or higher. I suggest running "top" and watching whats going on. If your "iowait" is 0%, memory looks good, and the sleeping processes flucuate with on-going processes, I'd say your running just fine. The fact that you have a high load average may just mean you need a newer/faster server. I run with dual xeons on a gig of ram, and sometimes peek my load average at 19. The only problems I've noticed is with the default setting of "Sendmail" rejecting request when load is above 12. I just reset those settings to 70 and all looks good. If your having problems with Nagios not completing checks in a timely fashion, I recommend revisting your configuration. If you have a high number of passive checks you may need to account for that as well. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 10:10 AM To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:55:41 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Wed, 18 Jun 2003 17:55:41 +0200 Subject: check_nwstat Segmentation Fault snmpget Timeout Message-ID: <200306181755.41735.Michael.Huettig@Medien-Systempartner.de> Hi everybody, i've succesfully compiled and installed nagios1.1 and plugins 1.3.0 under Solaris9 (ultra1). Also i installed all necessary libaries and packages from sunfreeware like net-snmp and perl Net::SNMP. Now i want to check wether my plugins work properly, former installation runs under RH7.3 with Nagios 1.0. When i start check_nwstat i get segmentation fault. When i start snmpget i get Timeout, tcpdump shows, that packets were going out, so i think, the request couldn't understand from the devices, i want to get the info from. I'm a solaris newbee, but having no problems with RH or SuSE. Thanks a lot for your help -- Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Jun 18 17:47:10 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 18 Jun 2003 11:47:10 -0400 Subject: hundreds of procs Message-ID: I am sorry if I missed it but, How many active service checks? How many passive service checks? How many host checks? are you performing. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 11:39 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs That top output isn't a depiction of how the box looks when nagios is normally running. Nagios continues to grow larger and larger until the machine has so many procs the load average goes up. This is a more typical top output, and was taken after rebooting the machine and having nagios run for ~1hr: 11:36am up 1:22, 1 user, load average: 0.12, 0.16, 0.15 50 processes: 47 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle Mem: 124840K av, 109744K used, 15096K free, 0K shrd, 20072K buff Swap: 262040K av, 0K used, 262040K free 25592K cached At some point today I expect the box to trip and fall hard onto another hundred-someodd nagios procs pushing the load higher and higher as it goes. Its seems a circular problem that when nagios gets slightly overloaded it doesn't recover and load gets higher, the next time its congested (this time a smaller threshold) it does it again, until it really chokes out the system. I'm concerned nagios isn't capable of handling such a load...perhaps this should be pointed out to the developers? -Dave -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Wednesday, June 18, 2003 10:51 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs I see the same thing. But I think this is the way it should be. Nagios is a parallel application. I typically run with an average of 50 - 70 nagios procs a second and sometimes peaking at 300. System load typically runs between 3 and 4, which for a typical server would be high. I have Sun Enterprise application servers that run with a load average above 10 all day and Sun Enterprise backup servers that run with a load of 6 or higher. I suggest running "top" and watching whats going on. If your "iowait" is 0%, memory looks good, and the sleeping processes flucuate with on-going processes, I'd say your running just fine. The fact that you have a high load average may just mean you need a newer/faster server. I run with dual xeons on a gig of ram, and sometimes peek my load average at 19. The only problems I've noticed is with the default setting of "Sendmail" rejecting request when load is above 12. I just reset those settings to 70 and all looks good. If your having problems with Nagios not completing checks in a timely fashion, I recommend revisting your configuration. If you have a high number of passive checks you may need to account for that as well. Lane -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, June 18, 2003 10:10 AM To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hundreds of procs By the way, this is from one day of Nagios being active without me restarting it: 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped -----Original Message----- From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] Sent: Wednesday, June 18, 2003 2:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hundreds of procs Hi to everyone, I just was reading the posting from Dave and his problem "nagios looping - hundreds of procs" It seems that I got the same problem. Up to now there is a relationship between the frequency of checks an the occurance of many nagios-tasks. But even if I set the normal_check_interval to al long period (10 minutes) it happens, that after one or two days there ar up to 200 or more nagios tasks. Is this problem already solved I would like to get the solution. regards tom Thomas Blidung Philips Research Hamburg Tel. 5078-2838 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Wed Jun 18 18:06:59 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Wed, 18 Jun 2003 12:06:59 -0400 Subject: Problems with check_oracle Message-ID: <85256D49.005887FA.00@mailhost.planalytics.com> Check your options. I am 90% sure that it should be "--tns" instead of "-tns" - i.e. 2 "-" in the argument. -j Ricardo Perez on 06/18/2003 11:35:56 AM To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] Problems with check_oracle I am a new user of nagios and I have some problems to check my oracle databases with check_oracle . If I run check_oracle from a command line (/usr/local/nagios/libexec/check_oracle -tns oraxxx) it is works OK, but from the Nagios web page I get the following error (Return code of 141 is out of bounds) This are the definition I add to the checkcommands.cfg and services.cfg # 'check_oracle' command definition define command{ command_name check_oracle command_line /usr/bin/env -i "ORACLE_HOME=/usr/local/oracle8i" $USER1$/check_oracle -tns $ARG1$ } # Service definition define service{ use generic-service host_name Xserver service_description ORAXXX is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_oracle!oraxxx } Any help will be appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/octet-stream Size: 3616 bytes Desc: not available URL: From Ton.Voon at egg.com Wed Jun 18 18:14:39 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 18 Jun 2003 17:14:39 +0100 Subject: Problems with check_oracle Message-ID: <53104E20A25CD411B556009027E50636079A9C80@pnnemp02.pn.egg.com> I haven't come across the env -i trick before. According to the man page, -i ignores all environment variables - do you need to set PATH as well? If you only want the ORACLE_HOME variable, check_oracle will query the oratab file (as long as it is in /etc/oratab or /var/opt/oracle/oratab) to find out the Oracle home based on the SID specified. There is a patch in version 1.4.2.1 where if you use a * in the oratab, it will pick that as the default ORACLE_HOME. Other tricks people have used is to set the ORACLE_HOME in the nagios startup script. > -----Original Message----- > From: Ricardo Perez [SMTP:perez at buenos-aires.oilfield.slb.com] > Sent: Wednesday, June 18, 2003 4:36 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_oracle > > I am a new user of nagios and I have some problems to check my oracle > databases with check_oracle . If I run check_oracle from a command line > (/usr/local/nagios/libexec/check_oracle -tns oraxxx) it is works OK, but > from the Nagios web page I get the following error (Return code of 141 is > out of bounds) > > This are the definition I add to the checkcommands.cfg and services.cfg > > # 'check_oracle' command definition > define command{ > command_name check_oracle > command_line /usr/bin/env -i "ORACLE_HOME=/usr/local/oracle8i" > $USER1$/check_oracle -tns $ARG1$ > } > > > # Service definition > define service{ > use generic-service > host_name Xserver > service_description ORAXXX > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_oracle!oraxxx > } > > Any help will be appreciated. This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 18:29:28 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 12:29:28 -0400 Subject: hundreds of procs References: <880E60DA7286AB4CBEECB01B169A63BD055BDBAC@NJ-2K-Email1.delphi-tech.com> Message-ID: <00c201c335b6$cc08bab0$f805ff0a@tekniq> I've spent days and weeks working with this exact problem and resolved it by using fast processors, writing all obsessive commands to a fifo and sending them in large bursts, and a very efficient nagios.cfg. Nagios can handle this type of load. It just takes time to make it work right. -Jason ----- Original Message ----- From: To: Sent: Wednesday, June 18, 2003 11:39 Subject: RE: [Nagios-users] hundreds of procs > That top output isn't a depiction of how the box looks when nagios is > normally running. Nagios continues to grow larger and larger until the > machine has so many procs the load average goes up. This is a more typical > top output, and was taken after rebooting the machine and having nagios run > for ~1hr: > > 11:36am up 1:22, 1 user, load average: 0.12, 0.16, 0.15 > 50 processes: 47 sleeping, 3 running, 0 zombie, 0 stopped > CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle > Mem: 124840K av, 109744K used, 15096K free, 0K shrd, 20072K > buff > Swap: 262040K av, 0K used, 262040K free 25592K > cached > > At some point today I expect the box to trip and fall hard onto another > hundred-someodd nagios procs pushing the load higher and higher as it goes. > Its seems a circular problem that when nagios gets slightly overloaded it > doesn't recover and load gets higher, the next time its congested (this time > a smaller threshold) it does it again, until it really chokes out the > system. I'm concerned nagios isn't capable of handling such a > load...perhaps this should be pointed out to the developers? > > -Dave > > -----Original Message----- > From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] > Sent: Wednesday, June 18, 2003 10:51 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hundreds of procs > > > I see the same thing. But I think this is the way it should be. Nagios is > a parallel application. I typically run with an average of 50 - 70 nagios > procs a second and sometimes peaking at 300. System load typically runs > between 3 and 4, which for a typical server would be high. I have Sun > Enterprise application servers that run with a load average above 10 all day > and Sun Enterprise backup servers that run with a load of 6 or higher. > > I suggest running "top" and watching whats going on. If your "iowait" is > 0%, memory looks good, and the sleeping processes flucuate with on-going > processes, I'd say your running just fine. The fact that you have a high > load average may just mean you need a newer/faster server. I run with dual > xeons on a gig of ram, and sometimes peek my load average at 19. The only > problems I've noticed is with the default setting of "Sendmail" rejecting > request when load is above 12. I just reset those settings to 70 and all > looks good. > > If your having problems with Nagios not completing checks in a timely > fashion, I recommend revisting your configuration. If you have a high > number of passive checks you may need to account for that as well. > > Lane > > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Wednesday, June 18, 2003 10:10 AM > To: thomas.blidung at philips.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hundreds of procs > > > By the way, this is from one day of Nagios being active without me > restarting it: > > 10:08am up 29 days, 20:57, 1 user, load average: 11.06, 14.66, 15.69 > 1001 processes: 1000 sleeping, 1 running, 0 zombie, 0 stopped > > -----Original Message----- > From: thomas.blidung at philips.com [mailto:thomas.blidung at philips.com] > Sent: Wednesday, June 18, 2003 2:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hundreds of procs > > > Hi to everyone, > > I just was reading the posting from Dave and his problem "nagios looping - > hundreds of procs" > > It seems that I got the same problem. Up to now there is a relationship > between the frequency of checks an the occurance of many nagios-tasks. But > even if I set the normal_check_interval to al long period (10 minutes) it > happens, that after one or two > days there ar up to 200 or more nagios tasks. > Is this problem already solved I would like to get the solution. > > regards > tom > > > Thomas Blidung > Philips Research Hamburg > Tel. 5078-2838 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarret1 at olivet.edu Wed Jun 18 18:46:16 2003 From: jgarret1 at olivet.edu (Jacob Garrett) Date: Wed, 18 Jun 2003 11:46:16 -0500 Subject: cgi.cfg error on line 15 Message-ID: Hello all, This one really has me baffled. I installed Nagios 1.0, set up the web interface and such. I'm able to log in just fine and I have all my cfg files setup and ready to go. I go to do a check before starting nagios with the -v tag. I'm getting the following error: Error: Unexpected Token or statement in file /usr/local/nagios/etc/cgi.cfg on line 15. As you know this line points to the main config file /usr/local/nagios/etc/nagios.cfg I have been over and over this a thousand time and I can't see why its throwing this error. I would very much appreciate any help that anyone can give me. Thanks a ton! ~Jacob Garrett jgarret1 at olivet.edu ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 atomicmatrix.net Wed Jun 18 19:17:47 2003 From: ben at atomicmatrix.net (Ben Goodwin) Date: Wed, 18 Jun 2003 13:17:47 -0400 (EDT) Subject: config question Message-ID: <2081.132.183.76.128.1055956667.squirrel@www.atomicmatrix.net> Thanks to all who quickly answered my question RE: monitoring an NT server; I don't know how I missed the nrpe_nt plugin unless it was recently added to the nagios site. In any case, I'm wondering if there's any way to specify an "except xyz" in the nagios object files, along the lines of define service{ use generic-service hosts *,!xyz service_description PING check_command check_ping!100.0,20%!500.0,60% } meaning define ping for all hosts *except* 'xyz' I'm running into some wooly service definitions where I'd like to monitor, say, SSH for every host in a hostgroup except one. Right now it seems I can get away with specifying hostgroup_name foo,bar host_name a,b,c,d,e where a,b,c,d,e,f are part of hostgroup_name 'fud', but I can't use "hostgroup_name foo,bar,fud" since I don't want to monitor the SSH service on 'f' ... Are nested hostgroup definitions possible? That would help alleviate this problem. Thanks again, -=| Ben ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Jun 18 20:07:25 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 18 Jun 2003 14:07:25 -0400 Subject: Hundreds of Nagios procs Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBB5@NJ-2K-Email1.delphi-tech.com> Wow, that did the instant trick, I dropped it to 5 and have let it run for an hour or so. By this time normally I'd have ~10-20 nagios procs, but this thing is really chugging thru them! Thanks so much...the next thing to do would be to make the log more efficient by making a ram disk...what files should I include on a ram disk? -----Original Message----- From: Michael Durket [mailto:durket at stanford.edu] Sent: Wednesday, June 18, 2003 1:13 PM To: DTerrell at Delphi-Tech.com Subject: Re: Hundreds of Nagios procs Yes. On Wed, 18 Jun 2003 13:12:09 -0400 DTerrell at Delphi-Tech.com wrote: > I have mine to the default (10)...when you say lower, do you mean down from > 10? > > -----Original Message----- > From: Michael Durket [mailto:durket at stanford.edu] > Sent: Wednesday, June 18, 2003 1:11 PM > To: thomas.blidung at philips.com > Cc: DTerrell at Delphi-Tech.com > Subject: Re: Hundreds of Nagios procs > > > Gentlemen, > > I had exactly the same problem as a new Nagios user. As I kept > adding services for Nagios to monitor, I reached a point where the > scheduled check times were all random, and I had hundreds of nagios > processes > just sitting doing nothing. > > The solution for me was to change the service_reaper_frequency value > to a lower value. This eliminated the problem. As I added more services, > the problem would reappear - but each time I lowered the value and it went > away. > > I currently monitor about 438 http servers, and have the > service_reaper_frequency > value to set to 5 seconds. > > Michael Durket ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony_Brock at ous.edu Wed Jun 18 20:39:06 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Wed, 18 Jun 2003 11:39:06 -0700 Subject: Hundreds of Nagios procs Message-ID: I am also interested in this. I understand the concept and how to create/add the ram disk. However, how would you modify the archiving and configuration files to keep the Nagios archives: 1) available to the CGI scripts (and anything else that uses them) for reporting? 2) off the ramdisk for system reboots, preservation of state, etc? Tony >>> 06/18/03 11:07AM >>> Wow, that did the instant trick, I dropped it to 5 and have let it run for an hour or so. By this time normally I'd have ~10-20 nagios procs, but this thing is really chugging thru them! Thanks so much...the next thing to do would be to make the log more efficient by making a ram disk...what files should I include on a ram disk? -----Original Message----- From: Michael Durket [mailto:durket at stanford.edu] Sent: Wednesday, June 18, 2003 1:13 PM To: DTerrell at Delphi-Tech.com Subject: Re: Hundreds of Nagios procs Yes. On Wed, 18 Jun 2003 13:12:09 -0400 DTerrell at Delphi-Tech.com wrote: > I have mine to the default (10)...when you say lower, do you mean down from > 10? > > -----Original Message----- > From: Michael Durket [mailto:durket at stanford.edu] > Sent: Wednesday, June 18, 2003 1:11 PM > To: thomas.blidung at philips.com > Cc: DTerrell at Delphi-Tech.com > Subject: Re: Hundreds of Nagios procs > > > Gentlemen, > > I had exactly the same problem as a new Nagios user. As I kept > adding services for Nagios to monitor, I reached a point where the > scheduled check times were all random, and I had hundreds of nagios > processes > just sitting doing nothing. > > The solution for me was to change the service_reaper_frequency value > to a lower value. This eliminated the problem. As I added more services, > the problem would reappear - but each time I lowered the value and it went > away. > > I currently monitor about 438 http servers, and have the > service_reaper_frequency > value to set to 5 seconds. > > Michael Durket ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Wed Jun 18 21:12:16 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Wed, 18 Jun 2003 12:12:16 -0700 Subject: Service Status problem Message-ID: I recently set up Nagios and the services were all green and working yesterday now today they are all yellow and say no output. I have searched for clues in the news groups and have found none. I tried changing my check intervals etc in the services.cfg file to no avail.... TIA, Steve ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jun 18 21:18:30 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 18 Jun 2003 16:18:30 -0300 Subject: check_nt features Message-ID: <20030618191830.21290.qmail@linuxmail.org> NAGIOS 1.0 NAGIOS-PLUGINS 1.3.0 RH LINUX 8.0 Hi folks, I want to check some features in NT and 2000 Windows Servers. Features like CPU Load, Disk Space, processes and other stuff. I saw in one example the following syntax (checkcommands.cfg): define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s $USER5$ -v CPULOAD -l $ARG1$ } But this port, for me, isn't a well-known port. I search for IANA[1] and it tells me this: ibm-diradm 3538/tcp IBM Directory Server How/where can I connect in the server to get this things? Thanks... [1] - http://www.iana.org/assignments/port-numbers Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 18 22:13:31 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 18 Jun 2003 16:13:31 -0400 Subject: check_nt features References: <20030618191830.21290.qmail@linuxmail.org> Message-ID: <012701c335d6$171ac650$f805ff0a@tekniq> Nsclient documentation has the following in the readme.html command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_pagingfile]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%" -w $ARG1$ -c $ARG2$ See the readme.html for more info. -Jason ----- Original Message ----- From: "Rivanor P. Soares" To: Sent: Wednesday, June 18, 2003 15:18 Subject: [Nagios-users] check_nt features > NAGIOS 1.0 > NAGIOS-PLUGINS 1.3.0 > RH LINUX 8.0 > > Hi folks, > > I want to check some features in NT and 2000 Windows Servers. Features like CPU Load, Disk Space, processes and other stuff. > I saw in one example the following syntax (checkcommands.cfg): > > define command{ > command_name check_nt_cpuload > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s $USER5$ -v CPULOAD -l $ARG1$ > } > > But this port, for me, isn't a well-known port. I search for IANA[1] and it tells me this: > ibm-diradm 3538/tcp IBM Directory Server > > How/where can I connect in the server to get this things? > > Thanks... > > [1] - http://www.iana.org/assignments/port-numbers > > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tcarr at somanetworks.com Wed Jun 18 22:25:37 2003 From: tcarr at somanetworks.com (Tim Carr) Date: 18 Jun 2003 16:25:37 -0400 Subject: Multi-level service dependencies... not workin g In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCD5A@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCD5A@eentsvr40.ehvert.com> Message-ID: <1055967937.1511.163.camel@kamikiriad> That's a possibility, but i'd rather wait to see what Ethan has to say about it, mainly on the design side of things... Tim On Tue, 2003-06-17 at 10:08, Dean Bishop wrote: > Just passing by m e-mail...what about a passive check initiated by an > event_handler? > > > Not pretty but perhaps better than a bullet (experience speaking here, > bullets suck). > > > Just 2cents (or less). > > dean > > -----Original Message----- > From: Tim Carr [mailto:tcarr at somanetworks.com] > Sent: June 17, 2003 9:29 AM > To: Tom DE BLENDE > Cc: Stanley Hopcroft; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multi-level service dependencies... not working > > Oh dear. > > I had thought this was quite possible given the current revision of > Nagios; now i'm responsible for having Nagios implemented here where I > work, and i'm going to bite a nice silver bullet if it turns out this > dependency issue can't be fixed :( > > > If service A fails and is dependent service B, a check > > of service B should be forced immediately... At least, that's how I > > see it... Maybe something to suggest to our guru? > > Is there no way to do as he has suggested above? > > > Many thanks, > > Tim Carr > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at ftpb.com Wed Jun 18 22:23:59 2003 From: jjesse at ftpb.com (Jonathan Jesse) Date: Wed, 18 Jun 2003 16:23:59 -0400 Subject: New User to nagios, probably a simple question Message-ID: <2495C4CA32423F49ACB087C7A67B9729CA8C5B@mail.founderstrust.net> Thanks for the brief word of help, I know have nagios running and have attached the errors I am getting. I setup my httpd.conf file according to the docs: ScriptsAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all and then later in the config file: Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Any help? Jonathan Jesse Network Specialist Founders Trust Bank This page and any accompanying documents contain confidential information intended for a specific individual and purpose. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, June 16, 2003 10:13 AM To: Jonathan Jesse Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] New User to nagios, probably a simple question Jonathan> I have read manual and can't figure out what I am doing. I Jonathan> start nagios with the command /usr/local/nagios/bin/nagios -v Jonathan> /usr/local/nagios/bin/nagios.cfg . Where do I go about Jonathan> configuring this? Did I miss something in the manual? You edit the various .cfg files which will probably be in either /usr/local/nagios/etc or in the same directory as your nagios.cfg file. Choosing the first error mentioned in your post: Jonathan> Error: Dependent service specified in service dependency for service Jonathan> 'Website #2' on host 'nt1' is not defined anywhere! Note that "Website #2" is mentioned in dependencies.cfg-sample and "nt1" is mentioned in dependencies.cfg-sample, hostgroups.cfg-sample, hosts.cfg-sample and services.cfg-sample. Did you perhaps simply copy the .cfg-sample files to their .cfg counterparts? The .cfg-sample files are just that: samples. They demonstrate the syntax of the command language and show how the different files related to one another, but they almost certainly don't refer to actual hosts or services on your network. I suggest you start simple. copy hosts.cfg-sample to hosts.cfg and wipe out all the concrete host definitions (those without a "register 0" line) except the one for "nt1", then modify that one to match a machine actually on your network. Zero out dependencies.cfg. Modify hostgroups.cfg to have a single hostgroup which mentions the machine you defined in hosts.cfg. Then zero out services.cfg and add a single ping service for the machine mentioned in hosts.cfg. See if you can get that to work. To start with, ignore warnings and resolve errors one-by-one. (Once you get no errors it stops reporting warnings on the console, but they still show up in the log file.) Once you've got an error-free -v run, start Nagios and build from there, one service or one host at a time. After each little change, try another -v run to see if you've introduced new errors. I run Nagios manually using the provided daemon-init script and simply recall and execute sudo -u nagios ~nagios/bin/daemon-init reload when I want to check changes to my .cfg files. -- Skip Montanaro skip at pobox.com Check out Spambayes as a spam filter: http://spambayes.sf.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: screen2.JPG Type: image/jpeg Size: 180877 bytes Desc: screen2.JPG URL: From flima at slb.com Wed Jun 18 22:41:29 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Wed, 18 Jun 2003 17:41:29 -0300 Subject: cgi.cfg error on line 15 In-Reply-To: References: Message-ID: Hei Jacob, I had the same error the first time, that I tried to install it! After a lot of work I decide to rename it as nagios.cfg.old and copy the template file to (nagios.cfg-sample, created when you compile Nagios), to /usr/local/nagios/etc/nagios.cfg and ran nagios -v again (surprise, start to work!!!) After this, I customize it... I know, it's a little bit unusual way to solve, but... ...I was tired to try over and over! Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jacob Garrett Sent: quarta-feira, 18 de junho de 2003 13:46 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cgi.cfg error on line 15 Hello all, This one really has me baffled. I installed Nagios 1.0, set up the web interface and such. I'm able to log in just fine and I have all my cfg files setup and ready to go. I go to do a check before starting nagios with the -v tag. I'm getting the following error: Error: Unexpected Token or statement in file /usr/local/nagios/etc/cgi.cfg on line 15. As you know this line points to the main config file /usr/local/nagios/etc/nagios.cfg I have been over and over this a thousand time and I can't see why its throwing this error. I would very much appreciate any help that anyone can give me. Thanks a ton! ~Jacob Garrett jgarret1 at olivet.edu ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jun 18 23:23:49 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 18 Jun 2003 16:23:49 -0500 Subject: check_nt features Message-ID: This readme.html should be updated to reflect the new template-based configs. I'll gladly do it, but who should I send it to? jc > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, June 18, 2003 3:14 PM > To: Rivanor P. Soares; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nt features > > > Nsclient documentation has the following in the readme.html > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l $ARG1$ > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v UPTIME > command[check_nt_clientversion]=$USER1$/check_nt -H > $HOSTADDRESS$ -p 1248 -v > CLIENTVERSION > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > PROCSTATE -l $ARG1$ > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > MEMUSE -w $ARG1$ -c $ARG2$ > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_pagingfile]=$USER1$/check_nt -H > $HOSTADDRESS$ -p 1248 -v > COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f > %%" -w $ARG1$ -c $ARG2$ > > See the readme.html for more info. > > -Jason > ----- Original Message ----- > From: "Rivanor P. Soares" > To: > Sent: Wednesday, June 18, 2003 15:18 > Subject: [Nagios-users] check_nt features > > > > NAGIOS 1.0 > > NAGIOS-PLUGINS 1.3.0 > > RH LINUX 8.0 > > > > Hi folks, > > > > I want to check some features in NT and 2000 Windows > Servers. Features > like CPU Load, Disk Space, processes and other stuff. > > I saw in one example the following syntax (checkcommands.cfg): > > > > define command{ > > command_name check_nt_cpuload > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s > $USER5$ -v CPULOAD -l $ARG1$ > > } > > > > But this port, for me, isn't a well-known port. I search > for IANA[1] and > it tells me this: > > ibm-diradm 3538/tcp IBM Directory Server > > > > How/where can I connect in the server to get this things? > > > > Thanks... > > > > [1] - http://www.iana.org/assignments/port-numbers > > > > Rivanor P. Soares [w3b_kn0ws] > > LPIC-1, CCNA > > Sao Paulo - SP > > Brazil > > > > -- > > ______________________________________________ > > http://www.linuxmail.org/ > > Now with e-mail forwarding for only US$5.95/yr > > > > Powered by Outblaze > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jun 18 23:28:38 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 18 Jun 2003 16:28:38 -0500 Subject: generating machine support list Message-ID: <16112.55686.43500.642854@montanaro.dyndns.org> One of the things we do with our current homegrown monitor is to generate a "machine support list" periodically. It's pretty straightforward, giving the machine name and description, what its support window is and who the individual system engineers are, in priority order. That way, if an operator needs to contact someone about a machine or service problem (e.g., if a disgruntled user calls the machine room), they can easily look up who to call. Is there a way to get something like that out of Nagios? Even though I've defined host groups and escalation schedules, I still want the list of system engineers to say John, Paul, George, Ringo instead of Famous, LessFamous. Thx, -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 19 00:07:50 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 18 Jun 2003 15:07:50 -0700 (PDT) Subject: including config files Message-ID: <20030618220750.71884.qmail@web80509.mail.yahoo.com> Hello, I want to seperate my services files to make it easier to manage. I tried using the cfg_file=foo in my services.cfg but didnt like it. Anything implemented that would allow this in some sort of fashion? ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Jun 19 00:36:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 18 Jun 2003 17:36:59 -0500 Subject: PING service stuck in CRITICAL - can't unstick it Message-ID: <16112.59787.601385.328664@montanaro.dyndns.org> I was browsing through the availability reports and noticed while most machines are reported as being OK 99.996% of the time some machines are reported as being CRITICAL 99.996% of the time. They don't show up on the service problems or host problems pages though. Here are the state changes for the PING service on one host (somewhat abbreviated so as to be readable in 80 columns): Event Start Event End Duration State Info 06-07 06:17:58 06-07 06:17:59 1s OK First State Assumed 06-10 22:06:01 06-10 22:26:01 20m 0s WARN PING RTA = 110.19 ms 06-10 22:26:01 06-10 22:33:00 6m 59s OK PING OK 06-10 22:33:00 06-10 23:01:32 28m 32s WARN PING RTA = 123.74 ms 06-10 23:01:32 06-10 23:23:10 21m 38s CRIT Plugin timed out 06-10 23:23:10 06-10 23:30:51 7m 41s WARN PING Packet loss = 20% 06-10 23:30:51 06-10 23:36:30 5m 39s CRIT Plugin timed out 06-10 23:36:30 06-10 23:42:01 5m 31s WARN PING Packet loss = 20% 06-10 23:42:01 06-18 08:20:21 7d 8h 38m 20s CRIT Plugin timed out Now looking at today's nagios.log I see: % egrep ' ad;PING;' nagios.log [1055921331] SERVICE ALERT: ad;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 20%, RTA = 20.42 ms [1055921381] SERVICE ALERT: ad;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 18.91 ms [1055930982] SERVICE ALERT: ad;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 207.67 ms [1055931051] SERVICE ALERT: ad;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 20.96 ms [1055952733] SERVICE ALERT: ad;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 20%, RTA = 2.52 ms [1055952782] SERVICE ALERT: ad;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 1.88 ms The first timestamp is 06-18 02:28:51. The last is 06-18 11:13:02. Why is there no chit in the service availability report which reflects any of today's state changes? In fact, looking back at yesterday's log I see 24 entries for the PING service on that host. Lots of WARNING and OK transitions. The machine is clearly pinging fine at the moment: % ~nagios/libexec/check_ping -H ad.northwestern.edu -w 100,5% -c 200,10% -p 1 PING OK - Packet loss = 0%, RTA = 0.62 ms Is this an example of a flapping host? If so, shouldn't something show up on the service problems or host problems pages? One note of caution. I'm testing this out on my laptop which goes back and forth between work and home. When running at home, firewall and router access control lists prevent Nagios from performing some checks. I don't think the ping test on this particular host is among that bunch, but I can't be sure because I'm at work at the moment. Is there a virtual two-by-four I can use to whack Nagios in the head? I executed the "Schedule an immediate check" command from the web interface a couple times, but it appears not to have had any effect. perplexed-ly y'rs, -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Thu Jun 19 00:41:48 2003 From: solomolo90 at hotmail.com (solo molo) Date: Wed, 18 Jun 2003 22:41:48 +0000 Subject: Optimal Config for hundreds of passive checks Message-ID: I have nagios running on redhat 8.0 on a compaq DL360 with dual 800mhz procs and 1GB ram. Nagios receives 400 passive check results every 10 minutes and another 100+ active checks are perfomed every 5 minutes. My loads are never very high, but nagios gets way behind on processing the passive checks. The problem is especially bad when some of the passive checks return critical results. I've seen the delay as bad as 20 hours. That is when I check the log, nagios is receiving current passive results, but displaying results from 20 hours ago in the UI. I'd appreciate any suggestion as to how I can configure nagios to process the passive results more quickly. I'm using the following config: inter_check_delay_method=d #I can't use smart because I have a few checks that only run once every 24 hours and throw off the average. service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=5 sleep_time=1 _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jun 19 00:51:57 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 18 Jun 2003 15:51:57 -0700 Subject: generating machine support list References: <16112.55686.43500.642854@montanaro.dyndns.org> Message-ID: You can use the extended host info file's notes_url field to link to a url that contains that infomation. For example, an intranet's "on call" status page, or as an html file in the nagios system's own web server. Or, if you're okay being tight on space, you can just list them in icon_image_alt, and it'll show up when you drill down to that hosts' detail page, or hover the mouse over the icon in the overview screens. here's an example of both: define hostextinfo{ host_name www_sf14 notes_url http://nagios_server/oncall.html icon_image telephone.png icon_image_alt Jack, Bubba, Mary Sue, Billy Jo, cousin Riley, m' other cousin Riley statusmap_image telephone.gd2 } "Skip Montanaro" wrote in message news:16112.55686.43500.642854 at montanaro.dyndns.org... > > One of the things we do with our current homegrown monitor is to generate a > "machine support list" periodically. It's pretty straightforward, giving > the machine name and description, what its support window is and who the > individual system engineers are, in priority order. That way, if an > operator needs to contact someone about a machine or service problem (e.g., > if a disgruntled user calls the machine room), they can easily look up who > to call. > > Is there a way to get something like that out of Nagios? Even though I've > defined host groups and escalation schedules, I still want the list of > system engineers to say John, Paul, George, Ringo instead of Famous, > LessFamous. > > Thx, > > -- > Skip Montanaro > skip at pobox.com > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at billyshouse.com Thu Jun 19 01:13:14 2003 From: nagios at billyshouse.com (Billy) Date: Thu, 19 Jun 2003 09:13:14 +1000 Subject: Nagios 1.1 extended info problems Message-ID: Hi everyone, I've been stuck on this problem for days, and I can't shake it. I hope one of you can help me out... Trying to get extended host status info up and running with Nagios 1.1, running on FreeBSD 4.6.2-RELEASE. I'll attach all the configs, steps, etc shortly. I've trolled the mailing lists, newsgroups, and can't seem to find anything relating to my problem. What I'm trying to do is get the ext info working so I can run APAN to trend ping times, disk usage, etc. APAN is pretty much running ok, (can load that up direct) just need to put linking code onto the status pages so it's easy to click through. I've followed the nagios doc's to the letter (well, i think I have), even down to copying the hostextinfo direct off the page (and changing a few vars of course) It just doesn't seem to be reading the xedtemplate_config_file at all. I can pretty much fill that file with rubbish and it won't even crash out at runtime when verifying the configs. I've done some traces of the source code, and it doesn't seem to want to get past line 99 of xdata/xedtemplate.c. Now, I'm no expert in C, so the traces I've done are pretty simple (printf's), but it just doesn't seem to want to get past this bit.. temp_ptr=strtok(input,"="); if(temp_ptr==NULL) continue; <- seems to stop here, never gets to the next line to get the size, then process the config file... Here's the details of what I've done so far... Wasn't too sure how much info was needed, if you need any more configs let me know :) Thanks in advance, Bill (root at mail:etc) # uname -a FreeBSD box 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 23 13:30:50 EST 2002 root at box:/usr/obj/usr/src/sys/GENERIC i386 # Compile options ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios --with-nagios-group=nagios --with-template-extinfo --with-gd-lib=/share/lib --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin --with-htmurl=/nagios-remote # Run nagios with this command /share/nagios-remote/bin/nagios -c /share/nagios-remote/etc/nagios.cfg # the config file above contains xedtemplate_config_file=/share/nagios-remote/etc/hostextinfo.cfg # /share/nagios-remote/etc/hostextinfo.cfg define hostextinfo{ host_name copper notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image images/logos/unknown.gif icon_image_alt IntranetWare 4.11 vrml_image unknown.gif statusmap_image unknown.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } define serviceextinfo{ host_name copper service_description Log Anomalies notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2&service=Lo g+Anomalies icon_image unknown.gif icon_image_alt Security-Related Alerts } ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 19 02:25:05 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 19 Jun 2003 10:25:05 +1000 Subject: [1/2OT]Multi-tier client-server apps monitorin g w/Nagios integration?!? In-Reply-To: ; from Lane.Williams@jhuapl.edu on Wed, Jun 18, 2003 at 08:39:27AM -0400 References: Message-ID: <20030619102500.C8284@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, With respect, I think the orginal question was to _analyse_ end-user (total or measured) response times across a multi-tier application by accounting for the processing time consumed by components in each tier eg Average Total_response time for transaction = 25 seconds Avarage times in components % in DB 13% % in WAN 5% % in LAN 0.05% % in app server 45% % in web server 5% sort of analysis. A much cruder accounting is given by Packeteer/Netscout type apps, that break transaction times into server, network and total delays. I think this is very difficult, and apart from the original posters products, I have not seen any evidence that brand-name EMS can provide it either. The only way I can conceive of this being possible is with RMON2 probes deployed in each tier and monitoring response times for the protocol that is processed by that tier (eg web logic protocol, SQL*Net, HTTP, etc etc). Obviously this is an expensive solution but can be integrated into Nag with an SNMP poller type plugin (that interrogates each probe and consolidates the results). IBM come close with a rather clever approach that lets them capture web client response times (render times, delay times) by editing the published HTML on the fly to add some javascript to set timers in the customer browser. If anyone has ideas about how the individual delays can be captured, please post them. Getting the end user response times for multi-tier is tractable (with synthetic transactions, provided the transactions are _not_ DB updates) but this only gives the end user response time, not that of the component tiers. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drifter at zenfinity.com Thu Jun 19 07:18:52 2003 From: drifter at zenfinity.com (Peter Schobel) Date: Thu, 19 Jun 2003 01:18:52 -0400 Subject: newbie problem: service checks not executing Message-ID: <83F116C7-A215-11D7-80E5-000393677A36@zenfinity.com> I'm having a problem with nagios 1.1 on a debian system I'm running nagios with postgresql and servce checks do not seem to be executing at all - the scheduling queue is up to date - nagios says that service checks are enabled and is scheduling the service checks but no checks are happening I had everything running a couple days ago and working perfectly but something has happened or i have done something to cause this - at first it was displaying the stale check data from when it stopped working so i cleaned out the database table to see what would happen and now all service statuses just show pending checking the logfiles for apache, syslog and nagios as well as running postgres in debug mode is not revealing any errors - basically everything seems as though it is running fine the hostatus table in the database shows host status: pending, last update: current date/time and last_check and last_state_change both read 1969-12-31 19:00:00 for all hosts i've been fighting with this for a day and a half now and i know it must be something simple any help would be greatly appreciated Peter Schobel ***************************** In a world without walls or fences We will have no need for gates or windows ***************************** ***************************** Peter Schobel Network Administrator Porchlight.ca Unlimited Internet ***************************** In a world without walls or fences We will have no need for gates or windows ***************************** ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Thu Jun 19 08:08:41 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 19 Jun 2003 08:08:41 +0200 Subject: check_nt features References: <20030618191830.21290.qmail@linuxmail.org> Message-ID: <3EF15369.5050608@datavis.se> Have you installed NSClient on your Windowsmachine?? /FredrikW Rivanor P. Soares wrote: >NAGIOS 1.0 >NAGIOS-PLUGINS 1.3.0 >RH LINUX 8.0 > >Hi folks, > >I want to check some features in NT and 2000 Windows Servers. Features like CPU Load, Disk Space, processes and other stuff. >I saw in one example the following syntax (checkcommands.cfg): > >define command{ > command_name check_nt_cpuload > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s $USER5$ -v CPULOAD -l $ARG1$ > } > >But this port, for me, isn't a well-known port. I search for IANA[1] and it tells me this: >ibm-diradm 3538/tcp IBM Directory Server > >How/where can I connect in the server to get this things? > >Thanks... > >[1] - http://www.iana.org/assignments/port-numbers > >Rivanor P. Soares [w3b_kn0ws] >LPIC-1, CCNA >Sao Paulo - SP >Brazil > > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 datavis.se Thu Jun 19 08:07:54 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 19 Jun 2003 08:07:54 +0200 Subject: including config files References: <20030618220750.71884.qmail@web80509.mail.yahoo.com> Message-ID: <3EF1533A.6040502@datavis.se> Try to move 'fg_file=foo' to nagios.cfg.. /FredrikW Terry wrote: >Hello, > >I want to seperate my services files to make it easier >to manage. I tried using the cfg_file=foo in my >services.cfg but didnt like it. Anything implemented >that would allow this in some sort of fashion? > >===== >Terry > >__________________________________ >Do you Yahoo!? >SBC Yahoo! DSL - Now only $29.95 per month! >http://sbc.yahoo.com > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Thu Jun 19 08:24:47 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Thu, 19 Jun 2003 14:24:47 +0800 Subject: rrd tools Message-ID: is there any way that i can uninstall the rrdtools ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.dagemark at op5.se Thu Jun 19 09:04:45 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 19 Jun 2003 09:04:45 +0200 Subject: True64 References: Message-ID: <1ffb01c33631$10bdafb0$0300a8c0@wheeljd> Hello Is there anyone out there that has compiled nagios-plugins-1.3.0 and nrpe-1.8 for True64. Im working with it now but I have some problems so if someone has binaries I would be very thankful. Regards Johannes Dagemark ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BarryD at chw.edu.au Thu Jun 19 09:02:50 2003 From: BarryD at chw.edu.au (Barry Darnton) Date: Thu, 19 Jun 2003 17:02:50 +1000 Subject: Email when Warning and Page when critical Message-ID: <1CF2E2E5BB36D5119E7A0008C791F37403C570C4@simba.kids> I have been running netsaint/nagios for around 12 months now and have had very little problems with it. Now I want to change the way that it works and I am sure that I had it running when I first installed it but for the life of me I cannot remember how now (If I ever had it working that is) We can notify either by email using "notify_by_email" or pager by using "page_group" in the servie and host notification commands. Both of these are working without any problem, however what I am trying to do is configure the system to E-mail warnings and page critical events. I can configure it to do either or both for any given service or host but I am not able to figure out how to do one or the other based on the status of the service. For example if I have 20G of disk space available on a system it returns a status of Warning and notifies me by Email, if the disk space get down to 10 meg I want the status to be Critical and to be paged. The mailing, paging, warning and critical status I can do, but not different notifications based on this status. Anyone got the answer to this. Barry -------------- next part -------------- An HTML attachment was scrubbed... URL: From T.Brettschneider at pinkroccade.com Thu Jun 19 10:19:53 2003 From: T.Brettschneider at pinkroccade.com (Brettschneider Theo) Date: Thu, 19 Jun 2003 10:19:53 +0200 Subject: Problems configuring Nagio s for AIX 4.3.3 Message-ID: <3BE93FC8D8619B47BCB7D5920DF3F17E1396AE@ASP1EC1VS1.ASP1.LAN> We used the nagios-plugins-1.3.0 sources in order to get the right executables for AIX 4.3.3. At first we did get a lot of syntax errors during the make all part, following the line cc -DHAVE_CONFIG_H ...............check_nt.c It were all kind of errors like "possible missing '{' ", "missing type of declaration", "the character # is not a valid C source character", etc, etc. I edited the configure file, by hacking out the part of check_nt. Running configure/ make all/ make install competes now without any faults. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rvdmerwe at mhg.co.za Thu Jun 19 10:19:55 2003 From: Rvdmerwe at mhg.co.za (Rabie van der Merwe) Date: Thu, 19 Jun 2003 10:19:55 +0200 Subject: Escaping $OUTPUT$ Message-ID: <39B69D20AF5DD611BA7F00306E1E8F2E01314190@cptexc02.bankmed.co.za> Hi, I need to escape the "$OUTPUT$" as one of my checks returns a "\" ( c:\ - total: 2.00 Gb - used: 2.00 Gb (100%) - free 0.00 Gb (0%) ) and this causes printf to print up to the "\" and then stop. Anyone know how I can escape the output of the variable? Regards Rabie define command{ command_name notify-by-email command_line /usr/bin/printf "%b" " ***** Nagios *****\n\nDate/Time: $DATETIME$\n\nNotification Type: $NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "*$NOTIFICATIONTYPE$ alert* - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.dagemark at op5.se Thu Jun 19 10:32:27 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 19 Jun 2003 10:32:27 +0200 Subject: Escaping $OUTPUT$ References: <39B69D20AF5DD611BA7F00306E1E8F2E01314190@cptexc02.bankmed.co.za> Message-ID: <209001c3363d$515cb140$0300a8c0@wheeljd> use /bin/echo -e instead of /usr/bin/printf "%b" Regards Johannes Dagemark ----- Original Message ----- From: "Rabie van der Merwe" To: Sent: Thursday, June 19, 2003 10:19 AM Subject: [Nagios-users] Escaping $OUTPUT$ Hi, I need to escape the "$OUTPUT$" as one of my checks returns a "\" ( c:\ - total: 2.00 Gb - used: 2.00 Gb (100%) - free 0.00 Gb (0%) ) and this causes printf to print up to the "\" and then stop. Anyone know how I can escape the output of the variable? Regards Rabie define command{ command_name notify-by-email command_line /usr/bin/printf "%b" " ***** Nagios *****\n\nDate/Time: $DATETIME$\n\nNotification Type: $NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "*$NOTIFICATIONTYPE$ alert* - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ } ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 19 11:09:20 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 19 Jun 2003 10:09:20 +0100 Subject: Nagios 1.1 -- tac.cgi cosmetic problem? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137C1@jessica.herefordshire.gov.uk> Here's a diff which leaves the line numbers in the source the same and fixes the problem. --- tac.c.old 2003-06-05 15:32:35.000000000 +0100 +++ tac.c.new 2003-06-05 15:32:44.000000000 +0100 @@ -1220,10 +1220,10 @@ printf("\n"); printf("\n"); - /* + printf("\n"); printf("\n"); - */ + printf("\n"); --------------------------------------------- Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Laurent Vaills [mailto:laurent.vaills at dms.at] > Sent: 18 June 2003 15:44 > To: Carroll, Jim P ""[Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > Hi all. > > Is it possible to make a new release for that bug (ok it's not a > blocking bug, just annoying...) ? > > Why about a release Nagios 1.1a or 1.2 ? > > Laurent > > On Wed, 2003-06-04 at 23:27, Carroll, Jim P [Contractor] wrote: > > Yeah, that's what I ended up doing to 'fix' the problem. > > > > I did a diff on the 1.0 and 1.1 versions of tac.c, but > can't see much > > (other than the change of a /* to a */, which I know could make a > > world of difference). > > > > jc > > > > > > > -----Original Message----- > > > From: George Paschos [mailto:paschos at cosmoline.com] > > > Sent: Wednesday, June 04, 2003 1:31 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi > cosmetic problem? > > > > > > > > > > > > I have the same behavior. > > > To get over it I just used the 1.0 version of tac.cgi without any > > > problems (yet..) > > > > > > Regards, > > > george > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > > john.barro at shaw.ca > > > Sent: Wednesday, June 04, 2003 3:27 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios 1.1 -- tac.cgi > cosmetic problem? > > > Importance: Low > > > > > > I experience the same results after installing Nagios 1.1 > on my Redhat > > > 7.3 system. I was previously running version 1.0 which did not > > > experience that symptom. I did not examine any > directories nor was I > > > going to worry about it as I figured it may have been > user initiated. > > > > > > John > > > > > > ----- Original Message ----- > > > From: "Carroll, Jim P [Contractor]" > > > Date: Tuesday, June 3, 2003 5:35 pm > > > Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > > > > > Greets all, > > > > > > > > I installed Nagios 1.1 today, and noticed a slight > > > > cosmetic change. I don't think this was intentional. > > > > I examined what's in the ../sbin directory, and all > > > > the .cgi files have a timestamp from 10:48am this morning. > > > > > > > > I took a screencap (see attached). Take a look at the > > > > mid-screen, under "Services". It lists "26 Critical", > > > > but spans all 5 table colums, leaving Warning, Unknown, > > > > Ok and Pending pushed off to the side. > > > > > > > > Am I the only one experiencing this? > > > > > > > > (In case you noticed it, yes, I've still got the Authenticate > > > > tweak in the sidebar. I reinstated it after making a backup > > > > copy of that file and comparing it to the 1.0 version. > > > > Otherwise, all the .html and .cgi files which should have been > > > > installed appear to be there, thanks to the "make install" > > > > after compilation.) > > > > > > > > If I've managed to fat-finger something, let me know. :) > > > > > > > > jc > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > > > TotalView, The best > > > thread debugger on the planet. Designed with thread > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of > > > TotalView, The best > > > thread debugger on the planet. Designed with thread > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of > TotalView, The best > > thread debugger on the planet. Designed with thread > debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.blidung at philips.com Thu Jun 19 11:15:41 2003 From: thomas.blidung at philips.com (thomas.blidung at philips.com) Date: Thu, 19 Jun 2003 11:15:41 +0200 Subject: Hundreds of Nagios procs Message-ID: Hi, I just tried out what Michael said. It seems to work now. I changed service_reaper_frequency from 10 to 5. But this seems not to be the real solution for this problem. Belonging to the discussion about hardware. I'm using an P-III with 866 MHz and 1GB ram. In the past I did controling a network with netsaint about 500 service checks every 3 minutes. This was build on an Celeron 400 and 128 MB and the same hardware was acting as an SNMP colletor for MRTG. -- No Problems. Now I'm switched to Nagios on a new hardware and completly new software an only 250 checks only checking in 5 minutes and I ran into the trouble. tom Thomas Blidung thomas.blidung at philips.com Philips Research Hamburg Tel. 5078-2838 To: durket at stanford.edu Thomas Blidung/HBR/RESEARCH/PHILIPS at EMEA1 cc: DTerrell at Delphi-Tech.com Subject: RE: Hundreds of Nagios procs DTerrell at Delphi-Tech.com Classification: 18.06.2003 19:12 I have mine to the default (10)...when you say lower, do you mean down from 10? -----Original Message----- From: Michael Durket [mailto:durket at stanford.edu] Sent: Wednesday, June 18, 2003 1:11 PM To: thomas.blidung at philips.com Cc: DTerrell at Delphi-Tech.com Subject: Re: Hundreds of Nagios procs Gentlemen, I had exactly the same problem as a new Nagios user. As I kept adding services for Nagios to monitor, I reached a point where the scheduled check times were all random, and I had hundreds of nagios processes just sitting doing nothing. The solution for me was to change the service_reaper_frequency value to a lower value. This eliminated the problem. As I added more services, the problem would reappear - but each time I lowered the value and it went away. I currently monitor about 438 http servers, and have the service_reaper_frequency value to set to 5 seconds. Michael Durket ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Thu Jun 19 11:16:55 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Thu, 19 Jun 2003 11:16:55 +0200 Subject: Compiling nagios plugins with ssl-support Message-ID: <3EF17F87.1000101@mobilcom.de> Hi, I'm trying to recompile Nagios Plugins 1.3.0 with Openssl-Support. IMHO should a # ./configure --with-openssl=/usr/share/ssl do. But calling a plugin as follows doesn't satisfy me .... monitor2-lx:/usr/local/nagios/libexec # ./check_http -S -H 10.10.139.177 check_http: invalid option - SSL is not available monitor2-lx:/usr/local/nagios/libexec # ./check_http -V check_http (nagios-plugins 1.3.0) 1.24 What went wrong? Regards, Jens ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Jun 19 11:30:10 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 19 Jun 2003 10:30:10 +0100 Subject: True64 Message-ID: <53104E20A25CD411B556009027E50636079A9C83@pnnemp02.pn.egg.com> I don't know about nrpe, but nagios-plugins 1.3.0 should work on Tru64, but you have to run configure with --with-df-command="/sbin/df -Pk". Details on http://nagiosplug.sourceforge.net/snapshot/. If you still have problems, output of the configure and make would be helpful. > -----Original Message----- > From: Johannes Dagemark [SMTP:johannes.dagemark at op5.se] > Sent: Thursday, June 19, 2003 8:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] True64 > > Hello > > Is there anyone out there that has compiled nagios-plugins-1.3.0 and > nrpe-1.8 > for True64. > > Im working with it now but I have some problems so if someone has binaries > I > would be very thankful. > > Regards > Johannes Dagemark > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Jun 19 11:28:02 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 19 Jun 2003 10:28:02 +0100 Subject: Problems configuring Nagio s for AIX 4.3.3 Message-ID: <53104E20A25CD411B556009027E50636079A9C82@pnnemp02.pn.egg.com> Theo, Thanks for the report. This has already been fixed and will be released in the upcoming nagios-plugins 1.3.1. Details at http://sourceforge.net/forum/forum.php?forum_id=254122 Ton > -----Original Message----- > From: Brettschneider Theo [SMTP:T.Brettschneider at pinkroccade.com] > Sent: Thursday, June 19, 2003 9:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems configuring Nagio s for AIX 4.3.3 > > > We used the nagios-plugins-1.3.0 sources in order to get the right > executables for AIX 4.3.3. > > At first we did get a lot of syntax errors during the make all part, > following the line cc -DHAVE_CONFIG_H ...............check_nt.c > > It were all kind of errors like "possible missing '{' ", "missing type of > declaration", "the character # is not a valid C source character", etc, > etc. > > I edited the configure file, by hacking out the part of check_nt. > > Running configure/ make all/ make install competes now without any faults. > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthias.Schuendehuette at siemens.com Thu Jun 19 11:58:47 2003 From: Matthias.Schuendehuette at siemens.com (Schuendehuette Matthias) Date: Thu, 19 Jun 2003 11:58:47 +0200 Subject: Host notification Message-ID: <07B6FA0943AED311A0000050DA71DFC0038886BA@blns216a.bln7.siemens.de> Hi, I have some difficulties to get the logic behind the host configuration/notification: I may define several 'notification_*' parameters but no recipients. *WHO* gets these notifications? regards Matthias Sch?ndeh?tte SIEMENS AG, PTD M OI IT Tel. +49-30-386 29957 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From egopfe at hotmail.com Thu Jun 19 12:59:56 2003 From: egopfe at hotmail.com (Lombardo Federico) Date: Thu, 19 Jun 2003 12:59:56 +0200 Subject: nagios 1.1 SegFaults Message-ID: I've correctly compiled and installed my Nagios 1.1 under my debian running kernel 2.4.21, when I start with -v option, or without any option it i receive a segfault! Starting normal mode, -d /etc/nagios.cfg will work. Best Regards, Federico Here the strace process: execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0 uname({sys="Linux", node="tbox", ...}) = 0 brk(0) = 0x8090ed0 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=43905, ...}) = 0 old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 close(3) = 0 open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0 old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000 mprotect(0x40039000, 99104, PROT_NONE) = 0 old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1c000) = 0x40039000 close(3) = 0 open("/usr/lib/libperl.so.5.8", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\366"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40052000 old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40053000 mprotect(0x40148000, 47808, PROT_NONE) = 0 old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf5000) = 0x40148000 old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000 mprotect(0x40156000, 2732, PROT_NONE) = 0 old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40156000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40157000 mprotect(0x40177000, 2640, PROT_NONE) = 0 old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f000) = 0x40177000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40178000 mprotect(0x40184000, 273952, PROT_NONE) = 0 old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x40184000 old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0 old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401c7000 mprotect(0x402cf000, 32292, PROT_NONE) = 0 old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x402cf000 old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000 close(3) = 0 open("/lib/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\t\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d7000 mprotect(0x402dc000, 160448, PROT_NONE) = 0 old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x402dc000 old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000 close(3) = 0 open("/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40304000 old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000 mprotect(0x40310000, 5260, PROT_NONE) = 0 old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x40310000 close(3) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000 mprotect(0x40322000, 10912, PROT_NONE) = 0 old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x40322000 old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000 close(3) = 0 munmap(0x40012000, 43905) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 getpid() = 10179 rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefmit at comcast.net Thu Jun 19 13:27:18 2003 From: stefmit at comcast.net (stefmit) Date: Thu, 19 Jun 2003 06:27:18 -0500 Subject: [1/2OT]Multi-tier client-server apps monitorin g w/Nagios integration?!? In-Reply-To: <20030619102500.C8284@IPAustralia.Gov.AU> References: <20030619102500.C8284@IPAustralia.Gov.AU> Message-ID: <200306190627.18867.stefmit@comcast.net> The statements below are correct. For further discussion, let's take a very popular example: Oracle applications. This environment is made usually out of (the simplest way) a web/forms based server, to which the clients connect, with a database server "behind" it. At first appearance, it may look like something easily achievebale (the measurements, that is): one would just have to place a sniffer at each point of the multi-tier path, then consolidate the info. BUT (at least as far as my experience goes) the client-web/forms communication (which could be easily identified by simple methods such as the socket pair (IP and TCP port)) is not that easily tracked in the backend, simply because the web/forms <--> database communication takes place on behalf of ALL clients connecting to the from end, with no easy way to segregate. How would I do it? The only way I could see this being feasible would be to gain the knowledge (from Oracle) on what identifies a specific session (attention: even a username is not good, as the web/forms <--> database may use its own appmanager to talk on behalf of all front-end clients, thus no segregation possible this way), INSIDE the payload of a TCP packet, and have the sniffer (perhaps a sort of rule written for Snort - or at least this is what I was planning to do) filter for those specific entries, in order to distinguish in all that traffic what belongs to whom. Even if the above would be feasible (and - let's say - perhaps even without Oracle's support, as someone may trace long enough such traffic as to identify common patterns, and thus extract the identification for sessions?!?), the challenge still remains to consolidate this info with the one coming from the client <--> web/forms server trace. And this is what I was asking to begin with: who - among our peers on this list - has been able to achieve this using Nagios (and - perhaps - some plugins)? There was one response earlier this week from someone who stated having done just that. Would this person be kind enough to share (if not specific plugins, if they would be considered "unsharable" with our community), at least the fundamental concepts having allowed them to achieve what I described above? Thx, Stef On Wednesday 18 June 2003 07:25 pm, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > With respect, I think the orginal question was to _analyse_ end-user > (total or measured) response times across a multi-tier application by > accounting for the processing time consumed by components in each tier > eg > > Average Total_response time for transaction = 25 seconds > > Avarage times in components > > % in DB 13% > % in WAN 5% > % in LAN 0.05% > % in app server 45% > % in web server 5% > > sort of analysis. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 19 13:53:58 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 19 Jun 2003 07:53:58 -0400 Subject: Escaping $OUTPUT$ In-Reply-To: <209001c3363d$515cb140$0300a8c0@wheeljd> References: <39B69D20AF5DD611BA7F00306E1E8F2E01314190@cptexc02.bankmed.co.za> <209001c3363d$515cb140$0300a8c0@wheeljd> Message-ID: <1056023638.2145.2.camel@miles.debisschop.net> On Thu, 2003-06-19 at 04:32, Johannes Dagemark wrote: > use /bin/echo -e instead of /usr/bin/printf "%b" or /usr/bin/printf " ***** Nagios *****\n\nDate/Time: $DATETIME$\n\nNotification Type: $NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nAdditional Info:\n\n %s" "$OUTPUT$" | /bin/mail -s "*$NOTIFICATIONTYPE$ alert* - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ This has the added virtue of being portable and POSIX compliant > Regards > Johannes Dagemark > ----- Original Message ----- > From: "Rabie van der Merwe" > To: > Sent: Thursday, June 19, 2003 10:19 AM > Subject: [Nagios-users] Escaping $OUTPUT$ > > > Hi, > > I need to escape the "$OUTPUT$" as one of my checks returns a "\" ( c:\ - > total: 2.00 Gb - used: 2.00 Gb (100%) - free 0.00 Gb (0%) ) > and this causes printf to print up to the "\" and then stop. > > Anyone know how I can escape the output of the variable? > > Regards > Rabie > > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" " ***** Nagios > *****\n\nDate/Time: $DATETIME$\n\nNotification Type: > $NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nAdditional Info:\n\n$OUTPUT$" | > /bin/mail -s "*$NOTIFICATIONTYPE$ alert* - $HOSTNAME$/$SERVICEDESC$ is > $SERVICESTATE$" $CONTACTEMAIL$ > } > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jun 19 15:06:08 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 19 Jun 2003 09:06:08 -0400 Subject: newbie problem: service checks not executing Message-ID: <5.2.1.1.0.20030619090010.01b82e68@mail.capband.net> Peter, I just joined the list and saw your message on the archives, so excuse the format of my reply. Your original email said: ======================== I'm having a problem with nagios 1.1 on a debian system I'm running nagios with postgresql and servce checks do not seem to be executing at all - the scheduling queue is up to date - nagios says that service checks are enabled and is scheduling the service checks but no checks are happening ... i've been fighting with this for a day and a half now and i know it must be something simple ======================== I've had similar problems with my install of Nagios. I've found the best way to get Nagios to recheck all hosts is to stop the service, go into $INSTALLPATH/nagios/var and delete all *.log files as well as status.sav, and restart Nagios. This also helps with hosts where the service (say ping) returns properly but the *host* definition fails all the time. It's not scientifically proven to work, but my experience shows that it does at least get the checks to *run*. Another method is to edit services/hosts/whatever.cfg and restart Nagios. If you don't change those files, Nagios tends not to recheck some hosts, even if you left it off for a whole day. I'd love to know a better way to get Nagios to completely recheck and dump log files for a specific host, if you know how. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Thu Jun 19 15:30:16 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 19 Jun 2003 09:30:16 -0400 Subject: check_nt features References: Message-ID: <017d01c33666$ec0a54d0$f805ff0a@tekniq> My guess would be the email address posted on http://nsclient.ready2run.nl/ which is rubiyz1047 at swyz.com -Jason ----- Original Message ----- From: "Carroll, Jim P [Contractor]" To: Sent: Wednesday, June 18, 2003 17:23 Subject: RE: [Nagios-users] check_nt features This readme.html should be updated to reflect the new template-based configs. I'll gladly do it, but who should I send it to? jc > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, June 18, 2003 3:14 PM > To: Rivanor P. Soares; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nt features > > > Nsclient documentation has the following in the readme.html > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l $ARG1$ > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v UPTIME > command[check_nt_clientversion]=$USER1$/check_nt -H > $HOSTADDRESS$ -p 1248 -v > CLIENTVERSION > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > PROCSTATE -l $ARG1$ > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > MEMUSE -w $ARG1$ -c $ARG2$ > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_pagingfile]=$USER1$/check_nt -H > $HOSTADDRESS$ -p 1248 -v > COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f > %%" -w $ARG1$ -c $ARG2$ > > See the readme.html for more info. > > -Jason > ----- Original Message ----- > From: "Rivanor P. Soares" > To: > Sent: Wednesday, June 18, 2003 15:18 > Subject: [Nagios-users] check_nt features > > > > NAGIOS 1.0 > > NAGIOS-PLUGINS 1.3.0 > > RH LINUX 8.0 > > > > Hi folks, > > > > I want to check some features in NT and 2000 Windows > Servers. Features > like CPU Load, Disk Space, processes and other stuff. > > I saw in one example the following syntax (checkcommands.cfg): > > > > define command{ > > command_name check_nt_cpuload > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s > $USER5$ -v CPULOAD -l $ARG1$ > > } > > > > But this port, for me, isn't a well-known port. I search > for IANA[1] and > it tells me this: > > ibm-diradm 3538/tcp IBM Directory Server > > > > How/where can I connect in the server to get this things? > > > > Thanks... > > > > [1] - http://www.iana.org/assignments/port-numbers > > > > Rivanor P. Soares [w3b_kn0ws] > > LPIC-1, CCNA > > Sao Paulo - SP > > Brazil > > > > -- > > ______________________________________________ > > http://www.linuxmail.org/ > > Now with e-mail forwarding for only US$5.95/yr > > > > Powered by Outblaze > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Thu Jun 19 15:35:12 2003 From: dpa at ision.net (dpareigis) Date: 19 Jun 2003 13:35:12 -0000 Subject: NPRE Compilation Issues... In-Reply-To: <20030609200521.10012.qmail@pod-163.dolphin-server.co.uk> References: <20030609200521.10012.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030619133512.13357.qmail@pod-163.dolphin-server.co.uk> Hello, all you need is to change in the source u_int32_t into uint32_t and then new ./configure ..... ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Thu Jun 19 15:42:26 2003 From: dpa at ision.net (dpareigis) Date: 19 Jun 2003 13:42:26 -0000 Subject: nsca-2.3 on Solaris Message-ID: <20030619134226.14707.qmail@pod-163.dolphin-server.co.uk> Hello, You can change in the sourcefiles all u_int32_t into uint32_t that seems to help. bye friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Jun 19 15:43:38 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 19 Jun 2003 15:43:38 +0200 Subject: nagios 1.1 SegFaults In-Reply-To: References: Message-ID: <200306191543.38269.roy@karlsbakk.net> If you've got the core file try gdb nagios core.xxx bt and send the output On Thursday 19 June 2003 12:59, Lombardo Federico wrote: > I've correctly compiled and installed my Nagios 1.1 under my debian running > kernel 2.4.21, when I start with -v option, or without any option it i > receive a segfault! > Starting normal mode, -d /etc/nagios.cfg will work. > > Best Regards, > > Federico > > Here the strace process: > > execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0 > > uname({sys="Linux", node="tbox", ...}) = 0 > > brk(0) = 0x8090ed0 > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/etc/ld.so.cache", O_RDONLY) = 3 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=43905, ...}) = 0 > > old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 > > close(3) = 0 > > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0 > > old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000 > > mprotect(0x40039000, 99104, PROT_NONE) = 0 > > old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x1c000) = 0x40039000 > > close(3) = 0 > > open("/usr/lib/libperl.so.5.8", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\366"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x40052000 > > old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x40053000 > > mprotect(0x40148000, 47808, PROT_NONE) = 0 > > old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xf5000) = 0x40148000 > > old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000 > > close(3) = 0 > > open("/lib/libdl.so.2", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 > > old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000 > > mprotect(0x40156000, 2732, PROT_NONE) = 0 > > old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x1000) = 0x40156000 > > close(3) = 0 > > open("/lib/libm.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 > > old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40157000 > > mprotect(0x40177000, 2640, PROT_NONE) = 0 > > old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x1f000) = 0x40177000 > > close(3) = 0 > > open("/lib/libpthread.so.0", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 > > old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40178000 > > mprotect(0x40184000, 273952, PROT_NONE) = 0 > > old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xc000) = 0x40184000 > > old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000 > > close(3) = 0 > > open("/lib/libc.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0 > > old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x401c7000 > > mprotect(0x402cf000, 32292, PROT_NONE) = 0 > > old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x107000) = 0x402cf000 > > old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000 > > close(3) = 0 > > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\t\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 > > old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d7000 > > mprotect(0x402dc000, 160448, PROT_NONE) = 0 > > old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x4000) = 0x402dc000 > > old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000 > > close(3) = 0 > > open("/lib/libz.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x40304000 > > old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000 > > mprotect(0x40310000, 5260, PROT_NONE) = 0 > > old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xb000) = 0x40310000 > > close(3) = 0 > > open("/lib/libnsl.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 > > old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000 > > mprotect(0x40322000, 10912, PROT_NONE) = 0 > > old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x10000) = 0x40322000 > > old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000 > > close(3) = 0 > > munmap(0x40012000, 43905) = 0 > > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 > > getpid() = 10179 > > rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > = 0 > > rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = > 0 > > rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = > 0 > > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0 > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > +++ killed by SIGSEGV +++ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Thu Jun 19 15:54:56 2003 From: dpa at ision.net (dpareigis) Date: 19 Jun 2003 13:54:56 -0000 Subject: Cant compile on Solaris In-Reply-To: <200303141501.53812.mlitzler@tisztanet.hu> References: <200303141501.53812.mlitzler@tisztanet.hu> Message-ID: <20030619135456.17479.qmail@pod-163.dolphin-server.co.uk> Hello, try to compile with such string: root at test# LIBS=-liconv ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include It seems to help. Bye friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Thu Jun 19 16:01:26 2003 From: dpa at ision.net (dpareigis) Date: 19 Jun 2003 14:01:26 -0000 Subject: secure nrpe-2.0b4 Message-ID: <20030619140126.18822.qmail@pod-163.dolphin-server.co.uk> Hello, How ist that to realize? I get on my Sparc (Solaris 9) CHECK_NRPE: Error - Could not complete SSL handshake. Thanks. Friend. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Jun 19 16:11:02 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 19 Jun 2003 09:11:02 -0500 Subject: nsca-2.3 on Solaris Message-ID: <16113.50294.918231.736290@montanaro.dyndns.org> You can change in the sourcefiles all u_int32_t into uint32_t that seems to help. That got me to thinking there must be a way to worm around this problem with configure. Sure enough, there is an AC_DEFINE_INTEGER_BITS autoconf macro available: http://www.gnu.org/software/ac-archive/htmldoc/ac_define_integer_bits.html The version of autoconf on my Mac doesn't have it, but the above URL kindly includes the source which I pasted into configure.in along with this call: AC_DEFINE_INTEGER_BITS(u_int32_t, unsigned long, unsigned int) -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From egopfe at hotmail.com Thu Jun 19 16:13:02 2003 From: egopfe at hotmail.com (Lombardo Federico) Date: Thu, 19 Jun 2003 16:13:02 +0200 Subject: nagios 1.1 SegFaults References: <200306191543.38269.roy@karlsbakk.net> Message-ID: My segfault does not generate a core. Btw I've recompiled all without embeeded-perl support and now It never segfault. What to think ? ----- Original Message ----- From: "Roy Sigurd Karlsbakk" To: "Lombardo Federico" ; Sent: Thursday, June 19, 2003 3:43 PM Subject: Re: [Nagios-users] nagios 1.1 SegFaults If you've got the core file try gdb nagios core.xxx bt and send the output On Thursday 19 June 2003 12:59, Lombardo Federico wrote: > I've correctly compiled and installed my Nagios 1.1 under my debian running > kernel 2.4.21, when I start with -v option, or without any option it i > receive a segfault! > Starting normal mode, -d /etc/nagios.cfg will work. > > Best Regards, > > Federico > > Here the strace process: > > execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0 > > uname({sys="Linux", node="tbox", ...}) = 0 > > brk(0) = 0x8090ed0 > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/etc/ld.so.cache", O_RDONLY) = 3 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=43905, ...}) = 0 > > old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 > > close(3) = 0 > > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0 > > old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000 > > mprotect(0x40039000, 99104, PROT_NONE) = 0 > > old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x1c000) = 0x40039000 > > close(3) = 0 > > open("/usr/lib/libperl.so.5.8", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\366"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x40052000 > > old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x40053000 > > mprotect(0x40148000, 47808, PROT_NONE) = 0 > > old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xf5000) = 0x40148000 > > old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000 > > close(3) = 0 > > open("/lib/libdl.so.2", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 > > old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000 > > mprotect(0x40156000, 2732, PROT_NONE) = 0 > > old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x1000) = 0x40156000 > > close(3) = 0 > > open("/lib/libm.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 > > old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40157000 > > mprotect(0x40177000, 2640, PROT_NONE) = 0 > > old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x1f000) = 0x40177000 > > close(3) = 0 > > open("/lib/libpthread.so.0", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 > > old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40178000 > > mprotect(0x40184000, 273952, PROT_NONE) = 0 > > old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xc000) = 0x40184000 > > old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000 > > close(3) = 0 > > open("/lib/libc.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0 > > old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x401c7000 > > mprotect(0x402cf000, 32292, PROT_NONE) = 0 > > old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x107000) = 0x402cf000 > > old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000 > > close(3) = 0 > > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\t\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 > > old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d7000 > > mprotect(0x402dc000, 160448, PROT_NONE) = 0 > > old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x4000) = 0x402dc000 > > old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000 > > close(3) = 0 > > open("/lib/libz.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., > 1024) = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x40304000 > > old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000 > > mprotect(0x40310000, 5260, PROT_NONE) = 0 > > old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xb000) = 0x40310000 > > close(3) = 0 > > open("/lib/libnsl.so.1", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000"..., 1024) > = 1024 > > fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 > > old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000 > > mprotect(0x40322000, 10912, PROT_NONE) = 0 > > old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x10000) = 0x40322000 > > old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000 > > close(3) = 0 > > munmap(0x40012000, 43905) = 0 > > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 > > getpid() = 10179 > > rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > = 0 > > rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = > 0 > > rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) = > 0 > > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0 > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > +++ killed by SIGSEGV +++ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 19 16:21:00 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 19 Jun 2003 15:21:00 +0100 Subject: check_nt features Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955137C2@jessica.herefordshire.gov.uk> Nah, you don't want to do that... Look here instead: http://support.tsmgsoftware.com/ Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: 19 June 2003 14:30 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nt features > > > My guess would be the email address posted on > http://nsclient.ready2run.nl/ > which is rubiyz1047 at swyz.com > > -Jason > > ----- Original Message ----- > From: "Carroll, Jim P [Contractor]" > To: > Sent: Wednesday, June 18, 2003 17:23 > Subject: RE: [Nagios-users] check_nt features > > > This readme.html should be updated to reflect the new > template-based configs. I'll gladly do it, but who should > I send it to? > > jc > > > > -----Original Message----- > > From: Jason Lancaster [mailto:jlancaster at affinity.com] > > Sent: Wednesday, June 18, 2003 3:14 PM > > To: Rivanor P. Soares; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_nt features > > > > > > Nsclient documentation has the following in the readme.html > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > CPULOAD -l $ARG1$ > > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p > > 1248 -v UPTIME > > command[check_nt_clientversion]=$USER1$/check_nt -H > > $HOSTADDRESS$ -p 1248 -v > > CLIENTVERSION > > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > PROCSTATE -l $ARG1$ > > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > SERVICESTATE -l $ARG1$ > > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > MEMUSE -w $ARG1$ -c $ARG2$ > > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > command[check_nt_pagingfile]=$USER1$/check_nt -H > > $HOSTADDRESS$ -p 1248 -v > > COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File > usage is %.2f > > %%" -w $ARG1$ -c $ARG2$ > > > > See the readme.html for more info. > > > > -Jason > > ----- Original Message ----- > > From: "Rivanor P. Soares" > > To: > > Sent: Wednesday, June 18, 2003 15:18 > > Subject: [Nagios-users] check_nt features > > > > > > > NAGIOS 1.0 > > > NAGIOS-PLUGINS 1.3.0 > > > RH LINUX 8.0 > > > > > > Hi folks, > > > > > > I want to check some features in NT and 2000 Windows > > Servers. Features > > like CPU Load, Disk Space, processes and other stuff. > > > I saw in one example the following syntax (checkcommands.cfg): > > > > > > define command{ > > > command_name check_nt_cpuload > > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s > > $USER5$ -v CPULOAD -l $ARG1$ > > > } > > > > > > But this port, for me, isn't a well-known port. I search > > for IANA[1] and > > it tells me this: > > > ibm-diradm 3538/tcp IBM Directory Server > > > > > > How/where can I connect in the server to get this things? > > > > > > Thanks... > > > > > > [1] - http://www.iana.org/assignments/port-numbers > > > > > > Rivanor P. Soares [w3b_kn0ws] > > > LPIC-1, CCNA > > > Sao Paulo - SP > > > Brazil > > > > > > -- > > > ______________________________________________ > > > http://www.linuxmail.org/ > > > Now with e-mail forwarding for only US$5.95/yr > > > > > > Powered by Outblaze > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU > > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% > > Monthly Commission! > > > INetU Dedicated Managed Hosting > > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: INetU > > Attention Web Developers & Consultants: Become An INetU > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Markus.Saner at antalis.ch Thu Jun 19 16:31:14 2003 From: Markus.Saner at antalis.ch (Saner, Markus) Date: Thu, 19 Jun 2003 16:31:14 +0200 Subject: Anybody interested in monitoring MQSeries with Nagios ? Message-ID: <491A5F682BEFA742B21EF20AD4A8173323F4DA@chluex01.ch.antalis.local> Hi all, quite a while ago i wrote a Nagios plugin to check status of MQSeries Qmanager Q depths, DL-Q, channel status all in one plugin call. If anybody takes interest to try my solution, he is welcome to contact me directly. Currently i will not provide the source on a web, but still wish to share. You should have experiences with Nagios, MQSeries and compilers. Out of time I can give only limited support. You need MQSeriesSDK v5.2 or better v5.3 to compile and a MQSeries CLIENT and RUNTIME v5.2 or better v5.3 where nagios will execute the plugin. Lots of regards, Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: From mloftis at wgops.com Thu Jun 19 17:11:04 2003 From: mloftis at wgops.com (Michael Loftis) Date: Thu, 19 Jun 2003 09:11:04 -0600 Subject: Nagios timezoen setting? Message-ID: <47112784.1056013864@[10.1.2.77]> OK so where the heck does Nagios get it's timezone from? My system has PST/PDT set but nagios alternates between EDT and GMT, and when it 'says' EDT I'm pretty sure it's not right (I haven't done the math, but it looks really wrong). Any help/idea on getting this fixed? Nagios 1.0 FreeBSD 4.8 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjsiquet at euresys.fr Thu Jun 19 17:51:47 2003 From: jjsiquet at euresys.fr (jjsiquet) Date: Thu, 19 Jun 2003 17:51:47 +0200 Subject: secure nrpe-2.0b4 In-Reply-To: <20030619140126.18822.qmail@pod-163.dolphin-server.co.uk> References: <20030619140126.18822.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000201c3367a$b16b86f0$1f03a8c0@euresys> Hi, I have the same problem, i think the cause is my version openssl : 0.9.6 I reconfigure with --disable--ssl And nrpe work, I wait the final version to enable ssl ++ -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de dpareigis Envoy??: jeudi 19 juin 2003 16:01 ??: Nagios-users at lists.sourceforge.net Objet?: [Nagios-users] secure nrpe-2.0b4 Hello, How ist that to realize? I get on my Sparc (Solaris 9) CHECK_NRPE: Error - Could not complete SSL handshake. Thanks. Friend. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:02:40 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 19 Jun 2003 18:02:40 +0200 Subject: Nagios-plugins Solaris 9 Segmentation-Fault Message-ID: <200306191802.40041.Michael.Huettig@Medien-Systempartner.de> Hi everybody, hi Karl, i have succesfully compiled the plugins under Solaris 9 with gcc 3.2.3. But when i start check_nwstat i got Segmentation-Fault. See the attached truss-output. When i start the check_hpjd-plugin, no packets were going out and i receive "Timeout". Has anybody else installed nagios 1.1, plugins-1.3.0 under Solaris9? Working on this for the whole week, i think, Solaris9 is the wrong platform for nagios, and i think, it would be better to go back to LINUX-platform. -- Thanks for your help Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** -------------- next part -------------- execve("check_nwstat", 0xFFBFFB6C, 0xFFBFFB88) argc = 6 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3B0000 open(".", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 close(3) = 0 open("./..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 getdents64(3, 0xFFBFC858, 8192) = 1296 close(3) = 0 open("./../..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 getdents64(3, 0xFFBFC858, 8192) = 208 close(3) = 0 open("./../../..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 getdents64(3, 0xFFBFC858, 8192) = 208 close(3) = 0 open("./../../../..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 getdents64(3, 0xFFBFC858, 8192) = 112 close(3) = 0 open("./../../../../..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 fstat64(3, 0xFFBFF298) = 0 open("/etc/mnttab", O_RDONLY|O_LARGEFILE) = 4 read(4, " /", 1) = 1 ioctl(4, MNTIOC_NMNTS, 0xFFBFC7E0) = 0 fstat(4, 0xFFBFC758) = 0 ioctl(4, MNTIOC_GETDEVLIST, 0xFFBFC628) = 0 read(4, " d e v / d s k / c 0 t 0".., 1041) = 1041 close(4) = 0 lstat64("/root", 0xFFBFC6A8) = 0 close(3) = 0 lstat64("/root/dnload/nagios/nagios-plugins-1.3.0/plugins", 0xFF3F7780) = 0 resolvepath("/root/dnload/nagios/nagios-plugins-1.3.0/plugins/check_nwstat", "/root/dnload/nagios/nagios-plugins-1.3.0/plugins/check_nwstat", 1023) = 61 resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 stat("/root/dnload/nagios/nagios-plugins-1.3.0/plugins/check_nwstat", 0xFFBFF950) = 0 open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT open("/usr/lang/SC1.0/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF3A0000 mmap(0x00000000, 712704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF280000 mmap(0xFF31E000, 32628, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 581632) = 0xFF31E000 mmap(0xFF326000, 30800, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF326000 munmap(0xFF30E000, 65536) = 0 resolvepath("/usr/lib/libnsl.so.1", "/usr/lib/libnsl.so.1", 1023) = 20 memcntl(0xFF280000, 81680, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF380000 mmap(0xFF39A000, 4333, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF39A000 munmap(0xFF38A000, 65536) = 0 resolvepath("/usr/lib/libsocket.so.1", "/usr/lib/libsocket.so.1", 1023) = 23 memcntl(0xFF380000, 13792, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libresolv.so.2", O_RDONLY) Err#2 ENOENT open("/usr/lib/libresolv.so.2", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 mmap(0x00000000, 303104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF230000 mmap(0xFF274000, 16508, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 212992) = 0xFF274000 munmap(0xFF264000, 65536) = 0 resolvepath("/usr/lib/libresolv.so.2", "/usr/lib/libresolv.so.2", 1023) = 23 memcntl(0xFF230000, 32716, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libkvm.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libkvm.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF360000 mmap(0xFF374000, 920, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF374000 munmap(0xFF364000, 65536) = 0 resolvepath("/usr/lib/libkvm.so.1", "/usr/lib/libkvm.so.1", 1023) = 20 memcntl(0xFF360000, 3376, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libelf.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 mmap(0x00000000, 196608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1F0000 mmap(0xFF21E000, 3584, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 122880) = 0xFF21E000 munmap(0xFF20E000, 65536) = 0 resolvepath("/usr/lib/libelf.so.1", "/usr/lib/libelf.so.1", 1023) = 20 memcntl(0xFF1F0000, 11292, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF100000 mmap(0xFF1BA000, 24000, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF1BA000 mmap(0xFF1C0000, 6304, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1C0000 munmap(0xFF1AA000, 65536) = 0 resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18 memcntl(0xFF100000, 115592, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000 resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT open("/usr/lib/libmp.so.2", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF350000 mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1D0000 mmap(0xFF1E4000, 849, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF1E4000 munmap(0xFF1D4000, 65536) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF340000 resolvepath("/usr/lib/libmp.so.2", "/usr/lib/libmp.so.2", 1023) = 19 memcntl(0xFF1D0000, 2464, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libelf.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libelf.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF28C) = 0 close(3) = 0 open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF124) = 0 mmap(0xFF350000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF350000 mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF0F0000 resolvepath("/usr/platform/sun4u/lib/libc_psr.so.1sr.so.1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37 close(3) = 0 munmap(0xFF350000, 8192) = 0 brk(0x00028788) = 0 brk(0x0002A788) = 0 sigaction(SIGALRM, 0xFFBFF1C8, 0xFFBFF248) = 0 alarm(10) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, 0xFFBFED60) = 0 brk(0x0002A788) = 0 brk(0x0002C788) = 0 fstat64(3, 0xFFBFEC08) = 0 ioctl(3, TCGETA, 0xFFBFECEC) Err#25 ENOTTY read(3, " #\n # / e t c / n s s".., 8192) = 1297 read(3, 0x00029424, 8192) = 0 llseek(3, 0, SEEK_CUR) = 1297 close(3) = 0 open("/usr/lang/SC1.0/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/nss_files.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFE824) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF350000 mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF0D0000 mmap(0xFF0E6000, 1744, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF0E6000 munmap(0xFF0D6000, 65536) = 0 resolvepath("/usr/lib/nss_files.so.1", "/usr/lib/nss_files.so.1", 1023) = 23 memcntl(0xFF0D0000, 6276, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lang/SC1.0/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFE764) = 0 close(3) = 0 open("/usr/lang/SC1.0/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/X11/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/openwin/lib/server/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/ssl/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFE764) = 0 close(3) = 0 munmap(0xFF350000, 8192) = 0 open("/etc/protocols", O_RDONLY) = 3 fstat64(3, 0xFFBFEDD0) = 0 brk(0x0002C788) = 0 brk(0x0002E788) = 0 fstat64(3, 0xFFBFEC78) = 0 ioctl(3, TCGETA, 0xFFBFED5C) Err#25 ENOTTY read(3, " # i d e n t\t " @ ( # )".., 8192) = 1807 llseek(3, 0xFFFFFFFFFFFFFA58, SEEK_CUR) = 359 close(3) = 0 so_socket(PF_INET, SOCK_STREAM, IPPROTO_TCP, "", 1) = 3 connect(3, 0xFFBFF0F0, 16, 1) = 0 send(3, " U T I L 5\r\n", 7, 0) = 7 poll(0xFFBFF0E0, 1, 9000) = 1 recv(3, " 0\n", 1023, 0) = 2 close(3) = 0 open("/etc/protocols", O_RDONLY) = 3 fstat64(3, 0xFFBFEDD0) = 0 fstat64(3, 0xFFBFEC78) = 0 ioctl(3, TCGETA, 0xFFBFED5C) Err#25 ENOTTY read(3, " # i d e n t\t " @ ( # )".., 8192) = 1807 llseek(3, 0xFFFFFFFFFFFFFA58, SEEK_CUR) = 359 close(3) = 0 so_socket(PF_INET, SOCK_STREAM, IPPROTO_TCP, "", 1) = 3 connect(3, 0xFFBFF0F0, 16, 1) = 0 send(3, " U P T I M E\r\n", 8, 0) = 8 poll(0xFFBFF0E0, 1, 9000) = 1 recv(3, " 2 2 d a y s 7 h o".., 1023, 0) = 27 close(3) = 0 alarm(0) = 10 ioctl(1, TCGETA, 0xFFBFE474) Err#25 ENOTTY fstat64(1, 0xFFBFE4E8) = 0 fstat64(1, 0xFFBFE390) = 0 Incurred fault #6, FLTBOUNDS %pc = 0xFF132E90 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 From ehults at paydata.com Thu Jun 19 18:14:33 2003 From: ehults at paydata.com (Bill Hults) Date: Thu, 19 Jun 2003 12:14:33 -0400 Subject: mySQL support Message-ID: I set up Nagios last week without db support & it was working fine. It's a RH8.0 system using Nagmin 1.5.1 for configuration. The first thing I discovered is that you apparently can't use the same database for Nagmin & Nagios. Nagmin tries to parse all the table that Nagios uses which won't work. I created a database called nagiosdata to hold my data and ran the table creation utility against that. I configured, compiled & did a make all for Nagios adding db support with no errors. I added the information in resouce.cfg & cgi.cfg as per the documentation. Nagios is running but I have no web interface. I get e-mails when I should from monitored events. The only error I can find is in nagios.log [1056025791] Nagios 1.1 starting... (PID=21473) [1056025791] Warning: Host 'FS1' is not a member of any host groups! [1056025791] Finished daemonizing... (New PID=21474) [1056025791] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! [1056025791] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1056025791] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... [1056025791] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1056025791] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! What did I miss? TIA Bill Hults This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfl at groupeiweb.com Thu Jun 19 19:46:28 2003 From: jfl at groupeiweb.com (Jean-Francois Levesque) Date: Thu, 19 Jun 2003 13:46:28 -0400 Subject: Perl plugin : Return code of 13 is out of bounds Message-ID: <3EF1F6F4.10004@groupeiweb.com> Hi! I have made a perl plugin and I get this error : Return code of 13 is out of bounds. I haven't found any documentation about this error. I have read the section about perl plugins on http://nagiosplug.sourceforge.net/developer-guidelines.html but it didn't change anything. I have already checked http://www.nagios.org/faqs/viewfaq.php?faq_id=17 but no success... I also contacted nagiosplug-help at lists.sourceforge.net but my plugin seems to be ok. The return code is 0 or 2 + one line of text output. Anyone can help? Thanks! Jean-Francois ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfl=PLaBPg6nRqLnLTtGmMESvQ at public.gmane.org Thu Jun 19 20:00:50 2003 From: jfl=PLaBPg6nRqLnLTtGmMESvQ at public.gmane.org (Jean-Francois Levesque) Date: Thu, 19 Jun 2003 14:00:50 -0400 Subject: [Nagios-users] Perl plugin : Return code of 13 is out of bounds In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E770F@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E770F@mismail.ena.com> Message-ID: <3EF1FA52.5060807@groupeiweb.com> Thanks, that was my problem. The perms was o+x but it needs read access too. JF Marc Powell wrote: > I don't know if it means anything or not but from > /usr/include/asm/errno.h -- > > #define EACCES 13 /* Permission denied */ > > Check to make sure the file is executable by the nagios user (I suggest > running it as the nagios user). > > -- > Marc > > >>-----Original Message----- >>From: Jean-Francois Levesque [mailto:jfl=PLaBPg6nRqLnLTtGmMESvQ at public.gmane.org] >>Sent: Thursday, June 19, 2003 12:46 PM >>To: nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> >>Hi! >> >>I have made a perl plugin and I get this error : Return code of 13 is >>out of bounds. I haven't found any documentation about this error. I >>have read the section about perl plugins on >>http://nagiosplug.sourceforge.net/developer-guidelines.html but it >>didn't change anything. >> >>I have already checked > > http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > >>but no success... >> >>I also contacted nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org but my plugin >>seems to be ok. The return code is 0 or 2 + one line of text output. >> >>Anyone can help? >> >>Thanks! >> >>Jean-Francois >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: INetU >>Attention Web Developers & Consultants: Become An INetU Hosting > > Partner. > >>Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > >>INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Jun 19 19:54:10 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 19 Jun 2003 12:54:10 -0500 Subject: Perl plugin : Return code of 13 is out of bounds Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E770F@mismail.ena.com> I don't know if it means anything or not but from /usr/include/asm/errno.h -- #define EACCES 13 /* Permission denied */ Check to make sure the file is executable by the nagios user (I suggest running it as the nagios user). -- Marc > -----Original Message----- > From: Jean-Francois Levesque [mailto:jfl at groupeiweb.com] > Sent: Thursday, June 19, 2003 12:46 PM > To: nagios-users at lists.sourceforge.net > > Hi! > > I have made a perl plugin and I get this error : Return code of 13 is > out of bounds. I haven't found any documentation about this error. I > have read the section about perl plugins on > http://nagiosplug.sourceforge.net/developer-guidelines.html but it > didn't change anything. > > I have already checked http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > but no success... > > I also contacted nagiosplug-help at lists.sourceforge.net but my plugin > seems to be ok. The return code is 0 or 2 + one line of text output. > > Anyone can help? > > Thanks! > > Jean-Francois > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckalos at esaya.com Thu Jun 19 20:11:46 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Thu, 19 Jun 2003 14:11:46 -0400 Subject: Email when Warning and Page when critical In-Reply-To: <1CF2E2E5BB36D5119E7A0008C791F37403C570C4@simba.kids> References: <1CF2E2E5BB36D5119E7A0008C791F37403C570C4@simba.kids> Message-ID: Just remove the ?w? from the notification_options directive in all the page_group users. If you?re using the same contact definitions for each group, you?ll need to set up alternate user definitions which will be exclusive to the pagers. It?s a little iffy, but it should work just fine. CK On 6/19/03 3:02 AM, "Barry Darnton" wrote: > I have been running netsaint/nagios for around 12 months now and have had very > little problems with it. Now I want to change the way that it works and I am > sure that I had it running when I first installed it but for the life of me I > cannot remember how now (If I ever had it working that is) > > We can notify either by email using "notify_by_email" or pager by using > "page_group" in the servie and host notification commands. > > Both of these are working without any problem, however what I am trying to do > is configure the system to E-mail warnings and page critical events. I can > configure it to do either or both for any given service or host but I am not > able to figure out how to do one or the other based on the status of the > service. > > For example if I have 20G of disk space available on a system it returns a > status of Warning and notifies me by Email, if the disk space get down to 10 > meg I want the status to be Critical and to be paged. The mailing, paging, > warning and critical status I can do, but not different notifications based on > this status. > > Anyone got the answer to this. > > > Barry > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ckalos at esaya.com Thu Jun 19 20:18:54 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Thu, 19 Jun 2003 14:18:54 -0400 Subject: NSCA compile errors (libmcrypt related) Message-ID: I'm working on setting up NSCA on a Redhat 7.2 system, and after installing libmcrypt/libmcrypt-devel RPMs, editing /etc/ld.so.conf, and running ldconfig, I still manage to get undefined reference errors. Is there something fundamental I'm missing here? I'd assume that with the libmcrypt stuff under /usr/lib, and the header files under /usr/include, the rest would be a simple matter of running make, but this is clearly not the case. For what it's worth, I installed libmcrypt 2.4.17. Below is the output from make, if anyone wants to take a look at it. Thanks, CK make[1]: Entering directory `/home/ckalos/nsca-2.3/src' gcc -g -O2 -DHAVE_LIBMCRYPT -I/usr/include -DHAVE_CONFIG_H -lltdl -L/usr/lib -lmcrypt -lltdl -lnsl nsca.c netutils.c utils.c -o nsca /tmp/cc2uXag3.o: In function `encrypt_init': /home/ckalos/nsca-2.3/src/utils.c:195: undefined reference to `mcrypt_module_open' /home/ckalos/nsca-2.3/src/utils.c:205: undefined reference to `mcrypt_enc_get_iv_size' /home/ckalos/nsca-2.3/src/utils.c:222: undefined reference to `mcrypt_enc_get_key_size' /home/ckalos/nsca-2.3/src/utils.c:237: undefined reference to `mcrypt_generic_init' /tmp/cc2uXag3.o: In function `encrypt_cleanup': /home/ckalos/nsca-2.3/src/utils.c:256: undefined reference to `mcrypt_generic_end' /tmp/cc2uXag3.o: In function `encrypt_buffer': /home/ckalos/nsca-2.3/src/utils.c:348: undefined reference to `mcrypt_generic' /tmp/cc2uXag3.o: In function `decrypt_buffer': /home/ckalos/nsca-2.3/src/utils.c:382: undefined reference to `mdecrypt_generic' collect2: ld returned 1 exit status make[1]: *** [nsca] Error 1 make[1]: Leaving directory `/home/ckalos/nsca-2.3/src' ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 19 20:28:10 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 19 Jun 2003 14:28:10 -0400 Subject: timing question... scheduler... Message-ID: Now, this is interesting... With version 1.1 IF Current Network Status Last Updated: Thu Jun 19 14:16:27 EDT 2003 AND FOR VPPSYS service normal_check_interval = 5 THEN WHY VPP sys PENDING N/A 0d 0h 0m 27s+ 0/4 Service check scheduled for Thu Jun 19 14:35:17 2003 In other words, why Nagios is scheduling the first check later then in 5 minutes if my normal_check_interval = at 5 minutes? In here, I restarted my Nagios service, at 14h16 and he his scheduling for 14h35. Is this normal? Or another example... This is the same service check, but on two different servers... it should be cheking at each 2 minutes. So the first one is okay, the second one is really not. Last Check Time: 2003-06-19 14:22:28 Status Data Age: 0d 0h 1m 44s Next Scheduled Active Check: 2003-06-19 14:24:28 Last Check Time: 2003-06-19 13:33:47 Status Data Age: 0d 0h 51m 17s Next Scheduled Active Check: 2003-06-19 14:41:41 Any idears? More infos... RedHat9, Nagios v1.1 Thanks Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 19 20:37:45 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Jun 2003 13:37:45 -0500 Subject: check_nt features Message-ID: That's what I thought. I knew the project had migrated, but.... This begs the question. If TSMG is now the place to be for NSclient, should there maybe be a link from nagios.org recommending that site and discouraging the use of the ready2run.nl site? Otherwise, I can well see new folks continuing to snarf from the latter, thus bringing up the question over and over. I don't mind doing the work. I do mind sending said work to /dev/null. jc > -----Original Message----- > From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Sent: Thursday, June 19, 2003 9:21 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_nt features > > > Nah, you don't want to do that... > > Look here instead: http://support.tsmgsoftware.com/ > > Phil > > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: Jason Lancaster [mailto:jlancaster at affinity.com] > > Sent: 19 June 2003 14:30 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_nt features > > > > > > My guess would be the email address posted on > > http://nsclient.ready2run.nl/ > > which is rubiyz1047 at swyz.com > > > > -Jason > > > > ----- Original Message ----- > > From: "Carroll, Jim P [Contractor]" > > To: > > Sent: Wednesday, June 18, 2003 17:23 > > Subject: RE: [Nagios-users] check_nt features > > > > > > This readme.html should be updated to reflect the new > > template-based configs. I'll gladly do it, but who should > > I send it to? > > > > jc > > > > > > > -----Original Message----- > > > From: Jason Lancaster [mailto:jlancaster at affinity.com] > > > Sent: Wednesday, June 18, 2003 3:14 PM > > > To: Rivanor P. Soares; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_nt features > > > > > > > > > Nsclient documentation has the following in the readme.html > > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ > -p 1248 -v > > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ > > -p 1248 -v > > > CPULOAD -l $ARG1$ > > > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p > > > 1248 -v UPTIME > > > command[check_nt_clientversion]=$USER1$/check_nt -H > > > $HOSTADDRESS$ -p 1248 -v > > > CLIENTVERSION > > > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ > > -p 1248 -v > > > PROCSTATE -l $ARG1$ > > > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ > > -p 1248 -v > > > SERVICESTATE -l $ARG1$ > > > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ > > -p 1248 -v > > > MEMUSE -w $ARG1$ -c $ARG2$ > > > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ > > -p 1248 -v > > > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > > command[check_nt_pagingfile]=$USER1$/check_nt -H > > > $HOSTADDRESS$ -p 1248 -v > > > COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File > > usage is %.2f > > > %%" -w $ARG1$ -c $ARG2$ > > > > > > See the readme.html for more info. > > > > > > -Jason > > > ----- Original Message ----- > > > From: "Rivanor P. Soares" > > > To: > > > Sent: Wednesday, June 18, 2003 15:18 > > > Subject: [Nagios-users] check_nt features > > > > > > > > > > NAGIOS 1.0 > > > > NAGIOS-PLUGINS 1.3.0 > > > > RH LINUX 8.0 > > > > > > > > Hi folks, > > > > > > > > I want to check some features in NT and 2000 Windows > > > Servers. Features > > > like CPU Load, Disk Space, processes and other stuff. > > > > I saw in one example the following syntax (checkcommands.cfg): > > > > > > > > define command{ > > > > command_name check_nt_cpuload > > > > command_line $USER1$/check_nt -H $HOSTADDRESS$ > -p 3538 -s > > > $USER5$ -v CPULOAD -l $ARG1$ > > > > } > > > > > > > > But this port, for me, isn't a well-known port. I search > > > for IANA[1] and > > > it tells me this: > > > > ibm-diradm 3538/tcp IBM Directory Server > > > > > > > > How/where can I connect in the server to get this things? > > > > > > > > Thanks... > > > > > > > > [1] - http://www.iana.org/assignments/port-numbers > > > > > > > > Rivanor P. Soares [w3b_kn0ws] > > > > LPIC-1, CCNA > > > > Sao Paulo - SP > > > > Brazil > > > > > > > > -- > > > > ______________________________________________ > > > > http://www.linuxmail.org/ > > > > Now with e-mail forwarding for only US$5.95/yr > > > > > > > > Powered by Outblaze > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU > > > Hosting Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% > > > Monthly Commission! > > > > INetU Dedicated Managed Hosting > > > http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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: INetU > > > Attention Web Developers & Consultants: Become An INetU > > > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > > Commission! > > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Thu Jun 19 20:53:29 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 19 Jun 2003 14:53:29 -0400 Subject: duplicate service alerts References: <006701c335a9$4efffbd0$f805ff0a@tekniq> Message-ID: <01f001c33694$135393d0$f805ff0a@tekniq> This issue was with regards to status retention being turned on. I cleared the status.sav file and everything started working ok again. -Jason ----- Original Message ----- From: "Jason Lancaster" To: Sent: Wednesday, June 18, 2003 10:52 Subject: [Nagios-users] Re: duplicate service alerts > I should probably let everyone know that two processes of nsca are not > running. > > Additionally, if I disable the external commands file and have nsca dump to > a dump log, entries are only being written once. > > Jason > ----- Original Message ----- > From: "Jason Lancaster" > To: > Sent: Wednesday, June 18, 2003 10:23 > Subject: duplicate service alerts > > > > I've been experiencing some strange behavior in the nagios.log and was > > hoping I could have everyone's thoughts on this situation. My nagios.log > > contains duplicate service alerts for most external commands. For example: > > [1055945454] EXTERNAL COMMAND: > > PROCESS_SERVICE_CHECK_RESULT;host.com;Memory;0;Memory OK - 434 MB free > > [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB > > free > > [1055945231] SERVICE ALERT: host.com;Memory;OK;HARD;2;Memory OK - 434 MB > > free > > > > Not all services do this and this is only with regards to external > commands > > (passive service checks) sent through nsca. There is only one nagios core > > process running. I cannot duplicate this unless I send results through > > nsca -- writing to the external commands file by hand registers only one > > service alert. > > > > Does anyone have any ideas on why nagios might be processing service > alerts > > sent through nsca twice? I figure this is probably eating resources on my > > system and would like to resolve it. > > > > Thanks! > > Jason Lancaster > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at balmy.net Thu Jun 19 21:10:31 2003 From: mikec at balmy.net (Michael A. Carpenter) Date: Thu, 19 Jun 2003 14:10:31 -0500 Subject: Unexpected token or statement error when running Nagios w/ -v Message-ID: <200306191410.31197.mikec@balmy.net> This is my first post. I have searched the FAQ and the list archives and cant find the answer to this one... When running the following command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I get the following error: Unexpected token or statement in file '/usr/local/nagios/etc/nagios.cfg' on line 2. This line is my log_file entry. It reads: log_file=/usr/local/nagios/var/nagios.log I have checked and the directory exists, and nagios has permissions to the directory. I have checked for "^M" characters and didnt find any. I have attached the file. Any help is greatly appreciated. Mike -------------- next part -------------- #LOG FILE log_file=/usr/local/nagios/var/nagios.log #OBJECT CONFIGURATION FILE #PLUGIN COMMANDS cfg_file=/usr/local/nagios/etc/checkcommands.cfg #MISC COMMANDS cfg_file=/usr/local/nagios/etc/misccommand.cfg #OTHER CONFIGURATION FILES 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 #CONFIGURATION DIRECTORY cfg_dir=/usr/local/nagios/etc #RESOURCE FILE resource_file=/usr/local/nagios/etc/resource.cfg #TEMP FILE temp_file=/var/tmp/nagios.tmp #STATUS FILE status_file=/var/log/nagios/status.log #AGGREGATED STATUS UPDATES OPTION aggregate_status_updates=1 #AGGREGATED STATUS INTERVAL status_update_interval=15 #NAGIOS USER nagios_user=nagios #NAGIOS GROUP nagios_group=nagios #NOTIFICATIONS OPTION enable_notifications=1 #SERVICE CHECK EXECUTION OPTION execute_service_checks=1 #PASSIVE SERVICE CHECK OPTION accept_passive_service_checks=1 #EVENT HANDLER enable_event_handlers=1 #LOG ROTATION METHOD log_rotation_method=d #LOG ARCHIVE PATH log_archive_path=/var/log/nagios/archives/ #EXTERNAL COMMAND CHECK OPTION check_external_commands=0 #EXTERNAL COMMAND CHECK INTERVAL command_check_interval=60 #EXTERNAL COMMAND FILE command_file=/usr/local/nagios/var/rw/nagios.cmd #DOWNTIME FILE downtime_file=/usr/local/nagios/var/downtime.log #COMMENT FILE comment_file=/usr/local/nagios/var/comment.log #LOCK FILE lock_file=/tmp/nagios.lock #STATE RETENTION OPTION retain_state_information=1 #STATE RETENTION FILE state_retention_file=/usr/local/nagios/var/status.sav #AUTOMATIC STATE RETENTION UPDATE INTERVAL retention_update_interval=30 #USE RETAINED STATE OPTION use_retained_program_state=1 #SYSLOG LOGGING OPTION use_syslog=1 #NOTIFICATION LOGGING OPTION log_notifications=1 #SERVICE RETRY LOGGING OPTIONS log_service_retries=1 #HOST CHECK RETRY LOGGING OPTION log_host_retries=1 #EVENT HANDLER LOGGING OPTIONS log_event_handlers=1 #INITIAL STATES LOGGING OPTION log_initial_states=1 #EXTERNAL COMMAND LOGGING OPTION log_external_commands=1 #PASSIVE SERVICE CHECK LOGGING OPTION log_passive_service_checks=1 #GLOBAL HOST EVENT HANDLER OPTION global_host_event_handler=log-host-event-to-db #GLOBAL SERVICE EVENT HANDLER OPTION global_service_event_handler=log-service-event-to-db #INTER-CHECK SLEEP TIME sleep_time=2 #INTER-CHECK DELAY METHOD inter_check_delay_method=s #SERVICE INTERLEAVE FACTOR service_interleave_factor=s #MAXIMUM CONCURRENT SERVICE CHECKS max_concurrent_checks=20 #SERVICE REAPER FREQUENCY service_reaper_frequency=10 #TIMING INTERVAL LENGTH interval_length=60 #AGRESSIVE HOST CHECKING use_aggressive_host_checking=0 #FLAP DETECTION OPTION enable_flap_detection=0 #LOW SERVICE FLAP THRESHOLD low_service_flap_threshold=25.0 #HIGH SERVICE FLAP THRESHOLD high_service_flap_threshold=50.0 #LOW HOST FLAP THRESHOLD low_host_flap_threshold=25.0 #HIGH HOST FLAP THRESHOLD high_host_flap_threshold=50.0 #SOFT SERVICE DEPENDENCIES OPTION soft_state_dependencies=0 #SERVICE TIMEOUT CHECK service_check_timeout=60 #HOST CHECK TIMEOUT host_check_timeout=60 #EVENT HANDLER TIMEOUT event_handler_timeout=60 #NOTIFICATION TIMEOUT notification_timeout=60 #OBSESSIVE COMPLUSIVE SERVICE PROCESSOR TIMEOUT ocsp_timeout=5 #PERFORMANCE DATA PROCESSOR COMMAND TIMEOUT perfdata_timeout=5 #OBSESS OVER SERVICES OPTION obsess_over_services=1 #OBSESSIVE COMPLUSIVE SERVICE PROCESSOR COMMAND ocsp_command=obsessive_service_handler #PERFORMANCE DATA PROCESSING OPTION process_performance_data=1 #ORPHANED SERVICE CHECK OPTION check_for_orphaned_services=0 #SERVICE FRESHNESS CHECKING OPTION check_service_freshness=0 #SERVICE FRESHNESS CHECKING INTERVAL freshness_check_interval=60 #ILLEGAL OBJECTS NAME CHARACTERS illegal_object_name_chars=`~!$%^&*"|'<>?,()= #ILLEGAL MACRO OUTPUT CHARACTERS illegal_macro_output_chars=`~$^&"|'<> #ADMINISTRATOR EMAIL ADDRESS admin_email=mikec at localhost.localdomain #ADMINSITRATOR PAGER admin_pager=pagemikec at localhost.localdomain From jlancaster at affinity.com Thu Jun 19 21:16:39 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 19 Jun 2003 15:16:39 -0400 Subject: Optimal Config for hundreds of passive checks && Hundreds of Nagios procs References: Message-ID: <01f601c33697$4f5d44e0$f805ff0a@tekniq> With regards to this thread and the thread titled "Hundreds of Nagios procs," I thought I'd share the configuration file I use in my implementation. This (complete) config is similar on all systems, with various tweaks for each one. The monitoring servers are all at least 1ghz machines with around 3000 services. Every server has a ramdisk and all monitoring servers run a custom "ocsp sweeper" application to send nsca stats in bulk to the central server. This lightened the load on monitoring servers quite a bit as each ocsp command takes execution time. It seems like there are a lot of threads on this mailing the list right now asking about why implementations of Nagios have a huge queue of results to process. You can fix it... it just needs to be tweaked. Let me know if you have any questions. -Jason 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/ramdisk/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/ramdisk/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/ramdisk/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 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=600 service_reaper_frequency=1 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=30 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=0 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=1200 aggregate_status_updates=1 status_update_interval=5 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 ----- Original Message ----- From: "solo molo" To: Sent: Wednesday, June 18, 2003 18:41 Subject: [Nagios-users] Optimal Config for hundreds of passive checks > I have nagios running on redhat 8.0 on a compaq DL360 with dual 800mhz procs > and 1GB ram. Nagios receives 400 passive check results every 10 minutes and > another 100+ active checks are perfomed every 5 minutes. My loads are never > very high, but nagios gets way behind on processing the passive checks. The > problem is especially bad when some of the passive checks return critical > results. I've seen the delay as bad as 20 hours. That is when I check the > log, nagios is receiving current passive results, but displaying results > from 20 hours ago in the UI. I'd appreciate any suggestion as to how I can > configure nagios to process the passive results more quickly. I'm using the > following config: > > inter_check_delay_method=d #I can't use smart because I have a few checks > that only run once every 24 hours and throw off the average. > > service_interleave_factor=s > max_concurrent_checks=0 > service_reaper_frequency=5 > sleep_time=1 > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CabreraN at southcom.disa.mil Thu Jun 19 21:56:10 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Thu, 19 Jun 2003 15:56:10 -0400 Subject: Unexpected token or statement error when runni ng Nagios w/ -v Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193F70@emsmia1.southcom.disa.mil> Isn't line 2 in your file this: cfg_file=/usr/local/nagios/etc/checkcommands.cfg Check and see if you have this file and the commands are correct. > -----Original Message----- > From: Michael A. Carpenter [SMTP:mikec at balmy.net] > Sent: Thursday, June 19, 2003 3:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unexpected token or statement error when > running Nagios w/ -v > > This is my first post. > > I have searched the FAQ and the list archives and cant find the answer to > this one... > > When running the following command: > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > I get the following error: > > Unexpected token or statement in file '/usr/local/nagios/etc/nagios.cfg' > on > line 2. > > This line is my log_file entry. It reads: > > log_file=/usr/local/nagios/var/nagios.log > > I have checked and the directory exists, and nagios has permissions to the > > directory. I have checked for "^M" characters and didnt find any. I have > > attached the file. > > Any help is greatly appreciated. > > Mike > > > > << File: nagios.cfg >> ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Thu Jun 19 22:03:12 2003 From: ric at nkn.net (Ric Moseley) Date: Thu, 19 Jun 2003 15:03:12 -0500 Subject: http checks with cookies Message-ID: <009301c3369d$d062d810$1bd010ac@theplanet.com> Does anyone know how to check HTTP on a site that requires the browser to accept cookies? I can't get the standard check_http to work b/c it does not like the cookie that is sent back. Thanks. Ric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikec at balmy.net Thu Jun 19 22:09:26 2003 From: mikec at balmy.net (Michael A. Carpenter) Date: Thu, 19 Jun 2003 15:09:26 -0500 Subject: Unexpected token or statement error when runni ng Nagios w/ -v In-Reply-To: <04C669CE7B1D8E4EB46971034B329A6C193F70@emsmia1.southcom.disa.mil> References: <04C669CE7B1D8E4EB46971034B329A6C193F70@emsmia1.southcom.disa.mil> Message-ID: <200306191509.26513.mikec@balmy.net> The checkcommands.cfg file is in the etc directory. The really wierd thing is that if I use the nagios.cfg-sample file (with the exact same log_file line) it works...I have cut and pasted the line from the -sample file to the .cfg file and it doesnt work... Thanks Mike On Thursday 19 June 2003 14:56, Cabrera, Nestor (Contractor) wrote: > Isn't line 2 in your file this: > > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > > Check and see if you have this file and the commands are correct. > > > -----Original Message----- > > From: Michael A. Carpenter [SMTP:mikec at balmy.net] > > Sent: Thursday, June 19, 2003 3:11 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Unexpected token or statement error when > > running Nagios w/ -v > > > > This is my first post. > > > > I have searched the FAQ and the list archives and cant find the answer > > to this one... > > > > When running the following command: > > > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > I get the following error: > > > > Unexpected token or statement in file > > '/usr/local/nagios/etc/nagios.cfg' on > > line 2. > > > > This line is my log_file entry. It reads: > > > > log_file=/usr/local/nagios/var/nagios.log > > > > I have checked and the directory exists, and nagios has permissions to > > the > > > > directory. I have checked for "^M" characters and didnt find any. I > > have > > > > attached the file. > > > > Any help is greatly appreciated. > > > > Mike > > > > > > > > << File: nagios.cfg >> ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Thu Jun 19 23:06:08 2003 From: ramog at starcalif.com (ramog) Date: Thu, 19 Jun 2003 14:06:08 -0700 Subject: create plugin Message-ID: <003901c336a6$9ad69110$0d2fa8c0@sysadmin.starcalif.com> Is there anybody who can help me create a plugin for nagios that does the following - check if a user is currently logged in or not in a monitored unix server, say his console session is tty10. - if the user is logged in, nagios will report it as an OK state and if he is not logged in, nagios will report it as critical state. Any help would be greatly appreciated... Thanks, Rochel Amog -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartin at gsi-kc.com Thu Jun 19 23:17:03 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Thu, 19 Jun 2003 16:17:03 -0500 Subject: nagiosbounce.sh Message-ID: For the past few days I have been running this script at 4:00 PM every day (so I will notice if it messes anything up before I leave work)... It has worked great to prevent rogue nagios instances from running. I just wanted to run this by the list real quick to see if anyone thinks doing this might cause any problems. ################################# #!/bin/sh /etc/rc.d/init.d/nagios stop killall nagios /etc/rc.d/init.d/nagios start ################################# Thanks, Jeremy ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Fri Jun 20 04:39:14 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Thu, 19 Jun 2003 21:39:14 -0500 Subject: create plugin References: <003901c336a6$9ad69110$0d2fa8c0@sysadmin.starcalif.com> Message-ID: <00b001c336d5$242e3d90$030da8c0@monster> Is this or some variation of this acceptable? libexec/check_procs -c 1:100 -u username This will report CRITICAL if there are 0 or more than 100 processes running as the specified username. ~Michael Hertrick. ~Neovera, Inc. ----- Original Message ----- From: ramog To: nagios-users at lists.sourceforge.net Sent: Thursday, June 19, 2003 4:06 PM Subject: [Nagios-users] create plugin Is there anybody who can help me create a plugin for nagios that does the following - check if a user is currently logged in or not in a monitored unix server, say his console session is tty10. - if the user is logged in, nagios will report it as an OK state and if he is not logged in, nagios will report it as critical state. Any help would be greatly appreciated... Thanks, Rochel Amog -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Fri Jun 20 05:43:55 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 19 Jun 2003 20:43:55 -0700 Subject: timing question... scheduler... References: Message-ID: I think you ran into the same problem I ran into. There's a setting in the main config file that held the answer. inter_check_delay_method=s http://nagios.sourceforge.net/docs/1_0/configmain.html#inter_check_delay_met hod There's a detailed description in the documentation about the algorithm that's used to perform the 's'mart calculation. https://sandman/manuals/Nagios/Nagios_1_0_Docs_html/checkscheduling.html#int er_check_delay I had about 1/3 of my low-priority services on very long check intervals. This skewed the calculation, but thankfully, Ethan provides the formula to use. I calculated the inter_check_delay using an average check interval of my normal services (the default of 5). Feed this number into the main config file instead of using the "s" option. For me, it was 1.3 seconds. At the next restart, all services were in the queue, and scheduled to finish in the first five minues, evenly spread out every 1.3 seconds per check. Let us know if this fixes it for you. "Serveur-Faucon Surveillance" wrote in message news:sef1c8a0.016 at bp.cslaval.qc.ca... Now, this is interesting... With version 1.1 IF Current Network Status Last Updated: Thu Jun 19 14:16:27 EDT 2003 AND FOR VPPSYS service normal_check_interval = 5 THEN WHY VPP sys PENDING N/A 0d 0h 0m 27s+ 0/4 Service check scheduled for Thu Jun 19 14:35:17 2003 In other words, why Nagios is scheduling the first check later then in 5 minutes if my normal_check_interval = at 5 minutes? In here, I restarted my Nagios service, at 14h16 and he his scheduling for 14h35. Is this normal? Or another example... This is the same service check, but on two different servers... it should be cheking at each 2 minutes. So the first one is okay, the second one is really not. Last Check Time: 2003-06-19 14:22:28 Status Data Age: 0d 0h 1m 44s Next Scheduled Active Check: 2003-06-19 14:24:28 Last Check Time: 2003-06-19 13:33:47 Status Data Age: 0d 0h 51m 17s Next Scheduled Active Check: 2003-06-19 14:41:41 Any idears? More infos... RedHat9, Nagios v1.1 Thanks Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Fri Jun 20 08:29:10 2003 From: dpa at ision.net (dpareigis) Date: 20 Jun 2003 06:29:10 -0000 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030620062910.6164.qmail@pod-163.dolphin-server.co.uk> Hello, on my sparc solaris-9, I installed openssl-0.9.7b. Permissions seems to be OK too. This error it still there:CHECK_NRPE: Error - Could not complete SSL handshake It seems that nrpe on other site (Sparc with Solaris 9 to) do not have SSL open, how can I check this? Thanks. friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 08:55:43 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 20 Jun 2003 18:55:43 +1200 Subject: nagiosbounce.sh In-Reply-To: References: Message-ID: <200306200651.h5K6pgT28153@spectre.freeparking.co.nz> Hi Jeremy, Technically I don't see any problems with this, but it does beg the question - why do you need to do this? Linux is not the environment to practise the ctrl-alt-del school of networking. :-) jamie On Fri, 20 Jun 2003 09:17, Martin, Jeremy wrote: > For the past few days I have been running this script at 4:00 PM every day > (so I will notice if it messes anything up before I leave work)... It has > worked great to prevent rogue nagios instances from running. I just wanted > to run this by the list real quick to see if anyone thinks doing this might > cause any problems. > > ################################# > #!/bin/sh > /etc/rc.d/init.d/nagios stop > killall nagios > /etc/rc.d/init.d/nagios start > ################################# > > Thanks, > Jeremy > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Fri Jun 20 09:03:42 2003 From: dpa at ision.net (Darius Pareigis) Date: 20 Jun 2003 07:03:42 -0000 Subject: NRPE and Solaris Problem In-Reply-To: <12C7D768CC8ED4118A9200508BEEC6FB02CB4282@zanexch.zantaz.com> References: <12C7D768CC8ED4118A9200508BEEC6FB02CB4282@zanexch.zantaz.com> Message-ID: <20030620070342.13408.qmail@pod-163.dolphin-server.co.uk> Hello, Check out your /etc/hosts.allow on your server that runs nrped, there should be your server that calls check_nrpe allowed. Bye friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 09:19:54 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 20 Jun 2003 09:19:54 +0200 Subject: nagiosbounce.sh In-Reply-To: <200306200651.h5K6pgT28153@spectre.freeparking.co.nz> References: <200306200651.h5K6pgT28153@spectre.freeparking.co.nz> Message-ID: <3EF2B59A.9070807@dhl.com> Dear, One thing I could see as a setback, is that -if you have set inter_check_delay_method to smart- you will have services that don't get checked right after the restart every day... Kind regards, Tom Jamie Baddeley wrote: > Hi Jeremy, > > Technically I don't see any problems with this, but it does beg the question > - why do you need to do this? > > Linux is not the environment to practise the ctrl-alt-del school of > networking. > > :-) > > jamie > > On Fri, 20 Jun 2003 09:17, Martin, Jeremy wrote: > >>For the past few days I have been running this script at 4:00 PM every day >>(so I will notice if it messes anything up before I leave work)... It has >>worked great to prevent rogue nagios instances from running. I just wanted >>to run this by the list real quick to see if anyone thinks doing this might >>cause any problems. >> >>################################# >>#!/bin/sh >>/etc/rc.d/init.d/nagios stop >>killall nagios >>/etc/rc.d/init.d/nagios start >>################################# >> >>Thanks, >>Jeremy >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: INetU >>Attention Web Developers & Consultants: Become An INetU Hosting Partner. >>Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >>INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Jun 20 09:36:49 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 20 Jun 2003 09:36:49 +0200 Subject: Compiling nagios plugins with ssl-support References: <3EF17F87.1000101@mobilcom.de> Message-ID: <3EF2B991.700@mobilcom.de> Hi! Jens Kruse wrote: > Hi, > > I'm trying to recompile Nagios Plugins 1.3.0 with Openssl-Support. > > IMHO should a > > # ./configure --with-openssl=/usr/share/ssl I got it, it has to be # ./configure --enable-openssl=yes --with-openssl-lib= --with-openssl-include= Could this pls. as possible options included into the configure script (AFAIK is --with-openssl-include= not mentioned)? Thanks, Jens ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Jun 20 09:38:38 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 20 Jun 2003 09:38:38 +0200 Subject: HP/Compaq ILO and check_http References: <1055017126.983.8.camel@miles.debisschop.net> <3EE57D66.2010506@mobilcom.de> <1055243773.1061.53.camel@miles.debisschop.net> Message-ID: <3EF2B9FE.9080807@mobilcom.de> Hi Karl! Karl DeBisschop wrote: > On Tue, 2003-06-10 at 02:40, Jens Kruse wrote: > I have only just scanned it, but it looks to me like the ILO is > streaming the data... > > Could that be true? As far as I understand the White Paper (http://wwss1pro.compaq.com/support/reference_library/viewdocument.asp?countrycode=1000&prodid=510|Remote+Insight+Board+Lights-Out+Edition&source=TC020404TB.xml&dt=21) it is streaming ... > If so, you need to be able put a size and/or time limit on it. You would > probably like to be able to say 'report an error if in n seconds less > than j bytes are delivered.' Where would I get these parameters? I'd probably have to measure the data (i.e. with wget)? > Does that make any sense for your context? (I admit I'm doing alot of > guessing here still, as I still don't know much [anything, actually] > about the device -- I've heard of a 'Lights Out' card for campaq, I > think - is that what this is? Are there any technical specs available > for the device? Do they say anything about a streaming mode or something > similar?) Yes, it's the actual version of the former RILO-Card (Remote Insight Lights Out), which we are also monitoring (with check_http -H HOST -p PORT), because the httpd-Server of the device crashed sometimes in the past. The actual Version is called iLO and is an onboard Chip, the old RILO is a PCI-Card. Actual Tech Specs for iLO are available here: http://h18013.www1.hp.com/products/servers/management/ilo/index.html > I don't think you can set a max on bytes delivered with check_http > presently, tyhough you can with check_tcp from CVS. But it's a feature > that could and probably should be added. I won't go that way, because I don't know anything on streams. If this feature seems interesting for you and/or the community, I'd like to help as much as possible ... Pls. keep me informed if can help in any way! Regards, Jens >><------------------------ schnipp ------------------------------> >>monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 >>tcpdump: listening on eth0 >>08:33:48.382982 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: S 307329410:307329410(0) win 5840 >1460,sackOK,timestamp 196131746 0,nop,wscale 0> (DF) >>08:33:48.383782 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) >>tell mccg-lx-rilo.mobilcom.de >>08:33:48.383798 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 >>08:33:48.384202 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: S 693572000:693572000(0) ack 307329411 >>win 5840 >>08:33:48.384223 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) >>08:33:48.384364 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: P 1:99(98) ack 1 win 5840 (DF) >>08:33:48.387907 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 1:16(15) ack 99 win 5840 >>08:33:48.387921 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) >>08:33:48.388731 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 16:18(2) ack 99 win 5840 >>08:33:48.388741 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) >>08:33:48.389579 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 18:41(23) ack 99 win 5840 >>08:33:48.389590 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) >>08:33:48.390244 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 41:43(2) ack 99 win 5840 >>08:33:48.390254 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) >>08:33:48.391103 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 43:81(38) ack 99 win 5840 >>08:33:48.391113 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) >>08:33:48.391732 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 81:83(2) ack 99 win 5840 >>08:33:48.391749 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 83 win 5840 (DF) >>08:33:48.392648 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 83:106(23) ack 99 win 5840 >>08:33:48.392672 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 106 win 5840 (DF) >>08:33:48.393500 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 106:125(19) ack 99 win 5840 >>08:33:48.393518 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 125 win 5840 (DF) >>08:33:48.394156 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 125:127(2) ack 99 win 5840 >>08:33:48.394175 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 127 win 5840 (DF) >>08:33:48.395005 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 127:153(26) ack 99 win 5840 >>08:33:48.395024 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 153 win 5840 (DF) >>08:33:48.395649 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 153:155(2) ack 99 win 5840 >>08:33:48.395667 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 155 win 5840 (DF) >>08:33:48.396511 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 155:157(2) ack 99 win 5840 >>08:33:48.396531 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 157 win 5840 (DF) >>08:33:48.398632 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 157:160(3) ack 99 win 5840 >>08:33:48.398668 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 160 win 5840 (DF) >>08:33:48.400319 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 160:696(536) ack 99 win 5840 >>08:33:48.400335 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 696 win 6432 (DF) >>08:33:48.400323 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: . 696:1232(536) ack 99 win 5840 >>08:33:48.400349 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 1232 win 7504 (DF) >>08:33:48.402360 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 1232:1464(232) ack 99 win 5840 >>08:33:48.402376 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 1464 win 8576 (DF) >>08:33:48.404361 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57059: P 1464:1936(472) ack 99 win 5840 >>08:33:48.404371 monitor2-lx.mobilcom.de.57059 > >>mccg-lx-rilo.mobilcom.de.http: . ack 1936 win 9648 (DF) >> >> >> >>40 packets received by filter >>0 packets dropped by kernel >><------------------------ schnipp ------------------------------> >> >>And here for the check_http ... >> >><------------------------ schnipp ------------------------------> >>monitor2-lx:/usr/local/nagios/libexec # ./check_http -H 10.35.178.154 >>Socket timeout after 10 seconds >>monitor2-lx:~ # tcpdump -i eth0 host 10.35.178.154 >>tcpdump: listening on eth0 >>08:37:08.065489 monitor2-lx.mobilcom.de > mccg-lx-rilo.mobilcom.de: >>icmp: echo request (DF) >>08:37:08.066027 mccg-lx-rilo.mobilcom.de > monitor2-lx.mobilcom.de: >>icmp: echo reply >>08:37:08.280371 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: S 521852342:521852342(0) win 5840 >1460,sackOK,timestamp 196151735 0,nop,wscale 0> (DF) >>08:37:08.281148 arp who-has monitor2-lx.mobilcom.de (0:50:8b:e2:2e:b3) >>tell mccg-lx-rilo.mobilcom.de >>08:37:08.281171 arp reply monitor2-lx.mobilcom.de is-at 0:50:8b:e2:2e:b3 >>08:37:08.281564 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: S 693771910:693771910(0) ack 521852343 >>win 5840 >>08:37:08.281620 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 1 win 5840 (DF) >>08:37:08.281827 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: P 1:92(91) ack 1 win 5840 (DF) >>08:37:08.285304 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 1:16(15) ack 92 win 5840 >>08:37:08.285322 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 16 win 5840 (DF) >>08:37:08.285995 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 16:18(2) ack 92 win 5840 >>08:37:08.286007 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 18 win 5840 (DF) >>08:37:08.286883 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 18:41(23) ack 92 win 5840 >>08:37:08.286896 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 41 win 5840 (DF) >>08:37:08.287544 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 41:43(2) ack 92 win 5840 >>08:37:08.287556 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 43 win 5840 (DF) >>08:37:08.288390 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 43:81(38) ack 92 win 5840 >>08:37:08.288411 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: . ack 81 win 5840 (DF) >>08:37:08.289048 mccg-lx-rilo.mobilcom.de.http > >>monitor2-lx.mobilcom.de.57412: P 81:83(2) ack 92 win 5840 >>08:37:08.289211 monitor2-lx.mobilcom.de.57412 > >>mccg-lx-rilo.mobilcom.de.http: ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjsiquet at euresys.fr Fri Jun 20 10:25:21 2003 From: jjsiquet at euresys.fr (jjsiquet) Date: Fri, 20 Jun 2003 10:25:21 +0200 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <20030620062910.6164.qmail@pod-163.dolphin-server.co.uk> References: <20030620062910.6164.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000e01c33705$7e6be430$1f03a8c0@euresys> Do You have try to configure with out SSL? #./configure --disable-ssl just do a test to be sure ... read this doc : README.SSL -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de dpareigis Envoy??: vendredi 20 juin 2003 08:29 ??: Nagios-users at lists.sourceforge.net Objet?: [Nagios-users] Re: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Hello, on my sparc solaris-9, I installed openssl-0.9.7b. Permissions seems to be OK too. This error it still there:CHECK_NRPE: Error - Could not complete SSL handshake It seems that nrpe on other site (Sparc with Solaris 9 to) do not have SSL open, how can I check this? Thanks. friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chip at capalon.com Fri Jun 20 12:47:37 2003 From: chip at capalon.com (Chip Parker) Date: Fri, 20 Jun 2003 06:47:37 -0400 (EDT) Subject: notify-by-epager, host-notify-by-epager problems (fwd) Message-ID: Is anyone other than me having output looking like this: /usr/bin/printf "%b" "Service: check_alivenHost: hostname.hostdomain Mail ServernAddress: 192.168.0.87nState: CRITICALnInfo: CRITICAL - Plugin timed out after 10 secondsnDate: Fri Jun 20 06:33:19 EDT 2003" | /usr/bin/mail -s "PROBLEM: $HOSTALIAS" $CONTACTEMAIL$ spit out by the commands in the subject header? I've got a gentoo machine and a debian machine BOTH displaying this behavior in v1.1 of Nagios(r). Anybody else that HAS experienced this or is NOT getting epager notifications, please use the attached misccommands.cfg (basically adding echo '> file.log) and compare output with me, I'd really like to know what's causing this, since it WAS NOT an issue in 1.0 AFAIK. Thanks for everybody's time and hopefully I can get this issue sorted soon. -- Allen "Chip" Parker urgent issues: chipcell at capalon.com chip at capalon.com http://www.capalon.com 410-961-8311 http://www.hardcore-linux.net ____________________________ ## ego sum ens omnipotens ## ##________________________## ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Fri Jun 20 13:06:34 2003 From: dpa at ision.net (Darius Pareigis) Date: 20 Jun 2003 11:06:34 -0000 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030620110634.30159.qmail@pod-163.dolphin-server.co.uk> Hello, I have 2 Maschine ( Sparc ) on both are nrpe ports open and I connect per telnet ... nrpeport. solaris 9 nrpe-2.0b4 openssl-0.9.7b check_nrpe: error-Could not complete SSL handshake. truss results: bash-2.05# truss /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i execve("/usr/local/nagios/bin/nrpe", 0xFFBFFC1C, 0xFFBFFC30) argc = 4 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3B0000 resolvepath("/usr/local/nagios/bin/nrpe", "/usr/local/nagios/bin/nrpe", 1023) = 26 resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 stat("/usr/local/nagios/bin/nrpe", 0xFFBFF9F8) = 0 open("/var/ld/ld.config", O_RDONLY) = 3 fstat(3, 0xFFBFF498) = 0 mmap(0x00000000, 104, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3A0000 close(3) = 0 stat("./libssl.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libssl.so.0.9.7", 0xFFBFF33C) = 0 open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 mmap(0x00000000, 270336, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000 mmap(0xFF37C000, 17916, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 180224) = 0xFF37C000 munmap(0xFF36E000, 57344) = 0 resolvepath("/usr/lib/libssl.so.0.9.7", "/usr/lib/libssl.so.0.9.7", 1023) = 24 memcntl(0xFF340000, 40628, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libcrypto.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libcrypto.so.0.9.7", 0xFFBFF33C) = 0 open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 1212416, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF200000 mmap(0xFF30E000, 90200, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 1040384) = 0xFF30E000 mmap(0xFF326000, 2556, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF326000 munmap(0xFF300000, 57344) = 0 resolvepath("/usr/lib/libcrypto.so.0.9.7", "/usr/lib/libcrypto.so.0.9.7", 1023) = 27 memcntl(0xFF200000, 243760, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0 open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 712704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF100000 mmap(0xFF19E000, 32620, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 581632) = 0xFF19E000 mmap(0xFF1A6000, 30792, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1A6000 munmap(0xFF18E000, 65536) = 0 resolvepath("/usr/lib/libnsl.so.1", "/usr/lib/libnsl.so.1", 1023) = 20 memcntl(0xFF100000, 81668, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0 open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1E0000 mmap(0xFF1FA000, 4333, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF1FA000 munmap(0xFF1EA000, 65536) = 0 resolvepath("/usr/lib/libsocket.so.1", "/usr/lib/libsocket.so.1", 1023) = 23 memcntl(0xFF1E0000, 13792, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 802816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF000000 mmap(0xFF0BC000, 24464, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF0BC000 mmap(0xFF0C2000, 6580, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF0C2000 munmap(0xFF0AC000, 65536) = 0 resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18 memcntl(0xFF000000, 117232, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libcrypto.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libcrypto.so.0.9.7", 0xFFBFF33C) = 0 stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0 stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0 stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0 open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19 close(3) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("./libgcc_s.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libgcc_s.so.1", 0xFFBFF33C) = 0 open("/usr/lib/libgcc_s.so.1", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF330000 mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1C0000 mmap(0xFF1D6000, 8500, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF1D6000 munmap(0xFF1C8000, 57344) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF0F0000 resolvepath("/usr/lib/libgcc_s.so.1", "/usr/lib/libgcc_s.so.1", 1023) = 22 memcntl(0xFF1C0000, 5816, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0 stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0 stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("./libgcc_s.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libgcc_s.so.1", 0xFFBFF33C) = 0 stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("./libmp.so.2", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libmp.so.2", 0xFFBFF33C) = 0 open("/usr/lib/libmp.so.2", O_RDONLY) = 3 fstat(3, 0xFFBFF33C) = 0 mmap(0xFF330000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000 mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF0D0000 mmap(0xFF0E4000, 849, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF0E4000 munmap(0xFF0D4000, 65536) = 0 resolvepath("/usr/lib/libmp.so.2", "/usr/lib/libmp.so.2", 1023) = 19 memcntl(0xFF0D0000, 2464, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0 stat("/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1" ;, 0xFFBFF14C) = 0 open("/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1" ;, O_RDONLY) = 3 fstat(3, 0xFFBFF14C) = 0 mmap(0xFF330000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000 mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEFF0000 resolvepath("/usr/platform/sun4u/lib/libc_psr.so.1sr.so .1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37 close(3) = 0 munmap(0xFF330000, 8192) = 0 getustack(0xFFBFF864) getrlimit(RLIMIT_STACK, 0xFFBFF85C) = 0 getcontext(0xFFBFF698) setustack(0xFF0C393C) sysconfig(_CONFIG_STACK_PROT) = 7 brk(0x000277D0) = 0 brk(0x000297D0) = 0 fstat(-1, 0xFFBFF2C0) Err#9 EBADF open("/usr/local/nagios/etc/nrpe.cfg", O_RDONLY) = 3 fstat64(3, 0xFFBFE8E0) = 0 brk(0x000297D0) = 0 brk(0x0002B7D0) = 0 fstat64(3, 0xFFBFE788) = 0 ioctl(3, TCGETA, 0xFFBFE86C) Err#25 ENOTTY read(3, " # # # # # # # # # # # #".., 8192) = 5082 read(3, 0x0002781C, 8192) = 0 llseek(3, 0, SEEK_CUR) = 5082 close(3) = 0 brk(0x0002B7D0) = 0 brk(0x0002D7D0) = 0 brk(0x0002D7D0) = 0 brk(0x0002F7D0) = 0 brk(0x0002F7D0) = 0 brk(0x000317D0) = 0 brk(0x000317D0) = 0 brk(0x000337D0) = 0 brk(0x000337D0) = 0 brk(0x000357D0) = 0 brk(0x000357D0) = 0 brk(0x000377D0) = 0 time() = 1056107169 getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 3 poll(0xFFBFEEA0, 1, 10) = 1 read(3, " /CE 8 HC7 T ; iD4 / 3BA".., 32) = 32 close(3) = 0 getpid() = 285 [284] getpid() = 285 [284] getuid() = 0 [0] getpid() = 285 [284] time() = 1056107169 getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] getpid() = 285 [284] fstat(-1, 0xFFBFE690) Err#9 EBADF open("/dev/conslog", O_WRONLY) = 3 fcntl(3, F_SETFD, 0x00000001) = 0 fstat(3, 0xFFBFE690) = 0 fstat(3, 0xFFBFF0F0) = 0 time() = 1056107170 open("/usr/share/lib/zoneinfo/Europe/Berlin", O_RDONLY) = 4 fstat64(4, 0xFFBFE4D0) = 0 read(4, " T Z i f ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ipsen-sender-25cac0 at andebakken.dk Fri Jun 20 13:17:23 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Fri, 20 Jun 2003 13:17:23 +0200 Subject: SNMP traps Message-ID: Hi! I've set Nagios up with snmptrapd to react on snmp traps from a host running BeckupExec.... But I wonder what is the best way to do this ? If the service is set up as a passive service, the service check is listed as disabled (x disabled services on the tactical overview) ? Regards, Brian ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Fri Jun 20 13:23:13 2003 From: dpa at ision.net (Darius Pareigis) Date: 20 Jun 2003 11:23:13 -0000 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030620112313.825.qmail@pod-163.dolphin-server.co.uk> inetd.conf: user for nrpe is root. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 20 13:44:15 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 20 Jun 2003 21:44:15 +1000 Subject: nagios 1.1 SegFaults In-Reply-To: ; from egopfe@hotmail.com on Thu, Jun 19, 2003 at 04:13:02PM +0200 References: <200306191543.38269.roy@karlsbakk.net> Message-ID: <20030620214411.B241@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Jun 19, 2003 at 04:13:02PM +0200, Lombardo Federico wrote: > My segfault does not generate a core. It probably would if you ran it in your build directory (./nagios -h or -m should do it). > Btw I've recompiled all without embeeded-perl support and now It never > segfault. > Please would you post the output of perl -V and the version of Debian you are using ? This should establish whether this is a new problem or not. > What to think ? > It is almost certainly the problem with threaded Perls (> 5.6.1 on Linux and Solaris) and embedding the Perl interpreter. The good news is that this is a known problem that is being fixed, if not has been fixed already. Yours sincerely. (Thanks for the strace; it's not very interesting is it. I think if you ran it under gdb gdb nagios set args -h .. SEGV .. and then bt you'd see the SEGV in perl_call_argv() ) > > On Thursday 19 June 2003 12:59, Lombardo Federico wrote: > > I've correctly compiled and installed my Nagios 1.1 under my debian > running > > kernel 2.4.21, when I start with -v option, or without any option it i > > receive a segfault! > > Starting normal mode, -d /etc/nagios.cfg will work. > > > > Best Regards, > > > > Federico > > > > Here the strace process: > > > > execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0 > > > > uname({sys="Linux", node="tbox", ...}) = 0 > > > > brk(0) = 0x8090ed0 > > > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > > directory) > > > > open("/etc/ld.so.cache", O_RDONLY) = 3 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=43905, ...}) = 0 > > > > old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 > > > > close(3) = 0 > > > > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., > 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0 > > > > old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x4001d000 > > > > mprotect(0x40039000, 99104, PROT_NONE) = 0 > > > > old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > > 3, 0x1c000) = 0x40039000 > > > > close(3) = 0 > > > > open("/usr/lib/libperl.so.5.8", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\366"..., > 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0 > > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > > 0) = 0x40052000 > > > > old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x40053000 > > > > mprotect(0x40148000, 47808, PROT_NONE) = 0 > > > > old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0xf5000) = 0x40148000 > > > > old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000 > > > > close(3) = 0 > > > > open("/lib/libdl.so.2", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000"..., > > 1024) = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 > > > > old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000 > > > > mprotect(0x40156000, 2732, PROT_NONE) = 0 > > > > old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > 0x1000) = 0x40156000 > > > > close(3) = 0 > > > > open("/lib/libm.so.6", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0"..., 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 > > > > old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x40157000 > > > > mprotect(0x40177000, 2640, PROT_NONE) = 0 > > > > old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > 0x1f000) = 0x40177000 > > > > close(3) = 0 > > > > open("/lib/libpthread.so.0", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0"..., 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 > > > > old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x40178000 > > > > mprotect(0x40184000, 273952, PROT_NONE) = 0 > > > > old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0xc000) = 0x40184000 > > > > old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000 > > > > close(3) = 0 > > > > open("/lib/libc.so.6", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1"..., 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0 > > > > old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x401c7000 > > > > mprotect(0x402cf000, 32292, PROT_NONE) = 0 > > > > old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0x107000) = 0x402cf000 > > > > old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000 > > > > close(3) = 0 > > > > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\t\0\000"..., > > 1024) = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 > > > > old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0x402d7000 > > > > mprotect(0x402dc000, 160448, PROT_NONE) = 0 > > > > old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > 0x4000) = 0x402dc000 > > > > old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000 > > > > close(3) = 0 > > > > open("/lib/libz.so.1", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., > > 1024) = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0 > > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > > 0) = 0x40304000 > > > > old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000 > > > > mprotect(0x40310000, 5260, PROT_NONE) = 0 > > > > old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > 0xb000) = 0x40310000 > > > > close(3) = 0 > > > > open("/lib/libnsl.so.1", O_RDONLY) = 3 > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000"..., > 1024) > > = 1024 > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 > > > > old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000 > > > > mprotect(0x40322000, 10912, PROT_NONE) = 0 > > > > old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > 0x10000) = 0x40322000 > > > > old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000 > > > > close(3) = 0 > > > > munmap(0x40012000, 43905) = 0 > > > > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > > > > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 > > > > getpid() = 10179 > > > > rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > > = 0 > > > > rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > = > > 0 > > > > rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > = > > 0 > > > > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > > > > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0 > > > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > > > +++ killed by SIGSEGV +++ > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjsiquet at euresys.fr Fri Jun 20 13:48:14 2003 From: jjsiquet at euresys.fr (jjsiquet) Date: Fri, 20 Jun 2003 13:48:14 +0200 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <20030620112313.825.qmail@pod-163.dolphin-server.co.uk> References: <20030620112313.825.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000001c33721$d5f94f00$1f03a8c0@euresys> Darius is not a problem with inetd.conf ... It's a problem with SSL when you compile nrpe PLEASE TRY ./configure --disable-ssl AND YOU WILL SEE THAT NRPE WORK CORRECTLY Now it's bug of nrpe-2.0b4 or your SSL include miss in configure the makefile ???? -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Darius Pareigis Envoy??: vendredi 20 juin 2003 13:23 ??: Nagios-users at lists.sourceforge.net Objet?: [Nagios-users] Re: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake inetd.conf: user for nrpe is root. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Fallsen at kongsberg.com Fri Jun 20 15:04:45 2003 From: Tommy.Fallsen at kongsberg.com (Fallsen, Tommy) Date: Fri, 20 Jun 2003 15:04:45 +0200 Subject: Undetermined in availability report Message-ID: <26C49D5369C7E0409C3954D5A1ED1AE3060055@kda-beexc-02.kda.kongsberg.com> Hi Using Trend and availability report all i get is undetermined on 90% of all host and services. Is there something i configured wrong. I copied its setup from another nagios server and i got no such problems there. Any files i can zero out to sort of start from scratch again if needed? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tommy Fallsen System Administrator Kongsberg Defence & Aerospace Email: tommyf at kongsberg.com TEL: +47 32287783 WEB: http://www.kongsberg.com/eng/kog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UNIX is an operating system, OS/2 is half an operating system, Windows is a shell, and DOS is a boot partition virus." - Peter H. Coffin . ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MAILsweeper for the presence of computer viruses. Best regards, Kongsberg Gruppen ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From egopfe at hotmail.com Fri Jun 20 15:05:04 2003 From: egopfe at hotmail.com (Lombardo Federico) Date: Fri, 20 Jun 2003 15:05:04 +0200 Subject: nagios 1.1 SegFaults References: <200306191543.38269.roy@karlsbakk.net> <20030620214411.B241@IPAustralia.Gov.AU> Message-ID: I'm running debian 3.0r1 naguios will not generate a core also if runned into the built directory. btw, I'm compiling with these general options: General Options: ---------------------------------------------------------------------------- ------------------------------ Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Database (MySQL) Object data: Template-based (text file) Comment data: Database (MySQL) Downtime data: Database (MySQL) Retention data: Database (MySQL) Peformance data: Default (external commands) Extended info data: Database (MySQL) ---------------------------------------------------------------------------- -------------------------------------------- When compiling nagios I can see this potential problem: cc -g -O2 -I/usr/--enable-DEBUG3 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-st rict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8.0/CORE -DHAVE_CONFIG_H -DNSCORE - L/usr -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -rdynamic -L/usr/local/lib /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8.0/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lm -o nagios nagios.c: In function `xs_init': nagios.c:103: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type nagios.c: In function `main': nagios.c:634: warning: passing arg 2 of `perl_parse' from incompatible pointer type make[1]: Leaving directory `/root/nagios-1.1/base' ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------------------------------------------------------ My perl -V: Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi uname='linux str' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=loca lhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix =/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Du sethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db - Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallus rbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef' useithreads=define usemultiplicity= useperlio= d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=un uselongdouble= usemymalloc=, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-ali asing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr /include/gdbm', optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-st rict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)', gccosandvers='' gccversion='3.2.2 200302' intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long' k', ivsize=4' ivtype='long' known_ext, nvtype='double' o_nonbl', nvsize=, Off_t='', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc' l', ldflags =' -L/usr/local/lib' ldf' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs= libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper gnulibc_version='2.3.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi /CORE' cccdlflags='-fPIC' ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Feb 18 2003 22:19:53 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . ----- Original Message ----- From: "Stanley Hopcroft" To: "Lombardo Federico" Cc: Sent: Friday, June 20, 2003 1:44 PM Subject: Re: [Nagios-users] nagios 1.1 SegFaults > Dear Sir, > > I am writing to thank you for your letter and say, > > On Thu, Jun 19, 2003 at 04:13:02PM +0200, Lombardo Federico wrote: > > My segfault does not generate a core. > > It probably would if you ran it in your build directory (./nagios -h or > -m should do it). > > > Btw I've recompiled all without embeeded-perl support and now It never > > segfault. > > > > Please would you post the output of perl -V and the version of Debian > you are using ? This should establish whether this is a new problem or > not. > > > What to think ? > > > > It is almost certainly the problem with threaded Perls (> 5.6.1 on Linux > and Solaris) and embedding the Perl interpreter. > > The good news is that this is a known problem that is being fixed, if > not has been fixed already. > > Yours sincerely. > > (Thanks for the strace; it's not very interesting is it. I think if you > ran it under gdb > > gdb nagios > set args -h > .. SEGV .. > and then bt > you'd see the SEGV in perl_call_argv() > > ) > > > > > On Thursday 19 June 2003 12:59, Lombardo Federico wrote: > > > I've correctly compiled and installed my Nagios 1.1 under my debian > > running > > > kernel 2.4.21, when I start with -v option, or without any option it i > > > receive a segfault! > > > Starting normal mode, -d /etc/nagios.cfg will work. > > > > > > Best Regards, > > > > > > Federico > > > > > > Here the strace process: > > > > > > execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0 > > > > > > uname({sys="Linux", node="tbox", ...}) = 0 > > > > > > brk(0) = 0x8090ed0 > > > > > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > > > directory) > > > > > > open("/etc/ld.so.cache", O_RDONLY) = 3 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=43905, ...}) = 0 > > > > > > old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 > > > > > > close(3) = 0 > > > > > > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., > > 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0 > > > > > > old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x4001d000 > > > > > > mprotect(0x40039000, 99104, PROT_NONE) = 0 > > > > > > old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > > > 3, 0x1c000) = 0x40039000 > > > > > > close(3) = 0 > > > > > > open("/usr/lib/libperl.so.5.8", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\366"..., > > 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0 > > > > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > > > 0) = 0x40052000 > > > > > > old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > > 0x40053000 > > > > > > mprotect(0x40148000, 47808, PROT_NONE) = 0 > > > > > > old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > > 3, > > > 0xf5000) = 0x40148000 > > > > > > old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000 > > > > > > close(3) = 0 > > > > > > open("/lib/libdl.so.2", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000"..., > > > 1024) = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 > > > > > > old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000 > > > > > > mprotect(0x40156000, 2732, PROT_NONE) = 0 > > > > > > old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > > 0x1000) = 0x40156000 > > > > > > close(3) = 0 > > > > > > open("/lib/libm.so.6", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0"..., 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 > > > > > > old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x40157000 > > > > > > mprotect(0x40177000, 2640, PROT_NONE) = 0 > > > > > > old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > > 0x1f000) = 0x40177000 > > > > > > close(3) = 0 > > > > > > open("/lib/libpthread.so.0", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0"..., 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 > > > > > > old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x40178000 > > > > > > mprotect(0x40184000, 273952, PROT_NONE) = 0 > > > > > > old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > > 3, > > > 0xc000) = 0x40184000 > > > > > > old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000 > > > > > > close(3) = 0 > > > > > > open("/lib/libc.so.6", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1"..., 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0 > > > > > > old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > > 0x401c7000 > > > > > > mprotect(0x402cf000, 32292, PROT_NONE) = 0 > > > > > > old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > > 3, > > > 0x107000) = 0x402cf000 > > > > > > old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000 > > > > > > close(3) = 0 > > > > > > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\t\0\000"..., > > > 1024) = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 > > > > > > old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0x402d7000 > > > > > > mprotect(0x402dc000, 160448, PROT_NONE) = 0 > > > > > > old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > > 0x4000) = 0x402dc000 > > > > > > old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000 > > > > > > close(3) = 0 > > > > > > open("/lib/libz.so.1", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., > > > 1024) = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0 > > > > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > > > 0) = 0x40304000 > > > > > > old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000 > > > > > > mprotect(0x40310000, 5260, PROT_NONE) = 0 > > > > > > old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > > 0xb000) = 0x40310000 > > > > > > close(3) = 0 > > > > > > open("/lib/libnsl.so.1", O_RDONLY) = 3 > > > > > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000"..., > > 1024) > > > = 1024 > > > > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 > > > > > > old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000 > > > > > > mprotect(0x40322000, 10912, PROT_NONE) = 0 > > > > > > old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > > > 0x10000) = 0x40322000 > > > > > > old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000 > > > > > > close(3) = 0 > > > > > > munmap(0x40012000, 43905) = 0 > > > > > > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > > > > > > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 > > > > > > getpid() = 10179 > > > > > > rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > > > = 0 > > > > > > rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > > = > > > 0 > > > > > > rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) > > = > > > 0 > > > > > > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > > > > > > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0 > > > > > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > > > > > +++ killed by SIGSEGV +++ > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk being > > > ::: sent to /dev/null > > > > -- > > Roy Sigurd Karlsbakk, Datavaktmester > > ProntoTV AS - http://www.pronto.tv/ > > Tel: +47 9801 3356 > > > > Computers are like air conditioners. > > They stop working when you open Windows. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > ------------------------------------------------------------------------ > 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 20 15:22:33 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 20 Jun 2003 23:22:33 +1000 Subject: nagios 1.1 SegFaults In-Reply-To: ; from egopfe@hotmail.com on Fri, Jun 20, 2003 at 03:05:04PM +0200 References: <200306191543.38269.roy@karlsbakk.net> <20030620214411.B241@IPAustralia.Gov.AU> Message-ID: <20030620232230.B233@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jun 20, 2003 at 03:05:04PM +0200, Lombardo Federico wrote: > I'm running debian 3.0r1 > > naguios will not generate a core also if runned into the built directory. > > ------------------------------------------------------------------ > > My perl -V: > > Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: > > Platform: > > osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi > > uname='linux str' > > config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=loca > lhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, > Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix > =/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Du > sethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db - Yep. Threaded Perl 5.8.0. This is the known problem. If I don't see anything posted about this by Saturday night, I will send you the patches that I am fairly confident will fix it. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Fri Jun 20 15:32:47 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 20 Jun 2003 09:32:47 -0400 Subject: Unexpected token or statement error when runni ng Nagios w/ -v In-Reply-To: <200306191509.26513.mikec@balmy.net> References: <04C669CE7B1D8E4EB46971034B329A6C193F70@emsmia1.southcom.disa.mil> <04C669CE7B1D8E4EB46971034B329A6C193F70@emsmia1.southcom.disa.mil> Message-ID: <5.2.1.1.0.20030620093134.00bce5d8@mail.capband.net> At 03:09 PM 6/19/2003 -0500, Michael A. Carpenter wrote: >The checkcommands.cfg file is in the etc directory. > >The really wierd thing is that if I use the nagios.cfg-sample file (with >the exact same log_file line) it works...I have cut and pasted the line >from the -sample file to the .cfg file and it doesnt work... > > > Unexpected token or statement in file > > > '/usr/local/nagios/etc/nagios.cfg' on > > > line 2. > > > > > > This line is my log_file entry. It reads: > > > > > > log_file=/usr/local/nagios/var/nagios.log > > > > > > I have checked and the directory exists, and nagios has permissions to > > > the > > > > > > directory. I have checked for "^M" characters and didnt find any. I > > > have > > > > > > attached the file. Er, what's line 1 look like? What happens if you remove that line and put it at the end of the cfg file? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 16:43:04 2003 From: td3201 at yahoo.com (Terry) Date: Fri, 20 Jun 2003 07:43:04 -0700 (PDT) Subject: nrpe - ssl problems - disabling Message-ID: <20030620144304.37372.qmail@web80501.mail.yahoo.com> Hello, I have nrpe compile problems with ssl so I just disabled but it still does not work with the server. I get: Host 172.27.2.4 is not allowed to talk to us! But I have allowed that host in the nrpe.cfg file. I also get this on the server: libexec/check_nrpe -H 172.27.3.135 -p 3211 -c check_disk CHECK_NRPE: Error - Could not complete SSL handshake. Do I have to completely disable SSL for check_nrpe? Or can I have some clients who use ssl and others who dont? ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mblackwell at wallace.com Fri Jun 20 16:52:07 2003 From: mblackwell at wallace.com (maiku41) Date: 20 Jun 2003 14:52:07 -0000 Subject: nrpe - binfmt-4c46 kernel module?? Message-ID: <20030620145207.11360.qmail@pod-163.dolphin-server.co.uk> Still trying to get nrpe to work on a RedHat 7.2 box. I've loaded the latest openssl, and now get a different problem: nrpe still won't run, and the system message file now shows the following error message each time nrpe is executed: modprobe: can't locate module binfmt-4c46 Is this a standard kernel module? insmod doesn't seem to find it in the normal places ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 17:42:21 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 20 Jun 2003 11:42:21 -0400 Subject: check_uptime work around... with snmp Message-ID: Hi all, Someone was looking up a way to be notified when his servers where rebooting. The suggestion at that time was to use the check_uptime check that is in the contrib directory (= means, does not work right now and need some modification). A work around for this, using snmp, would be to use the check_snmp check (latest daily release of plugins, with the range option. So the command would look like... (in checkcommands.cfg) BEGIN -------------------- #snmp define command{ command_name snmp_sysuptime command_line $USER1$/check_snmp -H $HOSTADDRESS$ -c 300:1 -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 } ----------------- END -o .1.3.6.1.2.1.1.3.0 = This is the OID uptime in seconds (I think) for everything that does SNMP -c 300:1 = Assuming that theses are seconds, this option would let me know if it is between 300 seconds and 1 second. You would have to do some tests to actually see if it is seconds. Happy hunting. :) Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony_Brock at ous.edu Fri Jun 20 17:46:15 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Fri, 20 Jun 2003 08:46:15 -0700 Subject: Compiling nagios plugins with ssl-support Message-ID: The way I did this was: # ./configure --with-openssl=/usr/local/ssl This automatically defined the 'INCLUDE' and 'LIB' directorys as appropriate sub-directories (INCLUDE=/usr/local/ssl/include and LIB=/usr/local/ssl/lib). Tony >>> Jens Kruse 06/20/03 12:36AM >>> Hi! Jens Kruse wrote: > Hi, > > I'm trying to recompile Nagios Plugins 1.3.0 with Openssl-Support. > > IMHO should a > > # ./configure --with-openssl=/usr/share/ssl I got it, it has to be # ./configure --enable-openssl=yes --with-openssl-lib= --with-openssl-include= Could this pls. as possible options included into the configure script (AFAIK is --with-openssl-include= not mentioned)? Thanks, Jens ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Fri Jun 20 18:27:57 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Fri, 20 Jun 2003 11:27:57 -0500 Subject: check_uptime work around... with snmp Message-ID: I must have missed that thread. On Linux you can use swatch and set it to look for shutting down for system reboot or Switching to runlevel and then have swatch send him a message. >>> "Serveur-Faucon Surveillance" 06/20/03 11:42AM >>> Hi all, Someone was looking up a way to be notified when his servers where rebooting. The suggestion at that time was to use the check_uptime check that is in the contrib directory (= means, does not work right now and need some modification). A work around for this, using snmp, would be to use the check_snmp check (latest daily release of plugins, with the range option. So the command would look like... (in checkcommands.cfg) BEGIN -------------------- #snmp define command{ command_name snmp_sysuptime command_line $USER1$/check_snmp -H $HOSTADDRESS$ -c 300:1 -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 } ----------------- END -o .1.3.6.1.2.1.1.3.0 = This is the OID uptime in seconds (I think) for everything that does SNMP -c 300:1 = Assuming that theses are seconds, this option would let me know if it is between 300 seconds and 1 second. You would have to do some tests to actually see if it is seconds. Happy hunting. :) Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Fri Jun 20 18:25:57 2003 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 20 Jun 2003 12:25:57 -0400 Subject: config question References: <2081.132.183.76.128.1055956667.squirrel@www.atomicmatrix.net> Message-ID: <3EF33595.6000405@quadrix.com> This feature does not exist...yet. I believe it is added in the form of regex expression matching in the host_name field, in Nagios 2.0. You can check the Upcoming page at nagios.org for more details. Russell Scibetti Ben Goodwin wrote: >Thanks to all who quickly answered my question RE: monitoring an NT >server; I don't know how I missed the nrpe_nt plugin unless it was >recently added to the nagios site. > >In any case, I'm wondering if there's any way to specify an "except xyz" >in the nagios object files, along the lines of > >define service{ > use generic-service > > hosts *,!xyz > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > >meaning define ping for all hosts *except* 'xyz' > >I'm running into some wooly service definitions where I'd like to monitor, >say, SSH for every host in a hostgroup except one. Right now it seems I >can get away with specifying > > hostgroup_name foo,bar > host_name a,b,c,d,e > >where a,b,c,d,e,f are part of hostgroup_name 'fud', but I can't use >"hostgroup_name foo,bar,fud" since I don't want to monitor the SSH service >on 'f' ... > >Are nested hostgroup definitions possible? That would help alleviate this >problem. > >Thanks again, > > -=| Ben > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Fri Jun 20 18:37:09 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 20 Jun 2003 09:37:09 -0700 Subject: SNMP traps Message-ID: Yeah thats true. I setup a trap watcher like: check_freshness 0 check_period none active_checks_enabled 1 passive_checks_enabled 1 stalking_options c You will want to tweak as nessecary. The "check_period none" with active enabled makes the display show it as not being disabled so its a bit prettier. I turned on state stalking, since if I get another trap thats different from the first one I want to know about it so that will force nagios to send me another alert. If you are watching for a "success" trap as well then, you'll want something more like the nagios docs example where the freshness interval kicks off an alert script to let you know that you never got it. > -----Original Message----- > From: Brian Ipsen [mailto:Brian.Ipsen-sender-25cac0 at andebakken.dk] > Sent: Friday, June 20, 2003 4:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP traps > > > Hi! > > I've set Nagios up with snmptrapd to react on snmp traps from a host > running BeckupExec.... But I wonder what is the best way to > do this ? If the > service is set up as a passive service, the service check is listed as > disabled (x disabled services on the tactical overview) ? > > Regards, > > Brian > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Boardmain at ircitalia.net Fri Jun 20 19:20:46 2003 From: Boardmain at ircitalia.net (Boardmain) Date: Fri, 20 Jun 2003 19:20:46 +0200 Subject: Parent - Child question Message-ID: <5.1.1.6.0.20030620191918.01d65b40@dns.everland.it> hi i'm using 1.1 version how i can setup a parent -child relations? (i need see it in the status map) how can paste here a example of working configurations ? and the name of file i need to configure. Regards .::Network Administrator IRCItalia::. Boardmain - Copped? Samuele ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mav at juniper.net Fri Jun 20 19:21:22 2003 From: mav at juniper.net (Ian Davidson) Date: Fri, 20 Jun 2003 18:21:22 +0100 Subject: Notifications when I don't want them Message-ID: Hi All, I've got a problem whereby although it appears (to me) that I've disabled notifications for a particular service, I'm still getting notification emails about it! Maybe I've done something wrong... I run a distributed monitoring system and manage all the config files for all the remote servers on the central server (and rdist them out when changes are made). On the central server I'ce created individual remote-server files, eg> Remote-server1-hosts.cfg, remote-server1-services.cfg Remote-server2-hosts.cfg, remote-server2-services.cfg and so on. I call these files from the main nagios.cfg file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/global-services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg #CONFIG FILES RDIST'D DISTRIBUTED SERVERS ######## cfg_file=/usr/local/nagios/etc/andretti-hosts.cfg cfg_file=/usr/local/nagios/etc/andretti-services.cfg cfg_file=/usr/local/nagios/etc/alesi-hosts.cfg cfg_file=/usr/local/nagios/etc/alesi-services.cfg I also have a global-services.cfg file which all servers get. In this file I've setup a ping service and attributed all hosts to it using the '*' wildcard. It's this ping notification that's driving me nuts. Below is the global-services.cfg file I'm using. I believe I've disabled all the bits that would generate a notification...but I still get 'em. Any ideas? Cheers, Ian [root at schumi etc]# more global-services.cfg ######################################################################## ######## # SERVICE DEFINITIONS # SYNTAX: ######################################################################## ######## # Generic service definition template define service{ name check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 notification_interval 120 notification_period workhours #notification_options c,r notification_options n active_checks_enabled 1 passive_checks_enabled 1 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 } # SERVICE DEFINITION FOR EMEA PING REQUESTS define service{ service_description check-ping check_command check_ping use generic-service contact_groups null host_name * } -- Ian Davidson IT Networking EMEA Tel: +44-1372-385653 GSM: +44-7952-173703 Internal: 35653 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.ward at mapfusion.com Fri Jun 20 20:06:39 2003 From: ray.ward at mapfusion.com (Ray Ward) Date: Fri, 20 Jun 2003 14:06:39 -0400 Subject: Collecting NRPE v1.8 data from behind a firewall...get garbled characters on the return... Message-ID: Hey guys, I'm running nagios v1.1 on a RedHat 9 system, that is behind a firewall on my LAN segment. I am trying to gather data via NRPE v1.8 (running in daemon mode) on a Solaris 8 system in my DMZ. I have allowed 5666/tcp to get from the DMZ to the LAN. When I run check_nrpe -H -p 5666 -c check_users I get this ?????# a bunch of garbled characters... The check_users command works fine locally on the solaris machine, and the nrpe.cfg file is setup correctly here is check_users entry... command[check_users]=/export/home/nagios/libexec/check_users -w 5 -c 10 below is a snip from the syslog with NRPE debug info... Jun 20 13:36:48 app02 nrpe[10028]: [ID 654915 daemon.debug] Connection from port 60026 Jun 20 13:36:48 app02 nrpe[10028]: [ID 797369 daemon.debug] Host address checks out ok Jun 20 13:36:48 app02 nrpe[10028]: [ID 879649 daemon.debug] Handling the connection... Jun 20 13:36:48 app02 nrpe[10028]: [ID 881351 daemon.debug] Host is asking for command 'check_users' to be run... Jun 20 13:36:48 app02 nrpe[10028]: [ID 462736 daemon.debug] Running command: /export/home/nagios/libexec/check_users -w 5 -c 10 Jun 20 13:36:48 app02 nrpe[10028]: [ID 869297 daemon.debug] Return Code: 1, Output: ?????#\200 Jun 20 13:36:48 app02 nrpe[10028]: [ID 903583 daemon.debug] Connection from closed. any help with this would be greatly appreaciated... _______________________________ Ray Ward IT Technician MapFusion Technologies Inc. _______________________________ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Fri Jun 20 20:44:34 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Fri, 20 Jun 2003 14:44:34 -0400 Subject: nagiosbounce.sh References: <200306200651.h5K6pgT28153@spectre.freeparking.co.nz> <3EF2B59A.9070807@dhl.com> Message-ID: <031201c3375b$fed43ea0$f805ff0a@tekniq> Also, keep in mind that unless you use status retention you'll receive (a second time) all of your notifications and alerts for "down" services and hosts. I've never seen nagios run duplicate processes unless I use the nagios init.d script to restart, therefore I'd opt to disable status retention and have nagios run 24x7 rather than enable status retention and have nagios restart once daily. How often do you see duplicate processes running? You could take your restart-daily script a step further and write a custom nagios monitor which would perform a ps and search for duplicate nagios processes that have been running more than 30 minutes. I needed a script to do this (and a little bit more) anyway, so I wrote one that should work for your situation. I attached it to this email but you may also find it at http://jasonplancaster.com/projects/scripts/check_duplicate_proc.pl Cheers, -Jason ----- Original Message ----- From: "Tom DE BLENDE" To: Cc: "Martin Jeremy" ; Sent: Friday, June 20, 2003 3:19 Subject: Re: [Nagios-users] nagiosbounce.sh > Dear, > > One thing I could see as a setback, is that -if you have set > inter_check_delay_method to smart- you will have services that don't > get checked right after the restart every day... > > Kind regards, > Tom > > > Jamie Baddeley wrote: > > Hi Jeremy, > > > > Technically I don't see any problems with this, but it does beg the question > > - why do you need to do this? > > > > Linux is not the environment to practise the ctrl-alt-del school of > > networking. > > > > :-) > > > > jamie > > > > On Fri, 20 Jun 2003 09:17, Martin, Jeremy wrote: > > > >>For the past few days I have been running this script at 4:00 PM every day > >>(so I will notice if it messes anything up before I leave work)... It has > >>worked great to prevent rogue nagios instances from running. I just wanted > >>to run this by the list real quick to see if anyone thinks doing this might > >>cause any problems. > >> > >>################################# > >>#!/bin/sh > >>/etc/rc.d/init.d/nagios stop > >>killall nagios > >>/etc/rc.d/init.d/nagios start > >>################################# > >> > >>Thanks, > >>Jeremy > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: INetU > >>Attention Web Developers & Consultants: Become An INetU Hosting Partner. > >>Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > >>INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>::: Please include Nagios version, 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: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: check_duplicate_proc.pl Type: application/octet-stream Size: 4476 bytes Desc: not available URL: From rodrigo.pinheiro at netcenter.com.br Fri Jun 20 22:08:19 2003 From: rodrigo.pinheiro at netcenter.com.br (Rodrigo Pinheiro) Date: Fri, 20 Jun 2003 17:08:19 -0300 Subject: NSCA client for windows Message-ID: Is there a NSCA client for windows or other variant ?? I need of passive checks for windows clients hosts because are beside my firewall. Regards. []s Rodrigo Pinheiro Analista T.I Netcenter Inform?tica rpinheiro at netcenter.com.br ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan.Jorgensen at isc-online.ca Fri Jun 20 22:22:09 2003 From: Alan.Jorgensen at isc-online.ca (Jorgensen, Alan ISC) Date: Fri, 20 Jun 2003 14:22:09 -0600 Subject: NSCA client for windows Message-ID: <9753D79260E9D31181E600508B64CF34034C5B73@ltexprd01.sliscorp.com> I compiled the nsca under cygwin and it works OK. You have to carry the cygwin1.dll along with you. -----Original Message----- From: Rodrigo Pinheiro [mailto:rodrigo.pinheiro at netcenter.com.br] Sent: June 20, 2003 2:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA client for windows Is there a NSCA client for windows or other variant ?? I need of passive checks for windows clients hosts because are beside my firewall. Regards. []s Rodrigo Pinheiro Analista T.I Netcenter Inform?tica rpinheiro at netcenter.com.br ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Jun 21 08:11:34 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 21 Jun 2003 02:11:34 -0400 Subject: HP/Compaq ILO and check_http In-Reply-To: <3EF2B9FE.9080807@mobilcom.de> References: <1055017126.983.8.camel@miles.debisschop.net> <3EE57D66.2010506@mobilcom.de> <1055243773.1061.53.camel@miles.debisschop.net> <3EF2B9FE.9080807@mobilcom.de> Message-ID: <1056175893.16332.22.camel@localhost.localdomain> On Fri, 2003-06-20 at 03:38, Jens Kruse wrote: > Hi Karl! > > Karl DeBisschop wrote: > > On Tue, 2003-06-10 at 02:40, Jens Kruse wrote: > > > > I have only just scanned it, but it looks to me like the ILO is > > streaming the data... > > > > Could that be true? > > As far as I understand the White Paper > (http://wwss1pro.compaq.com/support/reference_library/viewdocument.asp?countrycode=1000&prodid=510|Remote+Insight+Board+Lights-Out+Edition&source=TC020404TB.xml&dt=21) > > > it is streaming ... > > > If so, you need to be able put a size and/or time limit on it. You would > > probably like to be able to say 'report an error if in n seconds less > > than j bytes are delivered.' > > Where would I get these parameters? I'd probably have to measure the > data (i.e. with wget)? Yes. Shouldn't be too hard though - run wget to slurp up a page. If I had this problem, I'd tell check_http to stop about halfway through the page - it will change over time, so you don't want to require loading 100% of what you download via wget. I'd also probably do some sort of string or regex check. I'll try and add the size limit to the CVS HEAD in the next week or so - with that you should have a sporting chance to make this work. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 21 08:14:25 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 21 Jun 2003 16:14:25 +1000 Subject: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with threaded typically Linux Perls). Message-ID: <20030621161420.A229@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, The Nagios kibutzers take great pleasure in announcing an _unofficial_ patch for embedded Perl support in Nagios 1.1. The patch, while not extensively tested, _should_ fix the SEGV on starting up (for any args, -h -m or -v) of a Nagios 1.1 configured with an embedded Perl interpreter (for greater efficiency in executing Perl plugins). Details below. Status Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on start-up of Nagios built with an embedded Perl interpreter. The SEGV occurs right at start-up and is associated with libperl.so (it may occur at the first printf in the main program). It only occurs with threaded Perls that are typically shipped with systems having good pthread OS support. Affected systems include RH 8 and 9 Mandrake 9 ( 2.4.19-16mdk ) Suse 8 Debian ? Unaffected systems include FreeBSD RELENG_4 (v4 Release and Stable branches) If you have a Linux or Solaris system with a Perl greater than 5.6.1 and you want an embedded Perl Nag, you need this patch. Credits Ethan Galstad Reuben Farrelly I believe the patch was originally the work of Mr Reuben Farrelly from Suse (the Suse 8 Nag 'package' has this problem fixed). Feedback S Hopcroft Flames S Hopcroft Testing compiled and run on Mandrake 9/Perl 5.8.0 compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] Notes Should apply to Nag 1.0 but unchecked. Patch attached. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. -------------- next part -------------- --- nagios.c.orig 2003-06-03 13:47:58.000000000 +1000 +++ nagios.c 2003-06-21 14:37:17.000000000 +1000 @@ -58,6 +58,8 @@ #include static PerlInterpreter *my_perl; #include +#undef ctime /* don't need perl's threaded version */ +#undef printf /* can't use perl's printf until initialized */ /* include PERL xs_init code for module and C library support */ @@ -85,18 +87,22 @@ # define EXTERN_C extern # endif #endif - -EXTERN_C void xs_init _((void)); +#ifdef THREADEDPERL +EXTERN_C void xs_init _((pTHX)); +EXTERN_C void boot_DynaLoader _((pTHX_ CV* cv)); +#else +EXTERN_C void xs_init _((void)); EXTERN_C void boot_DynaLoader _((CV* cv)); +#endif -EXTERN_C void -xs_init(void) -{ - char *file = __FILE__; #ifdef THREADEDPERL - dTHX; +EXTERN_C void xs_init(pTHX) +#else +EXTERN_C void xs_init(void) #endif +{ + char *file = __FILE__; dXSUB_SYS; /* DynaLoader is a special case */ --- utils.c.orig 2002-11-18 12:15:13.000000000 +1100 +++ utils.c 2003-06-21 14:48:40.000000000 +1000 @@ -49,6 +49,11 @@ #include /* In perl.h (or friends) there is a macro that defines sighandler as Perl_sighandler, so we must #undef it so we can use our sighandler() function */ #undef sighandler +/* and we don't need perl's reentrant versions */ +#undef localtime +#undef getpwnam +#undef getgrnam +#undef strerror #endif char *my_strtok_buffer=NULL; From teng at dataway.com Sat Jun 21 08:36:05 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 20 Jun 2003 23:36:05 -0700 Subject: Notification by IRC script Message-ID: I whipped up a script that will notify our helpdesk's IRC chatserver, since that's instant feedback vs. trying to wade through a spam-filled inbox for an alert. Everyone is free to do what they want with the script, stick it into the contrib if they think it's useful, or include it in their own code, etc. NO WARRANTY. If it breaks, you keep all the pieces. Description: notify_irc looks at both piped stdin or a command line argument, and passes that as a private message to an IRC channel or user, similar to how /bin/mail works for notifications. Example: notify_irc $OUTPUT or echo "$OUTPUT" | notify_irc Requires: Perl 5.0xxx or higher NET::IRC Perl module Installation: First, set up the notification commands (in misccommands.cfg) ------------------------------------------------------------------------- # 'host-notify-by-irc' command definition define command{ command_name host-notify-by-irc command_line /usr/bin/printf "%b" "HOST $HOSTSTATE$ ALERT ** HOST: $HOSTNAME$ INFO:$OUTPUT$" | /usr/local/nagios/libexec/notify_irc } # 'notify-by-irc' command definition define command{ command_name notify-by-irc command_line /usr/bin/printf "%b" "SERVICE $SERVICESTATE$ ALERT ** HOST: $HOSTNAME$ SERVICE: $SERVICEDESC$ INFO:$OUTPUT$" | /usr/local/nagios/libexec/notify_irc } Second, paste this into a file named "notify_irc" in your executables directory Change settings to suit your environment. ------------------------------------------------------------------------- #!/usr/bin/perl -w # Based on irctest by the author of Net::IRC module use strict; use Net::IRC; my $irc = new Net::IRC; my $ircserver="your.irc.com"; my $ircchannel="#HELPDESK"; my $ircname="NAGIOS"; my $conn = $irc->newconn(Server => ($ircserver), Port => 6667, Nick => "$ircname", Ircname => 'Nagios', Username => "$ircname") or die "irctest: Can't connect to IRC server.\n"; my $alertmessage=($ARGV[0] || ); sub on_connect { my $self = shift; print "Sending privmsg to $ircchannel...\n"; $self->privmsg("$ircchannel", $alertmessage); $self->quit; exit 0; } print "Connecting...\n"; $conn->add_global_handler(376, \&on_connect); $irc->start; ------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s9321020 at ncnu.edu.tw Sat Jun 21 11:14:56 2003 From: s9321020 at ncnu.edu.tw (villiard) Date: Sat, 21 Jun 2003 17:14:56 +0800 Subject: about the statusmap.cgi and trends.cgi Message-ID: <000801c337d5$95290100$281f16a3@round> when i configure nagios it didn't generate these two cgi files..........>.< would someone mind to mail these two cgi files to me please.................. -------------- next part -------------- An HTML attachment was scrubbed... URL: From airween at amit.hu Sat Jun 21 11:13:00 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Sat, 21 Jun 2003 11:13:00 +0200 Subject: Fail error message Message-ID: <20030621091300.GA11276@amit.hu> Hello list, we use nagios a few days - it works very correctly. yesterday, we managed a w2k server, that is a DC, and we look from Nagios the DNS service. the managed was a simple reinstall... after reinstall, Nagios notify us, this host and this service is down. but: the host is up, and service is runs. if i try to check from command line these, the check returns OK message: monitor:/usr/local/nagios/libexec# ./check_dns -H nike2000 DNS ok - 0 seconds response time, Address(es) is/are xxx.yyy.zzz.vvv monitor:/usr/local/nagios/libexec# ./check_ping -H nike2000 -w 3000.0,80% -c 5000.0,100% -p1 PING OK - Packet loss = 0%, RTA = 32.20 ms or, if i try to ping or to ask some DNS query at manually, the server reply to me: monitor:~# ping nike2000 PING nike2000.domain.local (xxx.yyy.zzz.vvv): 56 data bytes 64 bytes from xxx.yyy.zzz.vvv: icmp_seq=0 ttl=125 time=33.3 ms 64 bytes from xxx.yyy.zzz.vvv: icmp_seq=1 ttl=125 time=33.3 ms monitor:~# dig nikemsg01.domain.local @nike2000.domain.local ; <<>> DiG 9.2.1 <<>> nikemsg01.domain.local @nike2000.domain.local ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43877 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;nikemsg01.domain.local. IN A ;; ANSWER SECTION: nikemsg01.domain.local. 3600 IN A xxx.yyy.zzz.nnn ;; Query time: 38 msec ;; SERVER: xxx.yyy.zzz.vvv#53(nike2000.domain.local) ;; WHEN: Sat Jun 21 11:10:39 2003 ;; MSG SIZE rcvd: 60 the DNS answer is correct. just this host and service gives alert - other windows servers and services does not, and this alert is just since yesterday, after we end of reinstall... what may the problem? thank you: airween ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Jun 21 14:45:30 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 21 Jun 2003 08:45:30 -0400 Subject: Fail error message In-Reply-To: <20030621091300.GA11276@amit.hu> References: <20030621091300.GA11276@amit.hu> Message-ID: <1056199529.16332.31.camel@localhost.localdomain> On Sat, 2003-06-21 at 05:13, Hegedus, Ervin wrote: > Hello list, > > we use nagios a few days - it works very correctly. > yesterday, we managed a w2k server, that is a DC, and we look > from Nagios the DNS service. > the managed was a simple reinstall... > > after reinstall, Nagios notify us, this host and this service is > down. > but: the host is up, and service is runs. Maybe the check_host is misconfigured? In that case, the service checks would not be performed until the host came back up. Which it would not be able to do until check_host_alive reports success. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at kualo.com Sat Jun 21 23:50:28 2003 From: craig at kualo.com (Craig) Date: 21 Jun 2003 21:50:28 -0000 Subject: Service and Process commands unavailable Message-ID: <20030621215028.30557.qmail@pod-163.dolphin-server.co.uk> Hi all, I am also experiencing this problem running Nagios on Debian (having installed using the Debian package system). The commands are not available because Nagios doesn't seem to think that it is running. Is it searching the processes incorrectly perhaps? Would be very grateful for any ideas any of you might have. Best regards, Craig Luke. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singhsaurabh2003 at yahoo.com Sun Jun 22 07:30:21 2003 From: singhsaurabh2003 at yahoo.com (saurabh singh) Date: Sat, 21 Jun 2003 22:30:21 -0700 (PDT) Subject: Perl or CGI code for connectivity with MySQl Message-ID: <20030622053021.28389.qmail@web14807.mail.yahoo.com> Dear freinds.. Please help me in procurring Perl or CGi code for connectivity with MySQL...I need to connect my nagios Data with MySQL. support. If you have code for connectivity...kindly send it to me...It's very urgent... Thanx... Sincerly yours, Saurabh Singh... --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! -------------- next part -------------- An HTML attachment was scrubbed... URL: From airween at amit.hu Sun Jun 22 10:29:55 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Sun, 22 Jun 2003 10:29:55 +0200 Subject: Fail error message In-Reply-To: <1056199529.16332.31.camel@localhost.localdomain> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> Message-ID: <20030622082955.GA12837@amit.hu> Hello, dear Karl, first: thank you for your reply. > Maybe the check_host is misconfigured? In that case, the service checks > would not be performed until the host came back up. Which it would not > be able to do until check_host_alive reports success. what do you mean 'check_host is misconfigured'? look at this: monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive # check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive check_command check-host-alive as you can see, there is many other host where we use check-host-alive command - there are works fine. the commented line is the w2k host, what gives back false alert. here is the relevant part of checkcommands.cfg: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } i use _only_ this command, i didn't redefined this command anywhere... in my previous mail i attached a sample, where i tested the command_line line - that works with this host also. any tips? thanks: airween ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abest at rentokilinitial.com.au Mon Jun 23 02:18:43 2003 From: abest at rentokilinitial.com.au (Andrew Best) Date: Mon, 23 Jun 2003 10:18:43 +1000 Subject: nrpe & "Could not read request from client, bailing" Message-ID: <010701c3391d$015d9190$4da09384@rentokilinitial.com.au> Anyone know what could be causing the above error message from the nrpe daemon? When I run nrpe in stand alone daemon mode with debug=1 it logs: Jun 23 09:30:36 host nrpe[9990]: Connection from XXX.XXX.XXX.XXX port 25545 Jun 23 09:30:36 host nrpe[9990]: Host address checks out ok Jun 23 09:30:36 host nrpe[9990]: Handling the connection... Jun 23 09:30:36 host nrpe[9990]: Could not read request from client, bailing out... Jun 23 09:30:36 host nrpe[9990]: Connection from XXX.XXX.XXX.XXX closed. On our nagios host this is reported as: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? Interestingly, when I run nrpe from inetd it will actually respond okay....some of the time. Other times, it displays the same behaviour as when run in stand alone daemon mode and we get: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? Im leaning towards this being a SCO 5.0.X TCP problem somewhere. When I telnet to nrpe on a redsplat box the connection stays open. When I telnet to nrpe on a SCO box, the connection opens and then immediatly closes. Obviously, if the checks we do on the SCO boxes do not get the return data within the window that the TCP session is available, it reports the "received 0 bytes" error in Nagios. So, the question I have, is where should I be looking to resolve this problem? Im wondering if its a TCP tuning problem with the SCO box, or a problem with the way ive compiled nrpe under SCO. Im thinking its NOT a problem with the inetd daemon on SCO since I can make this problem appear 100% when running nrpe in daemon mode. Anyone care to lend a hand? cheers Andrew -- This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this in error, please advise the sender by return email and delete the material from your computer. Rentokil Initial Pty Ltd ABN 98 000 034 597 does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Mon Jun 23 02:49:32 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Mon, 23 Jun 2003 10:49:32 +1000 Subject: Host check increases latency Message-ID: <200306230049.h5N0nWo21969@mail005.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From nagios at billyshouse.com Mon Jun 23 03:13:38 2003 From: nagios at billyshouse.com (Billy) Date: Mon, 23 Jun 2003 11:13:38 +1000 Subject: about the statusmap.cgi and trends.cgi In-Reply-To: <000801c337d5$95290100$281f16a3@round> References: <000801c337d5$95290100$281f16a3@round> Message-ID: You probably haven?t got gd installed. Have a read through the install docs, and make sure you have all the pre-requisite modules installed ;) Bill ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of villiard Sent: Saturday, 21 June 2003 7:15 PM To: nagios-users at lists.sourceforge.net when i configure nagios ? it didn't generate these two cgi files..........>.< ? would someone mind to mail these two cgi files to me ? please.................. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Mon Jun 23 03:23:55 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Mon, 23 Jun 2003 11:23:55 +1000 Subject: Host check increases latency Message-ID: <200306230123.h5N1Ntl21425@mail023.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From zulhilmi at fibrecomm.net.my Mon Jun 23 04:12:41 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Mon, 23 Jun 2003 10:12:41 +0800 Subject: Autentication Fail !!!! Message-ID: -I dont know what has happened to my Nagios. Suddenly i cannot login because it said that my login and password is npt valid. Arghhhh dont know why this happen. Help me anyone -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at billyshouse.com Mon Jun 23 06:19:36 2003 From: nagios at billyshouse.com (Billy) Date: Mon, 23 Jun 2003 14:19:36 +1000 Subject: Autentication Fail !!!! In-Reply-To: References: Message-ID: Logins are controlled by the web server, not nagios. If it's apache, check your .htaccess file in your web dir, otherwise check the auth docs for your flavour of web server _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Syed Zulhilmi Tuan Sharif Sent: Monday, 23 June 2003 12:13 PM To: nagios-users at lists.sourceforge.net -I dont know what has happened to my Nagios. Suddenly i cannot login because it said that my login and password is npt valid. Arghhhh dont know why this happen. Help me anyone -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Mon Jun 23 07:24:16 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 23 Jun 2003 00:24:16 -0500 Subject: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread In-Reply-To: <20030621161420.A229@IPAustralia.Gov.AU> References: <20030621161420.A229@IPAustralia.Gov.AU> Message-ID: <3EF648B0.29841.B3A03@localhost> Thanks for the patches! I've applied these to CVS (both 1.x and HEAD branches). On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > The Nagios kibutzers take great pleasure in announcing an _unofficial_ > patch for embedded Perl support in Nagios 1.1. > > The patch, while not extensively tested, _should_ fix the SEGV on > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > with an embedded Perl interpreter (for greater efficiency in executing > Perl plugins). > > Details below. > > Status > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on > start-up of Nagios built with an embedded Perl interpreter. > > The SEGV occurs right at start-up and is associated with > libperl.so (it may occur at the first printf in the main program). It > only occurs with threaded Perls that are typically shipped with systems > having good pthread OS support. > > Affected systems include > > RH 8 and 9 > Mandrake 9 ( 2.4.19-16mdk ) > Suse 8 > Debian ? > > Unaffected systems include > > FreeBSD RELENG_4 (v4 Release and Stable branches) > > If you have a Linux or Solaris system with a Perl greater than 5.6.1 and > you want an embedded Perl Nag, you need this patch. > > Credits > > Ethan Galstad > Reuben Farrelly > > I believe the patch was originally the work of Mr Reuben > Farrelly from Suse (the Suse 8 Nag 'package' has this problem fixed). > > Feedback > > S Hopcroft > > Flames > S Hopcroft > > Testing > compiled and run on Mandrake 9/Perl 5.8.0 > compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] > compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] > > Notes > > Should apply to Nag 1.0 but unchecked. > > Patch > attached. > > 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. > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g_mak at interia.pl Mon Jun 23 11:48:48 2003 From: g_mak at interia.pl (greg) Date: Mon, 23 Jun 2003 11:48:48 +0200 Subject: Host detail showing all hosts up Message-ID: <3EF6CD00.8000907@interia.pl> Hi, I have about 200 hosts on a local network. Service detail shows things correctly, but host detail shows hosts up while most of them are down. I have set up only ping service for each host. I suppose the solution is simple, but I'm not able to pinpoint the problem. Thanks Greg -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: myconfig.txt URL: From karl at designit.com.au Mon Jun 23 11:55:03 2003 From: karl at designit.com.au (Karl Latiss) Date: 23 Jun 2003 19:55:03 +1000 Subject: Compile Error with MySQL Support In-Reply-To: <20030621135502.18392.qmail@pod-163.dolphin-server.co.uk> References: <20030621135502.18392.qmail@pod-163.dolphin-server.co.uk> Message-ID: <1056362103.25820.127.camel@darkstar.internal.designit.com.au> On Sat, 2003-06-21 at 23:55, allan wrote: > I am attempting to compile Nagios with complete mySQL support. The swithces I am using are ... > > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql > If you specify --with-mysql-xdata you don't need all the other --with-mysql stuff EXCEPT --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql This worked fine for me on RH7.3 and Nagios 1.0 Karl. > I have installed the following mySQL Packages.. > > mysql-3.23.54a-11 > mysql-devel-3.23.54a-11 > mysql-server-3.23.54a-11 > > though, when I try to compile - I get the following error.. > > *** MySQL library could not be located...***************** > > You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. > > > I have the following mysqlclient files in ghe /usr/lib/mysql directory - > > /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient_r.so.10 > /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient_r.a /usr/lib/mysql/libmysqlclient_r.so.10.0.0 > /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient_r.so > > > Any ideas on how to get this to compile - would be appreciated. > > Thanks, > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Karl Latiss design IT ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mriedel at neuearbeit.de Mon Jun 23 13:16:01 2003 From: mriedel at neuearbeit.de (Marko Riedel) Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST) Subject: ping does not recover Message-ID: <16118.57713.912403.15421@linuxsexi.nasttg> Hi folks, we have some machines that reboot during the night. Our PING service goes critical during that time, as indeed it should. There is a problem with recovery however. Sometimes the service does not recover until I manually schedule a check with the web interface. Here are my definitions: # Generic service definition template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service name ping-service service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% register 0 } define service{ use ping-service host_name host } I'd appreciate any feedback you may have. Best regards, -- +------------------------------------------------------------+ | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | | http://www.geocities.com/markoriedelde/index.html | +------------------------------------------------------------+ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 23 13:46:36 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Jun 2003 07:46:36 -0400 Subject: Fail error message In-Reply-To: <20030622082955.GA12837@amit.hu> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> Message-ID: <1056368795.20707.6.camel@localhost.localdomain> On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote: > Hello, > > dear Karl, > first: thank you for your reply. > > > Maybe the check_host is misconfigured? In that case, the service checks > > would not be performed until the host came back up. Which it would not > > be able to do until check_host_alive reports success. > what do you mean 'check_host is misconfigured'? I mean that check_host_alive does not work for this host. Which you did not mention in the email I was responding to, but you have now confirmed. > look at this: > monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > # check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > check_command check-host-alive > > as you can see, there is many other host where we use > check-host-alive command - there are works fine. > the commented line is the w2k host, what gives back false alert. > > here is the relevant part of checkcommands.cfg: > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > } > > i use _only_ this command, i didn't redefined this command > anywhere... > > in my previous mail i attached a sample, where i tested the > command_line line - that works with this host also. I don't see any problems with your command definition. I would examine the host definition very carefully to if there are any typos there that might affect how the host address is passed to the host-check command. Once you fix the host check and uncomeent it, the problem you described (service not being tested) will go away. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Fallsen at kongsberg.com Mon Jun 23 14:24:01 2003 From: Tommy.Fallsen at kongsberg.com (Fallsen, Tommy) Date: Mon, 23 Jun 2003 14:24:01 +0200 Subject: Return code of 139 out of bound and other errors Message-ID: <26C49D5369C7E0409C3954D5A1ED1AE3060057@kda-beexc-02.kda.kongsberg.com> Hi I get these error sometimes: cannot map tcp for protocol setting, Return code of 139 out of bound and state UNKNOWN on some services. The checks works just fine at first and this just suddenly happends. Any settings that need adjusting? I must restart nagios to get the checks working again. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tommy Fallsen System Administrator Kongsberg Defence & Aerospace Email: tommyf at kongsberg.com TEL: +47 32287783 WEB: http://www.kongsberg.com/eng/kog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UNIX is an operating system, OS/2 is half an operating system, Windows is a shell, and DOS is a boot partition virus." - Peter H. Coffin . ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MAILsweeper for the presence of computer viruses. Best regards, Kongsberg Gruppen ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartin at gsi-kc.com Mon Jun 23 15:19:01 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 23 Jun 2003 08:19:01 -0500 Subject: nagiosbounce.sh Message-ID: > Hi Jeremy, > > Technically I don't see any problems with this, but it does > beg the question - why do you need to do this? > > Linux is not the environment to practise the ctrl-alt-del school of > networking. :-) Hehe. I've just been noticing that about once a week there are extra Nagios processes still running after I stop Nagios. I could probably just run the script once a week, or just manually when I make config changes and restart it, but I just hate getting multiple "Host UP" pages in the middle of the night due to rogue Nagios processes :-) Jeremy ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Jun 23 15:40:55 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 23 Jun 2003 21:40:55 +0800 Subject: passive host checks. Message-ID: <200306232141.08371.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Hi I understand that passive host checks comes only in the next release of Nagios, which I am really looking forward to! I am just wondering if anyone has a temporarily solution to overcome this at the moment? I want the central host to be able to alert that remote hosts are down and not assumed them to be up. Any suggestions what I can do? Or is there a plugin available already just that I am not aware of? Thanks lots! Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H SNZ5xWITl2aBeeMyfn0T8iM= =PtEn -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Jun 23 18:09:57 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 23 Jun 2003 12:09:57 -0400 Subject: passive host checks. References: <200306232141.08371.jasmine.chua@securecirt.com> Message-ID: <024f01c339a1$e5a68800$f805ff0a@tekniq> While this would be really, really nice (the whole idea of my distributed environment is to have servers behind firewalls sending statistics to the central server) it is hard to develop a work-around because Nagios cannot process any type of host-check through the external commands file. The only implemented process feature is PROCESS_SERVICE_CHECK_RESULT. Perhaps someone can hack this or figure out a way to disguise a host-check as a service-check... I'd like to see this too, though! -Jason ----- Original Message ----- From: "Jasmine" To: Sent: Monday, June 23, 2003 9:40 Subject: [Nagios-users] passive host checks. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Hi I understand that passive host checks comes only in the next release of Nagios, which I am really looking forward to! I am just wondering if anyone has a temporarily solution to overcome this at the moment? I want the central host to be able to alert that remote hosts are down and not assumed them to be up. Any suggestions what I can do? Or is there a plugin available already just that I am not aware of? Thanks lots! Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H SNZ5xWITl2aBeeMyfn0T8iM= =PtEn -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manny12602 at msn.com Mon Jun 23 18:28:35 2003 From: manny12602 at msn.com (manny) Date: 23 Jun 2003 16:28:35 -0000 Subject: Error During Installation Message-ID: <20030623162835.3685.qmail@pod-163.dolphin-server.co.uk> I am running Red Hat linux 9.x and during the compaling porocess i get the following error. configure:error: no acceptable cc found in $PATH Does any one have any clues as how i can work behond this. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.miller at mainstream-tech.com Mon Jun 23 19:09:06 2003 From: chad.miller at mainstream-tech.com (Chad Miller) Date: Mon, 23 Jun 2003 12:09:06 -0500 Subject: Mail notification Message-ID: <6409F183B22921459B5883D616747BE442046D@integrity.mainstream-tech.com> How would I configure nagios to send out an email every hour that shows my Disk utilization? Chad M. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chad.miller at mainstream-tech.com Mon Jun 23 19:23:35 2003 From: chad.miller at mainstream-tech.com (Chad Miller) Date: Mon, 23 Jun 2003 12:23:35 -0500 Subject: Mail help Message-ID: <6409F183B22921459B5883D616747BE442046E@integrity.mainstream-tech.com> Sorry for the blank entry. I'm trying to get nagios to email me every time it does a disk check. What do I need to do to configure this properly? Chad M. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Mon Jun 23 19:29:37 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Mon, 23 Jun 2003 13:29:37 -0400 Subject: Help - losing my disable notifications and disable services setti ngs when Nagios is restarted Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279D27@nyrofcs2kexch01.east.frontiercorp.com> Hello, I am currently using Nagios 1.0. I have discovered that when I restart Nagios, my "disabled service checks" and "disabled notifications" are not retained across the restart. I have to disable everything when I restart Nagios. Is there any configuration that I have missed? retain_state_information=1 use_retained_program_state=1 John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasmine.chua at securecirt.com Mon Jun 23 19:37:50 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 24 Jun 2003 01:37:50 +0800 Subject: Mail notification In-Reply-To: <6409F183B22921459B5883D616747BE442046D@integrity.mainstream-tech.com> References: <6409F183B22921459B5883D616747BE442046D@integrity.mainstream-tech.com> Message-ID: <200306240137.52282.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi You can try setting notification_interval to 60 in your service definition template for "disk utilization" this is provided your interval_length is set to 60secs in nagios.cfg. On Tuesday 24 June 2003 01:09, Chad Miller wrote: > How would I configure nagios to send out an email every hour that shows my > Disk utilization? > > Chad M. - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E ze8iMlz0aKd4cwADyckaBpk= =h3sl -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 23 19:41:56 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 23 Jun 2003 12:41:56 -0500 Subject: Mail help Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E777F@mismail.ena.com> You could use OCSP but that's probably overkill. My suggestion would be to write a small wrapper script for your disk-check command that has the logic that you want. --- Marc > -----Original Message----- > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > Sent: Monday, June 23, 2003 12:24 PM > To: nagios-users at lists.sourceforge.net > > Sorry for the blank entry. > > I'm trying to get nagios to email me every time it does a disk check. > What do I need to do to configure this properly? > > Chad M. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Jun 23 20:02:46 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 24 Jun 2003 02:02:46 +0800 Subject: Help - losing my disable notifications and disable services setti ngs when Nagios is restarted In-Reply-To: <5070FD2FA9CF484C883AC33034027E6A09279D27@nyrofcs2kexch01.east.frontiercorp.com> References: <5070FD2FA9CF484C883AC33034027E6A09279D27@nyrofcs2kexch01.east.frontiercorp.com> Message-ID: <200306240202.48127.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi That means in your configuration of your services you have disabled them. Re-check your config files again On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > Hello, > > I am currently using Nagios 1.0. I have discovered that when I restart > Nagios, my "disabled service checks" and "disabled notifications" are not > retained across the restart. I have to disable everything when I restart > Nagios. > > Is there any configuration that I have missed? > > retain_state_information=1 > use_retained_program_state=1 > > John Wilhelm - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW KHPMF8hQJp0XQctVNBb1Dek= =UIkG -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Mon Jun 23 20:13:39 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Mon, 23 Jun 2003 14:13:39 -0400 Subject: nrpe service dependancies In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E777F@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E777F@mismail.ena.com> Message-ID: <200306231413.39240.dom@vbi.vt.edu> Hey, I've been reading the documentation, experimenting, and still no luck. I was wondering, is it possible to 'easily' declare service dependancies in this scenario: - I have over 20 linux servers, each one has nrpe installed - in addition, there are 5+ w2k servers with nrpe - each of those 20 servers has currently 6 checks done via nrpe. - the nrpe checks are declared using host groups Of course, if nrpe does not respond, each failed service check via nrpe fails also. So often times, if the server is under a heavy load, or nrpe has problems, I get 6 notifications for each server. Now, is there an easy way to declare dependancies, that would say: - if nrpe does not respond on host X, do not perform any checks for the given host X. Do the same for each host in . - Any suggestions would be appreciated. PS) I've already tried using * for hosts/and or services in the dependancy declarations. I ended up with a "dependancy hell", where with 20 hosts and 6 services I had over 120 dependancies. service Y would be dependant on each service of every host. Maybe I'm doing something wrong... -- Dominik L. Borkowski - Systems Administrator Virginia Bioinformatics Institute - www.vbi.vt.edu ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jun 23 20:25:34 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 23 Jun 2003 13:25:34 -0500 Subject: check_cluster service - what's the correct "host"? Message-ID: <16119.17950.476007.390408@montanaro.dyndns.org> I implemented a simple DNS cluster check this morning. My services file defines a variant of my dns-service: define service{ use dns-service name dns-cluster-service service_description DNSC is_volatile 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 check_command check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg register 0 } define service{ use dns-cluster-service host_name ns contact_groups skip notification_period red } and my dnscluster.cfg file identifies the elements of the cluster: ns;DNS Service drjimmy;DNS Service iris;DNS Service relay;DNS Service This seems to work fine, but it just doesn't seem right that I need to associate it with a real host. Is there some way to define a virtual host which really doesn't exist (is never checked for being up) which could be associated with cluster services? Thx, -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Mon Jun 23 20:32:01 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Mon, 23 Jun 2003 14:32:01 -0400 Subject: Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279D28@nyrofcs2kexch01.east.frontiercorp.com> Hello Jasmine, Thanks for the response. You are right, I had the "retain_nonstatus_information" set to 0. If this is not set to 1, when nagios restarts, all disabled settings are lost. Thanks again, John Wilhelm -----Original Message----- From: Jasmine [mailto:jasmine.chua at securecirt.com] Sent: Monday, June 23, 2003 2:03 PM To: Wilhelm, John Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - losing my disable notifications and disable services setti ngs when Nagios is restarted -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi That means in your configuration of your services you have disabled them. Re-check your config files again On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > Hello, > > I am currently using Nagios 1.0. I have discovered that when I restart > Nagios, my "disabled service checks" and "disabled notifications" are not > retained across the restart. I have to disable everything when I restart > Nagios. > > Is there any configuration that I have missed? > > retain_state_information=1 > use_retained_program_state=1 > > John Wilhelm - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW KHPMF8hQJp0XQctVNBb1Dek= =UIkG -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan at ht-tech.net Sat Jun 21 15:55:02 2003 From: allan at ht-tech.net (allan) Date: 21 Jun 2003 13:55:02 -0000 Subject: Compile Error with MySQL Support Message-ID: <20030621135502.18392.qmail@pod-163.dolphin-server.co.uk> I am attempting to compile Nagios with complete mySQL support. The swithces I am using are ... ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql I have installed the following mySQL Packages.. mysql-3.23.54a-11 mysql-devel-3.23.54a-11 mysql-server-3.23.54a-11 though, when I try to compile - I get the following error.. *** MySQL library could not be located...***************** You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. I have the following mysqlclient files in ghe /usr/lib/mysql directory - /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient_r.so.10 /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient_r.a /usr/lib/mysql/libmysqlclient_r.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient_r.so Any ideas on how to get this to compile - would be appreciated. Thanks, ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jun 23 21:02:11 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Mon, 23 Jun 2003 21:02:11 +0200 Subject: Fail error message - more interesting In-Reply-To: <1056368795.20707.6.camel@localhost.localdomain> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> Message-ID: <20030623190211.GA22755@amit.hu> Hello, here is a new, interesting problem. okay, the monitoring of that w2k host was resolved - that host is an other city, than where i work. that network connects to me trough VPN. i also monitoring the "other site" VPN router. Nagios send me an alert message, VPN router is unreacheable. the problem was in network, and that stayed up just a few minutes. but. after this alert, this w2k host - and only this host, other w2k hosts are goods in Nagios, in that network - is also in alert state. since 4 hours... i don't understand this. how can i debug this state? how can i run Nagios with higher log facility? has somebody some good think? :) thank you: airween ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Jun 23 21:05:26 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 23 Jun 2003 15:05:26 -0400 Subject: Mail help References: <5DB017510818EC468B05BD7BD9EACF83038E777F@mismail.ena.com> Message-ID: <029a01c339ba$68566aa0$f805ff0a@tekniq> All event handlers and notifications run with the assumption that a state has changed. It's likely not going to change in your instance, therefore, I'd write a new check-disk script to email you the output as well as printing the output. You could also follow Marc's idea by writing a program that parses ocsp output looking for specific events and notifying you accordingly. -Jason ----- Original Message ----- From: "Marc Powell" To: "Chad Miller" ; Sent: Monday, June 23, 2003 13:41 Subject: RE: [Nagios-users] Mail help You could use OCSP but that's probably overkill. My suggestion would be to write a small wrapper script for your disk-check command that has the logic that you want. --- Marc > -----Original Message----- > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > Sent: Monday, June 23, 2003 12:24 PM > To: nagios-users at lists.sourceforge.net > > Sorry for the blank entry. > > I'm trying to get nagios to email me every time it does a disk check. > What do I need to do to configure this properly? > > Chad M. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Jun 23 21:23:25 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 23 Jun 2003 14:23:25 -0500 Subject: Mail notification Message-ID: I think that approach would only send a notification if there's a warning/critical status. I think Chad wants to get a report every hour, regardless. Chad, you could simply try running the command that Nagios runs, but run it from a crontab every hour and pipe the output to mail. jc > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Monday, June 23, 2003 12:38 PM > To: Chad Miller > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail notification > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > You can try setting notification_interval to 60 in your > service definition > template for "disk utilization" this is provided your > interval_length is set > to 60secs in nagios.cfg. > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > How would I configure nagios to send out an email every > hour that shows my > > Disk utilization? > > > > Chad M. > > - -- > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > ze8iMlz0aKd4cwADyckaBpk= > =h3sl > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Mon Jun 23 21:48:18 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 23 Jun 2003 15:48:18 -0400 Subject: Mail notification In-Reply-To: References: Message-ID: <5.2.1.1.0.20030623154725.01b443f0@mail.capband.net> >I think that approach would only send a notification if there's a >warning/critical status. I think Chad wants to get a report every >hour, regardless. > >Chad, you could simply try running the command that Nagios runs, >but run it from a crontab every hour and pipe the output to mail. If you really want Nagios to do it, so that you can disable it via the web page, set the "low" threshold to larger than your hard drive, so it will always be in warn/crit. Defaults to resends every 2 hours. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at balmy.net Mon Jun 23 22:27:31 2003 From: mikec at balmy.net (Michael Carpenter) Date: Mon, 23 Jun 2003 15:27:31 -0500 Subject: NSCA and syslog-ng question Message-ID: <000801c339c5$df4a87d0$7701020a@maclt> I am very new at Nagios and have a question regarding the NSCA extra and using it with syslog-ng. I have downloaded and complied the nsca, send-nsca, and the mcrypt stuff. I have edited the config files. My issue is that my loghost is also my nagios box. In syslog-ng.conf do I need another source line other than "source net { udp();};? I also have the nagios.pipe configured and I can see messages entering the pipe, and sitting there for a time period.then they clear. Also, how do I configure Nagios to use the information coming from the pipe. Thanks in advance. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From ehults at paydata.com Mon Jun 23 23:27:06 2003 From: ehults at paydata.com (Bill Hults) Date: Mon, 23 Jun 2003 17:27:06 -0400 Subject: Error During Installation In-Reply-To: <20030623162835.3685.qmail@pod-163.dolphin-server.co.uk> References: <20030623162835.3685.qmail@pod-163.dolphin-server.co.uk> Message-ID: Have you applied the various patches to RH9 to bring it up to date & possibly solve this kind of problem? I've just installed it on RH9 & it went fine Bill -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of manny Sent: Monday, June 23, 2003 12:29 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error During Installation I am running Red Hat linux 9.x and during the compaling porocess i get the following error. configure:error: no acceptable cc found in $PATH Does any one have any clues as how i can work behond this. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Mon Jun 23 23:44:20 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 23 Jun 2003 17:44:20 -0400 Subject: MySQL Database Message-ID: <5.1.0.14.0.20030623174131.00b53478@pop.icnet.com.ve> Hi, Now, I have my nagios information in plain text, but I want record in a mysql database. My question is: Can I record in a mysql database the nagios.log information?, because i read that the information that can be record is status.log, comment.log, downtime.log and extinfo. Thanks, Jeyri ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Jun 23 23:47:22 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 24 Jun 2003 05:47:22 +0800 Subject: Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted In-Reply-To: <5070FD2FA9CF484C883AC33034027E6A09279D28@nyrofcs2kexch01.east.frontiercorp.com> References: <5070FD2FA9CF484C883AC33034027E6A09279D28@nyrofcs2kexch01.east.frontiercorp.com> Message-ID: <200306240547.23357.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You are most welcome but hey you are the one who spotted the mistake, not me! I only point you to the right direction that's all! Nagios is just wonderful.. Cheers! Jasmine On Tuesday 24 June 2003 02:32, you wrote: > Hello Jasmine, > > Thanks for the response. You are right, I had the > "retain_nonstatus_information" set to 0. If this is not set to 1, when > nagios restarts, all disabled settings are lost. > > Thanks again, > John Wilhelm > > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Monday, June 23, 2003 2:03 PM > To: Wilhelm, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - losing my disable notifications and > disable services setti ngs when Nagios is restarted > > > Hi > > That means in your configuration of your services you have disabled them. > Re-check your config files again > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > Nagios, my "disabled service checks" and "disabled notifications" are not > > retained across the restart. I have to disable everything when I restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=1 > > use_retained_program_state=1 > > > > John Wilhelm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu gdJzpdx+Ww/rTtYK6aNQHBo= =Ussf -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Jun 24 01:51:46 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 24 Jun 2003 07:51:46 +0800 Subject: [Nagiosplug-help] Host key verification failed. In-Reply-To: <1056404474.4547.5.camel@dexter> References: <1056404474.4547.5.camel@dexter> Message-ID: <200306240751.47879.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi It means it is really a SSH problem. Your box cannot access the other by SSH. You have to make sure you have the right host keys generated. Perhaps you can check your known_hosts in your .ssh directory to make sure the key for that particular host is there. On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > Hi evervbody > > I have two host. > One of then I wan't to verify by check_by_ssh, plugins. > So, I make this in the checkcommands.cfg file: > > ..... > ... > .. > define command{ > command_name ssh_check_disk > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > } > > Wen I restart the nagios > services, appear a mesagem that say: > > > > Host key verification failed. > > > What the means of this mesage? > I forgot something?!?!?! > > Please,help! > Thanks. - -- Jasmine Chua Security Engineer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej T8ddWrGJipPo0jXTPzfpO0M= =geFj -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Tue Jun 24 02:11:03 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 23 Jun 2003 20:11:03 -0400 Subject: Notification problems Message-ID: <1056413462.22750.133.camel@localhost> Hi all, I have been looking for weeks now about this problem: At the very begining, when a computer would be down, I would receive EMAIL + PAGER. Now, it is or PAGER or EMAIL. I have no clue what I changed. Here is an example for one computer: hosts.cfg #TEST define host { use generic-host host_name TEST alias TEST SERVER address 192.168.1.41 check_command check-host-alive max_check_attempts 3 notification_interval 5 notification_period 24x7 notification_options d,u,r } hostgroups.cfg define hostgroup{ hostgroup_name PRODUCTION alias High priority servers contact_groups ADMIN-PAGER members TEST } services.cfg define service{ use generic-service host_name TEST service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups ADMIN-EMAIL notification_interval 5 notification_period 24x7 notification_options u,c,r check_command check_ping!100.0,20%!500.0,60% } contacts.cfg everything about me contactgroups.cfg define contactgroup{ contactgroup_name ADMIN-PAGER alias ADMIN for pagers members frank } So: The contact group for the host is ADMIN-PAGER , but the service define ADMIN-EMAIL. Is there a way to receive both of them ? Thank you. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Tue Jun 24 02:12:07 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Mon, 23 Jun 2003 17:12:07 -0700 Subject: Looking for a way to connect to host via Status map Message-ID: Has anyone figured out how to click on a host in your status map and connect via ssh, telnet, walkie-talkie, etc... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6245 bytes Desc: S/MIME Cryptographic Signature URL: From edino at pc.jaring.my Tue Jun 24 05:59:38 2003 From: edino at pc.jaring.my (Edinolfi Kamalul Azmi) Date: Tue, 24 Jun 2003 11:59:38 +0800 Subject: HELP : Error :Could not open CGI config file Message-ID: <1056427178.3ef7ccaa2f8a5@webmail.jaring.my> Dear Experts, Need your help. Currently I'm installing Nagios 1.1 and when i tested http://xxxx/nagios/cgi- bin/tac.cgi, I got this error : Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! I've checked the cgi.cfg files, looks OK. do we need to change the tac.cgi file in order to point the right target/ path? help please! Edinolfi Kamalul Azmi System Integrator/ ICT Consultant/ Reseller Prestige Technologies 019-3140950 --------------------------------------------------------------------------- This e-mail has been sent via JARING webmail at http://www.jaring.my ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mzieny at cairo.westerngeco.slb.com Tue Jun 24 07:38:20 2003 From: mzieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Tue, 24 Jun 2003 08:38:20 +0300 Subject: Out of memory - killing nagios Message-ID: <5.1.0.14.2.20030624083520.02296888@wgmail5.cairo.afr.slb.com> Hi All, I have running Nagios on a Dell workstation Precision 650, with 2G RAM, 240G HDD, Red Hat Linux 8.0. and swap is 4G The Nagios hosts=496 host with services=3648 service I found that when I start the nagios service, after a short time, it has been killed. Then I restarted again, then killed again. I found the following in (dmesg): Out of Memory: Killed process 1978 (nagios). Out of Memory: Killed process 6977 (gdmgreeter). Out of Memory: Killed process 8111 (gdmgreeter). Out of Memory: Killed process 9654 (gdmgreeter). Out of Memory: Killed process 10164 (gdmgreeter). Out of Memory: Killed process 11922 (gdmgreeter). Out of Memory: Killed process 11976 (nagios). Out of Memory: Killed process 12291 (gdmgreeter). Out of Memory: Killed process 14247 (gdmgreeter). Out of Memory: Killed process 14247 (gdmgreeter). Out of Memory: Killed process 15624 (gdmgreeter). Out of Memory: Killed process 17961 (gdmgreeter). Out of Memory: Killed process 19086 (gdmgreeter). Out of Memory: Killed process 19390 (gdmgreeter). In /var/log/messages, I found: Jun 24 07:43:27 hostname kernel: Out of Memory: Killed process 1978 (nagios). Jun 24 07:44:40 hostname kernel: Out of Memory: Killed process 6977 (gdmgreeter). Jun 24 07:44:46 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:46:57 hostname kernel: Out of Memory: Killed process 8111 (gdmgreeter). Jun 24 07:47:01 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:48:10 hostname kernel: Out of Memory: Killed process 9654 (gdmgreeter). Jun 24 07:48:19 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:49:44 hostname kernel: Out of Memory: Killed process 10164 (gdmgreeter). Jun 24 07:49:47 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:51:01 hostname kernel: Out of Memory: Killed process 11922 (gdmgreeter). Jun 24 07:51:08 hostname kernel: Out of Memory: Killed process 11976 (nagios). Jun 24 07:51:15 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:53:02 hostname kernel: Out of Memory: Killed process 12291 (gdmgreeter). Jun 24 07:53:08 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:55:07 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter). Jun 24 07:55:11 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter). Jun 24 07:55:24 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:57:57 hostname kernel: Out of Memory: Killed process 15624 (gdmgreeter). Jun 24 07:58:09 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:59:52 hostname kernel: Out of Memory: Killed process 17961 (gdmgreeter). Jun 24 08:00:05 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 08:01:07 hostname kernel: Out of Memory: Killed process 19086 (gdmgreeter). Jun 24 08:01:14 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 08:03:29 hostname kernel: Out of Memory: Killed process 19390 (gdmgreeter). When I reboot the machine it works fine till I try to restart the nagios service in order to apply some changes. the problem starts again. Any clue..?? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Tue Jun 24 09:51:56 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 24 Jun 2003 00:51:56 -0700 Subject: Looking for a way to connect to host via Status map References: Message-ID: xhostinfo.cfg Use the extended host info combined with a terminal program that catches URL's, or a browser with helper applications. When you click once on a device in the Status Map, it zooms in on that device. Click again on the device once it's targeted and it takes you to the extended host info screen. This is where the links to connect could be located. You can put these URLs in 2 places: notes_url - this link is on the folder icon and says "There Are Additional Notes for This Host..." icon_image_alt - This is the 'alt text' for the icon in the detail screen, but will show up in italics under the device name/picture. You can sneak HTML code into the text. define hostextinfo{ host_name somedevice notes_url telnet://somedevice icon_image terminal.png icon_image_alt < a href= telnet://somedevice >Telnet to: somedevice statusmap_image terminal.gd2 } wrote in message news:OF4F4EEE0E.22E1BB5B-ON88256D4F.0000FA17-88256D4F.0000FF7E at CI.BEND.OR.US ... Has anyone figured out how to click on a host in your status map and connect via ssh, telnet, walkie-talkie, etc... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 11:22:50 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 24 Jun 2003 19:22:50 +1000 Subject: Out of memory - killing nagios In-Reply-To: <5.1.0.14.2.20030624083520.02296888@wgmail5.cairo.afr.slb.com>; from mzieny@cairo.westerngeco.slb.com on Tue, Jun 24, 2003 at 08:38:20AM +0300 References: <5.1.0.14.2.20030624083520.02296888@wgmail5.cairo.afr.slb.com> Message-ID: <20030624192247.B232@IPAustralia.Gov.AU> Dear Sir, I am writing to thank yuo for your letter and say that in my experience Nagios is killed by the OS when the vm subsystem finds that there are too many processes for the available memory. You sound like you have adequate resources for Nagios (which doesn't need to much RAM or CPU, since it's largely IO bound) itself, but there may be too many other processes. On this Nag installation, I use a Perl SMS client with a 5MB memory fottprint. Should I get more than 50 of these - and I may after an SNMP trap avalanche - on my 256/256 MB (RAM/Swap) system, the OS starts killing processes; one of those despatched is invariably Nag. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stark at suse.de Tue Jun 24 11:42:21 2003 From: stark at suse.de (Wolfgang Rosenauer) Date: Tue, 24 Jun 2003 11:42:21 +0200 (CEST) Subject: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with threaded typically Linux Perls). In-Reply-To: <20030621161420.A229@IPAustralia.Gov.AU> References: <20030621161420.A229@IPAustralia.Gov.AU> Message-ID: Hi, On Sat, 21 Jun 2003, Stanley Hopcroft wrote: > The patch, while not extensively tested, _should_ fix the SEGV on > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > with an embedded Perl interpreter (for greater efficiency in executing > Perl plugins). > > Credits > > Ethan Galstad > Reuben Farrelly > > I believe the patch was originally the work of Mr Reuben > Farrelly from Suse (the Suse 8 Nag 'package' has this problem fixed). the first incarnation of this patch could be found here: http://sourceforge.net/mailarchive/forum.php?thread_id=1203839&forum_id=1872 and the current patch for Nagios 1.1 is attached. I got this patch from my colleague Michael Schroeder. There is no Reuben Farrely working for SuSE ;-) PS: And as always you can find current packages of Nagios for SuSE here: ftp://ftp.suse.com/pub/people/stark/nagios/ CU, Wolfgang (stark at suse.de) -- SuSE Linux AG, Tel: +49-(0)180-5003612 Deutschherrnstr. 15-19 Fax: +49-(0)911-740 53 489 90429 Nuernberg, Email: stark at suse.de Germany WWW: http://www.suse.de/ -------------- next part -------------- --- base/nagios.c +++ base/nagios.c @@ -58,6 +58,8 @@ #include static PerlInterpreter *my_perl; #include +#undef ctime /* don't need perl's threaded version */ +#undef printf /* can't use perl's printf until initialized */ /* include PERL xs_init code for module and C library support */ @@ -86,17 +88,14 @@ # endif #endif -EXTERN_C void xs_init _((void)); +EXTERN_C void xs_init _((pTHX)); -EXTERN_C void boot_DynaLoader _((CV* cv)); +EXTERN_C void boot_DynaLoader _((pTHX_ CV* cv)); EXTERN_C void -xs_init(void) +xs_init(pTHX) { char *file = __FILE__; -#ifdef THREADEDPERL - dTHX; -#endif dXSUB_SYS; /* DynaLoader is a special case */ @@ -779,9 +778,12 @@ /* cleanup embedded perl */ #ifdef EMBEDDEDPERL - PL_perl_destruct_level=0; - perl_destruct(perl); - perl_free(perl); + { + dTHX; + PL_perl_destruct_level=0; + perl_destruct(perl); + perl_free(perl); + } #endif /* log a shutdown message */ --- base/utils.c +++ base/utils.c @@ -49,6 +49,11 @@ #include /* In perl.h (or friends) there is a macro that defines sighandler as Perl_sighandler, so we must #undef it so we can use our sighandler() function */ #undef sighandler +/* and we don't need perl's reentrant versions */ +#undef localtime +#undef getpwnam +#undef getgrnam +#undef strerror #endif char *my_strtok_buffer=NULL; --- contrib/mini_epn.c +++ contrib/mini_epn.c @@ -112,9 +112,10 @@ printf("embedded perl plugin return code: %d. plugin output: %s\n",pclose_result, plugin_output); } } - - PL_perl_destruct_level = 0; - perl_destruct(perl); - perl_free(perl); - exit(exitstatus); + { + dTHX; + PL_perl_destruct_level=0; + perl_destruct(perl); + perl_free(perl); + } } From nagios at id.pl Tue Jun 24 12:01:10 2003 From: nagios at id.pl (Andrzej Wisniewski) Date: 24 Jun 2003 12:01:10 +0200 Subject: HELP : Error :Could not open CGI config file In-Reply-To: <1056427178.3ef7ccaa2f8a5@webmail.jaring.my> References: <1056427178.3ef7ccaa2f8a5@webmail.jaring.my> Message-ID: <1056448870.3185.18.camel@andy> > Currently I'm installing Nagios 1.1 and when i tested http://xxxx/nagios/cgi- > bin/tac.cgi, I got this error : > Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for > reading! > I've checked the cgi.cfg files, looks OK. > do we need to change the tac.cgi file in order to point the right target/ path? Try something like this: chmod cgi.cfg 755 I think you have user www-data (apache is running with him) and this user have not permission to read from this file. Change it :o) -- AndY ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edino at pc.jaring.my Tue Jun 24 12:44:08 2003 From: edino at pc.jaring.my (Edinolfi Kamalul Azmi) Date: Tue, 24 Jun 2003 18:44:08 +0800 Subject: HELP : Error :Could not open CGI config file In-Reply-To: <1056448870.3185.18.camel@andy> References: <1056427178.3ef7ccaa2f8a5@webmail.jaring.my> <1056448870.3185.18.camel@andy> Message-ID: <1056451448.3ef82b78643dc@webmail.jaring.my> Thanks. Got it! it's working now Quoting Andrzej Wisniewski : > > Currently I'm installing Nagios 1.1 and when i tested > http://xxxx/nagios/cgi- > > bin/tac.cgi, I got this error : > > Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' > for > > reading! > > I've checked the cgi.cfg files, looks OK. > > do we need to change the tac.cgi file in order to point the right > target/ path? > > Try something like this: > > chmod cgi.cfg 755 > > I think you have user www-data (apache is running with him) and this > user have not permission to read from this file. Change it :o) > > > -- > AndY > > Edinolfi Kamalul Azmi System Integrator/ ICT Consultant/ Reseller Prestige Technologies 019-3140950 --------------------------------------------------------------------------- This e-mail has been sent via JARING webmail at http://www.jaring.my ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 12:46:42 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 24 Jun 2003 20:46:42 +1000 Subject: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with threaded typically Linux Perls). In-Reply-To: ; from stark@suse.de on Tue, Jun 24, 2003 at 11:42:21AM +0200 References: <20030621161420.A229@IPAustralia.Gov.AU> Message-ID: <20030624204639.C232@IPAustralia.Gov.AU> Dear Sir, I am writing to apologise for the attribution - Mr Farrelly's name was quoted in private correspondence [not from Suse] - and thank you for your correcting my mistakes. However, it _seems_ to me that the patch you quote will not compile on _unthreaded_ Perls (there will be complaints about the protos for xsinit(void)), and since there are still systems that don't ship with good threads (and therefore Perl is built without thread support on *BSD systems), compatability with my own and other such systems was a requirement. I will check this and apologise if necessary. In any case, this work needs to be revisited to cut out the Perl protos from nagios.c and put them in their own header, together with the xsinit function (that can be generated by ExtUtils::Embed -e xsinit) and so eliminate this problem (the problem of the change in Perl protos being out of the scope of Perl specific headers and executables). This has been done for mini_epn.c, it will be done for Nagios also. Please don't mistake this for an ungracious reply. The patches submitted originated from Suse full stop. They wouldn't have existed without Suse. I am very grateful for your company . fixing the problem . sharing the result . and educating me somewhat about Perl guts. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:17:08 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Jun 2003 07:17:08 -0400 Subject: nagiosbounce.sh In-Reply-To: References: Message-ID: <1056453427.23321.12.camel@localhost.localdomain> On Mon, 2003-06-23 at 09:19, Martin, Jeremy wrote: > > Hi Jeremy, > > > > Technically I don't see any problems with this, but it does > > beg the question - why do you need to do this? > > > > Linux is not the environment to practise the ctrl-alt-del school of > > networking. :-) > > Hehe. I've just been noticing that about once a week there are extra > Nagios processes still running after I stop Nagios. I could probably > just run the script once a week, or just manually when I make config > changes and restart it, but I just hate getting multiple "Host UP" > pages in the middle of the night due to rogue Nagios processes :-) Maybe add the contents of the script to /etc/init.d/nagios so you can be sure all processes are dead when you stop nagios. Then it would only run when you need it. (though I must note that the init script starts and stops nagios just fine for me, without modification - if it does not work for you, perhaps we should find out why, log it as a bug, and fix it). -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:21:04 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Jun 2003 07:21:04 -0400 Subject: check_cluster service - what's the correct "host"? In-Reply-To: <16119.17950.476007.390408@montanaro.dyndns.org> References: <16119.17950.476007.390408@montanaro.dyndns.org> Message-ID: <1056453663.23321.19.camel@localhost.localdomain> On Mon, 2003-06-23 at 14:25, Skip Montanaro wrote: > I implemented a simple DNS cluster check this morning. My services file > defines a variant of my dns-service: > > define service{ > use dns-service > > name dns-cluster-service > service_description DNSC > is_volatile 0 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 120 > check_command check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg > > register 0 > } > > define service{ > use dns-cluster-service > host_name ns > contact_groups skip > notification_period red > } > > and my dnscluster.cfg file identifies the elements of the cluster: > > ns;DNS Service > drjimmy;DNS Service > iris;DNS Service > relay;DNS Service > > This seems to work fine, but it just doesn't seem right that I need to > associate it with a real host. Is there some way to define a virtual host > which really doesn't exist (is never checked for being up) which could be > associated with cluster services? difine your virtual host - call it what ever you want. Use check_dummy if you cannot or do not want to run any checks. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stark at suse.de Tue Jun 24 13:26:07 2003 From: stark at suse.de (Wolfgang Rosenauer) Date: Tue, 24 Jun 2003 13:26:07 +0200 (CEST) Subject: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with threaded typically Linux Perls). In-Reply-To: <20030624204639.C232@IPAustralia.Gov.AU> References: <20030621161420.A229@IPAustralia.Gov.AU> <20030624204639.C232@IPAustralia.Gov.AU> Message-ID: Hi, On Tue, 24 Jun 2003, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to apologise for the attribution - Mr Farrelly's name was > quoted in private correspondence [not from Suse] - and thank you for > your correcting my mistakes. if the mail sounded angry it wasn't intended. And you don't have to call me Sir ;-) > However, it _seems_ to me that the patch you quote will not compile on > _unthreaded_ Perls (there will be complaints about the protos for > xsinit(void)), and since there are still systems that don't ship with > good threads (and therefore Perl is built without thread support on *BSD > systems), compatability with my own and other such systems was a > requirement. I will check this and apologise if necessary. this is true. But we didn't do further improvements because the perl version shipped on SuSE Linux is clear to us. So we didn't have to stick with unthreaded perls. > Please don't mistake this for an ungracious reply. The patches submitted > originated from Suse full stop. They wouldn't have existed without Suse. > I am very grateful for your company > > . fixing the problem > . sharing the result > . and educating me somewhat about Perl guts. no problem. I wondered why this patch wasn't recognized before. So no real reason to excuse. CU, Wolfgang ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:27:41 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Jun 2003 07:27:41 -0400 Subject: Fail error message - more interesting In-Reply-To: <20030623190211.GA22755@amit.hu> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> <20030623190211.GA22755@amit.hu> Message-ID: <1056454060.23321.27.camel@localhost.localdomain> On Mon, 2003-06-23 at 15:02, Hegedus, Ervin wrote: > Hello, > > here is a new, interesting problem. > > okay, the monitoring of that w2k host was resolved - that host is > an other city, than where i work. that network connects to me > trough VPN. i also monitoring the "other site" VPN router. > > Nagios send me an alert message, VPN router is unreacheable. the > problem was in network, and that stayed up just a few minutes. > > but. > > after this alert, this w2k host - and only this host, other w2k > hosts are goods in Nagios, in that network - is also in alert state. > since 4 hours... > > > i don't understand this. > how can i debug this state? how can i run Nagios with higher log > facility? > has somebody some good think? :) Sounds again like you need a working host check for the VPN perhaps? Is the w2k host a child of the VPN? Look at the service/host check logic carefully. If you have a service, there must be a host check behind it. Conversely, (IIRC) if you have a host check, it will always be in an assumed up state until a service check goes down, triggering the host check. Long and short of it is, each host needs both a host check and one or more service checks, otherwise you will find you have hosts that do not come back up even after the service check has been fixed. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:36:05 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Jun 2003 07:36:05 -0400 Subject: [Nagiosplug-help] Host key verification failed. In-Reply-To: <200306240751.47879.jasmine.chua@securecirt.com> References: <1056404474.4547.5.camel@dexter> <200306240751.47879.jasmine.chua@securecirt.com> Message-ID: <1056454564.23321.37.camel@localhost.localdomain> On Mon, 2003-06-23 at 19:51, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > It means it is really a SSH problem. Your box cannot access the other by SSH. > You have to make sure you have the right host keys generated. Perhaps you can > check your known_hosts in your .ssh directory to make sure the key for that > particular host is there. two other points to add: 1) I find it easiest to reference a keyfile - because the plugin tries to ensure security, some parts of your environment are not accessible (if you did not want to be secure, you would not be using ssh, right?). See the relevant command option with check_by_ssh --help 2) Related to Jasmine's 2nd point above, if the host key is there, the plugin will hang when SSH asks if you want to trust this new host. An easy solution is to connect manually once (as nagios). Also, the keys can be in /etc/ssh/ssh_known_hosts or /etc/ssh/ssh_known_hosts2 - we distribute our keys to our controlled servers rather than forcing our users to understand the concept of spoofed host keys. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jun 24 13:43:55 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 24 Jun 2003 07:43:55 -0400 Subject: nagiosbounce.sh In-Reply-To: <1056453427.23321.12.camel@localhost.localdomain> References: Message-ID: <5.2.1.1.0.20030624074109.01af28d0@mail.capband.net> > > Hehe. I've just been noticing that about once a week there are extra > > Nagios processes still running after I stop Nagios. I could probably > > just run the script once a week, or just manually when I make config > > changes and restart it, but I just hate getting multiple "Host UP" > > pages in the middle of the night due to rogue Nagios processes :-) > >Maybe add the contents of the script to /etc/init.d/nagios so you can be >sure all processes are dead when you stop nagios. Then it would only run >when you need it. > >(though I must note that the init script starts and stops nagios just >fine for me, without modification - if it does not work for you, perhaps >we should find out why, log it as a bug, and fix it). For me, the fix was renaming the init script to "nagiosd" instead of just "nagios". I was running a "nagios restart" at midnight every night because of similar problems (multiple host UP's, etc.) and the restart command seemed to die sometimes. Changing the name of the script stopped it. I assumed it was because any call to kill nagios might kill the script itself, but I never went back to check. Of course, I may have changed something else entirely and this is all just coincidental, but since all my init scripts had a 'd' at the end of them except the one for nagios, I left the change in place. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:52:26 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Jun 2003 07:52:26 -0400 Subject: ping does not recover In-Reply-To: <16118.57713.912403.15421@linuxsexi.nasttg> References: <16118.57713.912403.15421@linuxsexi.nasttg> Message-ID: <1056455545.23321.50.camel@localhost.localdomain> On Mon, 2003-06-23 at 07:16, Marko Riedel wrote: > Hi folks, > > we have some machines that reboot during the night. Our PING service > goes critical during that time, as indeed it should. > > There is a problem with recovery however. Sometimes the service does > not recover until I manually schedule a check with the web interface. Have you confirmed the host check exists and is effective? -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Tue Jun 24 14:50:38 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Tue, 24 Jun 2003 14:50:38 +0200 Subject: Fail error message - more interesting In-Reply-To: <1056454060.23321.27.camel@localhost.localdomain> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> <20030623190211.GA22755@amit.hu> <1056454060.23321.27.camel@localhost.localdomain> Message-ID: <20030624125038.GA25193@amit.hu> Hello, > Sounds again like you need a working host check for the VPN perhaps? Is > the w2k host a child of the VPN? there is a setting to check VPN firewall (other side) yes, w2k host is a child of VPN. here is the host config again: ... host_name NIKE2000 parents NIKEVPN01 alias NIKE2000 address 195.56.106.10 ... > Look at the service/host check logic carefully. If you have a service, > there must be a host check behind it. of course, i know it - there are configured all hosts, but no one has configured for service. > Conversely, (IIRC) if you have a > host check, it will always be in an assumed up state until a service > check goes down, triggering the host check. yes, i think about this will my next step. > Long and short of it is, each host needs both a host check and one or > more service checks, otherwise you will find you have hosts that do not > come back up even after the service check has been fixed. okay, i will try it. (a simple question: is there this step somewhere in docs?) thanks: airween ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Tue Jun 24 14:57:44 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 24 Jun 2003 09:57:44 -0300 Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs References: Message-ID: <02ac01c33a50$34b97570$31150a0a@estacio.domain> Socket timeout after 10 seconds I have this messagem any can help me??? My hosts has a real problem, but i don't wana receive this message Sorry my bad english but i 'm brazilian man :) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: To: Sent: Tuesday, June 24, 2003 12:23 AM Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. RE: Autentication Fail !!!! (Billy) > 2. Re: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread (Ethan Galstad) > 3. Host detail showing all hosts up (greg) > 4. Re: Compile Error with MySQL Support (Karl Latiss) > 5. ping does not recover (Marko Riedel) > 6. Re: Fail error message (Karl DeBisschop) > 7. Return code of 139 out of bound and other errors (Fallsen, Tommy) > 8. RE: nagiosbounce.sh (Martin, Jeremy) > 9. passive host checks. (Jasmine) > 10. Re: passive host checks. (Jason Lancaster) > 11. Error During Installation (manny) > 12. Mail notification (Chad Miller) > 13. Mail help (Chad Miller) > 14. Help - losing my disable notifications and disable services setti > ngs when Nagios is restarted (Wilhelm, John) > 15. Re: Mail notification (Jasmine) > 16. RE: Mail help (Marc Powell) > 17. Re: Help - losing my disable notifications and disable services setti ngs when Nagios is restarted (Jasmine) > 18. nrpe service dependancies (Dominik L. Borkowski) > 19. check_cluster service - what's the correct "host"? (Skip Montanaro) > 20. RE: Help - losing my disable notifications and dis > able services setti ngs when Nagios is restarted (Wilhelm, John) > 21. Fail error message - more interesting (Hegedus, Ervin) > 22. Re: Mail help (Jason Lancaster) > 23. RE: Mail notification (Carroll, Jim P [Contractor]) > 24. RE: Mail notification (Rob Nelson) > 25. NSCA and syslog-ng question (Michael Carpenter) > 26. RE: Error During Installation (Bill Hults) > 27. MySQL Database (Jeyri Bautista) > 28. Re: Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted (Jasmine) > 29. Re: [Nagiosplug-help] Host key verification failed. (Jasmine) > 30. Notification problems (Frank Gadot) > 31. Looking for a way to connect to host via Status map (sobrien at ci.bend.or.us) > > --__--__-- > > Message: 1 > From: "Billy" > To: > Subject: RE: [Nagios-users] Autentication Fail !!!! > Date: Mon, 23 Jun 2003 14:19:36 +1000 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_1228_01C33992.796BC420 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Logins are controlled by the web server, not nagios. If it's apache, = > check > your .htaccess file in your web dir, otherwise check the auth docs for = > your > flavour of web server > > =20 > > _____ =20 > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Syed = > Zulhilmi > Tuan Sharif > Sent: Monday, 23 June 2003 12:13 PM > To: nagios-users at lists.sourceforge.net > > =20 > > -I dont know what has happened to my Nagios. Suddenly i cannot login > because it said that my login and password is npt valid.=20 > > Arghhhh dont know why this happen. Help me anyone > > =20 > > > ------=_NextPart_000_1228_01C33992.796BC420 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > xmlns:o=3D"urn:schemas-microsoft-com:office:office" = > xmlns:w=3D"urn:schemas-microsoft-com:office:word" = > xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = > xmlns=3D"http://www.w3.org/TR/REC-html40"> > > > charset=3Dus-ascii"> > > > > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = > name=3D"time"/> > > > > > > > >
> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by the web = > server, > not nagios. If it’s apache, check your .htaccess file in your web = > dir, > otherwise check the auth docs for your flavour of web = > server

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >
> >
style=3D'margin-left:36.0pt;text-align:center'> size=3D3 face=3D"Times New Roman"> style=3D'font-size:12.0pt'> > >
> >
> >

face=3DTahoma> lang=3DEN-US = > style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From: n> size=3D2 face=3DTahoma> style=3D'font-size:10.0pt;font-family:Tahoma'> > nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] style=3D'font-weight: > bold'>On Behalf Of Syed Zulhilmi Tuan Sharif
> Sent: Monday, 23 June = > 2003 Minute=3D"13" Hour=3D"12" w:st=3D"on"> 12:13 PM
> To: > nagios-users at lists.sourceforge.net
lang=3DEN-US>

> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;color:black'>-I dont > know what has happened to my Nagios.  Suddenly i cannot login = > because it > said that my login and password is npt valid. color=3Dblack > face=3DArial> style=3D'font-family:Arial;color:black'>

> >
> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh > dont know why this happen.  Help me anyone color=3Dblack > face=3DArial> style=3D'font-family:Arial;color:black'>

> >
> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:12.0pt;font-family:Arial;color:black'>  >

> >
> >
> > > > > > ------=_NextPart_000_1228_01C33992.796BC420-- > > > > --__--__-- > > Message: 2 > From: "Ethan Galstad" > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 00:24:16 -0500 > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread > > Thanks for the patches! I've applied these to CVS (both 1.x and HEAD > branches). > > > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote: > > > Dear Ladies and Gentlemen, > > > > The Nagios kibutzers take great pleasure in announcing an _unofficial_ > > patch for embedded Perl support in Nagios 1.1. > > > > The patch, while not extensively tested, _should_ fix the SEGV on > > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > > with an embedded Perl interpreter (for greater efficiency in executing > > Perl plugins). > > > > Details below. > > > > Status > > > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on > > start-up of Nagios built with an embedded Perl interpreter. > > > > The SEGV occurs right at start-up and is associated with > > libperl.so (it may occur at the first printf in the main program). It > > only occurs with threaded Perls that are typically shipped with systems > > having good pthread OS support. > > > > Affected systems include > > > > RH 8 and 9 > > Mandrake 9 ( 2.4.19-16mdk ) > > Suse 8 > > Debian ? > > > > Unaffected systems include > > > > FreeBSD RELENG_4 (v4 Release and Stable branches) > > > > If you have a Linux or Solaris system with a Perl greater than 5.6.1 and > > you want an embedded Perl Nag, you need this patch. > > > > Credits > > > > Ethan Galstad > > Reuben Farrelly > > > > I believe the patch was originally the work of Mr Reuben > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem fixed). > > > > Feedback > > > > S Hopcroft > > > > Flames > > S Hopcroft > > > > Testing > > compiled and run on Mandrake 9/Perl 5.8.0 > > compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] > > compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] > > > > Notes > > > > Should apply to Nag 1.0 but unchecked. > > > > Patch > > attached. > > > > 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. > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > --__--__-- > > Message: 3 > Date: Mon, 23 Jun 2003 11:48:48 +0200 > From: greg > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host detail showing all hosts up > > This is a multi-part message in MIME format. > --------------000504060808050902050806 > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: 7bit > > > Hi, > > I have about 200 hosts on a local network. > Service detail shows things correctly, but host detail shows hosts up > while most of them are down. > I have set up only ping service for each host. > I suppose the solution is simple, but I'm not able to pinpoint the problem. > Thanks > Greg > > > > > --------------000504060808050902050806 > Content-Type: text/plain; > name="myconfig.txt" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="myconfig.txt" > > > 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=1 > 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=1 > log_notifications=1 > log_service_retries=0 > log_host_retries=0 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_service_checks=1 > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > inter_check_delay_method=n > service_interleave_factor=s > max_concurrent_checks=10 > service_reaper_frequency=1 > 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=0 > state_retention_file=/usr/local/nagios/var/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=0 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > #host_perfdata_command=process-host-perfdata > #service_perfdata_command=process-service-perfdata > obsess_over_services=0 > #ocsp_command=somecommand > check_for_orphaned_services=1 > check_service_freshness=1 > freshness_check_interval=600 > 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 > > > > define host{ > name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution > notifications_enabled 0 ; Host notifications are enabled > event_handler_enabled 1 ; Host event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 0 ; Retain status information across program restarts > retain_nonstatus_information 0 ; Retain non-status information across program restarts > > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options n ;d,u,r > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define host{ > use generic-host > host_name host-192.168.6.32 > alias host-192.168.6.32 > address 192.168.6.32 > } > > define host{ > use generic-host > host_name host-192.168.8.22 > alias host-192.168.8.22 > address 192.168.8.22 > } > > ... > > # Generic service definition template > define service{ > name generic-service ; The 'name' of this service template, referenced in other service definitions > active_checks_enabled 1 ; Active service checks are enabled > passive_checks_enabled 0 ; 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' > notifications_enabled 0 ; 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 0 ; Retain status information across program restarts > retain_nonstatus_information 0 ; Retain non-status information across program restarts > > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups k3-admins > notification_interval 15 > notification_period 24x7 > notification_options n ;c,r > check_command check_ping!100.0,20%!500.0,60% > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service{ > use generic-service > host_name host-192.168.6.32 > } > > define service{ > use generic-service > host_name host-192.168.8.22 > } > > ... > > > --------------000504060808050902050806-- > > > > > --__--__-- > > Message: 4 > Subject: Re: [Nagios-users] Compile Error with MySQL Support > From: Karl Latiss > To: allan > Cc: Nagios-users at lists.sourceforge.net > Organization: design IT > Date: 23 Jun 2003 19:55:03 +1000 > > On Sat, 2003-06-21 at 23:55, allan wrote: > > I am attempting to compile Nagios with complete mySQL support. The swithces I am using are ... > > > > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --w ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql- inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql > > > If you specify > > --with-mysql-xdata > > you don't need all the other --with-mysql stuff > > EXCEPT > > --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql > > This worked fine for me on RH7.3 and Nagios 1.0 > > Karl. > > > I have installed the following mySQL Packages.. > > > > mysql-3.23.54a-11 > > mysql-devel-3.23.54a-11 > > mysql-server-3.23.54a-11 > > > > though, when I try to compile - I get the following error.. > > > > *** MySQL library could not be located...***************** > > > > You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is > > installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. > > > > > > I have the following mysqlclient files in ghe /usr/lib/mysql directory - > > > > /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient_r.so.10 > > /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient_r.a /usr/lib/mysql/libmysqlclient_r.so.10.0.0 > > /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient_r.so > > > > > > Any ideas on how to get this to compile - would be appreciated. > > > > Thanks, > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- > Karl Latiss > design IT > > > > --__--__-- > > Message: 5 > From: Marko Riedel > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST) > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping does not recover > > > Hi folks, > > we have some machines that reboot during the night. Our PING service > goes critical during that time, as indeed it should. > > There is a problem with recovery however. Sometimes the service does > not recover until I manually schedule a check with the web interface. > > Here are my definitions: > > # Generic service definition template > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > > register 0 > } > > define service{ > use generic-service > name ping-service > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > register 0 > } > > > define service{ > use ping-service > host_name host > > } > > > I'd appreciate any feedback you may have. > > Best regards, > > -- > +------------------------------------------------------------+ > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | > | http://www.geocities.com/markoriedelde/index.html | > +------------------------------------------------------------+ > > > --__--__-- > > Message: 6 > Subject: Re: [Nagios-users] Fail error message > From: Karl DeBisschop > To: "Hegedus, Ervin" > Cc: nagios-users at lists.sourceforge.net > Date: 23 Jun 2003 07:46:36 -0400 > > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote: > > Hello, > > > > dear Karl, > > first: thank you for your reply. > > > > > Maybe the check_host is misconfigured? In that case, the service checks > > > would not be performed until the host came back up. Which it would not > > > be able to do until check_host_alive reports success. > > what do you mean 'check_host is misconfigured'? > > I mean that check_host_alive does not work for this host. Which you did > not mention in the email I was responding to, but you have now > confirmed. > > > look at this: > > monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > # check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > > > as you can see, there is many other host where we use > > check-host-alive command - there are works fine. > > the commented line is the w2k host, what gives back false alert. > > > > here is the relevant part of checkcommands.cfg: > > > > # 'check-host-alive' command definition > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > i use _only_ this command, i didn't redefined this command > > anywhere... > > > > in my previous mail i attached a sample, where i tested the > > command_line line - that works with this host also. > > I don't see any problems with your command definition. I would examine > the host definition very carefully to if there are any typos there that > might affect how the host address is passed to the host-check command. > > Once you fix the host check and uncomeent it, the problem you described > (service not being tested) will go away. > > -- > Karl > > > > --__--__-- > > Message: 7 > Date: Mon, 23 Jun 2003 14:24:01 +0200 > From: "Fallsen, Tommy" > To: > Subject: [Nagios-users] Return code of 139 out of bound and other errors > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C33982.53FAE42C > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Hi > I get these error sometimes: cannot map tcp for protocol setting, Return > code of 139 out of bound and state UNKNOWN on some services. > The checks works just fine at first and this just suddenly happends. Any > settings that need adjusting?=20 > I must restart nagios to get the checks working again. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Tommy Fallsen System Administrator=20 > Kongsberg Defence & Aerospace > Email: tommyf at kongsberg.com > TEL: +47 32287783 > WEB: http://www.kongsberg.com/eng/kog/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "UNIX is an operating system, OS/2 is half an operating system,=20 > Windows is a shell, and DOS is a boot partition virus."=20 > - Peter H. Coffin .=20 > > > =20 > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MAILsweeper for the presence of computer viruses. > > Best regards, > Kongsberg Gruppen > ********************************************************************** > > > ------_=_NextPart_001_01C33982.53FAE42C > Content-Type: text/html; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > > > Return code of 139 out of bound and other errors > > > > >

Hi > >
I get these error sometimes: cannot map t= > cp for protocol setting, Return code of 139 out of bound and state UNKNOWN = > on some services.

> >

The checks works just fine at first and th= > is just suddenly happends. Any settings that need adjusting? > >
I must restart nagios to get the checks w= > orking again. >

>
>
> >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= > ~~~~~~~~~~~~~~~ > >
Tommy Fallsen   System Administ= > rator > >
Kongsberg Defence & Aerospace > >
            &nbs= > p;           CE=3D"Arial">Email: tommyf at kongsberg.com > >
            &nbs= > p;           CE=3D"Arial">TEL: +47 32287783 > >
            &nbs= > p;           CE=3D"Arial">WEB: <= > FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">http://www.kongsberg.com/eng= > /kog/ > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= > ~~~~~~~~~~~~~~~ > >
"UNIX is an operating system, OS/2 = > is half an operating system, > >
Windows is a shell, and DOS is a boot pa= > rtition virus." > >
— Peter H. Coffin .<= > FONT FACE=3D"Times New Roman"> >

>
> >

  >

> >
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MAILsweeper for the presence of computer viruses.
>
> Best regards,
> Kongsberg Gruppen
> **********************************************************************
>
> > > ------_=_NextPart_001_01C33982.53FAE42C-- > > > --__--__-- > > Message: 8 > Subject: RE: [Nagios-users] nagiosbounce.sh > Date: Mon, 23 Jun 2003 08:19:01 -0500 > From: "Martin, Jeremy" > To: > > > > Hi Jeremy, > >=20 > > Technically I don't see any problems with this, but it does=20 > > beg the question - why do you need to do this? > >=20 > > Linux is not the environment to practise the ctrl-alt-del school of=20 > > networking. :-) > > Hehe. I've just been noticing that about once a week there are extra = > Nagios processes still running after I stop Nagios. I could probably = > just run the script once a week, or just manually when I make config = > changes and restart it, but I just hate getting multiple "Host UP" pages = > in the middle of the night due to rogue Nagios processes :-) > > Jeremy > > > --__--__-- > > Message: 9 > From: Jasmine > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 21:40:55 +0800 > Subject: [Nagios-users] passive host checks. > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Hi I understand that passive host checks comes only in the next release of= > =20 > Nagios, which I am really looking forward to!=20 > I am just wondering if anyone has a temporarily solution to overcome this a= > t=20 > the moment? I want the central host to be able to alert that remote hosts a= > re=20 > down and not assumed them to be up. Any suggestions what I can do? Or is=20 > there a plugin available already just that I am not aware of? > > > > Thanks lots! > > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > SNZ5xWITl2aBeeMyfn0T8iM=3D > =3DPtEn > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 10 > From: "Jason Lancaster" > To: "Jasmine" , > > Subject: Re: [Nagios-users] passive host checks. > Date: Mon, 23 Jun 2003 12:09:57 -0400 > > While this would be really, really nice (the whole idea of my distributed > environment is to have servers behind firewalls sending statistics to the > central server) it is hard to develop a work-around because Nagios cannot > process any type of host-check through the external commands file. The only > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. Perhaps someone > can hack this or figure out a way to disguise a host-check as a > service-check... > > I'd like to see this too, though! > > -Jason > ----- Original Message ----- > From: "Jasmine" > To: > Sent: Monday, June 23, 2003 9:40 > Subject: [Nagios-users] passive host checks. > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Hi I understand that passive host checks comes only in the next release of > Nagios, which I am really looking forward to! > I am just wondering if anyone has a temporarily solution to overcome this at > the moment? I want the central host to be able to alert that remote hosts > are > down and not assumed them to be up. Any suggestions what I can do? Or is > there a plugin available already just that I am not aware of? > > > > Thanks lots! > > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > SNZ5xWITl2aBeeMyfn0T8iM= > =PtEn > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 11 > Date: 23 Jun 2003 16:28:35 -0000 > To: Nagios-users at lists.sourceforge.net > From: manny > Organization: squareBOX technologies discussion forums > Subject: [Nagios-users] Error During Installation > > > I am running Red Hat linux 9.x and during the compaling porocess i get the following error. > > configure:error: no acceptable cc found in $PATH > > Does any one have any clues as how i can work behond this. > > Thanks > > > --__--__-- > > Message: 12 > Date: Mon, 23 Jun 2003 12:09:06 -0500 > From: "Chad Miller" > To: > Subject: [Nagios-users] Mail notification > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C339AA.27A10656 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > How would I configure nagios to send out an email every hour that shows = > my Disk utilization? > =20 > Chad M. > > ------_=_NextPart_001_01C339AA.27A10656 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > Message > http-equiv=3DContent-Type> > > >
How = > would I=20 > configure nagios to send out an email every hour that shows my Disk=20 > utilization?
>
class=3D732510717-23062003> 
>
Chad=20 > M.
> =00 > ------_=_NextPart_001_01C339AA.27A10656-- > > > --__--__-- > > Message: 13 > Date: Mon, 23 Jun 2003 12:23:35 -0500 > From: "Chad Miller" > To: > Subject: [Nagios-users] Mail help > > Sorry for the blank entry. > > I'm trying to get nagios to email me every time it does a disk check. = > What do I need to do to configure this properly? > > Chad M. > > > --__--__-- > > Message: 14 > From: "Wilhelm, John" > To: "'nagios-users at lists.sourceforge.net'" > > Cc: "'nagios at nagios.org'" > Date: Mon, 23 Jun 2003 13:29:37 -0400 > Subject: [Nagios-users] Help - losing my disable notifications and disable services setti > ngs when Nagios is restarted > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C339AD.04DDD2FE > Content-Type: text/plain; > charset="iso-8859-1" > > > Hello, > > I am currently using Nagios 1.0. I have discovered that when I restart > Nagios, my "disabled service checks" and "disabled notifications" are not > retained across the restart. I have to disable everything when I restart > Nagios. > > Is there any configuration that I have missed? > > retain_state_information=1 > use_retained_program_state=1 > > John Wilhelm > > > ------_=_NextPart_001_01C339AD.04DDD2FE > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2655.35"> > Help - losing my disable notifications and disable services = > settings when Nagios is restarted > > >
> >

Hello, >

> >

I am currently using Nagios 1.0.  = > I have discovered that when I restart Nagios, my "disabled service = > checks" and "disabled notifications" are not retained = > across the restart.  I have to disable everything when I restart = > Nagios.

> >

Is there any configuration that I have = > missed? >

> >

retain_state_information=3D1 >
use_retained_program_state=3D1 >

> >

John Wilhelm >

> > > > ------_=_NextPart_001_01C339AD.04DDD2FE-- > > > --__--__-- > > Message: 15 > From: Jasmine > To: "Chad Miller" > Subject: Re: [Nagios-users] Mail notification > Date: Tue, 24 Jun 2003 01:37:50 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > You can try setting notification_interval to 60 in your service definition= > =20 > template for "disk utilization" this is provided your interval_length is se= > t=20 > to 60secs in nagios.cfg.=20 > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > How would I configure nagios to send out an email every hour that shows my > > Disk utilization? > > > > Chad M. > > =2D --=20 > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > ze8iMlz0aKd4cwADyckaBpk=3D > =3Dh3sl > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 16 > Subject: RE: [Nagios-users] Mail help > Date: Mon, 23 Jun 2003 12:41:56 -0500 > From: "Marc Powell" > To: "Chad Miller" , > > > You could use OCSP but that's probably overkill. My suggestion would be > to write a small wrapper script for your disk-check command that has the > logic that you want. > > --- > Marc > > > -----Original Message----- > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > Sent: Monday, June 23, 2003 12:24 PM > > To: nagios-users at lists.sourceforge.net > >=20 > > Sorry for the blank entry. > >=20 > > I'm trying to get nagios to email me every time it does a disk check. > > What do I need to do to configure this properly? > >=20 > > Chad M. > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 17 > From: Jasmine > To: "Wilhelm, John" > Subject: Re: [Nagios-users] Help - losing my disable notifications and disable services setti ngs when Nagios is restarted > Date: Tue, 24 Jun 2003 02:02:46 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > That means in your configuration of your services you have disabled them.=20 > Re-check your config files again=20 > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > Nagios, my "disabled service checks" and "disabled notifications" are not > > retained across the restart. I have to disable everything when I restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=3D1 > > use_retained_program_state=3D1 > > > > John Wilhelm > > =2D --=20 > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > KHPMF8hQJp0XQctVNBb1Dek=3D > =3DUIkG > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 18 > From: "Dominik L. Borkowski" > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 14:13:39 -0400 > Subject: [Nagios-users] nrpe service dependancies > > Hey, > > I've been reading the documentation, experimenting, and still no luck. I was > wondering, is it possible to 'easily' declare service dependancies in this > scenario: > > - I have over 20 linux servers, each one has nrpe installed > - in addition, there are 5+ w2k servers with nrpe > - each of those 20 servers has currently 6 checks done via nrpe. > - the nrpe checks are declared using host groups > > Of course, if nrpe does not respond, each failed service check via nrpe fails > also. So often times, if the server is under a heavy load, or nrpe has > problems, I get 6 notifications for each server. > > Now, is there an easy way to declare dependancies, that would say: > > - if nrpe does not respond on host X, do not perform any checks for the given > host X. Do the same for each host in . - > > Any suggestions would be appreciated. > > PS) I've already tried using * for hosts/and or services in the dependancy > declarations. I ended up with a "dependancy hell", where with 20 hosts and 6 > services I had over 120 dependancies. service Y would be dependant on each > service of every host. Maybe I'm doing something wrong... > > > -- > Dominik L. Borkowski - Systems Administrator > Virginia Bioinformatics Institute - www.vbi.vt.edu > > > > --__--__-- > > Message: 19 > From: Skip Montanaro > Date: Mon, 23 Jun 2003 13:25:34 -0500 > To: nagios-users at lists.sourceforge.net > Reply-To: skip at pobox.com > Subject: [Nagios-users] check_cluster service - what's the correct "host"? > > I implemented a simple DNS cluster check this morning. My services file > defines a variant of my dns-service: > > define service{ > use dns-service > > name dns-cluster-service > service_description DNSC > is_volatile 0 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 120 > check_command check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg > > register 0 > } > > define service{ > use dns-cluster-service > host_name ns > contact_groups skip > notification_period red > } > > and my dnscluster.cfg file identifies the elements of the cluster: > > ns;DNS Service > drjimmy;DNS Service > iris;DNS Service > relay;DNS Service > > This seems to work fine, but it just doesn't seem right that I need to > associate it with a real host. Is there some way to define a virtual host > which really doesn't exist (is never checked for being up) which could be > associated with cluster services? > > Thx, > > -- > Skip Montanaro > skip at pobox.com > Got spam? http://spambayes.sf.net/ > > > --__--__-- > > Message: 20 > From: "Wilhelm, John" > To: "'nagios at nagios.org'" , > "'jasmine.chua at securecirt.com'" > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Help - losing my disable notifications and dis > able services setti ngs when Nagios is restarted > Date: Mon, 23 Jun 2003 14:32:01 -0400 > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C339B5.BCF3069A > Content-Type: text/plain; > charset="iso-8859-1" > > Hello Jasmine, > > Thanks for the response. You are right, I had the > "retain_nonstatus_information" set to 0. If this is not set to 1, when > nagios restarts, all disabled settings are lost. > > Thanks again, > John Wilhelm > > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Monday, June 23, 2003 2:03 PM > To: Wilhelm, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - losing my disable notifications and > disable services setti ngs when Nagios is restarted > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > That means in your configuration of your services you have disabled them. > Re-check your config files again > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > Nagios, my "disabled service checks" and "disabled notifications" are not > > retained across the restart. I have to disable everything when I restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=1 > > use_retained_program_state=1 > > > > John Wilhelm > > - -- > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > KHPMF8hQJp0XQctVNBb1Dek= > =UIkG > -----END PGP SIGNATURE----- > > ------_=_NextPart_001_01C339B5.BCF3069A > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2655.35"> > RE: [Nagios-users] Help - losing my disable notifications and = > disable services setti ngs when Nagios is restarted > > > >

Hello Jasmine, >

> >

Thanks for the response.  You are right,  I = > had the "retain_nonstatus_information" set to 0.  If = > this is not set to 1, when nagios restarts, all disabled settings are = > lost.

> >

Thanks again, >
John Wilhelm >

> >

-----Original Message----- >
From: Jasmine [ HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at secureci= > rt.com] >
Sent: Monday, June 23, 2003 2:03 PM >
To: Wilhelm, John >
Cc: nagios-users at lists.sourceforge.net >
Subject: Re: [Nagios-users] Help - losing my disable = > notifications and >
disable services setti ngs when Nagios is = > restarted >

>
> >

-----BEGIN PGP SIGNED MESSAGE----- >
Hash: SHA1 >

> >

Hi >

> >

That means in your configuration of your services you = > have disabled them. >
Re-check your config files again >

> >

On Tuesday 24 June 2003 01:29, Wilhelm, John = > wrote: >
> Hello, >
> >
> I am currently using Nagios 1.0.  I have = > discovered that when I restart >
> Nagios, my "disabled service checks" = > and "disabled notifications" are not >
> retained across the restart.  I have to = > disable everything when I restart >
> Nagios. >
> >
> Is there any configuration that I have = > missed? >
> >
> retain_state_information=3D1 >
> use_retained_program_state=3D1 >
> >
> John Wilhelm >

> >

- -- >
Jasmine Chua >
-----BEGIN PGP SIGNATURE----- >
Version: GnuPG v1.2.2 (GNU/Linux) >

> >

SIZE=3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKr= > W >
KHPMF8hQJp0XQctVNBb1Dek=3D >
=3DUIkG >
-----END PGP SIGNATURE----- >

> > > > ------_=_NextPart_001_01C339B5.BCF3069A-- > > > --__--__-- > > Message: 21 > Date: Mon, 23 Jun 2003 21:02:11 +0200 > From: "Hegedus, Ervin" > To: Karl DeBisschop > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fail error message - more interesting > > Hello, > > here is a new, interesting problem. > > okay, the monitoring of that w2k host was resolved - that host is > an other city, than where i work. that network connects to me > trough VPN. i also monitoring the "other site" VPN router. > > Nagios send me an alert message, VPN router is unreacheable. the > problem was in network, and that stayed up just a few minutes. > > but. > > after this alert, this w2k host - and only this host, other w2k > hosts are goods in Nagios, in that network - is also in alert state. > since 4 hours... > > > i don't understand this. > how can i debug this state? how can i run Nagios with higher log > facility? > has somebody some good think? :) > > > > thank you: > airween > > > --__--__-- > > Message: 22 > From: "Jason Lancaster" > To: "Marc Powell" , > "Chad Miller" , > > Subject: Re: [Nagios-users] Mail help > Date: Mon, 23 Jun 2003 15:05:26 -0400 > > All event handlers and notifications run with the assumption that a state > has changed. It's likely not going to change in your instance, therefore, > I'd write a new check-disk script to email you the output as well as > printing the output. You could also follow Marc's idea by writing a program > that parses ocsp output looking for specific events and notifying you > accordingly. > > -Jason > > ----- Original Message ----- > From: "Marc Powell" > To: "Chad Miller" ; > > Sent: Monday, June 23, 2003 13:41 > Subject: RE: [Nagios-users] Mail help > > > You could use OCSP but that's probably overkill. My suggestion would be > to write a small wrapper script for your disk-check command that has the > logic that you want. > > --- > Marc > > > -----Original Message----- > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > Sent: Monday, June 23, 2003 12:24 PM > > To: nagios-users at lists.sourceforge.net > > > > Sorry for the blank entry. > > > > I'm trying to get nagios to email me every time it does a disk check. > > What do I need to do to configure this properly? > > > > Chad M. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 23 > Subject: RE: [Nagios-users] Mail notification > Date: Mon, 23 Jun 2003 14:23:25 -0500 > From: "Carroll, Jim P [Contractor]" > To: "Jasmine" , > "Chad Miller" > Cc: > > I think that approach would only send a notification if there's a > warning/critical status. I think Chad wants to get a report every > hour, regardless. > > Chad, you could simply try running the command that Nagios runs, > but run it from a crontab every hour and pipe the output to mail. > > jc > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: Monday, June 23, 2003 12:38 PM > > To: Chad Miller > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Mail notification > >=20 > >=20 > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > >=20 > > Hi > >=20 > > You can try setting notification_interval to 60 in your=20 > > service definition=20 > > template for "disk utilization" this is provided your=20 > > interval_length is set=20 > > to 60secs in nagios.cfg.=20 > >=20 > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > How would I configure nagios to send out an email every=20 > > hour that shows my > > > Disk utilization? > > > > > > Chad M. > >=20 > > - --=20 > > Jasmine Chua > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > >=20 > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > ze8iMlz0aKd4cwADyckaBpk=3D > > =3Dh3sl > > -----END PGP SIGNATURE----- > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU=20 > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly=20 > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS=20 > > when reporting any issue.=20 > > ::: Messages without supporting info will risk being sent to /dev/null > >=20 > > > --__--__-- > > Message: 24 > Date: Mon, 23 Jun 2003 15:48:18 -0400 > To: "Carroll, Jim P [Contractor]" , > "Jasmine" , > "Chad Miller" > From: Rob Nelson > Subject: RE: [Nagios-users] Mail notification > Cc: > > > >I think that approach would only send a notification if there's a > >warning/critical status. I think Chad wants to get a report every > >hour, regardless. > > > >Chad, you could simply try running the command that Nagios runs, > >but run it from a crontab every hour and pipe the output to mail. > > If you really want Nagios to do it, so that you can disable it via the web > page, set the "low" threshold to larger than your hard drive, so it will > always be in warn/crit. Defaults to resends every 2 hours. > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > > > --__--__-- > > Message: 25 > Reply-To: > From: "Michael Carpenter" > To: > Date: Mon, 23 Jun 2003 15:27:31 -0500 > Subject: [Nagios-users] NSCA and syslog-ng question > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0009_01C3399B.F6747FD0 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > I am very new at Nagios and have a question regarding the NSCA extra and > using it with syslog-ng. > > I have downloaded and complied the nsca, send-nsca, and the mcrypt > stuff. I have edited the config files. My issue is that my loghost is > also my nagios box. In syslog-ng.conf do I need another source line > other than "source net { udp();};? I also have the nagios.pipe > configured and I can see messages entering the pipe, and sitting there > for a time period.then they clear. > > Also, how do I configure Nagios to use the information coming from the > pipe. > > Thanks in advance. > > Mike > > ------=_NextPart_000_0009_01C3399B.F6747FD0 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Dus-ascii"> > 6.0.4630.0"> > NSCA and syslog-ng question > > > > >

I am = > very new at Nagios and have a question regarding the NSCA extra and = > using it with syslog-ng.

> >

I = > have downloaded and complied the nsca, send-nsca, and the mcrypt = > stuff.  I have edited the config files.  My issue is that my = > loghost is also my nagios box. LANG=3D"en-us">  FACE=3D"Arial"> In syslog-ng.conf do I need another source line other = > than = > LANG=3D"en-us"> FACE=3D"Arial">source net { udp();};?  I also have the nagios.pipe = > configured and I can see messages entering the pipe, and sitting there = > for a time period LANG=3D"en-us"> LANG=3D"en-us"> FACE=3D"Arial">then they clear LANG=3D"en-us"> FACE=3D"Arial">… LANG=3D"en-us">

> >

Also, = > how do I configure Nagios to use the information coming from the = > pipe SIZE=3D2 FACE=3D"Arial">… LANG=3D"en-us">

> >

FACE=3D"Arial">Thanks in advance LANG=3D"en-us"> FACE=3D"Arial">… LANG=3D"en-us">

> >

FACE=3D"Arial">Mike LANG=3D"en-us">

> > > > ------=_NextPart_000_0009_01C3399B.F6747FD0-- > > > > --__--__-- > > Message: 26 > From: "Bill Hults" > To: "manny" , > > Subject: RE: [Nagios-users] Error During Installation > Date: Mon, 23 Jun 2003 17:27:06 -0400 > > Have you applied the various patches to RH9 to bring it up to date & > possibly solve this kind of problem? I've just installed it on RH9 & it went > fine > Bill > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of manny > Sent: Monday, June 23, 2003 12:29 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error During Installation > > > > I am running Red Hat linux 9.x and during the compaling porocess i get the > following error. > > configure:error: no acceptable cc found in $PATH > > Does any one have any clues as how i can work behond this. > > Thanks > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > --__--__-- > > Message: 27 > Date: Mon, 23 Jun 2003 17:44:20 -0400 > To: nagios-users at lists.sourceforge.net > From: Jeyri Bautista > Subject: [Nagios-users] MySQL Database > > Hi, > > Now, I have my nagios information in plain text, but I want record in a > mysql database. My question is: Can I record in a mysql database the > nagios.log information?, because i read that the information that can be > record is status.log, comment.log, downtime.log and extinfo. > > Thanks, > > Jeyri > > > > --__--__-- > > Message: 28 > From: Jasmine > To: "Wilhelm, John" > Subject: Re: [Nagios-users] Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted > Date: Tue, 24 Jun 2003 05:47:22 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You are most welcome but hey you are the one who spotted the mistake, not m= > e!=20 > I only point you to the right direction that's all! Nagios is just=20 > wonderful.. > > Cheers! > > Jasmine=20 > > > On Tuesday 24 June 2003 02:32, you wrote: > > Hello Jasmine, > > > > Thanks for the response. You are right, I had the > > "retain_nonstatus_information" set to 0. If this is not set to 1, when > > nagios restarts, all disabled settings are lost. > > > > Thanks again, > > John Wilhelm > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: Monday, June 23, 2003 2:03 PM > > To: Wilhelm, John > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > > disable services setti ngs when Nagios is restarted > > > > > > Hi > > > > That means in your configuration of your services you have disabled them. > > Re-check your config files again > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > Hello, > > > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > > Nagios, my "disabled service checks" and "disabled notifications" are n= > ot > > > retained across the restart. I have to disable everything when I resta= > rt > > > Nagios. > > > > > > Is there any configuration that I have missed? > > > > > > retain_state_information=3D1 > > > use_retained_program_state=3D1 > > > > > > John Wilhelm > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu > gdJzpdx+Ww/rTtYK6aNQHBo=3D > =3DUssf > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 29 > From: Jasmine > To: Gilberto Nunes Ferreira > Date: Tue, 24 Jun 2003 07:51:46 +0800 > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key verification failed. > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi=20 > > It means it is really a SSH problem. Your box cannot access the other by SS= > H.=20 > You have to make sure you have the right host keys generated. Perhaps you c= > an=20 > check your known_hosts in your .ssh directory to make sure the key for that= > =20 > particular host is there.=20 > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > Hi evervbody > > > > I have two host. > > One of then I wan't to verify by check_by_ssh, plugins. > > So, I make this in the checkcommands.cfg file: > > > > ..... > > ... > > .. > > define command{ > > command_name ssh_check_disk > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > } > > = > =20 > > Wen I restart the nagios > > services, appear a mesagem that say: > > > > > > > > Host key verification failed. > > > > > > What the means of this mesage? > > I forgot something?!?!?! > > > > Please,help! > > Thanks. > > =2D --=20 > Jasmine Chua > Security Engineer > > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > T8ddWrGJipPo0jXTPzfpO0M=3D > =3DgeFj > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 30 > From: Frank Gadot > To: Nagios-Users > Organization: EPS > Date: 23 Jun 2003 20:11:03 -0400 > Subject: [Nagios-users] Notification problems > > Hi all, > > I have been looking for weeks now about this problem: At the very > begining, when a computer would be down, I would receive EMAIL + PAGER. > Now, it is or PAGER or EMAIL. I have no clue what I changed. > > Here is an example for one computer: > > > hosts.cfg > #TEST > define host { > use generic-host > host_name TEST > alias TEST SERVER > address 192.168.1.41 > check_command check-host-alive > max_check_attempts 3 > notification_interval 5 > notification_period 24x7 > notification_options d,u,r > } > > > > > hostgroups.cfg > define hostgroup{ > hostgroup_name PRODUCTION > alias High priority servers > contact_groups ADMIN-PAGER > members TEST > } > > > > services.cfg > define service{ > use generic-service > host_name TEST > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups ADMIN-EMAIL > notification_interval 5 > notification_period 24x7 > notification_options u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > > > contacts.cfg > everything about me > > > > contactgroups.cfg > define contactgroup{ > contactgroup_name ADMIN-PAGER > alias ADMIN for pagers > members frank > } > > > So: The contact group for the host is ADMIN-PAGER , but the service > define ADMIN-EMAIL. Is there a way to receive both of them ? > > Thank you. > > > > --__--__-- > > Message: 31 > To: nagios-users at lists.sourceforge.net > From: sobrien at ci.bend.or.us > Date: Mon, 23 Jun 2003 17:12:07 -0700 > Subject: [Nagios-users] Looking for a way to connect to host via Status map > > This is an S/MIME signed message. > > ---------z13701_boundary_sign > Content-Type: multipart/alternative; boundary="=_alternative 0000FF7488256D4F_=" > > This is a multipart message in MIME format. > --=_alternative 0000FF7488256D4F_= > Content-Type: text/plain; charset="US-ASCII" > > Has anyone figured out how to click on a host in your status map and > connect via ssh, telnet, walkie-talkie, etc... > > Steve O'Brien > City of Bend > Network Administrator > sobrien at ci.bend.or.us > 541-322-6393 > > --=_alternative 0000FF7488256D4F_= > Content-Type: text/html; charset="US-ASCII" > > >
Has anyone figured out how to click > on a host in your status map and connect via ssh, telnet, walkie-talkie, > etc... >

> Steve O'Brien
> City of Bend
> Network Administrator
> sobrien at ci.bend.or.us
> 541-322-6393
>
> --=_alternative 0000FF7488256D4F_=-- > > ---------z13701_boundary_sign > Content-Type: application/x-pkcs7-signature; name="smime.p7s" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; filename="smime.p7s" > Content-Description: S/MIME Cryptographic Signature > > MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCBEEw > ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9w0B > CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTBk9y > ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJVDEV > MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowgZQx > KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMx > DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQsw > CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB > iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYunDnv > eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3Y8O > QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYD > VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWAdkJ > MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlbmQs > Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZp > Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY2F0 > ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwRqBE > oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyMG9m > JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpSuDj > gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qUYSL > j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk9xK > BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUMSow > KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8w > DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkG > A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2MDUx > ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJ > BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkg > b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9w0B > AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHubJj > BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAyd+N > 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUAgQG > HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3LjihevBu > iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5JTIw > b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNl > cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9dXM/ > Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1dGlv > blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xs > L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA4GB > ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq52I8 > iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8YhF > YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCB > lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJV > UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQx > CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQw > NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYD > VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9m > IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEB > BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4v > rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU > 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAw > EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNV > HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhth > ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24x > DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNV > BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJ > oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxD > Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERD > PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29i > amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIu > Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxl > Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVu > ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0 > eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vydmlj > ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNh > dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpo > dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNp > LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9w > ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9y > LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBB > FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl > +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2N > MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3DQEJ > ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3Jl > Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUMRUw > EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBjjEk > MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UE > CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsT > AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL4d > Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGfwka > SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4XqG > 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIKwYB > BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4EDcu > OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNp > LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQx > FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVu > ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovLy9D > Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl > MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9 > b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERp > c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9D > ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuYWdl > Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrBgEF > BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZCxD > Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJh > dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3Rj > bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hbmFn > ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ2l0 > eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpLmJl > bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZiUy > MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrvW/D > k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/xm2 > t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwgaMw > gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMC > VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5k > MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOAwIa > BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0MDAx > MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPMTYw > NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwDQYJ > KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIElpEC > Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/ytp > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA= > > ---------z13701_boundary_sign-- > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjn at umn.edu Tue Jun 24 15:12:36 2003 From: mjn at umn.edu (mjn) Date: Tue, 24 Jun 2003 08:12:36 -0500 (CDT) Subject: [netsaint] check_nagios weirdness... Message-ID: We recently had some issues using a University provided apache authentication module which we had been using for Nagios...some changes in mm and how are setup was configured. As a result, our Nagios' web interface was down for a couple of weeks but once again working and now I am seeing a new problem. Nagios web constantly shows that the process is not running...we had all of the CGI's working in the past and `ps-aux|grep nagios' yields: [09:02:36][root at monolith:/nagios] ps -aux |grep nagios nagios 8622 0.0 0.8 2128 1136 ? S 09:00 0:00 [nagios] Watching 'Service Detail' i see services' 'Last Check' column updating as expected and i do receive notices of status changes for services/hosts. I have checked cgi.conf and here is my active nagios_check_command: nagios_check_command=/nagios/libexec/check_nagios /nagios/var/status.log \ 5 '/nagios/bin/nagios' In running this from the command line, i get: Could not locate a running Nagios process! Grep'ing status.log I find no hits on bin/nagios Here is the restart output: [09:32:36][root at monolith:/nagios/var] /etc/rc.d/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios [ OK ] nagios (pid 12395) is running... Anyone have any ideas on why the status isn't getting written to the log or how I might determine why? Also: is there any way to change notifications(enable/disable) for a host/service if the web interface is not working? Thanks much! -- _______________________________________________ Mike Neuharth ADCS Technology Specialist http://www.umn.edu/adcs =============================================== E-Mail : mjn at umn.edu Page Mail : 6126486512 at page.metrocall.com _______________________________________________ "What is important, it seems to me, is not so much to defend a culture whose existence has never kept a man from going hungry, as to extract, from what is called culture, ideas whose compelling force is identical with that of hunger." -Antonin Artaud ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Netsaint-users mailing list Netsaint-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/netsaint-users ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhh at apk.net Tue Jun 24 15:27:30 2003 From: mhh at apk.net (Martin Hebrank) Date: Tue, 24 Jun 2003 09:27:30 -0400 Subject: Fail error message - more interesting In-Reply-To: <20030624125038.GA25193@amit.hu>; from airween@amit.hu on Tue, Jun 24, 2003 at 02:50:38PM +0200 References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> <20030623190211.GA22755@amit.hu> <1056454060.23321.27.camel@localhost.localdomain> <20030624125038.GA25193@amit.hu> Message-ID: <20030624092730.A15649@newstaff.apk.net> On Tue, Jun 24, 2003 at 02:50:38PM +0200, Hegedus, Ervin wrote: > > Look at the service/host check logic carefully. If you have a service, > > there must be a host check behind it. > of course, i know it - there are configured all hosts, but no one > has configured for service. Ok. Configure a service both the otherside of the VPN and the W2K server. There's a check_ping that should be used to create a 'ping' service for all servers for which you have no other service you want to check (ie. for hosts that you truly only care if they are up or down) ** Martin -- Martin Hebrank. Systems Administrator/Postmaster APK.net, Cleveland, OH. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jun 24 15:27:29 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 24 Jun 2003 09:27:29 -0400 Subject: Host and Service checks (was: Fail error message - more interesting) In-Reply-To: <1056454060.23321.27.camel@localhost.localdomain> References: <20030623190211.GA22755@amit.hu> <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> <20030623190211.GA22755@amit.hu> Message-ID: <5.2.1.1.0.20030624091827.00bcf9c0@mail.capband.net> >Look at the service/host check logic carefully. If you have a service, >there must be a host check behind it. Conversely, (IIRC) if you have a >host check, it will always be in an assumed up state until a service >check goes down, triggering the host check. > >Long and short of it is, each host needs both a host check and one or >more service checks, otherwise you will find you have hosts that do not >come back up even after the service check has been fixed. Can you expand on this some? I think I understand what you're saying, but I want to be clear. Let's assume the following checks on "node1" from hosts.cfg: =========== define host{ use generic-host host_name node1.sitename.com alias Node 1 address 10.10.12.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } =========== from services.cfg: ============ define service{ use generic-service host_name node1.sitename.com service_description ping is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups contact-group1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ping!1000.0,40%!2000.0,80% } ============ And of course, from checkcommands.cfg: ============= # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 10 } # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 30 } ============= I modified check-host-alive because we're monitoring wireless ap's (which drop icmp packets priority if they get even slightly busy) over a VPN. If I leave it at default, often times the first icmp packet from a host gets dropped. Could you or someone else elaborate on what exactly Nagios will do when it turns on, as in a timeline of host and service checks? Assume the host is up initially, drops to critical after an hour, rises to warning 30 minutes after that, and 30 minutes after that (2 hours from start), goes back to normal. I think I had some misconceptions about when host/service checks were performed but I just want to make sure I don't read you wrong and pick up more misconceptions :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Tue Jun 24 15:33:27 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Tue, 24 Jun 2003 15:33:27 +0200 Subject: Fail error message - more interesting In-Reply-To: <20030624092730.A15649@newstaff.apk.net> References: <20030621091300.GA11276@amit.hu> <1056199529.16332.31.camel@localhost.localdomain> <20030622082955.GA12837@amit.hu> <1056368795.20707.6.camel@localhost.localdomain> <20030623190211.GA22755@amit.hu> <1056454060.23321.27.camel@localhost.localdomain> <20030624125038.GA25193@amit.hu> <20030624092730.A15649@newstaff.apk.net> Message-ID: <20030624133327.GA25464@amit.hu> Hello, > Ok. Configure a service both the otherside of the VPN and the W2K server. > There's a check_ping that should be used to create a 'ping' service for > all servers for which you have no other service you want to check (ie. for > hosts that you truly only care if they are up or down) ok, thanks a lot, i will try it. air ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 15:11:42 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 24 Jun 2003 08:11:42 -0500 Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4711@mismail.ena.com> You can either -- - Fix the problem with the host - acknowledge the problem from the web interface - increase the plugin timeout - adjust your notification interval for this host/service - disable critical notifications for this host/service Or - disable notifications for this host/service entirely in your config It just depends on what you're really trying to accomplish. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Eddy To: nagios-users at lists.sourceforge.net Sent: Tue Jun 24 07:57:44 2003 Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs Socket timeout after 10 seconds I have this messagem any can help me??? My hosts has a real problem, but i don't wana receive this message Sorry my bad english but i 'm brazilian man :) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: To: Sent: Tuesday, June 24, 2003 12:23 AM Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. RE: Autentication Fail !!!! (Billy) > 2. Re: __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread (Ethan Galstad) > 3. Host detail showing all hosts up (greg) > 4. Re: Compile Error with MySQL Support (Karl Latiss) > 5. ping does not recover (Marko Riedel) > 6. Re: Fail error message (Karl DeBisschop) > 7. Return code of 139 out of bound and other errors (Fallsen, Tommy) > 8. RE: nagiosbounce.sh (Martin, Jeremy) > 9. passive host checks. (Jasmine) > 10. Re: passive host checks. (Jason Lancaster) > 11. Error During Installation (manny) > 12. Mail notification (Chad Miller) > 13. Mail help (Chad Miller) > 14. Help - losing my disable notifications and disable services setti > ngs when Nagios is restarted (Wilhelm, John) > 15. Re: Mail notification (Jasmine) > 16. RE: Mail help (Marc Powell) > 17. Re: Help - losing my disable notifications and disable services setti ngs when Nagios is restarted (Jasmine) > 18. nrpe service dependancies (Dominik L. Borkowski) > 19. check_cluster service - what's the correct "host"? (Skip Montanaro) > 20. RE: Help - losing my disable notifications and dis > able services setti ngs when Nagios is restarted (Wilhelm, John) > 21. Fail error message - more interesting (Hegedus, Ervin) > 22. Re: Mail help (Jason Lancaster) > 23. RE: Mail notification (Carroll, Jim P [Contractor]) > 24. RE: Mail notification (Rob Nelson) > 25. NSCA and syslog-ng question (Michael Carpenter) > 26. RE: Error During Installation (Bill Hults) > 27. MySQL Database (Jeyri Bautista) > 28. Re: Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted (Jasmine) > 29. Re: [Nagiosplug-help] Host key verification failed. (Jasmine) > 30. Notification problems (Frank Gadot) > 31. Looking for a way to connect to host via Status map (sobrien at ci.bend.or.us) > > --__--__-- > > Message: 1 > From: "Billy" > To: > Subject: RE: [Nagios-users] Autentication Fail !!!! > Date: Mon, 23 Jun 2003 14:19:36 +1000 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_1228_01C33992.796BC420 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Logins are controlled by the web server, not nagios. If it's apache, = > check > your .htaccess file in your web dir, otherwise check the auth docs for = > your > flavour of web server > > =20 > > _____ =20 > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Syed = > Zulhilmi > Tuan Sharif > Sent: Monday, 23 June 2003 12:13 PM > To: nagios-users at lists.sourceforge.net > > =20 > > -I dont know what has happened to my Nagios. Suddenly i cannot login > because it said that my login and password is npt valid.=20 > > Arghhhh dont know why this happen. Help me anyone > > =20 > > > ------=_NextPart_000_1228_01C33992.796BC420 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > xmlns:o=3D"urn:schemas-microsoft-com:office:office" = > xmlns:w=3D"urn:schemas-microsoft-com:office:word" = > xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = > xmlns=3D"http://www.w3.org/TR/REC-html40"> > > > charset=3Dus-ascii"> > > > > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = > name=3D"time"/> > > > > > > > >
> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by the web = > server, > not nagios. If it’s apache, check your .htaccess file in your web = > dir, > otherwise check the auth docs for your flavour of web = > server

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >
> >
style=3D'margin-left:36.0pt;text-align:center'> size=3D3 face=3D"Times New Roman"> style=3D'font-size:12.0pt'> > >
> >
> >

face=3DTahoma> lang=3DEN-US = > style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From: n> size=3D2 face=3DTahoma> style=3D'font-size:10.0pt;font-family:Tahoma'> > nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] style=3D'font-weight: > bold'>On Behalf Of Syed Zulhilmi Tuan Sharif
> Sent: Monday, 23 June = > 2003 Minute=3D"13" Hour=3D"12" w:st=3D"on"> 12:13 PM
> To: > nagios-users at lists.sourceforge.net
lang=3DEN-US>

> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;color:black'>-I dont > know what has happened to my Nagios.  Suddenly i cannot login = > because it > said that my login and password is npt valid. color=3Dblack > face=3DArial> style=3D'font-family:Arial;color:black'>

> >
> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh > dont know why this happen.  Help me anyone color=3Dblack > face=3DArial> style=3D'font-family:Arial;color:black'>

> >
> >
> >

color=3Dblack > face=3DArial> style=3D'font-size:12.0pt;font-family:Arial;color:black'>  >

> >
> >
> > > > > > ------=_NextPart_000_1228_01C33992.796BC420-- > > > > --__--__-- > > Message: 2 > From: "Ethan Galstad" > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 00:24:16 -0500 > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread > > Thanks for the patches! I've applied these to CVS (both 1.x and HEAD > branches). > > > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote: > > > Dear Ladies and Gentlemen, > > > > The Nagios kibutzers take great pleasure in announcing an _unofficial_ > > patch for embedded Perl support in Nagios 1.1. > > > > The patch, while not extensively tested, _should_ fix the SEGV on > > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > > with an embedded Perl interpreter (for greater efficiency in executing > > Perl plugins). > > > > Details below. > > > > Status > > > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on > > start-up of Nagios built with an embedded Perl interpreter. > > > > The SEGV occurs right at start-up and is associated with > > libperl.so (it may occur at the first printf in the main program). It > > only occurs with threaded Perls that are typically shipped with systems > > having good pthread OS support. > > > > Affected systems include > > > > RH 8 and 9 > > Mandrake 9 ( 2.4.19-16mdk ) > > Suse 8 > > Debian ? > > > > Unaffected systems include > > > > FreeBSD RELENG_4 (v4 Release and Stable branches) > > > > If you have a Linux or Solaris system with a Perl greater than 5.6.1 and > > you want an embedded Perl Nag, you need this patch. > > > > Credits > > > > Ethan Galstad > > Reuben Farrelly > > > > I believe the patch was originally the work of Mr Reuben > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem fixed). > > > > Feedback > > > > S Hopcroft > > > > Flames > > S Hopcroft > > > > Testing > > compiled and run on Mandrake 9/Perl 5.8.0 > > compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] > > compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] > > > > Notes > > > > Should apply to Nag 1.0 but unchecked. > > > > Patch > > attached. > > > > 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. > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > --__--__-- > > Message: 3 > Date: Mon, 23 Jun 2003 11:48:48 +0200 > From: greg > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host detail showing all hosts up > > This is a multi-part message in MIME format. > --------------000504060808050902050806 > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: 7bit > > > Hi, > > I have about 200 hosts on a local network. > Service detail shows things correctly, but host detail shows hosts up > while most of them are down. > I have set up only ping service for each host. > I suppose the solution is simple, but I'm not able to pinpoint the problem. > Thanks > Greg > > > > > --------------000504060808050902050806 > Content-Type: text/plain; > name="myconfig.txt" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="myconfig.txt" > > > 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=1 > 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=1 > log_notifications=1 > log_service_retries=0 > log_host_retries=0 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_service_checks=1 > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > inter_check_delay_method=n > service_interleave_factor=s > max_concurrent_checks=10 > service_reaper_frequency=1 > 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=0 > state_retention_file=/usr/local/nagios/var/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=0 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > #host_perfdata_command=process-host-perfdata > #service_perfdata_command=process-service-perfdata > obsess_over_services=0 > #ocsp_command=somecommand > check_for_orphaned_services=1 > check_service_freshness=1 > freshness_check_interval=600 > 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 > > > > define host{ > name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution > notifications_enabled 0 ; Host notifications are enabled > event_handler_enabled 1 ; Host event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 0 ; Retain status information across program restarts > retain_nonstatus_information 0 ; Retain non-status information across program restarts > > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options n ;d,u,r > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define host{ > use generic-host > host_name host-192.168.6.32 > alias host-192.168.6.32 > address 192.168.6.32 > } > > define host{ > use generic-host > host_name host-192.168.8.22 > alias host-192.168.8.22 > address 192.168.8.22 > } > > ... > > # Generic service definition template > define service{ > name generic-service ; The 'name' of this service template, referenced in other service definitions > active_checks_enabled 1 ; Active service checks are enabled > passive_checks_enabled 0 ; 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' > notifications_enabled 0 ; 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 0 ; Retain status information across program restarts > retain_nonstatus_information 0 ; Retain non-status information across program restarts > > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups k3-admins > notification_interval 15 > notification_period 24x7 > notification_options n ;c,r > check_command check_ping!100.0,20%!500.0,60% > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service{ > use generic-service > host_name host-192.168.6.32 > } > > define service{ > use generic-service > host_name host-192.168.8.22 > } > > ... > > > --------------000504060808050902050806-- > > > > > --__--__-- > > Message: 4 > Subject: Re: [Nagios-users] Compile Error with MySQL Support > From: Karl Latiss > To: allan > Cc: Nagios-users at lists.sourceforge.net > Organization: design IT > Date: 23 Jun 2003 19:55:03 +1000 > > On Sat, 2003-06-21 at 23:55, allan wrote: > > I am attempting to compile Nagios with complete mySQL support. The swithces I am using are ... > > > > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --w ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql- inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql > > > If you specify > > --with-mysql-xdata > > you don't need all the other --with-mysql stuff > > EXCEPT > > --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql > > This worked fine for me on RH7.3 and Nagios 1.0 > > Karl. > > > I have installed the following mySQL Packages.. > > > > mysql-3.23.54a-11 > > mysql-devel-3.23.54a-11 > > mysql-server-3.23.54a-11 > > > > though, when I try to compile - I get the following error.. > > > > *** MySQL library could not be located...***************** > > > > You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is > > installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. > > > > > > I have the following mysqlclient files in ghe /usr/lib/mysql directory - > > > > /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient_r.so.10 > > /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient_r.a /usr/lib/mysql/libmysqlclient_r.so.10.0.0 > > /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient_r.so > > > > > > Any ideas on how to get this to compile - would be appreciated. > > > > Thanks, > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- > Karl Latiss > design IT > > > > --__--__-- > > Message: 5 > From: Marko Riedel > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST) > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping does not recover > > > Hi folks, > > we have some machines that reboot during the night. Our PING service > goes critical during that time, as indeed it should. > > There is a problem with recovery however. Sometimes the service does > not recover until I manually schedule a check with the web interface. > > Here are my definitions: > > # Generic service definition template > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > > register 0 > } > > define service{ > use generic-service > name ping-service > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > register 0 > } > > > define service{ > use ping-service > host_name host > > } > > > I'd appreciate any feedback you may have. > > Best regards, > > -- > +------------------------------------------------------------+ > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | > | http://www.geocities.com/markoriedelde/index.html | > +------------------------------------------------------------+ > > > --__--__-- > > Message: 6 > Subject: Re: [Nagios-users] Fail error message > From: Karl DeBisschop > To: "Hegedus, Ervin" > Cc: nagios-users at lists.sourceforge.net > Date: 23 Jun 2003 07:46:36 -0400 > > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote: > > Hello, > > > > dear Karl, > > first: thank you for your reply. > > > > > Maybe the check_host is misconfigured? In that case, the service checks > > > would not be performed until the host came back up. Which it would not > > > be able to do until check_host_alive reports success. > > what do you mean 'check_host is misconfigured'? > > I mean that check_host_alive does not work for this host. Which you did > not mention in the email I was responding to, but you have now > confirmed. > > > look at this: > > monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > # check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > check_command check-host-alive > > > > as you can see, there is many other host where we use > > check-host-alive command - there are works fine. > > the commented line is the w2k host, what gives back false alert. > > > > here is the relevant part of checkcommands.cfg: > > > > # 'check-host-alive' command definition > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > i use _only_ this command, i didn't redefined this command > > anywhere... > > > > in my previous mail i attached a sample, where i tested the > > command_line line - that works with this host also. > > I don't see any problems with your command definition. I would examine > the host definition very carefully to if there are any typos there that > might affect how the host address is passed to the host-check command. > > Once you fix the host check and uncomeent it, the problem you described > (service not being tested) will go away. > > -- > Karl > > > > --__--__-- > > Message: 7 > Date: Mon, 23 Jun 2003 14:24:01 +0200 > From: "Fallsen, Tommy" > To: > Subject: [Nagios-users] Return code of 139 out of bound and other errors > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C33982.53FAE42C > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Hi > I get these error sometimes: cannot map tcp for protocol setting, Return > code of 139 out of bound and state UNKNOWN on some services. > The checks works just fine at first and this just suddenly happends. Any > settings that need adjusting?=20 > I must restart nagios to get the checks working again. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Tommy Fallsen System Administrator=20 > Kongsberg Defence & Aerospace > Email: tommyf at kongsberg.com > TEL: +47 32287783 > WEB: http://www.kongsberg.com/eng/kog/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "UNIX is an operating system, OS/2 is half an operating system,=20 > Windows is a shell, and DOS is a boot partition virus."=20 > - Peter H. Coffin .=20 > > > =20 > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MAILsweeper for the presence of computer viruses. > > Best regards, > Kongsberg Gruppen > ********************************************************************** > > > ------_=_NextPart_001_01C33982.53FAE42C > Content-Type: text/html; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > > > Return code of 139 out of bound and other errors > > > > >

Hi > >
I get these error sometimes: cannot map t= > cp for protocol setting, Return code of 139 out of bound and state UNKNOWN = > on some services.

> >

The checks works just fine at first and th= > is just suddenly happends. Any settings that need adjusting? > >
I must restart nagios to get the checks w= > orking again. >

>
>
> >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= > ~~~~~~~~~~~~~~~ > >
Tommy Fallsen   System Administ= > rator > >
Kongsberg Defence & Aerospace > >
            &nbs= > p;           CE=3D"Arial">Email: tommyf at kongsberg.com > >
            &nbs= > p;           CE=3D"Arial">TEL: +47 32287783 > >
            &nbs= > p;           CE=3D"Arial">WEB: <= > FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">http://www.kongsberg.com/eng= > /kog/ > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= > ~~~~~~~~~~~~~~~ > >
"UNIX is an operating system, OS/2 = > is half an operating system, > >
Windows is a shell, and DOS is a boot pa= > rtition virus." > >
— Peter H. Coffin .<= > FONT FACE=3D"Times New Roman"> >

>
> >

  >

> >
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MAILsweeper for the presence of computer viruses.
>
> Best regards,
> Kongsberg Gruppen
> **********************************************************************
>
> > > ------_=_NextPart_001_01C33982.53FAE42C-- > > > --__--__-- > > Message: 8 > Subject: RE: [Nagios-users] nagiosbounce.sh > Date: Mon, 23 Jun 2003 08:19:01 -0500 > From: "Martin, Jeremy" > To: > > > > Hi Jeremy, > >=20 > > Technically I don't see any problems with this, but it does=20 > > beg the question - why do you need to do this? > >=20 > > Linux is not the environment to practise the ctrl-alt-del school of=20 > > networking. :-) > > Hehe. I've just been noticing that about once a week there are extra = > Nagios processes still running after I stop Nagios. I could probably = > just run the script once a week, or just manually when I make config = > changes and restart it, but I just hate getting multiple "Host UP" pages = > in the middle of the night due to rogue Nagios processes :-) > > Jeremy > > > --__--__-- > > Message: 9 > From: Jasmine > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 21:40:55 +0800 > Subject: [Nagios-users] passive host checks. > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Hi I understand that passive host checks comes only in the next release of= > =20 > Nagios, which I am really looking forward to!=20 > I am just wondering if anyone has a temporarily solution to overcome this a= > t=20 > the moment? I want the central host to be able to alert that remote hosts a= > re=20 > down and not assumed them to be up. Any suggestions what I can do? Or is=20 > there a plugin available already just that I am not aware of? > > > > Thanks lots! > > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > SNZ5xWITl2aBeeMyfn0T8iM=3D > =3DPtEn > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 10 > From: "Jason Lancaster" > To: "Jasmine" , > > Subject: Re: [Nagios-users] passive host checks. > Date: Mon, 23 Jun 2003 12:09:57 -0400 > > While this would be really, really nice (the whole idea of my distributed > environment is to have servers behind firewalls sending statistics to the > central server) it is hard to develop a work-around because Nagios cannot > process any type of host-check through the external commands file. The only > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. Perhaps someone > can hack this or figure out a way to disguise a host-check as a > service-check... > > I'd like to see this too, though! > > -Jason > ----- Original Message ----- > From: "Jasmine" > To: > Sent: Monday, June 23, 2003 9:40 > Subject: [Nagios-users] passive host checks. > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Hi I understand that passive host checks comes only in the next release of > Nagios, which I am really looking forward to! > I am just wondering if anyone has a temporarily solution to overcome this at > the moment? I want the central host to be able to alert that remote hosts > are > down and not assumed them to be up. Any suggestions what I can do? Or is > there a plugin available already just that I am not aware of? > > > > Thanks lots! > > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > SNZ5xWITl2aBeeMyfn0T8iM= > =PtEn > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 11 > Date: 23 Jun 2003 16:28:35 -0000 > To: Nagios-users at lists.sourceforge.net > From: manny > Organization: squareBOX technologies discussion forums > Subject: [Nagios-users] Error During Installation > > > I am running Red Hat linux 9.x and during the compaling porocess i get the following error. > > configure:error: no acceptable cc found in $PATH > > Does any one have any clues as how i can work behond this. > > Thanks > > > --__--__-- > > Message: 12 > Date: Mon, 23 Jun 2003 12:09:06 -0500 > From: "Chad Miller" > To: > Subject: [Nagios-users] Mail notification > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C339AA.27A10656 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > How would I configure nagios to send out an email every hour that shows = > my Disk utilization? > =20 > Chad M. > > ------_=_NextPart_001_01C339AA.27A10656 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > Message > http-equiv=3DContent-Type> > > >
How = > would I=20 > configure nagios to send out an email every hour that shows my Disk=20 > utilization?
>
class=3D732510717-23062003> 
>
Chad=20 > M.
> =00 > ------_=_NextPart_001_01C339AA.27A10656-- > > > --__--__-- > > Message: 13 > Date: Mon, 23 Jun 2003 12:23:35 -0500 > From: "Chad Miller" > To: > Subject: [Nagios-users] Mail help > > Sorry for the blank entry. > > I'm trying to get nagios to email me every time it does a disk check. = > What do I need to do to configure this properly? > > Chad M. > > > --__--__-- > > Message: 14 > From: "Wilhelm, John" > To: "'nagios-users at lists.sourceforge.net'" > > Cc: "'nagios at nagios.org'" > Date: Mon, 23 Jun 2003 13:29:37 -0400 > Subject: [Nagios-users] Help - losing my disable notifications and disable services setti > ngs when Nagios is restarted > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C339AD.04DDD2FE > Content-Type: text/plain; > charset="iso-8859-1" > > > Hello, > > I am currently using Nagios 1.0. I have discovered that when I restart > Nagios, my "disabled service checks" and "disabled notifications" are not > retained across the restart. I have to disable everything when I restart > Nagios. > > Is there any configuration that I have missed? > > retain_state_information=1 > use_retained_program_state=1 > > John Wilhelm > > > ------_=_NextPart_001_01C339AD.04DDD2FE > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2655.35"> > Help - losing my disable notifications and disable services = > settings when Nagios is restarted > > >
> >

Hello, >

> >

I am currently using Nagios 1.0.  = > I have discovered that when I restart Nagios, my "disabled service = > checks" and "disabled notifications" are not retained = > across the restart.  I have to disable everything when I restart = > Nagios.

> >

Is there any configuration that I have = > missed? >

> >

retain_state_information=3D1 >
use_retained_program_state=3D1 >

> >

John Wilhelm >

> > > > ------_=_NextPart_001_01C339AD.04DDD2FE-- > > > --__--__-- > > Message: 15 > From: Jasmine > To: "Chad Miller" > Subject: Re: [Nagios-users] Mail notification > Date: Tue, 24 Jun 2003 01:37:50 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > You can try setting notification_interval to 60 in your service definition= > =20 > template for "disk utilization" this is provided your interval_length is se= > t=20 > to 60secs in nagios.cfg.=20 > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > How would I configure nagios to send out an email every hour that shows my > > Disk utilization? > > > > Chad M. > > =2D --=20 > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > ze8iMlz0aKd4cwADyckaBpk=3D > =3Dh3sl > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 16 > Subject: RE: [Nagios-users] Mail help > Date: Mon, 23 Jun 2003 12:41:56 -0500 > From: "Marc Powell" > To: "Chad Miller" , > > > You could use OCSP but that's probably overkill. My suggestion would be > to write a small wrapper script for your disk-check command that has the > logic that you want. > > --- > Marc > > > -----Original Message----- > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > Sent: Monday, June 23, 2003 12:24 PM > > To: nagios-users at lists.sourceforge.net > >=20 > > Sorry for the blank entry. > >=20 > > I'm trying to get nagios to email me every time it does a disk check. > > What do I need to do to configure this properly? > >=20 > > Chad M. > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 17 > From: Jasmine > To: "Wilhelm, John" > Subject: Re: [Nagios-users] Help - losing my disable notifications and disable services setti ngs when Nagios is restarted > Date: Tue, 24 Jun 2003 02:02:46 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > That means in your configuration of your services you have disabled them.=20 > Re-check your config files again=20 > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > Nagios, my "disabled service checks" and "disabled notifications" are not > > retained across the restart. I have to disable everything when I restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=3D1 > > use_retained_program_state=3D1 > > > > John Wilhelm > > =2D --=20 > Jasmine Chua > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > KHPMF8hQJp0XQctVNBb1Dek=3D > =3DUIkG > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 18 > From: "Dominik L. Borkowski" > To: nagios-users at lists.sourceforge.net > Date: Mon, 23 Jun 2003 14:13:39 -0400 > Subject: [Nagios-users] nrpe service dependancies > > Hey, > > I've been reading the documentation, experimenting, and still no luck. I was > wondering, is it possible to 'easily' declare service dependancies in this > scenario: > > - I have over 20 linux servers, each one has nrpe installed > - in addition, there are 5+ w2k servers with nrpe > - each of those 20 servers has currently 6 checks done via nrpe. > - the nrpe checks are declared using host groups > > Of course, if nrpe does not respond, each failed service check via nrpe fails > also. So often times, if the server is under a heavy load, or nrpe has > problems, I get 6 notifications for each server. > > Now, is there an easy way to declare dependancies, that would say: > > - if nrpe does not respond on host X, do not perform any checks for the given > host X. Do the same for each host in . - > > Any suggestions would be appreciated. > > PS) I've already tried using * for hosts/and or services in the dependancy > declarations. I ended up with a "dependancy hell", where with 20 hosts and 6 > services I had over 120 dependancies. service Y would be dependant on each > service of every host. Maybe I'm doing something wrong... > > > -- > Dominik L. Borkowski - Systems Administrator > Virginia Bioinformatics Institute - www.vbi.vt.edu > > > > --__--__-- > > Message: 19 > From: Skip Montanaro > Date: Mon, 23 Jun 2003 13:25:34 -0500 > To: nagios-users at lists.sourceforge.net > Reply-To: skip at pobox.com > Subject: [Nagios-users] check_cluster service - what's the correct "host"? > > I implemented a simple DNS cluster check this morning. My services file > defines a variant of my dns-service: > > define service{ > use dns-service > > name dns-cluster-service > service_description DNSC > is_volatile 0 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 120 > check_command check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg > > register 0 > } > > define service{ > use dns-cluster-service > host_name ns > contact_groups skip > notification_period red > } > > and my dnscluster.cfg file identifies the elements of the cluster: > > ns;DNS Service > drjimmy;DNS Service > iris;DNS Service > relay;DNS Service > > This seems to work fine, but it just doesn't seem right that I need to > associate it with a real host. Is there some way to define a virtual host > which really doesn't exist (is never checked for being up) which could be > associated with cluster services? > > Thx, > > -- > Skip Montanaro > skip at pobox.com > Got spam? http://spambayes.sf.net/ > > > --__--__-- > > Message: 20 > From: "Wilhelm, John" > To: "'nagios at nagios.org'" , > "'jasmine.chua at securecirt.com'" > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Help - losing my disable notifications and dis > able services setti ngs when Nagios is restarted > Date: Mon, 23 Jun 2003 14:32:01 -0400 > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C339B5.BCF3069A > Content-Type: text/plain; > charset="iso-8859-1" > > Hello Jasmine, > > Thanks for the response. You are right, I had the > "retain_nonstatus_information" set to 0. If this is not set to 1, when > nagios restarts, all disabled settings are lost. > > Thanks again, > John Wilhelm > > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Monday, June 23, 2003 2:03 PM > To: Wilhelm, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - losing my disable notifications and > disable services setti ngs when Nagios is restarted > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > That means in your configuration of your services you have disabled them. > Re-check your config files again > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > Nagios, my "disabled service checks" and "disabled notifications" are not > > retained across the restart. I have to disable everything when I restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=1 > > use_retained_program_state=1 > > > > John Wilhelm > > - -- > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > KHPMF8hQJp0XQctVNBb1Dek= > =UIkG > -----END PGP SIGNATURE----- > > ------_=_NextPart_001_01C339B5.BCF3069A > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 5.5.2655.35"> > RE: [Nagios-users] Help - losing my disable notifications and = > disable services setti ngs when Nagios is restarted > > > >

Hello Jasmine, >

> >

Thanks for the response.  You are right,  I = > had the "retain_nonstatus_information" set to 0.  If = > this is not set to 1, when nagios restarts, all disabled settings are = > lost.

> >

Thanks again, >
John Wilhelm >

> >

-----Original Message----- >
From: Jasmine [ HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at secureci= > rt.com] >
Sent: Monday, June 23, 2003 2:03 PM >
To: Wilhelm, John >
Cc: nagios-users at lists.sourceforge.net >
Subject: Re: [Nagios-users] Help - losing my disable = > notifications and >
disable services setti ngs when Nagios is = > restarted >

>
> >

-----BEGIN PGP SIGNED MESSAGE----- >
Hash: SHA1 >

> >

Hi >

> >

That means in your configuration of your services you = > have disabled them. >
Re-check your config files again >

> >

On Tuesday 24 June 2003 01:29, Wilhelm, John = > wrote: >
> Hello, >
> >
> I am currently using Nagios 1.0.  I have = > discovered that when I restart >
> Nagios, my "disabled service checks" = > and "disabled notifications" are not >
> retained across the restart.  I have to = > disable everything when I restart >
> Nagios. >
> >
> Is there any configuration that I have = > missed? >
> >
> retain_state_information=3D1 >
> use_retained_program_state=3D1 >
> >
> John Wilhelm >

> >

- -- >
Jasmine Chua >
-----BEGIN PGP SIGNATURE----- >
Version: GnuPG v1.2.2 (GNU/Linux) >

> >

SIZE=3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKr= > W >
KHPMF8hQJp0XQctVNBb1Dek=3D >
=3DUIkG >
-----END PGP SIGNATURE----- >

> > > > ------_=_NextPart_001_01C339B5.BCF3069A-- > > > --__--__-- > > Message: 21 > Date: Mon, 23 Jun 2003 21:02:11 +0200 > From: "Hegedus, Ervin" > To: Karl DeBisschop > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fail error message - more interesting > > Hello, > > here is a new, interesting problem. > > okay, the monitoring of that w2k host was resolved - that host is > an other city, than where i work. that network connects to me > trough VPN. i also monitoring the "other site" VPN router. > > Nagios send me an alert message, VPN router is unreacheable. the > problem was in network, and that stayed up just a few minutes. > > but. > > after this alert, this w2k host - and only this host, other w2k > hosts are goods in Nagios, in that network - is also in alert state. > since 4 hours... > > > i don't understand this. > how can i debug this state? how can i run Nagios with higher log > facility? > has somebody some good think? :) > > > > thank you: > airween > > > --__--__-- > > Message: 22 > From: "Jason Lancaster" > To: "Marc Powell" , > "Chad Miller" , > > Subject: Re: [Nagios-users] Mail help > Date: Mon, 23 Jun 2003 15:05:26 -0400 > > All event handlers and notifications run with the assumption that a state > has changed. It's likely not going to change in your instance, therefore, > I'd write a new check-disk script to email you the output as well as > printing the output. You could also follow Marc's idea by writing a program > that parses ocsp output looking for specific events and notifying you > accordingly. > > -Jason > > ----- Original Message ----- > From: "Marc Powell" > To: "Chad Miller" ; > > Sent: Monday, June 23, 2003 13:41 > Subject: RE: [Nagios-users] Mail help > > > You could use OCSP but that's probably overkill. My suggestion would be > to write a small wrapper script for your disk-check command that has the > logic that you want. > > --- > Marc > > > -----Original Message----- > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > Sent: Monday, June 23, 2003 12:24 PM > > To: nagios-users at lists.sourceforge.net > > > > Sorry for the blank entry. > > > > I'm trying to get nagios to email me every time it does a disk check. > > What do I need to do to configure this properly? > > > > Chad M. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 23 > Subject: RE: [Nagios-users] Mail notification > Date: Mon, 23 Jun 2003 14:23:25 -0500 > From: "Carroll, Jim P [Contractor]" > To: "Jasmine" , > "Chad Miller" > Cc: > > I think that approach would only send a notification if there's a > warning/critical status. I think Chad wants to get a report every > hour, regardless. > > Chad, you could simply try running the command that Nagios runs, > but run it from a crontab every hour and pipe the output to mail. > > jc > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: Monday, June 23, 2003 12:38 PM > > To: Chad Miller > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Mail notification > >=20 > >=20 > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > >=20 > > Hi > >=20 > > You can try setting notification_interval to 60 in your=20 > > service definition=20 > > template for "disk utilization" this is provided your=20 > > interval_length is set=20 > > to 60secs in nagios.cfg.=20 > >=20 > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > How would I configure nagios to send out an email every=20 > > hour that shows my > > > Disk utilization? > > > > > > Chad M. > >=20 > > - --=20 > > Jasmine Chua > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > >=20 > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > ze8iMlz0aKd4cwADyckaBpk=3D > > =3Dh3sl > > -----END PGP SIGNATURE----- > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU=20 > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly=20 > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS=20 > > when reporting any issue.=20 > > ::: Messages without supporting info will risk being sent to /dev/null > >=20 > > > --__--__-- > > Message: 24 > Date: Mon, 23 Jun 2003 15:48:18 -0400 > To: "Carroll, Jim P [Contractor]" , > "Jasmine" , > "Chad Miller" > From: Rob Nelson > Subject: RE: [Nagios-users] Mail notification > Cc: > > > >I think that approach would only send a notification if there's a > >warning/critical status. I think Chad wants to get a report every > >hour, regardless. > > > >Chad, you could simply try running the command that Nagios runs, > >but run it from a crontab every hour and pipe the output to mail. > > If you really want Nagios to do it, so that you can disable it via the web > page, set the "low" threshold to larger than your hard drive, so it will > always be in warn/crit. Defaults to resends every 2 hours. > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > > > --__--__-- > > Message: 25 > Reply-To: > From: "Michael Carpenter" > To: > Date: Mon, 23 Jun 2003 15:27:31 -0500 > Subject: [Nagios-users] NSCA and syslog-ng question > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0009_01C3399B.F6747FD0 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > I am very new at Nagios and have a question regarding the NSCA extra and > using it with syslog-ng. > > I have downloaded and complied the nsca, send-nsca, and the mcrypt > stuff. I have edited the config files. My issue is that my loghost is > also my nagios box. In syslog-ng.conf do I need another source line > other than "source net { udp();};? I also have the nagios.pipe > configured and I can see messages entering the pipe, and sitting there > for a time period.then they clear. > > Also, how do I configure Nagios to use the information coming from the > pipe. > > Thanks in advance. > > Mike > > ------=_NextPart_000_0009_01C3399B.F6747FD0 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Dus-ascii"> > 6.0.4630.0"> > NSCA and syslog-ng question > > > > >

I am = > very new at Nagios and have a question regarding the NSCA extra and = > using it with syslog-ng.

> >

I = > have downloaded and complied the nsca, send-nsca, and the mcrypt = > stuff.  I have edited the config files.  My issue is that my = > loghost is also my nagios box. LANG=3D"en-us">  FACE=3D"Arial"> In syslog-ng.conf do I need another source line other = > than = > LANG=3D"en-us"> FACE=3D"Arial">source net { udp();};?  I also have the nagios.pipe = > configured and I can see messages entering the pipe, and sitting there = > for a time period LANG=3D"en-us"> LANG=3D"en-us"> FACE=3D"Arial">then they clear LANG=3D"en-us"> FACE=3D"Arial">… LANG=3D"en-us">

> >

Also, = > how do I configure Nagios to use the information coming from the = > pipe SIZE=3D2 FACE=3D"Arial">… LANG=3D"en-us">

> >

FACE=3D"Arial">Thanks in advance LANG=3D"en-us"> FACE=3D"Arial">… LANG=3D"en-us">

> >

FACE=3D"Arial">Mike LANG=3D"en-us">

> > > > ------=_NextPart_000_0009_01C3399B.F6747FD0-- > > > > --__--__-- > > Message: 26 > From: "Bill Hults" > To: "manny" , > > Subject: RE: [Nagios-users] Error During Installation > Date: Mon, 23 Jun 2003 17:27:06 -0400 > > Have you applied the various patches to RH9 to bring it up to date & > possibly solve this kind of problem? I've just installed it on RH9 & it went > fine > Bill > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of manny > Sent: Monday, June 23, 2003 12:29 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error During Installation > > > > I am running Red Hat linux 9.x and during the compaling porocess i get the > following error. > > configure:error: no acceptable cc found in $PATH > > Does any one have any clues as how i can work behond this. > > Thanks > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > --__--__-- > > Message: 27 > Date: Mon, 23 Jun 2003 17:44:20 -0400 > To: nagios-users at lists.sourceforge.net > From: Jeyri Bautista > Subject: [Nagios-users] MySQL Database > > Hi, > > Now, I have my nagios information in plain text, but I want record in a > mysql database. My question is: Can I record in a mysql database the > nagios.log information?, because i read that the information that can be > record is status.log, comment.log, downtime.log and extinfo. > > Thanks, > > Jeyri > > > > --__--__-- > > Message: 28 > From: Jasmine > To: "Wilhelm, John" > Subject: Re: [Nagios-users] Help - losing my disable notifications and dis able services setti ngs when Nagios is restarted > Date: Tue, 24 Jun 2003 05:47:22 +0800 > Cc: nagios-users at lists.sourceforge.net > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You are most welcome but hey you are the one who spotted the mistake, not m= > e!=20 > I only point you to the right direction that's all! Nagios is just=20 > wonderful.. > > Cheers! > > Jasmine=20 > > > On Tuesday 24 June 2003 02:32, you wrote: > > Hello Jasmine, > > > > Thanks for the response. You are right, I had the > > "retain_nonstatus_information" set to 0. If this is not set to 1, when > > nagios restarts, all disabled settings are lost. > > > > Thanks again, > > John Wilhelm > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: Monday, June 23, 2003 2:03 PM > > To: Wilhelm, John > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > > disable services setti ngs when Nagios is restarted > > > > > > Hi > > > > That means in your configuration of your services you have disabled them. > > Re-check your config files again > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > Hello, > > > > > > I am currently using Nagios 1.0. I have discovered that when I restart > > > Nagios, my "disabled service checks" and "disabled notifications" are n= > ot > > > retained across the restart. I have to disable everything when I resta= > rt > > > Nagios. > > > > > > Is there any configuration that I have missed? > > > > > > retain_state_information=3D1 > > > use_retained_program_state=3D1 > > > > > > John Wilhelm > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu > gdJzpdx+Ww/rTtYK6aNQHBo=3D > =3DUssf > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 29 > From: Jasmine > To: Gilberto Nunes Ferreira > Date: Tue, 24 Jun 2003 07:51:46 +0800 > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key verification failed. > > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi=20 > > It means it is really a SSH problem. Your box cannot access the other by SS= > H.=20 > You have to make sure you have the right host keys generated. Perhaps you c= > an=20 > check your known_hosts in your .ssh directory to make sure the key for that= > =20 > particular host is there.=20 > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > Hi evervbody > > > > I have two host. > > One of then I wan't to verify by check_by_ssh, plugins. > > So, I make this in the checkcommands.cfg file: > > > > ..... > > ... > > .. > > define command{ > > command_name ssh_check_disk > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > } > > = > =20 > > Wen I restart the nagios > > services, appear a mesagem that say: > > > > > > > > Host key verification failed. > > > > > > What the means of this mesage? > > I forgot something?!?!?! > > > > Please,help! > > Thanks. > > =2D --=20 > Jasmine Chua > Security Engineer > > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > T8ddWrGJipPo0jXTPzfpO0M=3D > =3DgeFj > =2D----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 30 > From: Frank Gadot > To: Nagios-Users > Organization: EPS > Date: 23 Jun 2003 20:11:03 -0400 > Subject: [Nagios-users] Notification problems > > Hi all, > > I have been looking for weeks now about this problem: At the very > begining, when a computer would be down, I would receive EMAIL + PAGER. > Now, it is or PAGER or EMAIL. I have no clue what I changed. > > Here is an example for one computer: > > > hosts.cfg > #TEST > define host { > use generic-host > host_name TEST > alias TEST SERVER > address 192.168.1.41 > check_command check-host-alive > max_check_attempts 3 > notification_interval 5 > notification_period 24x7 > notification_options d,u,r > } > > > > > hostgroups.cfg > define hostgroup{ > hostgroup_name PRODUCTION > alias High priority servers > contact_groups ADMIN-PAGER > members TEST > } > > > > services.cfg > define service{ > use generic-service > host_name TEST > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups ADMIN-EMAIL > notification_interval 5 > notification_period 24x7 > notification_options u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > > > contacts.cfg > everything about me > > > > contactgroups.cfg > define contactgroup{ > contactgroup_name ADMIN-PAGER > alias ADMIN for pagers > members frank > } > > > So: The contact group for the host is ADMIN-PAGER , but the service > define ADMIN-EMAIL. Is there a way to receive both of them ? > > Thank you. > > > > --__--__-- > > Message: 31 > To: nagios-users at lists.sourceforge.net > From: sobrien at ci.bend.or.us > Date: Mon, 23 Jun 2003 17:12:07 -0700 > Subject: [Nagios-users] Looking for a way to connect to host via Status map > > This is an S/MIME signed message. > > ---------z13701_boundary_sign > Content-Type: multipart/alternative; boundary="=_alternative 0000FF7488256D4F_=" > > This is a multipart message in MIME format. > --=_alternative 0000FF7488256D4F_= > Content-Type: text/plain; charset="US-ASCII" > > Has anyone figured out how to click on a host in your status map and > connect via ssh, telnet, walkie-talkie, etc... > > Steve O'Brien > City of Bend > Network Administrator > sobrien at ci.bend.or.us > 541-322-6393 > > --=_alternative 0000FF7488256D4F_= > Content-Type: text/html; charset="US-ASCII" > > >
Has anyone figured out how to click > on a host in your status map and connect via ssh, telnet, walkie-talkie, > etc... >

> Steve O'Brien
> City of Bend
> Network Administrator
> sobrien at ci.bend.or.us
> 541-322-6393
>
> --=_alternative 0000FF7488256D4F_=-- > > ---------z13701_boundary_sign > Content-Type: application/x-pkcs7-signature; name="smime.p7s" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; filename="smime.p7s" > Content-Description: S/MIME Cryptographic Signature > > MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCBEEw > ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9w0B > CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTBk9y > ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJVDEV > MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowgZQx > KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMx > DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQsw > CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB > iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYunDnv > eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3Y8O > QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYD > VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWAdkJ > MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlbmQs > Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZp > Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY2F0 > ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwRqBE > oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyMG9m > JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpSuDj > gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qUYSL > j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk9xK > BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUMSow > KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8w > DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkG > A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2MDUx > ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJ > BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkg > b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9w0B > AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHubJj > BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAyd+N > 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUAgQG > HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3LjihevBu > iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5JTIw > b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNl > cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9dXM/ > Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1dGlv > blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xs > L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA4GB > ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq52I8 > iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8YhF > YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCB > lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJV > UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQx > CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQw > NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYD > VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9m > IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEB > BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4v > rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU > 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAw > EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNV > HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhth > ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24x > DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNV > BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJ > oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxD > Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERD > PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29i > amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIu > Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxl > Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVu > ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0 > eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vydmlj > ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNh > dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpo > dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNp > LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9w > ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9y > LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBB > FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl > +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2N > MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3DQEJ > ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3Jl > Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUMRUw > EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBjjEk > MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UE > CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsT > AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL4d > Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGfwka > SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4XqG > 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIKwYB > BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4EDcu > OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNp > LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQx > FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVu > ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovLy9D > Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl > MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9 > b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERp > c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9D > ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuYWdl > Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrBgEF > BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZCxD > Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJh > dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3Rj > bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hbmFn > ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ2l0 > eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpLmJl > bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZiUy > MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrvW/D > k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/xm2 > t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwgaMw > gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMC > VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5k > MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOAwIa > BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0MDAx > MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPMTYw > NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwDQYJ > KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIElpEC > Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/ytp > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA= > > ---------z13701_boundary_sign-- > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 c.eduardo at estacio.br Tue Jun 24 15:30:09 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 24 Jun 2003 10:30:09 -0300 Subject: Nagios-users digest, Vol 1 #1533 - 1 msg References: Message-ID: <036301c33a54$c61ed880$31150a0a@estacio.domain> I want to understand this message as it is ok. Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: To: Sent: Tuesday, June 24, 2003 10:12 AM Subject: Nagios-users digest, Vol 1 #1533 - 1 msg > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Re: Nagios-users digest, Vol 1 #1531 - 33 msgs (Marc Powell) > > --__--__-- > > Message: 1 > Subject: Re: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs > Date: Tue, 24 Jun 2003 08:11:42 -0500 > From: "Marc Powell" > To: , > > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C33A52.27D793D0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > You can either -- > > - Fix the problem with the host > - acknowledge the problem from the web interface > - increase the plugin timeout > - adjust your notification interval for this host/service > - disable critical notifications for this host/service > > Or > - disable notifications for this host/service entirely in your config > > It just depends on what you're really trying to accomplish. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Eddy > To: nagios-users at lists.sourceforge.net = > > Sent: Tue Jun 24 07:57:44 2003 > Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs > > Socket timeout after 10 seconds > I have this messagem any can help me??? > My hosts has a real problem, but i don't wana receive this message > Sorry my bad english but i 'm brazilian man :) > > > Sem mais, > > Carlos Eduardo Dionizio > Analista de Suporte - UNIX > Universidade Est=E1cio de S=E1 > Diretoria de Tecnologia da Informa=E7=E3o > > > > > ----- Original Message -----=20 > From: > To: > Sent: Tuesday, June 24, 2003 12:23 AM > Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs > > > > Send Nagios-users mailing list submissions to > > nagios-users at lists.sourceforge.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > or, via email, send a message with subject or body 'help' to > > nagios-users-request at lists.sourceforge.net > > > > You can reach the person managing the list at > > nagios-users-admin at lists.sourceforge.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Nagios-users digest..." > > > > > > Today's Topics: > > > > 1. RE: Autentication Fail !!!! (Billy) > > 2. Re: __Unofficial__ patch for embedded Perl Interpeter support in > Nagios 1.1 (fixes SEGV on start-up with thread (Ethan Galstad) > > 3. Host detail showing all hosts up (greg) > > 4. Re: Compile Error with MySQL Support (Karl Latiss) > > 5. ping does not recover (Marko Riedel) > > 6. Re: Fail error message (Karl DeBisschop) > > 7. Return code of 139 out of bound and other errors (Fallsen, = > Tommy) > > 8. RE: nagiosbounce.sh (Martin, Jeremy) > > 9. passive host checks. (Jasmine) > > 10. Re: passive host checks. (Jason Lancaster) > > 11. Error During Installation (manny) > > 12. Mail notification (Chad Miller) > > 13. Mail help (Chad Miller) > > 14. Help - losing my disable notifications and disable services = > setti > > ngs when Nagios is restarted (Wilhelm, John) > > 15. Re: Mail notification (Jasmine) > > 16. RE: Mail help (Marc Powell) > > 17. Re: Help - losing my disable notifications and disable services > setti ngs when Nagios is restarted (Jasmine) > > 18. nrpe service dependancies (Dominik L. Borkowski) > > 19. check_cluster service - what's the correct "host"? (Skip = > Montanaro) > > 20. RE: Help - losing my disable notifications and dis > > able services setti ngs when Nagios is restarted (Wilhelm, = > John) > > 21. Fail error message - more interesting (Hegedus, Ervin) > > 22. Re: Mail help (Jason Lancaster) > > 23. RE: Mail notification (Carroll, Jim P [Contractor]) > > 24. RE: Mail notification (Rob Nelson) > > 25. NSCA and syslog-ng question (Michael Carpenter) > > 26. RE: Error During Installation (Bill Hults) > > 27. MySQL Database (Jeyri Bautista) > > 28. Re: Help - losing my disable notifications and dis able services > setti ngs when Nagios is restarted (Jasmine) > > 29. Re: [Nagiosplug-help] Host key verification failed. (Jasmine) > > 30. Notification problems (Frank Gadot) > > 31. Looking for a way to connect to host via Status map > (sobrien at ci.bend.or.us) > > > > -- __--__-- > > > > Message: 1 > > From: "Billy" > > To: > > Subject: RE: [Nagios-users] Autentication Fail !!!! > > Date: Mon, 23 Jun 2003 14:19:36 +1000 > > > > This is a multi-part message in MIME format. > > > > ------=3D_NextPart_000_1228_01C33992.796BC420 > > Content-Type: text/plain; > > charset=3D"us-ascii" > > Content-Transfer-Encoding: quoted-printable > > > > Logins are controlled by the web server, not nagios. If it's apache, = > =3D > > check > > your .htaccess file in your web dir, otherwise check the auth docs for = > =3D > > your > > flavour of web server > > > > =3D20 > > > > _____ =3D20 > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Syed = > =3D > > Zulhilmi > > Tuan Sharif > > Sent: Monday, 23 June 2003 12:13 PM > > To: nagios-users at lists.sourceforge.net > > > > =3D20 > > > > -I dont know what has happened to my Nagios. Suddenly i cannot login > > because it said that my login and password is npt valid.=3D20 > > > > Arghhhh dont know why this happen. Help me anyone > > > > =3D20 > > > > > > ------=3D_NextPart_000_1228_01C33992.796BC420 > > Content-Type: text/html; > > charset=3D"us-ascii" > > Content-Transfer-Encoding: quoted-printable > > > > > xmlns:o=3D3D"urn:schemas-microsoft-com:office:office" =3D > > xmlns:w=3D3D"urn:schemas-microsoft-com:office:word" =3D > > xmlns:st1=3D3D"urn:schemas-microsoft-com:office:smarttags" =3D > > xmlns=3D3D"http://www.w3.org/TR/REC-html40"> > > > > > > > charset=3D3Dus-ascii"> > > > > > > medium)"> > > > namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags" =3D > > name=3D3D"time"/> > > > > > > > > > > > > > > > >
> > > >

face=3D3DArial> > style=3D3D'font-size: > > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by the web = > =3D > > server, > > not nagios. If it’s apache, check your .htaccess file in your = > web =3D > > dir, > > otherwise check the auth docs for your flavour of web =3D > > server

> > > >

face=3D3DArial> > style=3D3D'font-size: > > = > 10.0pt;font-family:Arial;color:navy'> 

> > > >
> > > >
> style=3D3D'margin-left:36.0pt;text-align:center'> > size=3D3D3 face=3D3D"Times New Roman"> > style=3D3D'font-size:12.0pt'> > > > >
> > > >
> > > >

size=3D3D2 =3D > > face=3D3DTahoma> > lang=3D3DEN-US =3D > > = > style=3D3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From: pa=3D > > n> > size=3D3D2 face=3D3DTahoma> > style=3D3D'font-size:10.0pt;font-family:Tahoma'> > > nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] > style=3D3D'font-weight: > > bold'>On Behalf Of Syed Zulhilmi Tuan Sharif
> > Sent: Monday, 23 June = > =3D > > 2003 > Minute=3D3D"13" Hour=3D3D"12" w:st=3D3D"on"> 12:13 PM
> > To: > > nagios-users at lists.sourceforge.net
> lang=3D3DEN-US>

> > > >
> > > >

> face=3D3D"Times New Roman"> > style=3D3D'font-size:12.0pt'> 

> > > >
> > > >

=3D > > color=3D3Dblack > > face=3D3DArial> > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>-I dont > > know what has happened to my Nagios.  Suddenly i cannot login =3D > > because it > > said that my login and password is npt valid. > color=3D3Dblack > > face=3D3DArial> > = > style=3D3D'font-family:Arial;color:black'>

> > > >
> > > >
> > > >

=3D > > color=3D3Dblack > > face=3D3DArial> > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh > > dont know why this happen.  Help me anyone > color=3D3Dblack > > face=3D3DArial> > = > style=3D3D'font-family:Arial;color:black'>

> > > >
> > > >
> > > >

=3D > > color=3D3Dblack > > face=3D3DArial> > = > style=3D3D'font-size:12.0pt;font-family:Arial;color:black'>  :p=3D > > >

> > > >
> > > >
> > > > > > > > > > > > ------=3D_NextPart_000_1228_01C33992.796BC420-- > > > > > > > > -- __--__-- > > > > Message: 2 > > From: "Ethan Galstad" > > To: nagios-users at lists.sourceforge.net > > Date: Mon, 23 Jun 2003 00:24:16 -0500 > > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded Perl > Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread > > > > Thanks for the patches! I've applied these to CVS (both 1.x and HEAD > > branches). > > > > > > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote: > > > > > Dear Ladies and Gentlemen, > > > > > > The Nagios kibutzers take great pleasure in announcing an = > _unofficial_ > > > patch for embedded Perl support in Nagios 1.1. > > > > > > The patch, while not extensively tested, _should_ fix the SEGV on > > > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > > > with an embedded Perl interpreter (for greater efficiency in = > executing > > > Perl plugins). > > > > > > Details below. > > > > > > Status > > > > > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on > > > start-up of Nagios built with an embedded Perl interpreter. > > > > > > The SEGV occurs right at start-up and is associated with > > > libperl.so (it may occur at the first printf in the main program). = > It > > > only occurs with threaded Perls that are typically shipped with = > systems > > > having good pthread OS support. > > > > > > Affected systems include > > > > > > RH 8 and 9 > > > Mandrake 9 ( 2.4.19-16mdk ) > > > Suse 8 > > > Debian ? > > > > > > Unaffected systems include > > > > > > FreeBSD RELENG_4 (v4 Release and Stable branches) > > > > > > If you have a Linux or Solaris system with a Perl greater than 5.6.1 = > and > > > you want an embedded Perl Nag, you need this patch. > > > > > > Credits > > > > > > Ethan Galstad > > > Reuben Farrelly > > > > > > I believe the patch was originally the work of Mr Reuben > > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem = > fixed). > > > > > > Feedback > > > > > > S Hopcroft > > > > > > Flames > > > S Hopcroft > > > > > > Testing > > > compiled and run on Mandrake 9/Perl 5.8.0 > > > compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] > > > compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] > > > > > > Notes > > > > > > Should apply to Nag 1.0 but unchecked. > > > > > > Patch > > > attached. > > > > > > Yours sincerely. > > > > > > > > > > > > --=20 > > > = > ------------------------------------------------------------------------ > > > 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. > > > > > > > > > > > Ethan Galstad, > > Nagios Developer > > --- > > Email: nagios at nagios.org > > Website: http://www.nagios.org > > > > > > > > -- __--__-- > > > > Message: 3 > > Date: Mon, 23 Jun 2003 11:48:48 +0200 > > From: greg > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Host detail showing all hosts up > > > > This is a multi-part message in MIME format. > > --------------000504060808050902050806 > > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > Content-Transfer-Encoding: 7bit > > > > > > Hi, > > > > I have about 200 hosts on a local network. > > Service detail shows things correctly, but host detail shows hosts up > > while most of them are down. > > I have set up only ping service for each host. > > I suppose the solution is simple, but I'm not able to pinpoint the > problem. > > Thanks > > Greg > > > > > > > > > > --------------000504060808050902050806 > > Content-Type: text/plain; > > name=3D"myconfig.txt" > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline; > > filename=3D"myconfig.txt" > > > > > > log_file=3D/usr/local/nagios/var/nagios.log > > cfg_file=3D/usr/local/nagios/etc/checkcommands.cfg > > cfg_file=3D/usr/local/nagios/etc/misccommands.cfg > > cfg_file=3D/usr/local/nagios/etc/contactgroups.cfg > > cfg_file=3D/usr/local/nagios/etc/contacts.cfg > > cfg_file=3D/usr/local/nagios/etc/dependencies.cfg > > cfg_file=3D/usr/local/nagios/etc/escalations.cfg > > cfg_file=3D/usr/local/nagios/etc/hostgroups.cfg > > cfg_file=3D/usr/local/nagios/etc/hosts.cfg > > cfg_file=3D/usr/local/nagios/etc/services.cfg > > cfg_file=3D/usr/local/nagios/etc/timeperiods.cfg > > resource_file=3D/usr/local/nagios/etc/resource.cfg > > status_file=3D/usr/local/nagios/var/status.log > > nagios_user=3Dnagios > > nagios_group=3Dnagios > > check_external_commands=3D1 > > command_check_interval=3D1 > > command_file=3D/usr/local/nagios/var/rw/nagios.cmd > > comment_file=3D/usr/local/nagios/var/comment.log > > downtime_file=3D/usr/local/nagios/var/downtime.log > > lock_file=3D/usr/local/nagios/var/nagios.lock > > temp_file=3D/usr/local/nagios/var/nagios.tmp > > log_rotation_method=3Dd > > log_archive_path=3D/usr/local/nagios/var/archives > > use_syslog=3D1 > > log_notifications=3D1 > > log_service_retries=3D0 > > log_host_retries=3D0 > > log_event_handlers=3D1 > > log_initial_states=3D0 > > log_external_commands=3D1 > > log_passive_service_checks=3D1 > > #global_host_event_handler=3Dsomecommand > > #global_service_event_handler=3Dsomecommand > > inter_check_delay_method=3Dn > > service_interleave_factor=3Ds > > max_concurrent_checks=3D10 > > service_reaper_frequency=3D1 > > sleep_time=3D1 > > service_check_timeout=3D60 > > host_check_timeout=3D30 > > event_handler_timeout=3D30 > > notification_timeout=3D30 > > ocsp_timeout=3D5 > > perfdata_timeout=3D5 > > retain_state_information=3D0 > > state_retention_file=3D/usr/local/nagios/var/status.sav > > retention_update_interval=3D60 > > use_retained_program_state=3D0 > > interval_length=3D60 > > use_agressive_host_checking=3D0 > > execute_service_checks=3D1 > > accept_passive_service_checks=3D0 > > enable_notifications=3D1 > > enable_event_handlers=3D1 > > process_performance_data=3D0 > > #host_perfdata_command=3Dprocess-host-perfdata > > #service_perfdata_command=3Dprocess-service-perfdata > > obsess_over_services=3D0 > > #ocsp_command=3Dsomecommand > > check_for_orphaned_services=3D1 > > check_service_freshness=3D1 > > freshness_check_interval=3D600 > > aggregate_status_updates=3D1 > > status_update_interval=3D15 > > enable_flap_detection=3D0 > > low_service_flap_threshold=3D5.0 > > high_service_flap_threshold=3D20.0 > > low_host_flap_threshold=3D5.0 > > high_host_flap_threshold=3D20.0 > > date_format=3Dus > > illegal_object_name_chars=3D`~!$%^&*|'"<>?,()=3D > > illegal_macro_output_chars=3D`~$&|'"<> > > admin_email=3Dnagios > > admin_pager=3Dpagenagios > > > > > > > > define host{ > > name generic-host ; The name of this host template - referenced in = > other > host definitions, used for template recursion/resolution > > notifications_enabled 0 ; Host notifications are enabled > > event_handler_enabled 1 ; Host event handler is enabled > > flap_detection_enabled 1 ; Flap detection is enabled > > process_perf_data 1 ; Process performance data > > retain_status_information 0 ; Retain status information across program > restarts > > retain_nonstatus_information 0 ; Retain non-status information across > program restarts > > > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options n ;d,u,r > > > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST = > A > TEMPLATE! > > } > > > > define host{ > > use generic-host > > host_name host-192.168.6.32 > > alias host-192.168.6.32 > > address 192.168.6.32 > > } > > > > define host{ > > use generic-host > > host_name host-192.168.8.22 > > alias host-192.168.8.22 > > address 192.168.8.22 > > } > > > > ... > > > > # Generic service definition template > > define service{ > > name generic-service ; The 'name' of this service template, referenced = > in > other service definitions > > active_checks_enabled 1 ; Active service checks are enabled > > passive_checks_enabled 0 ; 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' > > notifications_enabled 0 ; 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 0 ; Retain status information across program > restarts > > retain_nonstatus_information 0 ; Retain non-status information across > program restarts > > > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups k3-admins > > notification_interval 15 > > notification_period 24x7 > > notification_options n ;c,r > > check_command check_ping!100.0,20%!500.0,60% > > > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, = > JUST > A TEMPLATE! > > } > > > > define service{ > > use generic-service > > host_name host-192.168.6.32 > > } > > > > define service{ > > use generic-service > > host_name host-192.168.8.22 > > } > > > > ... > > > > > > --------------000504060808050902050806-- > > > > > > > > > > -- __--__-- > > > > Message: 4 > > Subject: Re: [Nagios-users] Compile Error with MySQL Support > > From: Karl Latiss > > To: allan > > Cc: Nagios-users at lists.sourceforge.net > > Organization: design IT > > Date: 23 Jun 2003 19:55:03 +1000 > > > > On Sat, 2003-06-21 at 23:55, allan wrote: > > > I am attempting to compile Nagios with complete mySQL support. The > swithces I am using are ... > > > > > > > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments = > --w > ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime = > --with-mysql- > inc=3D/usr/include/mysql --with-mysql-lib=3D/usr/lib/mysql > > > > > If you specify > > > > --with-mysql-xdata > > > > you don't need all the other --with-mysql stuff > > > > EXCEPT > > > > --with-mysql-lib=3D/usr/lib/mysql = > --with-mysql-inc=3D/usr/include/mysql > > > > This worked fine for me on RH7.3 and Nagios 1.0 > > > > Karl. > > > > > I have installed the following mySQL Packages.. > > > > > > mysql-3.23.54a-11 > > > mysql-devel-3.23.54a-11 > > > mysql-server-3.23.54a-11 > > > > > > though, when I try to compile - I get the following error.. > > > > > > *** MySQL library could not be located...***************** > > > > > > You chose to compile Nagios with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > > > installed, use the --with-mysql-lib and --with-mysql-inc arguments = > to > specify the locations of the MySQL library and include files. > > > > > > > > > I have the following mysqlclient files in ghe /usr/lib/mysql = > directory - > > > > > > /usr/lib/mysql/libmysqlclient.a > /usr/lib/mysql/libmysqlclient.so.10.0.0 > /usr/lib/mysql/libmysqlclient_r.so.10 > > > /usr/lib/mysql/libmysqlclient.so = > /usr/lib/mysql/libmysqlclient_r.a > /usr/lib/mysql/libmysqlclient_r.so.10.0.0 > > > /usr/lib/mysql/libmysqlclient.so.10 = > /usr/lib/mysql/libmysqlclient_r.so > > > > > > > > > Any ideas on how to get this to compile - would be appreciated. > > > > > > Thanks, > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission! > > > INetU Dedicated Managed Hosting = > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > ::: Messages without supporting info will risk being sent to = > /dev/null > > --=20 > > Karl Latiss > > design IT > > > > > > > > -- __--__-- > > > > Message: 5 > > From: Marko Riedel > > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST) > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] ping does not recover > > > > > > Hi folks, > > > > we have some machines that reboot during the night. Our PING service > > goes critical during that time, as indeed it should. > > > > There is a problem with recovery however. Sometimes the service does > > not recover until I manually schedule a check with the web interface. > > > > Here are my definitions: > > > > # Generic service definition template > > define service{ > > name generic-service > > active_checks_enabled 1 > > passive_checks_enabled 1 > > parallelize_check 1 > > obsess_over_service 1 > > check_freshness 0 > > notifications_enabled 0 > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > > > register 0 > > } > > > > define service{ > > use generic-service > > name ping-service > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r > > check_command check_ping!100.0,20%!500.0,60% > > register 0 > > } > > > > > > define service{ > > use ping-service > > host_name host > > > > } > > > > > > I'd appreciate any feedback you may have. > > > > Best regards, > > > > --=20 > > +------------------------------------------------------------+ > > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | > > | http://www.geocities.com/markoriedelde/index.html | > > +------------------------------------------------------------+ > > > > > > -- __--__-- > > > > Message: 6 > > Subject: Re: [Nagios-users] Fail error message > > From: Karl DeBisschop > > To: "Hegedus, Ervin" > > Cc: nagios-users at lists.sourceforge.net > > Date: 23 Jun 2003 07:46:36 -0400 > > > > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote: > > > Hello, > > > > > > dear Karl, > > > first: thank you for your reply. > > > > > > > Maybe the check_host is misconfigured? In that case, the service > checks > > > > would not be performed until the host came back up. Which it would = > not > > > > be able to do until check_host_alive reports success. > > > what do you mean 'check_host is misconfigured'? > > > > I mean that check_host_alive does not work for this host. Which you = > did > > not mention in the email I was responding to, but you have now > > confirmed. > > > > > look at this: > > > monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > # check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > check_command check-host-alive > > > > > > as you can see, there is many other host where we use > > > check-host-alive command - there are works fine. > > > the commented line is the w2k host, what gives back false alert. > > > > > > here is the relevant part of checkcommands.cfg: > > > > > > # 'check-host-alive' command definition > > > define command{ > > > command_name check-host-alive > > > command_line $USER1$/check_ping -H > > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > > > } > > > > > > i use _only_ this command, i didn't redefined this command > > > anywhere... > > > > > > in my previous mail i attached a sample, where i tested the > > > command_line line - that works with this host also. > > > > I don't see any problems with your command definition. I would examine > > the host definition very carefully to if there are any typos there = > that > > might affect how the host address is passed to the host-check command. > > > > Once you fix the host check and uncomeent it, the problem you = > described > > (service not being tested) will go away. > > > > -- > > Karl > > > > > > > > -- __--__-- > > > > Message: 7 > > Date: Mon, 23 Jun 2003 14:24:01 +0200 > > From: "Fallsen, Tommy" > > To: > > Subject: [Nagios-users] Return code of 139 out of bound and other = > errors > > > > This is a multi-part message in MIME format. > > > > ------_=3D_NextPart_001_01C33982.53FAE42C > > Content-Type: text/plain; charset=3D"us-ascii" > > Content-Transfer-Encoding: quoted-printable > > > > Hi > > I get these error sometimes: cannot map tcp for protocol setting, = > Return > > code of 139 out of bound and state UNKNOWN on some services. > > The checks works just fine at first and this just suddenly happends. = > Any > > settings that need adjusting?=3D20 > > I must restart nagios to get the checks working again. > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Tommy Fallsen System Administrator=3D20 > > Kongsberg Defence & Aerospace > > Email: tommyf at kongsberg.com > > TEL: +47 32287783 > > WEB: http://www.kongsberg.com/eng/kog/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > "UNIX is an operating system, OS/2 is half an operating system,=3D20 > > Windows is a shell, and DOS is a boot partition virus."=3D20 > > - Peter H. Coffin .=3D20 > > > > > > =3D20 > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > > > This footnote also confirms that this email message has been swept by > > MAILsweeper for the presence of computer viruses. > > > > Best regards, > > Kongsberg Gruppen > > ********************************************************************** > > > > > > ------_=3D_NextPart_001_01C33982.53FAE42C > > Content-Type: text/html; charset=3D"us-ascii" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > charset=3D3Dus-ascii"> > > 6.0.6249.1"> > > Return code of 139 out of bound and other errors > > > > > > > > > >

Hi > > > >
I get these error sometimes: = > cannot map > t=3D > > cp for protocol setting, Return code of 139 out of bound and state = > UNKNOWN > =3D > > on some services.

> > > >

The checks works just fine at = > first and > th=3D > > is just suddenly happends. Any settings that need adjusting? > > > >
I must restart nagios to get the = > checks > w=3D > > orking again. > >

> >
> >
> > > >

FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D > > ~~~~~~~~~~~~~~~ > > > >
Tommy Fallsen   System > Administ=3D > > rator > > > >
Kongsberg Defence & = > Aerospace > > > >
        >     &nbs=3D > > p;           SIZE=3D3D2 > FA=3D > > CE=3D3D"Arial">Email: tommyf at kongsberg.com > > > >
        >     &nbs=3D > > p;           SIZE=3D3D2 > FA=3D > > CE=3D3D"Arial">TEL: +47 32287783 > > > >
        >     &nbs=3D > > p;           SIZE=3D3D2 > FA=3D > > CE=3D3D"Arial">WEB: HREF=3D3D"http://www.kongsberg.com/eng/kog/"><=3D > > FONT COLOR=3D3D"#0000FF" SIZE=3D3D2 > FACE=3D3D"Arial">http://www.kongsberg.com/eng=3D > > /kog/ > > > >
FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D > > ~~~~~~~~~~~~~~~ > > > >
"UNIX is an operating = > system, OS/2 > =3D > > is half an operating system, > > > >
Windows is a shell, and DOS is a = > boot > pa=3D > > rtition virus." > > > >
— Peter H. Coffin > .<=3D > > FONT FACE=3D3D"Times New Roman"> > >

> >
> > > >

  > >

> > > >
> >
> > = > ********************************************************************** > > > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom = > they
> > are addressed. If you have received this email in error please = > notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept = > by
> > MAILsweeper for the presence of computer viruses.
> >
> > Best regards,
> > Kongsberg Gruppen
> > = > ********************************************************************** > > >
> > > > > > ------_=3D_NextPart_001_01C33982.53FAE42C-- > > > > > > -- __--__-- > > > > Message: 8 > > Subject: RE: [Nagios-users] nagiosbounce.sh > > Date: Mon, 23 Jun 2003 08:19:01 -0500 > > From: "Martin, Jeremy" > > To: > > > > > > > Hi Jeremy, > > >=3D20 > > > Technically I don't see any problems with this, but it does=3D20 > > > beg the question - why do you need to do this? > > >=3D20 > > > Linux is not the environment to practise the ctrl-alt-del school = > of=3D20 > > > networking. :-) > > > > Hehe. I've just been noticing that about once a week there are extra = > =3D > > Nagios processes still running after I stop Nagios. I could probably = > =3D > > just run the script once a week, or just manually when I make config = > =3D > > changes and restart it, but I just hate getting multiple "Host UP" = > pages =3D > > in the middle of the night due to rogue Nagios processes :-) > > > > Jeremy > > > > > > -- __--__-- > > > > Message: 9 > > From: Jasmine > > To: nagios-users at lists.sourceforge.net > > Date: Mon, 23 Jun 2003 21:40:55 +0800 > > Subject: [Nagios-users] passive host checks. > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > Hi I understand that passive host checks comes only in the next = > release > of=3D > > =3D20 > > Nagios, which I am really looking forward to!=3D20 > > I am just wondering if anyone has a temporarily solution to overcome = > this > a=3D > > t=3D20 > > the moment? I want the central host to be able to alert that remote = > hosts > a=3D > > re=3D20 > > down and not assumed them to be up. Any suggestions what I can do? Or > is=3D20 > > there a plugin available already just that I am not aware of? > > > > > > > > Thanks lots! > > > > Jasmine Chua > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > > SNZ5xWITl2aBeeMyfn0T8iM=3D3D > > =3D3DPtEn > > =3D2D----END PGP SIGNATURE----- > > > > > > > > -- __--__-- > > > > Message: 10 > > From: "Jason Lancaster" > > To: "Jasmine" , > > > > Subject: Re: [Nagios-users] passive host checks. > > Date: Mon, 23 Jun 2003 12:09:57 -0400 > > > > While this would be really, really nice (the whole idea of my = > distributed > > environment is to have servers behind firewalls sending statistics to = > the > > central server) it is hard to develop a work-around because Nagios = > cannot > > process any type of host-check through the external commands file. The > only > > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. Perhaps > someone > > can hack this or figure out a way to disguise a host-check as a > > service-check... > > > > I'd like to see this too, though! > > > > -Jason > > ----- Original Message -----=20 > > From: "Jasmine" > > To: > > Sent: Monday, June 23, 2003 9:40 > > Subject: [Nagios-users] passive host checks. > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > Hi I understand that passive host checks comes only in the next = > release of > > Nagios, which I am really looking forward to! > > I am just wondering if anyone has a temporarily solution to overcome = > this > at > > the moment? I want the central host to be able to alert that remote = > hosts > > are > > down and not assumed them to be up. Any suggestions what I can do? Or = > is > > there a plugin available already just that I am not aware of? > > > > > > > > Thanks lots! > > > > Jasmine Chua > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > > SNZ5xWITl2aBeeMyfn0T8iM=3D > > =3DPtEn > > -----END PGP SIGNATURE----- > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 11 > > Date: 23 Jun 2003 16:28:35 -0000 > > To: Nagios-users at lists.sourceforge.net > > From: manny > > Organization: squareBOX technologies discussion forums > > Subject: [Nagios-users] Error During Installation > > > > > > I am running Red Hat linux 9.x and during the compaling porocess i get = > the > following error. > > > > configure:error: no acceptable cc found in $PATH > > > > Does any one have any clues as how i can work behond this. > > > > Thanks > > > > > > -- __--__-- > > > > Message: 12 > > Date: Mon, 23 Jun 2003 12:09:06 -0500 > > From: "Chad Miller" > > To: > > Subject: [Nagios-users] Mail notification > > > > This is a multi-part message in MIME format. > > > > ------_=3D_NextPart_001_01C339AA.27A10656 > > Content-Type: text/plain; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > How would I configure nagios to send out an email every hour that = > shows =3D > > my Disk utilization? > > =3D20 > > Chad M. > > > > ------_=3D_NextPart_001_01C339AA.27A10656 > > Content-Type: text/html; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > Message > > > http-equiv=3D3DContent-Type> > > > > > >
class=3D3D732510717-23062003>How =3D > > would I=3D20 > > configure nagios to send out an email every hour that shows my = > Disk=3D20 > > utilization?
> >
> class=3D3D732510717-23062003> 
> >
class=3D3D732510717-23062003>Chad=3D20 > > M.
> > =3D00 > > ------_=3D_NextPart_001_01C339AA.27A10656-- > > > > > > -- __--__-- > > > > Message: 13 > > Date: Mon, 23 Jun 2003 12:23:35 -0500 > > From: "Chad Miller" > > To: > > Subject: [Nagios-users] Mail help > > > > Sorry for the blank entry. > > > > I'm trying to get nagios to email me every time it does a disk check. = > =3D > > What do I need to do to configure this properly? > > > > Chad M. > > > > > > -- __--__-- > > > > Message: 14 > > From: "Wilhelm, John" > > To: "'nagios-users at lists.sourceforge.net'" > > > > Cc: "'nagios at nagios.org'" > > Date: Mon, 23 Jun 2003 13:29:37 -0400 > > Subject: [Nagios-users] Help - losing my disable notifications and = > disable > services setti > > ngs when Nagios is restarted > > > > This message is in MIME format. Since your mail reader does not = > understand > > this format, some or all of this message may not be legible. > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE > > Content-Type: text/plain; > > charset=3D"iso-8859-1" > > > > > > Hello, > > > > I am currently using Nagios 1.0. I have discovered that when I = > restart > > Nagios, my "disabled service checks" and "disabled notifications" are = > not > > retained across the restart. I have to disable everything when I = > restart > > Nagios. > > > > Is there any configuration that I have missed? > > > > retain_state_information=3D1 > > use_retained_program_state=3D1 > > > > John Wilhelm > > > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE > > Content-Type: text/html; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > charset=3D3Diso-8859-1"> > > > 5.5.2655.35"> > > Help - losing my disable notifications and disable services =3D > > settings when Nagios is restarted > > > > > >
> > > >

Hello, > >

> > > >

I am currently using Nagios = > 1.0.  =3D > > I have discovered that when I restart Nagios, my "disabled = > service =3D > > checks" and "disabled notifications" are not retained = > =3D > > across the restart.  I have to disable everything when I restart = > =3D > > Nagios.

> > > >

Is there any configuration that I = > have =3D > > missed? > >

> > > >

FACE=3D3D"Arial">retain_state_information=3D3D1 > >
FACE=3D3D"Arial">use_retained_program_state=3D3D1 > >

> > > >

John Wilhelm > >

> > > > > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE-- > > > > > > -- __--__-- > > > > Message: 15 > > From: Jasmine > > To: "Chad Miller" > > Subject: Re: [Nagios-users] Mail notification > > Date: Tue, 24 Jun 2003 01:37:50 +0800 > > Cc: nagios-users at lists.sourceforge.net > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > You can try setting notification_interval to 60 in your service > definition=3D > > =3D20 > > template for "disk utilization" this is provided your interval_length = > is > se=3D > > t=3D20 > > to 60secs in nagios.cfg.=3D20 > > > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > How would I configure nagios to send out an email every hour that = > shows > my > > > Disk utilization? > > > > > > Chad M. > > > > =3D2D --=3D20 > > Jasmine Chua > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > ze8iMlz0aKd4cwADyckaBpk=3D3D > > =3D3Dh3sl > > =3D2D----END PGP SIGNATURE----- > > > > > > > > -- __--__-- > > > > Message: 16 > > Subject: RE: [Nagios-users] Mail help > > Date: Mon, 23 Jun 2003 12:41:56 -0500 > > From: "Marc Powell" > > To: "Chad Miller" , > > > > > > You could use OCSP but that's probably overkill. My suggestion would = > be > > to write a small wrapper script for your disk-check command that has = > the > > logic that you want. > > > > --- > > Marc > > > > > -----Original Message----- > > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > > Sent: Monday, June 23, 2003 12:24 PM > > > To: nagios-users at lists.sourceforge.net > > >=3D20 > > > Sorry for the blank entry. > > >=3D20 > > > I'm trying to get nagios to email me every time it does a disk = > check. > > > What do I need to do to configure this properly? > > >=3D20 > > > Chad M. > > >=3D20 > > >=3D20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting > > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > > INetU Dedicated Managed Hosting = > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: 17 > > From: Jasmine > > To: "Wilhelm, John" > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > disable services setti ngs when Nagios is restarted > > Date: Tue, 24 Jun 2003 02:02:46 +0800 > > Cc: nagios-users at lists.sourceforge.net > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > That means in your configuration of your services you have disabled > them.=3D20 > > Re-check your config files again=3D20 > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > Hello, > > > > > > I am currently using Nagios 1.0. I have discovered that when I = > restart > > > Nagios, my "disabled service checks" and "disabled notifications" = > are > not > > > retained across the restart. I have to disable everything when I > restart > > > Nagios. > > > > > > Is there any configuration that I have missed? > > > > > > retain_state_information=3D3D1 > > > use_retained_program_state=3D3D1 > > > > > > John Wilhelm > > > > =3D2D --=3D20 > > Jasmine Chua > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > > KHPMF8hQJp0XQctVNBb1Dek=3D3D > > =3D3DUIkG > > =3D2D----END PGP SIGNATURE----- > > > > > > > > -- __--__-- > > > > Message: 18 > > From: "Dominik L. Borkowski" > > To: nagios-users at lists.sourceforge.net > > Date: Mon, 23 Jun 2003 14:13:39 -0400 > > Subject: [Nagios-users] nrpe service dependancies > > > > Hey, > > > > I've been reading the documentation, experimenting, and still no luck. = > I > was > > wondering, is it possible to 'easily' declare service dependancies in = > this > > scenario: > > > > - I have over 20 linux servers, each one has nrpe installed > > - in addition, there are 5+ w2k servers with nrpe > > - each of those 20 servers has currently 6 checks done via nrpe. > > - the nrpe checks are declared using host groups > > > > Of course, if nrpe does not respond, each failed service check via = > nrpe > fails > > also. So often times, if the server is under a heavy load, or nrpe has > > problems, I get 6 notifications for each server. > > > > Now, is there an easy way to declare dependancies, that would say: > > > > - if nrpe does not respond on host X, do not perform any checks for = > the > given > > host X. Do the same for each host in . - > > > > Any suggestions would be appreciated. > > > > PS) I've already tried using * for hosts/and or services in the = > dependancy > > declarations. I ended up with a "dependancy hell", where with 20 hosts = > and > 6 > > services I had over 120 dependancies. service Y would be dependant on = > each > > service of every host. Maybe I'm doing something wrong... > > > > > > --=20 > > Dominik L. Borkowski - Systems Administrator > > Virginia Bioinformatics Institute - www.vbi.vt.edu > > > > > > > > -- __--__-- > > > > Message: 19 > > From: Skip Montanaro > > Date: Mon, 23 Jun 2003 13:25:34 -0500 > > To: nagios-users at lists.sourceforge.net > > Reply-To: skip at pobox.com > > Subject: [Nagios-users] check_cluster service - what's the correct = > "host"? > > > > I implemented a simple DNS cluster check this morning. My services = > file > > defines a variant of my dns-service: > > > > define service{ > > use dns-service > > > > name dns-cluster-service > > service_description DNSC > > is_volatile 0 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 120 > > check_command > check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg > > > > register 0 > > } > > > > define service{ > > use dns-cluster-service > > host_name ns > > contact_groups skip > > notification_period red > > } > > > > and my dnscluster.cfg file identifies the elements of the cluster: > > > > ns;DNS Service > > drjimmy;DNS Service > > iris;DNS Service > > relay;DNS Service > > > > This seems to work fine, but it just doesn't seem right that I need to > > associate it with a real host. Is there some way to define a virtual = > host > > which really doesn't exist (is never checked for being up) which could = > be > > associated with cluster services? > > > > Thx, > > > > --=20 > > Skip Montanaro > > skip at pobox.com > > Got spam? http://spambayes.sf.net/ > > > > > > -- __--__-- > > > > Message: 20 > > From: "Wilhelm, John" > > To: "'nagios at nagios.org'" , > > "'jasmine.chua at securecirt.com'" > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Help - losing my disable notifications and = > dis > > able services setti ngs when Nagios is restarted > > Date: Mon, 23 Jun 2003 14:32:01 -0400 > > > > This message is in MIME format. Since your mail reader does not = > understand > > this format, some or all of this message may not be legible. > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A > > Content-Type: text/plain; > > charset=3D"iso-8859-1" > > > > Hello Jasmine, > > > > Thanks for the response. You are right, I had the > > "retain_nonstatus_information" set to 0. If this is not set to 1, = > when > > nagios restarts, all disabled settings are lost. > > > > Thanks again, > > John Wilhelm > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: Monday, June 23, 2003 2:03 PM > > To: Wilhelm, John > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > > disable services setti ngs when Nagios is restarted > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > That means in your configuration of your services you have disabled = > them. > > Re-check your config files again > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > Hello, > > > > > > I am currently using Nagios 1.0. I have discovered that when I = > restart > > > Nagios, my "disabled service checks" and "disabled notifications" = > are > not > > > retained across the restart. I have to disable everything when I > restart > > > Nagios. > > > > > > Is there any configuration that I have missed? > > > > > > retain_state_information=3D1 > > > use_retained_program_state=3D1 > > > > > > John Wilhelm > > > > - --=20 > > Jasmine Chua > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > > KHPMF8hQJp0XQctVNBb1Dek=3D > > =3DUIkG > > -----END PGP SIGNATURE----- > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A > > Content-Type: text/html; > > charset=3D"iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > charset=3D3Diso-8859-1"> > > > 5.5.2655.35"> > > RE: [Nagios-users] Help - losing my disable notifications and = > =3D > > disable services setti ngs when Nagios is restarted > > > > > > > >

Hello Jasmine, > >

> > > >

Thanks for the response.  You are = > right,  I =3D > > had the "retain_nonstatus_information" set to 0.  If = > =3D > > this is not set to 1, when nagios restarts, all disabled settings are = > =3D > > lost.

> > > >

Thanks again, > >
John Wilhelm > >

> > > >

-----Original Message----- > >
From: Jasmine [ > = > HREF=3D3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securec= > i=3D > > rt.com] > >
Sent: Monday, June 23, 2003 2:03 PM > >
To: Wilhelm, John > >
Cc: nagios-users at lists.sourceforge.net > >
Subject: Re: [Nagios-users] Help - losing my = > disable =3D > > notifications and > >
disable services setti ngs when Nagios is =3D > > restarted > >

> >
> > > >

-----BEGIN PGP SIGNED MESSAGE----- > >
Hash: SHA1 > >

> > > >

Hi > >

> > > >

That means in your configuration of your services = > you =3D > > have disabled them. > >
Re-check your config files again > >

> > > >

On Tuesday 24 June 2003 01:29, Wilhelm, John =3D > > wrote: > >
> Hello, > >
> > >
> I am currently using Nagios 1.0.  I = > have =3D > > discovered that when I restart > >
> Nagios, my "disabled service = > checks" =3D > > and "disabled notifications" are not > >
> retained across the restart.  I have to = > =3D > > disable everything when I restart > >
> Nagios. > >
> > >
> Is there any configuration that I have =3D > > missed? > >
> > >
> retain_state_information=3D3D1 > >
> use_retained_program_state=3D3D1 > >
> > >
> John Wilhelm > >

> > > >

- -- > >
Jasmine Chua > >
-----BEGIN PGP SIGNATURE----- > >
Version: GnuPG v1.2.2 (GNU/Linux) > >

> > > >

> = > SIZE=3D3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjK= > r=3D > > W > >
KHPMF8hQJp0XQctVNBb1Dek=3D3D > >
=3D3DUIkG > >
-----END PGP SIGNATURE----- > >

> > > > > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A-- > > > > > > -- __--__-- > > > > Message: 21 > > Date: Mon, 23 Jun 2003 21:02:11 +0200 > > From: "Hegedus, Ervin" > > To: Karl DeBisschop > > Cc: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Fail error message - more interesting > > > > Hello, > > > > here is a new, interesting problem. > > > > okay, the monitoring of that w2k host was resolved - that host is > > an other city, than where i work. that network connects to me > > trough VPN. i also monitoring the "other site" VPN router. > > > > Nagios send me an alert message, VPN router is unreacheable. the > > problem was in network, and that stayed up just a few minutes. > > > > but. > > > > after this alert, this w2k host - and only this host, other w2k > > hosts are goods in Nagios, in that network - is also in alert state. > > since 4 hours... > > > > > > i don't understand this. > > how can i debug this state? how can i run Nagios with higher log > > facility? > > has somebody some good think? :) > > > > > > > > thank you: > > airween > > > > > > -- __--__-- > > > > Message: 22 > > From: "Jason Lancaster" > > To: "Marc Powell" , > > "Chad Miller" , > > > > Subject: Re: [Nagios-users] Mail help > > Date: Mon, 23 Jun 2003 15:05:26 -0400 > > > > All event handlers and notifications run with the assumption that a = > state > > has changed. It's likely not going to change in your instance, = > therefore, > > I'd write a new check-disk script to email you the output as well as > > printing the output. You could also follow Marc's idea by writing a > program > > that parses ocsp output looking for specific events and notifying you > > accordingly. > > > > -Jason > > > > ----- Original Message -----=20 > > From: "Marc Powell" > > To: "Chad Miller" ; > > > > Sent: Monday, June 23, 2003 13:41 > > Subject: RE: [Nagios-users] Mail help > > > > > > You could use OCSP but that's probably overkill. My suggestion would = > be > > to write a small wrapper script for your disk-check command that has = > the > > logic that you want. > > > > --- > > Marc > > > > > -----Original Message----- > > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > > Sent: Monday, June 23, 2003 12:24 PM > > > To: nagios-users at lists.sourceforge.net > > > > > > Sorry for the blank entry. > > > > > > I'm trying to get nagios to email me every time it does a disk = > check. > > > What do I need to do to configure this properly? > > > > > > Chad M. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting > > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > > INetU Dedicated Managed Hosting = > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 23 > > Subject: RE: [Nagios-users] Mail notification > > Date: Mon, 23 Jun 2003 14:23:25 -0500 > > From: "Carroll, Jim P [Contractor]" > > To: "Jasmine" , > > "Chad Miller" > > Cc: > > > > I think that approach would only send a notification if there's a > > warning/critical status. I think Chad wants to get a report every > > hour, regardless. > > > > Chad, you could simply try running the command that Nagios runs, > > but run it from a crontab every hour and pipe the output to mail. > > > > jc > > > > > > > -----Original Message----- > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > Sent: Monday, June 23, 2003 12:38 PM > > > To: Chad Miller > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Mail notification > > >=3D20 > > >=3D20 > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > >=3D20 > > > Hi > > >=3D20 > > > You can try setting notification_interval to 60 in your=3D20 > > > service definition=3D20 > > > template for "disk utilization" this is provided your=3D20 > > > interval_length is set=3D20 > > > to 60secs in nagios.cfg.=3D20 > > >=3D20 > > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > > How would I configure nagios to send out an email every=3D20 > > > hour that shows my > > > > Disk utilization? > > > > > > > > Chad M. > > >=3D20 > > > - --=3D20 > > > Jasmine Chua > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > >=3D20 > > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > > ze8iMlz0aKd4cwADyckaBpk=3D3D > > > =3D3Dh3sl > > > -----END PGP SIGNATURE----- > > >=3D20 > > >=3D20 > > >=3D20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU=3D20 > > > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly=3D20 > > > Commission! > > > INetU Dedicated Managed Hosting = > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS=3D20 > > > when reporting any issue.=3D20 > > > ::: Messages without supporting info will risk being sent to = > /dev/null > > >=3D20 > > > > > > -- __--__-- > > > > Message: 24 > > Date: Mon, 23 Jun 2003 15:48:18 -0400 > > To: "Carroll, Jim P [Contractor]" , > > "Jasmine" , > > "Chad Miller" > > From: Rob Nelson > > Subject: RE: [Nagios-users] Mail notification > > Cc: > > > > > > >I think that approach would only send a notification if there's a > > >warning/critical status. I think Chad wants to get a report every > > >hour, regardless. > > > > > >Chad, you could simply try running the command that Nagios runs, > > >but run it from a crontab every hour and pipe the output to mail. > > > > If you really want Nagios to do it, so that you can disable it via the = > web > > page, set the "low" threshold to larger than your hard drive, so it = > will > > always be in warn/crit. Defaults to resends every 2 hours. > > > > > > Rob Nelson > > Network Administrator, Capitol Broadband > > C: 919-369-1874 > > rob at capband.net > > > > > > > > -- __--__-- > > > > Message: 25 > > Reply-To: > > From: "Michael Carpenter" > > To: > > Date: Mon, 23 Jun 2003 15:27:31 -0500 > > Subject: [Nagios-users] NSCA and syslog-ng question > > > > This is a multi-part message in MIME format. > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0 > > Content-Type: text/plain; > > charset=3D"us-ascii" > > Content-Transfer-Encoding: 7bit > > > > I am very new at Nagios and have a question regarding the NSCA extra = > and > > using it with syslog-ng. > > > > I have downloaded and complied the nsca, send-nsca, and the mcrypt > > stuff. I have edited the config files. My issue is that my loghost = > is > > also my nagios box. In syslog-ng.conf do I need another source line > > other than "source net { udp();};? I also have the nagios.pipe > > configured and I can see messages entering the pipe, and sitting there > > for a time period.then they clear. > > > > Also, how do I configure Nagios to use the information coming from the > > pipe. > > > > Thanks in advance. > > > > Mike > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0 > > Content-Type: text/html; > > charset=3D"us-ascii" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > charset=3D3Dus-ascii"> > > > 6.0.4630.0"> > > NSCA and syslog-ng question > > > > > > > > > >

FACE=3D3D"Arial">I am =3D > > very new at Nagios and have a question regarding the NSCA extra and = > =3D > > using it with syslog-ng.

> > > >

FACE=3D3D"Arial">I =3D > > have downloaded and complied the nsca, send-nsca, and the mcrypt =3D > > stuff.  I have edited the config files.  My issue is that my = > =3D > > loghost is also my nagios box. > LANG=3D3D"en-us">  =3D > > FACE=3D3D"Arial"> In syslog-ng.conf do I need another source line = > other =3D > > than LANG=3D3D"en-us"> =3D > > > LANG=3D3D"en-us"> > FACE=3D3D"Arial">source net { udp();};?  I also have the = > nagios.pipe =3D > > configured and I can see messages entering the pipe, and sitting there = > =3D > > for a time period > LANG=3D3D"en-us"> FACE=3D3D"Arial">… > LANG=3D3D"en-us"> > FACE=3D3D"Arial">then they clear > LANG=3D3D"en-us"> > FACE=3D3D"Arial">… LANG=3D3D"en-us"> > LANG=3D3D"en-us">

> > > >

FACE=3D3D"Arial">Also, =3D > > how do I configure Nagios to use the information coming from the =3D > > pipe LANG=3D3D"en-us"> > SIZE=3D3D2 FACE=3D3D"Arial">… > LANG=3D3D"en-us">

> > > >

> FACE=3D3D"Arial">Thanks in advance > LANG=3D3D"en-us"> > FACE=3D3D"Arial">… LANG=3D3D"en-us"> > LANG=3D3D"en-us">

> > > >

> FACE=3D3D"Arial">Mike =3D > > LANG=3D3D"en-us">

> > > > > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0-- > > > > > > > > -- __--__-- > > > > Message: 26 > > From: "Bill Hults" > > To: "manny" , > > > > Subject: RE: [Nagios-users] Error During Installation > > Date: Mon, 23 Jun 2003 17:27:06 -0400 > > > > Have you applied the various patches to RH9 to bring it up to date & > > possibly solve this kind of problem? I've just installed it on RH9 & = > it > went > > fine > > Bill > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of manny > > Sent: Monday, June 23, 2003 12:29 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Error During Installation > > > > > > > > I am running Red Hat linux 9.x and during the compaling porocess i get = > the > > following error. > > > > configure:error: no acceptable cc found in $PATH > > > > Does any one have any clues as how i can work behond this. > > > > Thanks > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > > > > > -- __--__-- > > > > Message: 27 > > Date: Mon, 23 Jun 2003 17:44:20 -0400 > > To: nagios-users at lists.sourceforge.net > > From: Jeyri Bautista > > Subject: [Nagios-users] MySQL Database > > > > Hi, > > > > Now, I have my nagios information in plain text, but I want record in = > a > > mysql database. My question is: Can I record in a mysql database the > > nagios.log information?, because i read that the information that can = > be > > record is status.log, comment.log, downtime.log and extinfo. > > > > Thanks, > > > > Jeyri > > > > > > > > -- __--__-- > > > > Message: 28 > > From: Jasmine > > To: "Wilhelm, John" > > Subject: Re: [Nagios-users] Help - losing my disable notifications and = > dis > able services setti ngs when Nagios is restarted > > Date: Tue, 24 Jun 2003 05:47:22 +0800 > > Cc: nagios-users at lists.sourceforge.net > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > You are most welcome but hey you are the one who spotted the mistake, = > not > m=3D > > e!=3D20 > > I only point you to the right direction that's all! Nagios is = > just=3D20 > > wonderful.. > > > > Cheers! > > > > Jasmine=3D20 > > > > > > On Tuesday 24 June 2003 02:32, you wrote: > > > Hello Jasmine, > > > > > > Thanks for the response. You are right, I had the > > > "retain_nonstatus_information" set to 0. If this is not set to 1, = > when > > > nagios restarts, all disabled settings are lost. > > > > > > Thanks again, > > > John Wilhelm > > > > > > -----Original Message----- > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > Sent: Monday, June 23, 2003 2:03 PM > > > To: Wilhelm, John > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Help - losing my disable notifications = > and > > > disable services setti ngs when Nagios is restarted > > > > > > > > > Hi > > > > > > That means in your configuration of your services you have disabled > them. > > > Re-check your config files again > > > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > > Hello, > > > > > > > > I am currently using Nagios 1.0. I have discovered that when I > restart > > > > Nagios, my "disabled service checks" and "disabled notifications" = > are > n=3D > > ot > > > > retained across the restart. I have to disable everything when I > resta=3D > > rt > > > > Nagios. > > > > > > > > Is there any configuration that I have missed? > > > > > > > > retain_state_information=3D3D1 > > > > use_retained_program_state=3D3D1 > > > > > > > > John Wilhelm > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu > > gdJzpdx+Ww/rTtYK6aNQHBo=3D3D > > =3D3DUssf > > =3D2D----END PGP SIGNATURE----- > > > > > > > > -- __--__-- > > > > Message: 29 > > From: Jasmine > > To: Gilberto Nunes Ferreira > > Date: Tue, 24 Jun 2003 07:51:46 +0800 > > Cc: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key verification > failed. > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi=3D20 > > > > It means it is really a SSH problem. Your box cannot access the other = > by > SS=3D > > H.=3D20 > > You have to make sure you have the right host keys generated. Perhaps = > you > c=3D > > an=3D20 > > check your known_hosts in your .ssh directory to make sure the key for > that=3D > > =3D20 > > particular host is there.=3D20 > > > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > > Hi evervbody > > > > > > I have two host. > > > One of then I wan't to verify by check_by_ssh, plugins. > > > So, I make this in the checkcommands.cfg file: > > > > > > ..... > > > ... > > > .. > > > define command{ > > > command_name ssh_check_disk > > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > > } > > > > =3D > > =3D20 > > > Wen I restart the = > nagios > > > services, appear a mesagem that say: > > > > > > > > > > > > Host key verification failed. > > > > > > > > > What the means of this mesage? > > > I forgot something?!?!?! > > > > > > Please,help! > > > Thanks. > > > > =3D2D --=3D20 > > Jasmine Chua > > Security Engineer > > > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > > T8ddWrGJipPo0jXTPzfpO0M=3D3D > > =3D3DgeFj > > =3D2D----END PGP SIGNATURE----- > > > > > > > > -- __--__-- > > > > Message: 30 > > From: Frank Gadot > > To: Nagios-Users > > Organization: EPS > > Date: 23 Jun 2003 20:11:03 -0400 > > Subject: [Nagios-users] Notification problems > > > > Hi all, > > > > I have been looking for weeks now about this problem: At the very > > begining, when a computer would be down, I would receive EMAIL + = > PAGER. > > Now, it is or PAGER or EMAIL. I have no clue what I changed. > > > > Here is an example for one computer: > > > > > > hosts.cfg > > #TEST > > define host { > > use generic-host > > host_name TEST > > alias TEST SERVER > > address 192.168.1.41 > > check_command check-host-alive > > max_check_attempts 3 > > notification_interval 5 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > > > > > > > hostgroups.cfg > > define hostgroup{ > > hostgroup_name PRODUCTION > > alias High priority servers > > contact_groups ADMIN-PAGER > > members TEST > > } > > > > > > > > services.cfg > > define service{ > > use generic-service > > host_name TEST > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 1 > > contact_groups ADMIN-EMAIL > > notification_interval 5 > > notification_period 24x7 > > notification_options u,c,r > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > > > > > > > contacts.cfg > > everything about me > > > > > > > > contactgroups.cfg > > define contactgroup{ > > contactgroup_name ADMIN-PAGER > > alias ADMIN for pagers > > members frank > > } > > > > > > So: The contact group for the host is ADMIN-PAGER , but the service > > define ADMIN-EMAIL. Is there a way to receive both of them ? > > > > Thank you. > > > > > > > > -- __--__-- > > > > Message: 31 > > To: nagios-users at lists.sourceforge.net > > From: sobrien at ci.bend.or.us > > Date: Mon, 23 Jun 2003 17:12:07 -0700 > > Subject: [Nagios-users] Looking for a way to connect to host via = > Status > map > > > > This is an S/MIME signed message. > > > > ---------z13701_boundary_sign > > Content-Type: multipart/alternative; boundary=3D"=3D_alternative > 0000FF7488256D4F_=3D" > > > > This is a multipart message in MIME format. > > --=3D_alternative 0000FF7488256D4F_=3D > > Content-Type: text/plain; charset=3D"US-ASCII" > > > > Has anyone figured out how to click on a host in your status map and > > connect via ssh, telnet, walkie-talkie, etc... > > > > Steve O'Brien > > City of Bend > > Network Administrator > > sobrien at ci.bend.or.us > > 541-322-6393 > > > > --=3D_alternative 0000FF7488256D4F_=3D > > Content-Type: text/html; charset=3D"US-ASCII" > > > > > >
Has anyone figured out how to = > click > > on a host in your status map and connect via ssh, telnet, = > walkie-talkie, > > etc... > >

> > Steve O'Brien
> > City of Bend
> > Network Administrator
> > sobrien at ci.bend.or.us
> > 541-322-6393
> >
> > --=3D_alternative 0000FF7488256D4F_=3D-- > > > > ---------z13701_boundary_sign > > Content-Type: application/x-pkcs7-signature; name=3D"smime.p7s" > > Content-Transfer-Encoding: base64 > > Content-Disposition: attachment; filename=3D"smime.p7s" > > Content-Description: S/MIME Cryptographic Signature > > > > > MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCB= > EEw > > > ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9= > w0B > > > CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTB= > k9y > > > ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJV= > DEV > > > MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowg= > ZQx > > > KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCV= > VMx > > > DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kM= > Qsw > > > CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNA= > DCB > > > iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYun= > Dnv > > > eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3= > Y8O > > > QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwC= > wYD > > > VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWA= > dkJ > > > MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlb= > mQs > > > Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlc= > nZp > > > Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY= > 2F0 > > > ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwR= > qBE > > > oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyM= > G9m > > > JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpS= > uDj > > > gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qU= > YSL > > > j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk= > 9xK > > > BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUM= > Sow > > > KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTM= > Q8w > > > DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELM= > AkG > > > A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2M= > DUx > > > ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxC= > zAJ > > > BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpd= > Hkg > > > b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9= > w0B > > > AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHu= > bJj > > > BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAy= > d+N > > > 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUA= > gQG > > > HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3Ljihe= > vBu > > > iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5J= > TIw > > > b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2a= > WNl > > > cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9d= > XM/ > > > Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1d= > Glv > > > blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb= > 2xs > > > L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA= > 4GB > > > ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq5= > 2I8 > > > iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8= > YhF > > > YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFA= > DCB > > > lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGE= > wJV > > > UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlb= > mQx > > > CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNM= > DQw > > > NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswC= > QYD > > > VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5I= > G9m > > > IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNA= > QEB > > > BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJk= > h4v > > > rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od= > 1hU > > > 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCB= > PAw > > > EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQB= > gNV > > > HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBF= > hth > > > ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb= > 24x > > > DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATB= > gNV > > > BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMo= > IHJ > > > oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEU= > CxD > > > Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uL= > ERD > > > PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP= > 29i > > > amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZ= > TIu > > > Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJma= > Wxl > > > Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQ= > mVu > > > ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q= > 2l0 > > > eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vyd= > mlj > > > ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlma= > WNh > > > dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzACh= > lpo > > > dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyL= > mNp > > > LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cX= > G9w > > > ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kL= > m9y > > > LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4= > DBB > > > FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUp= > SEl > > > +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvI= > E2N > > > MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3D= > QEJ > > > ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT= > 3Jl > > > Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUM= > RUw > > > EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBj= > jEk > > > MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA= > 1UE > > > CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVB= > AsT > > > AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBA= > L4d > > > Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGf= > wka > > > SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4= > XqG > > > 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIK= > wYB > > > BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4E= > Dcu > > > OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQ= > GNp > > > LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlb= > mQx > > > FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQ= > mVu > > > ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovL= > y9D > > > Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZ= > Xkl > > > MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsR= > EM9 > > > b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNST= > ERp > > > c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51c= > y9D > > > ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuY= > Wdl > > > Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrB= > gEF > > > BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZ= > CxD > > > Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlnd= > XJh > > > dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY= > 3Rj > > > bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hb= > mFn > > > ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ= > 2l0 > > > eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpL= > mJl > > > bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZ= > iUy > > > MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrv= > W/D > > > k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/= > xm2 > > > t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwg= > aMw > > > gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEB= > hMC > > > VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZ= > W5k > > > MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOA= > wIa > > > BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0M= > DAx > > > MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPM= > TYw > > > NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwD= > QYJ > > > KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIEl= > pEC > > > Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/= > ytp > > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA=3D > > > > ---------z13701_boundary_sign-- > > > > > > > > -- __--__-- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > End of Nagios-users Digest > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when = > reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null > > > ------_=_NextPart_001_01C33A52.27D793D0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > Re: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 = > msgs > > > > >

You can either --
>
> - Fix the problem with the host
> - acknowledge the problem from the web interface
> - increase the plugin timeout
> - adjust your notification interval for this host/service
> - disable critical notifications for this host/service
>
> Or
> - disable notifications for this host/service entirely in your = > config
>
> It just depends on what you're really trying to accomplish.
>
>
> --
> Marc
>
> Sent from a very tiny wireless device with a very tiny unlit = > keyboard.
>
>
> -----Original Message-----
> From: Eddy <c.eduardo at estacio.br>
> To: nagios-users at lists.sourceforge.net = > <nagios-users at lists.sourceforge.net>
> Sent: Tue Jun 24 07:57:44 2003
> Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 = > msgs
>
> Socket timeout after 10 seconds
> I have this messagem any can help me???
> My hosts has a real problem, but i don't wana receive this message
> Sorry my bad english but i 'm brazilian man :)
>
>
> Sem mais,
>
>         Carlos Eduardo Dionizio
>      Analista de Suporte - UNIX
>     Universidade Est=E1cio de S=E1
> Diretoria de Tecnologia da Informa=E7=E3o
>
>
>
>
> ----- Original Message -----
> From: <nagios-users-request at lists.sourceforge.net>
> To: <nagios-users at lists.sourceforge.net>
> Sent: Tuesday, June 24, 2003 12:23 AM
> Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs
>
>
> > Send Nagios-users mailing list submissions to
> > nagios-users at lists.sourceforge.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > or, via email, send a message with subject or body 'help' to
> > nagios-users-request at lists.sourceforge.net
> >
> > You can reach the person managing the list at
> > nagios-users-admin at lists.sourceforge.net
> >
> > When replying, please edit your Subject line so it is more = > specific
> > than "Re: Contents of Nagios-users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. RE: Autentication Fail !!!! (Billy)
> >    2. Re: __Unofficial__ patch for embedded Perl = > Interpeter support in
> Nagios 1.1  (fixes SEGV on start-up with thread (Ethan Galstad)
> >    3. Host detail showing all hosts up (greg)
> >    4. Re: Compile Error with MySQL Support (Karl = > Latiss)
> >    5. ping does not recover (Marko Riedel)
> >    6. Re:  Fail error message (Karl = > DeBisschop)
> >    7. Return code of 139 out of bound and other = > errors (Fallsen, Tommy)
> >    8. RE: nagiosbounce.sh (Martin, Jeremy)
> >    9. passive host checks. (Jasmine)
> >   10. Re: passive host checks. (Jason Lancaster)
> >   11. Error During Installation (manny)
> >   12. Mail notification (Chad Miller)
> >   13. Mail help (Chad Miller)
> >   14. Help - losing my disable notifications and disable = > services setti
> >        ngs when Nagios is = > restarted (Wilhelm, John)
> >   15. Re: Mail notification (Jasmine)
> >   16. RE: Mail help (Marc Powell)
> >   17. Re: Help - losing my disable notifications and = > disable services
> setti ngs when Nagios is restarted (Jasmine)
> >   18. nrpe service dependancies (Dominik L. = > Borkowski)
> >   19. check_cluster service - what's the correct = > "host"? (Skip Montanaro)
> >   20. RE: Help - losing my disable notifications and = > dis
> >        able services setti ngs = > when Nagios is restarted (Wilhelm, John)
> >   21. Fail error message - more interesting (Hegedus, = > Ervin)
> >   22. Re: Mail help (Jason Lancaster)
> >   23. RE: Mail notification (Carroll, Jim P = > [Contractor])
> >   24. RE: Mail notification (Rob Nelson)
> >   25. NSCA and syslog-ng question (Michael Carpenter)
> >   26. RE: Error During Installation (Bill Hults)
> >   27. MySQL Database (Jeyri Bautista)
> >   28. Re: Help - losing my disable notifications and dis = > able services
> setti ngs when Nagios is restarted (Jasmine)
> >   29. Re: [Nagiosplug-help] Host key verification failed. = > (Jasmine)
> >   30. Notification problems (Frank Gadot)
> >   31. Looking for a way to connect to host via Status = > map
> (sobrien at ci.bend.or.us)
> >
> > -- __--__--
> >
> > Message: 1
> > From: "Billy" <nagios at billyshouse.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Subject: RE: [Nagios-users] Autentication Fail !!!!
> > Date: Mon, 23 Jun 2003 14:19:36 +1000
> >
> > This is a multi-part message in MIME format.
> >
> > ------=3D_NextPart_000_1228_01C33992.796BC420
> > Content-Type: text/plain;
> > charset=3D"us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> >
> > Logins are controlled by the web server, not nagios. If it's = > apache, =3D
> > check
> > your .htaccess file in your web dir, otherwise check the auth docs = > for =3D
> > your
> > flavour of web server
> >
> > =3D20
> >
> >   _____ =3D20
> >
> > From: nagios-users-admin at lists.sourceforge.net
> > [ HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > ers-admin at lists.sourceforge.net] On Behalf Of Syed =3D
> > Zulhilmi
> > Tuan Sharif
> > Sent: Monday, 23 June 2003 12:13 PM
> > To: nagios-users at lists.sourceforge.net
> >
> > =3D20
> >
> > -I dont know what has happened to my Nagios.  Suddenly i = > cannot login
> > because it said that my login and password is npt valid.=3D20
> >
> > Arghhhh dont know why this happen.  Help me anyone
> >
> > =3D20
> >
> >
> > ------=3D_NextPart_000_1228_01C33992.796BC420
> > Content-Type: text/html;
> > charset=3D"us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <html xmlns:v=3D3D"urn:schemas-microsoft-com:vml" = > =3D
> > xmlns:o=3D3D"urn:schemas-microsoft-com:office:office" = > =3D
> > xmlns:w=3D3D"urn:schemas-microsoft-com:office:word" = > =3D
> > = > xmlns:st1=3D3D"urn:schemas-microsoft-com:office:smarttags" = > =3D
> > xmlns=3D3D" HREF=3D"http://www.w3.org/TR/REC-html40">http://www.w3.org/TR/REC-html40<= > /A>">
> >
> > <head>
> > <META HTTP-EQUIV=3D3D"Content-Type" = > CONTENT=3D3D"text/html; =3D
> > charset=3D3Dus-ascii">
> >
> >
> > <meta name=3D3DGenerator content=3D3D"Microsoft Word 11 = > (filtered medium)">
> > <!--[if !mso]>
> > <style>
> > v\:* {behavior:url(#default#VML);}
> > o\:* {behavior:url(#default#VML);}
> > w\:* {behavior:url(#default#VML);}
> > .shape {behavior:url(#default#VML);}
> > </style>
> > <![endif]--><o:SmartTagType
> >  = > namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags" = > =3D
> > name=3D3D"time"/>
> > <!--[if !mso]>
> > <style>
> > st1\:*{behavior:url(#default#ieooui) }
> > </style>
> > <![endif]-->
> > <style>
> > <!--
> >  /* Font Definitions */
> >  @font-face
> > {font-family:Tahoma;
> > panose-1:2 11 6 4 3 5 4 4 2 4;}
> >  /* Style Definitions */
> >  p.MsoNormal, li.MsoNormal, div.MsoNormal
> > {margin:0cm;
> > margin-bottom:.0001pt;
> > font-size:12.0pt;
> > font-family:"Times New Roman";}
> > a:link, span.MsoHyperlink
> > {color:blue;
> > text-decoration:underline;}
> > a:visited, span.MsoHyperlinkFollowed
> > {color:purple;
> > text-decoration:underline;}
> > span.EmailStyle18
> > {mso-style-type:personal-reply;
> > font-family:Arial;
> > color:navy;}
> > @page Section1
> > {size:595.3pt 841.9pt;
> > margin:72.0pt 90.0pt 72.0pt 90.0pt;
> > mso-footer-margin:35.4pt;}
> > div.Section1
> > {page:Section1;}
> > -->
> > </style>
> >
> > </head>
> >
> > <body lang=3D3DEN-AU link=3D3Dblue vlink=3D3Dpurple>
> >
> > <div class=3D3DSection1>
> >
> > <p class=3D3DMsoNormal><font size=3D3D2 color=3D3Dnavy = > face=3D3DArial><span =3D
> > style=3D3D'font-size:
> > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by = > the web =3D
> > server,
> > not nagios. If it&#8217;s apache, check your .htaccess file in = > your web =3D
> > dir,
> > otherwise check the auth docs for your flavour of web =3D
> > = > server<o:p></o:p></span></font></p>
> >
> > <p class=3D3DMsoNormal><font size=3D3D2 color=3D3Dnavy = > face=3D3DArial><span =3D
> > style=3D3D'font-size:
> > = > 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>= > </span></font></p>
> >
> > <div>
> >
> > <div class=3D3DMsoNormal align=3D3Dcenter =3D
> > style=3D3D'margin-left:36.0pt;text-align:center'><font
> > size=3D3D3 face=3D3D"Times New Roman"><span = > lang=3D3DEN-US =3D
> > style=3D3D'font-size:12.0pt'>
> >
> > <hr size=3D3D2 width=3D3D"100%" align=3D3Dcenter = > tabindex=3D3D-1>
> >
> > </span></font></div>
> >
> > <p class=3D3DMsoNormal = > style=3D3D'margin-left:36.0pt'><b><font size=3D3D2 =3D
> > face=3D3DTahoma><span
> > lang=3D3DEN-US =3D
> > = > style=3D3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:= > </spa=3D
> > n></font></b><font
> > size=3D3D2 face=3D3DTahoma><span lang=3D3DEN-US =3D
> > style=3D3D'font-size:10.0pt;font-family:Tahoma'>
> > nagios-users-admin at lists.sourceforge.net
> > [
HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > ers-admin at lists.sourceforge.net] <b><span =3D
> > style=3D3D'font-weight:
> > bold'>On Behalf Of </span></b>Syed Zulhilmi Tuan = > Sharif<br>
> > <b><span = > style=3D3D'font-weight:bold'>Sent:</span></b> Monday, 23 = > June =3D
> > 2003<st1:time
> > Minute=3D3D"13" Hour=3D3D"12" = > w:st=3D3D"on"> 12:13 PM</st1:time><br>
> > <b><span = > style=3D3D'font-weight:bold'>To:</span></b>
> > = > nagios-users at lists.sourceforge.net</span></font><span = > =3D
> > = > lang=3D3DEN-US><o:p></o:p></span></p>
> >
> > </div>
> >
> > <p class=3D3DMsoNormal = > style=3D3D'margin-left:36.0pt'><font size=3D3D3
> > face=3D3D"Times New Roman"><span =3D
> > = > style=3D3D'font-size:12.0pt'><o:p>&nbsp;</o:p></spa= > n></font></p>
> >
> > <div>
> >
> > <p class=3D3DMsoNormal = > style=3D3D'margin-left:36.0pt'><font size=3D3D2 =3D
> > color=3D3Dblack
> > face=3D3DArial><span =3D
> > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>-I = > dont
> > know what has happened to my Nagios.&nbsp; Suddenly i cannot = > login =3D
> > because it
> > said that my login and password is npt valid. = > </span></font><font =3D
> > color=3D3Dblack
> > face=3D3DArial><span =3D
> > = > style=3D3D'font-family:Arial;color:black'><o:p></o:p></= > span></font></p>
> >
> > </div>
> >
> > <div>
> >
> > <p class=3D3DMsoNormal = > style=3D3D'margin-left:36.0pt'><font size=3D3D2 =3D
> > color=3D3Dblack
> > face=3D3DArial><span =3D
> > = > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh
= > > > dont know why this happen.&nbsp; Help me = > anyone</span></font><font =3D
> > color=3D3Dblack
> > face=3D3DArial><span =3D
> > = > style=3D3D'font-family:Arial;color:black'><o:p></o:p></= > span></font></p>
> >
> > </div>
> >
> > <div>
> >
> > <p class=3D3DMsoNormal = > style=3D3D'margin-left:36.0pt'><font size=3D3D3 =3D
> > color=3D3Dblack
> > face=3D3DArial><span =3D
> > = > style=3D3D'font-size:12.0pt;font-family:Arial;color:black'>&nbsp;&= > lt;o:p></o:p=3D
> > ></span></font></p>
> >
> > </div>
> >
> > </div>
> >
> > </body>
> >
> > </html>
> >
> > ------=3D_NextPart_000_1228_01C33992.796BC420--
> >
> >
> >
> > -- __--__--
> >
> > Message: 2
> > From: "Ethan Galstad" <nagios at nagios.org>
> > To: nagios-users at lists.sourceforge.net
> > Date: Mon, 23 Jun 2003 00:24:16 -0500
> > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded = > Perl
> Interpeter support in Nagios 1.1  (fixes SEGV on start-up with = > thread
> >
> > Thanks for the patches!  I've applied these to CVS (both 1.x = > and HEAD
> > branches).
> >
> >
> > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote:
> >
> > > Dear Ladies and Gentlemen,
> > >
> > > The Nagios kibutzers take great pleasure in announcing an = > _unofficial_
> > > patch for embedded Perl support in Nagios 1.1.
> > >
> > > The patch, while not extensively tested, _should_ fix the SEGV = > on
> > > starting up (for any args, -h -m or -v) of a Nagios 1.1 = > configured
> > > with an embedded Perl interpreter (for greater efficiency in = > executing
> > > Perl plugins).
> > >
> > > Details below.
> > >
> > > Status
> > >
> > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs = > on
> > > start-up of Nagios built with an embedded Perl = > interpreter.
> > >
> > > The SEGV occurs right at start-up and is associated with
> > > libperl.so (it may occur at the first printf in the main = > program). It
> > > only occurs with threaded Perls that are typically shipped = > with systems
> > > having good pthread OS support.
> > >
> > > Affected systems include
> > >
> > > RH 8 and 9
> > > Mandrake 9 ( 2.4.19-16mdk )
> > > Suse     8
> > > Debian   ?
> > >
> > > Unaffected systems include
> > >
> > > FreeBSD RELENG_4 (v4 Release and Stable branches)
> > >
> > > If you have a Linux or Solaris system with a Perl greater than = > 5.6.1 and
> > > you want an embedded Perl Nag, you need this patch.
> > >
> > > Credits
> > >
> > > Ethan Galstad
> > > Reuben Farrelly
> > >
> > > I believe the patch was originally the work of Mr Reuben
> > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem = > fixed).
> > >
> > > Feedback
> > >
> > > S Hopcroft
> > >
> > > Flames
> > > S Hopcroft
> > >
> > > Testing
> > > compiled and run on Mandrake 9/Perl 5.8.0
> > > compiled         on = > FreeBSD 4.8/Perl 5.8.0 {unthreaded]
> > >         compiled and = > run on FreeBSD 4.7/Perl 5.005 [unthreaded]
> > >
> > > Notes
> > >
> > > Should apply to Nag 1.0 but unchecked.
> > >
> > > Patch
> > > attached.
> > >
> > > Yours sincerely.
> > >
> > >
> > >
> > >  --
> > > = > ------------------------------------------------------------------------<= > BR> > > > Stanley Hopcroft
> > > = > ------------------------------------------------------------------------<= > BR> > > >
> > > '...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.
> > >
> >
> >
> >
> > Ethan Galstad,
> > Nagios Developer
> > ---
> > Email: nagios at nagios.org
> > Website: HREF=3D"http://www.nagios.org">http://www.nagios.org
> >
> >
> >
> > -- __--__--
> >
> > Message: 3
> > Date: Mon, 23 Jun 2003 11:48:48 +0200
> > From: greg <g_mak at interia.pl>
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Host detail showing all hosts up
> >
> > This is a multi-part message in MIME format.
> > --------------000504060808050902050806
> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed
> > Content-Transfer-Encoding: 7bit
> >
> >
> > Hi,
> >
> > I have about 200 hosts on a local network.
> > Service detail shows things correctly, but host detail shows hosts = > up
> > while most of them are down.
> > I have set up only ping service for each host.
> > I suppose the solution is simple, but I'm not able to pinpoint = > the
> problem.
> > Thanks
> > Greg
> >
> >
> >
> >
> > --------------000504060808050902050806
> > Content-Type: text/plain;
> >  name=3D"myconfig.txt"
> > Content-Transfer-Encoding: 7bit
> > Content-Disposition: inline;
> >  filename=3D"myconfig.txt"
> >
> >
> > log_file=3D/usr/local/nagios/var/nagios.log
> > cfg_file=3D/usr/local/nagios/etc/checkcommands.cfg
> > cfg_file=3D/usr/local/nagios/etc/misccommands.cfg
> > cfg_file=3D/usr/local/nagios/etc/contactgroups.cfg
> > cfg_file=3D/usr/local/nagios/etc/contacts.cfg
> > cfg_file=3D/usr/local/nagios/etc/dependencies.cfg
> > cfg_file=3D/usr/local/nagios/etc/escalations.cfg
> > cfg_file=3D/usr/local/nagios/etc/hostgroups.cfg
> > cfg_file=3D/usr/local/nagios/etc/hosts.cfg
> > cfg_file=3D/usr/local/nagios/etc/services.cfg
> > cfg_file=3D/usr/local/nagios/etc/timeperiods.cfg
> > resource_file=3D/usr/local/nagios/etc/resource.cfg
> > status_file=3D/usr/local/nagios/var/status.log
> > nagios_user=3Dnagios
> > nagios_group=3Dnagios
> > check_external_commands=3D1
> > command_check_interval=3D1
> > command_file=3D/usr/local/nagios/var/rw/nagios.cmd
> > comment_file=3D/usr/local/nagios/var/comment.log
> > downtime_file=3D/usr/local/nagios/var/downtime.log
> > lock_file=3D/usr/local/nagios/var/nagios.lock
> > temp_file=3D/usr/local/nagios/var/nagios.tmp
> > log_rotation_method=3Dd
> > log_archive_path=3D/usr/local/nagios/var/archives
> > use_syslog=3D1
> > log_notifications=3D1
> > log_service_retries=3D0
> > log_host_retries=3D0
> > log_event_handlers=3D1
> > log_initial_states=3D0
> > log_external_commands=3D1
> > log_passive_service_checks=3D1
> > #global_host_event_handler=3Dsomecommand
> > #global_service_event_handler=3Dsomecommand
> > inter_check_delay_method=3Dn
> > service_interleave_factor=3Ds
> > max_concurrent_checks=3D10
> > service_reaper_frequency=3D1
> > sleep_time=3D1
> > service_check_timeout=3D60
> > host_check_timeout=3D30
> > event_handler_timeout=3D30
> > notification_timeout=3D30
> > ocsp_timeout=3D5
> > perfdata_timeout=3D5
> > retain_state_information=3D0
> > state_retention_file=3D/usr/local/nagios/var/status.sav
> > retention_update_interval=3D60
> > use_retained_program_state=3D0
> > interval_length=3D60
> > use_agressive_host_checking=3D0
> > execute_service_checks=3D1
> > accept_passive_service_checks=3D0
> > enable_notifications=3D1
> > enable_event_handlers=3D1
> > process_performance_data=3D0
> > #host_perfdata_command=3Dprocess-host-perfdata
> > #service_perfdata_command=3Dprocess-service-perfdata
> > obsess_over_services=3D0
> > #ocsp_command=3Dsomecommand
> > check_for_orphaned_services=3D1
> > check_service_freshness=3D1
> > freshness_check_interval=3D600
> > aggregate_status_updates=3D1
> > status_update_interval=3D15
> > enable_flap_detection=3D0
> > low_service_flap_threshold=3D5.0
> > high_service_flap_threshold=3D20.0
> > low_host_flap_threshold=3D5.0
> > high_host_flap_threshold=3D20.0
> > date_format=3Dus
> > illegal_object_name_chars=3D`~!$%^&*|'"<>?,()=3D
> > illegal_macro_output_chars=3D`~$&|'"<>
> > admin_email=3Dnagios
> > admin_pager=3Dpagenagios
> >
> >
> >
> > define host{
> > name generic-host ; The name of this host template - referenced in = > other
> host definitions, used for template recursion/resolution
> > notifications_enabled 0 ; Host notifications are enabled
> > event_handler_enabled 1 ; Host event handler is enabled
> > flap_detection_enabled 1 ; Flap detection is enabled
> > process_perf_data 1 ; Process performance data
> > retain_status_information 0 ; Retain status information across = > program
> restarts
> > retain_nonstatus_information 0 ; Retain non-status information = > across
> program restarts
> >
> > check_command check-host-alive
> > max_check_attempts 10
> > notification_interval 120
> > notification_period 24x7
> > notification_options n ;d,u,r
> >
> > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, = > JUST A
> TEMPLATE!
> > }
> >
> > define host{
> > use generic-host
> > host_name host-192.168.6.32
> > alias host-192.168.6.32
> > address 192.168.6.32
> > }
> >
> > define host{
> > use generic-host
> > host_name host-192.168.8.22
> > alias host-192.168.8.22
> > address 192.168.8.22
> > }
> >
> > ...
> >
> > # Generic service definition template
> > define service{
> > name generic-service ; The 'name' of this service template, = > referenced in
> other service definitions
> > active_checks_enabled 1 ; Active service checks are enabled
> > passive_checks_enabled 0 ; 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'
> > notifications_enabled 0 ; 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 0 ; Retain status information across = > program
> restarts
> > retain_nonstatus_information 0 ; Retain non-status information = > across
> program restarts
> >
> > service_description PING
> > is_volatile 0
> > check_period 24x7
> > max_check_attempts 3
> > normal_check_interval 5
> > retry_check_interval 1
> > contact_groups k3-admins
> > notification_interval 15
> > notification_period 24x7
> > notification_options n ;c,r
> > check_command check_ping!100.0,20%!500.0,60%
> >
> > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL = > SERVICE, JUST
> A TEMPLATE!
> > }
> >
> > define service{
> > use generic-service
> > host_name host-192.168.6.32
> > }
> >
> > define service{
> > use generic-service
> > host_name host-192.168.8.22
> > }
> >
> > ...
> >
> >
> > --------------000504060808050902050806--
> >
> >
> >
> >
> > -- __--__--
> >
> > Message: 4
> > Subject: Re: [Nagios-users] Compile Error with MySQL Support
> > From: Karl Latiss <karl at designit.com.au>
> > To: allan <allan at ht-tech.net>
> > Cc: Nagios-users at lists.sourceforge.net
> > Organization: design IT
> > Date: 23 Jun 2003 19:55:03 +1000
> >
> > On Sat, 2003-06-21 at 23:55, allan wrote:
> > > I am attempting to compile Nagios with complete mySQL = > support.  The
> swithces I am using are ...
> > >
> > >
> ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments = > --w
> ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime = > --with-mysql-
> inc=3D/usr/include/mysql --with-mysql-lib=3D/usr/lib/mysql
> > >
> > If you specify
> >
> > --with-mysql-xdata
> >
> > you don't need all the other --with-mysql stuff
> >
> > EXCEPT
> >
> > --with-mysql-lib=3D/usr/lib/mysql = > --with-mysql-inc=3D/usr/include/mysql
> >
> > This worked fine for me on RH7.3 and Nagios 1.0
> >
> > Karl.
> >
> > > I have installed the following mySQL Packages..
> > >
> > > mysql-3.23.54a-11
> > > mysql-devel-3.23.54a-11
> > > mysql-server-3.23.54a-11
> > >
> > > though, when I try to compile - I get the following = > error..
> > >
> > > *** MySQL library could not be located...*****************
> > >
> > > You chose to compile Nagios with MySQL support, but I was = > unable to
> locate the MySQL library on your system.  If the library is
> > > installed,  use the --with-mysql-lib and --with-mysql-inc = > arguments to
> specify the locations of the MySQL library and include files.
> > >
> > >
> > > I have the following mysqlclient files in ghe /usr/lib/mysql = > directory -
> > >
> > > /usr/lib/mysql/libmysqlclient.a
> /usr/lib/mysql/libmysqlclient.so.10.0.0
> /usr/lib/mysql/libmysqlclient_r.so.10
> > > /usr/lib/mysql/libmysqlclient.so     = > /usr/lib/mysql/libmysqlclient_r.a
> /usr/lib/mysql/libmysqlclient_r.so.10.0.0
> > > /usr/lib/mysql/libmysqlclient.so.10  = > /usr/lib/mysql/libmysqlclient_r.so
> > >
> > >
> > > Any ideas on how to get this to compile - would be = > appreciated.
> > >
> > > Thanks,
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU = > Hosting Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission!
> > > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS = > when
> reporting any issue.
> > > ::: Messages without supporting info will risk being sent to = > /dev/null
> > --
> > Karl Latiss <karl at designit.com.au>
> > design IT
> >
> >
> >
> > -- __--__--
> >
> > Message: 5
> > From: Marko Riedel <mriedel at neuearbeit.de>
> > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST)
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] ping does not recover
> >
> >
> > Hi folks,
> >
> > we have some machines that reboot during the night. Our PING = > service
> > goes critical during that time, as indeed it should.
> >
> > There is a problem with recovery however. Sometimes the service = > does
> > not recover until I manually schedule a check with the web = > interface.
> >
> > Here are my definitions:
> >
> > # Generic service definition template
> > define service{
> >         = > name    generic-service
> >         = > active_checks_enabled        &nbs= > p;  1
> >         = > passive_checks_enabled        &nb= > sp; 1
> >         = > parallelize_check         &n= > bsp;     1
> >         = > obsess_over_service         = >     1
> >         = > check_freshness         &nbs= > p;       0
> >         = > notifications_enabled        &nbs= > p;  0
> >         = > event_handler_enabled        &nbs= > p;  1
> >         = > flap_detection_enabled        &nb= > sp; 1
> >         = > process_perf_data         &n= > bsp;     1
> >         = > retain_status_information       1
> >         = > retain_nonstatus_information    1
> >
> >         = > register        0
> >         }
> >
> > define service{
> >         = > use           &nbs= > p;            = > ;     generic-service
> >         = > name           &nb= > sp;           &nbs= > p;    ping-service
> >         = > service_description         = >     PING
> >         = > is_volatile          &n= > bsp;          0
> >         = > check_period          &= > nbsp;         24x7
> >         = > max_check_attempts         &= > nbsp;    3
> >         = > normal_check_interval        &nbs= > p;  5
> >         = > retry_check_interval         = > ;   1
> >         = > contact_groups          = > ;        linux-admins
> >         = > notification_interval        &nbs= > p;  240
> >         = > notification_period         = >     24x7
> >         = > notification_options         = > ;   c,r
> >         = > check_command          = >          = > check_ping!100.0,20%!500.0,60%
> >         = > register           = > ;            = > 0
> >         }
> >
> >
> > define service{
> >         = > use           &nbs= > p;            = > ;     ping-service
> >         = > host_name          &nbs= > p;            = > host
> >
> > }
> >
> >
> > I'd appreciate any feedback you may have.
> >
> > Best regards,
> >
> > --
> > +------------------------------------------------------------+
> > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de |
> > | HREF=3D"http://www.geocities.com/markoriedelde/index.html">http://www.geo= > cities.com/markoriedelde/index.html     &nbs= > p;    |
> > +------------------------------------------------------------+
> >
> >
> > -- __--__--
> >
> > Message: 6
> > Subject: Re:  [Nagios-users] Fail error message
> > From: Karl DeBisschop <karl at debisschop.net>
> > To: "Hegedus, Ervin" <airween at amit.hu>
> > Cc: nagios-users at lists.sourceforge.net
> > Date: 23 Jun 2003 07:46:36 -0400
> >
> > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote:
> > > Hello,
> > >
> > > dear Karl,
> > > first: thank you for your reply.
> > >
> > > > Maybe the check_host is misconfigured? In that case, the = > service
> checks
> > > > would not be performed until the host came back up. Which = > it would not
> > > > be able to do until check_host_alive reports success.
> > > what do you mean 'check_host is misconfigured'?
> >
> > I mean that check_host_alive does not work for this host. Which you = > did
> > not mention in the email I was responding to, but you have now
> > confirmed.
> >
> > > look at this:
> > > monitor:~# grep check-host-alive = > /usr/local/nagios/etc/hosts.cfg
> > >         = > check_command          = > check-host-alive
> > >         = > check_command          = > check-host-alive
> > >         = > check_command          = > check-host-alive
> > >         check_command = > check-host-alive
> > >         check_command = > check-host-alive
> > > #       check_command = > check-host-alive
> > >         check_command = > check-host-alive
> > > check_command check-host-alive
> > >         check_command = > check-host-alive
> > >         check_command = > check-host-alive
> > >         check_command = > check-host-alive
> > >         check_command = > check-host-alive
> > >
> > > as you can see, there is many other host where we use
> > > check-host-alive command - there are works fine.
> > > the commented line is the w2k host, what gives back false = > alert.
> > >
> > > here is the relevant part of checkcommands.cfg:
> > >
> > > # 'check-host-alive' command definition
> > > define command{
> > >         = > command_name    check-host-alive
> > >         = > command_line    $USER1$/check_ping -H
> > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
> > >         }
> > >
> > > i use _only_ this command, i didn't redefined this command
> > > anywhere...
> > >
> > > in my previous mail i attached a sample, where i tested = > the
> > > command_line line - that works with this host also.
> >
> > I don't see any problems with your command definition. I would = > examine
> > the host definition very carefully to if there are any typos there = > that
> > might affect how the host address is passed to the host-check = > command.
> >
> > Once you fix the host check and uncomeent it, the problem you = > described
> > (service not being tested) will go away.
> >
> > --
> > Karl
> >
> >
> >
> > -- __--__--
> >
> > Message: 7
> > Date: Mon, 23 Jun 2003 14:24:01 +0200
> > From: "Fallsen, Tommy" = > <Tommy.Fallsen at kongsberg.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Subject: [Nagios-users] Return code of 139 out of bound and other = > errors
> >
> > This is a multi-part message in MIME format.
> >
> > ------_=3D_NextPart_001_01C33982.53FAE42C
> > Content-Type: text/plain; charset=3D"us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> >
> > Hi
> > I get these error sometimes: cannot map tcp for protocol setting, = > Return
> > code of 139 out of bound and state UNKNOWN on some services.
> > The checks works just fine at first and this just suddenly = > happends. Any
> > settings that need adjusting?=3D20
> > I must restart nagios to get the checks working again.
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Tommy Fallsen System Administrator=3D20
> > Kongsberg Defence & Aerospace
> > Email: tommyf at kongsberg.com
> > TEL: +47 32287783
> > WEB: HREF=3D"http://www.kongsberg.com/eng/kog/">http://www.kongsberg.com/eng/k= > og/
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > "UNIX is an operating system, OS/2 is half an operating = > system,=3D20
> > Windows is a shell, and DOS is a boot partition = > virus."=3D20
> > - Peter H. Coffin .=3D20
> >
> >
> > =3D20
> >
> >
> >
> > = > ********************************************************************** > > > This email and any files transmitted with it are confidential = > and
> > intended solely for the use of the individual or entity to whom = > they
> > are addressed. If you have received this email in error please = > notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept = > by
> > MAILsweeper for the presence of computer viruses.
> >
> > Best regards,
> > Kongsberg Gruppen
> > = > ********************************************************************** > > >
> >
> > ------_=3D_NextPart_001_01C33982.53FAE42C
> > Content-Type: text/html; charset=3D"us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > 3.2//EN">
> > <HTML>
> > <HEAD>
> > <META HTTP-EQUIV=3D3D"Content-Type" = > CONTENT=3D3D"text/html;
> charset=3D3Dus-ascii">
> > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > Exchange Server version
> 6.0.6249.1">
> > <TITLE>Return code of 139 out of bound and other = > errors</TITLE>
> > </HEAD>
> > <BODY>
> > <!-- Converted from text/rtf format -->
> >
> > <P><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">Hi</FONT>
> >
> > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">I get = > these error sometimes: cannot map
> t=3D
> > cp for protocol setting, Return code of 139 out of bound and state = > UNKNOWN
> =3D
> > on some services.</FONT></P>
> >
> > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">The = > checks works just fine at first and
> th=3D
> > is just suddenly happends. Any settings that need adjusting? = > </FONT>
> >
> > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">I must = > restart nagios to get the checks
> w=3D
> > orking again.</FONT>
> > </P>
> > <BR>
> > <BR>
> >
> > <P><FONT SIZE=3D3D2
> FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D= >
> > ~~~~~~~~~~~~~~~</FONT>
> >
> > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">Tommy = > Fallsen&nbsp;&nbsp; System
> Administ=3D
> > rator </FONT>
> >
> > <BR><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">Kongsberg Defence &amp; = > Aerospace</FONT>
> >
> > = > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > p;nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > p;&nbsp;&nbsp; = > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > <FONT SIZE=3D3D2
> FA=3D
> > CE=3D3D"Arial">Email: = > tommyf at kongsberg.com</FONT>
> >
> > = > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > p;nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > p;&nbsp;&nbsp; = > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > <FONT SIZE=3D3D2
> FA=3D
> > CE=3D3D"Arial">TEL: +47 32287783</FONT>
> >
> > = > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > p;nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > p;&nbsp;&nbsp; = > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > <FONT SIZE=3D3D2
> FA=3D
> > CE=3D3D"Arial">WEB: </FONT><A
> HREF=3D3D" HREF=3D"http://www.kongsberg.com/eng/kog/">http://www.kongsberg.com/eng/k= > og/"><U><=3D
> > FONT COLOR=3D3D"#0000FF" SIZE=3D3D2
> FACE=3D3D"Arial"> HREF=3D"http://www.kongsberg.com/eng=3D">http://www.kongsberg.com/eng=3D<= > /A>
> > /kog/</FONT></U></A>
> >
> > <BR><FONT SIZE=3D3D2
> FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D= >
> > ~~~~~~~~~~~~~~~</FONT>
> >
> > <BR><FONT FACE=3D3D"Times New = > Roman">&quot;UNIX is an operating system, OS/2
> =3D
> > is half an operating system, </FONT>
> >
> > <BR><FONT FACE=3D3D"Times New Roman">Windows = > is a shell, and DOS is a boot
> pa=3D
> > rtition virus.&quot; </FONT>
> >
> > <BR><I><FONT FACE=3D3D"Times New = > Roman">&#8212; Peter H. Coffin
> .</FONT></I><=3D
> > FONT FACE=3D3D"Times New Roman"> </FONT>
> > </P>
> > <BR>
> >
> > <P><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">&nbsp;</FONT>
> > </P>
> >
> > <FONT SIZE=3D3D3><BR>
> > <BR>
> > = > **********************************************************************<= > ;BR>
> > This email and any files transmitted with it are confidential = > and<BR>
> > intended solely for the use of the individual or entity to whom = > they<BR>
> > are addressed. If you have received this email in error please = > notify<BR>
> > the system manager.<BR>
> > <BR>
> > This footnote also confirms that this email message has been swept = > by<BR>
> > MAILsweeper for the presence of computer viruses.<BR>
> > <BR>
> > Best regards,<BR>
> > Kongsberg Gruppen<BR>
> > = > **********************************************************************<= > ;BR>
> > </FONT>
> > </BODY>
> > </HTML>
> > ------_=3D_NextPart_001_01C33982.53FAE42C--
> >
> >
> > -- __--__--
> >
> > Message: 8
> > Subject: RE: [Nagios-users] nagiosbounce.sh
> > Date: Mon, 23 Jun 2003 08:19:01 -0500
> > From: "Martin, Jeremy" <jmartin at gsi-kc.com>
> > To: <nagios-users at lists.sourceforge.net>
> >
> >
> > > Hi Jeremy,
> > >=3D20
> > > Technically I don't see any problems with this, but it = > does=3D20
> > > beg the question - why do you need to do this?
> > >=3D20
> > > Linux is not the environment to practise the ctrl-alt-del = > school of=3D20
> > > networking. :-)
> >
> > Hehe. I've just been noticing that about once a week there are = > extra =3D
> > Nagios processes still running after I stop Nagios. I could = > probably =3D
> > just run the script once a week, or just manually when I make = > config =3D
> > changes and restart it, but I just hate getting multiple "Host = > UP" pages =3D
> > in the middle of the night due to rogue Nagios processes :-)
> >
> > Jeremy
> >
> >
> > -- __--__--
> >
> > Message: 9
> > From: Jasmine <jasmine.chua at securecirt.com>
> > To: nagios-users at lists.sourceforge.net
> > Date: Mon, 23 Jun 2003 21:40:55 +0800
> > Subject: [Nagios-users] passive host checks.
> >
> > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi
> >
> > Hi I understand that passive host checks comes only in the next = > release
> of=3D
> > =3D20
> > Nagios, which I am really looking forward to!=3D20
> > I am just wondering if anyone has a temporarily solution to = > overcome this
> a=3D
> > t=3D20
> > the moment? I want the central host to be able to alert that remote = > hosts
> a=3D
> > re=3D20
> > down and not assumed them to be up. Any suggestions what I can do? = > Or
> is=3D20
> > there a plugin available already just that I am not aware of?
> >
> >
> >
> > Thanks lots!
> >
> > Jasmine Chua
> > =3D2D----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H
> > SNZ5xWITl2aBeeMyfn0T8iM=3D3D
> > =3D3DPtEn
> > =3D2D----END PGP SIGNATURE-----
> >
> >
> >
> > -- __--__--
> >
> > Message: 10
> > From: "Jason Lancaster" = > <jlancaster at affinity.com>
> > To: "Jasmine" <jasmine.chua at securecirt.com>,
> >    <nagios-users at lists.sourceforge.net>
> > Subject: Re: [Nagios-users] passive host checks.
> > Date: Mon, 23 Jun 2003 12:09:57 -0400
> >
> > While this would be really, really nice (the whole idea of my = > distributed
> > environment is to have servers behind firewalls sending statistics = > to the
> > central server) it is hard to develop a work-around because Nagios = > cannot
> > process any type of host-check through the external commands file. = > The
> only
> > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. = > Perhaps
> someone
> > can hack this or figure out a way to disguise a host-check as a
> > service-check...
> >
> > I'd like to see this too, though!
> >
> > -Jason
> > ----- Original Message -----
> > From: "Jasmine" <jasmine.chua at securecirt.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Sent: Monday, June 23, 2003 9:40
> > Subject: [Nagios-users] passive host checks.
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi
> >
> > Hi I understand that passive host checks comes only in the next = > release of
> > Nagios, which I am really looking forward to!
> > I am just wondering if anyone has a temporarily solution to = > overcome this
> at
> > the moment? I want the central host to be able to alert that remote = > hosts
> > are
> > down and not assumed them to be up. Any suggestions what I can do? = > Or is
> > there a plugin available already just that I am not aware of?
> >
> >
> >
> > Thanks lots!
> >
> > Jasmine Chua
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H
> > SNZ5xWITl2aBeeMyfn0T8iM=3D
> > =3DPtEn
> > -----END PGP SIGNATURE-----
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission!
> > INetU Dedicated Managed Hosting
HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: 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: 11
> > Date: 23 Jun 2003 16:28:35 -0000
> > To: Nagios-users at lists.sourceforge.net
> > From: manny <manny12602 at msn.com>
> > Organization: squareBOX technologies discussion forums
> > Subject: [Nagios-users] Error During Installation
> >
> >
> > I am running Red Hat linux 9.x and during the compaling porocess i = > get the
> following error.
> >
> > configure:error: no acceptable cc found in $PATH
> >
> > Does any one have any clues as how i can work behond this.
> >
> > Thanks
> >
> >
> > -- __--__--
> >
> > Message: 12
> > Date: Mon, 23 Jun 2003 12:09:06 -0500
> > From: "Chad Miller" = > <chad.miller at mainstream-tech.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Subject: [Nagios-users] Mail notification
> >
> > This is a multi-part message in MIME format.
> >
> > ------_=3D_NextPart_001_01C339AA.27A10656
> > Content-Type: text/plain;
> > charset=3D"iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > How would I configure nagios to send out an email every hour that = > shows =3D
> > my Disk utilization?
> > =3D20
> > Chad M.
> >
> > ------_=3D_NextPart_001_01C339AA.27A10656
> > Content-Type: text/html;
> > charset=3D"iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 = > Transitional//EN">
> > <HTML><HEAD><TITLE>Message</TITLE>
> > <META content=3D3D"text/html; charset=3D3Diso-8859-1" = > =3D
> > http-equiv=3D3DContent-Type>
> > <META content=3D3D"MSHTML 5.00.3516.2800" = > name=3D3DGENERATOR></HEAD>
> > <BODY>
> > <DIV><FONT face=3D3DArial size=3D3D2><SPAN = > class=3D3D732510717-23062003>How =3D
> > would I=3D20
> > configure nagios to send out an email every hour that shows my = > Disk=3D20
> > utilization?</SPAN></FONT></DIV>
> > <DIV><FONT face=3D3DArial size=3D3D2><SPAN=3D20
> > = > class=3D3D732510717-23062003></SPAN></FONT>&nbsp;</= > DIV>
> > <DIV><FONT face=3D3DArial size=3D3D2><SPAN = > class=3D3D732510717-23062003>Chad=3D20
> > = > M.</SPAN></FONT></DIV></BODY></HTML>
> > =3D00
> > ------_=3D_NextPart_001_01C339AA.27A10656--
> >
> >
> > -- __--__--
> >
> > Message: 13
> > Date: Mon, 23 Jun 2003 12:23:35 -0500
> > From: "Chad Miller" = > <chad.miller at mainstream-tech.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Subject: [Nagios-users] Mail help
> >
> > Sorry for the blank entry.
> >
> > I'm trying to get nagios to email me every time it does a disk = > check.  =3D
> > What do I need to do to configure this properly?
> >
> > Chad M.
> >
> >
> > -- __--__--
> >
> > Message: 14
> > From: "Wilhelm, John" = > <john.wilhelm at frontiercorp.com>
> > To: "'nagios-users at lists.sourceforge.net'"
> > <nagios-users at lists.sourceforge.net>
> > Cc: "'nagios at nagios.org'" <nagios at nagios.org>
> > Date: Mon, 23 Jun 2003 13:29:37 -0400
> > Subject: [Nagios-users] Help - losing my disable notifications and = > disable
> services setti
> >  ngs when Nagios is restarted
> >
> > This message is in MIME format. Since your mail reader does not = > understand
> > this format, some or all of this message may not be legible.
> >
> > ------_=3D_NextPart_001_01C339AD.04DDD2FE
> > Content-Type: text/plain;
> > charset=3D"iso-8859-1"
> >
> >
> > Hello,
> >
> > I am currently using Nagios 1.0.  I have discovered that when = > I restart
> > Nagios, my "disabled service checks" and "disabled = > notifications" are not
> > retained across the restart.  I have to disable everything = > when I restart
> > Nagios.
> >
> > Is there any configuration that I have missed?
> >
> > retain_state_information=3D1
> > use_retained_program_state=3D1
> >
> > John Wilhelm
> >
> >
> > ------_=3D_NextPart_001_01C339AD.04DDD2FE
> > Content-Type: text/html;
> > charset=3D"iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > 3.2//EN">
> > <HTML>
> > <HEAD>
> > <META HTTP-EQUIV=3D3D"Content-Type" = > CONTENT=3D3D"text/html; =3D
> > charset=3D3Diso-8859-1">
> > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > Exchange Server version =3D
> > 5.5.2655.35">
> > <TITLE>Help - losing my disable notifications and disable = > services =3D
> > settings when Nagios is restarted</TITLE>
> > </HEAD>
> > <BODY>
> > <BR>
> >
> > <P><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">Hello,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">I am = > currently using Nagios 1.0.&nbsp; =3D
> > I have discovered that when I restart Nagios, my &quot;disabled = > service =3D
> > checks&quot; and &quot;disabled notifications&quot; are = > not retained =3D
> > across the restart.&nbsp; I have to disable everything when I = > restart =3D
> > Nagios.</FONT></P>
> >
> > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">Is there = > any configuration that I have =3D
> > missed?</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">retain_state_information=3D3D1</FONT>= >
> > <BR><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">use_retained_program_state=3D3D1</FONT&g= > t;
> > </P>
> >
> > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">John = > Wilhelm</FONT>
> > </P>
> >
> > </BODY>
> > </HTML>
> > ------_=3D_NextPart_001_01C339AD.04DDD2FE--
> >
> >
> > -- __--__--
> >
> > Message: 15
> > From: Jasmine <jasmine.chua at securecirt.com>
> > To: "Chad Miller" = > <chad.miller at mainstream-tech.com>
> > Subject: Re: [Nagios-users] Mail notification
> > Date: Tue, 24 Jun 2003 01:37:50 +0800
> > Cc: nagios-users at lists.sourceforge.net
> >
> > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi
> >
> > You can try setting notification_interval to 60 in your service
> definition=3D
> > =3D20
> > template for "disk utilization" this is provided your = > interval_length is
> se=3D
> > t=3D20
> > to 60secs in nagios.cfg.=3D20
> >
> > On Tuesday 24 June 2003 01:09, Chad Miller wrote:
> > > How would I configure nagios to send out an email every hour = > that shows
> my
> > > Disk utilization?
> > >
> > > Chad M.
> >
> > =3D2D --=3D20
> > Jasmine Chua
> > =3D2D----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E
> > ze8iMlz0aKd4cwADyckaBpk=3D3D
> > =3D3Dh3sl
> > =3D2D----END PGP SIGNATURE-----
> >
> >
> >
> > -- __--__--
> >
> > Message: 16
> > Subject: RE: [Nagios-users] Mail help
> > Date: Mon, 23 Jun 2003 12:41:56 -0500
> > From: "Marc Powell" <mpowell at ena.com>
> > To: "Chad Miller" = > <chad.miller at mainstream-tech.com>,
> > <nagios-users at lists.sourceforge.net>
> >
> > You could use OCSP but that's probably overkill. My suggestion = > would be
> > to write a small wrapper script for your disk-check command that = > has the
> > logic that you want.
> >
> > ---
> > Marc
> >
> > > -----Original Message-----
> > > From: Chad Miller [ HREF=3D"mailto:chad.miller at mainstream-tech.com">mailto:chad.miller at mainst= > ream-tech.com]
> > > Sent: Monday, June 23, 2003 12:24 PM
> > > To: nagios-users at lists.sourceforge.net
> > >=3D20
> > > Sorry for the blank entry.
> > >=3D20
> > > I'm trying to get nagios to email me every time it does a disk = > check.
> > > What do I need to do to configure this properly?
> > >=3D20
> > > Chad M.
> > >=3D20
> > >=3D20
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU = > Hosting
> > Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% = > Monthly
> > Commission!
> > > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: 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: 17
> > From: Jasmine <jasmine.chua at securecirt.com>
> > To: "Wilhelm, John" = > <john.wilhelm at frontiercorp.com>
> > Subject: Re: [Nagios-users] Help - losing my disable notifications = > and
> disable services setti ngs when Nagios is restarted
> > Date: Tue, 24 Jun 2003 02:02:46 +0800
> > Cc: nagios-users at lists.sourceforge.net
> >
> > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi
> >
> > That means in your configuration of your services you have = > disabled
> them.=3D20
> > Re-check your config files again=3D20
> >
> > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > Hello,
> > >
> > > I am currently using Nagios 1.0.  I have discovered that = > when I restart
> > > Nagios, my "disabled service checks" and = > "disabled notifications" are
> not
> > > retained across the restart.  I have to disable = > everything when I
> restart
> > > Nagios.
> > >
> > > Is there any configuration that I have missed?
> > >
> > > retain_state_information=3D3D1
> > > use_retained_program_state=3D3D1
> > >
> > > John Wilhelm
> >
> > =3D2D --=3D20
> > Jasmine Chua
> > =3D2D----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW
> > KHPMF8hQJp0XQctVNBb1Dek=3D3D
> > =3D3DUIkG
> > =3D2D----END PGP SIGNATURE-----
> >
> >
> >
> > -- __--__--
> >
> > Message: 18
> > From: "Dominik L. Borkowski" <dom at vbi.vt.edu>
> > To: nagios-users at lists.sourceforge.net
> > Date: Mon, 23 Jun 2003 14:13:39 -0400
> > Subject: [Nagios-users] nrpe service dependancies
> >
> > Hey,
> >
> > I've been reading the documentation, experimenting, and still no = > luck. I
> was
> > wondering, is it possible to 'easily' declare service dependancies = > in this
> > scenario:
> >
> > - I have over 20 linux servers, each one has nrpe installed
> > - in addition, there are 5+ w2k servers with nrpe
> > - each of those 20 servers has currently 6 checks done via = > nrpe.
> > - the nrpe checks are declared using host groups
> >
> > Of course, if nrpe does not respond, each failed service check via = > nrpe
> fails
> > also. So often times, if the server is under a heavy load, or nrpe = > has
> > problems, I get 6 notifications for each server.
> >
> > Now, is there an easy way to declare dependancies, that would = > say:
> >
> > - if nrpe does not respond on host X, do not perform any checks for = > the
> given
> > host X. Do the same for each host in <hostgroup>. -
> >
> > Any suggestions would be appreciated.
> >
> > PS) I've already tried using * for hosts/and or services in the = > dependancy
> > declarations. I ended up with a "dependancy hell", where = > with 20 hosts and
> 6
> > services I had over 120 dependancies. service Y would be dependant = > on each
> > service of every host. Maybe I'm doing something wrong...
> >
> >
> > --
> > Dominik L. Borkowski - Systems Administrator
> > Virginia Bioinformatics Institute - www.vbi.vt.edu
> >
> >
> >
> > -- __--__--
> >
> > Message: 19
> > From: Skip Montanaro <skip at pobox.com>
> > Date: Mon, 23 Jun 2003 13:25:34 -0500
> > To: nagios-users at lists.sourceforge.net
> > Reply-To: skip at pobox.com
> > Subject: [Nagios-users] check_cluster service - what's the correct = > "host"?
> >
> > I implemented a simple DNS cluster check this morning.  My = > services file
> > defines a variant of my dns-service:
> >
> >     define service{
> >           &nb= > sp; = > use           &nbs= > p;        dns-service
> >
> >           &nb= > sp; = > name           &nb= > sp;       dns-cluster-service
> >           &nb= > sp; service_description    DNSC
> >           &nb= > sp; = > is_volatile          &n= > bsp; 0
> >           &nb= > sp; max_check_attempts     3
> >           &nb= > sp; normal_check_interval  5
> >           &nb= > sp; retry_check_interval   1
> >           &nb= > sp; notification_interval  120
> >           &nb= > sp; check_command
> check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg
> >
> >           &nb= > sp; = > register           = > ;    0
> >           &nb= > sp; }
> >
> >     define service{
> >           &nb= > sp; = > use           &nbs= > p;        dns-cluster-service
> >           &nb= > sp; = > host_name          &nbs= > p;   ns
> >           &nb= > sp; contact_groups         = > skip
> >           &nb= > sp; notification_period    red
> >           &nb= > sp; }
> >
> > and my dnscluster.cfg file identifies the elements of the = > cluster:
> >
> >     ns;DNS Service
> >     drjimmy;DNS Service
> >     iris;DNS Service
> >     relay;DNS Service
> >
> > This seems to work fine, but it just doesn't seem right that I need = > to
> > associate it with a real host.  Is there some way to define a = > virtual host
> > which really doesn't exist (is never checked for being up) which = > could be
> > associated with cluster services?
> >
> > Thx,
> >
> > --
> > Skip Montanaro
> > skip at pobox.com
> > Got spam? HREF=3D"http://spambayes.sf.net/">http://spambayes.sf.net/
> >
> >
> > -- __--__--
> >
> > Message: 20
> > From: "Wilhelm, John" = > <john.wilhelm at frontiercorp.com>
> > To: "'nagios at nagios.org'" <nagios at nagios.org>,
> >    "'jasmine.chua at securecirt.com'" = > <jasmine.chua at securecirt.com>
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] Help - losing my disable notifications = > and dis
> > able services setti ngs when Nagios is restarted
> > Date: Mon, 23 Jun 2003 14:32:01 -0400
> >
> > This message is in MIME format. Since your mail reader does not = > understand
> > this format, some or all of this message may not be legible.
> >
> > ------_=3D_NextPart_001_01C339B5.BCF3069A
> > Content-Type: text/plain;
> > charset=3D"iso-8859-1"
> >
> > Hello Jasmine,
> >
> > Thanks for the response.  You are right,  I had the
> > "retain_nonstatus_information" set to 0.  If this is = > not set to 1, when
> > nagios restarts, all disabled settings are lost.
> >
> > Thanks again,
> > John Wilhelm
> >
> > -----Original Message-----
> > From: Jasmine [ HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > t.com]
> > Sent: Monday, June 23, 2003 2:03 PM
> > To: Wilhelm, John
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Help - losing my disable notifications = > and
> > disable services setti ngs when Nagios is restarted
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi
> >
> > That means in your configuration of your services you have disabled = > them.
> > Re-check your config files again
> >
> > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > Hello,
> > >
> > > I am currently using Nagios 1.0.  I have discovered that = > when I restart
> > > Nagios, my "disabled service checks" and = > "disabled notifications" are
> not
> > > retained across the restart.  I have to disable = > everything when I
> restart
> > > Nagios.
> > >
> > > Is there any configuration that I have missed?
> > >
> > > retain_state_information=3D1
> > > use_retained_program_state=3D1
> > >
> > > John Wilhelm
> >
> > - --
> > Jasmine Chua
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW
> > KHPMF8hQJp0XQctVNBb1Dek=3D
> > =3DUIkG
> > -----END PGP SIGNATURE-----
> >
> > ------_=3D_NextPart_001_01C339B5.BCF3069A
> > Content-Type: text/html;
> > charset=3D"iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > 3.2//EN">
> > <HTML>
> > <HEAD>
> > <META HTTP-EQUIV=3D3D"Content-Type" = > CONTENT=3D3D"text/html; =3D
> > charset=3D3Diso-8859-1">
> > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > Exchange Server version =3D
> > 5.5.2655.35">
> > <TITLE>RE: [Nagios-users] Help - losing my disable = > notifications and =3D
> > disable services setti ngs when Nagios is = > restarted</TITLE>
> > </HEAD>
> > <BODY>
> >
> > <P><FONT SIZE=3D3D2>Hello Jasmine,</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>Thanks for the response.&nbsp; = > You are right,&nbsp; I =3D
> > had the &quot;retain_nonstatus_information&quot; set to = > 0.&nbsp; If =3D
> > this is not set to 1, when nagios restarts, all disabled settings = > are =3D
> > lost.</FONT></P>
> >
> > <P><FONT SIZE=3D3D2>Thanks again,</FONT>
> > <BR><FONT SIZE=3D3D2>John Wilhelm</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>-----Original = > Message-----</FONT>
> > <BR><FONT SIZE=3D3D2>From: Jasmine [<A =3D
> > HREF=3D3D" HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > t.com"> HREF=3D"mailto:jasmine.chua at secureci=3D">mailto:jasmine.chua at secureci=3D<= > /A>
> > rt.com</A>]</FONT>
> > <BR><FONT SIZE=3D3D2>Sent: Monday, June 23, 2003 2:03 = > PM</FONT>
> > <BR><FONT SIZE=3D3D2>To: Wilhelm, John</FONT>
> > <BR><FONT SIZE=3D3D2>Cc: = > nagios-users at lists.sourceforge.net</FONT>
> > <BR><FONT SIZE=3D3D2>Subject: Re: [Nagios-users] Help - = > losing my disable =3D
> > notifications and</FONT>
> > <BR><FONT SIZE=3D3D2>disable services setti ngs when = > Nagios is =3D
> > restarted</FONT>
> > </P>
> > <BR>
> >
> > <P><FONT SIZE=3D3D2>-----BEGIN PGP SIGNED = > MESSAGE-----</FONT>
> > <BR><FONT SIZE=3D3D2>Hash: SHA1</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>Hi</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>That means in your configuration of = > your services you =3D
> > have disabled them. </FONT>
> > <BR><FONT SIZE=3D3D2>Re-check your config files again = > </FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>On Tuesday 24 June 2003 01:29, = > Wilhelm, John =3D
> > wrote:</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; Hello,</FONT>
> > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; I am currently using = > Nagios 1.0.&nbsp; I have =3D
> > discovered that when I restart</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; Nagios, my = > &quot;disabled service checks&quot; =3D
> > and &quot;disabled notifications&quot; are = > not</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; retained across the = > restart.&nbsp; I have to =3D
> > disable everything when I restart</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; Nagios.</FONT>
> > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; Is there any = > configuration that I have =3D
> > missed?</FONT>
> > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; = > retain_state_information=3D3D1</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; = > use_retained_program_state=3D3D1</FONT>
> > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > <BR><FONT SIZE=3D3D2>&gt; John = > Wilhelm</FONT>
> > </P>
> >
> > <P><FONT SIZE=3D3D2>- -- </FONT>
> > <BR><FONT SIZE=3D3D2>Jasmine Chua</FONT>
> > <BR><FONT SIZE=3D3D2>-----BEGIN PGP = > SIGNATURE-----</FONT>
> > <BR><FONT SIZE=3D3D2>Version: GnuPG v1.2.2 = > (GNU/Linux)</FONT>
> > </P>
> >
> > <P><FONT =3D
> > = > SIZE=3D3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IAC= > gjKr=3D
> > W</FONT>
> > <BR><FONT = > SIZE=3D3D2>KHPMF8hQJp0XQctVNBb1Dek=3D3D</FONT>
> > <BR><FONT SIZE=3D3D2>=3D3DUIkG</FONT>
> > <BR><FONT SIZE=3D3D2>-----END PGP = > SIGNATURE-----</FONT>
> > </P>
> >
> > </BODY>
> > </HTML>
> > ------_=3D_NextPart_001_01C339B5.BCF3069A--
> >
> >
> > -- __--__--
> >
> > Message: 21
> > Date: Mon, 23 Jun 2003 21:02:11 +0200
> > From: "Hegedus, Ervin" <airween at amit.hu>
> > To: Karl DeBisschop <karl at debisschop.net>
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Fail error message - more interesting
> >
> > Hello,
> >
> > here is a new, interesting problem.
> >
> > okay, the monitoring of that w2k host was resolved - that host = > is
> > an other city, than where i work. that network connects to me
> > trough VPN. i also monitoring the "other site" VPN = > router.
> >
> > Nagios send me an alert message, VPN router is unreacheable. = > the
> > problem was in network, and that stayed up just a few minutes.
> >
> > but.
> >
> > after this alert, this w2k host - and only this host, other w2k
> > hosts are goods in Nagios, in that network - is also in alert = > state.
> > since 4 hours...
> >
> >
> > i don't understand this.
> > how can i debug this state? how can i run Nagios with higher = > log
> > facility?
> > has somebody some good think? :)
> >
> >
> >
> > thank you:
> > airween
> >
> >
> > -- __--__--
> >
> > Message: 22
> > From: "Jason Lancaster" = > <jlancaster at affinity.com>
> > To: "Marc Powell" <mpowell at ena.com>,
> >    "Chad Miller" = > <chad.miller at mainstream-tech.com>,
> >    <nagios-users at lists.sourceforge.net>
> > Subject: Re: [Nagios-users] Mail help
> > Date: Mon, 23 Jun 2003 15:05:26 -0400
> >
> > All event handlers and notifications run with the assumption that a = > state
> > has changed. It's likely not going to change in your instance, = > therefore,
> > I'd write a new check-disk script to email you the output as well = > as
> > printing the output. You could also follow Marc's idea by writing = > a
> program
> > that parses ocsp output looking for specific events and notifying = > you
> > accordingly.
> >
> > -Jason
> >
> > ----- Original Message -----
> > From: "Marc Powell" <mpowell at ena.com>
> > To: "Chad Miller" = > <chad.miller at mainstream-tech.com>;
> > <nagios-users at lists.sourceforge.net>
> > Sent: Monday, June 23, 2003 13:41
> > Subject: RE: [Nagios-users] Mail help
> >
> >
> > You could use OCSP but that's probably overkill. My suggestion = > would be
> > to write a small wrapper script for your disk-check command that = > has the
> > logic that you want.
> >
> > ---
> > Marc
> >
> > > -----Original Message-----
> > > From: Chad Miller [
HREF=3D"mailto:chad.miller at mainstream-tech.com">mailto:chad.miller at mainst= > ream-tech.com]
> > > Sent: Monday, June 23, 2003 12:24 PM
> > > To: nagios-users at lists.sourceforge.net
> > >
> > > Sorry for the blank entry.
> > >
> > > I'm trying to get nagios to email me every time it does a disk = > check.
> > > What do I need to do to configure this properly?
> > >
> > > Chad M.
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU = > Hosting
> > Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% = > Monthly
> > Commission!
> > > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, 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: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission!
> > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: 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: 23
> > Subject: RE: [Nagios-users] Mail notification
> > Date: Mon, 23 Jun 2003 14:23:25 -0500
> > From: "Carroll, Jim P [Contractor]" = > <jcarro10 at sprintspectrum.com>
> > To: "Jasmine" <jasmine.chua at securecirt.com>,
> >    "Chad Miller" = > <chad.miller at mainstream-tech.com>
> > Cc: <nagios-users at lists.sourceforge.net>
> >
> > I think that approach would only send a notification if there's = > a
> > warning/critical status.  I think Chad wants to get a report = > every
> > hour, regardless.
> >
> > Chad, you could simply try running the command that Nagios = > runs,
> > but run it from a crontab every hour and pipe the output to = > mail.
> >
> > jc
> >
> >
> > > -----Original Message-----
> > > From: Jasmine [ HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > t.com]
> > > Sent: Monday, June 23, 2003 12:38 PM
> > > To: Chad Miller
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Mail notification
> > >=3D20
> > >=3D20
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >=3D20
> > > Hi
> > >=3D20
> > > You can try setting notification_interval to 60 in = > your=3D20
> > > service definition=3D20
> > > template for "disk utilization" this is provided = > your=3D20
> > > interval_length is set=3D20
> > > to 60secs in nagios.cfg.=3D20
> > >=3D20
> > > On Tuesday 24 June 2003 01:09, Chad Miller wrote:
> > > > How would I configure nagios to send out an email = > every=3D20
> > > hour that shows my
> > > > Disk utilization?
> > > >
> > > > Chad M.
> > >=3D20
> > > - --=3D20
> > > Jasmine Chua
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >=3D20
> > > = > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E
> > > ze8iMlz0aKd4cwADyckaBpk=3D3D
> > > =3D3Dh3sl
> > > -----END PGP SIGNATURE-----
> > >=3D20
> > >=3D20
> > >=3D20
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An = > INetU=3D20
> > > Hosting Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% = > Monthly=3D20
> > > Commission!
> > > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and = > OS=3D20
> > > when reporting any issue.=3D20
> > > ::: Messages without supporting info will risk being sent to = > /dev/null
> > >=3D20
> >
> >
> > -- __--__--
> >
> > Message: 24
> > Date: Mon, 23 Jun 2003 15:48:18 -0400
> > To: "Carroll, Jim P [Contractor]" = > <jcarro10 at sprintspectrum.com>,
> >  "Jasmine" <jasmine.chua at securecirt.com>,
> >  "Chad Miller" = > <chad.miller at mainstream-tech.com>
> > From: Rob Nelson <rob at capband.net>
> > Subject: RE: [Nagios-users] Mail notification
> > Cc: <nagios-users at lists.sourceforge.net>
> >
> >
> > >I think that approach would only send a notification if there's = > a
> > >warning/critical status.  I think Chad wants to get a = > report every
> > >hour, regardless.
> > >
> > >Chad, you could simply try running the command that Nagios = > runs,
> > >but run it from a crontab every hour and pipe the output to = > mail.
> >
> > If you really want Nagios to do it, so that you can disable it via = > the web
> > page, set the "low" threshold to larger than your hard = > drive, so it will
> > always be in warn/crit. Defaults to resends every 2 hours.
> >
> >
> > Rob Nelson
> > Network Administrator, Capitol Broadband
> > C: 919-369-1874
> > rob at capband.net
> >
> >
> >
> > -- __--__--
> >
> > Message: 25
> > Reply-To: <mikec at balmy.net>
> > From: "Michael Carpenter" <mikec at balmy.net>
> > To: <nagios-users at sourceforge.net>
> > Date: Mon, 23 Jun 2003 15:27:31 -0500
> > Subject: [Nagios-users] NSCA and syslog-ng question
> >
> > This is a multi-part message in MIME format.
> >
> > ------=3D_NextPart_000_0009_01C3399B.F6747FD0
> > Content-Type: text/plain;
> > charset=3D"us-ascii"
> > Content-Transfer-Encoding: 7bit
> >
> > I am very new at Nagios and have a question regarding the NSCA = > extra and
> > using it with syslog-ng.
> >
> > I have downloaded and complied the nsca, send-nsca, and the = > mcrypt
> > stuff.  I have edited the config files.  My issue is that = > my loghost is
> > also my nagios box.  In syslog-ng.conf do I need another = > source line
> > other than "source net { udp();};?  I also have the = > nagios.pipe
> > configured and I can see messages entering the pipe, and sitting = > there
> > for a time period.then they clear.
> >
> > Also, how do I configure Nagios to use the information coming from = > the
> > pipe.
> >
> > Thanks in advance.
> >
> > Mike
> >
> > ------=3D_NextPart_000_0009_01C3399B.F6747FD0
> > Content-Type: text/html;
> > charset=3D"us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > 3.2//EN">
> > <HTML>
> > <HEAD>
> > <META HTTP-EQUIV=3D3D"Content-Type" = > CONTENT=3D3D"text/html; =3D
> > charset=3D3Dus-ascii">
> > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > Exchange Server version =3D
> > 6.0.4630.0">
> > <TITLE>NSCA and syslog-ng question</TITLE>
> > </HEAD>
> > <BODY>
> > <!-- Converted from text/rtf format -->
> >
> > <P ALIGN=3D3DLEFT><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">I am =3D
> > very new at Nagios and have a question regarding the NSCA extra and = > =3D
> > using it with syslog-ng.</FONT></SPAN></P>
> >
> > <P ALIGN=3D3DLEFT><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">I =3D
> > have downloaded and complied the nsca, send-nsca, and the mcrypt = > =3D
> > stuff.&nbsp; I have edited the config files.&nbsp; My issue = > is that my =3D
> > loghost is also my nagios box.</FONT></SPAN><SPAN = > =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us">&nbsp;<FONT SIZE=3D3D2 =3D
> > FACE=3D3D"Arial"> In syslog-ng.conf do I need another = > source line other =3D
> > than</FONT></SPAN><SPAN = > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"> =3D
> > <FONT SIZE=3D3D2 = > FACE=3D3D"Arial">&#8220;</FONT></SPAN><SP= > AN =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > FACE=3D3D"Arial">source net { udp();};?&nbsp; I = > also have the nagios.pipe =3D
> > configured and I can see messages entering the pipe, and sitting = > there =3D
> > for a time period</FONT></SPAN><SPAN = > LANG=3D3D"en-us"></SPAN><SPAN =3D
> > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > AN =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > FACE=3D3D"Arial">then they = > clear</FONT></SPAN><SPAN =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > = > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > AN LANG=3D3D"en-us"></SPAN><SPAN =3D
> > LANG=3D3D"en-us"></SPAN></P>
> >
> > <P ALIGN=3D3DLEFT><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > FACE=3D3D"Arial">Also, =3D
> > how do I configure Nagios to use the information coming from the = > =3D
> > pipe</FONT></SPAN><SPAN = > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"><FONT =3D
> > SIZE=3D3D2 = > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > AN =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"></SPAN></P>
> >
> > <P ALIGN=3D3DLEFT><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > FACE=3D3D"Arial">Thanks in = > advance</FONT></SPAN><SPAN =3D
> > LANG=3D3D"en-us"></SPAN><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > = > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > AN LANG=3D3D"en-us"></SPAN><SPAN =3D
> > LANG=3D3D"en-us"></SPAN></P>
> >
> > <P ALIGN=3D3DLEFT><SPAN = > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > = > FACE=3D3D"Arial">Mike</FONT></SPAN><SPAN = > LANG=3D3D"en-us"></SPAN><SPAN =3D
> > LANG=3D3D"en-us"></SPAN></P>
> >
> > </BODY>
> > </HTML>
> > ------=3D_NextPart_000_0009_01C3399B.F6747FD0--
> >
> >
> >
> > -- __--__--
> >
> > Message: 26
> > From: "Bill Hults" <ehults at paydata.com>
> > To: "manny" <manny12602 at msn.com>,
> > <Nagios-users at lists.sourceforge.net>
> > Subject: RE: [Nagios-users] Error During Installation
> > Date: Mon, 23 Jun 2003 17:27:06 -0400
> >
> > Have you applied the various patches to RH9 to bring it up to date = > &
> > possibly solve this kind of problem? I've just installed it on RH9 = > & it
> went
> > fine
> > Bill
> >
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net
> > [ HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > ers-admin at lists.sourceforge.net]On Behalf Of manny
> > Sent: Monday, June 23, 2003 12:29 PM
> > To: Nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Error During Installation
> >
> >
> >
> > I am running Red Hat linux 9.x and during the compaling porocess i = > get the
> > following error.
> >
> > configure:error: no acceptable cc found in $PATH
> >
> > Does any one have any clues as how i can work behond this.
> >
> > Thanks
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting = > Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission!
> > INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS = > when
> reporting
> > any issue.
> > ::: Messages without supporting info will risk being sent to = > /dev/null
> > This e-mail was scanned by RAV Antivirus. = > (www.ravantivirus.com)
> >
> >
> >
> > -- __--__--
> >
> > Message: 27
> > Date: Mon, 23 Jun 2003 17:44:20 -0400
> > To: nagios-users at lists.sourceforge.net
> > From: Jeyri Bautista <jbautista at icnet.com.ve>
> > Subject: [Nagios-users] MySQL Database
> >
> > Hi,
> >
> > Now, I have my nagios information in plain text, but I want record = > in a
> > mysql database. My question is: Can I record in a mysql database = > the
> > nagios.log information?, because i read that the information that = > can be
> > record is status.log, comment.log, downtime.log and extinfo.
> >
> > Thanks,
> >
> > Jeyri
> >
> >
> >
> > -- __--__--
> >
> > Message: 28
> > From: Jasmine <jasmine.chua at securecirt.com>
> > To: "Wilhelm, John" = > <john.wilhelm at frontiercorp.com>
> > Subject: Re: [Nagios-users] Help - losing my disable notifications = > and dis
> able services setti ngs when Nagios is restarted
> > Date: Tue, 24 Jun 2003 05:47:22 +0800
> > Cc: nagios-users at lists.sourceforge.net
> >
> > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > You are most welcome but hey you are the one who spotted the = > mistake, not
> m=3D
> > e!=3D20
> > I only point you to the right direction that's all! Nagios is = > just=3D20
> > wonderful..
> >
> > Cheers!
> >
> > Jasmine=3D20
> >
> >
> > On Tuesday 24 June 2003 02:32, you wrote:
> > > Hello Jasmine,
> > >
> > > Thanks for the response.  You are right,  I had = > the
> > > "retain_nonstatus_information" set to 0.  If = > this is not set to 1, when
> > > nagios restarts, all disabled settings are lost.
> > >
> > > Thanks again,
> > > John Wilhelm
> > >
> > > -----Original Message-----
> > > From: Jasmine [ HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > t.com]
> > > Sent: Monday, June 23, 2003 2:03 PM
> > > To: Wilhelm, John
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Help - losing my disable = > notifications and
> > > disable services setti ngs when Nagios is restarted
> > >
> > >
> > > Hi
> > >
> > > That means in your configuration of your services you have = > disabled
> them.
> > > Re-check your config files again
> > >
> > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > > Hello,
> > > >
> > > > I am currently using Nagios 1.0.  I have discovered = > that when I
> restart
> > > > Nagios, my "disabled service checks" and = > "disabled notifications" are
> n=3D
> > ot
> > > > retained across the restart.  I have to disable = > everything when I
> resta=3D
> > rt
> > > > Nagios.
> > > >
> > > > Is there any configuration that I have missed?
> > > >
> > > > retain_state_information=3D3D1
> > > > use_retained_program_state=3D3D1
> > > >
> > > > John Wilhelm
> > =3D2D----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu
> > gdJzpdx+Ww/rTtYK6aNQHBo=3D3D
> > =3D3DUssf
> > =3D2D----END PGP SIGNATURE-----
> >
> >
> >
> > -- __--__--
> >
> > Message: 29
> > From: Jasmine <jasmine.chua at securecirt.com>
> > To: Gilberto Nunes Ferreira <gilbertonunes at pwr.com.br>
> > Date: Tue, 24 Jun 2003 07:51:46 +0800
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key = > verification
> failed.
> >
> > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi=3D20
> >
> > It means it is really a SSH problem. Your box cannot access the = > other by
> SS=3D
> > H.=3D20
> > You have to make sure you have the right host keys generated. = > Perhaps you
> c=3D
> > an=3D20
> > check your known_hosts in your .ssh directory to make sure the key = > for
> that=3D
> > =3D20
> > particular host is there.=3D20
> >
> > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote:
> > > Hi evervbody
> > >
> > > I have two host.
> > > One of then I wan't to verify by check_by_ssh, plugins.
> > > So, I make this in the checkcommands.cfg file:
> > >
> > > .....
> > > ...
> > > ..
> > > define command{
> > >         = > command_name    ssh_check_disk
> > >         = > command_line    $USER1$/check_by_ssh -H $HOSTNAME$ -C
> > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$'
> > >         }
> > >
> =3D
> >  =3D20
> > = > >           &nb= > sp;           &nbs= > p;            = > ;            = > Wen I restart the nagios
> > > services, appear a mesagem that say:
> > >
> > >
> > >
> > > Host key verification failed.
> > >
> > >
> > > What the means of this mesage?
> > > I forgot something?!?!?!
> > >
> > > Please,help!
> > > Thanks.
> >
> > =3D2D --=3D20
> > Jasmine Chua
> > Security Engineer
> >
> > =3D2D----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.2 (GNU/Linux)
> >
> > = > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej
> > T8ddWrGJipPo0jXTPzfpO0M=3D3D
> > =3D3DgeFj
> > =3D2D----END PGP SIGNATURE-----
> >
> >
> >
> > -- __--__--
> >
> > Message: 30
> > From: Frank Gadot <frank.gadot at epscorp.com>
> > To: Nagios-Users <nagios-users at lists.sourceforge.net>
> > Organization: EPS
> > Date: 23 Jun 2003 20:11:03 -0400
> > Subject: [Nagios-users] Notification problems
> >
> > Hi all,
> >
> > I have been looking for weeks now about this problem: At the = > very
> > begining, when a computer would be down, I would receive EMAIL + = > PAGER.
> > Now, it is or PAGER or EMAIL. I have no clue what I changed.
> >
> > Here is an example for one computer:
> >
> >
> > hosts.cfg
> > #TEST
> > define host {
> > use generic-host
> > host_name TEST
> > alias TEST SERVER
> > address 192.168.1.41
> > check_command check-host-alive
> > max_check_attempts 3
> > notification_interval 5
> > notification_period 24x7
> > notification_options d,u,r
> > }
> >
> >
> >
> >
> > hostgroups.cfg
> > define hostgroup{
> > hostgroup_name PRODUCTION
> > alias High priority servers
> > contact_groups ADMIN-PAGER
> > members TEST
> > }
> >
> >
> >
> > services.cfg
> > define service{
> > use generic-service
> > host_name TEST
> > service_description PING
> > is_volatile 0
> > check_period 24x7
> > max_check_attempts 3
> > normal_check_interval 1
> > retry_check_interval 1
> > contact_groups ADMIN-EMAIL
> > notification_interval 5
> > notification_period 24x7
> > notification_options u,c,r
> > check_command check_ping!100.0,20%!500.0,60%
> > }
> >
> >
> >
> >
> > contacts.cfg
> > everything about me
> >
> >
> >
> > contactgroups.cfg
> > define contactgroup{
> > contactgroup_name ADMIN-PAGER
> > alias ADMIN for pagers
> > members frank
> > }
> >
> >
> > So: The contact group for the host is ADMIN-PAGER , but the = > service
> > define ADMIN-EMAIL. Is there a way to receive both of them ?
> >
> > Thank you.
> >
> >
> >
> > -- __--__--
> >
> > Message: 31
> > To: nagios-users at lists.sourceforge.net
> > From: sobrien at ci.bend.or.us
> > Date: Mon, 23 Jun 2003 17:12:07 -0700
> > Subject: [Nagios-users] Looking for a way to connect to host via = > Status
> map
> >
> > This is an S/MIME signed message.
> >
> > ---------z13701_boundary_sign
> > Content-Type: multipart/alternative; = > boundary=3D"=3D_alternative
> 0000FF7488256D4F_=3D"
> >
> > This is a multipart message in MIME format.
> > --=3D_alternative 0000FF7488256D4F_=3D
> > Content-Type: text/plain; charset=3D"US-ASCII"
> >
> > Has anyone figured out how to click on a host in your status map = > and
> > connect via ssh, telnet, walkie-talkie, etc...
> >
> > Steve O'Brien
> > City of Bend
> > Network Administrator
> > sobrien at ci.bend.or.us
> > 541-322-6393
> >
> > --=3D_alternative 0000FF7488256D4F_=3D
> > Content-Type: text/html; charset=3D"US-ASCII"
> >
> >
> > <br><font size=3D2 face=3D"sans-serif">Has = > anyone figured out how to click
> > on a host in your status map and connect via ssh, telnet, = > walkie-talkie,
> > etc...</font>
> > <br><font size=3D2 = > face=3D"sans-serif"><br>
> > Steve O'Brien<br>
> > City of Bend<br>
> > Network Administrator<br>
> > sobrien at ci.bend.or.us<br>
> > 541-322-6393<br>
> > </font>
> > --=3D_alternative 0000FF7488256D4F_=3D--
> >
> > ---------z13701_boundary_sign
> > Content-Type: application/x-pkcs7-signature; = > name=3D"smime.p7s"
> > Content-Transfer-Encoding: base64
> > Content-Disposition: attachment; = > filename=3D"smime.p7s"
> > Content-Description: S/MIME Cryptographic Signature
> >
> >
> MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCB= > EEw
> >
> ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9= > w0B
> >
> CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTB= > k9y
> >
> ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJV= > DEV
> >
> MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowg= > ZQx
> >
> KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCV= > VMx
> >
> DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kM= > Qsw
> >
> CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNA= > DCB
> >
> iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYun= > Dnv
> >
> eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3= > Y8O
> >
> QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwC= > wYD
> >
> VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWA= > dkJ
> >
> MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlb= > mQs
> >
> Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlc= > nZp
> >
> Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY= > 2F0
> >
> ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwR= > qBE
> >
> oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyM= > G9m
> >
> JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpS= > uDj
> >
> gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qU= > YSL
> >
> j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk= > 9xK
> >
> BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUM= > Sow
> >
> KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTM= > Q8w
> >
> DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELM= > AkG
> >
> A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2M= > DUx
> >
> ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxC= > zAJ
> >
> BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpd= > Hkg
> >
> b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9= > w0B
> >
> AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHu= > bJj
> >
> BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAy= > d+N
> >
> 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUA= > gQG
> >
> HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3Ljihe= > vBu
> >
> iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5J= > TIw
> >
> b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2a= > WNl
> >
> cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9d= > XM/
> >
> Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1d= > Glv
> >
> blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb= > 2xs
> >
> L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA= > 4GB
> >
> ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq5= > 2I8
> >
> iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8= > YhF
> >
> YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFA= > DCB
> >
> lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGE= > wJV
> >
> UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlb= > mQx
> >
> CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNM= > DQw
> >
> NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswC= > QYD
> >
> VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5I= > G9m
> >
> IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNA= > QEB
> >
> BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJk= > h4v
> >
> rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od= > 1hU
> >
> 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCB= > PAw
> >
> EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQB= > gNV
> >
> HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBF= > hth
> >
> ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb= > 24x
> >
> DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATB= > gNV
> >
> BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMo= > IHJ
> >
> oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEU= > CxD
> >
> Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uL= > ERD
> >
> PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP= > 29i
> >
> amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZ= > TIu
> >
> Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJma= > Wxl
> >
> Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQ= > mVu
> >
> ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q= > 2l0
> >
> eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vyd= > mlj
> >
> ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlma= > WNh
> >
> dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzACh= > lpo
> >
> dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyL= > mNp
> >
> LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cX= > G9w
> >
> ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kL= > m9y
> >
> LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4= > DBB
> >
> FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUp= > SEl
> >
> +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvI= > E2N
> >
> MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3D= > QEJ
> >
> ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT= > 3Jl
> >
> Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUM= > RUw
> >
> EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBj= > jEk
> >
> MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA= > 1UE
> >
> CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVB= > AsT
> >
> AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBA= > L4d
> >
> Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGf= > wka
> >
> SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4= > XqG
> >
> 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIK= > wYB
> >
> BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4E= > Dcu
> >
> OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQ= > GNp
> >
> LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlb= > mQx
> >
> FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQ= > mVu
> >
> ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovL= > y9D
> >
> Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZ= > Xkl
> >
> MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsR= > EM9
> >
> b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNST= > ERp
> >
> c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51c= > y9D
> >
> ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuY= > Wdl
> >
> Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrB= > gEF
> >
> BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZ= > CxD
> >
> Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlnd= > XJh
> >
> dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY= > 3Rj
> >
> bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hb= > mFn
> >
> ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ= > 2l0
> >
> eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpL= > mJl
> >
> bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZ= > iUy
> >
> MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrv= > W/D
> >
> k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/= > xm2
> >
> t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwg= > aMw
> >
> gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEB= > hMC
> >
> VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZ= > W5k
> >
> MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOA= > wIa
> >
> BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0M= > DAx
> >
> MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPM= > TYw
> >
> NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwD= > QYJ
> >
> KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIEl= > pEC
> >
> Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/= > ytp
> > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA=3D
> >
> > ---------z13701_boundary_sign--
> >
> >
> >
> > -- __--__--
> >
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
> > End of Nagios-users Digest
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting = > Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > Commission!
> INetU Dedicated Managed Hosting HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > ner/index.php
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when = > reporting any issue.
> ::: Messages without supporting info will risk being sent to = > /dev/null
>
>

> > > > ------_=_NextPart_001_01C33A52.27D793D0-- > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fdemarchi at altapd.it Tue Jun 24 15:47:59 2003 From: fdemarchi at altapd.it (Federico De Marchi) Date: Tue, 24 Jun 2003 15:47:59 +0200 Subject: Hp JetDirect Page count... References: Message-ID: <000d01c33a57$39915f20$99a7480a@XP0064> Anyone have maked a plugin for have the count of the pages? i have found this code, but i'm unable to pilot the code.... ---------begin perl code---------------------- #!/usr/bin/perl # vi: set sw=4 ts=4: # use IO; $ipaddress = $ARGV[0]; my $sock = IO::Socket::INET->new( PeerAddr => $ipaddress, PeerPort => 9100, Proto => 'tcp' ) || die "Impossibile connettersi a $ipaddress, porta 9100: $!\n"; my $eol="\x0A"; # LF my $esc="\x1B"; # ESC my $pagecount="$esc\%-12345X\@PJL JOB$eol" . "\@PJL INFO PAGECOUNT$eol" . "\@PJL EOJ$eol" . "$esc\%-12345X"; my $dati; $sock->send("$pagecount"); $sock->recv($dati, 1024); close $sock; print "Output:\n$dati\n"; -------------end perl code---------------- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Tue Jun 24 15:35:35 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 24 Jun 2003 10:35:35 -0300 Subject: Timeout after 10 seconds Message-ID: <037f01c33a55$886caac0$31150a0a@estacio.domain> I want to understand this message as it is ok. Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: "Eddy" To: Sent: Tuesday, June 24, 2003 10:30 AM Subject: Re: Nagios-users digest, Vol 1 #1533 - 1 msg > I want to understand this message as it is ok. > > Sem mais, > > Carlos Eduardo Dionizio > Analista de Suporte - UNIX > Universidade Est?cio de S? > Diretoria de Tecnologia da Informa??o > > > > > ----- Original Message ----- > From: > To: > Sent: Tuesday, June 24, 2003 10:12 AM > Subject: Nagios-users digest, Vol 1 #1533 - 1 msg > > > > Send Nagios-users mailing list submissions to > > nagios-users at lists.sourceforge.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > or, via email, send a message with subject or body 'help' to > > nagios-users-request at lists.sourceforge.net > > > > You can reach the person managing the list at > > nagios-users-admin at lists.sourceforge.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Nagios-users digest..." > > > > > > Today's Topics: > > > > 1. Re: Re: Nagios-users digest, Vol 1 #1531 - 33 msgs (Marc Powell) > > > > --__--__-- > > > > Message: 1 > > Subject: Re: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs > > Date: Tue, 24 Jun 2003 08:11:42 -0500 > > From: "Marc Powell" > > To: , > > > > > > This is a multi-part message in MIME format. > > > > ------_=_NextPart_001_01C33A52.27D793D0 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > You can either -- > > > > - Fix the problem with the host > > - acknowledge the problem from the web interface > > - increase the plugin timeout > > - adjust your notification interval for this host/service > > - disable critical notifications for this host/service > > > > Or > > - disable notifications for this host/service entirely in your config > > > > It just depends on what you're really trying to accomplish. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > > > > -----Original Message----- > > From: Eddy > > To: nagios-users at lists.sourceforge.net = > > > > Sent: Tue Jun 24 07:57:44 2003 > > Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs > > > > Socket timeout after 10 seconds > > I have this messagem any can help me??? > > My hosts has a real problem, but i don't wana receive this message > > Sorry my bad english but i 'm brazilian man :) > > > > > > Sem mais, > > > > Carlos Eduardo Dionizio > > Analista de Suporte - UNIX > > Universidade Est=E1cio de S=E1 > > Diretoria de Tecnologia da Informa=E7=E3o > > > > > > > > > > ----- Original Message -----=20 > > From: > > To: > > Sent: Tuesday, June 24, 2003 12:23 AM > > Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs > > > > > > > Send Nagios-users mailing list submissions to > > > nagios-users at lists.sourceforge.net > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > or, via email, send a message with subject or body 'help' to > > > nagios-users-request at lists.sourceforge.net > > > > > > You can reach the person managing the list at > > > nagios-users-admin at lists.sourceforge.net > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of Nagios-users digest..." > > > > > > > > > Today's Topics: > > > > > > 1. RE: Autentication Fail !!!! (Billy) > > > 2. Re: __Unofficial__ patch for embedded Perl Interpeter support in > > Nagios 1.1 (fixes SEGV on start-up with thread (Ethan Galstad) > > > 3. Host detail showing all hosts up (greg) > > > 4. Re: Compile Error with MySQL Support (Karl Latiss) > > > 5. ping does not recover (Marko Riedel) > > > 6. Re: Fail error message (Karl DeBisschop) > > > 7. Return code of 139 out of bound and other errors (Fallsen, = > > Tommy) > > > 8. RE: nagiosbounce.sh (Martin, Jeremy) > > > 9. passive host checks. (Jasmine) > > > 10. Re: passive host checks. (Jason Lancaster) > > > 11. Error During Installation (manny) > > > 12. Mail notification (Chad Miller) > > > 13. Mail help (Chad Miller) > > > 14. Help - losing my disable notifications and disable services = > > setti > > > ngs when Nagios is restarted (Wilhelm, John) > > > 15. Re: Mail notification (Jasmine) > > > 16. RE: Mail help (Marc Powell) > > > 17. Re: Help - losing my disable notifications and disable services > > setti ngs when Nagios is restarted (Jasmine) > > > 18. nrpe service dependancies (Dominik L. Borkowski) > > > 19. check_cluster service - what's the correct "host"? (Skip = > > Montanaro) > > > 20. RE: Help - losing my disable notifications and dis > > > able services setti ngs when Nagios is restarted (Wilhelm, = > > John) > > > 21. Fail error message - more interesting (Hegedus, Ervin) > > > 22. Re: Mail help (Jason Lancaster) > > > 23. RE: Mail notification (Carroll, Jim P [Contractor]) > > > 24. RE: Mail notification (Rob Nelson) > > > 25. NSCA and syslog-ng question (Michael Carpenter) > > > 26. RE: Error During Installation (Bill Hults) > > > 27. MySQL Database (Jeyri Bautista) > > > 28. Re: Help - losing my disable notifications and dis able services > > setti ngs when Nagios is restarted (Jasmine) > > > 29. Re: [Nagiosplug-help] Host key verification failed. (Jasmine) > > > 30. Notification problems (Frank Gadot) > > > 31. Looking for a way to connect to host via Status map > > (sobrien at ci.bend.or.us) > > > > > > -- __--__-- > > > > > > Message: 1 > > > From: "Billy" > > > To: > > > Subject: RE: [Nagios-users] Autentication Fail !!!! > > > Date: Mon, 23 Jun 2003 14:19:36 +1000 > > > > > > This is a multi-part message in MIME format. > > > > > > ------=3D_NextPart_000_1228_01C33992.796BC420 > > > Content-Type: text/plain; > > > charset=3D"us-ascii" > > > Content-Transfer-Encoding: quoted-printable > > > > > > Logins are controlled by the web server, not nagios. If it's apache, = > > =3D > > > check > > > your .htaccess file in your web dir, otherwise check the auth docs for = > > =3D > > > your > > > flavour of web server > > > > > > =3D20 > > > > > > _____ =3D20 > > > > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Syed = > > =3D > > > Zulhilmi > > > Tuan Sharif > > > Sent: Monday, 23 June 2003 12:13 PM > > > To: nagios-users at lists.sourceforge.net > > > > > > =3D20 > > > > > > -I dont know what has happened to my Nagios. Suddenly i cannot login > > > because it said that my login and password is npt valid.=3D20 > > > > > > Arghhhh dont know why this happen. Help me anyone > > > > > > =3D20 > > > > > > > > > ------=3D_NextPart_000_1228_01C33992.796BC420 > > > Content-Type: text/html; > > > charset=3D"us-ascii" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > xmlns:o=3D3D"urn:schemas-microsoft-com:office:office" =3D > > > xmlns:w=3D3D"urn:schemas-microsoft-com:office:word" =3D > > > xmlns:st1=3D3D"urn:schemas-microsoft-com:office:smarttags" =3D > > > xmlns=3D3D"http://www.w3.org/TR/REC-html40"> > > > > > > > > > > > charset=3D3Dus-ascii"> > > > > > > > > > > medium)"> > > > > > namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags" =3D > > > name=3D3D"time"/> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >

> face=3D3DArial> > > style=3D3D'font-size: > > > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by the web = > > =3D > > > server, > > > not nagios. If it’s apache, check your .htaccess file in your = > > web =3D > > > dir, > > > otherwise check the auth docs for your flavour of web =3D > > > server

> > > > > >

> face=3D3DArial> > > style=3D3D'font-size: > > > = > > 10.0pt;font-family:Arial;color:navy'> 

> > > > > >
> > > > > >
> > style=3D3D'margin-left:36.0pt;text-align:center'> > > size=3D3D3 face=3D3D"Times New Roman"> > > style=3D3D'font-size:12.0pt'> > > > > > >
> > > > > >
> > > > > >

> size=3D3D2 =3D > > > face=3D3DTahoma> > > lang=3D3DEN-US =3D > > > = > > style=3D3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From: > pa=3D > > > n> > > size=3D3D2 face=3D3DTahoma> > > style=3D3D'font-size:10.0pt;font-family:Tahoma'> > > > nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] > > style=3D3D'font-weight: > > > bold'>On Behalf Of Syed Zulhilmi Tuan Sharif
> > > Sent: Monday, 23 June = > > =3D > > > 2003 > > Minute=3D3D"13" Hour=3D3D"12" w:st=3D3D"on"> 12:13 PM
> > > To: > > > nagios-users at lists.sourceforge.net
> > lang=3D3DEN-US>

> > > > > >
> > > > > >

> > face=3D3D"Times New Roman"> > > style=3D3D'font-size:12.0pt'> 

> > > > > >
> > > > > >

> =3D > > > color=3D3Dblack > > > face=3D3DArial> > > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>-I dont > > > know what has happened to my Nagios.  Suddenly i cannot login =3D > > > because it > > > said that my login and password is npt valid. > > color=3D3Dblack > > > face=3D3DArial> > > = > > style=3D3D'font-family:Arial;color:black'>

> > > > > >
> > > > > >
> > > > > >

> =3D > > > color=3D3Dblack > > > face=3D3DArial> > > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh > > > dont know why this happen.  Help me anyone > > color=3D3Dblack > > > face=3D3DArial> > > = > > style=3D3D'font-family:Arial;color:black'>

> > > > > >
> > > > > >
> > > > > >

> =3D > > > color=3D3Dblack > > > face=3D3DArial> > > = > > style=3D3D'font-size:12.0pt;font-family:Arial;color:black'>  > :p=3D > > > >

> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > ------=3D_NextPart_000_1228_01C33992.796BC420-- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 2 > > > From: "Ethan Galstad" > > > To: nagios-users at lists.sourceforge.net > > > Date: Mon, 23 Jun 2003 00:24:16 -0500 > > > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded Perl > > Interpeter support in Nagios 1.1 (fixes SEGV on start-up with thread > > > > > > Thanks for the patches! I've applied these to CVS (both 1.x and HEAD > > > branches). > > > > > > > > > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote: > > > > > > > Dear Ladies and Gentlemen, > > > > > > > > The Nagios kibutzers take great pleasure in announcing an = > > _unofficial_ > > > > patch for embedded Perl support in Nagios 1.1. > > > > > > > > The patch, while not extensively tested, _should_ fix the SEGV on > > > > starting up (for any args, -h -m or -v) of a Nagios 1.1 configured > > > > with an embedded Perl interpreter (for greater efficiency in = > > executing > > > > Perl plugins). > > > > > > > > Details below. > > > > > > > > Status > > > > > > > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs on > > > > start-up of Nagios built with an embedded Perl interpreter. > > > > > > > > The SEGV occurs right at start-up and is associated with > > > > libperl.so (it may occur at the first printf in the main program). = > > It > > > > only occurs with threaded Perls that are typically shipped with = > > systems > > > > having good pthread OS support. > > > > > > > > Affected systems include > > > > > > > > RH 8 and 9 > > > > Mandrake 9 ( 2.4.19-16mdk ) > > > > Suse 8 > > > > Debian ? > > > > > > > > Unaffected systems include > > > > > > > > FreeBSD RELENG_4 (v4 Release and Stable branches) > > > > > > > > If you have a Linux or Solaris system with a Perl greater than 5.6.1 = > > and > > > > you want an embedded Perl Nag, you need this patch. > > > > > > > > Credits > > > > > > > > Ethan Galstad > > > > Reuben Farrelly > > > > > > > > I believe the patch was originally the work of Mr Reuben > > > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem = > > fixed). > > > > > > > > Feedback > > > > > > > > S Hopcroft > > > > > > > > Flames > > > > S Hopcroft > > > > > > > > Testing > > > > compiled and run on Mandrake 9/Perl 5.8.0 > > > > compiled on FreeBSD 4.8/Perl 5.8.0 {unthreaded] > > > > compiled and run on FreeBSD 4.7/Perl 5.005 [unthreaded] > > > > > > > > Notes > > > > > > > > Should apply to Nag 1.0 but unchecked. > > > > > > > > Patch > > > > attached. > > > > > > > > Yours sincerely. > > > > > > > > > > > > > > > > --=20 > > > > = > > ------------------------------------------------------------------------ > > > > 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. > > > > > > > > > > > > > > > > Ethan Galstad, > > > Nagios Developer > > > --- > > > Email: nagios at nagios.org > > > Website: http://www.nagios.org > > > > > > > > > > > > -- __--__-- > > > > > > Message: 3 > > > Date: Mon, 23 Jun 2003 11:48:48 +0200 > > > From: greg > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Host detail showing all hosts up > > > > > > This is a multi-part message in MIME format. > > > --------------000504060808050902050806 > > > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > > Content-Transfer-Encoding: 7bit > > > > > > > > > Hi, > > > > > > I have about 200 hosts on a local network. > > > Service detail shows things correctly, but host detail shows hosts up > > > while most of them are down. > > > I have set up only ping service for each host. > > > I suppose the solution is simple, but I'm not able to pinpoint the > > problem. > > > Thanks > > > Greg > > > > > > > > > > > > > > > --------------000504060808050902050806 > > > Content-Type: text/plain; > > > name=3D"myconfig.txt" > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline; > > > filename=3D"myconfig.txt" > > > > > > > > > log_file=3D/usr/local/nagios/var/nagios.log > > > cfg_file=3D/usr/local/nagios/etc/checkcommands.cfg > > > cfg_file=3D/usr/local/nagios/etc/misccommands.cfg > > > cfg_file=3D/usr/local/nagios/etc/contactgroups.cfg > > > cfg_file=3D/usr/local/nagios/etc/contacts.cfg > > > cfg_file=3D/usr/local/nagios/etc/dependencies.cfg > > > cfg_file=3D/usr/local/nagios/etc/escalations.cfg > > > cfg_file=3D/usr/local/nagios/etc/hostgroups.cfg > > > cfg_file=3D/usr/local/nagios/etc/hosts.cfg > > > cfg_file=3D/usr/local/nagios/etc/services.cfg > > > cfg_file=3D/usr/local/nagios/etc/timeperiods.cfg > > > resource_file=3D/usr/local/nagios/etc/resource.cfg > > > status_file=3D/usr/local/nagios/var/status.log > > > nagios_user=3Dnagios > > > nagios_group=3Dnagios > > > check_external_commands=3D1 > > > command_check_interval=3D1 > > > command_file=3D/usr/local/nagios/var/rw/nagios.cmd > > > comment_file=3D/usr/local/nagios/var/comment.log > > > downtime_file=3D/usr/local/nagios/var/downtime.log > > > lock_file=3D/usr/local/nagios/var/nagios.lock > > > temp_file=3D/usr/local/nagios/var/nagios.tmp > > > log_rotation_method=3Dd > > > log_archive_path=3D/usr/local/nagios/var/archives > > > use_syslog=3D1 > > > log_notifications=3D1 > > > log_service_retries=3D0 > > > log_host_retries=3D0 > > > log_event_handlers=3D1 > > > log_initial_states=3D0 > > > log_external_commands=3D1 > > > log_passive_service_checks=3D1 > > > #global_host_event_handler=3Dsomecommand > > > #global_service_event_handler=3Dsomecommand > > > inter_check_delay_method=3Dn > > > service_interleave_factor=3Ds > > > max_concurrent_checks=3D10 > > > service_reaper_frequency=3D1 > > > sleep_time=3D1 > > > service_check_timeout=3D60 > > > host_check_timeout=3D30 > > > event_handler_timeout=3D30 > > > notification_timeout=3D30 > > > ocsp_timeout=3D5 > > > perfdata_timeout=3D5 > > > retain_state_information=3D0 > > > state_retention_file=3D/usr/local/nagios/var/status.sav > > > retention_update_interval=3D60 > > > use_retained_program_state=3D0 > > > interval_length=3D60 > > > use_agressive_host_checking=3D0 > > > execute_service_checks=3D1 > > > accept_passive_service_checks=3D0 > > > enable_notifications=3D1 > > > enable_event_handlers=3D1 > > > process_performance_data=3D0 > > > #host_perfdata_command=3Dprocess-host-perfdata > > > #service_perfdata_command=3Dprocess-service-perfdata > > > obsess_over_services=3D0 > > > #ocsp_command=3Dsomecommand > > > check_for_orphaned_services=3D1 > > > check_service_freshness=3D1 > > > freshness_check_interval=3D600 > > > aggregate_status_updates=3D1 > > > status_update_interval=3D15 > > > enable_flap_detection=3D0 > > > low_service_flap_threshold=3D5.0 > > > high_service_flap_threshold=3D20.0 > > > low_host_flap_threshold=3D5.0 > > > high_host_flap_threshold=3D20.0 > > > date_format=3Dus > > > illegal_object_name_chars=3D`~!$%^&*|'"<>?,()=3D > > > illegal_macro_output_chars=3D`~$&|'"<> > > > admin_email=3Dnagios > > > admin_pager=3Dpagenagios > > > > > > > > > > > > define host{ > > > name generic-host ; The name of this host template - referenced in = > > other > > host definitions, used for template recursion/resolution > > > notifications_enabled 0 ; Host notifications are enabled > > > event_handler_enabled 1 ; Host event handler is enabled > > > flap_detection_enabled 1 ; Flap detection is enabled > > > process_perf_data 1 ; Process performance data > > > retain_status_information 0 ; Retain status information across program > > restarts > > > retain_nonstatus_information 0 ; Retain non-status information across > > program restarts > > > > > > check_command check-host-alive > > > max_check_attempts 10 > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options n ;d,u,r > > > > > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST = > > A > > TEMPLATE! > > > } > > > > > > define host{ > > > use generic-host > > > host_name host-192.168.6.32 > > > alias host-192.168.6.32 > > > address 192.168.6.32 > > > } > > > > > > define host{ > > > use generic-host > > > host_name host-192.168.8.22 > > > alias host-192.168.8.22 > > > address 192.168.8.22 > > > } > > > > > > ... > > > > > > # Generic service definition template > > > define service{ > > > name generic-service ; The 'name' of this service template, referenced = > > in > > other service definitions > > > active_checks_enabled 1 ; Active service checks are enabled > > > passive_checks_enabled 0 ; 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' > > > notifications_enabled 0 ; 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 0 ; Retain status information across program > > restarts > > > retain_nonstatus_information 0 ; Retain non-status information across > > program restarts > > > > > > service_description PING > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups k3-admins > > > notification_interval 15 > > > notification_period 24x7 > > > notification_options n ;c,r > > > check_command check_ping!100.0,20%!500.0,60% > > > > > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, = > > JUST > > A TEMPLATE! > > > } > > > > > > define service{ > > > use generic-service > > > host_name host-192.168.6.32 > > > } > > > > > > define service{ > > > use generic-service > > > host_name host-192.168.8.22 > > > } > > > > > > ... > > > > > > > > > --------------000504060808050902050806-- > > > > > > > > > > > > > > > -- __--__-- > > > > > > Message: 4 > > > Subject: Re: [Nagios-users] Compile Error with MySQL Support > > > From: Karl Latiss > > > To: allan > > > Cc: Nagios-users at lists.sourceforge.net > > > Organization: design IT > > > Date: 23 Jun 2003 19:55:03 +1000 > > > > > > On Sat, 2003-06-21 at 23:55, allan wrote: > > > > I am attempting to compile Nagios with complete mySQL support. The > > swithces I am using are ... > > > > > > > > > > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments = > > --w > > ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime = > > --with-mysql- > > inc=3D/usr/include/mysql --with-mysql-lib=3D/usr/lib/mysql > > > > > > > If you specify > > > > > > --with-mysql-xdata > > > > > > you don't need all the other --with-mysql stuff > > > > > > EXCEPT > > > > > > --with-mysql-lib=3D/usr/lib/mysql = > > --with-mysql-inc=3D/usr/include/mysql > > > > > > This worked fine for me on RH7.3 and Nagios 1.0 > > > > > > Karl. > > > > > > > I have installed the following mySQL Packages.. > > > > > > > > mysql-3.23.54a-11 > > > > mysql-devel-3.23.54a-11 > > > > mysql-server-3.23.54a-11 > > > > > > > > though, when I try to compile - I get the following error.. > > > > > > > > *** MySQL library could not be located...***************** > > > > > > > > You chose to compile Nagios with MySQL support, but I was unable to > > locate the MySQL library on your system. If the library is > > > > installed, use the --with-mysql-lib and --with-mysql-inc arguments = > > to > > specify the locations of the MySQL library and include files. > > > > > > > > > > > > I have the following mysqlclient files in ghe /usr/lib/mysql = > > directory - > > > > > > > > /usr/lib/mysql/libmysqlclient.a > > /usr/lib/mysql/libmysqlclient.so.10.0.0 > > /usr/lib/mysql/libmysqlclient_r.so.10 > > > > /usr/lib/mysql/libmysqlclient.so = > > /usr/lib/mysql/libmysqlclient_r.a > > /usr/lib/mysql/libmysqlclient_r.so.10.0.0 > > > > /usr/lib/mysql/libmysqlclient.so.10 = > > /usr/lib/mysql/libmysqlclient_r.so > > > > > > > > > > > > Any ideas on how to get this to compile - would be appreciated. > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission! > > > > INetU Dedicated Managed Hosting = > > http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to = > > /dev/null > > > --=20 > > > Karl Latiss > > > design IT > > > > > > > > > > > > -- __--__-- > > > > > > Message: 5 > > > From: Marko Riedel > > > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST) > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] ping does not recover > > > > > > > > > Hi folks, > > > > > > we have some machines that reboot during the night. Our PING service > > > goes critical during that time, as indeed it should. > > > > > > There is a problem with recovery however. Sometimes the service does > > > not recover until I manually schedule a check with the web interface. > > > > > > Here are my definitions: > > > > > > # Generic service definition template > > > define service{ > > > name generic-service > > > active_checks_enabled 1 > > > passive_checks_enabled 1 > > > parallelize_check 1 > > > obsess_over_service 1 > > > check_freshness 0 > > > notifications_enabled 0 > > > event_handler_enabled 1 > > > flap_detection_enabled 1 > > > process_perf_data 1 > > > retain_status_information 1 > > > retain_nonstatus_information 1 > > > > > > register 0 > > > } > > > > > > define service{ > > > use generic-service > > > name ping-service > > > service_description PING > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 240 > > > notification_period 24x7 > > > notification_options c,r > > > check_command check_ping!100.0,20%!500.0,60% > > > register 0 > > > } > > > > > > > > > define service{ > > > use ping-service > > > host_name host > > > > > > } > > > > > > > > > I'd appreciate any feedback you may have. > > > > > > Best regards, > > > > > > --=20 > > > +------------------------------------------------------------+ > > > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de | > > > | http://www.geocities.com/markoriedelde/index.html | > > > +------------------------------------------------------------+ > > > > > > > > > -- __--__-- > > > > > > Message: 6 > > > Subject: Re: [Nagios-users] Fail error message > > > From: Karl DeBisschop > > > To: "Hegedus, Ervin" > > > Cc: nagios-users at lists.sourceforge.net > > > Date: 23 Jun 2003 07:46:36 -0400 > > > > > > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote: > > > > Hello, > > > > > > > > dear Karl, > > > > first: thank you for your reply. > > > > > > > > > Maybe the check_host is misconfigured? In that case, the service > > checks > > > > > would not be performed until the host came back up. Which it would = > > not > > > > > be able to do until check_host_alive reports success. > > > > what do you mean 'check_host is misconfigured'? > > > > > > I mean that check_host_alive does not work for this host. Which you = > > did > > > not mention in the email I was responding to, but you have now > > > confirmed. > > > > > > > look at this: > > > > monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > # check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > check_command check-host-alive > > > > > > > > as you can see, there is many other host where we use > > > > check-host-alive command - there are works fine. > > > > the commented line is the w2k host, what gives back false alert. > > > > > > > > here is the relevant part of checkcommands.cfg: > > > > > > > > # 'check-host-alive' command definition > > > > define command{ > > > > command_name check-host-alive > > > > command_line $USER1$/check_ping -H > > > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > > > > } > > > > > > > > i use _only_ this command, i didn't redefined this command > > > > anywhere... > > > > > > > > in my previous mail i attached a sample, where i tested the > > > > command_line line - that works with this host also. > > > > > > I don't see any problems with your command definition. I would examine > > > the host definition very carefully to if there are any typos there = > > that > > > might affect how the host address is passed to the host-check command. > > > > > > Once you fix the host check and uncomeent it, the problem you = > > described > > > (service not being tested) will go away. > > > > > > -- > > > Karl > > > > > > > > > > > > -- __--__-- > > > > > > Message: 7 > > > Date: Mon, 23 Jun 2003 14:24:01 +0200 > > > From: "Fallsen, Tommy" > > > To: > > > Subject: [Nagios-users] Return code of 139 out of bound and other = > > errors > > > > > > This is a multi-part message in MIME format. > > > > > > ------_=3D_NextPart_001_01C33982.53FAE42C > > > Content-Type: text/plain; charset=3D"us-ascii" > > > Content-Transfer-Encoding: quoted-printable > > > > > > Hi > > > I get these error sometimes: cannot map tcp for protocol setting, = > > Return > > > code of 139 out of bound and state UNKNOWN on some services. > > > The checks works just fine at first and this just suddenly happends. = > > Any > > > settings that need adjusting?=3D20 > > > I must restart nagios to get the checks working again. > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Tommy Fallsen System Administrator=3D20 > > > Kongsberg Defence & Aerospace > > > Email: tommyf at kongsberg.com > > > TEL: +47 32287783 > > > WEB: http://www.kongsberg.com/eng/kog/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > "UNIX is an operating system, OS/2 is half an operating system,=3D20 > > > Windows is a shell, and DOS is a boot partition virus."=3D20 > > > - Peter H. Coffin .=3D20 > > > > > > > > > =3D20 > > > > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error please notify > > > the system manager. > > > > > > This footnote also confirms that this email message has been swept by > > > MAILsweeper for the presence of computer viruses. > > > > > > Best regards, > > > Kongsberg Gruppen > > > ********************************************************************** > > > > > > > > > ------_=3D_NextPart_001_01C33982.53FAE42C > > > Content-Type: text/html; charset=3D"us-ascii" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > > > > > > charset=3D3Dus-ascii"> > > > > 6.0.6249.1"> > > > Return code of 139 out of bound and other errors > > > > > > > > > > > > > > >

Hi > > > > > >
I get these error sometimes: = > > cannot map > > t=3D > > > cp for protocol setting, Return code of 139 out of bound and state = > > UNKNOWN > > =3D > > > on some services.

> > > > > >

The checks works just fine at = > > first and > > th=3D > > > is just suddenly happends. Any settings that need adjusting? > > > > > >
I must restart nagios to get the = > > checks > > w=3D > > > orking again. > > >

> > >
> > >
> > > > > >

> FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D > > > ~~~~~~~~~~~~~~~ > > > > > >
Tommy Fallsen   System > > Administ=3D > > > rator > > > > > >
Kongsberg Defence & = > > Aerospace > > > > > >
        > >     &nbs=3D > > > p;           > SIZE=3D3D2 > > FA=3D > > > CE=3D3D"Arial">Email: tommyf at kongsberg.com > > > > > >
        > >     &nbs=3D > > > p;           > SIZE=3D3D2 > > FA=3D > > > CE=3D3D"Arial">TEL: +47 32287783 > > > > > >
        > >     &nbs=3D > > > p;           > SIZE=3D3D2 > > FA=3D > > > CE=3D3D"Arial">WEB: > HREF=3D3D"http://www.kongsberg.com/eng/kog/"><=3D > > > FONT COLOR=3D3D"#0000FF" SIZE=3D3D2 > > FACE=3D3D"Arial">http://www.kongsberg.com/eng=3D > > > /kog/ > > > > > >
> FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D > > > ~~~~~~~~~~~~~~~ > > > > > >
"UNIX is an operating = > > system, OS/2 > > =3D > > > is half an operating system, > > > > > >
Windows is a shell, and DOS is a = > > boot > > pa=3D > > > rtition virus." > > > > > >
— Peter H. Coffin > > .<=3D > > > FONT FACE=3D3D"Times New Roman"> > > >

> > >
> > > > > >

  > > >

> > > > > >
> > >
> > > = > > ********************************************************************** > > > > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom = > > they
> > > are addressed. If you have received this email in error please = > > notify
> > > the system manager.
> > >
> > > This footnote also confirms that this email message has been swept = > > by
> > > MAILsweeper for the presence of computer viruses.
> > >
> > > Best regards,
> > > Kongsberg Gruppen
> > > = > > ********************************************************************** > > > > >
> > > > > > > > > ------_=3D_NextPart_001_01C33982.53FAE42C-- > > > > > > > > > -- __--__-- > > > > > > Message: 8 > > > Subject: RE: [Nagios-users] nagiosbounce.sh > > > Date: Mon, 23 Jun 2003 08:19:01 -0500 > > > From: "Martin, Jeremy" > > > To: > > > > > > > > > > Hi Jeremy, > > > >=3D20 > > > > Technically I don't see any problems with this, but it does=3D20 > > > > beg the question - why do you need to do this? > > > >=3D20 > > > > Linux is not the environment to practise the ctrl-alt-del school = > > of=3D20 > > > > networking. :-) > > > > > > Hehe. I've just been noticing that about once a week there are extra = > > =3D > > > Nagios processes still running after I stop Nagios. I could probably = > > =3D > > > just run the script once a week, or just manually when I make config = > > =3D > > > changes and restart it, but I just hate getting multiple "Host UP" = > > pages =3D > > > in the middle of the night due to rogue Nagios processes :-) > > > > > > Jeremy > > > > > > > > > -- __--__-- > > > > > > Message: 9 > > > From: Jasmine > > > To: nagios-users at lists.sourceforge.net > > > Date: Mon, 23 Jun 2003 21:40:55 +0800 > > > Subject: [Nagios-users] passive host checks. > > > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi > > > > > > Hi I understand that passive host checks comes only in the next = > > release > > of=3D > > > =3D20 > > > Nagios, which I am really looking forward to!=3D20 > > > I am just wondering if anyone has a temporarily solution to overcome = > > this > > a=3D > > > t=3D20 > > > the moment? I want the central host to be able to alert that remote = > > hosts > > a=3D > > > re=3D20 > > > down and not assumed them to be up. Any suggestions what I can do? Or > > is=3D20 > > > there a plugin available already just that I am not aware of? > > > > > > > > > > > > Thanks lots! > > > > > > Jasmine Chua > > > =3D2D----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > > > SNZ5xWITl2aBeeMyfn0T8iM=3D3D > > > =3D3DPtEn > > > =3D2D----END PGP SIGNATURE----- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 10 > > > From: "Jason Lancaster" > > > To: "Jasmine" , > > > > > > Subject: Re: [Nagios-users] passive host checks. > > > Date: Mon, 23 Jun 2003 12:09:57 -0400 > > > > > > While this would be really, really nice (the whole idea of my = > > distributed > > > environment is to have servers behind firewalls sending statistics to = > > the > > > central server) it is hard to develop a work-around because Nagios = > > cannot > > > process any type of host-check through the external commands file. The > > only > > > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. Perhaps > > someone > > > can hack this or figure out a way to disguise a host-check as a > > > service-check... > > > > > > I'd like to see this too, though! > > > > > > -Jason > > > ----- Original Message -----=20 > > > From: "Jasmine" > > > To: > > > Sent: Monday, June 23, 2003 9:40 > > > Subject: [Nagios-users] passive host checks. > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi > > > > > > Hi I understand that passive host checks comes only in the next = > > release of > > > Nagios, which I am really looking forward to! > > > I am just wondering if anyone has a temporarily solution to overcome = > > this > > at > > > the moment? I want the central host to be able to alert that remote = > > hosts > > > are > > > down and not assumed them to be up. Any suggestions what I can do? Or = > > is > > > there a plugin available already just that I am not aware of? > > > > > > > > > > > > Thanks lots! > > > > > > Jasmine Chua > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H > > > SNZ5xWITl2aBeeMyfn0T8iM=3D > > > =3DPtEn > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: 11 > > > Date: 23 Jun 2003 16:28:35 -0000 > > > To: Nagios-users at lists.sourceforge.net > > > From: manny > > > Organization: squareBOX technologies discussion forums > > > Subject: [Nagios-users] Error During Installation > > > > > > > > > I am running Red Hat linux 9.x and during the compaling porocess i get = > > the > > following error. > > > > > > configure:error: no acceptable cc found in $PATH > > > > > > Does any one have any clues as how i can work behond this. > > > > > > Thanks > > > > > > > > > -- __--__-- > > > > > > Message: 12 > > > Date: Mon, 23 Jun 2003 12:09:06 -0500 > > > From: "Chad Miller" > > > To: > > > Subject: [Nagios-users] Mail notification > > > > > > This is a multi-part message in MIME format. > > > > > > ------_=3D_NextPart_001_01C339AA.27A10656 > > > Content-Type: text/plain; > > > charset=3D"iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > How would I configure nagios to send out an email every hour that = > > shows =3D > > > my Disk utilization? > > > =3D20 > > > Chad M. > > > > > > ------_=3D_NextPart_001_01C339AA.27A10656 > > > Content-Type: text/html; > > > charset=3D"iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > Message > > > > > http-equiv=3D3DContent-Type> > > > > > > > > >
> class=3D3D732510717-23062003>How =3D > > > would I=3D20 > > > configure nagios to send out an email every hour that shows my = > > Disk=3D20 > > > utilization?
> > >
> > class=3D3D732510717-23062003> 
> > >
> class=3D3D732510717-23062003>Chad=3D20 > > > M.
> > > =3D00 > > > ------_=3D_NextPart_001_01C339AA.27A10656-- > > > > > > > > > -- __--__-- > > > > > > Message: 13 > > > Date: Mon, 23 Jun 2003 12:23:35 -0500 > > > From: "Chad Miller" > > > To: > > > Subject: [Nagios-users] Mail help > > > > > > Sorry for the blank entry. > > > > > > I'm trying to get nagios to email me every time it does a disk check. = > > =3D > > > What do I need to do to configure this properly? > > > > > > Chad M. > > > > > > > > > -- __--__-- > > > > > > Message: 14 > > > From: "Wilhelm, John" > > > To: "'nagios-users at lists.sourceforge.net'" > > > > > > Cc: "'nagios at nagios.org'" > > > Date: Mon, 23 Jun 2003 13:29:37 -0400 > > > Subject: [Nagios-users] Help - losing my disable notifications and = > > disable > > services setti > > > ngs when Nagios is restarted > > > > > > This message is in MIME format. Since your mail reader does not = > > understand > > > this format, some or all of this message may not be legible. > > > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE > > > Content-Type: text/plain; > > > charset=3D"iso-8859-1" > > > > > > > > > Hello, > > > > > > I am currently using Nagios 1.0. I have discovered that when I = > > restart > > > Nagios, my "disabled service checks" and "disabled notifications" are = > > not > > > retained across the restart. I have to disable everything when I = > > restart > > > Nagios. > > > > > > Is there any configuration that I have missed? > > > > > > retain_state_information=3D1 > > > use_retained_program_state=3D1 > > > > > > John Wilhelm > > > > > > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE > > > Content-Type: text/html; > > > charset=3D"iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > > > > > > > charset=3D3Diso-8859-1"> > > > > > 5.5.2655.35"> > > > Help - losing my disable notifications and disable services =3D > > > settings when Nagios is restarted > > > > > > > > >
> > > > > >

Hello, > > >

> > > > > >

I am currently using Nagios = > > 1.0.  =3D > > > I have discovered that when I restart Nagios, my "disabled = > > service =3D > > > checks" and "disabled notifications" are not retained = > > =3D > > > across the restart.  I have to disable everything when I restart = > > =3D > > > Nagios.

> > > > > >

Is there any configuration that I = > > have =3D > > > missed? > > >

> > > > > >

> FACE=3D3D"Arial">retain_state_information=3D3D1 > > >
> FACE=3D3D"Arial">use_retained_program_state=3D3D1 > > >

> > > > > >

John Wilhelm > > >

> > > > > > > > > > > > ------_=3D_NextPart_001_01C339AD.04DDD2FE-- > > > > > > > > > -- __--__-- > > > > > > Message: 15 > > > From: Jasmine > > > To: "Chad Miller" > > > Subject: Re: [Nagios-users] Mail notification > > > Date: Tue, 24 Jun 2003 01:37:50 +0800 > > > Cc: nagios-users at lists.sourceforge.net > > > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi > > > > > > You can try setting notification_interval to 60 in your service > > definition=3D > > > =3D20 > > > template for "disk utilization" this is provided your interval_length = > > is > > se=3D > > > t=3D20 > > > to 60secs in nagios.cfg.=3D20 > > > > > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > > How would I configure nagios to send out an email every hour that = > > shows > > my > > > > Disk utilization? > > > > > > > > Chad M. > > > > > > =3D2D --=3D20 > > > Jasmine Chua > > > =3D2D----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > > ze8iMlz0aKd4cwADyckaBpk=3D3D > > > =3D3Dh3sl > > > =3D2D----END PGP SIGNATURE----- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 16 > > > Subject: RE: [Nagios-users] Mail help > > > Date: Mon, 23 Jun 2003 12:41:56 -0500 > > > From: "Marc Powell" > > > To: "Chad Miller" , > > > > > > > > > You could use OCSP but that's probably overkill. My suggestion would = > > be > > > to write a small wrapper script for your disk-check command that has = > > the > > > logic that you want. > > > > > > --- > > > Marc > > > > > > > -----Original Message----- > > > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > > > Sent: Monday, June 23, 2003 12:24 PM > > > > To: nagios-users at lists.sourceforge.net > > > >=3D20 > > > > Sorry for the blank entry. > > > >=3D20 > > > > I'm trying to get nagios to email me every time it does a disk = > > check. > > > > What do I need to do to configure this properly? > > > >=3D20 > > > > Chad M. > > > >=3D20 > > > >=3D20 > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU Hosting > > > Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > > Commission! > > > > INetU Dedicated Managed Hosting = > > http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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: 17 > > > From: Jasmine > > > To: "Wilhelm, John" > > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > > disable services setti ngs when Nagios is restarted > > > Date: Tue, 24 Jun 2003 02:02:46 +0800 > > > Cc: nagios-users at lists.sourceforge.net > > > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi > > > > > > That means in your configuration of your services you have disabled > > them.=3D20 > > > Re-check your config files again=3D20 > > > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > > Hello, > > > > > > > > I am currently using Nagios 1.0. I have discovered that when I = > > restart > > > > Nagios, my "disabled service checks" and "disabled notifications" = > > are > > not > > > > retained across the restart. I have to disable everything when I > > restart > > > > Nagios. > > > > > > > > Is there any configuration that I have missed? > > > > > > > > retain_state_information=3D3D1 > > > > use_retained_program_state=3D3D1 > > > > > > > > John Wilhelm > > > > > > =3D2D --=3D20 > > > Jasmine Chua > > > =3D2D----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > > > KHPMF8hQJp0XQctVNBb1Dek=3D3D > > > =3D3DUIkG > > > =3D2D----END PGP SIGNATURE----- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 18 > > > From: "Dominik L. Borkowski" > > > To: nagios-users at lists.sourceforge.net > > > Date: Mon, 23 Jun 2003 14:13:39 -0400 > > > Subject: [Nagios-users] nrpe service dependancies > > > > > > Hey, > > > > > > I've been reading the documentation, experimenting, and still no luck. = > > I > > was > > > wondering, is it possible to 'easily' declare service dependancies in = > > this > > > scenario: > > > > > > - I have over 20 linux servers, each one has nrpe installed > > > - in addition, there are 5+ w2k servers with nrpe > > > - each of those 20 servers has currently 6 checks done via nrpe. > > > - the nrpe checks are declared using host groups > > > > > > Of course, if nrpe does not respond, each failed service check via = > > nrpe > > fails > > > also. So often times, if the server is under a heavy load, or nrpe has > > > problems, I get 6 notifications for each server. > > > > > > Now, is there an easy way to declare dependancies, that would say: > > > > > > - if nrpe does not respond on host X, do not perform any checks for = > > the > > given > > > host X. Do the same for each host in . - > > > > > > Any suggestions would be appreciated. > > > > > > PS) I've already tried using * for hosts/and or services in the = > > dependancy > > > declarations. I ended up with a "dependancy hell", where with 20 hosts = > > and > > 6 > > > services I had over 120 dependancies. service Y would be dependant on = > > each > > > service of every host. Maybe I'm doing something wrong... > > > > > > > > > --=20 > > > Dominik L. Borkowski - Systems Administrator > > > Virginia Bioinformatics Institute - www.vbi.vt.edu > > > > > > > > > > > > -- __--__-- > > > > > > Message: 19 > > > From: Skip Montanaro > > > Date: Mon, 23 Jun 2003 13:25:34 -0500 > > > To: nagios-users at lists.sourceforge.net > > > Reply-To: skip at pobox.com > > > Subject: [Nagios-users] check_cluster service - what's the correct = > > "host"? > > > > > > I implemented a simple DNS cluster check this morning. My services = > > file > > > defines a variant of my dns-service: > > > > > > define service{ > > > use dns-service > > > > > > name dns-cluster-service > > > service_description DNSC > > > is_volatile 0 > > > max_check_attempts 3 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > notification_interval 120 > > > check_command > > check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg > > > > > > register 0 > > > } > > > > > > define service{ > > > use dns-cluster-service > > > host_name ns > > > contact_groups skip > > > notification_period red > > > } > > > > > > and my dnscluster.cfg file identifies the elements of the cluster: > > > > > > ns;DNS Service > > > drjimmy;DNS Service > > > iris;DNS Service > > > relay;DNS Service > > > > > > This seems to work fine, but it just doesn't seem right that I need to > > > associate it with a real host. Is there some way to define a virtual = > > host > > > which really doesn't exist (is never checked for being up) which could = > > be > > > associated with cluster services? > > > > > > Thx, > > > > > > --=20 > > > Skip Montanaro > > > skip at pobox.com > > > Got spam? http://spambayes.sf.net/ > > > > > > > > > -- __--__-- > > > > > > Message: 20 > > > From: "Wilhelm, John" > > > To: "'nagios at nagios.org'" , > > > "'jasmine.chua at securecirt.com'" > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Help - losing my disable notifications and = > > dis > > > able services setti ngs when Nagios is restarted > > > Date: Mon, 23 Jun 2003 14:32:01 -0400 > > > > > > This message is in MIME format. Since your mail reader does not = > > understand > > > this format, some or all of this message may not be legible. > > > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A > > > Content-Type: text/plain; > > > charset=3D"iso-8859-1" > > > > > > Hello Jasmine, > > > > > > Thanks for the response. You are right, I had the > > > "retain_nonstatus_information" set to 0. If this is not set to 1, = > > when > > > nagios restarts, all disabled settings are lost. > > > > > > Thanks again, > > > John Wilhelm > > > > > > -----Original Message----- > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > Sent: Monday, June 23, 2003 2:03 PM > > > To: Wilhelm, John > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Help - losing my disable notifications and > > > disable services setti ngs when Nagios is restarted > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi > > > > > > That means in your configuration of your services you have disabled = > > them. > > > Re-check your config files again > > > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > > Hello, > > > > > > > > I am currently using Nagios 1.0. I have discovered that when I = > > restart > > > > Nagios, my "disabled service checks" and "disabled notifications" = > > are > > not > > > > retained across the restart. I have to disable everything when I > > restart > > > > Nagios. > > > > > > > > Is there any configuration that I have missed? > > > > > > > > retain_state_information=3D1 > > > > use_retained_program_state=3D1 > > > > > > > > John Wilhelm > > > > > > - --=20 > > > Jasmine Chua > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW > > > KHPMF8hQJp0XQctVNBb1Dek=3D > > > =3DUIkG > > > -----END PGP SIGNATURE----- > > > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A > > > Content-Type: text/html; > > > charset=3D"iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > > > > > > > charset=3D3Diso-8859-1"> > > > > > 5.5.2655.35"> > > > RE: [Nagios-users] Help - losing my disable notifications and = > > =3D > > > disable services setti ngs when Nagios is restarted > > > > > > > > > > > >

Hello Jasmine, > > >

> > > > > >

Thanks for the response.  You are = > > right,  I =3D > > > had the "retain_nonstatus_information" set to 0.  If = > > =3D > > > this is not set to 1, when nagios restarts, all disabled settings are = > > =3D > > > lost.

> > > > > >

Thanks again, > > >
John Wilhelm > > >

> > > > > >

-----Original Message----- > > >
From: Jasmine [ > > = > > HREF=3D3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securec= > > i=3D > > > rt.com] > > >
Sent: Monday, June 23, 2003 2:03 PM > > >
To: Wilhelm, John > > >
Cc: nagios-users at lists.sourceforge.net > > >
Subject: Re: [Nagios-users] Help - losing my = > > disable =3D > > > notifications and > > >
disable services setti ngs when Nagios is =3D > > > restarted > > >

> > >
> > > > > >

-----BEGIN PGP SIGNED MESSAGE----- > > >
Hash: SHA1 > > >

> > > > > >

Hi > > >

> > > > > >

That means in your configuration of your services = > > you =3D > > > have disabled them. > > >
Re-check your config files again > > >

> > > > > >

On Tuesday 24 June 2003 01:29, Wilhelm, John =3D > > > wrote: > > >
> Hello, > > >
> > > >
> I am currently using Nagios 1.0.  I = > > have =3D > > > discovered that when I restart > > >
> Nagios, my "disabled service = > > checks" =3D > > > and "disabled notifications" are not > > >
> retained across the restart.  I have to = > > =3D > > > disable everything when I restart > > >
> Nagios. > > >
> > > >
> Is there any configuration that I have =3D > > > missed? > > >
> > > >
> retain_state_information=3D3D1 > > >
> use_retained_program_state=3D3D1 > > >
> > > >
> John Wilhelm > > >

> > > > > >

- -- > > >
Jasmine Chua > > >
-----BEGIN PGP SIGNATURE----- > > >
Version: GnuPG v1.2.2 (GNU/Linux) > > >

> > > > > >

> > = > > SIZE=3D3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjK= > > r=3D > > > W > > >
KHPMF8hQJp0XQctVNBb1Dek=3D3D > > >
=3D3DUIkG > > >
-----END PGP SIGNATURE----- > > >

> > > > > > > > > > > > ------_=3D_NextPart_001_01C339B5.BCF3069A-- > > > > > > > > > -- __--__-- > > > > > > Message: 21 > > > Date: Mon, 23 Jun 2003 21:02:11 +0200 > > > From: "Hegedus, Ervin" > > > To: Karl DeBisschop > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Fail error message - more interesting > > > > > > Hello, > > > > > > here is a new, interesting problem. > > > > > > okay, the monitoring of that w2k host was resolved - that host is > > > an other city, than where i work. that network connects to me > > > trough VPN. i also monitoring the "other site" VPN router. > > > > > > Nagios send me an alert message, VPN router is unreacheable. the > > > problem was in network, and that stayed up just a few minutes. > > > > > > but. > > > > > > after this alert, this w2k host - and only this host, other w2k > > > hosts are goods in Nagios, in that network - is also in alert state. > > > since 4 hours... > > > > > > > > > i don't understand this. > > > how can i debug this state? how can i run Nagios with higher log > > > facility? > > > has somebody some good think? :) > > > > > > > > > > > > thank you: > > > airween > > > > > > > > > -- __--__-- > > > > > > Message: 22 > > > From: "Jason Lancaster" > > > To: "Marc Powell" , > > > "Chad Miller" , > > > > > > Subject: Re: [Nagios-users] Mail help > > > Date: Mon, 23 Jun 2003 15:05:26 -0400 > > > > > > All event handlers and notifications run with the assumption that a = > > state > > > has changed. It's likely not going to change in your instance, = > > therefore, > > > I'd write a new check-disk script to email you the output as well as > > > printing the output. You could also follow Marc's idea by writing a > > program > > > that parses ocsp output looking for specific events and notifying you > > > accordingly. > > > > > > -Jason > > > > > > ----- Original Message -----=20 > > > From: "Marc Powell" > > > To: "Chad Miller" ; > > > > > > Sent: Monday, June 23, 2003 13:41 > > > Subject: RE: [Nagios-users] Mail help > > > > > > > > > You could use OCSP but that's probably overkill. My suggestion would = > > be > > > to write a small wrapper script for your disk-check command that has = > > the > > > logic that you want. > > > > > > --- > > > Marc > > > > > > > -----Original Message----- > > > > From: Chad Miller [mailto:chad.miller at mainstream-tech.com] > > > > Sent: Monday, June 23, 2003 12:24 PM > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > Sorry for the blank entry. > > > > > > > > I'm trying to get nagios to email me every time it does a disk = > > check. > > > > What do I need to do to configure this properly? > > > > > > > > Chad M. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU Hosting > > > Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > > Commission! > > > > INetU Dedicated Managed Hosting = > > http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: 23 > > > Subject: RE: [Nagios-users] Mail notification > > > Date: Mon, 23 Jun 2003 14:23:25 -0500 > > > From: "Carroll, Jim P [Contractor]" > > > To: "Jasmine" , > > > "Chad Miller" > > > Cc: > > > > > > I think that approach would only send a notification if there's a > > > warning/critical status. I think Chad wants to get a report every > > > hour, regardless. > > > > > > Chad, you could simply try running the command that Nagios runs, > > > but run it from a crontab every hour and pipe the output to mail. > > > > > > jc > > > > > > > > > > -----Original Message----- > > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > > Sent: Monday, June 23, 2003 12:38 PM > > > > To: Chad Miller > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Mail notification > > > >=3D20 > > > >=3D20 > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > >=3D20 > > > > Hi > > > >=3D20 > > > > You can try setting notification_interval to 60 in your=3D20 > > > > service definition=3D20 > > > > template for "disk utilization" this is provided your=3D20 > > > > interval_length is set=3D20 > > > > to 60secs in nagios.cfg.=3D20 > > > >=3D20 > > > > On Tuesday 24 June 2003 01:09, Chad Miller wrote: > > > > > How would I configure nagios to send out an email every=3D20 > > > > hour that shows my > > > > > Disk utilization? > > > > > > > > > > Chad M. > > > >=3D20 > > > > - --=3D20 > > > > Jasmine Chua > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > >=3D20 > > > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E > > > > ze8iMlz0aKd4cwADyckaBpk=3D3D > > > > =3D3Dh3sl > > > > -----END PGP SIGNATURE----- > > > >=3D20 > > > >=3D20 > > > >=3D20 > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU=3D20 > > > > Hosting Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly=3D20 > > > > Commission! > > > > INetU Dedicated Managed Hosting = > > http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS=3D20 > > > > when reporting any issue.=3D20 > > > > ::: Messages without supporting info will risk being sent to = > > /dev/null > > > >=3D20 > > > > > > > > > -- __--__-- > > > > > > Message: 24 > > > Date: Mon, 23 Jun 2003 15:48:18 -0400 > > > To: "Carroll, Jim P [Contractor]" , > > > "Jasmine" , > > > "Chad Miller" > > > From: Rob Nelson > > > Subject: RE: [Nagios-users] Mail notification > > > Cc: > > > > > > > > > >I think that approach would only send a notification if there's a > > > >warning/critical status. I think Chad wants to get a report every > > > >hour, regardless. > > > > > > > >Chad, you could simply try running the command that Nagios runs, > > > >but run it from a crontab every hour and pipe the output to mail. > > > > > > If you really want Nagios to do it, so that you can disable it via the = > > web > > > page, set the "low" threshold to larger than your hard drive, so it = > > will > > > always be in warn/crit. Defaults to resends every 2 hours. > > > > > > > > > Rob Nelson > > > Network Administrator, Capitol Broadband > > > C: 919-369-1874 > > > rob at capband.net > > > > > > > > > > > > -- __--__-- > > > > > > Message: 25 > > > Reply-To: > > > From: "Michael Carpenter" > > > To: > > > Date: Mon, 23 Jun 2003 15:27:31 -0500 > > > Subject: [Nagios-users] NSCA and syslog-ng question > > > > > > This is a multi-part message in MIME format. > > > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0 > > > Content-Type: text/plain; > > > charset=3D"us-ascii" > > > Content-Transfer-Encoding: 7bit > > > > > > I am very new at Nagios and have a question regarding the NSCA extra = > > and > > > using it with syslog-ng. > > > > > > I have downloaded and complied the nsca, send-nsca, and the mcrypt > > > stuff. I have edited the config files. My issue is that my loghost = > > is > > > also my nagios box. In syslog-ng.conf do I need another source line > > > other than "source net { udp();};? I also have the nagios.pipe > > > configured and I can see messages entering the pipe, and sitting there > > > for a time period.then they clear. > > > > > > Also, how do I configure Nagios to use the information coming from the > > > pipe. > > > > > > Thanks in advance. > > > > > > Mike > > > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0 > > > Content-Type: text/html; > > > charset=3D"us-ascii" > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > > > > > > > > charset=3D3Dus-ascii"> > > > > > 6.0.4630.0"> > > > NSCA and syslog-ng question > > > > > > > > > > > > > > >

> FACE=3D3D"Arial">I am =3D > > > very new at Nagios and have a question regarding the NSCA extra and = > > =3D > > > using it with syslog-ng.

> > > > > >

> FACE=3D3D"Arial">I =3D > > > have downloaded and complied the nsca, send-nsca, and the mcrypt =3D > > > stuff.  I have edited the config files.  My issue is that my = > > =3D > > > loghost is also my nagios box. > > LANG=3D3D"en-us">  > =3D > > > FACE=3D3D"Arial"> In syslog-ng.conf do I need another source line = > > other =3D > > > than > LANG=3D3D"en-us"> =3D > > > > > LANG=3D3D"en-us"> > > FACE=3D3D"Arial">source net { udp();};?  I also have the = > > nagios.pipe =3D > > > configured and I can see messages entering the pipe, and sitting there = > > =3D > > > for a time period > > LANG=3D3D"en-us"> > FACE=3D3D"Arial">… > > LANG=3D3D"en-us"> > > FACE=3D3D"Arial">then they clear > > LANG=3D3D"en-us"> > > FACE=3D3D"Arial">… > LANG=3D3D"en-us"> > > LANG=3D3D"en-us">

> > > > > >

> FACE=3D3D"Arial">Also, =3D > > > how do I configure Nagios to use the information coming from the =3D > > > pipe > LANG=3D3D"en-us"> > > SIZE=3D3D2 FACE=3D3D"Arial">… > > LANG=3D3D"en-us">

> > > > > >

> > FACE=3D3D"Arial">Thanks in advance > > LANG=3D3D"en-us"> > > FACE=3D3D"Arial">… > LANG=3D3D"en-us"> > > LANG=3D3D"en-us">

> > > > > >

> > FACE=3D3D"Arial">Mike > =3D > > > LANG=3D3D"en-us">

> > > > > > > > > > > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0-- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 26 > > > From: "Bill Hults" > > > To: "manny" , > > > > > > Subject: RE: [Nagios-users] Error During Installation > > > Date: Mon, 23 Jun 2003 17:27:06 -0400 > > > > > > Have you applied the various patches to RH9 to bring it up to date & > > > possibly solve this kind of problem? I've just installed it on RH9 & = > > it > > went > > > fine > > > Bill > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of manny > > > Sent: Monday, June 23, 2003 12:29 PM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Error During Installation > > > > > > > > > > > > I am running Red Hat linux 9.x and during the compaling porocess i get = > > the > > > following error. > > > > > > configure:error: no acceptable cc found in $PATH > > > > > > Does any one have any clues as how i can work behond this. > > > > > > Thanks > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > > > > > > > > > -- __--__-- > > > > > > Message: 27 > > > Date: Mon, 23 Jun 2003 17:44:20 -0400 > > > To: nagios-users at lists.sourceforge.net > > > From: Jeyri Bautista > > > Subject: [Nagios-users] MySQL Database > > > > > > Hi, > > > > > > Now, I have my nagios information in plain text, but I want record in = > > a > > > mysql database. My question is: Can I record in a mysql database the > > > nagios.log information?, because i read that the information that can = > > be > > > record is status.log, comment.log, downtime.log and extinfo. > > > > > > Thanks, > > > > > > Jeyri > > > > > > > > > > > > -- __--__-- > > > > > > Message: 28 > > > From: Jasmine > > > To: "Wilhelm, John" > > > Subject: Re: [Nagios-users] Help - losing my disable notifications and = > > dis > > able services setti ngs when Nagios is restarted > > > Date: Tue, 24 Jun 2003 05:47:22 +0800 > > > Cc: nagios-users at lists.sourceforge.net > > > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > You are most welcome but hey you are the one who spotted the mistake, = > > not > > m=3D > > > e!=3D20 > > > I only point you to the right direction that's all! Nagios is = > > just=3D20 > > > wonderful.. > > > > > > Cheers! > > > > > > Jasmine=3D20 > > > > > > > > > On Tuesday 24 June 2003 02:32, you wrote: > > > > Hello Jasmine, > > > > > > > > Thanks for the response. You are right, I had the > > > > "retain_nonstatus_information" set to 0. If this is not set to 1, = > > when > > > > nagios restarts, all disabled settings are lost. > > > > > > > > Thanks again, > > > > John Wilhelm > > > > > > > > -----Original Message----- > > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > > Sent: Monday, June 23, 2003 2:03 PM > > > > To: Wilhelm, John > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Help - losing my disable notifications = > > and > > > > disable services setti ngs when Nagios is restarted > > > > > > > > > > > > Hi > > > > > > > > That means in your configuration of your services you have disabled > > them. > > > > Re-check your config files again > > > > > > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote: > > > > > Hello, > > > > > > > > > > I am currently using Nagios 1.0. I have discovered that when I > > restart > > > > > Nagios, my "disabled service checks" and "disabled notifications" = > > are > > n=3D > > > ot > > > > > retained across the restart. I have to disable everything when I > > resta=3D > > > rt > > > > > Nagios. > > > > > > > > > > Is there any configuration that I have missed? > > > > > > > > > > retain_state_information=3D3D1 > > > > > use_retained_program_state=3D3D1 > > > > > > > > > > John Wilhelm > > > =3D2D----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu > > > gdJzpdx+Ww/rTtYK6aNQHBo=3D3D > > > =3D3DUssf > > > =3D2D----END PGP SIGNATURE----- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 29 > > > From: Jasmine > > > To: Gilberto Nunes Ferreira > > > Date: Tue, 24 Jun 2003 07:51:46 +0800 > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key verification > > failed. > > > > > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Hi=3D20 > > > > > > It means it is really a SSH problem. Your box cannot access the other = > > by > > SS=3D > > > H.=3D20 > > > You have to make sure you have the right host keys generated. Perhaps = > > you > > c=3D > > > an=3D20 > > > check your known_hosts in your .ssh directory to make sure the key for > > that=3D > > > =3D20 > > > particular host is there.=3D20 > > > > > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > > > Hi evervbody > > > > > > > > I have two host. > > > > One of then I wan't to verify by check_by_ssh, plugins. > > > > So, I make this in the checkcommands.cfg file: > > > > > > > > ..... > > > > ... > > > > .. > > > > define command{ > > > > command_name ssh_check_disk > > > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > > > } > > > > > > =3D > > > =3D20 > > > > Wen I restart the = > > nagios > > > > services, appear a mesagem that say: > > > > > > > > > > > > > > > > Host key verification failed. > > > > > > > > > > > > What the means of this mesage? > > > > I forgot something?!?!?! > > > > > > > > Please,help! > > > > Thanks. > > > > > > =3D2D --=3D20 > > > Jasmine Chua > > > Security Engineer > > > > > > =3D2D----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > > > T8ddWrGJipPo0jXTPzfpO0M=3D3D > > > =3D3DgeFj > > > =3D2D----END PGP SIGNATURE----- > > > > > > > > > > > > -- __--__-- > > > > > > Message: 30 > > > From: Frank Gadot > > > To: Nagios-Users > > > Organization: EPS > > > Date: 23 Jun 2003 20:11:03 -0400 > > > Subject: [Nagios-users] Notification problems > > > > > > Hi all, > > > > > > I have been looking for weeks now about this problem: At the very > > > begining, when a computer would be down, I would receive EMAIL + = > > PAGER. > > > Now, it is or PAGER or EMAIL. I have no clue what I changed. > > > > > > Here is an example for one computer: > > > > > > > > > hosts.cfg > > > #TEST > > > define host { > > > use generic-host > > > host_name TEST > > > alias TEST SERVER > > > address 192.168.1.41 > > > check_command check-host-alive > > > max_check_attempts 3 > > > notification_interval 5 > > > notification_period 24x7 > > > notification_options d,u,r > > > } > > > > > > > > > > > > > > > hostgroups.cfg > > > define hostgroup{ > > > hostgroup_name PRODUCTION > > > alias High priority servers > > > contact_groups ADMIN-PAGER > > > members TEST > > > } > > > > > > > > > > > > services.cfg > > > define service{ > > > use generic-service > > > host_name TEST > > > service_description PING > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 1 > > > retry_check_interval 1 > > > contact_groups ADMIN-EMAIL > > > notification_interval 5 > > > notification_period 24x7 > > > notification_options u,c,r > > > check_command check_ping!100.0,20%!500.0,60% > > > } > > > > > > > > > > > > > > > contacts.cfg > > > everything about me > > > > > > > > > > > > contactgroups.cfg > > > define contactgroup{ > > > contactgroup_name ADMIN-PAGER > > > alias ADMIN for pagers > > > members frank > > > } > > > > > > > > > So: The contact group for the host is ADMIN-PAGER , but the service > > > define ADMIN-EMAIL. Is there a way to receive both of them ? > > > > > > Thank you. > > > > > > > > > > > > -- __--__-- > > > > > > Message: 31 > > > To: nagios-users at lists.sourceforge.net > > > From: sobrien at ci.bend.or.us > > > Date: Mon, 23 Jun 2003 17:12:07 -0700 > > > Subject: [Nagios-users] Looking for a way to connect to host via = > > Status > > map > > > > > > This is an S/MIME signed message. > > > > > > ---------z13701_boundary_sign > > > Content-Type: multipart/alternative; boundary=3D"=3D_alternative > > 0000FF7488256D4F_=3D" > > > > > > This is a multipart message in MIME format. > > > --=3D_alternative 0000FF7488256D4F_=3D > > > Content-Type: text/plain; charset=3D"US-ASCII" > > > > > > Has anyone figured out how to click on a host in your status map and > > > connect via ssh, telnet, walkie-talkie, etc... > > > > > > Steve O'Brien > > > City of Bend > > > Network Administrator > > > sobrien at ci.bend.or.us > > > 541-322-6393 > > > > > > --=3D_alternative 0000FF7488256D4F_=3D > > > Content-Type: text/html; charset=3D"US-ASCII" > > > > > > > > >
Has anyone figured out how to = > > click > > > on a host in your status map and connect via ssh, telnet, = > > walkie-talkie, > > > etc... > > >

> > > Steve O'Brien
> > > City of Bend
> > > Network Administrator
> > > sobrien at ci.bend.or.us
> > > 541-322-6393
> > >
> > > --=3D_alternative 0000FF7488256D4F_=3D-- > > > > > > ---------z13701_boundary_sign > > > Content-Type: application/x-pkcs7-signature; name=3D"smime.p7s" > > > Content-Transfer-Encoding: base64 > > > Content-Disposition: attachment; filename=3D"smime.p7s" > > > Content-Description: S/MIME Cryptographic Signature > > > > > > > > MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCB= > > EEw > > > > > ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9= > > w0B > > > > > CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTB= > > k9y > > > > > ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJV= > > DEV > > > > > MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowg= > > ZQx > > > > > KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCV= > > VMx > > > > > DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kM= > > Qsw > > > > > CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNA= > > DCB > > > > > iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYun= > > Dnv > > > > > eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3= > > Y8O > > > > > QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwC= > > wYD > > > > > VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWA= > > dkJ > > > > > MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlb= > > mQs > > > > > Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlc= > > nZp > > > > > Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY= > > 2F0 > > > > > ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwR= > > qBE > > > > > oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyM= > > G9m > > > > > JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpS= > > uDj > > > > > gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qU= > > YSL > > > > > j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk= > > 9xK > > > > > BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUM= > > Sow > > > > > KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTM= > > Q8w > > > > > DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELM= > > AkG > > > > > A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2M= > > DUx > > > > > ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxC= > > zAJ > > > > > BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpd= > > Hkg > > > > > b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9= > > w0B > > > > > AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHu= > > bJj > > > > > BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAy= > > d+N > > > > > 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUA= > > gQG > > > > > HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3Ljihe= > > vBu > > > > > iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5J= > > TIw > > > > > b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2a= > > WNl > > > > > cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9d= > > XM/ > > > > > Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1d= > > Glv > > > > > blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb= > > 2xs > > > > > L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA= > > 4GB > > > > > ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq5= > > 2I8 > > > > > iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8= > > YhF > > > > > YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFA= > > DCB > > > > > lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGE= > > wJV > > > > > UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlb= > > mQx > > > > > CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNM= > > DQw > > > > > NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswC= > > QYD > > > > > VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5I= > > G9m > > > > > IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNA= > > QEB > > > > > BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJk= > > h4v > > > > > rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od= > > 1hU > > > > > 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCB= > > PAw > > > > > EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQB= > > gNV > > > > > HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBF= > > hth > > > > > ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb= > > 24x > > > > > DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATB= > > gNV > > > > > BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMo= > > IHJ > > > > > oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEU= > > CxD > > > > > Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uL= > > ERD > > > > > PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP= > > 29i > > > > > amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZ= > > TIu > > > > > Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJma= > > Wxl > > > > > Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQ= > > mVu > > > > > ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q= > > 2l0 > > > > > eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vyd= > > mlj > > > > > ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlma= > > WNh > > > > > dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzACh= > > lpo > > > > > dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyL= > > mNp > > > > > LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cX= > > G9w > > > > > ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kL= > > m9y > > > > > LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4= > > DBB > > > > > FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUp= > > SEl > > > > > +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvI= > > E2N > > > > > MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3D= > > QEJ > > > > > ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT= > > 3Jl > > > > > Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUM= > > RUw > > > > > EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBj= > > jEk > > > > > MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA= > > 1UE > > > > > CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVB= > > AsT > > > > > AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBA= > > L4d > > > > > Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGf= > > wka > > > > > SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4= > > XqG > > > > > 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIK= > > wYB > > > > > BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4E= > > Dcu > > > > > OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQ= > > GNp > > > > > LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlb= > > mQx > > > > > FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQ= > > mVu > > > > > ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovL= > > y9D > > > > > Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZ= > > Xkl > > > > > MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsR= > > EM9 > > > > > b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNST= > > ERp > > > > > c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51c= > > y9D > > > > > ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuY= > > Wdl > > > > > Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrB= > > gEF > > > > > BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZ= > > CxD > > > > > Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlnd= > > XJh > > > > > dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY= > > 3Rj > > > > > bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hb= > > mFn > > > > > ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ= > > 2l0 > > > > > eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpL= > > mJl > > > > > bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZ= > > iUy > > > > > MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrv= > > W/D > > > > > k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/= > > xm2 > > > > > t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwg= > > aMw > > > > > gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEB= > > hMC > > > > > VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZ= > > W5k > > > > > MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOA= > > wIa > > > > > BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0M= > > DAx > > > > > MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPM= > > TYw > > > > > NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwD= > > QYJ > > > > > KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIEl= > > pEC > > > > > Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/= > > ytp > > > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA=3D > > > > > > ---------z13701_boundary_sign-- > > > > > > > > > > > > -- __--__-- > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > End of Nagios-users Digest > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when = > > reporting any issue.=20 > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------_=_NextPart_001_01C33A52.27D793D0 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > Re: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 = > > msgs > > > > > > > > > >

You can either --
> >
> > - Fix the problem with the host
> > - acknowledge the problem from the web interface
> > - increase the plugin timeout
> > - adjust your notification interval for this host/service
> > - disable critical notifications for this host/service
> >
> > Or
> > - disable notifications for this host/service entirely in your = > > config
> >
> > It just depends on what you're really trying to accomplish.
> >
> >
> > --
> > Marc
> >
> > Sent from a very tiny wireless device with a very tiny unlit = > > keyboard.
> >
> >
> > -----Original Message-----
> > From: Eddy <c.eduardo at estacio.br>
> > To: nagios-users at lists.sourceforge.net = > > <nagios-users at lists.sourceforge.net>
> > Sent: Tue Jun 24 07:57:44 2003
> > Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 = > > msgs
> >
> > Socket timeout after 10 seconds
> > I have this messagem any can help me???
> > My hosts has a real problem, but i don't wana receive this message
> > Sorry my bad english but i 'm brazilian man :)
> >
> >
> > Sem mais,
> >
> >         Carlos Eduardo Dionizio
> >      Analista de Suporte - UNIX
> >     Universidade Est=E1cio de S=E1
> > Diretoria de Tecnologia da Informa=E7=E3o
> >
> >
> >
> >
> > ----- Original Message -----
> > From: <nagios-users-request at lists.sourceforge.net>
> > To: <nagios-users at lists.sourceforge.net>
> > Sent: Tuesday, June 24, 2003 12:23 AM
> > Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs
> >
> >
> > > Send Nagios-users mailing list submissions to
> > > nagios-users at lists.sourceforge.net
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > or, via email, send a message with subject or body 'help' to
> > > nagios-users-request at lists.sourceforge.net
> > >
> > > You can reach the person managing the list at
> > > nagios-users-admin at lists.sourceforge.net
> > >
> > > When replying, please edit your Subject line so it is more = > > specific
> > > than "Re: Contents of Nagios-users digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > >    1. RE: Autentication Fail !!!! (Billy)
> > >    2. Re: __Unofficial__ patch for embedded Perl = > > Interpeter support in
> > Nagios 1.1  (fixes SEGV on start-up with thread (Ethan Galstad)
> > >    3. Host detail showing all hosts up (greg)
> > >    4. Re: Compile Error with MySQL Support (Karl = > > Latiss)
> > >    5. ping does not recover (Marko Riedel)
> > >    6. Re:  Fail error message (Karl = > > DeBisschop)
> > >    7. Return code of 139 out of bound and other = > > errors (Fallsen, Tommy)
> > >    8. RE: nagiosbounce.sh (Martin, Jeremy)
> > >    9. passive host checks. (Jasmine)
> > >   10. Re: passive host checks. (Jason Lancaster)
> > >   11. Error During Installation (manny)
> > >   12. Mail notification (Chad Miller)
> > >   13. Mail help (Chad Miller)
> > >   14. Help - losing my disable notifications and disable = > > services setti
> > >        ngs when Nagios is = > > restarted (Wilhelm, John)
> > >   15. Re: Mail notification (Jasmine)
> > >   16. RE: Mail help (Marc Powell)
> > >   17. Re: Help - losing my disable notifications and = > > disable services
> > setti ngs when Nagios is restarted (Jasmine)
> > >   18. nrpe service dependancies (Dominik L. = > > Borkowski)
> > >   19. check_cluster service - what's the correct = > > "host"? (Skip Montanaro)
> > >   20. RE: Help - losing my disable notifications and = > > dis
> > >        able services setti ngs = > > when Nagios is restarted (Wilhelm, John)
> > >   21. Fail error message - more interesting (Hegedus, = > > Ervin)
> > >   22. Re: Mail help (Jason Lancaster)
> > >   23. RE: Mail notification (Carroll, Jim P = > > [Contractor])
> > >   24. RE: Mail notification (Rob Nelson)
> > >   25. NSCA and syslog-ng question (Michael Carpenter)
> > >   26. RE: Error During Installation (Bill Hults)
> > >   27. MySQL Database (Jeyri Bautista)
> > >   28. Re: Help - losing my disable notifications and dis = > > able services
> > setti ngs when Nagios is restarted (Jasmine)
> > >   29. Re: [Nagiosplug-help] Host key verification failed. = > > (Jasmine)
> > >   30. Notification problems (Frank Gadot)
> > >   31. Looking for a way to connect to host via Status = > > map
> > (sobrien at ci.bend.or.us)
> > >
> > > -- __--__--
> > >
> > > Message: 1
> > > From: "Billy" <nagios at billyshouse.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > > Subject: RE: [Nagios-users] Autentication Fail !!!!
> > > Date: Mon, 23 Jun 2003 14:19:36 +1000
> > >
> > > This is a multi-part message in MIME format.
> > >
> > > ------=3D_NextPart_000_1228_01C33992.796BC420
> > > Content-Type: text/plain;
> > > charset=3D"us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > Logins are controlled by the web server, not nagios. If it's = > > apache, =3D
> > > check
> > > your .htaccess file in your web dir, otherwise check the auth docs = > > for =3D
> > > your
> > > flavour of web server
> > >
> > > =3D20
> > >
> > >   _____ =3D20
> > >
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [ > HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > > ers-admin at lists.sourceforge.net] On Behalf Of Syed =3D
> > > Zulhilmi
> > > Tuan Sharif
> > > Sent: Monday, 23 June 2003 12:13 PM
> > > To: nagios-users at lists.sourceforge.net
> > >
> > > =3D20
> > >
> > > -I dont know what has happened to my Nagios.  Suddenly i = > > cannot login
> > > because it said that my login and password is npt valid.=3D20
> > >
> > > Arghhhh dont know why this happen.  Help me anyone
> > >
> > > =3D20
> > >
> > >
> > > ------=3D_NextPart_000_1228_01C33992.796BC420
> > > Content-Type: text/html;
> > > charset=3D"us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <html xmlns:v=3D3D"urn:schemas-microsoft-com:vml" = > > =3D
> > > xmlns:o=3D3D"urn:schemas-microsoft-com:office:office" = > > =3D
> > > xmlns:w=3D3D"urn:schemas-microsoft-com:office:word" = > > =3D
> > > = > > xmlns:st1=3D3D"urn:schemas-microsoft-com:office:smarttags" = > > =3D
> > > xmlns=3D3D" > HREF=3D"http://www.w3.org/TR/REC-html40">http://www.w3.org/TR/REC-html40<= > > /A>">
> > >
> > > <head>
> > > <META HTTP-EQUIV=3D3D"Content-Type" = > > CONTENT=3D3D"text/html; =3D
> > > charset=3D3Dus-ascii">
> > >
> > >
> > > <meta name=3D3DGenerator content=3D3D"Microsoft Word 11 = > > (filtered medium)">
> > > <!--[if !mso]>
> > > <style>
> > > v\:* {behavior:url(#default#VML);}
> > > o\:* {behavior:url(#default#VML);}
> > > w\:* {behavior:url(#default#VML);}
> > > .shape {behavior:url(#default#VML);}
> > > </style>
> > > <![endif]--><o:SmartTagType
> > >  = > > namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags" = > > =3D
> > > name=3D3D"time"/>
> > > <!--[if !mso]>
> > > <style>
> > > st1\:*{behavior:url(#default#ieooui) }
> > > </style>
> > > <![endif]-->
> > > <style>
> > > <!--
> > >  /* Font Definitions */
> > >  @font-face
> > > {font-family:Tahoma;
> > > panose-1:2 11 6 4 3 5 4 4 2 4;}
> > >  /* Style Definitions */
> > >  p.MsoNormal, li.MsoNormal, div.MsoNormal
> > > {margin:0cm;
> > > margin-bottom:.0001pt;
> > > font-size:12.0pt;
> > > font-family:"Times New Roman";}
> > > a:link, span.MsoHyperlink
> > > {color:blue;
> > > text-decoration:underline;}
> > > a:visited, span.MsoHyperlinkFollowed
> > > {color:purple;
> > > text-decoration:underline;}
> > > span.EmailStyle18
> > > {mso-style-type:personal-reply;
> > > font-family:Arial;
> > > color:navy;}
> > > @page Section1
> > > {size:595.3pt 841.9pt;
> > > margin:72.0pt 90.0pt 72.0pt 90.0pt;
> > > mso-footer-margin:35.4pt;}
> > > div.Section1
> > > {page:Section1;}
> > > -->
> > > </style>
> > >
> > > </head>
> > >
> > > <body lang=3D3DEN-AU link=3D3Dblue vlink=3D3Dpurple>
> > >
> > > <div class=3D3DSection1>
> > >
> > > <p class=3D3DMsoNormal><font size=3D3D2 color=3D3Dnavy = > > face=3D3DArial><span =3D
> > > style=3D3D'font-size:
> > > 10.0pt;font-family:Arial;color:navy'>Logins are controlled by = > > the web =3D
> > > server,
> > > not nagios. If it&#8217;s apache, check your .htaccess file in = > > your web =3D
> > > dir,
> > > otherwise check the auth docs for your flavour of web =3D
> > > = > > server<o:p></o:p></span></font></p>
> > >
> > > <p class=3D3DMsoNormal><font size=3D3D2 color=3D3Dnavy = > > face=3D3DArial><span =3D
> > > style=3D3D'font-size:
> > > = > > 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>= > > </span></font></p>
> > >
> > > <div>
> > >
> > > <div class=3D3DMsoNormal align=3D3Dcenter =3D
> > > style=3D3D'margin-left:36.0pt;text-align:center'><font
> > > size=3D3D3 face=3D3D"Times New Roman"><span = > > lang=3D3DEN-US =3D
> > > style=3D3D'font-size:12.0pt'>
> > >
> > > <hr size=3D3D2 width=3D3D"100%" align=3D3Dcenter = > > tabindex=3D3D-1>
> > >
> > > </span></font></div>
> > >
> > > <p class=3D3DMsoNormal = > > style=3D3D'margin-left:36.0pt'><b><font size=3D3D2 =3D
> > > face=3D3DTahoma><span
> > > lang=3D3DEN-US =3D
> > > = > > style=3D3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:= > > </spa=3D
> > > n></font></b><font
> > > size=3D3D2 face=3D3DTahoma><span lang=3D3DEN-US =3D
> > > style=3D3D'font-size:10.0pt;font-family:Tahoma'>
> > > nagios-users-admin at lists.sourceforge.net
> > > [
> HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > > ers-admin at lists.sourceforge.net] <b><span =3D
> > > style=3D3D'font-weight:
> > > bold'>On Behalf Of </span></b>Syed Zulhilmi Tuan = > > Sharif<br>
> > > <b><span = > > style=3D3D'font-weight:bold'>Sent:</span></b> Monday, 23 = > > June =3D
> > > 2003<st1:time
> > > Minute=3D3D"13" Hour=3D3D"12" = > > w:st=3D3D"on"> 12:13 PM</st1:time><br>
> > > <b><span = > > style=3D3D'font-weight:bold'>To:</span></b>
> > > = > > nagios-users at lists.sourceforge.net</span></font><span = > > =3D
> > > = > > lang=3D3DEN-US><o:p></o:p></span></p>
> > >
> > > </div>
> > >
> > > <p class=3D3DMsoNormal = > > style=3D3D'margin-left:36.0pt'><font size=3D3D3
> > > face=3D3D"Times New Roman"><span =3D
> > > = > > style=3D3D'font-size:12.0pt'><o:p>&nbsp;</o:p></spa= > > n></font></p>
> > >
> > > <div>
> > >
> > > <p class=3D3DMsoNormal = > > style=3D3D'margin-left:36.0pt'><font size=3D3D2 =3D
> > > color=3D3Dblack
> > > face=3D3DArial><span =3D
> > > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>-I = > > dont
> > > know what has happened to my Nagios.&nbsp; Suddenly i cannot = > > login =3D
> > > because it
> > > said that my login and password is npt valid. = > > </span></font><font =3D
> > > color=3D3Dblack
> > > face=3D3DArial><span =3D
> > > = > > style=3D3D'font-family:Arial;color:black'><o:p></o:p></= > > span></font></p>
> > >
> > > </div>
> > >
> > > <div>
> > >
> > > <p class=3D3DMsoNormal = > > style=3D3D'margin-left:36.0pt'><font size=3D3D2 =3D
> > > color=3D3Dblack
> > > face=3D3DArial><span =3D
> > > = > > style=3D3D'font-size:10.0pt;font-family:Arial;color:black'>Arghhhh
= > > > > > dont know why this happen.&nbsp; Help me = > > anyone</span></font><font =3D
> > > color=3D3Dblack
> > > face=3D3DArial><span =3D
> > > = > > style=3D3D'font-family:Arial;color:black'><o:p></o:p></= > > span></font></p>
> > >
> > > </div>
> > >
> > > <div>
> > >
> > > <p class=3D3DMsoNormal = > > style=3D3D'margin-left:36.0pt'><font size=3D3D3 =3D
> > > color=3D3Dblack
> > > face=3D3DArial><span =3D
> > > = > > style=3D3D'font-size:12.0pt;font-family:Arial;color:black'>&nbsp;&= > > lt;o:p></o:p=3D
> > > ></span></font></p>
> > >
> > > </div>
> > >
> > > </div>
> > >
> > > </body>
> > >
> > > </html>
> > >
> > > ------=3D_NextPart_000_1228_01C33992.796BC420--
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 2
> > > From: "Ethan Galstad" <nagios at nagios.org>
> > > To: nagios-users at lists.sourceforge.net
> > > Date: Mon, 23 Jun 2003 00:24:16 -0500
> > > Subject: Re: [Nagios-users] __Unofficial__ patch for embedded = > > Perl
> > Interpeter support in Nagios 1.1  (fixes SEGV on start-up with = > > thread
> > >
> > > Thanks for the patches!  I've applied these to CVS (both 1.x = > > and HEAD
> > > branches).
> > >
> > >
> > > On 21 Jun 2003 at 16:14, Stanley Hopcroft wrote:
> > >
> > > > Dear Ladies and Gentlemen,
> > > >
> > > > The Nagios kibutzers take great pleasure in announcing an = > > _unofficial_
> > > > patch for embedded Perl support in Nagios 1.1.
> > > >
> > > > The patch, while not extensively tested, _should_ fix the SEGV = > > on
> > > > starting up (for any args, -h -m or -v) of a Nagios 1.1 = > > configured
> > > > with an embedded Perl interpreter (for greater efficiency in = > > executing
> > > > Perl plugins).
> > > >
> > > > Details below.
> > > >
> > > > Status
> > > >
> > > > Unofficial, unsactioned, and unsupported (vi) patch for SEGVs = > > on
> > > > start-up of Nagios built with an embedded Perl = > > interpreter.
> > > >
> > > > The SEGV occurs right at start-up and is associated with
> > > > libperl.so (it may occur at the first printf in the main = > > program). It
> > > > only occurs with threaded Perls that are typically shipped = > > with systems
> > > > having good pthread OS support.
> > > >
> > > > Affected systems include
> > > >
> > > > RH 8 and 9
> > > > Mandrake 9 ( 2.4.19-16mdk )
> > > > Suse     8
> > > > Debian   ?
> > > >
> > > > Unaffected systems include
> > > >
> > > > FreeBSD RELENG_4 (v4 Release and Stable branches)
> > > >
> > > > If you have a Linux or Solaris system with a Perl greater than = > > 5.6.1 and
> > > > you want an embedded Perl Nag, you need this patch.
> > > >
> > > > Credits
> > > >
> > > > Ethan Galstad
> > > > Reuben Farrelly
> > > >
> > > > I believe the patch was originally the work of Mr Reuben
> > > > Farrelly from Suse (the Suse 8 Nag 'package' has this problem = > > fixed).
> > > >
> > > > Feedback
> > > >
> > > > S Hopcroft
> > > >
> > > > Flames
> > > > S Hopcroft
> > > >
> > > > Testing
> > > > compiled and run on Mandrake 9/Perl 5.8.0
> > > > compiled         on = > > FreeBSD 4.8/Perl 5.8.0 {unthreaded]
> > > >         compiled and = > > run on FreeBSD 4.7/Perl 5.005 [unthreaded]
> > > >
> > > > Notes
> > > >
> > > > Should apply to Nag 1.0 but unchecked.
> > > >
> > > > Patch
> > > > attached.
> > > >
> > > > Yours sincerely.
> > > >
> > > >
> > > >
> > > >  --
> > > > = > > ------------------------------------------------------------------------<= > > BR> > > > > Stanley Hopcroft
> > > > = > > ------------------------------------------------------------------------<= > > BR> > > > >
> > > > '...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.
> > > >
> > >
> > >
> > >
> > > Ethan Galstad,
> > > Nagios Developer
> > > ---
> > > Email: nagios at nagios.org
> > > Website: > HREF=3D"http://www.nagios.org">http://www.nagios.org
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 3
> > > Date: Mon, 23 Jun 2003 11:48:48 +0200
> > > From: greg <g_mak at interia.pl>
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Host detail showing all hosts up
> > >
> > > This is a multi-part message in MIME format.
> > > --------------000504060808050902050806
> > > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed
> > > Content-Transfer-Encoding: 7bit
> > >
> > >
> > > Hi,
> > >
> > > I have about 200 hosts on a local network.
> > > Service detail shows things correctly, but host detail shows hosts = > > up
> > > while most of them are down.
> > > I have set up only ping service for each host.
> > > I suppose the solution is simple, but I'm not able to pinpoint = > > the
> > problem.
> > > Thanks
> > > Greg
> > >
> > >
> > >
> > >
> > > --------------000504060808050902050806
> > > Content-Type: text/plain;
> > >  name=3D"myconfig.txt"
> > > Content-Transfer-Encoding: 7bit
> > > Content-Disposition: inline;
> > >  filename=3D"myconfig.txt"
> > >
> > >
> > > log_file=3D/usr/local/nagios/var/nagios.log
> > > cfg_file=3D/usr/local/nagios/etc/checkcommands.cfg
> > > cfg_file=3D/usr/local/nagios/etc/misccommands.cfg
> > > cfg_file=3D/usr/local/nagios/etc/contactgroups.cfg
> > > cfg_file=3D/usr/local/nagios/etc/contacts.cfg
> > > cfg_file=3D/usr/local/nagios/etc/dependencies.cfg
> > > cfg_file=3D/usr/local/nagios/etc/escalations.cfg
> > > cfg_file=3D/usr/local/nagios/etc/hostgroups.cfg
> > > cfg_file=3D/usr/local/nagios/etc/hosts.cfg
> > > cfg_file=3D/usr/local/nagios/etc/services.cfg
> > > cfg_file=3D/usr/local/nagios/etc/timeperiods.cfg
> > > resource_file=3D/usr/local/nagios/etc/resource.cfg
> > > status_file=3D/usr/local/nagios/var/status.log
> > > nagios_user=3Dnagios
> > > nagios_group=3Dnagios
> > > check_external_commands=3D1
> > > command_check_interval=3D1
> > > command_file=3D/usr/local/nagios/var/rw/nagios.cmd
> > > comment_file=3D/usr/local/nagios/var/comment.log
> > > downtime_file=3D/usr/local/nagios/var/downtime.log
> > > lock_file=3D/usr/local/nagios/var/nagios.lock
> > > temp_file=3D/usr/local/nagios/var/nagios.tmp
> > > log_rotation_method=3Dd
> > > log_archive_path=3D/usr/local/nagios/var/archives
> > > use_syslog=3D1
> > > log_notifications=3D1
> > > log_service_retries=3D0
> > > log_host_retries=3D0
> > > log_event_handlers=3D1
> > > log_initial_states=3D0
> > > log_external_commands=3D1
> > > log_passive_service_checks=3D1
> > > #global_host_event_handler=3Dsomecommand
> > > #global_service_event_handler=3Dsomecommand
> > > inter_check_delay_method=3Dn
> > > service_interleave_factor=3Ds
> > > max_concurrent_checks=3D10
> > > service_reaper_frequency=3D1
> > > sleep_time=3D1
> > > service_check_timeout=3D60
> > > host_check_timeout=3D30
> > > event_handler_timeout=3D30
> > > notification_timeout=3D30
> > > ocsp_timeout=3D5
> > > perfdata_timeout=3D5
> > > retain_state_information=3D0
> > > state_retention_file=3D/usr/local/nagios/var/status.sav
> > > retention_update_interval=3D60
> > > use_retained_program_state=3D0
> > > interval_length=3D60
> > > use_agressive_host_checking=3D0
> > > execute_service_checks=3D1
> > > accept_passive_service_checks=3D0
> > > enable_notifications=3D1
> > > enable_event_handlers=3D1
> > > process_performance_data=3D0
> > > #host_perfdata_command=3Dprocess-host-perfdata
> > > #service_perfdata_command=3Dprocess-service-perfdata
> > > obsess_over_services=3D0
> > > #ocsp_command=3Dsomecommand
> > > check_for_orphaned_services=3D1
> > > check_service_freshness=3D1
> > > freshness_check_interval=3D600
> > > aggregate_status_updates=3D1
> > > status_update_interval=3D15
> > > enable_flap_detection=3D0
> > > low_service_flap_threshold=3D5.0
> > > high_service_flap_threshold=3D20.0
> > > low_host_flap_threshold=3D5.0
> > > high_host_flap_threshold=3D20.0
> > > date_format=3Dus
> > > illegal_object_name_chars=3D`~!$%^&*|'"<>?,()=3D
> > > illegal_macro_output_chars=3D`~$&|'"<>
> > > admin_email=3Dnagios
> > > admin_pager=3Dpagenagios
> > >
> > >
> > >
> > > define host{
> > > name generic-host ; The name of this host template - referenced in = > > other
> > host definitions, used for template recursion/resolution
> > > notifications_enabled 0 ; Host notifications are enabled
> > > event_handler_enabled 1 ; Host event handler is enabled
> > > flap_detection_enabled 1 ; Flap detection is enabled
> > > process_perf_data 1 ; Process performance data
> > > retain_status_information 0 ; Retain status information across = > > program
> > restarts
> > > retain_nonstatus_information 0 ; Retain non-status information = > > across
> > program restarts
> > >
> > > check_command check-host-alive
> > > max_check_attempts 10
> > > notification_interval 120
> > > notification_period 24x7
> > > notification_options n ;d,u,r
> > >
> > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, = > > JUST A
> > TEMPLATE!
> > > }
> > >
> > > define host{
> > > use generic-host
> > > host_name host-192.168.6.32
> > > alias host-192.168.6.32
> > > address 192.168.6.32
> > > }
> > >
> > > define host{
> > > use generic-host
> > > host_name host-192.168.8.22
> > > alias host-192.168.8.22
> > > address 192.168.8.22
> > > }
> > >
> > > ...
> > >
> > > # Generic service definition template
> > > define service{
> > > name generic-service ; The 'name' of this service template, = > > referenced in
> > other service definitions
> > > active_checks_enabled 1 ; Active service checks are enabled
> > > passive_checks_enabled 0 ; 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'
> > > notifications_enabled 0 ; 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 0 ; Retain status information across = > > program
> > restarts
> > > retain_nonstatus_information 0 ; Retain non-status information = > > across
> > program restarts
> > >
> > > service_description PING
> > > is_volatile 0
> > > check_period 24x7
> > > max_check_attempts 3
> > > normal_check_interval 5
> > > retry_check_interval 1
> > > contact_groups k3-admins
> > > notification_interval 15
> > > notification_period 24x7
> > > notification_options n ;c,r
> > > check_command check_ping!100.0,20%!500.0,60%
> > >
> > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL = > > SERVICE, JUST
> > A TEMPLATE!
> > > }
> > >
> > > define service{
> > > use generic-service
> > > host_name host-192.168.6.32
> > > }
> > >
> > > define service{
> > > use generic-service
> > > host_name host-192.168.8.22
> > > }
> > >
> > > ...
> > >
> > >
> > > --------------000504060808050902050806--
> > >
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 4
> > > Subject: Re: [Nagios-users] Compile Error with MySQL Support
> > > From: Karl Latiss <karl at designit.com.au>
> > > To: allan <allan at ht-tech.net>
> > > Cc: Nagios-users at lists.sourceforge.net
> > > Organization: design IT
> > > Date: 23 Jun 2003 19:55:03 +1000
> > >
> > > On Sat, 2003-06-21 at 23:55, allan wrote:
> > > > I am attempting to compile Nagios with complete mySQL = > > support.  The
> > swithces I am using are ...
> > > >
> > > >
> > ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments = > > --w
> > ith-mysql-extinfo --with-mysql-retention --with-mysql-downtime = > > --with-mysql-
> > inc=3D/usr/include/mysql --with-mysql-lib=3D/usr/lib/mysql
> > > >
> > > If you specify
> > >
> > > --with-mysql-xdata
> > >
> > > you don't need all the other --with-mysql stuff
> > >
> > > EXCEPT
> > >
> > > --with-mysql-lib=3D/usr/lib/mysql = > > --with-mysql-inc=3D/usr/include/mysql
> > >
> > > This worked fine for me on RH7.3 and Nagios 1.0
> > >
> > > Karl.
> > >
> > > > I have installed the following mySQL Packages..
> > > >
> > > > mysql-3.23.54a-11
> > > > mysql-devel-3.23.54a-11
> > > > mysql-server-3.23.54a-11
> > > >
> > > > though, when I try to compile - I get the following = > > error..
> > > >
> > > > *** MySQL library could not be located...*****************
> > > >
> > > > You chose to compile Nagios with MySQL support, but I was = > > unable to
> > locate the MySQL library on your system.  If the library is
> > > > installed,  use the --with-mysql-lib and --with-mysql-inc = > > arguments to
> > specify the locations of the MySQL library and include files.
> > > >
> > > >
> > > > I have the following mysqlclient files in ghe /usr/lib/mysql = > > directory -
> > > >
> > > > /usr/lib/mysql/libmysqlclient.a
> > /usr/lib/mysql/libmysqlclient.so.10.0.0
> > /usr/lib/mysql/libmysqlclient_r.so.10
> > > > /usr/lib/mysql/libmysqlclient.so     = > > /usr/lib/mysql/libmysqlclient_r.a
> > /usr/lib/mysql/libmysqlclient_r.so.10.0.0
> > > > /usr/lib/mysql/libmysqlclient.so.10  = > > /usr/lib/mysql/libmysqlclient_r.so
> > > >
> > > >
> > > > Any ideas on how to get this to compile - would be = > > appreciated.
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: INetU
> > > > Attention Web Developers & Consultants: Become An INetU = > > Hosting Partner.
> > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission!
> > > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > > ::: Please include Nagios version, plugin version (-v) and OS = > > when
> > reporting any issue.
> > > > ::: Messages without supporting info will risk being sent to = > > /dev/null
> > > --
> > > Karl Latiss <karl at designit.com.au>
> > > design IT
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 5
> > > From: Marko Riedel <mriedel at neuearbeit.de>
> > > Date: Mon, 23 Jun 2003 13:16:01 +0200 (CEST)
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] ping does not recover
> > >
> > >
> > > Hi folks,
> > >
> > > we have some machines that reboot during the night. Our PING = > > service
> > > goes critical during that time, as indeed it should.
> > >
> > > There is a problem with recovery however. Sometimes the service = > > does
> > > not recover until I manually schedule a check with the web = > > interface.
> > >
> > > Here are my definitions:
> > >
> > > # Generic service definition template
> > > define service{
> > >         = > > name    generic-service
> > >         = > > active_checks_enabled        &nbs= > > p;  1
> > >         = > > passive_checks_enabled        &nb= > > sp; 1
> > >         = > > parallelize_check         &n= > > bsp;     1
> > >         = > > obsess_over_service         = > >     1
> > >         = > > check_freshness         &nbs= > > p;       0
> > >         = > > notifications_enabled        &nbs= > > p;  0
> > >         = > > event_handler_enabled        &nbs= > > p;  1
> > >         = > > flap_detection_enabled        &nb= > > sp; 1
> > >         = > > process_perf_data         &n= > > bsp;     1
> > >         = > > retain_status_information       1
> > >         = > > retain_nonstatus_information    1
> > >
> > >         = > > register        0
> > >         }
> > >
> > > define service{
> > >         = > > use           &nbs= > > p;            = > > ;     generic-service
> > >         = > > name           &nb= > > sp;           &nbs= > > p;    ping-service
> > >         = > > service_description         = > >     PING
> > >         = > > is_volatile          &n= > > bsp;          0
> > >         = > > check_period          &= > > nbsp;         24x7
> > >         = > > max_check_attempts         &= > > nbsp;    3
> > >         = > > normal_check_interval        &nbs= > > p;  5
> > >         = > > retry_check_interval         = > > ;   1
> > >         = > > contact_groups          = > > ;        linux-admins
> > >         = > > notification_interval        &nbs= > > p;  240
> > >         = > > notification_period         = > >     24x7
> > >         = > > notification_options         = > > ;   c,r
> > >         = > > check_command          = > >          = > > check_ping!100.0,20%!500.0,60%
> > >         = > > register           = > > ;            = > > 0
> > >         }
> > >
> > >
> > > define service{
> > >         = > > use           &nbs= > > p;            = > > ;     ping-service
> > >         = > > host_name          &nbs= > > p;            = > > host
> > >
> > > }
> > >
> > >
> > > I'd appreciate any feedback you may have.
> > >
> > > Best regards,
> > >
> > > --
> > > +------------------------------------------------------------+
> > > | Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de |
> > > | > HREF=3D"http://www.geocities.com/markoriedelde/index.html">http://www.geo= > > cities.com/markoriedelde/index.html     &nbs= > > p;    |
> > > +------------------------------------------------------------+
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 6
> > > Subject: Re:  [Nagios-users] Fail error message
> > > From: Karl DeBisschop <karl at debisschop.net>
> > > To: "Hegedus, Ervin" <airween at amit.hu>
> > > Cc: nagios-users at lists.sourceforge.net
> > > Date: 23 Jun 2003 07:46:36 -0400
> > >
> > > On Sun, 2003-06-22 at 04:29, Hegedus, Ervin wrote:
> > > > Hello,
> > > >
> > > > dear Karl,
> > > > first: thank you for your reply.
> > > >
> > > > > Maybe the check_host is misconfigured? In that case, the = > > service
> > checks
> > > > > would not be performed until the host came back up. Which = > > it would not
> > > > > be able to do until check_host_alive reports success.
> > > > what do you mean 'check_host is misconfigured'?
> > >
> > > I mean that check_host_alive does not work for this host. Which you = > > did
> > > not mention in the email I was responding to, but you have now
> > > confirmed.
> > >
> > > > look at this:
> > > > monitor:~# grep check-host-alive = > > /usr/local/nagios/etc/hosts.cfg
> > > >         = > > check_command          = > > check-host-alive
> > > >         = > > check_command          = > > check-host-alive
> > > >         = > > check_command          = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > > #       check_command = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > > check_command check-host-alive
> > > >         check_command = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > >         check_command = > > check-host-alive
> > > >
> > > > as you can see, there is many other host where we use
> > > > check-host-alive command - there are works fine.
> > > > the commented line is the w2k host, what gives back false = > > alert.
> > > >
> > > > here is the relevant part of checkcommands.cfg:
> > > >
> > > > # 'check-host-alive' command definition
> > > > define command{
> > > >         = > > command_name    check-host-alive
> > > >         = > > command_line    $USER1$/check_ping -H
> > > > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
> > > >         }
> > > >
> > > > i use _only_ this command, i didn't redefined this command
> > > > anywhere...
> > > >
> > > > in my previous mail i attached a sample, where i tested = > > the
> > > > command_line line - that works with this host also.
> > >
> > > I don't see any problems with your command definition. I would = > > examine
> > > the host definition very carefully to if there are any typos there = > > that
> > > might affect how the host address is passed to the host-check = > > command.
> > >
> > > Once you fix the host check and uncomeent it, the problem you = > > described
> > > (service not being tested) will go away.
> > >
> > > --
> > > Karl
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 7
> > > Date: Mon, 23 Jun 2003 14:24:01 +0200
> > > From: "Fallsen, Tommy" = > > <Tommy.Fallsen at kongsberg.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > > Subject: [Nagios-users] Return code of 139 out of bound and other = > > errors
> > >
> > > This is a multi-part message in MIME format.
> > >
> > > ------_=3D_NextPart_001_01C33982.53FAE42C
> > > Content-Type: text/plain; charset=3D"us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > Hi
> > > I get these error sometimes: cannot map tcp for protocol setting, = > > Return
> > > code of 139 out of bound and state UNKNOWN on some services.
> > > The checks works just fine at first and this just suddenly = > > happends. Any
> > > settings that need adjusting?=3D20
> > > I must restart nagios to get the checks working again.
> > >
> > >
> > >
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Tommy Fallsen System Administrator=3D20
> > > Kongsberg Defence & Aerospace
> > > Email: tommyf at kongsberg.com
> > > TEL: +47 32287783
> > > WEB: > HREF=3D"http://www.kongsberg.com/eng/kog/">http://www.kongsberg.com/eng/k= > > og/
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > "UNIX is an operating system, OS/2 is half an operating = > > system,=3D20
> > > Windows is a shell, and DOS is a boot partition = > > virus."=3D20
> > > - Peter H. Coffin .=3D20
> > >
> > >
> > > =3D20
> > >
> > >
> > >
> > > = > > ********************************************************************** > > > > > This email and any files transmitted with it are confidential = > > and
> > > intended solely for the use of the individual or entity to whom = > > they
> > > are addressed. If you have received this email in error please = > > notify
> > > the system manager.
> > >
> > > This footnote also confirms that this email message has been swept = > > by
> > > MAILsweeper for the presence of computer viruses.
> > >
> > > Best regards,
> > > Kongsberg Gruppen
> > > = > > ********************************************************************** > > > > >
> > >
> > > ------_=3D_NextPart_001_01C33982.53FAE42C
> > > Content-Type: text/html; charset=3D"us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > > 3.2//EN">
> > > <HTML>
> > > <HEAD>
> > > <META HTTP-EQUIV=3D3D"Content-Type" = > > CONTENT=3D3D"text/html;
> > charset=3D3Dus-ascii">
> > > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > > Exchange Server version
> > 6.0.6249.1">
> > > <TITLE>Return code of 139 out of bound and other = > > errors</TITLE>
> > > </HEAD>
> > > <BODY>
> > > <!-- Converted from text/rtf format -->
> > >
> > > <P><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">Hi</FONT>
> > >
> > > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">I get = > > these error sometimes: cannot map
> > t=3D
> > > cp for protocol setting, Return code of 139 out of bound and state = > > UNKNOWN
> > =3D
> > > on some services.</FONT></P>
> > >
> > > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">The = > > checks works just fine at first and
> > th=3D
> > > is just suddenly happends. Any settings that need adjusting? = > > </FONT>
> > >
> > > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">I must = > > restart nagios to get the checks
> > w=3D
> > > orking again.</FONT>
> > > </P>
> > > <BR>
> > > <BR>
> > >
> > > <P><FONT SIZE=3D3D2
> > > FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D= > >
> > > ~~~~~~~~~~~~~~~</FONT>
> > >
> > > <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">Tommy = > > Fallsen&nbsp;&nbsp; System
> > Administ=3D
> > > rator </FONT>
> > >
> > > <BR><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">Kongsberg Defence &amp; = > > Aerospace</FONT>
> > >
> > > = > > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > > p;nbsp;
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > > p;&nbsp;&nbsp; = > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > > <FONT SIZE=3D3D2
> > FA=3D
> > > CE=3D3D"Arial">Email: = > > tommyf at kongsberg.com</FONT>
> > >
> > > = > > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > > p;nbsp;
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > > p;&nbsp;&nbsp; = > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > > <FONT SIZE=3D3D2
> > FA=3D
> > > CE=3D3D"Arial">TEL: +47 32287783</FONT>
> > >
> > > = > > <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am= > > p;nbsp;
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbs=3D
> > > p;&nbsp;&nbsp; = > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = > > <FONT SIZE=3D3D2
> > FA=3D
> > > CE=3D3D"Arial">WEB: </FONT><A
> > HREF=3D3D" > HREF=3D"http://www.kongsberg.com/eng/kog/">http://www.kongsberg.com/eng/k= > > og/"><U><=3D
> > > FONT COLOR=3D3D"#0000FF" SIZE=3D3D2
> > FACE=3D3D"Arial"> > HREF=3D"http://www.kongsberg.com/eng=3D">http://www.kongsberg.com/eng=3D<= > > /A>
> > > /kog/</FONT></U></A>
> > >
> > > <BR><FONT SIZE=3D3D2
> > > FACE=3D3D"Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=3D= > >
> > > ~~~~~~~~~~~~~~~</FONT>
> > >
> > > <BR><FONT FACE=3D3D"Times New = > > Roman">&quot;UNIX is an operating system, OS/2
> > =3D
> > > is half an operating system, </FONT>
> > >
> > > <BR><FONT FACE=3D3D"Times New Roman">Windows = > > is a shell, and DOS is a boot
> > pa=3D
> > > rtition virus.&quot; </FONT>
> > >
> > > <BR><I><FONT FACE=3D3D"Times New = > > Roman">&#8212; Peter H. Coffin
> > .</FONT></I><=3D
> > > FONT FACE=3D3D"Times New Roman"> </FONT>
> > > </P>
> > > <BR>
> > >
> > > <P><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">&nbsp;</FONT>
> > > </P>
> > >
> > > <FONT SIZE=3D3D3><BR>
> > > <BR>
> > > = > > **********************************************************************<= > > ;BR>
> > > This email and any files transmitted with it are confidential = > > and<BR>
> > > intended solely for the use of the individual or entity to whom = > > they<BR>
> > > are addressed. If you have received this email in error please = > > notify<BR>
> > > the system manager.<BR>
> > > <BR>
> > > This footnote also confirms that this email message has been swept = > > by<BR>
> > > MAILsweeper for the presence of computer viruses.<BR>
> > > <BR>
> > > Best regards,<BR>
> > > Kongsberg Gruppen<BR>
> > > = > > **********************************************************************<= > > ;BR>
> > > </FONT>
> > > </BODY>
> > > </HTML>
> > > ------_=3D_NextPart_001_01C33982.53FAE42C--
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 8
> > > Subject: RE: [Nagios-users] nagiosbounce.sh
> > > Date: Mon, 23 Jun 2003 08:19:01 -0500
> > > From: "Martin, Jeremy" <jmartin at gsi-kc.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > >
> > >
> > > > Hi Jeremy,
> > > >=3D20
> > > > Technically I don't see any problems with this, but it = > > does=3D20
> > > > beg the question - why do you need to do this?
> > > >=3D20
> > > > Linux is not the environment to practise the ctrl-alt-del = > > school of=3D20
> > > > networking. :-)
> > >
> > > Hehe. I've just been noticing that about once a week there are = > > extra =3D
> > > Nagios processes still running after I stop Nagios. I could = > > probably =3D
> > > just run the script once a week, or just manually when I make = > > config =3D
> > > changes and restart it, but I just hate getting multiple "Host = > > UP" pages =3D
> > > in the middle of the night due to rogue Nagios processes :-)
> > >
> > > Jeremy
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 9
> > > From: Jasmine <jasmine.chua at securecirt.com>
> > > To: nagios-users at lists.sourceforge.net
> > > Date: Mon, 23 Jun 2003 21:40:55 +0800
> > > Subject: [Nagios-users] passive host checks.
> > >
> > > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi
> > >
> > > Hi I understand that passive host checks comes only in the next = > > release
> > of=3D
> > > =3D20
> > > Nagios, which I am really looking forward to!=3D20
> > > I am just wondering if anyone has a temporarily solution to = > > overcome this
> > a=3D
> > > t=3D20
> > > the moment? I want the central host to be able to alert that remote = > > hosts
> > a=3D
> > > re=3D20
> > > down and not assumed them to be up. Any suggestions what I can do? = > > Or
> > is=3D20
> > > there a plugin available already just that I am not aware of?
> > >
> > >
> > >
> > > Thanks lots!
> > >
> > > Jasmine Chua
> > > =3D2D----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H
> > > SNZ5xWITl2aBeeMyfn0T8iM=3D3D
> > > =3D3DPtEn
> > > =3D2D----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 10
> > > From: "Jason Lancaster" = > > <jlancaster at affinity.com>
> > > To: "Jasmine" <jasmine.chua at securecirt.com>,
> > >    <nagios-users at lists.sourceforge.net>
> > > Subject: Re: [Nagios-users] passive host checks.
> > > Date: Mon, 23 Jun 2003 12:09:57 -0400
> > >
> > > While this would be really, really nice (the whole idea of my = > > distributed
> > > environment is to have servers behind firewalls sending statistics = > > to the
> > > central server) it is hard to develop a work-around because Nagios = > > cannot
> > > process any type of host-check through the external commands file. = > > The
> > only
> > > implemented process feature is PROCESS_SERVICE_CHECK_RESULT. = > > Perhaps
> > someone
> > > can hack this or figure out a way to disguise a host-check as a
> > > service-check...
> > >
> > > I'd like to see this too, though!
> > >
> > > -Jason
> > > ----- Original Message -----
> > > From: "Jasmine" <jasmine.chua at securecirt.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > > Sent: Monday, June 23, 2003 9:40
> > > Subject: [Nagios-users] passive host checks.
> > >
> > >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi
> > >
> > > Hi I understand that passive host checks comes only in the next = > > release of
> > > Nagios, which I am really looking forward to!
> > > I am just wondering if anyone has a temporarily solution to = > > overcome this
> > at
> > > the moment? I want the central host to be able to alert that remote = > > hosts
> > > are
> > > down and not assumed them to be up. Any suggestions what I can do? = > > Or is
> > > there a plugin available already just that I am not aware of?
> > >
> > >
> > >
> > > Thanks lots!
> > >
> > > Jasmine Chua
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+9wNsNgvTa7Hj2AURAkTVAJ9vsiHMcZX9G3JYbqc7TCa81aTxugCfdN4H
> > > SNZ5xWITl2aBeeMyfn0T8iM=3D
> > > =3DPtEn
> > > -----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission!
> > > INetU Dedicated Managed Hosting
> HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: 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: 11
> > > Date: 23 Jun 2003 16:28:35 -0000
> > > To: Nagios-users at lists.sourceforge.net
> > > From: manny <manny12602 at msn.com>
> > > Organization: squareBOX technologies discussion forums
> > > Subject: [Nagios-users] Error During Installation
> > >
> > >
> > > I am running Red Hat linux 9.x and during the compaling porocess i = > > get the
> > following error.
> > >
> > > configure:error: no acceptable cc found in $PATH
> > >
> > > Does any one have any clues as how i can work behond this.
> > >
> > > Thanks
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 12
> > > Date: Mon, 23 Jun 2003 12:09:06 -0500
> > > From: "Chad Miller" = > > <chad.miller at mainstream-tech.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > > Subject: [Nagios-users] Mail notification
> > >
> > > This is a multi-part message in MIME format.
> > >
> > > ------_=3D_NextPart_001_01C339AA.27A10656
> > > Content-Type: text/plain;
> > > charset=3D"iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > How would I configure nagios to send out an email every hour that = > > shows =3D
> > > my Disk utilization?
> > > =3D20
> > > Chad M.
> > >
> > > ------_=3D_NextPart_001_01C339AA.27A10656
> > > Content-Type: text/html;
> > > charset=3D"iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 = > > Transitional//EN">
> > > <HTML><HEAD><TITLE>Message</TITLE>
> > > <META content=3D3D"text/html; charset=3D3Diso-8859-1" = > > =3D
> > > http-equiv=3D3DContent-Type>
> > > <META content=3D3D"MSHTML 5.00.3516.2800" = > > name=3D3DGENERATOR></HEAD>
> > > <BODY>
> > > <DIV><FONT face=3D3DArial size=3D3D2><SPAN = > > class=3D3D732510717-23062003>How =3D
> > > would I=3D20
> > > configure nagios to send out an email every hour that shows my = > > Disk=3D20
> > > utilization?</SPAN></FONT></DIV>
> > > <DIV><FONT face=3D3DArial size=3D3D2><SPAN=3D20
> > > = > > class=3D3D732510717-23062003></SPAN></FONT>&nbsp;</= > > DIV>
> > > <DIV><FONT face=3D3DArial size=3D3D2><SPAN = > > class=3D3D732510717-23062003>Chad=3D20
> > > = > > M.</SPAN></FONT></DIV></BODY></HTML>
> > > =3D00
> > > ------_=3D_NextPart_001_01C339AA.27A10656--
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 13
> > > Date: Mon, 23 Jun 2003 12:23:35 -0500
> > > From: "Chad Miller" = > > <chad.miller at mainstream-tech.com>
> > > To: <nagios-users at lists.sourceforge.net>
> > > Subject: [Nagios-users] Mail help
> > >
> > > Sorry for the blank entry.
> > >
> > > I'm trying to get nagios to email me every time it does a disk = > > check.  =3D
> > > What do I need to do to configure this properly?
> > >
> > > Chad M.
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 14
> > > From: "Wilhelm, John" = > > <john.wilhelm at frontiercorp.com>
> > > To: "'nagios-users at lists.sourceforge.net'"
> > > <nagios-users at lists.sourceforge.net>
> > > Cc: "'nagios at nagios.org'" <nagios at nagios.org>
> > > Date: Mon, 23 Jun 2003 13:29:37 -0400
> > > Subject: [Nagios-users] Help - losing my disable notifications and = > > disable
> > services setti
> > >  ngs when Nagios is restarted
> > >
> > > This message is in MIME format. Since your mail reader does not = > > understand
> > > this format, some or all of this message may not be legible.
> > >
> > > ------_=3D_NextPart_001_01C339AD.04DDD2FE
> > > Content-Type: text/plain;
> > > charset=3D"iso-8859-1"
> > >
> > >
> > > Hello,
> > >
> > > I am currently using Nagios 1.0.  I have discovered that when = > > I restart
> > > Nagios, my "disabled service checks" and "disabled = > > notifications" are not
> > > retained across the restart.  I have to disable everything = > > when I restart
> > > Nagios.
> > >
> > > Is there any configuration that I have missed?
> > >
> > > retain_state_information=3D1
> > > use_retained_program_state=3D1
> > >
> > > John Wilhelm
> > >
> > >
> > > ------_=3D_NextPart_001_01C339AD.04DDD2FE
> > > Content-Type: text/html;
> > > charset=3D"iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > > 3.2//EN">
> > > <HTML>
> > > <HEAD>
> > > <META HTTP-EQUIV=3D3D"Content-Type" = > > CONTENT=3D3D"text/html; =3D
> > > charset=3D3Diso-8859-1">
> > > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > > Exchange Server version =3D
> > > 5.5.2655.35">
> > > <TITLE>Help - losing my disable notifications and disable = > > services =3D
> > > settings when Nagios is restarted</TITLE>
> > > </HEAD>
> > > <BODY>
> > > <BR>
> > >
> > > <P><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">Hello,</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">I am = > > currently using Nagios 1.0.&nbsp; =3D
> > > I have discovered that when I restart Nagios, my &quot;disabled = > > service =3D
> > > checks&quot; and &quot;disabled notifications&quot; are = > > not retained =3D
> > > across the restart.&nbsp; I have to disable everything when I = > > restart =3D
> > > Nagios.</FONT></P>
> > >
> > > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">Is there = > > any configuration that I have =3D
> > > missed?</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">retain_state_information=3D3D1</FONT>= > >
> > > <BR><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">use_retained_program_state=3D3D1</FONT&g= > > t;
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">John = > > Wilhelm</FONT>
> > > </P>
> > >
> > > </BODY>
> > > </HTML>
> > > ------_=3D_NextPart_001_01C339AD.04DDD2FE--
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 15
> > > From: Jasmine <jasmine.chua at securecirt.com>
> > > To: "Chad Miller" = > > <chad.miller at mainstream-tech.com>
> > > Subject: Re: [Nagios-users] Mail notification
> > > Date: Tue, 24 Jun 2003 01:37:50 +0800
> > > Cc: nagios-users at lists.sourceforge.net
> > >
> > > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi
> > >
> > > You can try setting notification_interval to 60 in your service
> > definition=3D
> > > =3D20
> > > template for "disk utilization" this is provided your = > > interval_length is
> > se=3D
> > > t=3D20
> > > to 60secs in nagios.cfg.=3D20
> > >
> > > On Tuesday 24 June 2003 01:09, Chad Miller wrote:
> > > > How would I configure nagios to send out an email every hour = > > that shows
> > my
> > > > Disk utilization?
> > > >
> > > > Chad M.
> > >
> > > =3D2D --=3D20
> > > Jasmine Chua
> > > =3D2D----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E
> > > ze8iMlz0aKd4cwADyckaBpk=3D3D
> > > =3D3Dh3sl
> > > =3D2D----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 16
> > > Subject: RE: [Nagios-users] Mail help
> > > Date: Mon, 23 Jun 2003 12:41:56 -0500
> > > From: "Marc Powell" <mpowell at ena.com>
> > > To: "Chad Miller" = > > <chad.miller at mainstream-tech.com>,
> > > <nagios-users at lists.sourceforge.net>
> > >
> > > You could use OCSP but that's probably overkill. My suggestion = > > would be
> > > to write a small wrapper script for your disk-check command that = > > has the
> > > logic that you want.
> > >
> > > ---
> > > Marc
> > >
> > > > -----Original Message-----
> > > > From: Chad Miller [ > HREF=3D"mailto:chad.miller at mainstream-tech.com">mailto:chad.miller at mainst= > > ream-tech.com]
> > > > Sent: Monday, June 23, 2003 12:24 PM
> > > > To: nagios-users at lists.sourceforge.net
> > > >=3D20
> > > > Sorry for the blank entry.
> > > >=3D20
> > > > I'm trying to get nagios to email me every time it does a disk = > > check.
> > > > What do I need to do to configure this properly?
> > > >=3D20
> > > > Chad M.
> > > >=3D20
> > > >=3D20
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: INetU
> > > > Attention Web Developers & Consultants: Become An INetU = > > Hosting
> > > Partner.
> > > > Refer Dedicated Servers. We Manage Them. You Get 10% = > > Monthly
> > > Commission!
> > > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > > ::: 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: 17
> > > From: Jasmine <jasmine.chua at securecirt.com>
> > > To: "Wilhelm, John" = > > <john.wilhelm at frontiercorp.com>
> > > Subject: Re: [Nagios-users] Help - losing my disable notifications = > > and
> > disable services setti ngs when Nagios is restarted
> > > Date: Tue, 24 Jun 2003 02:02:46 +0800
> > > Cc: nagios-users at lists.sourceforge.net
> > >
> > > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi
> > >
> > > That means in your configuration of your services you have = > > disabled
> > them.=3D20
> > > Re-check your config files again=3D20
> > >
> > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > > Hello,
> > > >
> > > > I am currently using Nagios 1.0.  I have discovered that = > > when I restart
> > > > Nagios, my "disabled service checks" and = > > "disabled notifications" are
> > not
> > > > retained across the restart.  I have to disable = > > everything when I
> > restart
> > > > Nagios.
> > > >
> > > > Is there any configuration that I have missed?
> > > >
> > > > retain_state_information=3D3D1
> > > > use_retained_program_state=3D3D1
> > > >
> > > > John Wilhelm
> > >
> > > =3D2D --=3D20
> > > Jasmine Chua
> > > =3D2D----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW
> > > KHPMF8hQJp0XQctVNBb1Dek=3D3D
> > > =3D3DUIkG
> > > =3D2D----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 18
> > > From: "Dominik L. Borkowski" <dom at vbi.vt.edu>
> > > To: nagios-users at lists.sourceforge.net
> > > Date: Mon, 23 Jun 2003 14:13:39 -0400
> > > Subject: [Nagios-users] nrpe service dependancies
> > >
> > > Hey,
> > >
> > > I've been reading the documentation, experimenting, and still no = > > luck. I
> > was
> > > wondering, is it possible to 'easily' declare service dependancies = > > in this
> > > scenario:
> > >
> > > - I have over 20 linux servers, each one has nrpe installed
> > > - in addition, there are 5+ w2k servers with nrpe
> > > - each of those 20 servers has currently 6 checks done via = > > nrpe.
> > > - the nrpe checks are declared using host groups
> > >
> > > Of course, if nrpe does not respond, each failed service check via = > > nrpe
> > fails
> > > also. So often times, if the server is under a heavy load, or nrpe = > > has
> > > problems, I get 6 notifications for each server.
> > >
> > > Now, is there an easy way to declare dependancies, that would = > > say:
> > >
> > > - if nrpe does not respond on host X, do not perform any checks for = > > the
> > given
> > > host X. Do the same for each host in <hostgroup>. -
> > >
> > > Any suggestions would be appreciated.
> > >
> > > PS) I've already tried using * for hosts/and or services in the = > > dependancy
> > > declarations. I ended up with a "dependancy hell", where = > > with 20 hosts and
> > 6
> > > services I had over 120 dependancies. service Y would be dependant = > > on each
> > > service of every host. Maybe I'm doing something wrong...
> > >
> > >
> > > --
> > > Dominik L. Borkowski - Systems Administrator
> > > Virginia Bioinformatics Institute - www.vbi.vt.edu
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 19
> > > From: Skip Montanaro <skip at pobox.com>
> > > Date: Mon, 23 Jun 2003 13:25:34 -0500
> > > To: nagios-users at lists.sourceforge.net
> > > Reply-To: skip at pobox.com
> > > Subject: [Nagios-users] check_cluster service - what's the correct = > > "host"?
> > >
> > > I implemented a simple DNS cluster check this morning.  My = > > services file
> > > defines a variant of my dns-service:
> > >
> > >     define service{
> > >           &nb= > > sp; = > > use           &nbs= > > p;        dns-service
> > >
> > >           &nb= > > sp; = > > name           &nb= > > sp;       dns-cluster-service
> > >           &nb= > > sp; service_description    DNSC
> > >           &nb= > > sp; = > > is_volatile          &n= > > bsp; 0
> > >           &nb= > > sp; max_check_attempts     3
> > >           &nb= > > sp; normal_check_interval  5
> > >           &nb= > > sp; retry_check_interval   1
> > >           &nb= > > sp; notification_interval  120
> > >           &nb= > > sp; check_command
> > check_service_cluster!2!3!/Users/nagios/etc/dnscluster.cfg
> > >
> > >           &nb= > > sp; = > > register           = > > ;    0
> > >           &nb= > > sp; }
> > >
> > >     define service{
> > >           &nb= > > sp; = > > use           &nbs= > > p;        dns-cluster-service
> > >           &nb= > > sp; = > > host_name          &nbs= > > p;   ns
> > >           &nb= > > sp; contact_groups         = > > skip
> > >           &nb= > > sp; notification_period    red
> > >           &nb= > > sp; }
> > >
> > > and my dnscluster.cfg file identifies the elements of the = > > cluster:
> > >
> > >     ns;DNS Service
> > >     drjimmy;DNS Service
> > >     iris;DNS Service
> > >     relay;DNS Service
> > >
> > > This seems to work fine, but it just doesn't seem right that I need = > > to
> > > associate it with a real host.  Is there some way to define a = > > virtual host
> > > which really doesn't exist (is never checked for being up) which = > > could be
> > > associated with cluster services?
> > >
> > > Thx,
> > >
> > > --
> > > Skip Montanaro
> > > skip at pobox.com
> > > Got spam? > HREF=3D"http://spambayes.sf.net/">http://spambayes.sf.net/
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 20
> > > From: "Wilhelm, John" = > > <john.wilhelm at frontiercorp.com>
> > > To: "'nagios at nagios.org'" <nagios at nagios.org>,
> > >    "'jasmine.chua at securecirt.com'" = > > <jasmine.chua at securecirt.com>
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: RE: [Nagios-users] Help - losing my disable notifications = > > and dis
> > > able services setti ngs when Nagios is restarted
> > > Date: Mon, 23 Jun 2003 14:32:01 -0400
> > >
> > > This message is in MIME format. Since your mail reader does not = > > understand
> > > this format, some or all of this message may not be legible.
> > >
> > > ------_=3D_NextPart_001_01C339B5.BCF3069A
> > > Content-Type: text/plain;
> > > charset=3D"iso-8859-1"
> > >
> > > Hello Jasmine,
> > >
> > > Thanks for the response.  You are right,  I had the
> > > "retain_nonstatus_information" set to 0.  If this is = > > not set to 1, when
> > > nagios restarts, all disabled settings are lost.
> > >
> > > Thanks again,
> > > John Wilhelm
> > >
> > > -----Original Message-----
> > > From: Jasmine [ > HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > > t.com]
> > > Sent: Monday, June 23, 2003 2:03 PM
> > > To: Wilhelm, John
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Help - losing my disable notifications = > > and
> > > disable services setti ngs when Nagios is restarted
> > >
> > >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi
> > >
> > > That means in your configuration of your services you have disabled = > > them.
> > > Re-check your config files again
> > >
> > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > > Hello,
> > > >
> > > > I am currently using Nagios 1.0.  I have discovered that = > > when I restart
> > > > Nagios, my "disabled service checks" and = > > "disabled notifications" are
> > not
> > > > retained across the restart.  I have to disable = > > everything when I
> > restart
> > > > Nagios.
> > > >
> > > > Is there any configuration that I have missed?
> > > >
> > > > retain_state_information=3D1
> > > > use_retained_program_state=3D1
> > > >
> > > > John Wilhelm
> > >
> > > - --
> > > Jasmine Chua
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IACgjKrW
> > > KHPMF8hQJp0XQctVNBb1Dek=3D
> > > =3DUIkG
> > > -----END PGP SIGNATURE-----
> > >
> > > ------_=3D_NextPart_001_01C339B5.BCF3069A
> > > Content-Type: text/html;
> > > charset=3D"iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > > 3.2//EN">
> > > <HTML>
> > > <HEAD>
> > > <META HTTP-EQUIV=3D3D"Content-Type" = > > CONTENT=3D3D"text/html; =3D
> > > charset=3D3Diso-8859-1">
> > > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > > Exchange Server version =3D
> > > 5.5.2655.35">
> > > <TITLE>RE: [Nagios-users] Help - losing my disable = > > notifications and =3D
> > > disable services setti ngs when Nagios is = > > restarted</TITLE>
> > > </HEAD>
> > > <BODY>
> > >
> > > <P><FONT SIZE=3D3D2>Hello Jasmine,</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>Thanks for the response.&nbsp; = > > You are right,&nbsp; I =3D
> > > had the &quot;retain_nonstatus_information&quot; set to = > > 0.&nbsp; If =3D
> > > this is not set to 1, when nagios restarts, all disabled settings = > > are =3D
> > > lost.</FONT></P>
> > >
> > > <P><FONT SIZE=3D3D2>Thanks again,</FONT>
> > > <BR><FONT SIZE=3D3D2>John Wilhelm</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>-----Original = > > Message-----</FONT>
> > > <BR><FONT SIZE=3D3D2>From: Jasmine [<A =3D
> > > HREF=3D3D" > HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > > t.com"> > HREF=3D"mailto:jasmine.chua at secureci=3D">mailto:jasmine.chua at secureci=3D<= > > /A>
> > > rt.com</A>]</FONT>
> > > <BR><FONT SIZE=3D3D2>Sent: Monday, June 23, 2003 2:03 = > > PM</FONT>
> > > <BR><FONT SIZE=3D3D2>To: Wilhelm, John</FONT>
> > > <BR><FONT SIZE=3D3D2>Cc: = > > nagios-users at lists.sourceforge.net</FONT>
> > > <BR><FONT SIZE=3D3D2>Subject: Re: [Nagios-users] Help - = > > losing my disable =3D
> > > notifications and</FONT>
> > > <BR><FONT SIZE=3D3D2>disable services setti ngs when = > > Nagios is =3D
> > > restarted</FONT>
> > > </P>
> > > <BR>
> > >
> > > <P><FONT SIZE=3D3D2>-----BEGIN PGP SIGNED = > > MESSAGE-----</FONT>
> > > <BR><FONT SIZE=3D3D2>Hash: SHA1</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>Hi</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>That means in your configuration of = > > your services you =3D
> > > have disabled them. </FONT>
> > > <BR><FONT SIZE=3D3D2>Re-check your config files again = > > </FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>On Tuesday 24 June 2003 01:29, = > > Wilhelm, John =3D
> > > wrote:</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; Hello,</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; I am currently using = > > Nagios 1.0.&nbsp; I have =3D
> > > discovered that when I restart</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; Nagios, my = > > &quot;disabled service checks&quot; =3D
> > > and &quot;disabled notifications&quot; are = > > not</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; retained across the = > > restart.&nbsp; I have to =3D
> > > disable everything when I restart</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; Nagios.</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; Is there any = > > configuration that I have =3D
> > > missed?</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; = > > retain_state_information=3D3D1</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; = > > use_retained_program_state=3D3D1</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt;</FONT>
> > > <BR><FONT SIZE=3D3D2>&gt; John = > > Wilhelm</FONT>
> > > </P>
> > >
> > > <P><FONT SIZE=3D3D2>- -- </FONT>
> > > <BR><FONT SIZE=3D3D2>Jasmine Chua</FONT>
> > > <BR><FONT SIZE=3D3D2>-----BEGIN PGP = > > SIGNATURE-----</FONT>
> > > <BR><FONT SIZE=3D3D2>Version: GnuPG v1.2.2 = > > (GNU/Linux)</FONT>
> > > </P>
> > >
> > > <P><FONT =3D
> > > = > > SIZE=3D3D2>iD8DBQE+90DGNgvTa7Hj2AURAo3GAKDDK+Uflk/D9w55tHR2GFenmsd4IAC= > > gjKr=3D
> > > W</FONT>
> > > <BR><FONT = > > SIZE=3D3D2>KHPMF8hQJp0XQctVNBb1Dek=3D3D</FONT>
> > > <BR><FONT SIZE=3D3D2>=3D3DUIkG</FONT>
> > > <BR><FONT SIZE=3D3D2>-----END PGP = > > SIGNATURE-----</FONT>
> > > </P>
> > >
> > > </BODY>
> > > </HTML>
> > > ------_=3D_NextPart_001_01C339B5.BCF3069A--
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 21
> > > Date: Mon, 23 Jun 2003 21:02:11 +0200
> > > From: "Hegedus, Ervin" <airween at amit.hu>
> > > To: Karl DeBisschop <karl at debisschop.net>
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Fail error message - more interesting
> > >
> > > Hello,
> > >
> > > here is a new, interesting problem.
> > >
> > > okay, the monitoring of that w2k host was resolved - that host = > > is
> > > an other city, than where i work. that network connects to me
> > > trough VPN. i also monitoring the "other site" VPN = > > router.
> > >
> > > Nagios send me an alert message, VPN router is unreacheable. = > > the
> > > problem was in network, and that stayed up just a few minutes.
> > >
> > > but.
> > >
> > > after this alert, this w2k host - and only this host, other w2k
> > > hosts are goods in Nagios, in that network - is also in alert = > > state.
> > > since 4 hours...
> > >
> > >
> > > i don't understand this.
> > > how can i debug this state? how can i run Nagios with higher = > > log
> > > facility?
> > > has somebody some good think? :)
> > >
> > >
> > >
> > > thank you:
> > > airween
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 22
> > > From: "Jason Lancaster" = > > <jlancaster at affinity.com>
> > > To: "Marc Powell" <mpowell at ena.com>,
> > >    "Chad Miller" = > > <chad.miller at mainstream-tech.com>,
> > >    <nagios-users at lists.sourceforge.net>
> > > Subject: Re: [Nagios-users] Mail help
> > > Date: Mon, 23 Jun 2003 15:05:26 -0400
> > >
> > > All event handlers and notifications run with the assumption that a = > > state
> > > has changed. It's likely not going to change in your instance, = > > therefore,
> > > I'd write a new check-disk script to email you the output as well = > > as
> > > printing the output. You could also follow Marc's idea by writing = > > a
> > program
> > > that parses ocsp output looking for specific events and notifying = > > you
> > > accordingly.
> > >
> > > -Jason
> > >
> > > ----- Original Message -----
> > > From: "Marc Powell" <mpowell at ena.com>
> > > To: "Chad Miller" = > > <chad.miller at mainstream-tech.com>;
> > > <nagios-users at lists.sourceforge.net>
> > > Sent: Monday, June 23, 2003 13:41
> > > Subject: RE: [Nagios-users] Mail help
> > >
> > >
> > > You could use OCSP but that's probably overkill. My suggestion = > > would be
> > > to write a small wrapper script for your disk-check command that = > > has the
> > > logic that you want.
> > >
> > > ---
> > > Marc
> > >
> > > > -----Original Message-----
> > > > From: Chad Miller [
> HREF=3D"mailto:chad.miller at mainstream-tech.com">mailto:chad.miller at mainst= > > ream-tech.com]
> > > > Sent: Monday, June 23, 2003 12:24 PM
> > > > To: nagios-users at lists.sourceforge.net
> > > >
> > > > Sorry for the blank entry.
> > > >
> > > > I'm trying to get nagios to email me every time it does a disk = > > check.
> > > > What do I need to do to configure this properly?
> > > >
> > > > Chad M.
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: INetU
> > > > Attention Web Developers & Consultants: Become An INetU = > > Hosting
> > > Partner.
> > > > Refer Dedicated Servers. We Manage Them. You Get 10% = > > Monthly
> > > Commission!
> > > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > > ::: Please include Nagios version, 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: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission!
> > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: 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: 23
> > > Subject: RE: [Nagios-users] Mail notification
> > > Date: Mon, 23 Jun 2003 14:23:25 -0500
> > > From: "Carroll, Jim P [Contractor]" = > > <jcarro10 at sprintspectrum.com>
> > > To: "Jasmine" <jasmine.chua at securecirt.com>,
> > >    "Chad Miller" = > > <chad.miller at mainstream-tech.com>
> > > Cc: <nagios-users at lists.sourceforge.net>
> > >
> > > I think that approach would only send a notification if there's = > > a
> > > warning/critical status.  I think Chad wants to get a report = > > every
> > > hour, regardless.
> > >
> > > Chad, you could simply try running the command that Nagios = > > runs,
> > > but run it from a crontab every hour and pipe the output to = > > mail.
> > >
> > > jc
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jasmine [ > HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > > t.com]
> > > > Sent: Monday, June 23, 2003 12:38 PM
> > > > To: Chad Miller
> > > > Cc: nagios-users at lists.sourceforge.net
> > > > Subject: Re: [Nagios-users] Mail notification
> > > >=3D20
> > > >=3D20
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >=3D20
> > > > Hi
> > > >=3D20
> > > > You can try setting notification_interval to 60 in = > > your=3D20
> > > > service definition=3D20
> > > > template for "disk utilization" this is provided = > > your=3D20
> > > > interval_length is set=3D20
> > > > to 60secs in nagios.cfg.=3D20
> > > >=3D20
> > > > On Tuesday 24 June 2003 01:09, Chad Miller wrote:
> > > > > How would I configure nagios to send out an email = > > every=3D20
> > > > hour that shows my
> > > > > Disk utilization?
> > > > >
> > > > > Chad M.
> > > >=3D20
> > > > - --=3D20
> > > > Jasmine Chua
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.2.2 (GNU/Linux)
> > > >=3D20
> > > > = > > iD8DBQE+9zruNgvTa7Hj2AURAmYJAJ9eq8MF7N7pY1LoM/RpNAPY3HU1mQCgzf/E
> > > > ze8iMlz0aKd4cwADyckaBpk=3D3D
> > > > =3D3Dh3sl
> > > > -----END PGP SIGNATURE-----
> > > >=3D20
> > > >=3D20
> > > >=3D20
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: INetU
> > > > Attention Web Developers & Consultants: Become An = > > INetU=3D20
> > > > Hosting Partner.
> > > > Refer Dedicated Servers. We Manage Them. You Get 10% = > > Monthly=3D20
> > > > Commission!
> > > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > > ::: Please include Nagios version, plugin version (-v) and = > > OS=3D20
> > > > when reporting any issue.=3D20
> > > > ::: Messages without supporting info will risk being sent to = > > /dev/null
> > > >=3D20
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 24
> > > Date: Mon, 23 Jun 2003 15:48:18 -0400
> > > To: "Carroll, Jim P [Contractor]" = > > <jcarro10 at sprintspectrum.com>,
> > >  "Jasmine" <jasmine.chua at securecirt.com>,
> > >  "Chad Miller" = > > <chad.miller at mainstream-tech.com>
> > > From: Rob Nelson <rob at capband.net>
> > > Subject: RE: [Nagios-users] Mail notification
> > > Cc: <nagios-users at lists.sourceforge.net>
> > >
> > >
> > > >I think that approach would only send a notification if there's = > > a
> > > >warning/critical status.  I think Chad wants to get a = > > report every
> > > >hour, regardless.
> > > >
> > > >Chad, you could simply try running the command that Nagios = > > runs,
> > > >but run it from a crontab every hour and pipe the output to = > > mail.
> > >
> > > If you really want Nagios to do it, so that you can disable it via = > > the web
> > > page, set the "low" threshold to larger than your hard = > > drive, so it will
> > > always be in warn/crit. Defaults to resends every 2 hours.
> > >
> > >
> > > Rob Nelson
> > > Network Administrator, Capitol Broadband
> > > C: 919-369-1874
> > > rob at capband.net
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 25
> > > Reply-To: <mikec at balmy.net>
> > > From: "Michael Carpenter" <mikec at balmy.net>
> > > To: <nagios-users at sourceforge.net>
> > > Date: Mon, 23 Jun 2003 15:27:31 -0500
> > > Subject: [Nagios-users] NSCA and syslog-ng question
> > >
> > > This is a multi-part message in MIME format.
> > >
> > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0
> > > Content-Type: text/plain;
> > > charset=3D"us-ascii"
> > > Content-Transfer-Encoding: 7bit
> > >
> > > I am very new at Nagios and have a question regarding the NSCA = > > extra and
> > > using it with syslog-ng.
> > >
> > > I have downloaded and complied the nsca, send-nsca, and the = > > mcrypt
> > > stuff.  I have edited the config files.  My issue is that = > > my loghost is
> > > also my nagios box.  In syslog-ng.conf do I need another = > > source line
> > > other than "source net { udp();};?  I also have the = > > nagios.pipe
> > > configured and I can see messages entering the pipe, and sitting = > > there
> > > for a time period.then they clear.
> > >
> > > Also, how do I configure Nagios to use the information coming from = > > the
> > > pipe.
> > >
> > > Thanks in advance.
> > >
> > > Mike
> > >
> > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0
> > > Content-Type: text/html;
> > > charset=3D"us-ascii"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML = > > 3.2//EN">
> > > <HTML>
> > > <HEAD>
> > > <META HTTP-EQUIV=3D3D"Content-Type" = > > CONTENT=3D3D"text/html; =3D
> > > charset=3D3Dus-ascii">
> > > <META NAME=3D3D"Generator" CONTENT=3D3D"MS = > > Exchange Server version =3D
> > > 6.0.4630.0">
> > > <TITLE>NSCA and syslog-ng question</TITLE>
> > > </HEAD>
> > > <BODY>
> > > <!-- Converted from text/rtf format -->
> > >
> > > <P ALIGN=3D3DLEFT><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">I am =3D
> > > very new at Nagios and have a question regarding the NSCA extra and = > > =3D
> > > using it with syslog-ng.</FONT></SPAN></P>
> > >
> > > <P ALIGN=3D3DLEFT><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">I =3D
> > > have downloaded and complied the nsca, send-nsca, and the mcrypt = > > =3D
> > > stuff.&nbsp; I have edited the config files.&nbsp; My issue = > > is that my =3D
> > > loghost is also my nagios box.</FONT></SPAN><SPAN = > > =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us">&nbsp;<FONT SIZE=3D3D2 =3D
> > > FACE=3D3D"Arial"> In syslog-ng.conf do I need another = > > source line other =3D
> > > than</FONT></SPAN><SPAN = > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"> =3D
> > > <FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">&#8220;</FONT></SPAN><SP= > > AN =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > FACE=3D3D"Arial">source net { udp();};?&nbsp; I = > > also have the nagios.pipe =3D
> > > configured and I can see messages entering the pipe, and sitting = > > there =3D
> > > for a time period</FONT></SPAN><SPAN = > > LANG=3D3D"en-us"></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > > AN =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > FACE=3D3D"Arial">then they = > > clear</FONT></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > = > > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > > AN LANG=3D3D"en-us"></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"></SPAN></P>
> > >
> > > <P ALIGN=3D3DLEFT><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 = > > FACE=3D3D"Arial">Also, =3D
> > > how do I configure Nagios to use the information coming from the = > > =3D
> > > pipe</FONT></SPAN><SPAN = > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"><FONT =3D
> > > SIZE=3D3D2 = > > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > > AN =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"></SPAN></P>
> > >
> > > <P ALIGN=3D3DLEFT><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > FACE=3D3D"Arial">Thanks in = > > advance</FONT></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"></SPAN><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > = > > FACE=3D3D"Arial">&#8230;</FONT></SPAN><SP= > > AN LANG=3D3D"en-us"></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"></SPAN></P>
> > >
> > > <P ALIGN=3D3DLEFT><SPAN = > > LANG=3D3D"en-us"><FONT SIZE=3D3D2 =3D
> > > = > > FACE=3D3D"Arial">Mike</FONT></SPAN><SPAN = > > LANG=3D3D"en-us"></SPAN><SPAN =3D
> > > LANG=3D3D"en-us"></SPAN></P>
> > >
> > > </BODY>
> > > </HTML>
> > > ------=3D_NextPart_000_0009_01C3399B.F6747FD0--
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 26
> > > From: "Bill Hults" <ehults at paydata.com>
> > > To: "manny" <manny12602 at msn.com>,
> > > <Nagios-users at lists.sourceforge.net>
> > > Subject: RE: [Nagios-users] Error During Installation
> > > Date: Mon, 23 Jun 2003 17:27:06 -0400
> > >
> > > Have you applied the various patches to RH9 to bring it up to date = > > &
> > > possibly solve this kind of problem? I've just installed it on RH9 = > > & it
> > went
> > > fine
> > > Bill
> > >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [ > HREF=3D"mailto:nagios-users-admin at lists.sourceforge.net">mailto:nagios-us= > > ers-admin at lists.sourceforge.net]On Behalf Of manny
> > > Sent: Monday, June 23, 2003 12:29 PM
> > > To: Nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Error During Installation
> > >
> > >
> > >
> > > I am running Red Hat linux 9.x and during the compaling porocess i = > > get the
> > > following error.
> > >
> > > configure:error: no acceptable cc found in $PATH
> > >
> > > Does any one have any clues as how i can work behond this.
> > >
> > > Thanks
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission!
> > > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS = > > when
> > reporting
> > > any issue.
> > > ::: Messages without supporting info will risk being sent to = > > /dev/null
> > > This e-mail was scanned by RAV Antivirus. = > > (www.ravantivirus.com)
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 27
> > > Date: Mon, 23 Jun 2003 17:44:20 -0400
> > > To: nagios-users at lists.sourceforge.net
> > > From: Jeyri Bautista <jbautista at icnet.com.ve>
> > > Subject: [Nagios-users] MySQL Database
> > >
> > > Hi,
> > >
> > > Now, I have my nagios information in plain text, but I want record = > > in a
> > > mysql database. My question is: Can I record in a mysql database = > > the
> > > nagios.log information?, because i read that the information that = > > can be
> > > record is status.log, comment.log, downtime.log and extinfo.
> > >
> > > Thanks,
> > >
> > > Jeyri
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 28
> > > From: Jasmine <jasmine.chua at securecirt.com>
> > > To: "Wilhelm, John" = > > <john.wilhelm at frontiercorp.com>
> > > Subject: Re: [Nagios-users] Help - losing my disable notifications = > > and dis
> > able services setti ngs when Nagios is restarted
> > > Date: Tue, 24 Jun 2003 05:47:22 +0800
> > > Cc: nagios-users at lists.sourceforge.net
> > >
> > > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > You are most welcome but hey you are the one who spotted the = > > mistake, not
> > m=3D
> > > e!=3D20
> > > I only point you to the right direction that's all! Nagios is = > > just=3D20
> > > wonderful..
> > >
> > > Cheers!
> > >
> > > Jasmine=3D20
> > >
> > >
> > > On Tuesday 24 June 2003 02:32, you wrote:
> > > > Hello Jasmine,
> > > >
> > > > Thanks for the response.  You are right,  I had = > > the
> > > > "retain_nonstatus_information" set to 0.  If = > > this is not set to 1, when
> > > > nagios restarts, all disabled settings are lost.
> > > >
> > > > Thanks again,
> > > > John Wilhelm
> > > >
> > > > -----Original Message-----
> > > > From: Jasmine [ > HREF=3D"mailto:jasmine.chua at securecirt.com">mailto:jasmine.chua at securecir= > > t.com]
> > > > Sent: Monday, June 23, 2003 2:03 PM
> > > > To: Wilhelm, John
> > > > Cc: nagios-users at lists.sourceforge.net
> > > > Subject: Re: [Nagios-users] Help - losing my disable = > > notifications and
> > > > disable services setti ngs when Nagios is restarted
> > > >
> > > >
> > > > Hi
> > > >
> > > > That means in your configuration of your services you have = > > disabled
> > them.
> > > > Re-check your config files again
> > > >
> > > > On Tuesday 24 June 2003 01:29, Wilhelm, John wrote:
> > > > > Hello,
> > > > >
> > > > > I am currently using Nagios 1.0.  I have discovered = > > that when I
> > restart
> > > > > Nagios, my "disabled service checks" and = > > "disabled notifications" are
> > n=3D
> > > ot
> > > > > retained across the restart.  I have to disable = > > everything when I
> > resta=3D
> > > rt
> > > > > Nagios.
> > > > >
> > > > > Is there any configuration that I have missed?
> > > > >
> > > > > retain_state_information=3D3D1
> > > > > use_retained_program_state=3D3D1
> > > > >
> > > > > John Wilhelm
> > > =3D2D----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+93VqNgvTa7Hj2AURApbgAKCP3+rCdyrV1i1yRyTXcSh6ZZxkPQCfSpgu
> > > gdJzpdx+Ww/rTtYK6aNQHBo=3D3D
> > > =3D3DUssf
> > > =3D2D----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 29
> > > From: Jasmine <jasmine.chua at securecirt.com>
> > > To: Gilberto Nunes Ferreira <gilbertonunes at pwr.com.br>
> > > Date: Tue, 24 Jun 2003 07:51:46 +0800
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key = > > verification
> > failed.
> > >
> > > =3D2D----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi=3D20
> > >
> > > It means it is really a SSH problem. Your box cannot access the = > > other by
> > SS=3D
> > > H.=3D20
> > > You have to make sure you have the right host keys generated. = > > Perhaps you
> > c=3D
> > > an=3D20
> > > check your known_hosts in your .ssh directory to make sure the key = > > for
> > that=3D
> > > =3D20
> > > particular host is there.=3D20
> > >
> > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote:
> > > > Hi evervbody
> > > >
> > > > I have two host.
> > > > One of then I wan't to verify by check_by_ssh, plugins.
> > > > So, I make this in the checkcommands.cfg file:
> > > >
> > > > .....
> > > > ...
> > > > ..
> > > > define command{
> > > >         = > > command_name    ssh_check_disk
> > > >         = > > command_line    $USER1$/check_by_ssh -H $HOSTNAME$ -C
> > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$'
> > > >         }
> > > >
> > =3D
> > >  =3D20
> > > = > > >           &nb= > > sp;           &nbs= > > p;            = > > ;            = > > Wen I restart the nagios
> > > > services, appear a mesagem that say:
> > > >
> > > >
> > > >
> > > > Host key verification failed.
> > > >
> > > >
> > > > What the means of this mesage?
> > > > I forgot something?!?!?!
> > > >
> > > > Please,help!
> > > > Thanks.
> > >
> > > =3D2D --=3D20
> > > Jasmine Chua
> > > Security Engineer
> > >
> > > =3D2D----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.2.2 (GNU/Linux)
> > >
> > > = > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej
> > > T8ddWrGJipPo0jXTPzfpO0M=3D3D
> > > =3D3DgeFj
> > > =3D2D----END PGP SIGNATURE-----
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 30
> > > From: Frank Gadot <frank.gadot at epscorp.com>
> > > To: Nagios-Users <nagios-users at lists.sourceforge.net>
> > > Organization: EPS
> > > Date: 23 Jun 2003 20:11:03 -0400
> > > Subject: [Nagios-users] Notification problems
> > >
> > > Hi all,
> > >
> > > I have been looking for weeks now about this problem: At the = > > very
> > > begining, when a computer would be down, I would receive EMAIL + = > > PAGER.
> > > Now, it is or PAGER or EMAIL. I have no clue what I changed.
> > >
> > > Here is an example for one computer:
> > >
> > >
> > > hosts.cfg
> > > #TEST
> > > define host {
> > > use generic-host
> > > host_name TEST
> > > alias TEST SERVER
> > > address 192.168.1.41
> > > check_command check-host-alive
> > > max_check_attempts 3
> > > notification_interval 5
> > > notification_period 24x7
> > > notification_options d,u,r
> > > }
> > >
> > >
> > >
> > >
> > > hostgroups.cfg
> > > define hostgroup{
> > > hostgroup_name PRODUCTION
> > > alias High priority servers
> > > contact_groups ADMIN-PAGER
> > > members TEST
> > > }
> > >
> > >
> > >
> > > services.cfg
> > > define service{
> > > use generic-service
> > > host_name TEST
> > > service_description PING
> > > is_volatile 0
> > > check_period 24x7
> > > max_check_attempts 3
> > > normal_check_interval 1
> > > retry_check_interval 1
> > > contact_groups ADMIN-EMAIL
> > > notification_interval 5
> > > notification_period 24x7
> > > notification_options u,c,r
> > > check_command check_ping!100.0,20%!500.0,60%
> > > }
> > >
> > >
> > >
> > >
> > > contacts.cfg
> > > everything about me
> > >
> > >
> > >
> > > contactgroups.cfg
> > > define contactgroup{
> > > contactgroup_name ADMIN-PAGER
> > > alias ADMIN for pagers
> > > members frank
> > > }
> > >
> > >
> > > So: The contact group for the host is ADMIN-PAGER , but the = > > service
> > > define ADMIN-EMAIL. Is there a way to receive both of them ?
> > >
> > > Thank you.
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 31
> > > To: nagios-users at lists.sourceforge.net
> > > From: sobrien at ci.bend.or.us
> > > Date: Mon, 23 Jun 2003 17:12:07 -0700
> > > Subject: [Nagios-users] Looking for a way to connect to host via = > > Status
> > map
> > >
> > > This is an S/MIME signed message.
> > >
> > > ---------z13701_boundary_sign
> > > Content-Type: multipart/alternative; = > > boundary=3D"=3D_alternative
> > 0000FF7488256D4F_=3D"
> > >
> > > This is a multipart message in MIME format.
> > > --=3D_alternative 0000FF7488256D4F_=3D
> > > Content-Type: text/plain; charset=3D"US-ASCII"
> > >
> > > Has anyone figured out how to click on a host in your status map = > > and
> > > connect via ssh, telnet, walkie-talkie, etc...
> > >
> > > Steve O'Brien
> > > City of Bend
> > > Network Administrator
> > > sobrien at ci.bend.or.us
> > > 541-322-6393
> > >
> > > --=3D_alternative 0000FF7488256D4F_=3D
> > > Content-Type: text/html; charset=3D"US-ASCII"
> > >
> > >
> > > <br><font size=3D2 face=3D"sans-serif">Has = > > anyone figured out how to click
> > > on a host in your status map and connect via ssh, telnet, = > > walkie-talkie,
> > > etc...</font>
> > > <br><font size=3D2 = > > face=3D"sans-serif"><br>
> > > Steve O'Brien<br>
> > > City of Bend<br>
> > > Network Administrator<br>
> > > sobrien at ci.bend.or.us<br>
> > > 541-322-6393<br>
> > > </font>
> > > --=3D_alternative 0000FF7488256D4F_=3D--
> > >
> > > ---------z13701_boundary_sign
> > > Content-Type: application/x-pkcs7-signature; = > > name=3D"smime.p7s"
> > > Content-Transfer-Encoding: base64
> > > Content-Disposition: attachment; = > > filename=3D"smime.p7s"
> > > Content-Description: S/MIME Cryptographic Signature
> > >
> > >
> > MIAGCSqGSIb3DQEHAqCAMIIYTgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIWOjCCB= > > EEw
> > >
> > ggOqoAMCAQICEDacNLOYnZ+SSD5dn1ErZRswDQYJKoZIhvcNAQEFBQAwgZQxKjAoBgkqhkiG9= > > w0B
> > >
> > CQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCVVMxDzANBgNVBAgTB= > > k9y
> > >
> > ZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kMQswCQYDVQQLEwJJV= > > DEV
> > >
> > MBMGA1UEAxMMQ2l0eSBvZiBCZW5kMB4XDTAzMDYwNTE4MTM0MVoXDTA1MDYwNTE4MTkwOFowg= > > ZQx
> > >
> > KjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEBhMCV= > > VMx
> > >
> > DzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZW5kM= > > Qsw
> > >
> > CQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kMIGfMA0GCSqGSIb3DQEBAQUAA4GNA= > > DCB
> > >
> > iQKBgQDc6ANRBULqgS/7ycK41uS1XhZoJ+Eava3pFWgE4NOLRvk2WJWX6Me5smMGlY5H5GYun= > > Dnv
> > >
> > eB1p9DljGrtosyNFhgALQisoSIYyjW3K9X8aIh1AnZf64hPDDKbWN12KYcDJ343rW2POrFcv3= > > Y8O
> > >
> > QubF3tTncqK/CzXJH/JimqNCAQIDAQABo4IBkDCCAYwwEwYJKwYBBAGCNxQCBAYeBABDAEEwC= > > wYD
> > >
> > VR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFBA4EDcuOKF68G6IK7yOCujWA= > > dkJ
> > >
> > MIIBJAYDVR0fBIIBGzCCARcwgcyggcmggcaGgcNsZGFwOi8vL0NOPUNpdHklMjBvZiUyMEJlb= > > mQs
> > >
> > Q049b3Blbm1hbmFnZTIsQ049Q0RQLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlc= > > nZp
> > >
> > Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9Y2ksREM9YmVuZCxEQz1vcixEQz11cz9jZXJ0aWZpY= > > 2F0
> > >
> > ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Y2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwR= > > qBE
> > >
> > oEKGQGh0dHA6Ly9vcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzL0NlcnRFbnJvbGwvQ2l0eSUyM= > > G9m
> > >
> > JTIwQmVuZC5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADgYEA0TN5xcJpS= > > uDj
> > >
> > gE0TSJilzQp3cJmmF2WiBN30Mpi8pnIjQnZ6t2wngBqHBC4Nm85tSXp4A2rnYjyJ116TUu3qU= > > YSL
> > >
> > j5l3Y2LyFxKhJKk8IL63aHEXJ+oE04vkp1tLze65dB1vyEXUH8jzoZEd3o7xiEVhAV9okR9pk= > > 9xK
> > >
> > BRu3EcowggRBMIIDqqADAgECAhA2nDSzmJ2fkkg+XZ9RK2UbMA0GCSqGSIb3DQEBBQUAMIGUM= > > Sow
> > >
> > KAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTM= > > Q8w
> > >
> > DQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELM= > > AkG
> > >
> > A1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDAeFw0wMzA2MDUxODEzNDFaFw0wNTA2M= > > DUx
> > >
> > ODE5MDhaMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxC= > > zAJ
> > >
> > BgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpd= > > Hkg
> > >
> > b2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQmVuZDCBnzANBgkqhkiG9= > > w0B
> > >
> > AQEFAAOBjQAwgYkCgYEA3OgDUQVC6oEv+8nCuNbktV4WaCfhGr2t6RVoBODTi0b5NliVl+jHu= > > bJj
> > >
> > BpWOR+RmLpw573gdafQ5Yxq7aLMjRYYAC0IrKEiGMo1tyvV/GiIdQJ2X+uITwwym1jddimHAy= > > d+N
> > >
> > 61tjzqxXL92PDkLmxd7U53Kivws1yR/yYpqjQgECAwEAAaOCAZAwggGMMBMGCSsGAQQBgjcUA= > > gQG
> > >
> > HgQAQwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQQOBA3Ljihe= > > vBu
> > >
> > iCu8jgro1gHZCTCCASQGA1UdHwSCARswggEXMIHMoIHJoIHGhoHDbGRhcDovLy9DTj1DaXR5J= > > TIw
> > >
> > b2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2a= > > WNl
> > >
> > cyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsREM9b3IsREM9d= > > XM/
> > >
> > Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNSTERpc3RyaWJ1d= > > Glv
> > >
> > blBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb= > > 2xs
> > >
> > L0NpdHklMjBvZiUyMEJlbmQuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA= > > 4GB
> > >
> > ANEzecXCaUrg44BNE0iYpc0Kd3CZphdlogTd9DKYvKZyI0J2erdsJ4AahwQuDZvObUl6eANq5= > > 2I8
> > >
> > iddek1Lt6lGEi4+Zd2Ni8hcSoSSpPCC+t2hxFyfqBNOL5KdbS83uuXQdb8hF1B/I86GRHd6O8= > > YhF
> > >
> > YQFfaJEfaZPcSgUbtxHKMIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFA= > > DCB
> > >
> > lDEqMCgGCSqGSIb3DQEJARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGE= > > wJV
> > >
> > UzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlb= > > mQx
> > >
> > CzAJBgNVBAsTAklUMRUwEwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNM= > > DQw
> > >
> > NjE4MTk1OTQ4WjCBjjEkMCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswC= > > QYD
> > >
> > VQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5I= > > G9m
> > >
> > IEJlbmQxCzAJBgNVBAsTAklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNA= > > QEB
> > >
> > BQADgY0AMIGJAoGBAL4dWg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJk= > > h4v
> > >
> > rqqmqA/4ehU1TfjGfwkaSilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od= > > 1hU
> > >
> > 6Sg+JBrfX8dznYOX4XqG7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCB= > > PAw
> > >
> > EwYDVR0lBAwwCgYIKwYBBQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQB= > > gNV
> > >
> > HSMEgcgwgcWAFBA4EDcuOKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBF= > > hth
> > >
> > ZG1pbmlzdHJhdG9yQGNpLmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb= > > 24x
> > >
> > DTALBgNVBAcTBEJlbmQxFTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATB= > > gNV
> > >
> > BAMTDENpdHkgb2YgQmVuZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMo= > > IHJ
> > >
> > oIHGhoHDbGRhcDovLy9DTj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEU= > > CxD
> > >
> > Tj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uL= > > ERD
> > >
> > PWNpLERDPWJlbmQsREM9b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP= > > 29i
> > >
> > amVjdGNsYXNzPWNSTERpc3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZ= > > TIu
> > >
> > Y2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJma= > > Wxl
> > >
> > Oi8vXFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQ= > > mVu
> > >
> > ZC5jcmwwggGeBggrBgEFBQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q= > > 2l0
> > >
> > eSUyMG9mJTIwQmVuZCxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2Vyd= > > mlj
> > >
> > ZXMsQ049Q29uZmlndXJhdGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlma= > > WNh
> > >
> > dGU/YmFzZT9vYmplY3RjbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzACh= > > lpo
> > >
> > dHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyL= > > mNp
> > >
> > LmJlbmQub3IudXNfQ2l0eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cX= > > G9w
> > >
> > ZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kL= > > m9y
> > >
> > LnVzX0NpdHklMjBvZiUyMEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4= > > DBB
> > >
> > FswBXnBUCfc4+vrrvW/Dk/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUp= > > SEl
> > >
> > +pDC+VNL1T1cCjcy/xm2t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvI= > > E2N
> > >
> > MIIG1DCCBj2gAwIBAgIKYV6j9wAAAAAADjANBgkqhkiG9w0BAQUFADCBlDEqMCgGCSqGSIb3D= > > QEJ
> > >
> > ARYbYWRtaW5pc3RyYXRvckBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT= > > 3Jl
> > >
> > Z29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVBAsTAklUM= > > RUw
> > >
> > EwYDVQQDEwxDaXR5IG9mIEJlbmQwHhcNMDMwNjE4MTk0OTQ4WhcNMDQwNjE4MTk1OTQ4WjCBj= > > jEk
> > >
> > MCIGCSqGSIb3DQEJARYVc29icmllbkBjaS5iZW5kLm9yLnVzMQswCQYDVQQGEwJVUzEPMA0GA= > > 1UE
> > >
> > CBMGT3JlZ29uMQ0wCwYDVQQHEwRCZW5kMRUwEwYDVQQKEwxDaXR5IG9mIEJlbmQxCzAJBgNVB= > > AsT
> > >
> > AklUMRUwEwYDVQQDEwxTdGV2ZSBPQnJpZW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBA= > > L4d
> > >
> > Wg7Fvje9YkweMwpVE13gy2oZHr4zIpArMi42AiwNkcmhvx0Aw5fJkh4vrqqmqA/4ehU1TfjGf= > > wka
> > >
> > SilT24NPez/1lra+5WMMqCI9Yq/IXR0KtNTWEMEsuMXFpyF8W18Od1hU6Sg+JBrfX8dznYOX4= > > XqG
> > >
> > 7alQeWI3U2tAzjpTAgMBAAGjggQvMIIEKzAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYIK= > > wYB
> > >
> > BQUHAwQwHQYDVR0OBBYEFIM96ttiZgJooIic2NzQ/CWpin5CMIHQBgNVHSMEgcgwgcWAFBA4E= > > Dcu
> > >
> > OKF68G6IK7yOCujWAdkJoYGapIGXMIGUMSowKAYJKoZIhvcNAQkBFhthZG1pbmlzdHJhdG9yQ= > > GNp
> > >
> > LmJlbmQub3IudXMxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xDTALBgNVBAcTBEJlb= > > mQx
> > >
> > FTATBgNVBAoTDENpdHkgb2YgQmVuZDELMAkGA1UECxMCSVQxFTATBgNVBAMTDENpdHkgb2YgQ= > > mVu
> > >
> > ZIIQNpw0s5idn5JIPl2fUStlGzCCAW4GA1UdHwSCAWUwggFhMIHMoIHJoIHGhoHDbGRhcDovL= > > y9D
> > >
> > Tj1DaXR5JTIwb2YlMjBCZW5kLENOPW9wZW5tYW5hZ2UyLENOPUNEUCxDTj1QdWJsaWMlMjBLZ= > > Xkl
> > >
> > MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWNpLERDPWJlbmQsR= > > EM9
> > >
> > b3IsREM9dXM/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdGNsYXNzPWNST= > > ERp
> > >
> > c3RyaWJ1dGlvblBvaW50MEagRKBChkBodHRwOi8vb3Blbm1hbmFnZTIuY2kuYmVuZC5vci51c= > > y9D
> > >
> > ZXJ0RW5yb2xsL0NpdHklMjBvZiUyMEJlbmQuY3JsMEigRqBEhkJmaWxlOi8vXFxvcGVubWFuY= > > Wdl
> > >
> > Mi5jaS5iZW5kLm9yLnVzXENlcnRFbnJvbGxcQ2l0eSUyMG9mJTIwQmVuZC5jcmwwggGeBggrB= > > gEF
> > >
> > BQcBAQSCAZAwggGMMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049Q2l0eSUyMG9mJTIwQmVuZ= > > CxD
> > >
> > Tj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2VydmljZXMsQ049U2VydmljZXMsQ049Q29uZmlnd= > > XJh
> > >
> > dGlvbixEQz1jaSxEQz1iZW5kLERDPW9yLERDPXVzP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY= > > 3Rj
> > >
> > bGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MGYGCCsGAQUFBzAChlpodHRwOi8vb3Blbm1hb= > > mFn
> > >
> > ZTIuY2kuYmVuZC5vci51cy9DZXJ0RW5yb2xsL29wZW5tYW5hZ2UyLmNpLmJlbmQub3IudXNfQ= > > 2l0
> > >
> > eSUyMG9mJTIwQmVuZC5jcnQwaAYIKwYBBQUHMAKGXGZpbGU6Ly9cXG9wZW5tYW5hZ2UyLmNpL= > > mJl
> > >
> > bmQub3IudXNcQ2VydEVucm9sbFxvcGVubWFuYWdlMi5jaS5iZW5kLm9yLnVzX0NpdHklMjBvZ= > > iUy
> > >
> > MEJlbmQuY3J0MA0GCSqGSIb3DQEBBQUAA4GBAMFEhHP2EoXrCoVA4DBBFswBXnBUCfc4+vrrv= > > W/D
> > >
> > k/9h6lEDzyuusN+9eC35wH0k83fsdeqjANZ2BauQrnRO9hbSzjyUpSEl+pDC+VNL1T1cCjcy/= > > xm2
> > >
> > t9gsHtI4rvBtu2bIrB9S+3NvSvD/fsLp7JxRktFqnaDsci6cuDxvIE2NMYIB7zCCAesCAQEwg= > > aMw
> > >
> > gZQxKjAoBgkqhkiG9w0BCQEWG2FkbWluaXN0cmF0b3JAY2kuYmVuZC5vci51czELMAkGA1UEB= > > hMC
> > >
> > VVMxDzANBgNVBAgTBk9yZWdvbjENMAsGA1UEBxMEQmVuZDEVMBMGA1UEChMMQ2l0eSBvZiBCZ= > > W5k
> > >
> > MQswCQYDVQQLEwJJVDEVMBMGA1UEAxMMQ2l0eSBvZiBCZW5kAgphXqP3AAAAAAAOMAkGBSsOA= > > wIa
> > >
> > BQCggaIwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNjI0M= > > DAx
> > >
> > MTUwWjAjBgkqhkiG9w0BCQQxFgQUuRyZOs2Au3yMCxgv1Xd8poMqjUAwQwYJKoZIhvcNAQkPM= > > TYw
> > >
> > NDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYIKoZIhvcNAwcwDQYIKoZIhvcNAwICASgwD= > > QYJ
> > >
> > KoZIhvcNAQEBBQAEgYBoDExA8/bQmje0ubv8xsUDL4agtBq9zSwjPJs3NmTiO6WkJUcoJzIEl= > > pEC
> > >
> > Re5nuZg4ZfbwiKQs6jvzUtiPHqhVZtcBvN/mSR0Y/UxvQKA7rZMzTu/Zjyvhfu5tqXKmI+CN/= > > ytp
> > > 04KgmQyVKax+DqJPNbzcql61rHh1zO0SgFBnagAAAAA=3D
> > >
> > > ---------z13701_boundary_sign--
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > >
> > >
> > > End of Nagios-users Digest
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting = > > Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly = > > Commission!
> > INetU Dedicated Managed Hosting > HREF=3D"http://www.inetu.net/partner/index.php">http://www.inetu.net/part= > > ner/index.php
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > > HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > > //lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when = > > reporting any issue.
> > ::: Messages without supporting info will risk being sent to = > > /dev/null
> >
> >

> > > > > > > > ------_=_NextPart_001_01C33A52.27D793D0-- > > > > > > > > --__--__-- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > End of Nagios-users Digest > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goran.almvik at intentia.se Tue Jun 24 16:17:20 2003 From: goran.almvik at intentia.se (Goran Almvik) Date: Tue, 24 Jun 2003 16:17:20 +0200 Subject: AS/400 and Nagios Message-ID: Have anybody any suggestions to get the following scenario working? - Running Linux RH 8.0 on a Intel platform. - Installed a set of MIBs for the AS/400 in order to retrieve info. regarding CPU util., disk load, active processes etc. This pack of MIBs also includes the possibillity to send alerts to a mgmt system (which is specified in the SNMP attribs and community attribs). - This doesn't seem to work at all! Anybody got some hints regarding this problem and how to get around it? Of course; I could always retrive the data from the AS/400 to the Linux server and interpret the data there but this shouldn't be necessary (and would take too much time and load on the net). The active checks (triggered fron Nagios) is working fine. Able to check if FTP, HTTP etc is up and running but when it comes to the passive parts ... Hilfe! /G -------------------- Internet e-Mail Disclaimer -------------------- This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that any use, disclosure, copying or distribution of the information is prohibited. In such case, you should destroy this message and kindly notify the sender by reply e-mail. The views expressed in this e-mail and any attachments are personal and, unless stated explicitly, do not represent the views of Intentia. Furthermore, Intentia will not be bound by this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkazmier at sofast.net Tue Jun 24 16:49:42 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Tue, 24 Jun 2003 08:49:42 -0600 Subject: check_mrtgtraf syntax Message-ID: <001a01c33a5f$d87f2060$6701010a@kazkdsxp> He all, I was not sure how to handle the syntax of a check_mrtgtraf command for the warnings and critical variables. Here is my question, if check_mrtgtraf returns its results in KB/s, should the critical and warning variables also be in KB/s or in b/s? Any real world examples out there - we are pulling data from cisco routers. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Jun 24 17:20:55 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 24 Jun 2003 10:20:55 -0500 Subject: Out of memory - killing nagios Message-ID: Edit nagios.cfg and try tuning max_concurrent_checks. I've got mine set to 250, although you might be able to handle quite a bit more. Perhaps set it to 500 and see if the box chokes and dies. This will be a matter of trial and error. Also, if this is a dedicated function box, you might want to consider disabling gdmgreeter. jc -----Original Message----- From: Mohamed El Zeiny [mailto:mzieny at cairo.westerngeco.slb.com] Sent: Tuesday, June 24, 2003 12:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Out of memory - killing nagios Importance: High Hi All, I have running Nagios on a Dell workstation Precision 650, with 2G RAM, 240G HDD, Red Hat Linux 8.0. and swap is 4G The Nagios hosts=496 host with services=3648 service I found that when I start the nagios service, after a short time, it has been killed. Then I restarted again, then killed again. I found the following in (dmesg): Out of Memory: Killed process 1978 (nagios). Out of Memory: Killed process 6977 (gdmgreeter). Out of Memory: Killed process 8111 (gdmgreeter). Out of Memory: Killed process 9654 (gdmgreeter). Out of Memory: Killed process 10164 (gdmgreeter). Out of Memory: Killed process 11922 (gdmgreeter). Out of Memory: Killed process 11976 (nagios). Out of Memory: Killed process 12291 (gdmgreeter). Out of Memory: Killed process 14247 (gdmgreeter). Out of Memory: Killed process 14247 (gdmgreeter). Out of Memory: Killed process 15624 (gdmgreeter). Out of Memory: Killed process 17961 (gdmgreeter). Out of Memory: Killed process 19086 (gdmgreeter). Out of Memory: Killed process 19390 (gdmgreeter). In /var/log/messages, I found: Jun 24 07:43:27 hostname kernel: Out of Memory: Killed process 1978 (nagios). Jun 24 07:44:40 hostname kernel: Out of Memory: Killed process 6977 (gdmgreeter). Jun 24 07:44:46 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:46:57 hostname kernel: Out of Memory: Killed process 8111 (gdmgreeter). Jun 24 07:47:01 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:48:10 hostname kernel: Out of Memory: Killed process 9654 (gdmgreeter). Jun 24 07:48:19 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:49:44 hostname kernel: Out of Memory: Killed process 10164 (gdmgreeter). Jun 24 07:49:47 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:51:01 hostname kernel: Out of Memory: Killed process 11922 (gdmgreeter). Jun 24 07:51:08 hostname kernel: Out of Memory: Killed process 11976 (nagios). Jun 24 07:51:15 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:53:02 hostname kernel: Out of Memory: Killed process 12291 (gdmgreeter). Jun 24 07:53:08 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:55:07 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter). Jun 24 07:55:11 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter). Jun 24 07:55:24 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:57:57 hostname kernel: Out of Memory: Killed process 15624 (gdmgreeter). Jun 24 07:58:09 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 07:59:52 hostname kernel: Out of Memory: Killed process 17961 (gdmgreeter). Jun 24 08:00:05 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 08:01:07 hostname kernel: Out of Memory: Killed process 19086 (gdmgreeter). Jun 24 08:01:14 hostname modprobe: modprobe: Can't locate module char-major-10-134 Jun 24 08:03:29 hostname kernel: Out of Memory: Killed process 19390 (gdmgreeter). When I reboot the machine it works fine till I try to restart the nagios service in order to apply some changes. the problem starts again. Any clue..?? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 oe MZieny at cairo.westerngeco.slb.com ======================================= ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HarlanRichardC at JohnDeere.com Tue Jun 24 17:53:59 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Tue, 24 Jun 2003 10:53:59 -0500 Subject: Hp JetDirect Page count... Message-ID: <5A8210C827DA0D40AE5BD0DCF96CBCB7187FD7@edxmb8.jdnet.deere.com> What I ended up doing was using SNMP walk to pull the page count from the system, then passing that information back into Nagios. For the most part it works but it is always off about 10 pages because of the way HP write this information to the NVRAM. -----Original Message----- From: Federico De Marchi [mailto:fdemarchi at altapd.it] Sent: Tuesday, June 24, 2003 8:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hp JetDirect Page count... Anyone have maked a plugin for have the count of the pages? i have found this code, but i'm unable to pilot the code.... ---------begin perl code---------------------- #!/usr/bin/perl # vi: set sw=4 ts=4: # use IO; $ipaddress = $ARGV[0]; my $sock = IO::Socket::INET->new( PeerAddr => $ipaddress, PeerPort => 9100, Proto => 'tcp' ) || die "Impossibile connettersi a $ipaddress, porta 9100: $!\n"; my $eol="\x0A"; # LF my $esc="\x1B"; # ESC my $pagecount="$esc\%-12345X\@PJL JOB$eol" . "\@PJL INFO PAGECOUNT$eol" . "\@PJL EOJ$eol" . "$esc\%-12345X"; my $dati; $sock->send("$pagecount"); $sock->recv($dati, 1024); close $sock; print "Output:\n$dati\n"; -------------end perl code---------------- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reinaldo at pointernetworks.com.br Tue Jun 24 17:54:51 2003 From: reinaldo at pointernetworks.com.br (Reinaldo Silva) Date: Tue, 24 Jun 2003 12:54:51 -0300 Subject: Nagios strange behavior Message-ID: Hi all, I am using Nagios 1.1 and I?m having a little problem. After I acknowledge a host problem it keeps sometimes showing it unhandled and sometimes showing it acknowlodged and the notifications are still being sent. Does anyone can help me with this problem? Thanks a lot! Reinaldo Silva Pointer Networks 55 11 34447876 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 24 17:57:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 24 Jun 2003 11:57:19 -0400 (EDT) Subject: Hp JetDirect Page count... In-Reply-To: <000d01c33a57$39915f20$99a7480a@XP0064> References: <000d01c33a57$39915f20$99a7480a@XP0064> Message-ID: added simple exit status to make it work as plugin... --start of plugin #!/usr/bin/perl # vi: set sw=4 ts=4: # use IO; $ipaddress = $ARGV[0]; my $sock = IO::Socket::INET->new( PeerAddr => $ipaddress, PeerPort => 9100, Proto => 'tcp' ) || die "Impossibile connettersi a $ipaddress, porta 9100: $!\n"; my $eol="\x0A"; # LF my $esc="\x1B"; # ESC my $pagecount="$esc\%-12345X\@PJL JOB$eol" . "\@PJL INFO PAGECOUNT$eol" . "\@PJL EOJ$eol" . "$esc\%-12345X"; my $dati; $sock->send("$pagecount"); $sock->recv($dati, 1024); close $sock; #print "Output:\n$dati\n"; @lines = split("\n", $dati); foreach $line (@lines) { if ($line =~ /PAGECOUNT=/ ) { ($p, $count) = split ("=",$line); } } if (defined $count) { print "OK: pagecount=$count\n"; exit 0; }else{ print "UNKNOWN: Could not get pagecount\n"; exit 3; } exit 4; ---end of plugin On Tue, 24 Jun 2003, Federico De Marchi wrote: > Anyone have maked a plugin for have the count > of the pages? > i have found this code, but i'm unable to pilot the code.... > ---------begin perl code---------------------- > #!/usr/bin/perl > # vi: set sw=4 ts=4: > # > use IO; > $ipaddress = $ARGV[0]; > my $sock = IO::Socket::INET->new( > PeerAddr => $ipaddress, > PeerPort => 9100, > Proto => 'tcp' > ) > || die "Impossibile connettersi a $ipaddress, porta 9100: $!\n"; > > my $eol="\x0A"; # LF > my $esc="\x1B"; # ESC > my $pagecount="$esc\%-12345X\@PJL JOB$eol" > . "\@PJL INFO PAGECOUNT$eol" > . "\@PJL EOJ$eol" > . "$esc\%-12345X"; > my $dati; > $sock->send("$pagecount"); > $sock->recv($dati, 1024); > close $sock; > print "Output:\n$dati\n"; > -------------end perl code---------------- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From waldo at cos.com Tue Jun 24 18:14:54 2003 From: waldo at cos.com (David Waldo) Date: Tue, 24 Jun 2003 12:14:54 -0400 Subject: check_mrtgtraf syntax Message-ID: Hi Mike - I found check_mrtgtraf a little confusing also. Checking the C source, I found that it wants Bytes/Second: /* report incoming traffic in Bytes/sec */ if (incoming_rate < 1024) { strcpy (incoming_speed_rating, "B/s"); adjusted_incoming_rate = (double) incoming_rate; } /* report incoming traffic in KBytes/sec */ else if (incoming_rate < (1024 * 1024)) { strcpy (incoming_speed_rating, "KB/s"); adjusted_incoming_rate = (double) (incoming_rate / 1024.0); } /* report incoming traffic in MBytes/sec */ else { strcpy (incoming_speed_rating, "MB/s"); adjusted_incoming_rate = (double) (incoming_rate / 1024.0 / 1024.0); } So I use the following check_command on our T1 line. MRTG reports the max speed to be 1536.0 kbits/s, so I convert it to max bytes/s with 1536 x 1024 / 8 = 196608 Bytes/s # 'check_mrtg' command definition # check_mrtgtraf checks simple MRTG traffic metrics # -F: The /projects/mrtg/htdocs/router/198.76.172.1_2.log is the MRTG # log for our T1 conntection (1536 kbit/sec or 196608 Bytes/sec MAX). # -e: If the file is older than N minutes old, this plug-in will issue a # warning and exit. # -a: You can monitor either AVG or MAX. After looking over the MRTG logs, # it looks like AVG is the most meaningfull to monitor. # -w: WARNING parameters in bytes . 147456 is 75% of the our # T1 capacity (196608 Bytes). # -c: CRITICAL parameters in bytes . 176947 is 95% of the our # T1 capacity (196608 Bytes). define command{ command_name check_mrtg command_line $USER1$/check_mrtgtraf -F/projects/mrtg/htdocs/router/198.76.172.1_2.log -e10 -aAVG -w"147456,147456" -c"176947,176947" } Also, the check_mrtgtraf plugin prints no output for critical or warning states, so I patched the source with this: 203a204 > printf("%s\n", error_message); 211a213,214 > printf("%s\n", error_message); > - Dave Waldo -----Original Message----- From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: Tuesday, June 24, 2003 10:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_mrtgtraf syntax He all, I was not sure how to handle the syntax of a check_mrtgtraf command for the warnings and critical variables. Here is my question, if check_mrtgtraf returns its results in KB/s, should the critical and warning variables also be in KB/s or in b/s? Any real world examples out there - we are pulling data from cisco routers. Thanks, Mike ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jun 24 18:02:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 24 Jun 2003 12:02:08 -0400 (EDT) Subject: Nagios-users digest, Vol 1 #1531 - 33 msgs In-Reply-To: <02ac01c33a50$34b97570$31150a0a@estacio.domain> References: <02ac01c33a50$34b97570$31150a0a@estacio.domain> Message-ID: On Tue, 24 Jun 2003, Eddy wrote: > Socket timeout after 10 seconds > I have this messagem any can help me??? > My hosts has a real problem, but i don't wana receive this message > Sorry my bad english but i 'm brazilian man :) > > English is fine (but please don't include a complete digest message that is not related ;) Most plugins have a time out controled by "-t" option that defaults to 10 seconds. Also Nagios has a default for how long it should wait for a response froma plugin. This can be changed n nagios.cfg -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 18:12:33 2003 From: Michael.Huettig at Medien-Systempartner.de (=?iso-8859-15?Q?Michael_H=FCttig?=) Date: Tue, 24 Jun 2003 18:12:33 +0200 Subject: Nagios-1.1 Layout tac.cgi Message-ID: <018101c33a6b$6bb19e20$020b18ac@mspmhcpq> Hi, Is the attached screenshot only my problem, or has anyone else this layout with wide spreeding critical services? Best regards, Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios11-tac.png Type: image/png Size: 57312 bytes Desc: not available URL: From jeremy+nagios at undergrid.net Tue Jun 24 18:43:15 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Tue, 24 Jun 2003 09:43:15 -0700 Subject: Nagios-1.1 Layout tac.cgi In-Reply-To: <018101c33a6b$6bb19e20$020b18ac@mspmhcpq> References: <018101c33a6b$6bb19e20$020b18ac@mspmhcpq> Message-ID: <20030624164315.GA18369@UnderGrid.net> I had just recently upgraded our system at work from NetSaint 0.0.7 to Nagios 1.1 and noticed this as well... I've been looking through the HTML produced and haven't found a cause for this... I thought it might have been an error in my compile but if you're having it as well maybe there is a problem somewhere... Regards, Jeremy On Tue, Jun 24, 2003 at 06:12:33PM +0200, Michael H?ttig wrote: > Hi, > Is the attached screenshot only my problem, or has anyone else this > layout with wide spreeding critical services? > > Best regards, > > Michael > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Tue Jun 24 19:15:43 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Tue, 24 Jun 2003 11:15:43 -0600 Subject: Nagios 1.1 TAC cgi formatting fix Message-ID: <3EF8873F.2020403@bridgeband.net> As I noticed a few people are concerned about this, perhaps they should fix it. The problem is incomplete table structures. The odd thing is, the appropriate table code is in the source, but a is commented out. The offending comment is at line 1223 to 1226 of tac.c. Simply remove the open and close comments (/* */). I'd make this a "patch", but I'm lazy, and this is an easy fix. Recompile the tac.c file, and voila, no more formating errors. -- Mikel Bauer ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Tue Jun 24 19:33:03 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 24 Jun 2003 14:33:03 -0300 Subject: Socket timeout after 10 seconds References: Message-ID: <117301c33a76$ad719580$31150a0a@estacio.domain> Tks my friend !! You have a exemple about this configuracion for send me :) ----- Original Message ----- From: "Subhendu Ghosh" To: "Eddy" Cc: Sent: Tuesday, June 24, 2003 1:02 PM Subject: Re: [Nagios-users] Re: Nagios-users digest, Vol 1 #1531 - 33 msgs > On Tue, 24 Jun 2003, Eddy wrote: > > > Socket timeout after 10 seconds > > I have this messagem any can help me??? > > My hosts has a real problem, but i don't wana receive this message > > Sorry my bad english but i 'm brazilian man :) > > > > > > English is fine > (but please don't include a complete digest message that > is not related ;) > > Most plugins have a time out controled by "-t" option that defaults to 10 > seconds. > > Also Nagios has a default for how long it should wait for a response froma > plugin. This can be changed n nagios.cfg > > -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikel at bridgeband.net Tue Jun 24 19:27:21 2003 From: mikel at bridgeband.net (Mikel Bauer) Date: Tue, 24 Jun 2003 11:27:21 -0600 Subject: [PATCH] tac formating problem - nagios 1.1 Message-ID: <3EF889F9.5050303@bridgeband.net> If you wanna call this a patch...shesh... Apparently some people have trouble with the concept of finding 2 lines of code and deleting them, so, here, a patch.... -- Mikel Bauer -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tac.patch URL: From GWCOOK at mactec.com Tue Jun 24 20:01:48 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 24 Jun 2003 12:01:48 -0600 Subject: Nagios 1.1 TAC cgi formatting fix Message-ID: I think Phil Randal has already released this patch. Original message follows. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: Thursday, June 19, 2003 3:09 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? Here's a diff which leaves the line numbers in the source the same and fixes the problem. --- tac.c.old 2003-06-05 15:32:35.000000000 +0100 +++ tac.c.new 2003-06-05 15:32:44.000000000 +0100 @@ -1220,10 +1220,10 @@ printf("\n"); printf("\n"); - /* + printf("\n"); printf("\n"); - */ + printf("\n"); --------------------------------------------- Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Laurent Vaills [mailto:laurent.vaills at dms.at] > Sent: 18 June 2003 15:44 > To: Carroll, Jim P ""[Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > Hi all. > > Is it possible to make a new release for that bug (ok it's not a > blocking bug, just annoying...) ? > > Why about a release Nagios 1.1a or 1.2 ? > > Laurent > > On Wed, 2003-06-04 at 23:27, Carroll, Jim P [Contractor] wrote: > > Yeah, that's what I ended up doing to 'fix' the problem. > > > > I did a diff on the 1.0 and 1.1 versions of tac.c, but > can't see much > > (other than the change of a /* to a */, which I know could make a > > world of difference). > > > > jc > > > > > > > -----Original Message----- > > > From: George Paschos [mailto:paschos at cosmoline.com] > > > Sent: Wednesday, June 04, 2003 1:31 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Nagios 1.1 -- tac.cgi > cosmetic problem? > > > > > > > > > > > > I have the same behavior. > > > To get over it I just used the 1.0 version of tac.cgi without any > > > problems (yet..) > > > > > > Regards, > > > george > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > > john.barro at shaw.ca > > > Sent: Wednesday, June 04, 2003 3:27 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios 1.1 -- tac.cgi > cosmetic problem? > > > Importance: Low > > > > > > I experience the same results after installing Nagios 1.1 > on my Redhat > > > 7.3 system. I was previously running version 1.0 which did not > > > experience that symptom. I did not examine any > directories nor was I > > > going to worry about it as I figured it may have been > user initiated. > > > > > > John > > > > > > ----- Original Message ----- > > > From: "Carroll, Jim P [Contractor]" > > > Date: Tuesday, June 3, 2003 5:35 pm > > > Subject: [Nagios-users] Nagios 1.1 -- tac.cgi cosmetic problem? > > > > > > > Greets all, > > > > > > > > I installed Nagios 1.1 today, and noticed a slight cosmetic > > > > change. I don't think this was intentional. I examined what's > > > > in the ../sbin directory, and all the .cgi files have a > > > > timestamp from 10:48am this morning. > > > > > > > > I took a screencap (see attached). Take a look at the > > > > mid-screen, under "Services". It lists "26 Critical", but spans > > > > all 5 table colums, leaving Warning, Unknown, Ok and Pending > > > > pushed off to the side. > > > > > > > > Am I the only one experiencing this? > > > > > > > > (In case you noticed it, yes, I've still got the Authenticate > > > > tweak in the sidebar. I reinstated it after making a backup > > > > copy of that file and comparing it to the 1.0 version. > > > > Otherwise, all the .html and .cgi files which should have been > > > > installed appear to be there, thanks to the "make install" after > > > > compilation.) > > > > > > > > If I've managed to fat-finger something, let me know. :) > > > > > > > > jc > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, makers of > > > TotalView, The best > > > thread debugger on the planet. Designed with thread > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of > > > TotalView, The best > > > thread debugger on the planet. Designed with thread > debugging features > > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Etnus, makers of > TotalView, The best > > thread debugger on the planet. Designed with thread > debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 19:57:12 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 24 Jun 2003 19:57:12 +0200 Subject: Nagios-1.1 Layout tac.cgi In-Reply-To: <20030624164315.GA18369@UnderGrid.net> References: <018101c33a6b$6bb19e20$020b18ac@mspmhcpq> <20030624164315.GA18369@UnderGrid.net> Message-ID: <200306241957.12753.Michael.Huettig@Medien-Systempartner.de> Hi, i'm looking to the newsgroup, this is a problem in tac.cgi, you can resolv it with using tac.cgi from nagios-1.0, it's working fine ... Best regards, Michael Am Dienstag, 24. Juni 2003 18:43 schrieb Jeremy T. Bouse: > I had just recently upgraded our system at work from NetSaint > 0.0.7 to Nagios 1.1 and noticed this as well... I've been looking > through the HTML produced and haven't found a cause for this... I > thought it might have been an error in my compile but if you're having > it as well maybe there is a problem somewhere... > > Regards, > Jeremy > > On Tue, Jun 24, 2003 at 06:12:33PM +0200, Michael H?ttig wrote: > > Hi, > > Is the attached screenshot only my problem, or has anyone else this > > layout with wide spreeding critical services? > > > > Best regards, > > > > Michael > > > > > > ********************************************************************** > > Diese E-Mail wurde auf Viren ueberprueft. > > www.mimesweeper.com > > ********************************************************************** > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 20:05:29 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 24 Jun 2003 13:05:29 -0500 Subject: Nagios-1.1 Layout tac.cgi Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E77DA@mismail.ena.com> I'm not using 1.1, but could it be a CSS stylesheet error? -- Marc > -----Original Message----- > From: Jeremy T. Bouse [mailto:jeremy+nagios at undergrid.net] > Sent: Tuesday, June 24, 2003 11:43 AM > To: nagios-users at lists.sourceforge.net > > I had just recently upgraded our system at work from NetSaint > 0.0.7 to Nagios 1.1 and noticed this as well... I've been looking > through the HTML produced and haven't found a cause for this... I > thought it might have been an error in my compile but if you're having > it as well maybe there is a problem somewhere... > > Regards, > Jeremy > > On Tue, Jun 24, 2003 at 06:12:33PM +0200, Michael H?ttig wrote: > > Hi, > > Is the attached screenshot only my problem, or has anyone else this > > layout with wide spreeding critical services? > > > > Best regards, > > > > Michael > > > > > > ********************************************************************** > > Diese E-Mail wurde auf Viren ueberprueft. > > www.mimesweeper.com > > ********************************************************************** > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 20:24:50 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 24 Jun 2003 13:24:50 -0500 Subject: Nagios strange behavior Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E77DC@mismail.ena.com> Verify that you don't have multiple copies of nagios running. Stop nagios, use ps to verify, kill any that remain and restart nagios. Odd behavior like you are seeing is a classic symptom. -- Marc > -----Original Message----- > From: Reinaldo Silva [mailto:reinaldo at pointernetworks.com.br] > Sent: Tuesday, June 24, 2003 10:55 AM > To: nagios-users at lists.sourceforge.net > > Hi all, > > I am using Nagios 1.1 and I?m having a little problem. After I > acknowledge > a host problem it keeps sometimes showing it unhandled and sometimes > showing > it acknowlodged and the notifications are still being sent. > > Does anyone can help me with this problem? > > Thanks a lot! > > Reinaldo Silva > Pointer Networks > 55 11 34447876 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gilbertonunes at pwr.com.br Tue Jun 24 20:23:44 2003 From: gilbertonunes at pwr.com.br (Gilberto Nunes Ferreira) Date: 24 Jun 2003 15:23:44 -0300 Subject: [Nagiosplug-help] Host key verification failed. In-Reply-To: <200306240751.47879.jasmine.chua@securecirt.com> References: <1056404474.4547.5.camel@dexter> <200306240751.47879.jasmine.chua@securecirt.com> Message-ID: <1056479022.3433.3.camel@dexter.pwr.com.br> Hi again I understand what do you say Jasmine, but I can get a way by ssh to my box. With a normal ssh session, I can logged into the box. But when a try to the check_by_ssh plugin I can't. What can I do? Em Seg, 2003-06-23 ?s 20:51, Jasmine escreveu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > It means it is really a SSH problem. Your box cannot access the other by SSH. > You have to make sure you have the right host keys generated. Perhaps you can > check your known_hosts in your .ssh directory to make sure the key for that > particular host is there. > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > Hi evervbody > > > > I have two host. > > One of then I wan't to verify by check_by_ssh, plugins. > > So, I make this in the checkcommands.cfg file: > > > > ..... > > ... > > .. > > define command{ > > command_name ssh_check_disk > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > } > > > > Wen I restart the nagios > > services, appear a mesagem that say: > > > > > > > > Host key verification failed. > > > > > > What the means of this mesage? > > I forgot something?!?!?! > > > > Please,help! > > Thanks. > > - -- > Jasmine Chua > Security Engineer > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > T8ddWrGJipPo0jXTPzfpO0M= > =geFj > -----END PGP SIGNATURE----- -- Gilberto Nunes Ferreira Linux User n? 199930 ICQ #136176504 Network Services Power Consultoria e Sistemas Fones: (47) 433-7595 E-Mail: gilbertonunes at pwr.com.br Home Page: www.pwr.com.br Oracle Member Partner Centro Certificado GNU/LINUX ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reinaldo at pointernetworks.com.br Tue Jun 24 20:32:49 2003 From: reinaldo at pointernetworks.com.br (Reinaldo Silva) Date: Tue, 24 Jun 2003 15:32:49 -0300 Subject: RES: Nagios strange behavior In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E77DC@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E77DC@mismail.ena.com> Message-ID: It was exactally that! Thanks! -----Mensagem original----- De: Marc Powell [mailto:mpowell at ena.com] Enviada em: ter?a-feira, 24 de junho de 2003 15:25 Para: Reinaldo Silva; nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] Nagios strange behavior Verify that you don't have multiple copies of nagios running. Stop nagios, use ps to verify, kill any that remain and restart nagios. Odd behavior like you are seeing is a classic symptom. -- Marc > -----Original Message----- > From: Reinaldo Silva [mailto:reinaldo at pointernetworks.com.br] > Sent: Tuesday, June 24, 2003 10:55 AM > To: nagios-users at lists.sourceforge.net > > Hi all, > > I am using Nagios 1.1 and I?m having a little problem. After I > acknowledge > a host problem it keeps sometimes showing it unhandled and sometimes > showing > it acknowlodged and the notifications are still being sent. > > Does anyone can help me with this problem? > > Thanks a lot! > > Reinaldo Silva > Pointer Networks > 55 11 34447876 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony_Brock at ous.edu Tue Jun 24 00:33:56 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Mon, 23 Jun 2003 15:33:56 -0700 Subject: Alternate view for external clients Message-ID: Now that we have Nagios functioning well, my supervisor would like to "publish" a select list of hosts to external clients. Ideally, these clients could: 1) See a particular subset of hosts that they are interested in. 2) Cannot see specific details (for example, they would display generic service icons rather than Windows, Novell and Unix icons). 3) Cannot change settings (the view is read-only). 4) Offers different views to alternative clients. While a new login is simple enough, I don't know how to specify a special "extinfohost.cfg" file for these particular users! Further, how do I grant read-only access? It seems that could be done with a contact, but it also appears that a contact can modify notifications, schedule down-time, etc. Has anyone else done this? Ideas? Tony ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jun 24 21:34:56 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 24 Jun 2003 16:34:56 -0300 Subject: What monitor in network equipments? Which services? Message-ID: <20030624193456.27332.qmail@linuxmail.org> ALL, Now the subject is not so technician. I am looking ideas, suggestions. Basically, i'm monitoring only telnet service in routers and switches from my net. What else may I monitor? Thanks. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd.bushnell at demandtec.com Tue Jun 24 21:35:12 2003 From: todd.bushnell at demandtec.com (toddmichael) Date: 24 Jun 2003 19:35:12 -0000 Subject: Scheduling maintenance on host/servicegroups Message-ID: <20030624193512.7092.qmail@pod-163.dolphin-server.co.uk> I've been getting complaints from some of my users that it takes too long to schedule downtime (or disable notifications, checks) when many hosts/services are involved. I'm curious if there are plans to add a feature that would allow an administrator to choose multiple hosts/services and perform such actions on the group? I'm going to start digging around myself to see how difficult this would be, but want to ensure that I'm not reinventing the wheel. I checked the downloads and didn't see anything posted. I see that Nagios 2.0 is introducing the concept of servicegroups which will make this feature a bit easier to add. Any thoughts or advice regarding this subject? Is there a forum for making feature requests? If so, I'd appreciate it if someone would share it. Thanxx.... ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jun 24 22:36:57 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 24 Jun 2003 15:36:57 -0500 Subject: [Nagiosplug-help] Host key verification failed. Message-ID: Please run the command at the command line. Paste both the invoked command *and* the output to this mailing list. jc > -----Original Message----- > From: Gilberto Nunes Ferreira [mailto:gilbertonunes at pwr.com.br] > Sent: Tuesday, June 24, 2003 1:24 PM > To: nagios-users at lists.sourceforge.net > Cc: jasmine.chua at securecirt.com > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key verification > failed. > > > Hi again > > I understand what do you say Jasmine, but I can get a way by ssh to my > box. > With a normal ssh session, I can logged into the box. > But when a try to the check_by_ssh plugin I can't. > What can I do? > > Em Seg, 2003-06-23 ?s 20:51, Jasmine escreveu: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > It means it is really a SSH problem. Your box cannot access > the other by SSH. > > You have to make sure you have the right host keys > generated. Perhaps you can > > check your known_hosts in your .ssh directory to make sure > the key for that > > particular host is there. > > > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > > Hi evervbody > > > > > > I have two host. > > > One of then I wan't to verify by check_by_ssh, plugins. > > > So, I make this in the checkcommands.cfg file: > > > > > > ..... > > > ... > > > .. > > > define command{ > > > command_name ssh_check_disk > > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > > } > > > > > > > Wen I > restart the nagios > > > services, appear a mesagem that say: > > > > > > > > > > > > Host key verification failed. > > > > > > > > > What the means of this mesage? > > > I forgot something?!?!?! > > > > > > Please,help! > > > Thanks. > > > > - -- > > Jasmine Chua > > Security Engineer > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > > T8ddWrGJipPo0jXTPzfpO0M= > > =geFj > > -----END PGP SIGNATURE----- > -- > Gilberto Nunes Ferreira > Linux User n? 199930 > ICQ #136176504 > Network Services > Power Consultoria e Sistemas > Fones: (47) 433-7595 > E-Mail: gilbertonunes at pwr.com.br > Home Page: www.pwr.com.br > Oracle Member Partner > Centro Certificado GNU/LINUX > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 eventhorizon.ca Tue Jun 24 23:37:41 2003 From: chris at eventhorizon.ca (chris at eventhorizon.ca) Date: Tue, 24 Jun 2003 15:37:41 -0600 Subject: Performance data is not working with NRPE Message-ID: <20030624213741.GD27185@eventhorizon.ca> Hi Folks, I've got a problem with collecting performance data. I have some Solaris and AIX machines that use NRPE to send check data back to our Nagios server running on Solaris. We also have some passive checks and statd checks on these same machines. We have configured Nagios to write perfromance data to a file and it seems to work fine with all of the service checks except those that are being done through NRPE. I can't seem to find any information about special configuration for NRPE, it seems to me that the $OUTPUT$ data should be dumped to our perfromance file just like all of the other checks but this is not the case. Does anybody have any idea what I could be missing here? Thanks. -- Chris Rothecker chris at eventhorizon.ca ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Wed Jun 25 01:58:35 2003 From: solomolo90 at hotmail.com (solo molo) Date: Tue, 24 Jun 2003 23:58:35 +0000 Subject: Optimal Config for hundreds of passive checks && Hundreds of Nagios procs Message-ID: Well I tried your config (except for the ramdisk) and Nagios is still getting behind on processing the results. I can't understand why Nagios is getting behind since my load averages are so low (less than 2 most of the time). Anyway I'm going to try the ramdisk, I'm curious as to how you set yours up. Do you have a script that recreates and formats the disk at startup? >From: "Jason Lancaster" >To: "solo molo" , > >Subject: Re: [Nagios-users] Optimal Config for hundreds of passive checks >&& Hundreds of Nagios procs >Date: Thu, 19 Jun 2003 15:16:39 -0400 > >With regards to this thread and the thread titled "Hundreds of Nagios >procs," I thought I'd share the configuration file I use in my >implementation. This (complete) config is similar on all systems, with >various tweaks for each one. The monitoring servers are all at least 1ghz >machines with around 3000 services. Every server has a ramdisk and all >monitoring servers run a custom "ocsp sweeper" application to send nsca >stats in bulk to the central server. This lightened the load on monitoring >servers quite a bit as each ocsp command takes execution time. > >It seems like there are a lot of threads on this mailing the list right now >asking about why implementations of Nagios have a huge queue of results to >process. You can fix it... it just needs to be tweaked. > >Let me know if you have any questions. > >-Jason > >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/ramdisk/status.log >nagios_user=nagios >nagios_group=nagios >check_external_commands=1 >command_check_interval=-1 >command_file=/usr/local/nagios/ramdisk/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/ramdisk/nagios.tmp >log_rotation_method=d >log_archive_path=/usr/local/nagios/var/archives >use_syslog=0 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >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=600 >service_reaper_frequency=1 >sleep_time=1 >service_check_timeout=60 >host_check_timeout=30 >event_handler_timeout=30 >notification_timeout=30 >ocsp_timeout=30 >perfdata_timeout=5 >retain_state_information=1 >state_retention_file=/usr/local/nagios/var/status.sav >retention_update_interval=0 >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=1200 >aggregate_status_updates=1 >status_update_interval=5 >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 > > >----- Original Message ----- >From: "solo molo" >To: >Sent: Wednesday, June 18, 2003 18:41 >Subject: [Nagios-users] Optimal Config for hundreds of passive checks > > > > I have nagios running on redhat 8.0 on a compaq DL360 with dual 800mhz >procs > > and 1GB ram. Nagios receives 400 passive check results every 10 minutes >and > > another 100+ active checks are perfomed every 5 minutes. My loads are >never > > very high, but nagios gets way behind on processing the passive checks. >The > > problem is especially bad when some of the passive checks return >critical > > results. I've seen the delay as bad as 20 hours. That is when I check >the > > log, nagios is receiving current passive results, but displaying results > > from 20 hours ago in the UI. I'd appreciate any suggestion as to how I >can > > configure nagios to process the passive results more quickly. I'm using >the > > following config: > > > > inter_check_delay_method=d #I can't use smart because I have a few >checks > > that only run once every 24 hours and throw off the average. > > > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=5 > > sleep_time=1 > > > > _________________________________________________________________ > > Protect your PC - get McAfee.com VirusScan Online > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Wed Jun 25 02:17:31 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Tue, 24 Jun 2003 17:17:31 -0700 Subject: Optimal Config for hundreds of passive checks && Hundreds of Nagios procs Message-ID: On linux: none /tmpfs tmpfs size=50M,mode=1777 0 0 Also using passive checks that bundle data in can help a LOT. I'm running over 6K checks/5 minute interval reasonably happily this way. Otherwise the number of processes get a bit large. Not sure what your checks are, and that part of the setup usually ends up being annoyingly site dependant (I know basically none of the checks I do would be meaningful scripts anywhere else :< ). This requires some programming though so.... > -----Original Message----- > From: solo molo [mailto:solomolo90 at hotmail.com] > Sent: Tuesday, June 24, 2003 4:59 PM > To: jlancaster at affinity.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Optimal Config for hundreds of passive > checks && Hundreds of Nagios procs > > > Well I tried your config (except for the ramdisk) and Nagios is still > getting behind on processing the results. I can't understand > why Nagios is > getting behind since my load averages are so low (less than 2 > most of the > time). > > Anyway I'm going to try the ramdisk, I'm curious as to how > you set yours up. > Do you have a script that recreates and formats the disk at startup? > > > >From: "Jason Lancaster" > >To: "solo molo" , > > > >Subject: Re: [Nagios-users] Optimal Config for hundreds of > passive checks > >&& Hundreds of Nagios procs > >Date: Thu, 19 Jun 2003 15:16:39 -0400 > > > >With regards to this thread and the thread titled "Hundreds of Nagios > >procs," I thought I'd share the configuration file I use in my > >implementation. This (complete) config is similar on all > systems, with > >various tweaks for each one. The monitoring servers are all > at least 1ghz > >machines with around 3000 services. Every server has a > ramdisk and all > >monitoring servers run a custom "ocsp sweeper" application > to send nsca > >stats in bulk to the central server. This lightened the load > on monitoring > >servers quite a bit as each ocsp command takes execution time. > > > >It seems like there are a lot of threads on this mailing the > list right now > >asking about why implementations of Nagios have a huge queue > of results to > >process. You can fix it... it just needs to be tweaked. > > > >Let me know if you have any questions. > > > >-Jason > > > >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/ramdisk/status.log > >nagios_user=nagios > >nagios_group=nagios > >check_external_commands=1 > >command_check_interval=-1 > >command_file=/usr/local/nagios/ramdisk/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/ramdisk/nagios.tmp > >log_rotation_method=d > >log_archive_path=/usr/local/nagios/var/archives > >use_syslog=0 > >log_notifications=1 > >log_service_retries=1 > >log_host_retries=1 > >log_event_handlers=1 > >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=600 > >service_reaper_frequency=1 > >sleep_time=1 > >service_check_timeout=60 > >host_check_timeout=30 > >event_handler_timeout=30 > >notification_timeout=30 > >ocsp_timeout=30 > >perfdata_timeout=5 > >retain_state_information=1 > >state_retention_file=/usr/local/nagios/var/status.sav > >retention_update_interval=0 > >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=1200 > >aggregate_status_updates=1 > >status_update_interval=5 > >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 > > > > > >----- Original Message ----- > >From: "solo molo" > >To: > >Sent: Wednesday, June 18, 2003 18:41 > >Subject: [Nagios-users] Optimal Config for hundreds of passive checks > > > > > > > I have nagios running on redhat 8.0 on a compaq DL360 > with dual 800mhz > >procs > > > and 1GB ram. Nagios receives 400 passive check results > every 10 minutes > >and > > > another 100+ active checks are perfomed every 5 minutes. > My loads are > >never > > > very high, but nagios gets way behind on processing the > passive checks. > >The > > > problem is especially bad when some of the passive checks return > >critical > > > results. I've seen the delay as bad as 20 hours. That > is when I check > >the > > > log, nagios is receiving current passive results, but > displaying results > > > from 20 hours ago in the UI. I'd appreciate any > suggestion as to how I > >can > > > configure nagios to process the passive results more > quickly. I'm using > >the > > > following config: > > > > > > inter_check_delay_method=d #I can't use smart because I > have a few > >checks > > > that only run once every 24 hours and throw off the average. > > > > > > service_interleave_factor=s > > > max_concurrent_checks=0 > > > service_reaper_frequency=5 > > > sleep_time=1 > > > > > > _________________________________________________________________ > > > Protect your PC - get McAfee.com VirusScan Online > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Jun 25 02:23:32 2003 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 24 Jun 2003 19:23:32 -0500 Subject: Nagios 1.1 TAC cgi formatting fix In-Reply-To: <3EF8873F.2020403@bridgeband.net> References: <3EF8873F.2020403@bridgeband.net> Message-ID: <3EF8A534.5247.62EAED@localhost> The commenting was a brain fart on my part. CVS has been updated with this fix for a few days. On 24 Jun 2003 at 11:15, Mikel Bauer wrote: > As I noticed a few people are concerned about this, perhaps they should > fix it. > > The problem is incomplete table structures. The odd thing is, the > appropriate table code is in the source, but a is > commented out. > > The offending comment is at line 1223 to 1226 of tac.c. Simply remove > the open and close comments (/* */). > > I'd make this a "patch", but I'm lazy, and this is an easy fix. > > Recompile the tac.c file, and voila, no more formating errors. > -- > Mikel Bauer > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jun 25 03:03:40 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 24 Jun 2003 20:03:40 -0500 Subject: Scheduling maintenance on host/servicegroups Message-ID: Click Status Summary, click hostgroup name (the link in parentheses), click "Schedule downtime for all hosts in this hostgroup". Something like that? :) jc > -----Original Message----- > From: toddmichael [mailto:todd.bushnell at demandtec.com] > Sent: Tuesday, June 24, 2003 2:35 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling maintenance on host/servicegroups > > > > I've been getting complaints from some of my users that it > takes too long to schedule downtime (or disable > notifications, checks) when many hosts/services are involved. > I'm curious if there are plans to add a feature that would > allow an administrator to choose multiple hosts/services and > perform such actions on the group? I'm going to start > digging around myself to see how difficult this would be, but > want to ensure that I'm not reinventing the wheel. I checked > the downloads and didn't see anything posted. I see that > Nagios 2.0 is introducing the concept of servicegroups which > will make this feature a bit easier to add. Any thoughts or > advice regarding this subject? > > Is there a forum for making feature requests? If so, I'd > appreciate it if someone would share it. Thanxx.... > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jun 25 03:09:00 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 24 Jun 2003 20:09:00 -0500 Subject: [Nagiosplug-help] Host key verificationfailed. Message-ID: Follow-up to nagios-users. Please maintain this in the future. You still haven't cut-and-pasted as originally requested. However, it *appears* that we've found the root of your problem: You're being prompted for the password. What you need to do is set up a null passphrase for nagios on the Nagios host, and install the public key on the client host(s). I will not be giving you a tutorial on how to set up a null passphrase and push the public key to the host(s) in question, but I will suggest you start with "man ssh-keygen". I'm glad to see we got to the root of the problem. jc > -----Original Message----- > From: Gilberto Nunes Ferreira [mailto:gilbertonunes at pwr.com.br] > Sent: Tuesday, June 24, 2003 3:42 PM > To: Carroll, Jim P [Contractor] > Subject: RE: [Nagios-users] Re: [Nagiosplug-help] Host key > verificationfailed. > > > That's very stranger... > In a command line, the command check_by_ssh work, but ask me for a > password and all working on. > Help-me!!! > > > Em Ter, 2003-06-24 ?s 17:36, Carroll, Jim P [Contractor] escreveu: > > Please run the command at the command line. Paste both the invoked > > command *and* the output to this mailing list. > > > > jc > > > > > > > -----Original Message----- > > > From: Gilberto Nunes Ferreira [mailto:gilbertonunes at pwr.com.br] > > > Sent: Tuesday, June 24, 2003 1:24 PM > > > To: nagios-users at lists.sourceforge.net > > > Cc: jasmine.chua at securecirt.com > > > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key > verification > > > failed. > > > > > > > > > Hi again > > > > > > I understand what do you say Jasmine, but I can get a way > by ssh to my > > > box. > > > With a normal ssh session, I can logged into the box. > > > But when a try to the check_by_ssh plugin I can't. > > > What can I do? > > > > > > Em Seg, 2003-06-23 ?s 20:51, Jasmine escreveu: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Hi > > > > > > > > It means it is really a SSH problem. Your box cannot access > > > the other by SSH. > > > > You have to make sure you have the right host keys > > > generated. Perhaps you can > > > > check your known_hosts in your .ssh directory to make sure > > > the key for that > > > > particular host is there. > > > > > > > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote: > > > > > Hi evervbody > > > > > > > > > > I have two host. > > > > > One of then I wan't to verify by check_by_ssh, plugins. > > > > > So, I make this in the checkcommands.cfg file: > > > > > > > > > > ..... > > > > > ... > > > > > .. > > > > > define command{ > > > > > command_name ssh_check_disk > > > > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > > > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' > > > > > } > > > > > > > > > > > > > Wen I > > > restart the nagios > > > > > services, appear a mesagem that say: > > > > > > > > > > > > > > > > > > > > Host key verification failed. > > > > > > > > > > > > > > > What the means of this mesage? > > > > > I forgot something?!?!?! > > > > > > > > > > Please,help! > > > > > Thanks. > > > > > > > > - -- > > > > Jasmine Chua > > > > Security Engineer > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej > > > > T8ddWrGJipPo0jXTPzfpO0M= > > > > =geFj > > > > -----END PGP SIGNATURE----- > > > -- > > > Gilberto Nunes Ferreira > > > Linux User n? 199930 > > > ICQ #136176504 > > > Network Services > > > Power Consultoria e Sistemas > > > Fones: (47) 433-7595 > > > E-Mail: gilbertonunes at pwr.com.br > > > Home Page: www.pwr.com.br > > > Oracle Member Partner > > > Centro Certificado GNU/LINUX > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU > > > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > > Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- Gilberto Nunes Ferreira Linux User n? 199930 ICQ #136176504 Network Services Power Consultoria e Sistemas Fones: (47) 433-7595 E-Mail: gilbertonunes at pwr.com.br Home Page: www.pwr.com.br Oracle Member Partner Centro Certificado GNU/LINUX ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Wed Jun 25 03:43:23 2003 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 25 Jun 2003 11:43:23 +1000 Subject: AS/400 and Nagios References: Message-ID: <00bc01c33abb$2a2be140$d700a8c0@iih.usyd.edu.au> > - Running Linux RH 8.0 on a Intel platform. > - Installed a set of MIBs for the AS/400 in order to retrieve info. > regarding CPU util., disk load, active processes etc. This pack of > MIBs also includes the possibillity to send alerts to a mgmt system > (which is specified in the SNMP attribs and community attribs). > - This doesn't seem to work at all! Anybody got some hints regarding > this problem and how to get around it? Of course; I could always > retrive the data from the AS/400 to the Linux server and interpret > the data there but this shouldn't be necessary (and would take too > much time and load on the net). > First things first - what version of Nagios/plugins. What OS/400 version? SNMP on the AS/400 is a tricky thing. The MIB's are dated and flawed in some parts and the SNMP server is flaky in parts too. What errors are you getting? Regards James Turnbull -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.renaut at electricite-strasbourg.fr Wed Jun 25 10:00:53 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Wed, 25 Jun 2003 10:00:53 +0200 Subject: trap snmp Message-ID: Hi the nagios people, I would like to manage traps snmp and below what i made... 1-in /usr/local/bin/snmptrapd.conf, format1 #for snmp V1 traphandle default echo "['date +%s'] PROCESS_SERVICE_CHECK_RESULT;commut_test;trap_test;1;resultat_test" >> /usr/local/nagios/rw/nagios.cmd 2-in /usr/local/nagios/etc/services.cfg define service{ name generic-service-trap active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 is_volatile 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service-trap host_name commut-test service_description trap_test check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups nagios-admin-grp notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_none } 3-and start the snmptrad daemon by /usr/local/sbin/snmptrapd but with this, it doesn't work... What's the problem ? Thanks for your help .................................................................................................... Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : pascal.renaut at electricite-strasbourg.fr ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ggarzino at mgpi.com.fr Wed Jun 25 10:44:47 2003 From: ggarzino at mgpi.com.fr (ggarzino) Date: Wed, 25 Jun 2003 10:44:47 +0200 Subject: plugin check_snmp Message-ID: <000601c33af6$08fc3ca0$3d6f10ac@mgpi.fr> Hi, I have installed the net-snmp package. When I compil the nagios-plugins package, the check-snmp plugin isn't available. I found only the file check_snmp.c. Does anybody have an idea to help me? Thanx Greg. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daveyboydotcom at hotmail.com Wed Jun 25 13:05:22 2003 From: daveyboydotcom at hotmail.com (Dave Rocks) Date: Wed, 25 Jun 2003 11:05:22 +0000 Subject: Hostgroup availabilty reporting Message-ID: Hello, I've set up a hostgroup named 'Reporting' and a run an availability report on it once a week to show my boss. All is fine other than the first column contains the Host name. The host names mean nothing to my boss, i.e FPSERVER01, SWITCH02 etc.. Is it possible to run the same report but have the host alias in the first column, this way it will report File Server UK 01, etc..which my boss can understand at first glance rather than learn all our server/router etc.. names. Thanks, Dave. _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wikinger at i-st.net Wed Jun 25 13:15:13 2003 From: wikinger at i-st.net (Eric Moeller) Date: 25 Jun 2003 13:15:13 +0200 Subject: Status Unknown or OK Problem Message-ID: <1056539713.2504.16.camel@ermob.technik.berlin.strato.de> Hello @all, i have some problems with the status.cgi. For Example the Status Information is : OK - load average: 0.02, 0.02,0.02 but the STATUS is UNKNOWN and i got a notification. or DISK CRITICAL in Status Information and STATUS OK. Did anybody know the Reason? Thanks -- Eric Moeller ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Wed Jun 25 13:35:58 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Wed, 25 Jun 2003 13:35:58 +0200 Subject: Plugin timeouts and the like ... Message-ID: An HTML attachment was scrubbed... URL: From karl at debisschop.net Wed Jun 25 13:47:38 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 25 Jun 2003 07:47:38 -0400 Subject: plugin check_snmp In-Reply-To: <000601c33af6$08fc3ca0$3d6f10ac@mgpi.fr> References: <000601c33af6$08fc3ca0$3d6f10ac@mgpi.fr> Message-ID: <1056541658.29654.3.camel@localhost.localdomain> On Wed, 2003-06-25 at 04:44, ggarzino wrote: > Hi, > > I have installed the net-snmp package. When I compil the > nagios-plugins package, the check-snmp plugin isn't available. I found > only the file check_snmp.c. Does anybody have an idea to help me? was net-snmp installed from the start? if you ran configure before you installed net-snmp, you may need to make distclean and then rerun configure. if not, you'll need to look at the output from configure. i'm not sure any other guesses can be made since we have not been told the OS you run on, the version of the plugins, nor even one byte of diagnostic output from any part of the build. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 25 15:26:59 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 25 Jun 2003 09:26:59 -0400 Subject: Optimal Config for hundreds of passive checks && Hundreds of Nagios procs References: Message-ID: <004701c33b1d$75327fc0$f805ff0a@tekniq> Both the ramdisk and the ocsp sweeper are vital to an efficient nagios setup. My suggestion would be to implement a ramdisk. If that does not fix the queue, disable ocsp. You'll then know whether or not you need to implement a ocsp sweeper program. I've been meaning to make the one I helped write public so I'll do so sometime today. Yes, I have a little script that runs on startup to mount the ramdisk. I have it in the rc.local file; there may be a better way but mine works. #!/bin/sh # format and mount ramdisk /sbin/mke2fs /dev/ramdisk /bin/mount /dev/ramdisk /usr/local/nagios/ramdisk /bin/chown nagios.nagios /usr/local/nagios/ramdisk #END>> -- Jason Lancaster, Intranet Administrator Affinity Internet (http://www.affinity.com) ----- Original Message ----- From: "solo molo" To: ; Sent: Tuesday, June 24, 2003 19:58 Subject: Re: [Nagios-users] Optimal Config for hundreds of passive checks && Hundreds of Nagios procs > Well I tried your config (except for the ramdisk) and Nagios is still > getting behind on processing the results. I can't understand why Nagios is > getting behind since my load averages are so low (less than 2 most of the > time). > > Anyway I'm going to try the ramdisk, I'm curious as to how you set yours up. > Do you have a script that recreates and formats the disk at startup? > > > >From: "Jason Lancaster" > >To: "solo molo" , > > > >Subject: Re: [Nagios-users] Optimal Config for hundreds of passive checks > >&& Hundreds of Nagios procs > >Date: Thu, 19 Jun 2003 15:16:39 -0400 > > > >With regards to this thread and the thread titled "Hundreds of Nagios > >procs," I thought I'd share the configuration file I use in my > >implementation. This (complete) config is similar on all systems, with > >various tweaks for each one. The monitoring servers are all at least 1ghz > >machines with around 3000 services. Every server has a ramdisk and all > >monitoring servers run a custom "ocsp sweeper" application to send nsca > >stats in bulk to the central server. This lightened the load on monitoring > >servers quite a bit as each ocsp command takes execution time. > > > >It seems like there are a lot of threads on this mailing the list right now > >asking about why implementations of Nagios have a huge queue of results to > >process. You can fix it... it just needs to be tweaked. > > > >Let me know if you have any questions. > > > >-Jason > > > >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/ramdisk/status.log > >nagios_user=nagios > >nagios_group=nagios > >check_external_commands=1 > >command_check_interval=-1 > >command_file=/usr/local/nagios/ramdisk/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/ramdisk/nagios.tmp > >log_rotation_method=d > >log_archive_path=/usr/local/nagios/var/archives > >use_syslog=0 > >log_notifications=1 > >log_service_retries=1 > >log_host_retries=1 > >log_event_handlers=1 > >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=600 > >service_reaper_frequency=1 > >sleep_time=1 > >service_check_timeout=60 > >host_check_timeout=30 > >event_handler_timeout=30 > >notification_timeout=30 > >ocsp_timeout=30 > >perfdata_timeout=5 > >retain_state_information=1 > >state_retention_file=/usr/local/nagios/var/status.sav > >retention_update_interval=0 > >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=1200 > >aggregate_status_updates=1 > >status_update_interval=5 > >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 > > > > > >----- Original Message ----- > >From: "solo molo" > >To: > >Sent: Wednesday, June 18, 2003 18:41 > >Subject: [Nagios-users] Optimal Config for hundreds of passive checks > > > > > > > I have nagios running on redhat 8.0 on a compaq DL360 with dual 800mhz > >procs > > > and 1GB ram. Nagios receives 400 passive check results every 10 minutes > >and > > > another 100+ active checks are perfomed every 5 minutes. My loads are > >never > > > very high, but nagios gets way behind on processing the passive checks. > >The > > > problem is especially bad when some of the passive checks return > >critical > > > results. I've seen the delay as bad as 20 hours. That is when I check > >the > > > log, nagios is receiving current passive results, but displaying results > > > from 20 hours ago in the UI. I'd appreciate any suggestion as to how I > >can > > > configure nagios to process the passive results more quickly. I'm using > >the > > > following config: > > > > > > inter_check_delay_method=d #I can't use smart because I have a few > >checks > > > that only run once every 24 hours and throw off the average. > > > > > > service_interleave_factor=s > > > max_concurrent_checks=0 > > > service_reaper_frequency=5 > > > sleep_time=1 > > > > > > _________________________________________________________________ > > > Protect your PC - get McAfee.com VirusScan Online > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: INetU > >Attention Web Developers & Consultants: Become An INetU Hosting Partner. > >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > >reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singhsaurabh2003 at yahoo.com Wed Jun 25 15:46:12 2003 From: singhsaurabh2003 at yahoo.com (saurabh singh) Date: Wed, 25 Jun 2003 06:46:12 -0700 (PDT) Subject: Need help urgently! kindly read on ! In-Reply-To: References: Message-ID: <20030625134612.18246.qmail@web14803.mail.yahoo.com> hiii frends... I need help in implementing database connectivity with MYSql for NAGIOS....Kindly plz tell me the link from where i can download the code or plz send it to me if u have it... i need it urgently....The code for connectivity should be either in Perl or CGI programming... Plz help.. Sincerly yours, Saurabh Singh. --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nabil.benfreha at trema.com Wed Jun 25 16:26:55 2003 From: nabil.benfreha at trema.com (Nabil Benfreha) Date: Wed, 25 Jun 2003 16:26:55 +0200 Subject: Application daemons, start, stop, .. Message-ID: <526A75C05EB2364C9F0FCAC9E724B1A116DDEE@labsex1.corp.trema.com> Hi I'm new to Nagios, I would like to know if this solution allows us to control (start, stop, suspend,...) application processes (daemons). Otherwise is it possible to develop a plugin to control my application process. Thanks, Nbenfreh. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php From jbautista at icnet.com.ve Wed Jun 25 16:29:12 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 25 Jun 2003 10:29:12 -0400 Subject: Mysql database Message-ID: <5.1.0.14.0.20030625102713.04a79e90@pop.icnet.com.ve> Hi, I want to record all information that is in nagios-04-10-2003-00.log file (plain text) to mysql database, is it possible? Thanks Jeyri ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Wed Jun 25 17:18:36 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Wed, 25 Jun 2003 09:18:36 -0600 Subject: check_mrtgtraf syntax In-Reply-To: References: Message-ID: <00ee01c33b2d$0e327220$6701010a@kazkdsxp> Thanks David, That helped a ton! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of David Waldo Sent: Tuesday, June 24, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_mrtgtraf syntax Hi Mike - I found check_mrtgtraf a little confusing also. Checking the C source, I found that it wants Bytes/Second: /* report incoming traffic in Bytes/sec */ if (incoming_rate < 1024) { strcpy (incoming_speed_rating, "B/s"); adjusted_incoming_rate = (double) incoming_rate; } /* report incoming traffic in KBytes/sec */ else if (incoming_rate < (1024 * 1024)) { strcpy (incoming_speed_rating, "KB/s"); adjusted_incoming_rate = (double) (incoming_rate / 1024.0); } /* report incoming traffic in MBytes/sec */ else { strcpy (incoming_speed_rating, "MB/s"); adjusted_incoming_rate = (double) (incoming_rate / 1024.0 / 1024.0); } So I use the following check_command on our T1 line. MRTG reports the max speed to be 1536.0 kbits/s, so I convert it to max bytes/s with 1536 x 1024 / 8 = 196608 Bytes/s # 'check_mrtg' command definition # check_mrtgtraf checks simple MRTG traffic metrics # -F: The /projects/mrtg/htdocs/router/198.76.172.1_2.log is the MRTG # log for our T1 conntection (1536 kbit/sec or 196608 Bytes/sec MAX). # -e: If the file is older than N minutes old, this plug-in will issue a # warning and exit. # -a: You can monitor either AVG or MAX. After looking over the MRTG logs, # it looks like AVG is the most meaningfull to monitor. # -w: WARNING parameters in bytes . 147456 is 75% of the our # T1 capacity (196608 Bytes). # -c: CRITICAL parameters in bytes . 176947 is 95% of the our # T1 capacity (196608 Bytes). define command{ command_name check_mrtg command_line $USER1$/check_mrtgtraf -F/projects/mrtg/htdocs/router/198.76.172.1_2.log -e10 -aAVG -w"147456,147456" -c"176947,176947" } Also, the check_mrtgtraf plugin prints no output for critical or warning states, so I patched the source with this: 203a204 > printf("%s\n", error_message); 211a213,214 > printf("%s\n", error_message); > - Dave Waldo -----Original Message----- From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: Tuesday, June 24, 2003 10:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_mrtgtraf syntax He all, I was not sure how to handle the syntax of a check_mrtgtraf command for the warnings and critical variables. Here is my question, if check_mrtgtraf returns its results in KB/s, should the critical and warning variables also be in KB/s or in b/s? Any real world examples out there - we are pulling data from cisco routers. Thanks, Mike ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnarleyburns at yahoo.com Wed Jun 25 17:31:00 2003 From: johnarleyburns at yahoo.com (John Arley Burns) Date: Wed, 25 Jun 2003 08:31:00 -0700 (PDT) Subject: Application daemons, start, stop, .. In-Reply-To: <526A75C05EB2364C9F0FCAC9E724B1A116DDEE@labsex1.corp.trema.com> References: <526A75C05EB2364C9F0FCAC9E724B1A116DDEE@labsex1.corp.trema.com> Message-ID: <20030625153100.50291.qmail@web80406.mail.yahoo.com> --- Nabil Benfreha wrote: > Hi > > I'm new to Nagios, I would like to know if this > solution allows us to control (start, stop, suspend,...) > application processes (daemons). Yes it does. You do this by executing plugins, either locally or remotely. > Otherwise is it possible to develop > a plugin to control my application process. Yes, you can develop custom plugins. Nagios is a pretty good system. The one downside is that it is a pain to install and configure. Hopefully this will be fixed in 2.0 with an install script that auto-configures the config files on "make install". This would mean you could get nagios up and running out of the box. Default config install script could look for standard apps like Apache and sendmail and if it finds them, make an entry in the config file. Then you could go change the scripts, of course, but at least you would have something working at the beginning. This will help new user adoption greatly. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php From jbautista at icnet.com.ve Wed Jun 25 17:42:32 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 25 Jun 2003 11:42:32 -0400 Subject: nagios.log Message-ID: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> Hi, when i see the nagios.log files, where can I see the event time (hour,minutes,seconds), Thanks, Jeyri ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jun 25 17:58:55 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 25 Jun 2003 10:58:55 -0500 Subject: How do you test a large configuration? Message-ID: <16121.50879.940184.648253@montanaro.dyndns.org> I have a practical problem. I've been running Nagios for a couple weeks now on my laptop, adapting more and more of the configuration data from our current system. At this point I have * 155 host definitions * 159 hostextinfo definitions * 205 service definitions * 63 contact grounds * 18 contacts * 25 escalations and various smaller numbers of other definitions. Now I have a practical problem. Given that many of the systems being monitored are critical and can't be taken down to test that stuff works properly, how do I go about testing my configuration? When I reload the system it obviously checks some things for me. Other stuff, "leaf information", isn't so easy to check automatically (emails, pager numbers, missing service definitions, escalation ordering, etc). To the greated extent possible, I'd like to avoid discovering mistakes in my configuration when a machine goes down and nobody notices. Other than (actually, in addition to) tediously desk checking everything, do people have any suggestions for checking large configurations? Thx, -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Wed Jun 25 18:11:38 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 25 Jun 2003 11:11:38 -0500 Subject: How do you handle odd contacts? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0C06F3@inex1.herffjones.hj-int> I'm in a quandry. I have my hosts and services and contacts nicely laid out in a functional way (unix servers, windows servers, routers, switches, dns, etc) that fits nicely with the job responsibilities of the people who normally respond to outages - but now I have one remote admin at one site who would like to receive alerts only when one of her systems is down. The problem is that in order to send her alerts concerning only her systems (one unix box, one windows box), I think I would have to remove her hosts from their logical groups and create additional groups (host and contact) for just those systems. That seems like a really bad solution - all I want is to allow a contact to get alerts regarding a specific device, without screwing up the logical layout of the rest of the config file. Am I missing something? Is there a way to "apply a contact to a host or service" instead of the other way around? How do you handle this at your site? It seems like the way Nagios handles the connections between contacts and hosts and services is only partially complete. Specificly, I can apply a contact group to a hostgroup or a service, but I can't apply a contact (no "group") to it. Nor can I apply a contact or contact group to a single host. It's nice that grouping is available, but it's not so nice that grouping is *required*. :-( I've been using the template files for several years now but I admit it still gives me a headache when I think about it - if I'm missing something I'd love any advice. I think the situation I have is probably similar to that in lots of companies with big branch offices. I have a core operations team at a central head quarters office, but I also have branch offices that usually have one or more local admins. The local admins should only get alerts related to their devices (in other words, based on geography); the headquarters operations team should get alerts based on their area of expertise (unix, windows, routers, etc). The only way I can see to satisfy my requirements is to put every host into its own hostgroup, just because I can't apply a single contact to a single host or service. What am I missing? -- Trever ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 18:28:25 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 25 Jun 2003 11:28:25 -0500 Subject: How do you handle odd contacts? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7845@mismail.ena.com> Services are easy -- contact_groups: This is a list of the short names of the contact groups that should be notified whenever there are problems (or recoveries) with this service. Multiple contact groups should be separated by commas. Just create a contact_group with her as the only member and for each service that she should be notified for add her contact_group to what you already have there. Nagios was designed this way I assume to allow for the greatest flexibility in contact configurations. For the hosts, you will need to create a new hostgroup that contains the hosts that she should be notified for with her contact_group as the contact. Don't worry that the hosts are defined in another hostgroup as well, it's no big deal. If you use authentication then only she will see the new hostgroup. -- Marc > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Wednesday, June 25, 2003 11:12 AM > To: Nagios-Users List (E-mail) > > I'm in a quandry. I have my hosts and services and contacts nicely laid > out > in a functional way (unix servers, windows servers, routers, switches, > dns, > etc) that fits nicely with the job responsibilities of the people who > normally respond to outages - but now I have one remote admin at one site > who would like to receive alerts only when one of her systems is down. > > The problem is that in order to send her alerts concerning only her > systems > (one unix box, one windows box), I think I would have to remove her hosts > from their logical groups and create additional groups (host and contact) > for just those systems. That seems like a really bad solution - all I > want > is to allow a contact to get alerts regarding a specific device, without > screwing up the logical layout of the rest of the config file. > > Am I missing something? Is there a way to "apply a contact to a host or > service" instead of the other way around? How do you handle this at your > site? > > It seems like the way Nagios handles the connections between contacts and > hosts and services is only partially complete. Specificly, I can apply a > contact group to a hostgroup or a service, but I can't apply a contact (no > "group") to it. Nor can I apply a contact or contact group to a single > host. It's nice that grouping is available, but it's not so nice that > grouping is *required*. :-( > > I've been using the template files for several years now but I admit it > still gives me a headache when I think about it - if I'm missing something > I'd love any advice. > > I think the situation I have is probably similar to that in lots of > companies with big branch offices. I have a core operations team at a > central head quarters office, but I also have branch offices that usually > have one or more local admins. The local admins should only get alerts > related to their devices (in other words, based on geography); the > headquarters operations team should get alerts based on their area of > expertise (unix, windows, routers, etc). > > The only way I can see to satisfy my requirements is to put every host > into > its own hostgroup, just because I can't apply a single contact to a single > host or service. What am I missing? > > -- > Trever > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Jun 25 18:45:49 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 25 Jun 2003 12:45:49 -0400 (EDT) Subject: [Nagiosplug-help] Application daemons, start, stop, .. In-Reply-To: <526A75C05EB2364C9F0FCAC9E724B1A116DDEE@labsex1.corp.trema.com> References: <526A75C05EB2364C9F0FCAC9E724B1A116DDEE@labsex1.corp.trema.com> Message-ID: On Wed, 25 Jun 2003, Nabil Benfreha wrote: > Hi > > I'm new to Nagios, I would like to know if this > solution allows us to control (start, stop, suspend,...) > application processes (daemons). > Otherwise is it possible to develop > a plugin to control my application process. > Please do not copy your message on multiple lists. Nagios can help you control processes via the event-handler facility but it does not come with predefined event-handlers. You will need to write those yourself. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 18:56:57 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 25 Jun 2003 11:56:57 -0500 Subject: nagios.log Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7846@mismail.ena.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=70 -- marc > -----Original Message----- > From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] > Sent: Wednesday, June 25, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > > Hi, when i see the nagios.log files, where can I see the event time > (hour,minutes,seconds), > > Thanks, > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jun 25 18:56:37 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 25 Jun 2003 11:56:37 -0500 Subject: nagios.log In-Reply-To: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> References: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> Message-ID: <16121.54341.103624.187976@montanaro.dyndns.org> Jeyri> Hi, when i see the nagios.log files, where can I see the event Jeyri> time (hour,minutes,seconds), It's there, it's just hidden as the number of seconds since the start of the Unix epoch. Mine starts with [1056436964] LOG ROTATION: DAILY [1056436997] SERVICE ALERT: sparky;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 20%, RTA = 21.90 ms [1056437057] SERVICE ALERT: uccpss;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 20%, RTA = 25.60 ms The first number is key. You can convert it using a number of methods. I find Python's time.localtime() the easiest: % python Python 2.3b1+ (#66, Jun 20 2003, 10:06:31) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. import time>>> import time >>> time.localtime(1056436964) (2003, 6, 24, 1, 42, 44, 1, 175, 1) So the first timestape corresponds to 2003-06-24 01:42:44. The last three fields of the tuple are the weekday, year day and isdst flag. -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Jun 25 18:49:17 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 25 Jun 2003 12:49:17 -0400 (EDT) Subject: How do you handle odd contacts? In-Reply-To: <8FFC76593085ED4A80D3601BC41EFCDF0C06F3@inex1.herffjones.hj-int> References: <8FFC76593085ED4A80D3601BC41EFCDF0C06F3@inex1.herffjones.hj-int> Message-ID: You could have the host be members of multiple hostgroups - one logical and one regional. -sg On Wed, 25 Jun 2003, Furnish, Trever G wrote: > I'm in a quandry. I have my hosts and services and contacts nicely laid out > in a functional way (unix servers, windows servers, routers, switches, dns, > etc) that fits nicely with the job responsibilities of the people who > normally respond to outages - but now I have one remote admin at one site > who would like to receive alerts only when one of her systems is down. > > The problem is that in order to send her alerts concerning only her systems > (one unix box, one windows box), I think I would have to remove her hosts > from their logical groups and create additional groups (host and contact) > for just those systems. That seems like a really bad solution - all I want > is to allow a contact to get alerts regarding a specific device, without > screwing up the logical layout of the rest of the config file. > > Am I missing something? Is there a way to "apply a contact to a host or > service" instead of the other way around? How do you handle this at your > site? > > It seems like the way Nagios handles the connections between contacts and > hosts and services is only partially complete. Specificly, I can apply a > contact group to a hostgroup or a service, but I can't apply a contact (no > "group") to it. Nor can I apply a contact or contact group to a single > host. It's nice that grouping is available, but it's not so nice that > grouping is *required*. :-( > > I've been using the template files for several years now but I admit it > still gives me a headache when I think about it - if I'm missing something > I'd love any advice. > > I think the situation I have is probably similar to that in lots of > companies with big branch offices. I have a core operations team at a > central head quarters office, but I also have branch offices that usually > have one or more local admins. The local admins should only get alerts > related to their devices (in other words, based on geography); the > headquarters operations team should get alerts based on their area of > expertise (unix, windows, routers, etc). > > The only way I can see to satisfy my requirements is to put every host into > its own hostgroup, just because I can't apply a single contact to a single > host or service. What am I missing? > > -- > Trever > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpa at ision.net Wed Jun 25 19:09:01 2003 From: dpa at ision.net (Darius Pareigis) Date: 25 Jun 2003 17:09:01 -0000 Subject: Error During Installation In-Reply-To: <20030623162835.3685.qmail@pod-163.dolphin-server.co.uk> References: <20030623162835.3685.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030625170901.10186.qmail@pod-163.dolphin-server.co.uk> Hello, Check your $PATH and gcc compiler. It can't be found in your PATH now. 1. test# find / -name gcc I don't know where it normaly is under Linux, by Solaris you get: /usr/local/bin/gcc 2.You should add it in your .profile, edit your .profile: export PATH=$PATH:/usr/local/bin 3. Close your session and open a new one. happy compiling ... friend ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjn at umn.edu Wed Jun 25 18:31:31 2003 From: mjn at umn.edu (mjn) Date: Wed, 25 Jun 2003 11:31:31 -0500 (CDT) Subject: NRPE problems... Message-ID: Any ideas as to why I might be getting this error with my newly installed NRPE: [root at genome init.d]# ./nrpe status nrpe dead but subsys locked I cannot seem to get the daemon to load properly even though starting it gives an "OK". I checked /var/log/message and it says this about the startup: Jun 25 11:29:17 genome nrpe[27253]: Network server bind failure (98: Address already in use) Jun 25 11:29:17 genome nrpe: nrpe startup succeeded Why is it trying to bind to port 98 instead of 5666? Help would be appretiated. Thanks. -- _______________________________________________ Mike Neuharth ADCS Technology Specialist http://www.umn.edu/adcs =============================================== E-Mail : mjn at umn.edu Page Mail : 6126486512 at page.metrocall.com _______________________________________________ "What is important, it seems to me, is not so much to defend a culture whose existence has never kept a man from going hungry, as to extract, from what is called culture, ideas whose compelling force is identical with that of hunger." -Antonin Artaud ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Wed Jun 25 19:21:54 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 25 Jun 2003 12:21:54 -0500 Subject: How do you handle odd contacts? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0C06F7@inex1.herffjones.hj-int> Actually although that sounds like a solution at first glance, I don't think it is. My services currently apply to host groups based on function (not geography). For example, telnet applies to Unix servers, dns applies to DNS servers. If I were to do as you suggest, then I would have to apply the service separately twice - once to her Unix server with her contact group listed, and once to all the other Unix servers without her contact group listed. That's a bad solution for at least these reasons: - Multiplies by many times the number of host groups I have. - Multiplies by many times the number of services definitiongs I have. - Completely hoses both the status grid and the overview pages. (Since host grouping is effectively gone.) So I'm back to thinking that although contact and host grouping are nice features, they aren't a replacement for being able to assign a single contact to a hosts, hostgroups, and services directly using the contact object itself. Hopefully I'm just misunderstanding - keep working on me. :-) -t. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, June 25, 2003 11:28 AM To: Furnish, Trever G; Nagios-Users List (E-mail) Subject: RE: [Nagios-users] How do you handle odd contacts? Services are easy -- contact_groups: This is a list of the short names of the contact groups that should be notified whenever there are problems (or recoveries) with this service. Multiple contact groups should be separated by commas. Just create a contact_group with her as the only member and for each service that she should be notified for add her contact_group to what you already have there. Nagios was designed this way I assume to allow for the greatest flexibility in contact configurations. For the hosts, you will need to create a new hostgroup that contains the hosts that she should be notified for with her contact_group as the contact. Don't worry that the hosts are defined in another hostgroup as well, it's no big deal. If you use authentication then only she will see the new hostgroup. -- Marc > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Wednesday, June 25, 2003 11:12 AM > To: Nagios-Users List (E-mail) > > I'm in a quandry. I have my hosts and services and contacts nicely laid > out > in a functional way (unix servers, windows servers, routers, switches, > dns, > etc) that fits nicely with the job responsibilities of the people who > normally respond to outages - but now I have one remote admin at one site > who would like to receive alerts only when one of her systems is down. > > The problem is that in order to send her alerts concerning only her > systems > (one unix box, one windows box), I think I would have to remove her hosts > from their logical groups and create additional groups (host and contact) > for just those systems. That seems like a really bad solution - all I > want > is to allow a contact to get alerts regarding a specific device, without > screwing up the logical layout of the rest of the config file. > > Am I missing something? Is there a way to "apply a contact to a host or > service" instead of the other way around? How do you handle this at your > site? > > It seems like the way Nagios handles the connections between contacts and > hosts and services is only partially complete. Specificly, I can apply a > contact group to a hostgroup or a service, but I can't apply a contact (no > "group") to it. Nor can I apply a contact or contact group to a single > host. It's nice that grouping is available, but it's not so nice that > grouping is *required*. :-( > > I've been using the template files for several years now but I admit it > still gives me a headache when I think about it - if I'm missing something > I'd love any advice. > > I think the situation I have is probably similar to that in lots of > companies with big branch offices. I have a core operations team at a > central head quarters office, but I also have branch offices that usually > have one or more local admins. The local admins should only get alerts > related to their devices (in other words, based on geography); the > headquarters operations team should get alerts based on their area of > expertise (unix, windows, routers, etc). > > The only way I can see to satisfy my requirements is to put every host > into > its own hostgroup, just because I can't apply a single contact to a single > host or service. What am I missing? > > -- > Trever > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jun 25 19:29:03 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 25 Jun 2003 12:29:03 -0500 Subject: [Nagios-devel] Application daemons, start, stop, .. Message-ID: Follow-up to nagios-users only. You might want to check out MONIT: http://www.tildeslash.com/monit/ jc > -----Original Message----- > From: Nabil Benfreha [mailto:nabil.benfreha at trema.com] > Sent: Wednesday, June 25, 2003 9:27 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-devel] Application daemons, start, stop, .. > > > Hi > > I'm new to Nagios, I would like to know if this > solution allows us to control (start, stop, suspend,...) > application processes (daemons). > Otherwise is it possible to develop > a plugin to control my application process. > > Thanks, > > Nbenfreh. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jun 25 19:33:05 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 25 Jun 2003 13:33:05 -0400 Subject: nagios.log References: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> Message-ID: <001101c33b3f$d5f5f3b0$f805ff0a@tekniq> This should work for just about anything with a timet format. 1. Create program called timet.pl. 2. tail -f nagios.log | ./timet.pl #!/usr/bin/perl while () { $_ =~ /\D(\d{10})\D/; $time = scalar localtime($1); $_ =~ s/\D(\d{10})\D/\[$time\]/g; print "$_"; } -Jason ----- Original Message ----- From: "Jeyri Bautista" To: Sent: Wednesday, June 25, 2003 11:42 Subject: [Nagios-users] nagios.log > Hi, when i see the nagios.log files, where can I see the event time > (hour,minutes,seconds), > > Thanks, > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Wed Jun 25 20:11:26 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 25 Jun 2003 13:11:26 -0500 Subject: How do you handle odd contacts? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0C06F8@inex1.herffjones.hj-int> Thanks, but I think either I'm doing a poor job of communicating or I'm making bad assumptions... Maybe an example will help. I currently have: In contactgroup unixadmin, the following contacts: corp1, corp2 In contactgroup winadmin, the following contacts: corpA, corpB In hostgroup unix, the following hosts: unix1, unix2, unix3 In hostgroup windows, the following hosts: win1, win2, win3 In service def telnet, the following hostgroup: unix In service def smb, the following hostgroup: windows My newly interested remote site admin (region3admin) is responsible only for unix3 and win3. I think what you are saying is I can create a new, regional hostgroup containing hosts unix3 and win3, and also assign to it a new contact group containing only newadmin. So I create contactgroup region3 with the following contact: region3admin And I create hostgroup region3 with the following hosts: unix3,win3 Now how do I tell Nagios that region3admin should be notified when the smb service goes down on win3 or the telnet service goes down on unix3, without also alerting her to problems with win1, win2, unix1, and unix2? I can't apply a telnet service check to the region3 hostgroup because only one of the boxes does telnet. Ditto for smb. Also, those services are already being checked once - the resulting alerts just don't go to region3admin, but rather to the unixadmin and winadmin contactgroups. The only solution I can imagine (and I'm not even sure it will work) is to create logical hostgroups for each region (region1unix, region2unix, region3unix, region1win, region2win, region3win) and assign services based on those groups, I've effectively made my status grid page and status overview page pretty ugly, since I end up with a hostgroup for almost every host. I really hope I'm just missing something. Thanks for your time and help so far. -- Trever -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, June 25, 2003 12:38 PM To: Furnish, Trever G Subject: RE: [Nagios-users] How do you handle odd contacts? service definitions can have multiple contact-groups... with templating in effect, there is no inheritance, so you must overwrite the contact_groups entry with the contents of the template and add the local admin's group. One way to manage this it to not put contact_group info in the templates that are used for sites that have local admins. -sg On Wed, 25 Jun 2003, Furnish, Trever G wrote: > But then which one gets the services? I want her to get alerts regarding > the service checks as well as the host checks, but I don't want to check the > services twice (once for her, once for corporate). > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, June 25, 2003 11:49 AM > To: Furnish, Trever G > Cc: Nagios-Users List (E-mail) > Subject: Re: [Nagios-users] How do you handle odd contacts? > > > You could have the host be members of multiple hostgroups - one logical > and one regional. > > -sg > > On Wed, 25 Jun 2003, Furnish, Trever G wrote: > > > I'm in a quandry. I have my hosts and services and contacts nicely laid > out > > in a functional way (unix servers, windows servers, routers, switches, > dns, > > etc) that fits nicely with the job responsibilities of the people who > > normally respond to outages - but now I have one remote admin at one site > > who would like to receive alerts only when one of her systems is down. > > > > The problem is that in order to send her alerts concerning only her > systems > > (one unix box, one windows box), I think I would have to remove her hosts > > from their logical groups and create additional groups (host and contact) > > for just those systems. That seems like a really bad solution - all I > want > > is to allow a contact to get alerts regarding a specific device, without > > screwing up the logical layout of the rest of the config file. > > > > Am I missing something? Is there a way to "apply a contact to a host or > > service" instead of the other way around? How do you handle this at your > > site? > > > > It seems like the way Nagios handles the connections between contacts and > > hosts and services is only partially complete. Specificly, I can apply a > > contact group to a hostgroup or a service, but I can't apply a contact (no > > "group") to it. Nor can I apply a contact or contact group to a single > > host. It's nice that grouping is available, but it's not so nice that > > grouping is *required*. :-( > > > > I've been using the template files for several years now but I admit it > > still gives me a headache when I think about it - if I'm missing something > > I'd love any advice. > > > > I think the situation I have is probably similar to that in lots of > > companies with big branch offices. I have a core operations team at a > > central head quarters office, but I also have branch offices that usually > > have one or more local admins. The local admins should only get alerts > > related to their devices (in other words, based on geography); the > > headquarters operations team should get alerts based on their area of > > expertise (unix, windows, routers, etc). > > > > The only way I can see to satisfy my requirements is to put every host > into > > its own hostgroup, just because I can't apply a single contact to a single > > host or service. What am I missing? > > > > -- > > Trever > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed Jun 25 21:08:29 2003 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 25 Jun 2003 15:08:29 -0400 Subject: APAN extensibility Message-ID: <3EF9F32D.1030005@quadrix.com> Sorry to clog the list with APAN questions... I need to add statistics collection and graphing into my Nagios instances (several) and I was looking at APAN as the vehicle. However, I have a couple of questions about its flexibility. It seems like right now, all it can do is use whatever apan-specific plugs are included, some of which are dependent on nagios-statd and nsclient, neither of which we use. For Disk, Load, and Memory, we use ucd-snmp based monitoring with the check_snmp plugin. We also want to add graphing of data from other plugins not listed in APAN, such as TCP-based services (HTTP time for example). How is this doable using APAN? Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mat at avedya.com Wed Jun 25 18:45:35 2003 From: mat at avedya.com (Matthieu Parisot) Date: Wed, 25 Jun 2003 18:45:35 +0200 Subject: nagios.log In-Reply-To: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> References: <5.1.0.14.0.20030625114100.04a807e8@pop.icnet.com.ve> Message-ID: <3EF9D1AF.7010501@avedya.com> Hi, The date is given in unix timestamp format, at the begining of each line; You can have a more readable output using these bash functions : disp() { while read; do REPLY=${REPLY/[/}; REPLY=${REPLY/]/}; set $REPLY; dat=$(date -d "1970-01-01 UTC $1 seconds" +"%Y-%m-%d %T ") shift; echo $dat $*; done } logread () { if ! [ $# -eq 0 ] then cat $* | disp else disp fi } You just cut and paste theses funcs in your terminal (assuming you are running bash), then you can do : logread nagios-05-28-2003-00.log and then life is a bit less of a pain for you... Regards, Matthieu Parisot. Jeyri Bautista wrote: > Hi, when i see the nagios.log files, where can I see the event time > (hour,minutes,seconds), > > Thanks, > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Wed Jun 25 21:15:37 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 25 Jun 2003 14:15:37 -0500 Subject: Hosts with no services? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0C0224@inex1.herffjones.hj-int> But why should you monitor something you don't care about, generating needless traffic and cpu overhead? I too do a ping in the host check and a redundant ping service check - but it's still a waste. Sure there are other services on the box, but I don't need to monitor them -- all I need is to know the box is alive, in which case the extra ping is pointless and wastes resources. In a previous life I did this with a little shell script and fping. You lose the benefit of being able to acknowledge individual hosts that way though. Then again, if you allow your techs to log into the system doing fping, then adding a host a file listing those to ignore becomes easy. -t. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Wednesday, May 28, 2003 12:30 PM To: John Senior; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts with no services? Workable. But as I've said before on the list, if you have a host connected to the network and it's not providing a service, why have it connected to the network at all? The answer: Because it *is* providing a service. All you need to do is figure out at least one service that you'd like to monitor, and go from there. Otherwise, you could be adding rocks which are ICMP-aware to your network, to the same net/net effect. Just my $0.02. jc > -----Original Message----- > From: John Senior [mailto:js at irishbroadband.ie] > Sent: Wednesday, May 28, 2003 11:08 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > > That's a neat way to do it - is there any way you can exclude > particular hosts if you ever needed to? > > I'm not much of a programmer so I won't be doing it myself, but > I would love to see the 'serviceless' host added to Nagios - the > number of hosts that I simply 'ping monitor' _far_ outweighs > the number of more complex hosts (by a factor of 100:1 or more!). > > Cheers, > > John. > > -- > John Senior > > > -----Original Message----- > > From: Valentine, Ray [mailto:RValentine at irmc.com] > > Sent: 28 May 2003 16:57 > > To: Marc Powell; John Senior; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > I set up a service for ping and give it a "*" for the host, > > this way everyone gets pinged but all I have to do is a > > host definition. > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, May 28, 2003 11:31 AM > > To: John Senior; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=fals > > e&showdesc=t > > rue > > > > We do the same thing you have done. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: John Senior [mailto:js at irishbroadband.ie] > > > Sent: Wednesday, May 28, 2003 10:19 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > Hi there folks, > > > > > > I have a lot of hosts that I just want to ping and see if they > > > are alive - These are devices like switches, routers etc. that > > > I just want to know are 'alive.' What is the best way to > > > achieve this? At the moment I create a host and give it a > > > single service which is a ping, but this is rather redundant - > > > what does everyone else do? I have 100s of devices that are like > > > this, for the most part I don't even want alerts sent - > > just a visual > > > indication on the status page that there is a problem with these > > > hosts. > > > > > > I'd like to do this with Nagios if possible, if not, does > > anyone have > > > any suggestions for something more appropriate? > > > > > > All the best, > > > > > > John. > > > > > > -- > > > John Senior > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ObjectStore. > > > If flattening out C++ or Java code to make your > > application fit in a > > > relational database is painful, don't do it! Check out > > ObjectStore. > > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 21:24:39 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 25 Jun 2003 12:24:39 -0700 (PDT) Subject: contact notifications Message-ID: <20030625192439.57853.qmail@web80506.mail.yahoo.com> I am seeing that /bin/mail is used as the engine behind sending out notifications. This works for the most part but I want to edit the FROM address and this is not possible with /bin/mail. Likewise, simply using domain masquerading isnt working for me. How is everyone else handling this? I suppose I can write a simple perl script to do mail sending for me....but would like to stick close to what is in the distribution. Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HarlanRichardC at JohnDeere.com Wed Jun 25 21:24:56 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 25 Jun 2003 14:24:56 -0500 Subject: MySQL Database Message-ID: <5A8210C827DA0D40AE5BD0DCF96CBCB7187FE3@edxmb8.jdnet.deere.com> We do for the most part what you want. That is get Nagios plugin information into a MySQL database. THe way we have done it is to have our plugins just dump the information there after, then dump the information into Nagios. Not I have all the plugin information and it is easy to pull that information into charts to watch trends. -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Monday, June 23, 2003 4:44 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] MySQL Database Hi, Now, I have my nagios information in plain text, but I want record in a mysql database. My question is: Can I record in a mysql database the nagios.log information?, because i read that the information that can be record is status.log, comment.log, downtime.log and extinfo. Thanks, Jeyri ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.Doutreleau at int-evry.fr Wed Jun 25 22:23:42 2003 From: Eric.Doutreleau at int-evry.fr (Eric Doutreleau) Date: 25 Jun 2003 22:23:42 +0200 Subject: problem with nrpe on redhat systems Message-ID: <1056572621.2293.22.camel@rezo.int-evry.fr> i have installed nagios 1.1 and nrpe2.0b4 on a redhat9 machine i m trying to check the disk output on a redhat7 machine if i run manually the check_nrpe /usr/lib/nagios/plugins/check_nrpe -H crotale.int-evry.fr -c check_disk2 DISK OK [11553468 kB (30%) free on /dev/sdb1] it works but when i ran through nagios i got on the client the following message Jun 25 22:14:40 crotale nrpe[8127]: Error: Request contained illegal metachars! Jun 25 22:14:40 crotale nrpe[8127]: Client request was invalid, bailing out... on the server CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages in checkcommand.cfg i have define command{ command_name check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } in services.cfg define service{ use generic-service ; Name of service template to use host_name crotale.int-evry.fr service_description Espace sur /var/ftp is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nrpe!command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sdb1 } Has someone already have this problem? Thank in advance for any help -- Eric Doutreleau --h5PKJIQq003009.1056572358/rezo.int-evry.fr-- -- Eric Doutreleau ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jun 26 02:36:30 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 25 Jun 2003 20:36:30 -0400 Subject: problem with nrpe on redhat systems In-Reply-To: <1056572621.2293.22.camel@rezo.int-evry.fr> References: <1056572621.2293.22.camel@rezo.int-evry.fr> Message-ID: <5.2.1.1.0.20030625203230.0681db90@mail.capband.net> >if i run manually the check_nrpe >/usr/lib/nagios/plugins/check_nrpe -H crotale.int-evry.fr -c check_disk2 >DISK OK [11553468 kB (30%) free on /dev/sdb1] Given this..... >define service{ > use generic-service ; Name >of service template to use > > > host_name crotale.int-evry.fr > service_description Espace sur /var/ftp > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups novell-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command >check_nrpe!command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 >-c 10 -p /dev/sdb1 > } ...Your check_command is wrong It should be "check_nrpe!crotale.int-evry.fr!check_disk2" That's how I have it in some of my service definitions, or similar: define service{ use generic-service host_name huntingridge.57.AP1 service_description ping is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups radio-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check-huntingridge-nrpe!ping-57.AP1!20 } Note that "ping-57.AP1" is a service defined on the hunting ridge server's /etc/nrpe.conf, and "check-huntingridge-nrpe" is the same as your check_nrpe command, except with the $HOSTADDRESS$ set to a known value. Seeing your nrpe.conf file would help tho, to know what other arguments might need to be sent or in what order. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 26 02:54:28 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 25 Jun 2003 19:54:28 -0500 Subject: Hosts with no services? Message-ID: I suppose you could use check_dummy for your service check. Caveat: I've experienced hosts which are pingable but are otherwise worthless/dead. You've stated yourself that you need to know that the box is alive. So what constitutes 'alive'? If I can ping a box but a user cannot login to that box, is it still alive? If I can't ping the box but when I walk over to it, there are blinking lights and whirring fans, is it still alive? If the main HDD activity light is flickering but bashing away on the console doesn't get me any response, is it still alive? (These are purely rhetorical questions.) If you'd like to know within 5 minutes that a user cannot use service XYZ, then configure Nagios to monitor the health of that service and check on it frequently. If you don't mind that a user cannot login to a host between 5pm and 9am, then configure Nagios to not bother checking between those times (thus cutting down on 'unnecessary' CPU and network traffic). If you don't mind that your root filesystem is sitting at 99.99% capacity, then don't bother with check_disk. If you don't mind the load average hitting 20 frequently, then don't bother with check_load. If you don't mind that a HDD is starting to complain about bad blocks, then don't bother with check_log2. Yes, I'm playing devil's advocate here. If after everything I've said you still find keeping a finger on the pulse of the corporate systems to be uninteresting, then take another look at check_dummy, and replace the check_ping service with it. (Bonus: You'll cut down on network traffic and remote processing. ;) jc > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Wednesday, June 25, 2003 2:16 PM > To: Carroll, Jim P [Contractor] > Cc: Nagios-Users List (E-mail) > Subject: RE: [Nagios-users] Hosts with no services? > > > But why should you monitor something you don't care about, generating > needless traffic and cpu overhead? > > I too do a ping in the host check and a redundant ping > service check - but > it's still a waste. Sure there are other services on the > box, but I don't > need to monitor them -- all I need is to know the box is > alive, in which > case the extra ping is pointless and wastes resources. > > In a previous life I did this with a little shell script and > fping. You > lose the benefit of being able to acknowledge individual > hosts that way > though. Then again, if you allow your techs to log into the > system doing > fping, then adding a host a file listing those to ignore becomes easy. > > -t. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 26 02:56:04 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 25 Jun 2003 19:56:04 -0500 Subject: contact notifications Message-ID: Please refer to the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=150 jc > -----Original Message----- > From: Terry [mailto:td3201 at yahoo.com] > Sent: Wednesday, June 25, 2003 2:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] contact notifications > > > I am seeing that /bin/mail is used as the engine > behind sending out notifications. This works for the > most part but I want to edit the FROM address and this > is not possible with /bin/mail. Likewise, simply > using domain masquerading isnt working for me. > > How is everyone else handling this? I suppose I can > write a simple perl script to do mail sending for > me....but would like to stick close to what is in the > distribution. > > Thanks! > > ===== > Terry > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 26 02:58:18 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 25 Jun 2003 19:58:18 -0500 Subject: problem with nrpe on redhat systems Message-ID: Which version of NRPE are you using on the client? On the server? jc > -----Original Message----- > From: Eric Doutreleau [mailto:Eric.Doutreleau at int-evry.fr] > Sent: Wednesday, June 25, 2003 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with nrpe on redhat systems > > > > > i have installed nagios 1.1 and nrpe2.0b4 on a redhat9 machine > > i m trying to check the disk output on a redhat7 machine > > if i run manually the check_nrpe > /usr/lib/nagios/plugins/check_nrpe -H crotale.int-evry.fr -c > check_disk2 > DISK OK [11553468 kB (30%) free on /dev/sdb1] > > it works > > but when i ran through nagios > i got > on the client the following message > > Jun 25 22:14:40 crotale nrpe[8127]: Error: Request contained illegal > metachars! > Jun 25 22:14:40 crotale nrpe[8127]: Client request was > invalid, bailing > out... > > on the server > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages > > in checkcommand.cfg i have > > define command{ > command_name check_nrpe > command_line /usr/lib/nagios/plugins/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > } > > in services.cfg > > define service{ > use generic-service ; Name > of service template to use > > > host_name crotale.int-evry.fr > service_description Espace sur /var/ftp > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups novell-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!command[check_disk2]=/usr/lib/nagios/plugins/check_ > disk -w 20 > -c 10 -p /dev/sdb1 > } > > Has someone already have this problem? > > Thank in advance for any help > > > > > -- > Eric Doutreleau > > --h5PKJIQq003009.1056572358/rezo.int-evry.fr-- > > -- > Eric Doutreleau > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 05:00:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 25 Jun 2003 23:00:36 -0400 (EDT) Subject: How do you handle odd contacts? In-Reply-To: <8FFC76593085ED4A80D3601BC41EFCDF0C06F8@inex1.herffjones.hj-int> References: <8FFC76593085ED4A80D3601BC41EFCDF0C06F8@inex1.herffjones.hj-int> Message-ID: On Wed, 25 Jun 2003, Furnish, Trever G wrote: > Thanks, but I think either I'm doing a poor job of communicating or I'm > making bad assumptions... > > Maybe an example will help. I currently have: > > In contactgroup unixadmin, the following contacts: corp1, corp2 > In contactgroup winadmin, the following contacts: corpA, corpB > In hostgroup unix, the following hosts: unix1, unix2, unix3 > In hostgroup windows, the following hosts: win1, win2, win3 > In service def telnet, the following hostgroup: unix > In service def smb, the following hostgroup: windows add: In contactgroup region3admin, the following contact: r3admin for host win3, service smb: contactgroups = winadmin,region3admin Not because templates do not have additive inheritance, the contact_group members must be explicit in the service definition. -sg > > My newly interested remote site admin (region3admin) is responsible only for > unix3 and win3. I think what you are saying is I can create a new, regional > hostgroup containing hosts unix3 and win3, and also assign to it a new > contact group containing only newadmin. > > So I create contactgroup region3 with the following contact: region3admin > And I create hostgroup region3 with the following hosts: unix3,win3 > > Now how do I tell Nagios that region3admin should be notified when the smb > service goes down on win3 or the telnet service goes down on unix3, without > also alerting her to problems with win1, win2, unix1, and unix2? > > I can't apply a telnet service check to the region3 hostgroup because only > one of the boxes does telnet. Ditto for smb. Also, those services are > already being checked once - the resulting alerts just don't go to > region3admin, but rather to the unixadmin and winadmin contactgroups. > > The only solution I can imagine (and I'm not even sure it will work) is to > create logical hostgroups for each region (region1unix, region2unix, > region3unix, region1win, region2win, region3win) and assign services based > on those groups, I've effectively made my status grid page and status > overview page pretty ugly, since I end up with a hostgroup for almost every > host. > > I really hope I'm just missing something. Thanks for your time and help so > far. > > -- > Trever > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, June 25, 2003 12:38 PM > To: Furnish, Trever G > Subject: RE: [Nagios-users] How do you handle odd contacts? > > > service definitions can have multiple contact-groups... > > with templating in effect, there is no inheritance, so you must overwrite > the contact_groups entry with the contents of the template and add the > local admin's group. > > One way to manage this it to not put contact_group info in the templates > that are used for sites that have local admins. > > -sg > > On Wed, 25 Jun 2003, Furnish, Trever G wrote: > > > But then which one gets the services? I want her to get alerts regarding > > the service checks as well as the host checks, but I don't want to check > the > > services twice (once for her, once for corporate). > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Wednesday, June 25, 2003 11:49 AM > > To: Furnish, Trever G > > Cc: Nagios-Users List (E-mail) > > Subject: Re: [Nagios-users] How do you handle odd contacts? > > > > > > You could have the host be members of multiple hostgroups - one logical > > and one regional. > > > > -sg > > > > On Wed, 25 Jun 2003, Furnish, Trever G wrote: > > > > > I'm in a quandry. I have my hosts and services and contacts nicely laid > > out > > > in a functional way (unix servers, windows servers, routers, switches, > > dns, > > > etc) that fits nicely with the job responsibilities of the people who > > > normally respond to outages - but now I have one remote admin at one > site > > > who would like to receive alerts only when one of her systems is down. > > > > > > The problem is that in order to send her alerts concerning only her > > systems > > > (one unix box, one windows box), I think I would have to remove her > hosts > > > from their logical groups and create additional groups (host and > contact) > > > for just those systems. That seems like a really bad solution - all I > > want > > > is to allow a contact to get alerts regarding a specific device, without > > > screwing up the logical layout of the rest of the config file. > > > > > > Am I missing something? Is there a way to "apply a contact to a host or > > > service" instead of the other way around? How do you handle this at > your > > > site? > > > > > > It seems like the way Nagios handles the connections between contacts > and > > > hosts and services is only partially complete. Specificly, I can apply > a > > > contact group to a hostgroup or a service, but I can't apply a contact > (no > > > "group") to it. Nor can I apply a contact or contact group to a single > > > host. It's nice that grouping is available, but it's not so nice that > > > grouping is *required*. :-( > > > > > > I've been using the template files for several years now but I admit it > > > still gives me a headache when I think about it - if I'm missing > something > > > I'd love any advice. > > > > > > I think the situation I have is probably similar to that in lots of > > > companies with big branch offices. I have a core operations team at a > > > central head quarters office, but I also have branch offices that > usually > > > have one or more local admins. The local admins should only get alerts > > > related to their devices (in other words, based on geography); the > > > headquarters operations team should get alerts based on their area of > > > expertise (unix, windows, routers, etc). > > > > > > The only way I can see to satisfy my requirements is to put every host > > into > > > its own hostgroup, just because I can't apply a single contact to a > single > > > host or service. What am I missing? > > > > > > -- > > > Trever > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbruna at linuxvalpo.cl Thu Jun 26 05:29:54 2003 From: pbruna at linuxvalpo.cl (xpato) Date: Wed, 25 Jun 2003 23:29:54 -0400 Subject: MRTG Message-ID: <200306252329.54354.pbruna@linuxvalpo.cl> Hi, any link how i make this works? ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblunt at kiwiboy.com Thu Jun 26 05:53:45 2003 From: dblunt at kiwiboy.com (Dr. Dave Blunt) Date: Wed, 25 Jun 2003 20:53:45 -0700 Subject: Hosts with no services? In-Reply-To: References: Message-ID: <001301c33b96$8eb42650$6401a8c0@cornetti> Hi, I think I agree with Jim. I guess I don't see why you would care if a system was up if you didn't care about at least one service - unless that 'service' is keeping the room warm. Why not pull the power cord now? If you're not responsible for making sure the system is up or tracking some metric about specific services then why even configure it in Nagios? $.02 Dr. Dave Blunt Manager of Information Technology, Virage, Inc. 411 Borel Ave., Suite 100S San Mateo, CA 94402 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Wednesday, June 25, 2003 5:54 PM To: Furnish, Trever G Cc: Nagios-Users List (E-mail) Subject: RE: [Nagios-users] Hosts with no services? I suppose you could use check_dummy for your service check. Caveat: I've experienced hosts which are pingable but are otherwise worthless/dead. You've stated yourself that you need to know that the box is alive. So what constitutes 'alive'? If I can ping a box but a user cannot login to that box, is it still alive? If I can't ping the box but when I walk over to it, there are blinking lights and whirring fans, is it still alive? If the main HDD activity light is flickering but bashing away on the console doesn't get me any response, is it still alive? (These are purely rhetorical questions.) If you'd like to know within 5 minutes that a user cannot use service XYZ, then configure Nagios to monitor the health of that service and check on it frequently. If you don't mind that a user cannot login to a host between 5pm and 9am, then configure Nagios to not bother checking between those times (thus cutting down on 'unnecessary' CPU and network traffic). If you don't mind that your root filesystem is sitting at 99.99% capacity, then don't bother with check_disk. If you don't mind the load average hitting 20 frequently, then don't bother with check_load. If you don't mind that a HDD is starting to complain about bad blocks, then don't bother with check_log2. Yes, I'm playing devil's advocate here. If after everything I've said you still find keeping a finger on the pulse of the corporate systems to be uninteresting, then take another look at check_dummy, and replace the check_ping service with it. (Bonus: You'll cut down on network traffic and remote processing. ;) jc > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Wednesday, June 25, 2003 2:16 PM > To: Carroll, Jim P [Contractor] > Cc: Nagios-Users List (E-mail) > Subject: RE: [Nagios-users] Hosts with no services? > > > But why should you monitor something you don't care about, generating > needless traffic and cpu overhead? > > I too do a ping in the host check and a redundant ping > service check - but > it's still a waste. Sure there are other services on the > box, but I don't > need to monitor them -- all I need is to know the box is > alive, in which > case the extra ping is pointless and wastes resources. > > In a previous life I did this with a little shell script and > fping. You > lose the benefit of being able to acknowledge individual > hosts that way > though. Then again, if you allow your techs to log into the > system doing > fping, then adding a host a file listing those to ignore becomes easy. > > -t. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NAImaildataSUPMAILI at schmuecker.de Thu Jun 26 06:28:15 2003 From: NAImaildataSUPMAILI at schmuecker.de (GroupShield for Exchange (SUPMAILI)) Date: Thu, 26 Jun 2003 06:28:15 +0200 Subject: WARNUNG - GroupShield-Ticket Nr. OA10_1056601695_SUPMAILI_1 wurd e generiert Message-ID: <83614E13D9B90F45B581727FF17BA382F067@SUPMAILI> Ausgef?hrte Aktion: Die Anlage wurde von der Nachricht isoliert und durch eine Textdatei ersetzt, die den Empf?nger ?ber die ergriffene Ma?nahme informiert. An: nagios-users at lists.sourceforge.net Von: baueran at in.tum.de Gesendet: 1547524480,29571995 Betreff: [Nagios-users] Re: Application Einzelheiten zur Anlage: Anlagenname: your_details.zip Datei: your_details.zip Infiziert? Ja Repariert? Nein Blockiert? Nein Gel?scht? Nein Virusname: W32/Sobig.c at MM ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MAIL02 at dom.com Thu Jun 26 06:40:26 2003 From: MAIL02 at dom.com (MAIL02 at dom.com) Date: Thu, 26 Jun 2003 00:40:26 -0400 Subject: Report to Recipient(s) Message-ID: Incident Information:- Originator: nagios-users-admin at lists.sourceforge.net Recipients: Subject: [Nagios-users] Re: Application The file your_details.zip (details.pif/details.pif) you received was infected with the W32/Sobig.c at MM virus and was deleted. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at inode.at Thu Jun 26 06:42:17 2003 From: support at inode.at (Inode - Mailscan) Date: Thu, 26 Jun 2003 06:42:17 +0200 Subject: Virus "W32/Sobig-E" gefunden Message-ID: Sehr geehrte Damen und Herren, in dem Mail mit dem Betreff '[Nagios-users] Re: Application' (gesendet am Thu, 26 Jun 2003 6:07:58 +0200) von wurde der Virus 'W32/Sobig-E' gefunden. Aus diesem Grund wird diese Mail nicht zugestellt. Ihr Inode-Team ---------- Dear Customer, the mail with Subject '[Nagios-users] Re: Application' (sent on Thu, 26 Jun 2003 6:07:58 +0200) from contained a virus known as 'W32/Sobig-E'. Due to this reason the Mail will not be delivered. Your Inode-Team ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NAImaildataSUPMAILI at schmuecker.de Thu Jun 26 06:49:33 2003 From: NAImaildataSUPMAILI at schmuecker.de (GroupShield for Exchange (SUPMAILI)) Date: Thu, 26 Jun 2003 06:49:33 +0200 Subject: WARNUNG - GroupShield-Ticket Nr. OA11_1056602972_SUPMAILI_1 wurd e generiert Message-ID: <83614E13D9B90F45B581727FF17BA382F069@SUPMAILI> Ausgef?hrte Aktion: Die Anlage wurde von der Nachricht isoliert und durch eine Textdatei ersetzt, die den Empf?nger ?ber die ergriffene Ma?nahme informiert. An: Nagios-users at lists.sourceforge.net Von: pedro at becrev.com Gesendet: 1432622592,29571998 Betreff: [Nagios-users] Re: Movie Einzelheiten zur Anlage: Anlagenname: your_details.zip Datei: your_details.zip Infiziert? Ja Repariert? Nein Blockiert? Nein Gel?scht? Nein Virusname: W32/Sobig.c at MM ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MAIL02 at dom.com Thu Jun 26 06:51:46 2003 From: MAIL02 at dom.com (MAIL02 at dom.com) Date: Thu, 26 Jun 2003 00:51:46 -0400 Subject: Report to Recipient(s) Message-ID: Incident Information:- Originator: nagios-users-admin at lists.sourceforge.net Recipients: Subject: [Nagios-users] Re: Movie The file your_details.zip (details.pif/details.pif) you received was infected with the W32/Sobig.c at MM virus and was deleted. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at inode.at Thu Jun 26 07:02:54 2003 From: support at inode.at (Inode - Mailscan) Date: Thu, 26 Jun 2003 07:02:54 +0200 Subject: Virus "W32/Sobig-E" gefunden Message-ID: Sehr geehrte Damen und Herren, in dem Mail mit dem Betreff '[Nagios-users] Re: Movie' (gesendet am Thu, 26 Jun 2003 6:22:42 +0200) von wurde der Virus 'W32/Sobig-E' gefunden. Aus diesem Grund wird diese Mail nicht zugestellt. Ihr Inode-Team ---------- Dear Customer, the mail with Subject '[Nagios-users] Re: Movie' (sent on Thu, 26 Jun 2003 6:22:42 +0200) from contained a virus known as 'W32/Sobig-E'. Due to this reason the Mail will not be delivered. Your Inode-Team ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 08:41:19 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 26 Jun 2003 18:41:19 +1200 Subject: [Nagios-devel] Application daemons, start, stop, .. In-Reply-To: References: Message-ID: <200306260636.h5Q6awT08913@spectre.freeparking.co.nz> cheers! On Thu, 26 Jun 2003 05:29, Carroll, Jim P [Contractor] wrote: > Follow-up to nagios-users only. > > You might want to check out MONIT: > > http://www.tildeslash.com/monit/ > > jc > > > -----Original Message----- > > From: Nabil Benfreha [mailto:nabil.benfreha at trema.com] > > Sent: Wednesday, June 25, 2003 9:27 AM > > To: nagios-users at lists.sourceforge.net; > > nagios-devel at lists.sourceforge.net; > > nagiosplug-help at lists.sourceforge.net > > Subject: [Nagios-devel] Application daemons, start, stop, .. > > > > > > Hi > > > > I'm new to Nagios, I would like to know if this > > solution allows us to control (start, stop, suspend,...) > > application processes (daemons). > > Otherwise is it possible to develop > > a plugin to control my application process. > > > > Thanks, > > > > Nbenfreh. > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-devel mailing list > > Nagios-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.Doutreleau at int-evry.fr Thu Jun 26 09:02:17 2003 From: Eric.Doutreleau at int-evry.fr (Eric Doutreleau) Date: 26 Jun 2003 09:02:17 +0200 Subject: problem with nrpe on redhat systems In-Reply-To: <5.2.1.1.0.20030625203230.0681db90@mail.capband.net> References: <5.2.1.1.0.20030625203230.0681db90@mail.capband.net> Message-ID: <1056610937.2290.20.camel@rezo.int-evry.fr> Thanks to all people that have answered. Le jeu 26/06/2003 ? 02:36, Rob Nelson a ?crit : > >if i run manually the check_nrpe > >/usr/lib/nagios/plugins/check_nrpe -H crotale.int-evry.fr -c check_disk2 > >DISK OK [11553468 kB (30%) free on /dev/sdb1] > > Given this..... > > >define service{ > > use generic-service ; Name > >of service template to use > > > > > > host_name crotale.int-evry.fr > > service_description Espace sur /var/ftp > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups novell-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command > >check_nrpe!command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 > >-c 10 -p /dev/sdb1 > > } > > ...Your check_command is wrong > It should be "check_nrpe!crotale.int-evry.fr!check_disk2" > Well the exact was check_nrpe!check_disk2 -- Eric Doutreleau ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Thu Jun 26 09:52:08 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 26 Jun 2003 09:52:08 +0200 Subject: existing plugins Message-ID: <3EFAA628.6000103@loria.fr> hi, i try to find different plugin of services and i request you to tell me which one exist or not : - netatalk ( impression on apple with unix server) - sympa (Mailing List) - TFTP and Partimage - Squirellmail - samba - Networker (backup) - LDAP - UnifyVision et XDM Thanks in advance best regards -- Lionel Verscheure ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ramamoorthy_Ramadurai at petronas.com.my Thu Jun 26 10:43:11 2003 From: Ramamoorthy_Ramadurai at petronas.com.my (Ramamoorthy_Ramadurai at petronas.com.my) Date: Thu, 26 Jun 2003 16:43:11 +0800 Subject: Unable to get host & service details Message-ID: Hi, Our nagios is up and running and CGI + web authentications are configured properly. when clicking on following links i am getting following error message "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration " Service Detail Host Detail Status Overview Status Summary Status Grid Service Problems Host Problems but when i checked the status log it is getting updated. where i am doing wrong. Thanks & Best Regards, Ramamoorthy .R. Network Operations, ITF/GIRM,LEVEL 63, PETRONET:8-351-4099. PH : 03-2051 4099. E-mail: Ramamoorthy_Ramadurai at petronas.com.my. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Thu Jun 26 11:00:54 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 26 Jun 2003 11:00:54 +0200 Subject: check_oracle Message-ID: <3EFAB646.9030909@loria.fr> (re)Hi, I try to use "check_oracle" but i havealways the same error : "Cannot determine ORACLE_HOME for sid" .. Any idears. Best Regards. -- Lionel Verscheure ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at id.pl Thu Jun 26 12:40:35 2003 From: nagios at id.pl (Andrzej Wisniewski) Date: 26 Jun 2003 12:40:35 +0200 Subject: Unable to get host & service details In-Reply-To: References: Message-ID: <1056624035.9256.13.camel@andy> > Our nagios is up and running and CGI + web authentications are configured > properly. > > when clicking on following links i am getting following error message > "It appears as though you do not have permission to view information for > any of the hosts you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration " > Problem is propably in your permission to ../nagios/cgi directory. There must be some permission to user www-data (if your apache is running with this user ofcourse). -- AndY ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jun 26 14:16:05 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 26 Jun 2003 08:16:05 -0400 Subject: Hosts with no services? In-Reply-To: <001301c33b96$8eb42650$6401a8c0@cornetti> References: Message-ID: <5.2.1.1.0.20030626081344.01b465d0@mail.capband.net> >I think I agree with Jim. I guess I don't see why you would care if a >system was up if you didn't care about at least one service - unless >that 'service' is keeping the room warm. Why not pull the power cord >now? If you're not responsible for making sure the system is up or >tracking some metric about specific services then why even configure it >in Nagios? I monitor wireless access points. What I *really* want to know is if traffic is being passed by the WAP, and ideally I'd be monitoring a client behind it, but that's not possible. For me, a check_ping is sufficient to know that traffic is going up and down the line. By pinging all the devices in a chain, I can find out where the problem starts (even if everything behind a dead host is dead as well, it gives me a place to start). Honestly, our biggest problem is power surges that put switches or WAP's in an error state that doesn't pass traffic. I'd kill for really cheap and small UPS's that would last just 30 seconds :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Thu Jun 26 14:15:43 2003 From: js at irishbroadband.ie (John Senior) Date: Thu, 26 Jun 2003 13:15:43 +0100 Subject: Hosts with no services? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0F7447@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F0F7447@dubsrv01.irishbroadband.ie> Message-ID: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088DC3@dubsrv01.irishbroadband.ie> I disagree - I have many many devices on my network that I just need to know are alive with a ping - these devices just provide connectivity, things like switches, customer routers etc. A simple ping is all that's required, no more. I have plenty of hosts with more complex services (web, mail, dns etc.) that Nagios fits fine - but sometimes a ping is enough. I too am using fping to provide the kind of info that I would rather integrate into Nagios. Regards, John. -- John Senior > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr. Dave > Blunt > Sent: 26 June 2003 04:54 > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G' > Cc: 'Nagios-Users List (E-mail)' > Subject: RE: [Nagios-users] Hosts with no services? > > > Hi, > > I think I agree with Jim. I guess I don't see why you would care if a > system was up if you didn't care about at least one service - unless > that 'service' is keeping the room warm. Why not pull the power cord > now? If you're not responsible for making sure the system is up or > tracking some metric about specific services then why even > configure it > in Nagios? > > $.02 > > > Dr. Dave Blunt > Manager of Information Technology, Virage, Inc. > 411 Borel Ave., Suite 100S > San Mateo, CA 94402 > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Carroll, > Jim P [Contractor] > Sent: Wednesday, June 25, 2003 5:54 PM > To: Furnish, Trever G > Cc: Nagios-Users List (E-mail) > Subject: RE: [Nagios-users] Hosts with no services? > > > I suppose you could use check_dummy for your service check. Caveat: > I've experienced hosts which are pingable but are otherwise > worthless/dead. You've stated yourself that you need to know that the > box is alive. So what constitutes 'alive'? If I can ping a box but a > user cannot login to that box, is it still alive? If I can't ping the > box but when I walk over to it, there are blinking lights and whirring > fans, is it still alive? If the main HDD activity light is flickering > but bashing away on the console doesn't get me any response, > is it still > alive? (These are purely rhetorical questions.) > > If you'd like to know within 5 minutes that a user cannot use service > XYZ, then configure Nagios to monitor the health of that service and > check on it frequently. If you don't mind that a user cannot > login to a > host between 5pm and 9am, then configure Nagios to not bother checking > between those times (thus cutting down on 'unnecessary' CPU > and network > traffic). > > If you don't mind that your root filesystem is sitting at 99.99% > capacity, then don't bother with check_disk. If you don't > mind the load > average hitting 20 frequently, then don't bother with check_load. If > you don't mind that a HDD is starting to complain about bad > blocks, then > don't bother with check_log2. > > Yes, I'm playing devil's advocate here. If after everything I've said > you still find keeping a finger on the pulse of the corporate > systems to > be uninteresting, then take another look at check_dummy, and > replace the > check_ping service with it. (Bonus: You'll cut down on > network traffic > and remote processing. ;) > > jc > > > > -----Original Message----- > > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > > Sent: Wednesday, June 25, 2003 2:16 PM > > To: Carroll, Jim P [Contractor] > > Cc: Nagios-Users List (E-mail) > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > But why should you monitor something you don't care about, > generating > > needless traffic and cpu overhead? > > > > I too do a ping in the host check and a redundant ping > > service check - but > > it's still a waste. Sure there are other services on the > > box, but I don't > > need to monitor them -- all I need is to know the box is > > alive, in which > > case the extra ping is pointless and wastes resources. > > > > In a previous life I did this with a little shell script and > > fping. You > > lose the benefit of being able to acknowledge individual > > hosts that way > > though. Then again, if you allow your techs to log into the > > system doing > > fping, then adding a host a file listing those to ignore > becomes easy. > > > > -t. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 id.pl Thu Jun 26 14:27:34 2003 From: nagios at id.pl (Andrzej Wisniewski) Date: 26 Jun 2003 14:27:34 +0200 Subject: Unable to get host & service details In-Reply-To: <1056624035.9256.13.camel@andy> References: <1056624035.9256.13.camel@andy> Message-ID: <1056630453.9234.43.camel@andy> > Problem is propably in your permission to ../nagios/cgi directory. Sorry ... I mean ../nagios/sbin ofcourse. AndY ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 14:32:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 08:32:51 -0400 (EDT) Subject: Hosts with no services? In-Reply-To: <5.2.1.1.0.20030626081344.01b465d0@mail.capband.net> References: <5.2.1.1.0.20030626081344.01b465d0@mail.capband.net> Message-ID: On Thu, 26 Jun 2003, Rob Nelson wrote: > > >I think I agree with Jim. I guess I don't see why you would care if a > >system was up if you didn't care about at least one service - unless > >that 'service' is keeping the room warm. Why not pull the power cord > >now? If you're not responsible for making sure the system is up or > >tracking some metric about specific services then why even configure it > >in Nagios? > > I monitor wireless access points. What I *really* want to know is if > traffic is being passed by the WAP, and ideally I'd be monitoring a client > behind it, but that's not possible. For me, a check_ping is sufficient to > know that traffic is going up and down the line. By pinging all the devices > in a chain, I can find out where the problem starts (even if everything > behind a dead host is dead as well, it gives me a place to start). > Honestly, our biggest problem is power surges that put switches or WAP's in > an error state that doesn't pass traffic. I'd kill for really cheap and > small UPS's that would last just 30 seconds :) > I tend to use snmp to monitor the traffic and the root-bridge-id on the APs specially if they are on their on vlan... Have you looked at the APCC CyberFort ups/surge protector? -sg -- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jun 26 14:49:50 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 26 Jun 2003 08:49:50 -0400 Subject: Hosts with no services? In-Reply-To: References: <5.2.1.1.0.20030626081344.01b465d0@mail.capband.net> Message-ID: <5.2.1.1.0.20030626084713.01c05c80@mail.capband.net> >I tend to use snmp to monitor the traffic and the root-bridge-id on the >APs specially if they are on their on vlan... > >Have you looked at the APCC CyberFort ups/surge protector? Yeah, I'm going to have to move to check_snmp soon simply because icmp gets low priority. It doesn't happen much, but I'm tired of devices going "offline" when they're simply busy :) I haven't looked at those, and nexttag can't find them for me. Our problem is that our stuff is outdoor in small nema4 enclosures, plus everything uses bricks, and we'd have to buy ~30 UPS's for each site. Ouch. To bring this back to monitoring, we're using Orinoco AP-500/1000/2000's and SmartBridge AirPoint Pro's. Do you have any check_snmp code for either of these that I could hack on? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Thu Jun 26 15:47:06 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Thu, 26 Jun 2003 09:47:06 -0400 Subject: check_oracle Message-ID: <85256D51.004BB9BC.00@mailhost.planalytics.com> Lionel - this has been covered several times on the list. (check archives at sourceforge.net) the long answer short - you need to pass in the env var ORACLE_HOME / hard code it in the script / or use check_oracle fomr CVS (which offers some desireable features) - which can try to auto-detect your ORACLE_HOME you might find something like env -i 'ORACLE_HOME=/path/to/oracle/home' /path/to/check_oracle helpful -j Lionel Verscheure on 06/26/2003 05:00:54 AM To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] check_oracle (re)Hi, I try to use "check_oracle" but i havealways the same error : "Cannot determine ORACLE_HOME for sid" .. Any idears. Best Regards. -- Lionel Verscheure ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 15:57:19 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 26 Jun 2003 09:57:19 -0400 Subject: special order :) system shutdown... Message-ID: Hi all, Is there someone who have a system with Nagios that does the following? Look the temperature of something (lets say a Cisco Routeur) in the servers room, and when the temperature gets to 90F, shut down, in some order, the servers. Thanks Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuCP9868 at netscape.net Thu Jun 26 15:51:52 2003 From: manuCP9868 at netscape.net (manuCP9868 at netscape.net) Date: Thu, 26 Jun 2003 09:51:52 -0400 Subject: StatusMap not displaying Message-ID: <381FEBFA.57D97F5C.0F95BC77@netscape.net> Hello everyone, I'm using Debian. I have nagios 1.0. And the statusmap does not want to display correctly. Actually, only the description of the devices are displayed when the cursor is over the device. But none of the devices are actually displayed. I have installed the following debian packages : - libpng2 (version 1.0.12-3) and libpng2-dev (version 1.0.12-3) - libjpeg62 (version 6b-5) and libjpeg62-dev (version 6b-5) - zlib1g (version 1.1.4-1) and zlib1g-dev (1.1.4-1) - libgd2 (version 2.0.1-10) and libgd2-dev (2.0.1-10) and libgd-tools (same version) I think i have installed all libraries i need to make work statusmap. Then i compiled nagios (after "make devclean"). statusmap.cgi is been created correctly. Here is the result "ldd statusmap" : libgd.so.2 => /usr/lib/libgd.so.2 (0x40019000) libz.so.1 => /usr/lib/libz.so.1 (0x4004f000) libm.so.6 => /lib/libm.so.6 (0x4005f000) libpng.so.2 => /usr/lib/libpng.so.2 (0x40080000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400ab000) libc.so.6 => /lib/libc.so.6 (0x400ca000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401e7000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40226000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40234000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Looks like he can find everything he needs. Here is the error i get in my apache log: [Wed Jun 25 18:58:59 2003] [error] [client 10.0.0.2] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi I put the hostextinfo.cfg path into cgi.cfg. I followed the syntax on the NAGIOS documentation, something like this : define hostextinfo{ host_name linux1 icon_image openbsd.png icon_image_alt CHUCK vrml_image openbsd.png statusmap_image openbsd.png } I read in some forum that i had to put the hostextinfo.cfg file path into the nagios.cfg file also. If i do that, then i don't have the error above but i have the following message when i want to access the statusmap : "You have not supplied any host drawing coordinates, so you cannot use this layout method" This happens with any method specified in the web interface. Then, if i configure coordinates in the cfg file, the same message occurs. I really have no idea anymore how i could make the statusmap displaying ! I would greatly appreciate any help... Thank you, Emmanuel __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Jun 26 16:17:02 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Thu, 26 Jun 2003 07:17:02 -0700 Subject: Looking for a way to connect to host via Status map In-Reply-To: References: Message-ID: Well the telnet works great. As for ssh I created a new file type and associated my ssh program with it, problem is that the %1 variable being passed is the full URL of SSH://myhost not just "myhost" so the connection fails trying to ssh to ssh://myhost. Weird that the same variable when passed to hyperterm has no problem. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Tedman Eng" Sent by: nagios-users-admin at lists.sourceforge.net 06/24/2003 12:51 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Re: Looking for a way to connect to host via Status map xhostinfo.cfg Use the extended host info combined with a terminal program that catches URL's, or a browser with helper applications. When you click once on a device in the Status Map, it zooms in on that device. Click again on the device once it's targeted and it takes you to the extended host info screen. This is where the links to connect could be located. You can put these URLs in 2 places: notes_url - this link is on the folder icon and says "There Are Additional Notes for This Host..." icon_image_alt - This is the 'alt text' for the icon in the detail screen, but will show up in italics under the device name/picture. You can sneak HTML code into the text. define hostextinfo{ host_name somedevice notes_url telnet://somedevice icon_image terminal.png icon_image_alt < a href= telnet://somedevice >Telnet to: somedevice statusmap_image terminal.gd2 } wrote in message news:OF4F4EEE0E.22E1BB5B-ON88256D4F.0000FA17-88256D4F.0000FF7E at CI.BEND.OR.US ... Has anyone figured out how to click on a host in your status map and connect via ssh, telnet, walkie-talkie, etc... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 TGFurnish at herff-jones.com Thu Jun 26 16:19:54 2003 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Thu, 26 Jun 2003 09:19:54 -0500 Subject: How do you handle odd contacts? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0C06FB@inex1.herffjones.hj-int> Well, crap! I feel like an idiot. Thanks, sg and Marc. The crux of my problem was that even though both the documentation and my current services.cfg file clearly say "host", not "hostgroup", so the entire time that I've been considering this it's been under the mistaken belief that I was applying services to hostGROUPS instead of to hosts. Thank you for your help and patience. :-) Sincerely, Trever -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, June 25, 2003 10:01 PM To: Furnish, Trever G Cc: Nagios-Users List (E-mail) Subject: RE: [Nagios-users] How do you handle odd contacts? On Wed, 25 Jun 2003, Furnish, Trever G wrote: > Thanks, but I think either I'm doing a poor job of communicating or I'm > making bad assumptions... > > Maybe an example will help. I currently have: > > In contactgroup unixadmin, the following contacts: corp1, corp2 > In contactgroup winadmin, the following contacts: corpA, corpB > In hostgroup unix, the following hosts: unix1, unix2, unix3 > In hostgroup windows, the following hosts: win1, win2, win3 > In service def telnet, the following hostgroup: unix > In service def smb, the following hostgroup: windows add: In contactgroup region3admin, the following contact: r3admin for host win3, service smb: contactgroups = winadmin,region3admin Not because templates do not have additive inheritance, the contact_group members must be explicit in the service definition. -sg > > My newly interested remote site admin (region3admin) is responsible only for > unix3 and win3. I think what you are saying is I can create a new, regional > hostgroup containing hosts unix3 and win3, and also assign to it a new > contact group containing only newadmin. > > So I create contactgroup region3 with the following contact: region3admin > And I create hostgroup region3 with the following hosts: unix3,win3 > > Now how do I tell Nagios that region3admin should be notified when the smb > service goes down on win3 or the telnet service goes down on unix3, without > also alerting her to problems with win1, win2, unix1, and unix2? > > I can't apply a telnet service check to the region3 hostgroup because only > one of the boxes does telnet. Ditto for smb. Also, those services are > already being checked once - the resulting alerts just don't go to > region3admin, but rather to the unixadmin and winadmin contactgroups. > > The only solution I can imagine (and I'm not even sure it will work) is to > create logical hostgroups for each region (region1unix, region2unix, > region3unix, region1win, region2win, region3win) and assign services based > on those groups, I've effectively made my status grid page and status > overview page pretty ugly, since I end up with a hostgroup for almost every > host. > > I really hope I'm just missing something. Thanks for your time and help so > far. > > -- > Trever > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, June 25, 2003 12:38 PM > To: Furnish, Trever G > Subject: RE: [Nagios-users] How do you handle odd contacts? > > > service definitions can have multiple contact-groups... > > with templating in effect, there is no inheritance, so you must overwrite > the contact_groups entry with the contents of the template and add the > local admin's group. > > One way to manage this it to not put contact_group info in the templates > that are used for sites that have local admins. > > -sg > > On Wed, 25 Jun 2003, Furnish, Trever G wrote: > > > But then which one gets the services? I want her to get alerts regarding > > the service checks as well as the host checks, but I don't want to check > the > > services twice (once for her, once for corporate). > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Wednesday, June 25, 2003 11:49 AM > > To: Furnish, Trever G > > Cc: Nagios-Users List (E-mail) > > Subject: Re: [Nagios-users] How do you handle odd contacts? > > > > > > You could have the host be members of multiple hostgroups - one logical > > and one regional. > > > > -sg > > > > On Wed, 25 Jun 2003, Furnish, Trever G wrote: > > > > > I'm in a quandry. I have my hosts and services and contacts nicely laid > > out > > > in a functional way (unix servers, windows servers, routers, switches, > > dns, > > > etc) that fits nicely with the job responsibilities of the people who > > > normally respond to outages - but now I have one remote admin at one > site > > > who would like to receive alerts only when one of her systems is down. > > > > > > The problem is that in order to send her alerts concerning only her > > systems > > > (one unix box, one windows box), I think I would have to remove her > hosts > > > from their logical groups and create additional groups (host and > contact) > > > for just those systems. That seems like a really bad solution - all I > > want > > > is to allow a contact to get alerts regarding a specific device, without > > > screwing up the logical layout of the rest of the config file. > > > > > > Am I missing something? Is there a way to "apply a contact to a host or > > > service" instead of the other way around? How do you handle this at > your > > > site? > > > > > > It seems like the way Nagios handles the connections between contacts > and > > > hosts and services is only partially complete. Specificly, I can apply > a > > > contact group to a hostgroup or a service, but I can't apply a contact > (no > > > "group") to it. Nor can I apply a contact or contact group to a single > > > host. It's nice that grouping is available, but it's not so nice that > > > grouping is *required*. :-( > > > > > > I've been using the template files for several years now but I admit it > > > still gives me a headache when I think about it - if I'm missing > something > > > I'd love any advice. > > > > > > I think the situation I have is probably similar to that in lots of > > > companies with big branch offices. I have a core operations team at a > > > central head quarters office, but I also have branch offices that > usually > > > have one or more local admins. The local admins should only get alerts > > > related to their devices (in other words, based on geography); the > > > headquarters operations team should get alerts based on their area of > > > expertise (unix, windows, routers, etc). > > > > > > The only way I can see to satisfy my requirements is to put every host > > into > > > its own hostgroup, just because I can't apply a single contact to a > single > > > host or service. What am I missing? > > > > > > -- > > > Trever > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 17:36:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 11:36:32 -0400 (EDT) Subject: Hosts with no services? In-Reply-To: <5.2.1.1.0.20030626084713.01c05c80@mail.capband.net> References: <5.2.1.1.0.20030626084713.01c05c80@mail.capband.net> Message-ID: On Thu, 26 Jun 2003, Rob Nelson wrote: > > >I tend to use snmp to monitor the traffic and the root-bridge-id on the > >APs specially if they are on their on vlan... > > > >Have you looked at the APCC CyberFort ups/surge protector? Ignore that - it's 230v but the form factor is nice. The APC BackUPS ES series are the smallest I've seen. > > Yeah, I'm going to have to move to check_snmp soon simply because icmp gets > low priority. It doesn't happen much, but I'm tired of devices going > "offline" when they're simply busy :) > > I haven't looked at those, and nexttag can't find them for me. Our problem > is that our stuff is outdoor in small nema4 enclosures, plus everything > uses bricks, and we'd have to buy ~30 UPS's for each site. Ouch. > > To bring this back to monitoring, we're using Orinoco AP-500/1000/2000's > and SmartBridge AirPoint Pro's. Do you have any check_snmp code for either > of these that I could hack on? I used check_ifoperstatus (one service check per radio interface) - all on Orinoco AP500/1000/2000. I'll have to dig out the bridge-root-id check code... -sg -- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at ht-tech.net Thu Jun 26 17:44:05 2003 From: allan at ht-tech.net (allan) Date: 26 Jun 2003 15:44:05 -0000 Subject: Nagios and Redhat 9 + Mysql Message-ID: <20030626154405.10866.qmail@pod-163.dolphin-server.co.uk> Has anyone been able to compile under Redhat 9 with MySQL Support. I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 and worked with several people to try resolve - though they all had previous versions of RedHat installed. Any input would be appreciated. Allan ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mooney at pnl.gov Thu Jun 26 17:46:57 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Thu, 26 Jun 2003 08:46:57 -0700 Subject: Hosts with no services? Message-ID: So create a passive "fping" service for those hosts and wrap a script around fping to pipe the output into nagios. Nagios will then only spawn off its own ping check when your "service" ping fails. Not perfect, but until passive host checks in 2.x it works pretty good... -----Original Message----- From: John Senior [mailto:js at irishbroadband.ie] Sent: Thursday, June 26, 2003 5:16 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts with no services? I disagree - I have many many devices on my network that I just need to know are alive with a ping - these devices just provide connectivity, things like switches, customer routers etc. A simple ping is all that's required, no more. I have plenty of hosts with more complex services (web, mail, dns etc.) that Nagios fits fine - but sometimes a ping is enough. I too am using fping to provide the kind of info that I would rather integrate into Nagios. Regards, John. -- John Senior > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [ mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr. Dave > Blunt > Sent: 26 June 2003 04:54 > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G' > Cc: 'Nagios-Users List (E-mail)' > Subject: RE: [Nagios-users] Hosts with no services? > > > Hi, > > I think I agree with Jim. I guess I don't see why you would care if a > system was up if you didn't care about at least one service - unless > that 'service' is keeping the room warm. Why not pull the power cord > now? If you're not responsible for making sure the system is up or > tracking some metric about specific services then why even > configure it > in Nagios? > > $.02 > > > Dr. Dave Blunt > Manager of Information Technology, Virage, Inc. > 411 Borel Ave., Suite 100S > San Mateo, CA 94402 > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [ mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Carroll, > Jim P [Contractor] > Sent: Wednesday, June 25, 2003 5:54 PM > To: Furnish, Trever G > Cc: Nagios-Users List (E-mail) > Subject: RE: [Nagios-users] Hosts with no services? > > > I suppose you could use check_dummy for your service check. Caveat: > I've experienced hosts which are pingable but are otherwise > worthless/dead. You've stated yourself that you need to know that the > box is alive. So what constitutes 'alive'? If I can ping a box but a > user cannot login to that box, is it still alive? If I can't ping the > box but when I walk over to it, there are blinking lights and whirring > fans, is it still alive? If the main HDD activity light is flickering > but bashing away on the console doesn't get me any response, > is it still > alive? (These are purely rhetorical questions.) > > If you'd like to know within 5 minutes that a user cannot use service > XYZ, then configure Nagios to monitor the health of that service and > check on it frequently. If you don't mind that a user cannot > login to a > host between 5pm and 9am, then configure Nagios to not bother checking > between those times (thus cutting down on 'unnecessary' CPU > and network > traffic). > > If you don't mind that your root filesystem is sitting at 99.99% > capacity, then don't bother with check_disk. If you don't > mind the load > average hitting 20 frequently, then don't bother with check_load. If > you don't mind that a HDD is starting to complain about bad > blocks, then > don't bother with check_log2. > > Yes, I'm playing devil's advocate here. If after everything I've said > you still find keeping a finger on the pulse of the corporate > systems to > be uninteresting, then take another look at check_dummy, and > replace the > check_ping service with it. (Bonus: You'll cut down on > network traffic > and remote processing. ;) > > jc > > > > -----Original Message----- > > From: Furnish, Trever G [ mailto:TGFurnish at herff-jones.com] > > Sent: Wednesday, June 25, 2003 2:16 PM > > To: Carroll, Jim P [Contractor] > > Cc: Nagios-Users List (E-mail) > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > But why should you monitor something you don't care about, > generating > > needless traffic and cpu overhead? > > > > I too do a ping in the host check and a redundant ping > > service check - but > > it's still a waste. Sure there are other services on the > > box, but I don't > > need to monitor them -- all I need is to know the box is > > alive, in which > > case the extra ping is pointless and wastes resources. > > > > In a previous life I did this with a little shell script and > > fping. You > > lose the benefit of being able to acknowledge individual > > hosts that way > > though. Then again, if you allow your techs to log into the > > system doing > > fping, then adding a host a file listing those to ignore > becomes easy. > > > > -t. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sghosh at sghosh.org Thu Jun 26 17:49:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 11:49:26 -0400 (EDT) Subject: special order :) system shutdown... In-Reply-To: References: Message-ID: On Thu, 26 Jun 2003, Serveur-Faucon Surveillance wrote: > Hi all, > > Is there someone who have a system with Nagios that does the following? > > Look the temperature of something (lets say a Cisco Routeur) in the > servers room, and when the temperature gets to 90F, shut down, in some > order, the servers. > no but a simple event handler script to "ssh host shutdown" should work. ;) unless of course if you are offering tickets to the JazzFest... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ira at mse.ufl.edu Thu Jun 26 16:55:57 2003 From: ira at mse.ufl.edu (Ira Harkness) Date: Thu, 26 Jun 2003 10:55:57 -0400 Subject: check_dhcp could not bind socket error Message-ID: I have installed the check_dhcp plugin as well as adding it to the checkcommands.cfg file. Now when I try to view the status of the DHCP service I get this error. I made sure that the check_dhcp file was owned by nagios user and nagios group so I'm not sure what the problem is. Error: Could not bind socket to interface eth0. Check your privileges... ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 17:56:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 11:56:30 -0400 (EDT) Subject: [netsaint] check_nagios weirdness... In-Reply-To: References: Message-ID: On Tue, 24 Jun 2003, mjn wrote: > > We recently had some issues using a University provided apache > authentication module which we had been using for Nagios...some changes in > mm and how are setup was configured. As a result, our Nagios' web > interface was down for a couple of weeks but once again working and now I > am seeing a new problem. > > Nagios web constantly shows that the process is not running...we had all > of the CGI's working in the past and `ps-aux|grep nagios' yields: > > [09:02:36][root at monolith:/nagios] ps -aux |grep nagios > nagios 8622 0.0 0.8 2128 1136 ? S 09:00 0:00 [nagios] Ah! the kernel patch that changes ps output :) note the ps output here "[nagios]" indicates it is swapped to disk and the string does not match the argument to check_nagios. > > Watching 'Service Detail' i see services' 'Last Check' column updating as > expected and i do receive notices of status changes for services/hosts. > > I have checked cgi.conf and here is my active nagios_check_command: > nagios_check_command=/nagios/libexec/check_nagios /nagios/var/status.log \ > 5 '/nagios/bin/nagios'> > In running this from the command line, i get: > Could not locate a running Nagios process! of course since the string did not match. - modify the last arg to just "nagios" > > > Also: is there any way to change notifications(enable/disable) for a > host/service if the web interface is not working? local scripts that write to the external command file. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jun 26 18:24:03 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 26 Jun 2003 11:24:03 -0500 Subject: Hosts with no services? Message-ID: Okay, I'll buy that for a dollar. If the *only* thing a given piece of hardware can offer is ICMP, then that's what you've got to work with. I was more perplexed by Trever's comment regarding the impact to network bandwidth and CPUs. 'Needless' is completely subjective. If I log in to some box remotely and type 'ls', do something else, and type 'ls' again, that's arguably needless, as I could simply scroll back (in most cases). I still remember one analogy from my university days which would seem to have merit here: If you use a conventional tire pressure gauge to measure tire pressure, the act of taking the measurement will itself cause some air to be released from the tire. Do it enough times and you'll have a flat tire. ;) jc -----Original Message----- From: John Senior [mailto:js at irishbroadband.ie] Sent: Thursday, June 26, 2003 7:16 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts with no services? I disagree - I have many many devices on my network that I just need to know are alive with a ping - these devices just provide connectivity, things like switches, customer routers etc. A simple ping is all that's required, no more. I have plenty of hosts with more complex services (web, mail, dns etc.) that Nagios fits fine - but sometimes a ping is enough. I too am using fping to provide the kind of info that I would rather integrate into Nagios. Regards, John. -- John Senior ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Thu Jun 26 18:49:34 2003 From: solomolo90 at hotmail.com (solo molo) Date: Thu, 26 Jun 2003 16:49:34 +0000 Subject: Optimal Config for hundreds of passive checks && Hundreds of Nagios procs Message-ID: Thanks to everyone who chimed in on this thread. The ramdisk seems to have helped, though I had to change my reaper frequency back to 5. When I had it at 1, even with the ramdisk, the latency and process count went sky high. >From: "Jason Lancaster" >To: "solo molo" , > >Subject: Re: [Nagios-users] Optimal Config for hundreds of passive checks >&& Hundreds of Nagios procs >Date: Wed, 25 Jun 2003 09:26:59 -0400 > >Both the ramdisk and the ocsp sweeper are vital to an efficient nagios >setup. My suggestion would be to implement a ramdisk. If that does not fix >the queue, disable ocsp. You'll then know whether or not you need to >implement a ocsp sweeper program. I've been meaning to make the one I >helped >write public so I'll do so sometime today. > >Yes, I have a little script that runs on startup to mount the ramdisk. I >have it in the rc.local file; there may be a better way but mine works. >#!/bin/sh ># format and mount ramdisk >/sbin/mke2fs /dev/ramdisk >/bin/mount /dev/ramdisk /usr/local/nagios/ramdisk >/bin/chown nagios.nagios /usr/local/nagios/ramdisk > >#END>> >-- >Jason Lancaster, Intranet Administrator >Affinity Internet (http://www.affinity.com) > >----- Original Message ----- >From: "solo molo" >To: ; >Sent: Tuesday, June 24, 2003 19:58 >Subject: Re: [Nagios-users] Optimal Config for hundreds of passive checks >&& >Hundreds of Nagios procs > > > > Well I tried your config (except for the ramdisk) and Nagios is still > > getting behind on processing the results. I can't understand why Nagios >is > > getting behind since my load averages are so low (less than 2 most of >the > > time). > > > > Anyway I'm going to try the ramdisk, I'm curious as to how you set yours >up. > > Do you have a script that recreates and formats the disk at startup? > > > > > > >From: "Jason Lancaster" > > >To: "solo molo" , > > > > > >Subject: Re: [Nagios-users] Optimal Config for hundreds of passive >checks > > >&& Hundreds of Nagios procs > > >Date: Thu, 19 Jun 2003 15:16:39 -0400 > > > > > >With regards to this thread and the thread titled "Hundreds of Nagios > > >procs," I thought I'd share the configuration file I use in my > > >implementation. This (complete) config is similar on all systems, with > > >various tweaks for each one. The monitoring servers are all at least >1ghz > > >machines with around 3000 services. Every server has a ramdisk and all > > >monitoring servers run a custom "ocsp sweeper" application to send nsca > > >stats in bulk to the central server. This lightened the load on >monitoring > > >servers quite a bit as each ocsp command takes execution time. > > > > > >It seems like there are a lot of threads on this mailing the list right >now > > >asking about why implementations of Nagios have a huge queue of results >to > > >process. You can fix it... it just needs to be tweaked. > > > > > >Let me know if you have any questions. > > > > > >-Jason > > > > > >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/ramdisk/status.log > > >nagios_user=nagios > > >nagios_group=nagios > > >check_external_commands=1 > > >command_check_interval=-1 > > >command_file=/usr/local/nagios/ramdisk/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/ramdisk/nagios.tmp > > >log_rotation_method=d > > >log_archive_path=/usr/local/nagios/var/archives > > >use_syslog=0 > > >log_notifications=1 > > >log_service_retries=1 > > >log_host_retries=1 > > >log_event_handlers=1 > > >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=600 > > >service_reaper_frequency=1 > > >sleep_time=1 > > >service_check_timeout=60 > > >host_check_timeout=30 > > >event_handler_timeout=30 > > >notification_timeout=30 > > >ocsp_timeout=30 > > >perfdata_timeout=5 > > >retain_state_information=1 > > >state_retention_file=/usr/local/nagios/var/status.sav > > >retention_update_interval=0 > > >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=1200 > > >aggregate_status_updates=1 > > >status_update_interval=5 > > >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 > > > > > > > > >----- Original Message ----- > > >From: "solo molo" > > >To: > > >Sent: Wednesday, June 18, 2003 18:41 > > >Subject: [Nagios-users] Optimal Config for hundreds of passive checks > > > > > > > > > > I have nagios running on redhat 8.0 on a compaq DL360 with dual >800mhz > > >procs > > > > and 1GB ram. Nagios receives 400 passive check results every 10 >minutes > > >and > > > > another 100+ active checks are perfomed every 5 minutes. My loads >are > > >never > > > > very high, but nagios gets way behind on processing the passive >checks. > > >The > > > > problem is especially bad when some of the passive checks return > > >critical > > > > results. I've seen the delay as bad as 20 hours. That is when I >check > > >the > > > > log, nagios is receiving current passive results, but displaying >results > > > > from 20 hours ago in the UI. I'd appreciate any suggestion as to >how >I > > >can > > > > configure nagios to process the passive results more quickly. I'm >using > > >the > > > > following config: > > > > > > > > inter_check_delay_method=d #I can't use smart because I have a few > > >checks > > > > that only run once every 24 hours and throw off the average. > > > > > > > > service_interleave_factor=s > > > > max_concurrent_checks=0 > > > > service_reaper_frequency=5 > > > > sleep_time=1 > > > > > > > > _________________________________________________________________ > > > > Protect your PC - get McAfee.com VirusScan Online > > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: INetU > > > > Attention Web Developers & Consultants: Become An INetU Hosting >Partner. > > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >Commission! > > > > INetU Dedicated Managed Hosting >http://www.inetu.net/partner/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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: INetU > > >Attention Web Developers & Consultants: Become An INetU Hosting >Partner. > > >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >Commission! > > >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >::: Please include Nagios version, plugin version (-v) and OS when > > >reporting any issue. > > >::: Messages without supporting info will risk being sent to /dev/null > > > > _________________________________________________________________ > > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > > http://join.msn.com/?page=features/virus > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ehults at paydata.com Thu Jun 26 18:57:44 2003 From: ehults at paydata.com (Bill Hults) Date: Thu, 26 Jun 2003 12:57:44 -0400 Subject: Nagios and Redhat 9 + Mysql In-Reply-To: <20030626154405.10866.qmail@pod-163.dolphin-server.co.uk> References: <20030626154405.10866.qmail@pod-163.dolphin-server.co.uk> Message-ID: I have done so & it works well. Be sure you apply all the latest patches to RH9 Bill -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan Sent: Thursday, June 26, 2003 11:44 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios and Redhat 9 + Mysql Has anyone been able to compile under Redhat 9 with MySQL Support. I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 and worked with several people to try resolve - though they all had previous versions of RedHat installed. Any input would be appreciated. Allan ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Jun 26 19:36:41 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Thu, 26 Jun 2003 10:36:41 -0700 Subject: Looking for a way to connect to host via Status map In-Reply-To: References: Message-ID: To SSH from a URL......If anyone cares(on a windows desktop)..... 1. Install PERL 2.create new registry key (basically just look at HK_CLASSES_ROOT\Telnet): [HKEY_CLASSES_ROOT\ssh] @="URL:SSH Protocol" "EditFlags"=dword:00000002 "URL Protocol"="" "BrowserFlags"=dword:00000008 [HKEY_CLASSES_ROOT\ssh\DefaultIcon] @="%SystemRoot%\\system32\\url.dll,0" [HKEY_CLASSES_ROOT\ssh\shell] @="" [HKEY_CLASSES_ROOT\ssh\shell\open] [HKEY_CLASSES_ROOT\ssh\shell\open\command] @="C:\\Perl\\bin\\perl.exe c:\\ssh.pl %1" 3. copy ssh.pl to c:\ (replace putty.exe with whatever command line ssh prog you use) #!/usr/bin/perl if (scalar @ARGV) { $_ = shift @ARGV; s/ssh:\/\///; s/\///; system "putty.exe -ssh $_"; } 4. Enjoy ssh from url Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 sobrien at ci.bend.or.us Sent by: nagios-users-admin at lists.sourceforge.net 06/26/2003 07:17 AM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Re: Looking for a way to connect to host via Status map Well the telnet works great. As for ssh I created a new file type and associated my ssh program with it, problem is that the %1 variable being passed is the full URL of SSH://myhost not just "myhost" so the connection fails trying to ssh to ssh://myhost. Weird that the same variable when passed to hyperterm has no problem. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Tedman Eng" Sent by: nagios-users-admin at lists.sourceforge.net 06/24/2003 12:51 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Re: Looking for a way to connect to host via Status map xhostinfo.cfg Use the extended host info combined with a terminal program that catches URL's, or a browser with helper applications. When you click once on a device in the Status Map, it zooms in on that device. Click again on the device once it's targeted and it takes you to the extended host info screen. This is where the links to connect could be located. You can put these URLs in 2 places: notes_url - this link is on the folder icon and says "There Are Additional Notes for This Host..." icon_image_alt - This is the 'alt text' for the icon in the detail screen, but will show up in italics under the device name/picture. You can sneak HTML code into the text. define hostextinfo{ host_name somedevice notes_url telnet://somedevice icon_image terminal.png icon_image_alt < a href= telnet://somedevice >Telnet to: somedevice statusmap_image terminal.gd2 } wrote in message news:OF4F4EEE0E.22E1BB5B-ON88256D4F.0000FA17-88256D4F.0000FF7E at CI.BEND.OR.US ... Has anyone figured out how to click on a host in your status map and connect via ssh, telnet, walkie-talkie, etc... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ssh.reg Type: application/octet-stream Size: 824 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ssh.pl Type: application/octet-stream Size: 114 bytes Desc: not available URL: From sghosh at sghosh.org Thu Jun 26 20:24:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 14:24:10 -0400 (EDT) Subject: check_dhcp could not bind socket error In-Reply-To: References: Message-ID: On Thu, 26 Jun 2003, Ira Harkness wrote: > I have installed the check_dhcp plugin as well as adding it to the > checkcommands.cfg file. > > Now when I try to view the status of the DHCP service I get this error. I > made sure that the check_dhcp file was owned by nagios user and nagios group > so I'm not sure what the problem is. > > Error: Could not bind socket to interface eth0. Check your privileges... > dhcp uses priviledged ports under port 1024 so the plugin must be installed with root ownership/suid -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dubniumdk2002 at yahoo.com Thu Jun 26 20:28:52 2003 From: dubniumdk2002 at yahoo.com (Dave Krueger) Date: Thu, 26 Jun 2003 11:28:52 -0700 (PDT) Subject: Parsing MIB files Message-ID: <20030626182852.35571.qmail@web60006.mail.yahoo.com> Just one questions regarding MIB files: 1. Does the program load, and parse MIB description files from hardware vendors? For example does it handle traps by displaying them in a legible form? Thanks for your time and help!!! regards, -dk --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM). -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Thu Jun 26 20:29:46 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 26 Jun 2003 14:29:46 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20special=20ord?= =?ISO-8859-1?Q?er=20:)=20system=20shutdown...?= Message-ID: Yeah, but that would only work for Linux servers. I could ask the plugins developpers to add a shutdown command to the clients and plug-ins :) As for the JazzFestival, sorry I'll only go see the Spanish Harlem Orcestra witch is free :) --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada >>> Subhendu Ghosh 26/06/03 11h49 >>> On Thu, 26 Jun 2003, Serveur-Faucon Surveillance wrote: > Hi all, > > Is there someone who have a system with Nagios that does the following? > > Look the temperature of something (lets say a Cisco Routeur) in the > servers room, and when the temperature gets to 90F, shut down, in some > order, the servers. > no but a simple event handler script to "ssh host shutdown" should work. ;) unless of course if you are offering tickets to the JazzFest... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geert at kemuri.org Thu Jun 26 21:12:37 2003 From: geert at kemuri.org (Geert Vanderkelen) Date: Thu, 26 Jun 2003 21:12:37 +0200 Subject: Service not going after deletion.. Message-ID: <20030626211237.A24629@kemuri.org> Hi, I have a service deleted from the configuration (service.cfg), restarted Nagios a couple of times.. But that service is still being checked. I just upgraded from 1.0 to 1.1, so prolly the problem is there. Before deleting the service from the configuration, I have tried also to disable the checks on that service (HTTP btw). But still it was being checked. I have added a second checker, check_ping, but no luck. Btw, this second checker didn't show up as 'PENDING' at first.. Anyone so simelar behaviour before? thanks, Geert -- http://kemuri.org ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 21:34:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 15:34:52 -0400 (EDT) Subject: Service not going after deletion.. In-Reply-To: <20030626211237.A24629@kemuri.org> References: <20030626211237.A24629@kemuri.org> Message-ID: On Thu, 26 Jun 2003, Geert Vanderkelen wrote: > Hi, > > I have a service deleted from the configuration (service.cfg), restarted Nagios > a couple of times.. But that service is still being checked. > I just upgraded from 1.0 to 1.1, so prolly the problem is there. > > Before deleting the service from the configuration, I have tried also to > disable the checks on that service (HTTP btw). But still it was being checked. > I have added a second checker, check_ping, but no luck. Btw, this second > checker didn't show up as 'PENDING' at first.. > Do you have state retention enabled ? -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 21:44:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 15:44:32 -0400 (EDT) Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20special=20ord?= =?ISO-8859-1?Q?er=20:)=20system=20shutdown...?= In-Reply-To: References: Message-ID: On Thu, 26 Jun 2003, Serveur-Faucon Surveillance wrote: > Yeah, but that would only work for Linux servers. Actually windows has a cmdline shutdown (had to use it a few times today :) and it can shutdown remote windows systems if you have admin access shutdown \\server /T:30 "remote shutdown" you could install ssh on one of the windows boxes ;) > > I could ask the plugins developpers to add a shutdown command to the > clients and plug-ins :) The standard plugins usually do not have any admin access and the network based plugins cannot get local system access. So shutdown options for the plugins would be difficult. We could write a script that can be launched by an event-handler that could call the script with appropriate args, but that is just a couple of lines more than the ssh call. > > > > Look the temperature of something (lets say a Cisco Routeur) in the > > servers room, and when the temperature gets to 90F, shut down, in some > > order, the servers. > > > > no but a simple event handler script to "ssh host shutdown" should work. > Enjoy the music. I hope to make up there next year for the 25th anniversary. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 21:49:57 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 15:49:57 -0400 (EDT) Subject: Parsing MIB files In-Reply-To: <20030626182852.35571.qmail@web60006.mail.yahoo.com> References: <20030626182852.35571.qmail@web60006.mail.yahoo.com> Message-ID: On Thu, 26 Jun 2003, Dave Krueger wrote: > Just one questions regarding MIB files: > 1. Does the program load, and parse MIB description files from hardware > vendors? For example does it handle traps by displaying them in a > legible form? > Nagios does not deal with MIBs. Some of the plugins that do active checks can and do parse the available mibs files. For traps though you are better off using SNMP Trap Translator (snmptt.sourceforge.net) and have that "exec_enable" a passive check to nagios. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jun 26 23:18:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Jun 2003 17:18:38 -0400 (EDT) Subject: NRPE problems... In-Reply-To: References: Message-ID: On Wed, 25 Jun 2003, mjn wrote: > Any ideas as to why I might be getting this error with my newly installed > NRPE: > > [root at genome init.d]# ./nrpe status > nrpe dead but subsys locked > > I cannot seem to get the daemon to load properly even though starting it > gives an "OK". > > I checked /var/log/message and it says this about the startup: > > Jun 25 11:29:17 genome nrpe[27253]: Network server bind failure (98: > Address already in use) > Jun 25 11:29:17 genome nrpe: nrpe startup succeeded > > Why is it trying to bind to port 98 instead of 5666? > > Help would be appretiated. Thanks. > stop nrpe Remove the nrpe lock file - probably /var/lock/subsys/nrpe run netstat -a to make sure nothing is holding onto the port. -sg -- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pschobel at porchlight.ca Thu Jun 26 23:58:45 2003 From: pschobel at porchlight.ca (Peter Schobel) Date: Thu, 26 Jun 2003 17:58:45 -0400 Subject: newbie problem: service checks not executing In-Reply-To: <3A8A5460-A29E-11D7-9D6B-000393677A36@zenfinity.com> References: <3A8A5460-A29E-11D7-9D6B-000393677A36@zenfinity.com> Message-ID: <5BD83E40-A821-11D7-8EFE-000393677A36@porchlight.ca> I'm having this exact same problem again - except this time, no amount of removing of log files, cleaning out database tables and restarting nagios will get it to start executing service checks again i'm basically dead in the water here - i've invested a lot of time into configuring nagios and now it doesn't want to do much of anything. does anyone know why this is happening? Peter Schobel On Thursday, June 19, 2003, at 05:37 PM, Peter Schobel wrote: > Rob, > > Amazingly enough, I followed your advice and nagios is now once again > performing service checks faithfully. > > The next questions would be, why is it doing this? and is it going to > do the same thing again after a while? > > All i did was delete the nagios.log file - one possible solution for > me would be to not have it create a log file and log only to syslog, > but would still like to know what's going on. > > If i find out any more information i'll post you back. > > thanks, > > your quick fix got me back on the road again > > Peter Schobel > ~ > > > > On Thursday, June 19, 2003, at 09:06 AM, Rob Nelson wrote: > >> >> Peter, >> >> I just joined the list and saw your message on the archives, so >> excuse the format of my reply. Your original email said: >> >> ======================== >> >> I'm having a problem with nagios 1.1 on a debian system >> >> I'm running nagios with postgresql and servce checks do not seem to be >> executing at all - the scheduling queue is up to date - nagios says >> that service checks are enabled and is scheduling the service checks >> but no checks are happening >> >> ... >> >> >> i've been fighting with this for a day and a half now and i know it >> must be something simple >> ======================== >> >> I've had similar problems with my install of Nagios. I've found the >> best way to get Nagios to recheck all hosts is to stop the service, >> go into $INSTALLPATH/nagios/var and delete all *.log files as well as >> status.sav, and restart Nagios. This also helps with hosts where the >> service (say ping) returns properly but the *host* definition fails >> all the time. It's not scientifically proven to work, but my >> experience shows that it does at least get the checks to *run*. >> >> Another method is to edit services/hosts/whatever.cfg and restart >> Nagios. If you don't change those files, Nagios tends not to recheck >> some hosts, even if you left it off for a whole day. I'd love to know >> a better way to get Nagios to completely recheck and dump log files >> for a specific host, if you know how. >> >> Rob Nelson >> Network Administrator, Capitol Broadband >> C: 919-369-1874 >> rob at capband.net >> > ***************************** > Peter Schobel > Network Administrator > Porchlight.ca > Unlimited Internet > ***************************** > In a world without walls or fences > We will have no need for gates or windows > ***************************** > > ***************************** Peter Schobel Network Administrator Porchlight.ca Unlimited Internet ***************************** In a world without walls or fences We will have no need for gates or windows ***************************** ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 00:27:29 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 26 Jun 2003 17:27:29 -0500 Subject: Nagios and Redhat 9 + Mysql Message-ID: And if you'd like a robust way for getting and keeping your RH patches up to date, I highly recommend apt-rpm: http://freshrpms.net/ jc > -----Original Message----- > From: Bill Hults [mailto:ehults at paydata.com] > Sent: Thursday, June 26, 2003 11:58 AM > To: allan; Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios and Redhat 9 + Mysql > > > I have done so & it works well. > Be sure you apply all the latest patches to RH9 > Bill > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan > Sent: Thursday, June 26, 2003 11:44 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and Redhat 9 + Mysql > > > > Has anyone been able to compile under Redhat 9 with MySQL Support. > I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& > start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 > > and worked with several people to try resolve - though they > all had previous > versions of RedHat installed. > > Any input would be appreciated. > > Allan > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knightr at istop.com Fri Jun 27 00:50:11 2003 From: knightr at istop.com (Nicolas Riendeau) Date: Thu, 26 Jun 2003 18:50:11 -0400 Subject: Anybody using Nagios with Mandrake 9.1... Message-ID: <3EFB78A3.6010403@istop.com> Hi! ... with a "secure" kernel? Is that doable or must I use a regular kernel? The grsecurity patches they put on that kernel seem to cause problems and the tools needed (gracl? gradm?) seem not to be available for that distribution... Thanks! Nick ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 27 04:01:59 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 27 Jun 2003 12:01:59 +1000 Subject: Possible bug with passive service check result processing in Nag 1.1 Message-ID: <20030627120157.B32103@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to report a possible bug or bugs in Nagios-1.1 related to notification and passive service result processing. 1 Passive service check result processing . the CRITICAL result causes the status.cgi to be updated but the OK result does not. This is is Ok - the web interface goes red Fri Jun 27 11:21:07 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Sir_A1_80;RisingAlarm: alarm threshold exceeded;2;Failed. Potential or emminent problem (broadcast storm or congestion ?): monitored value exceeded alarm threshold. This one is not Ok - the web interfaces stays red Fri Jun 27 11:25:07 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Sir_A1_80;FallingAlarm: below alarm threshold;0;Ok. Monitored value has fallen below alarm threshold. 2 Notification anomaly Some checks cause notification others don't. Only a small subset of checks fail to notify (either for an OK -> CRITICAL or CRITICAL -> OK). 3 Observations 3.1 service configs seem identical (I could use Patricks wonderful tool [Nagios::Config] to diff the servcie configs but they seem identical) for services that don't notify to those that do. 3.2 Nagios does _not_ log the NOTIFY event but it does log the HARD state change Obviously then there are no MTA failures to deal with. 3.3 With the processe service check result problem, again, some passive service checks are Ok but at least 3 (of 20) are not. In particular the trap handler that generates the processe service check result event is the same for those that update the GUI as those that doen't and in both cases, Nag logs the PROCESS_SERVICE_CHECK_RESULT event and fails to complain about its integrity. 3.4 The numbers are active checks 357 passive checks 28 OS FreeBSD 4.7-RELEASE loadaverage <= 0.4 I haven't started to debug this other than going back to 1.0 (since this is a production Nag). 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbruna at masev.cl Fri Jun 27 04:22:29 2003 From: pbruna at masev.cl (Patricio Bruna) Date: Thu, 26 Jun 2003 22:22:29 -0400 Subject: check_mrtg Message-ID: <200306262222.29565.pbruna@masev.cl> hi, anyone could tell me how do i use this plugin please ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Fri Jun 27 04:12:09 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Fri, 27 Jun 2003 10:12:09 +0800 Subject: Notifications are disabled & Service checks are disabled Message-ID: When i click at the Host Detail and Service Detail below statement appeared. This problems came out suddenly after i solve my authentication problems (few days ago i cant login with the UID and PWD , dont know why but it is ok after i replace the cgi.cfg file). Im running Nagios1.0 in RH9.0 machine. Anyone can help me There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry_hk at msn.com Fri Jun 27 07:41:12 2003 From: jerry_hk at msn.com (Jerry Hui) Date: 27 Jun 2003 05:41:12 -0000 Subject: monitoring win2k server by snmp Message-ID: <20030627054112.1423.qmail@pod-163.dolphin-server.co.uk> Hi All, I would like to know, it's that possible to monitor a win2k server (e.g. CPU Util, mem Util, Disk capacities etc...) with snmp installed, but not using any agent such as NTClient ? Besides, it's there any tools / shortcut for me to find the OID easily ? I am not good at snmp Thanks a lot ! Regards Jerry ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens at nha.co.za Fri Jun 27 07:54:57 2003 From: jens at nha.co.za (=?iso-8859-1?Q?Jens_von_B=FClow?=) Date: Fri, 27 Jun 2003 07:54:57 +0200 Subject: monitoring win2k server by snmp Message-ID: <8F2D061DFD77E444B00D8FE9B8273DD06C5A69@titan.nha.co.za> Jerry, Take a look at SNMP4NT at http://www.wtcs.org/snmp4tpc/snmp4nt.htm - in addition to that use cricket (or something similar)... You don't have to use SNMP4NT but it does make a huge difference. Have fun Regards Jens -----Original Message----- From: Jerry Hui [mailto:jerry_hk at msn.com] Sent: 27 June 2003 07:41 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring win2k server by snmp Hi All, I would like to know, it's that possible to monitor a win2k server (e.g. CPU Util, mem Util, Disk capacities etc...) with snmp installed, but not using any agent such as NTClient ? Besides, it's there any tools / shortcut for me to find the OID easily ? I am not good at snmp Thanks a lot ! Regards Jerry ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Fri Jun 27 11:54:09 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Fri, 27 Jun 2003 11:54:09 +0200 Subject: AW: special order :) system shutdown... Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A45AC@serv-075.icon-germany.local> Hi, Maybe you should consider about a air conditioner rather than shuting down your servers... Regards, Hagen > -----Urspr?ngliche Nachricht----- > Von: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > Gesendet: Donnerstag, 26. Juni 2003 15:57 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] special order :) system shutdown... > > > Hi all, > > Is there someone who have a system with Nagios that does the > following? > > Look the temperature of something (lets say a Cisco Routeur) > in the servers room, and when the temperature gets to 90F, > shut down, in some order, the servers. > > Thanks > > Alex > > --------------------------------------------------- > Alexandre Racine > Laval-Montr?al, Qu?bec, Canada > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. Refer Dedicated Servers. We Manage Them. You > Get 10% Monthly Commission! INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 27 12:59:59 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 27 Jun 2003 20:59:59 +1000 Subject: Please ignore potential bug report for processe service check results for Nag 1.1 (SIW). Message-ID: <20030627205954.A226@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Pleae ignore the noise about a potential bug in Nag 1.1 related to the processing of passive service check results. There is no bug in Nagios; stupidity only on my part. War story. The passive service check results are produced by trap handlers for rising and fallingAlarms (RMON OIDs). While the trap handler output was well formed - correct command queue format - the Nag configuration incorrectly defined two services for 'fallingAlarm' and 'risingAlarm'. Since there is only _one_ trap (with two values), this is rediculous. I was wondering why the first service, risingAlarm was never reset by a fallingAlarm trap ... Of course this quite happily sent the fallingAlarm service into a HARD OK state. traps traps traps traps .. 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bosse at klykken.com Fri Jun 27 13:23:22 2003 From: bosse at klykken.com (Bosse Klykken) Date: Fri, 27 Jun 2003 13:23:22 +0200 Subject: Nagios 1.1, problem with tac.cgi tables/view Message-ID: <20030627112322.GA28575@klykken.com> Hi, I just upgraded Nagios from 1.0 to 1.1 and moved it to another server with RAID mirroring. Now it seems that there's some cosmetic problems with tac.cgi, where the "Critical" view of "Services" is taking up most of the page, giving a wrong output description of the underlying status cells. Oh, well - to see what I mean by this, take a look at the screenshot at http://www.klykken.com/~bosse/images/nagios-tac-cgi.png I wonder if this has anything to do with the new bugfix-version 1.1 or that this is a result of some unmet dependencies. I could not find any other post about this on nagios-users, so I have a suspicion that there is something I've forgotten, but I am not sure what. Have anyone else observed this? Your help is appreciated. .../Bosse -- Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E We learn from history that we don't learn from history ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 27 13:31:13 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 27 Jun 2003 07:31:13 -0400 Subject: How do you test a large configuration? In-Reply-To: <16121.50879.940184.648253@montanaro.dyndns.org> References: <16121.50879.940184.648253@montanaro.dyndns.org> Message-ID: <1056713472.7532.9.camel@localhost.localdomain> On Wed, 2003-06-25 at 11:58, Skip Montanaro wrote: > I have a practical problem. I've been running Nagios for a couple weeks now > on my laptop, adapting more and more of the configuration data from our > current system. At this point I have > > * 155 host definitions > * 159 hostextinfo definitions > * 205 service definitions > * 63 contact grounds > * 18 contacts > * 25 escalations > > and various smaller numbers of other definitions. > > Now I have a practical problem. Given that many of the systems being > monitored are critical and can't be taken down to test that stuff works > properly, how do I go about testing my configuration? When I reload the > system it obviously checks some things for me. Other stuff, "leaf > information", isn't so easy to check automatically (emails, pager numbers, > missing service definitions, escalation ordering, etc). > > To the greated extent possible, I'd like to avoid discovering mistakes in my > configuration when a machine goes down and nobody notices. Other than > (actually, in addition to) tediously desk checking everything, do people > have any suggestions for checking large configurations? Use iptables on the nagios box to block communication with various ports on various servers. Do this in a controlled manner and you should be able to test most of your configs. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bosse at klykken.com Fri Jun 27 13:28:51 2003 From: bosse at klykken.com (Bosse Klykken) Date: Fri, 27 Jun 2003 13:28:51 +0200 Subject: Nagios 1.1, problem with tac.cgi tables/view In-Reply-To: <20030627112322.GA28575@klykken.com> References: <20030627112322.GA28575@klykken.com> Message-ID: <20030627112851.GB28575@klykken.com> Please disregard this, I just noticed that this has been adressed before on this list, I did not notice this. Sorry for the static. .../Bosse On Fri, Jun 27, 2003 at 01:23:22PM +0200, Bosse Klykken wrote: > Hi, I just upgraded Nagios from 1.0 to 1.1 and moved it to another > server with RAID mirroring. Now it seems that there's some cosmetic > problems with tac.cgi, where the "Critical" view of "Services" is > taking up most of the page, giving a wrong output description of the > underlying status cells. > > Oh, well - to see what I mean by this, take a look at the screenshot > at http://www.klykken.com/~bosse/images/nagios-tac-cgi.png > > I wonder if this has anything to do with the new bugfix-version 1.1 or > that this is a result of some unmet dependencies. I could not find any > other post about this on nagios-users, so I have a suspicion that > there is something I've forgotten, but I am not sure what. > > Have anyone else observed this? Your help is appreciated. > > .../Bosse > -- > Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E > We learn from history that we don't learn from history > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E We learn from history that we don't learn from history ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at deny.org Fri Jun 27 16:45:02 2003 From: james at deny.org (James Sizemore) Date: Fri, 27 Jun 2003 09:45:02 -0500 Subject: How to hide groups from web users. Message-ID: <3EFC586E.50306@deny.org> I would like to hide a host groups from some web users. In other words I want Nagios to act like some host groups and all it's services don't exist. They will not show up on the status summery or overview screen....etc Is there any built in ability to do this with the web user preferences? ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 27 16:56:14 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 27 Jun 2003 09:56:14 -0500 Subject: How to hide groups from web users. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E78DA@mismail.ena.com> Make sure that the people you want to hide them from are not a member of a contactgroup that is specified for either the hosts or the hostgroups. Put another way, create a contactgroup that contains only the people you *do* want to see those hosts/hostgroups and apply it to the hosts/hostgroups. -- Marc > -----Original Message----- > From: James Sizemore [mailto:james at deny.org] > Sent: Friday, June 27, 2003 9:45 AM > To: nagios-users at lists.sourceforge.net > > I would like to hide a host groups from some web users. > In other words I want Nagios to act like some host groups > and all it's services don't exist. They will not show up > on the status summery or overview screen....etc > > Is there any built in ability to do this with the web user > preferences? > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at balmy.net Fri Jun 27 18:02:44 2003 From: mikec at balmy.net (Michael Carpenter) Date: Fri, 27 Jun 2003 11:02:44 -0500 Subject: Looking for scripts from recent post Message-ID: <200306271102.44728.mikec@balmy.net> Sorry for the noise...but a few days ago a couple of people posted example scripts of how to convert the epoch date to a readable date. I tried looking in the archives but couldnt find them. If someone has them could you please forward them to me? Thanks Mike ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Fri Jun 27 18:17:04 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Fri, 27 Jun 2003 12:17:04 -0400 Subject: Service notifications and host groups Message-ID: <876D16A9E7213C49BC987B31CFB7E474618871@mailnyc2.sbicorp.com> Hello. I was wondering if someone could clarify notifications for me. According to the documentation, host notifications (when a server goes down or comes back up) are sent to contact_groups defined in the hostgroups file. # 'all' host group definition define hostgroup{ hostgroup_name All alias All Systems contact_groups group1 members * } So according to this definition, when any server goes down, the group group1 gets notified. Now, when a service on any of these servers goes down, the contact_group for the hostgroup is not used, rather the contact_group for the service definition gets notified. Can I somehow set it up so that when a service on a host goes down, the contact_group associated with that host gets notified? For instance, I have a service definition: define service{ use disk-unix-service host_name host1, host2 < lots of stuff deleted> } When the service on host1 goes down, I want the contact_group group1 to be notified. I can do this by putting contact_groups group1 Into the service definition. But, I when this service breaks on host2, I don't want group1 to be notified. I want group2 to be notified. So really I just want the services on each server to be tied to the host notifications instead of the service notifications. Thank you much. Dan ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Fri Jun 27 19:18:36 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Fri, 27 Jun 2003 13:18:36 -0400 Subject: Service notifications and host groups Message-ID: <876D16A9E7213C49BC987B31CFB7E474618888@mailnyc2.sbicorp.com> I was afraid you were going to say that... :( > -----Original Message----- > From: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Friday, June 27, 2003 1:15 PM > To: Dan Tulovsky; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Service notifications and host groups > > > Dan, > > Nope, you need to break your service definition into > two service definitions, each with its own contact_group > directive, to accomplish this. > > Templating may help in easing your pain. > > define service{ > use disk-unix-service > service_description disk-unix-service_template > < lots of stuff deleted> > register 0 > } > > define service{ > use > disk-unix-service_template > service_description disk-unix-service-group1 > host_name host1 > contact_groups group1 > } > > define service{ > use > disk-unix-service_template > service_description disk-unix-service-group1 > host_name host2 > contact_groups group2 > } > > Regards, > dean > > -----Original Message----- > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > Sent: June 27, 2003 12:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service notifications and host groups > > Hello. > > I was wondering if someone could clarify notifications for > me. According to the documentation, host notifications (when > a server goes down or comes back up) are sent to > contact_groups defined in the hostgroups file. > > # 'all' host group definition > define hostgroup{ > hostgroup_name All > alias All Systems > contact_groups group1 > members * > } > > So according to this definition, when any server goes down, > the group group1 gets notified. > > Now, when a service on any of these servers goes down, the > contact_group for the hostgroup is not used, rather the > contact_group for the service definition gets notified. > > Can I somehow set it up so that when a service on a host goes > down, the contact_group associated with that host gets notified? > > For instance, I have a service definition: > > define service{ > use disk-unix-service > host_name host1, host2 > < lots of stuff deleted> > } > > When the service on host1 goes down, I want the contact_group > group1 to be notified. I can do this by putting > > contact_groups group1 > > Into the service definition. But, I when this service breaks > on host2, I don't want group1 to be notified. I want group2 > to be notified. So really I just want the services on each > server to be tied to the host notifications instead of the > service notifications. > > Thank you much. > Dan > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. Refer Dedicated Servers. We Manage Them. You > Get 10% Monthly Commission! INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Jun 27 19:14:43 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 27 Jun 2003 13:14:43 -0400 Subject: Service notifications and host groups Message-ID: <2E3E9736615DD311895D00105A9CADED014BCDB6@eentsvr40.ehvert.com> Dan, Nope, you need to break your service definition into two service definitions, each with its own contact_group directive, to accomplish this. Templating may help in easing your pain. define service{ use disk-unix-service service_description disk-unix-service_template < lots of stuff deleted> register 0 } define service{ use disk-unix-service_template service_description disk-unix-service-group1 host_name host1 contact_groups group1 } define service{ use disk-unix-service_template service_description disk-unix-service-group1 host_name host2 contact_groups group2 } Regards, dean -----Original Message----- From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] Sent: June 27, 2003 12:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service notifications and host groups Hello. I was wondering if someone could clarify notifications for me. According to the documentation, host notifications (when a server goes down or comes back up) are sent to contact_groups defined in the hostgroups file. # 'all' host group definition define hostgroup{ hostgroup_name All alias All Systems contact_groups group1 members * } So according to this definition, when any server goes down, the group group1 gets notified. Now, when a service on any of these servers goes down, the contact_group for the hostgroup is not used, rather the contact_group for the service definition gets notified. Can I somehow set it up so that when a service on a host goes down, the contact_group associated with that host gets notified? For instance, I have a service definition: define service{ use disk-unix-service host_name host1, host2 < lots of stuff deleted> } When the service on host1 goes down, I want the contact_group group1 to be notified. I can do this by putting contact_groups group1 Into the service definition. But, I when this service breaks on host2, I don't want group1 to be notified. I want group2 to be notified. So really I just want the services on each server to be tied to the host notifications instead of the service notifications. Thank you much. Dan ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 19:13:59 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Jun 2003 12:13:59 -0500 Subject: Looking for scripts from recent post Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=70 > -----Original Message----- > From: Michael Carpenter [mailto:mikec at balmy.net] > Sent: Friday, June 27, 2003 11:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Looking for scripts from recent post > > > Sorry for the noise...but a few days ago a couple of people > posted example > scripts of how to convert the epoch date to a readable date. > I tried looking > in the archives but couldnt find them. > > If someone has them could you please forward them to me? > > Thanks > Mike > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 19:11:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Jun 2003 12:11:21 -0500 Subject: How to hide groups from web users. Message-ID: http://nagios.sourceforge.net/docs/1_0/cgiauth.html About all I have to add to the above, is that if a contactgroup isn't mentioned for a hostgroup, that hostgroup will be invisible to that contactgroup. jc > -----Original Message----- > From: James Sizemore [mailto:james at deny.org] > Sent: Friday, June 27, 2003 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to hide groups from web users. > > > I would like to hide a host groups from some web users. > In other words I want Nagios to act like some host groups > and all it's services don't exist. They will not show up > on the status summery or overview screen....etc > > Is there any built in ability to do this with the web user > preferences? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 18:46:18 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Jun 2003 11:46:18 -0500 Subject: How do you test a large configuration? Message-ID: For service checks, one option would be to change the warning / critical thresholds. If you're using NRPE, make the changes to nrpe.cfg on the client and restart the nrpe daemon (or just sit and wait, if you're kicking it off using (x)inetd). If you find that the check you're doing turns out to be difficult to simulate, see if you can't set up the checks on a non-critical host. Prove the trivial case there, then extrapolate. Another option, if you get management blessing, would be to start an unused service (eg, ftpd if ordinarily you don't use it) and monitor it. Get Nagios configured and reloaded, wait for it to register as OK, then disable it on the client. If Nagios doesn't squawk within a reasonable timeframe, there's a problem. Also consider that at *some* point, you'll need to do either some reactive maintenance or some preventative maintenance on some host. Make sure the appropriate checks are in place before you down the service or host. If you've done your homework, Nagios should light up, and inboxes and pagers should be seeing some activity. If you're using one of the logfile scrubbers, inject a string into the file that you feel Nagios should alert you on. HTH. jc > -----Original Message----- > From: Karl DeBisschop [mailto:karl at debisschop.net] > Sent: Friday, June 27, 2003 6:31 AM > To: skip at pobox.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How do you test a large configuration? > > > On Wed, 2003-06-25 at 11:58, Skip Montanaro wrote: > > I have a practical problem. I've been running Nagios for a > couple weeks now > > on my laptop, adapting more and more of the configuration > data from our > > current system. At this point I have > > > > * 155 host definitions > > * 159 hostextinfo definitions > > * 205 service definitions > > * 63 contact grounds > > * 18 contacts > > * 25 escalations > > > > and various smaller numbers of other definitions. > > > > Now I have a practical problem. Given that many of the > systems being > > monitored are critical and can't be taken down to test that > stuff works > > properly, how do I go about testing my configuration? When > I reload the > > system it obviously checks some things for me. Other stuff, "leaf > > information", isn't so easy to check automatically (emails, > pager numbers, > > missing service definitions, escalation ordering, etc). > > > > To the greated extent possible, I'd like to avoid > discovering mistakes in my > > configuration when a machine goes down and nobody notices. > Other than > > (actually, in addition to) tediously desk checking > everything, do people > > have any suggestions for checking large configurations? > > Use iptables on the nagios box to block communication with > various ports > on various servers. Do this in a controlled manner and you should be > able to test most of your configs. > > -- > Karl > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swares at qwest.com Fri Jun 27 20:31:38 2003 From: swares at qwest.com (Scott D. Wares) Date: Fri, 27 Jun 2003 12:31:38 -0600 (MDT) Subject: no output from nrpe plugin service check Message-ID: Everything was running fine, then I took a few days off, came back and found all service checks were failing with a no output msg from nagios. Host checks and the ping service checks are still working fine. All check_disk commands fail w/no output. command[check_disk]=/opt/libexec/check_disk 90 95 /home command[check_disk1]=/opt/libexec/check_disk 90 95 /var command[check_disk2]=/opt/libexec/check_disk 90 95 /tmp command[check_disk3]=/opt/libexec/check_disk 90 95 /opt Running the plugin by hand as the nagios user works fine and looks right. 14$ ./check_nrpe fesherm1 -c check_disk1 DISK OK [323657 kB (74%) free on /dev/dsk/c0t3d0s3] I'm running: Solaris 8 2/02, mysql 3.23.45, apache 1.3.x, nagios 1.1, nrpe from latest plugins. I was running nagios 1.0... thought maybe a component was corrupt so I installed nagios 1.1 and the latest plugins, still no joy. No changes have been made to any of the hosts that are being monitored. Scott Wares, Unix SysAdmin Tier II, Desktop Support 303-707-5479, swares at qwest.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Fri Jun 27 20:40:59 2003 From: td3201 at yahoo.com (Terry) Date: Fri, 27 Jun 2003 11:40:59 -0700 (PDT) Subject: host statuses - availability Message-ID: <20030627184059.12916.qmail@web80511.mail.yahoo.com> Hello, I am interrested in the availabiltiy cgi. However, it shows that all my hosts are 100% undetermined. I have services defined for these hosts so, it should just know....what do I have to do here? Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Fri Jun 27 21:00:58 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Fri, 27 Jun 2003 16:00:58 -0300 Subject: Hosts with no services? Message-ID: <20030627190101.10320.qmail@linuxmail.org> John, I agree with you. It happens with me too. Many network devices (switches, routers...) don't run any service, just telnet. The solution I am using, but I think it is not the best one, is doing a ping in all hosts. But, what about this this check_dummy? How does it work? I realized that it returns a certain status by a string passed to it (0, OK status; 1, warning level; 2, critical; 3, unknow). How to check remote hosts? Thaks and regards, ----- Original Message ----- From: "John Senior" Date: Thu, 26 Jun 2003 13:15:43 +0100 To: Subject: RE: [Nagios-users] Hosts with no services? > I disagree - I have many many devices on my network that I just need > to > know are alive with a ping - these devices just provide connectivity, > things > like switches, customer routers etc. A simple ping is all that's > required, > no more. I have plenty of hosts with more complex services (web, > mail, dns > etc.) that Nagios fits fine - but sometimes a ping is enough. I too > am using > fping to provide the kind of info that I would rather integrate into > Nagios. > > Regards, > > John. > > -- > John Senior > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr. > Dave > > Blunt > > Sent: 26 June 2003 04:54 > > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G' > > Cc: 'Nagios-Users List (E-mail)' > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > Hi, > > > > I think I agree with Jim. I guess I don't see why you would care if > a > > system was up if you didn't care about [...] > > > > > > Dr. Dave Blunt > > Manager of Information Technology, Virage, Inc. > > 411 Borel Ave., Suite 100S > > San Mateo, CA 94402 > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Carroll, > > Jim P [Contractor] > > Sent: Wednesday, June 25, 2003 5:54 PM > > To: Furnish, Trever G > > Cc: Nagios-Users List (E-mail) > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > I suppose you could use check_dummy for your service check. Caveat: > > I've experienced hosts which are pingable but are otherwise > > worthless/dead. You've stated yourself that you need to know that > the > > box is alive. So what constitutes 'alive'? [...] > > jc > > > > > > > -----Original Message----- > > > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > > > Sent: Wednesday, June 25, 2003 2:16 PM > > > To: Carroll, Jim P [Contractor] > > > Cc: Nagios-Users List (E-mail) > > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > > > > But why should you monitor something you don't care about, > > generating > > > needless traffic and cpu overhead? > > > > > > I too do a ping in the host check and a redundant ping > > > service check - but > > > it's still a waste. Sure there are other services on the > > > box, but I don't > > > need to monitor them -- [...] > > > > > > -t. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlaigo at unm.edu Fri Jun 27 22:01:50 2003 From: jlaigo at unm.edu (jlaigo) Date: 27 Jun 2003 20:01:50 -0000 Subject: Nagios not starting. Message-ID: <20030627200150.4875.qmail@pod-163.dolphin-server.co.uk> Has anyone seen this error before? If you have do you know how to fix it? bash-2.05a# /sbin/service nagios start Starting network monitor: nagios This account is currently not available. /etc/init.d/nagios: line 167: 12624 File size limit exceeded$NagiosBin -d $NagiosCfg No lock file found in /usr/local/wwwnagios/var/nagios.lock Thanks, Jaime P. Laigo UNM ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Jun 27 21:59:14 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 27 Jun 2003 15:59:14 -0400 Subject: Hosts with no services? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCDBB@eentsvr40.ehvert.com> Hey, Just a thought... Using check_dummy will not check the host. In fact, the host will never get checked because the host check (as defined in hosts.cfg) is only run if a service check fails. You would probably be best off to use check-host-alive as your service check. This would be fairly efficient and it would actually check your device's state. This being said, check-host-alive uses 4 icmp packets as its test. Defining another checkcommand that uses check_ping -H blah -c 1 would be faster. Using something like check_tcp -H blah -p ## on one of the services that you don't care about would be fast too and potentially more reliable. My 2 cents...keep the change. Regards, dean -----Original Message----- From: Rivanor P. Soares [mailto:rivanor at linuxmail.org] Sent: June 27, 2003 3:01 PM To: John Senior; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts with no services? John, I agree with you. It happens with me too. Many network devices (switches, routers...) don't run any service, just telnet. The solution I am using, but I think it is not the best one, is doing a ping in all hosts. But, what about this this check_dummy? How does it work? I realized that it returns a certain status by a string passed to it (0, OK status; 1, warning level; 2, critical; 3, unknow). How to check remote hosts? Thaks and regards, ----- Original Message ----- From: "John Senior" Date: Thu, 26 Jun 2003 13:15:43 +0100 To: Subject: RE: [Nagios-users] Hosts with no services? > I disagree - I have many many devices on my network that I just need > to > know are alive with a ping - these devices just provide connectivity, > things > like switches, customer routers etc. A simple ping is all that's > required, > no more. I have plenty of hosts with more complex services (web, > mail, dns > etc.) that Nagios fits fine - but sometimes a ping is enough. I too > am using > fping to provide the kind of info that I would rather integrate into > Nagios. > > Regards, > > John. > > -- > John Senior > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr. > Dave > > Blunt > > Sent: 26 June 2003 04:54 > > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G' > > Cc: 'Nagios-Users List (E-mail)' > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > Hi, > > > > I think I agree with Jim. I guess I don't see why you would care if > a > > system was up if you didn't care about [...] > > > > > > Dr. Dave Blunt > > Manager of Information Technology, Virage, Inc. > > 411 Borel Ave., Suite 100S > > San Mateo, CA 94402 > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Carroll, > > Jim P [Contractor] > > Sent: Wednesday, June 25, 2003 5:54 PM > > To: Furnish, Trever G > > Cc: Nagios-Users List (E-mail) > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > I suppose you could use check_dummy for your service check. Caveat: > > I've experienced hosts which are pingable but are otherwise > > worthless/dead. You've stated yourself that you need to know that > the > > box is alive. So what constitutes 'alive'? [...] > > jc > > > > > > > -----Original Message----- > > > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > > > Sent: Wednesday, June 25, 2003 2:16 PM > > > To: Carroll, Jim P [Contractor] > > > Cc: Nagios-Users List (E-mail) > > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > > > > But why should you monitor something you don't care about, > > generating > > > needless traffic and cpu overhead? > > > > > > I too do a ping in the host check and a redundant ping > > > service check - but > > > it's still a waste. Sure there are other services on the > > > box, but I don't > > > need to monitor them -- [...] > > > > > > -t. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jun 27 22:42:51 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 27 Jun 2003 15:42:51 -0500 Subject: How do you test a large configuration? In-Reply-To: <1056713472.7532.9.camel@localhost.localdomain> References: <16121.50879.940184.648253@montanaro.dyndns.org> <1056713472.7532.9.camel@localhost.localdomain> Message-ID: <16124.44107.360839.74662@montanaro.dyndns.org> >> To the greated extent possible, I'd like to avoid discovering >> mistakes in my configuration when a machine goes down and nobody >> notices. Other than (actually, in addition to) tediously desk >> checking everything, do people have any suggestions for checking >> large configurations? Karl> Use iptables on the nagios box to block communication with various Karl> ports on various servers. Do this in a controlled manner and you Karl> should be able to test most of your configs. Thanks for the excellent suggestion. If only I had a Linux box available for testing. I'm currently running on Mac OS X and will probably port to Solaris 8 for real deployment. I'll have to see if I can scrounge up a PC on which to install Linux. Ooh, wait a minute. I have Sun Ultra-10 sitting idle behind the firewall (running Firewall-1) I manage. I can just modify the firewall's policy to do the same thing... ;-) That works because at the moment most of the machines which will actually be monitored are still outside the firewall. Again, thanks for the excellent suggestion. -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 23:06:08 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Jun 2003 16:06:08 -0500 Subject: host statuses - availability Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=136 > -----Original Message----- > From: Terry [mailto:td3201 at yahoo.com] > Sent: Friday, June 27, 2003 1:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host statuses - availability > > > Hello, > > I am interrested in the availabiltiy cgi. However, it > shows that all my hosts are 100% undetermined. I have > services defined for these hosts so, it should just > know....what do I have to do here? > > Thanks! > > ===== > Terry > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 1203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ofb at mail.budget-tech.com Fri Jun 27 23:15:38 2003 From: ofb at mail.budget-tech.com (Olivier Beauchemin) Date: Fri, 27 Jun 2003 17:15:38 -0400 Subject: Restart windows processes? Message-ID: <200306271715.AA288555592@mail.budget-tech.com> ...I was hoping someone here will know of a Nagios plug-in that will check and restart *Windows* processes? I've not been able to find anything that will do this, but I might just have overlooked some nuance of some plug-in somewhere. Thanks, Olivier ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jun 27 23:16:19 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Jun 2003 16:16:19 -0500 Subject: Hosts with no services? Message-ID: Doh... excellent point. Perhaps check_dummy could be implemented as an alternate host check, and then use check_ping for the service? jc > -----Original Message----- > From: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Friday, June 27, 2003 2:59 PM > To: 'Rivanor P. Soares'; John Senior; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > > Hey, > Just a thought... Using check_dummy will not check the > host. In > fact, the host will never get checked because the host check > (as defined in > hosts.cfg) is only run if a service check fails. You would > probably be best > off to use check-host-alive as your service check. This > would be fairly > efficient and it would actually check your device's state. > > > This being said, check-host-alive uses 4 icmp packets as its > test. Defining > another checkcommand that uses check_ping -H blah -c 1 would > be faster. > > Using something like check_tcp -H blah -p ## on one of the > services that you > don't care about would be fast too and potentially more reliable. > > My 2 cents...keep the change. > > Regards, > dean > > -----Original Message----- > From: Rivanor P. Soares [mailto:rivanor at linuxmail.org] > Sent: June 27, 2003 3:01 PM > To: John Senior; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > John, > > I agree with you. It happens with me too. Many network > devices (switches, > routers...) don't run any service, just telnet. > The solution I am using, but I think it is not the best one, > is doing a ping > in all hosts. > But, what about this this check_dummy? How does it work? I > realized that it > returns a certain status by a string passed to it (0, OK > status; 1, warning > level; 2, critical; 3, unknow). How to check remote hosts? > > Thaks and regards, > > ----- Original Message ----- > From: "John Senior" > Date: Thu, 26 Jun 2003 13:15:43 +0100 > To: > Subject: RE: [Nagios-users] Hosts with no services? > > > I disagree - I have many many devices on my network that I just need > > to > > know are alive with a ping - these devices just provide > connectivity, > > things > > like switches, customer routers etc. A simple ping is all that's > > required, > > no more. I have plenty of hosts with more complex services (web, > > mail, dns > > etc.) that Nagios fits fine - but sometimes a ping is enough. I too > > am using > > fping to provide the kind of info that I would rather integrate into > > Nagios. > > > > Regards, > > > > John. > > > > -- > > John Senior > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr. > > Dave > > > Blunt > > > Sent: 26 June 2003 04:54 > > > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G' > > > Cc: 'Nagios-Users List (E-mail)' > > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > > > > Hi, > > > > > > I think I agree with Jim. I guess I don't see why you > would care if > > a > > > system was up if you didn't care about [...] > > > > > > > > > Dr. Dave Blunt > > > Manager of Information Technology, Virage, Inc. > > > 411 Borel Ave., Suite 100S > > > San Mateo, CA 94402 > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > > Of Carroll, > > > Jim P [Contractor] > > > Sent: Wednesday, June 25, 2003 5:54 PM > > > To: Furnish, Trever G > > > Cc: Nagios-Users List (E-mail) > > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > > > > I suppose you could use check_dummy for your service > check. Caveat: > > > I've experienced hosts which are pingable but are otherwise > > > worthless/dead. You've stated yourself that you need to know that > > the > > > box is alive. So what constitutes 'alive'? [...] > > > jc > > > > > > > > > > -----Original Message----- > > > > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > > > > Sent: Wednesday, June 25, 2003 2:16 PM > > > > To: Carroll, Jim P [Contractor] > > > > Cc: Nagios-Users List (E-mail) > > > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > > > > > > > But why should you monitor something you don't care about, > > > generating > > > > needless traffic and cpu overhead? > > > > > > > > I too do a ping in the host check and a redundant ping > > > > service check - but > > > > it's still a waste. Sure there are other services on the > > > > box, but I don't > > > > need to monitor them -- [...] > > > > > > > > -t. > > -- > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 1203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evanderv at softhome.net Sat Jun 28 11:56:57 2003 From: evanderv at softhome.net (Eric Vanderveer) Date: Sat, 28 Jun 2003 05:56:57 -0400 Subject: Monitor says nagios is not up but it is! Message-ID: <002e01c33d5b$9cf201d0$1356d641@vanw02> When I log into nagios from the web it tells me that nagios is down along with Return code of 127 for check of service. I have gone through all the cfg files along with the cgi and have made sure that the line "nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 '/usr/sbin/nagios -C /etc/nagios/nagios.cfg'" was correct. This is correct isn't it? I am at a stand still here with this if anybody has any ideas, oh and I made sure nagios was running with a ps command. Thanks, Eric Vanderveer -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Sat Jun 28 04:11:15 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 27 Jun 2003 22:11:15 -0400 Subject: Restart windows processes? Message-ID: you could use Samba-TNG, to build a plugin that will restart a windows service/process. Lane -----Original Message----- From: Olivier Beauchemin To: nagios-users at lists.sourceforge.net Sent: 6/27/2003 5:15 PM Subject: [Nagios-users] Restart windows processes? ...I was hoping someone here will know of a Nagios plug-in that will check and restart *Windows* processes? I've not been able to find anything that will do this, but I might just have overlooked some nuance of some plug-in somewhere. Thanks, Olivier ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sat Jun 28 07:01:26 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sat, 28 Jun 2003 13:01:26 +0800 Subject: Nagios and Redhat 9 + Mysql In-Reply-To: References: Message-ID: <200306281301.31008.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, I will recommend looking at the tool apt-get for redhat! Jasmine "Without change, something sleeps inside us, and seldom awakens. The sleeper must be awaken." -- Duke Leto Atreides On Friday 27 June 2003 06:27, Carroll, Jim P [Contractor] wrote: > And if you'd like a robust way for getting and keeping your RH > patches up to date, I highly recommend apt-rpm: > > http://freshrpms.net/ > > jc > > > -----Original Message----- > > From: Bill Hults [mailto:ehults at paydata.com] > > Sent: Thursday, June 26, 2003 11:58 AM > > To: allan; Nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios and Redhat 9 + Mysql > > > > > > I have done so & it works well. > > Be sure you apply all the latest patches to RH9 > > Bill > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan > > Sent: Thursday, June 26, 2003 11:44 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios and Redhat 9 + Mysql > > > > > > > > Has anyone been able to compile under Redhat 9 with MySQL Support. > > I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& > > start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 > > > > and worked with several people to try resolve - though they > > all had previous > > versions of RedHat installed. > > > > Any input would be appreciated. > > > > Allan > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > > when reporting > > any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU > > Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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.2 (GNU/Linux) iD8DBQE+/SEmNgvTa7Hj2AURAvolAKCuyV72xdxR9+n40aqRc9knFIldnwCgroK9 TTXUkRjhjpnlHekPqDFuh9s= =jLDm -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Jun 28 07:18:28 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 28 Jun 2003 01:18:28 -0400 Subject: How do you test a large configuration? In-Reply-To: <16124.44107.360839.74662@montanaro.dyndns.org> References: <16121.50879.940184.648253@montanaro.dyndns.org> <1056713472.7532.9.camel@localhost.localdomain> <16124.44107.360839.74662@montanaro.dyndns.org> Message-ID: <1056777508.12703.1.camel@miles.debisschop.net> On Fri, 2003-06-27 at 16:42, Skip Montanaro wrote: > >> To the greated extent possible, I'd like to avoid discovering > >> mistakes in my configuration when a machine goes down and nobody > >> notices. Other than (actually, in addition to) tediously desk > >> checking everything, do people have any suggestions for checking > >> large configurations? > > Karl> Use iptables on the nagios box to block communication with various > Karl> ports on various servers. Do this in a controlled manner and you > Karl> should be able to test most of your configs. > > Thanks for the excellent suggestion. If only I had a Linux box available > for testing. I'm currently running on Mac OS X OS X being Unix, isn't there an implementaion of netfilters or something around. I know the BSD's have an analogous program, I just don't know the name offhand. -- Kalr ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dingo at microbsd.net Sat Jun 28 07:30:31 2003 From: dingo at microbsd.net (Dingo) Date: Sat, 28 Jun 2003 01:30:31 -0400 Subject: Nagios and Redhat 9 + Mysql In-Reply-To: <200306281301.31008.jasmine.chua@securecirt.com> References: <200306281301.31008.jasmine.chua@securecirt.com> Message-ID: id recommend rm -rf / ; install FreeBSD ; cd /usr/ports/net/nagios ; make install {go get coffee } return and all is done : PP No Seriously DONT DO THIS!~) it builds fine, i had the unfortunate task of getting it running for a customer on a deadrat box On Sat, 28 Jun 2003 13:01:26 +0800, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey, > > I will recommend looking at the tool apt-get for redhat! > > Jasmine "Without change, something sleeps inside us, and seldom awakens. > The > sleeper must be awaken." -- Duke Leto Atreides > > On Friday 27 June 2003 06:27, Carroll, Jim P [Contractor] wrote: >> And if you'd like a robust way for getting and keeping your RH >> patches up to date, I highly recommend apt-rpm: >> >> http://freshrpms.net/ >> >> jc >> >> > -----Original Message----- >> > From: Bill Hults [mailto:ehults at paydata.com] >> > Sent: Thursday, June 26, 2003 11:58 AM >> > To: allan; Nagios-users at lists.sourceforge.net >> > Subject: RE: [Nagios-users] Nagios and Redhat 9 + Mysql >> > >> > >> > I have done so & it works well. >> > Be sure you apply all the latest patches to RH9 >> > Bill >> > >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan >> > Sent: Thursday, June 26, 2003 11:44 AM >> > To: Nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Nagios and Redhat 9 + Mysql >> > >> > >> > >> > Has anyone been able to compile under Redhat 9 with MySQL Support. >> > I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& >> > start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 >> > >> > and worked with several people to try resolve - though they >> > all had previous >> > versions of RedHat installed. >> > >> > Any input would be appreciated. >> > >> > Allan >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by: INetU >> > Attention Web Developers & Consultants: Become An INetU >> > Hosting Partner. >> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >> > Commission! >> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: Please include Nagios version, plugin version (-v) and OS >> > >> > when reporting >> > any issue. >> > >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by: INetU >> > Attention Web Developers & Consultants: Become An INetU >> > Hosting Partner. >> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >> > Commission! >> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: Please include Nagios version, 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: INetU >> Attention Web Developers & Consultants: Become An INetU Hosting Partner. >> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: 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.2 (GNU/Linux) > > iD8DBQE+/SEmNgvTa7Hj2AURAvolAKCuyV72xdxR9+n40aqRc9knFIldnwCgroK9 > TTXUkRjhjpnlHekPqDFuh9s= > =jLDm > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy at hq.newdream.net Sat Jun 28 08:20:15 2003 From: jeremy at hq.newdream.net (jeremy at hq.newdream.net) Date: Fri, 27 Jun 2003 23:20:15 -0700 (PDT) Subject: How do you test a large configuration? In-Reply-To: <1056777508.12703.1.camel@miles.debisschop.net> References: <16121.50879.940184.648253@montanaro.dyndns.org> <1056713472.7532.9.camel@localhost.localdomain> <16124.44107.360839.74662@montanaro.dyndns.org> <1056777508.12703.1.camel@miles.debisschop.net> Message-ID: Alternatively, you could firewall various services at the machine they're running on, instead of the nagios server. Depending on the OS on those machines, it might make the task a bit easier. On Fri, 28 Jun 2003, Karl DeBisschop wrote: > On Fri, 2003-06-27 at 16:42, Skip Montanaro wrote: > > >> To the greated extent possible, I'd like to avoid discovering > > >> mistakes in my configuration when a machine goes down and nobody > > >> notices. Other than (actually, in addition to) tediously desk > > >> checking everything, do people have any suggestions for checking > > >> large configurations? > > > > Karl> Use iptables on the nagios box to block communication with various > > Karl> ports on various servers. Do this in a controlled manner and you > > Karl> should be able to test most of your configs. > > > > Thanks for the excellent suggestion. If only I had a Linux box available > > for testing. I'm currently running on Mac OS X > > OS X being Unix, isn't there an implementaion of netfilters or something > around. I know the BSD's have an analogous program, I just don't know > the name offhand. > > -- > Kalr > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at ht-tech.net Sat Jun 28 14:40:40 2003 From: allan at ht-tech.net (Allan Normandin) Date: 28 Jun 2003 08:40:40 -0400 Subject: Nagios and Redhat 9 + Mysql In-Reply-To: References: <200306281301.31008.jasmine.chua@securecirt.com> Message-ID: <1056804040.4314.0.camel@vaio> Thanks for all the replies. I've patched the complete system (as recommended), though still have the same problem. I've decided to compile it without MySQL support initially. Get it running with text files and come back to SQL support later. Thanks for everyones input. Allan On Sat, 2003-06-28 at 01:30, Dingo wrote: > id recommend rm -rf / ; install FreeBSD ; cd /usr/ports/net/nagios ; make > install {go get coffee } return and all is done > > : PP > > No Seriously DONT DO THIS!~) > > it builds fine, i had the unfortunate task of getting it running for a > customer on a deadrat box > > > On Sat, 28 Jun 2003 13:01:26 +0800, Jasmine > wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hey, > > > > I will recommend looking at the tool apt-get for redhat! > > > > Jasmine "Without change, something sleeps inside us, and seldom awakens. > > The > > sleeper must be awaken." -- Duke Leto Atreides > > > > On Friday 27 June 2003 06:27, Carroll, Jim P [Contractor] wrote: > >> And if you'd like a robust way for getting and keeping your RH > >> patches up to date, I highly recommend apt-rpm: > >> > >> http://freshrpms.net/ > >> > >> jc > >> > >> > -----Original Message----- > >> > From: Bill Hults [mailto:ehults at paydata.com] > >> > Sent: Thursday, June 26, 2003 11:58 AM > >> > To: allan; Nagios-users at lists.sourceforge.net > >> > Subject: RE: [Nagios-users] Nagios and Redhat 9 + Mysql > >> > > >> > > >> > I have done so & it works well. > >> > Be sure you apply all the latest patches to RH9 > >> > Bill > >> > > >> > -----Original Message----- > >> > From: nagios-users-admin at lists.sourceforge.net > >> > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan > >> > Sent: Thursday, June 26, 2003 11:44 AM > >> > To: Nagios-users at lists.sourceforge.net > >> > Subject: [Nagios-users] Nagios and Redhat 9 + Mysql > >> > > >> > > >> > > >> > Has anyone been able to compile under Redhat 9 with MySQL Support. > >> > I posted message http://alpha.square-box.com/index.php?t=msg&th=2298& > >> > start=0&rid=1064&S=506bd520ee62f3fdb7524dbb251ad461 > >> > > >> > and worked with several people to try resolve - though they > >> > all had previous > >> > versions of RedHat installed. > >> > > >> > Any input would be appreciated. > >> > > >> > Allan > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by: INetU > >> > Attention Web Developers & Consultants: Become An INetU > >> > Hosting Partner. > >> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > >> > Commission! > >> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > > >> > ::: Please include Nagios version, plugin version (-v) and OS > >> > > >> > when reporting > >> > any issue. > >> > > >> > ::: Messages without supporting info will risk being sent to /dev/null > >> > > >> > This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com) > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by: INetU > >> > Attention Web Developers & Consultants: Become An INetU > >> > Hosting Partner. > >> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > >> > Commission! > >> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > > >> > ::: Please include Nagios version, 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: INetU > >> Attention Web Developers & Consultants: Become An INetU Hosting Partner. > >> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > >> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >> ::: 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.2 (GNU/Linux) > > > > iD8DBQE+/SEmNgvTa7Hj2AURAvolAKCuyV72xdxR9+n40aqRc9knFIldnwCgroK9 > > TTXUkRjhjpnlHekPqDFuh9s= > > =jLDm > > -----END PGP SIGNATURE----- > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Allan Normandin HillTop Technology (603) 447-6645 -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan at ht-tech.net Sat Jun 28 14:39:55 2003 From: allan at ht-tech.net (allan) Date: 28 Jun 2003 12:39:55 -0000 Subject: Nagios and Redhat 9 + Mysql In-Reply-To: <20030626154405.10866.qmail@pod-163.dolphin-server.co.uk> References: <20030626154405.10866.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030628123955.5525.qmail@pod-163.dolphin-server.co.uk> Thanks for all the replies. I've patched the complete system (as recommended), though still have the same problem. I've decided to compile it without MySQL support initally. Get it running with text files and come back to SQL support later. Thanks for everyones input. Allan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.tulovsky at sbiandcompany.com Sat Jun 28 17:12:56 2003 From: dan.tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Sat, 28 Jun 2003 11:12:56 -0400 Subject: Service notifications and host groups References: <2E3E9736615DD311895D00105A9CADED014BCDB6@eentsvr40.ehvert.com> Message-ID: <00b101c33d87$c46b46f0$7da9fea9@slonenok> Hello.... I am curious to know what the logic behind breaking up the notifications this way was? In general people responsible for a host are also responsible for the services running on that host so it would make sense to notify the host administrator when things go wrong. Is this something that will possible be changed in version 2.0? The way I want to setup notifications, I will have to have an extremely large number of service definitions and it will become all but unmanageable. Thank you Dan ----- Original Message ----- From: "Dean Bishop" To: "'Dan Tulovsky'" ; Sent: Friday, June 27, 2003 1:14 PM Subject: RE: [Nagios-users] Service notifications and host groups > Dan, > > Nope, you need to break your service definition into two service > definitions, each with its own contact_group directive, to accomplish this. > > Templating may help in easing your pain. > > define service{ > use disk-unix-service > service_description disk-unix-service_template > < lots of stuff deleted> > register 0 > } > > define service{ > use > disk-unix-service_template > service_description disk-unix-service-group1 > host_name host1 > contact_groups group1 > } > > define service{ > use > disk-unix-service_template > service_description disk-unix-service-group1 > host_name host2 > contact_groups group2 > } > > Regards, > dean > > -----Original Message----- > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > Sent: June 27, 2003 12:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service notifications and host groups > > Hello. > > I was wondering if someone could clarify notifications for me. > According to the documentation, host notifications (when a server goes > down or comes back up) are sent to contact_groups defined in the > hostgroups file. > > # 'all' host group definition > define hostgroup{ > hostgroup_name All > alias All Systems > contact_groups group1 > members * > } > > So according to this definition, when any server goes down, the group > group1 gets notified. > > Now, when a service on any of these servers goes down, the contact_group > for the hostgroup is not used, rather the contact_group for the service > definition gets notified. > > Can I somehow set it up so that when a service on a host goes down, the > contact_group associated with that host gets notified? > > For instance, I have a service definition: > > define service{ > use disk-unix-service > host_name host1, host2 > < lots of stuff deleted> > } > > When the service on host1 goes down, I want the contact_group group1 to > be notified. I can do this by putting > > contact_groups group1 > > Into the service definition. But, I when this service breaks on host2, > I don't want group1 to be notified. I want group2 to be notified. So > really I just want the services on each server to be tied to the host > notifications instead of the service notifications. > > Thank you much. > Dan > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at atcomputerconsulting.com Sat Jun 28 20:47:10 2003 From: andy at atcomputerconsulting.com (Andy Stein) Date: Sat, 28 Jun 2003 14:47:10 -0400 (EDT) Subject: Restart windows processes? In-Reply-To: References: Message-ID: <1973.192.168.1.5.1056826030.squirrel@www.atcomputerconsulting.com> I'd been looking for this for a while, and here is what I came up with and it works pretty darn good. Get openSSH installed on your windows box. http://lexa.mckenna.edu/sshwindows/ is a site that has a very simple install. Hurry up, site might be moving shortly. Get it configured so the Nagios process can use public key authentication on the box with the service to restart. And when it fails, have an event handler bounce the service. One problem that I ran into was running scripts from the ssh command originating from my linux box. I had pathing problems. When I would do something like: "ssh windowserver -l myid restartservice.cmd" it couldn't find it. So my solution was to just put the script in the system32 folder. I do this with each script for a restart that I need to perform. I also had problems with \ and a few other issues. So I basically do everything within the script and only pass a small set of parameters like host name with no \ in it. Hope this helps. > you could use Samba-TNG, to build a plugin that will restart a windows > service/process. > > Lane > > -----Original Message----- > From: Olivier Beauchemin > To: nagios-users at lists.sourceforge.net > Sent: 6/27/2003 5:15 PM > Subject: [Nagios-users] Restart windows processes? > > > ...I was hoping someone here will know of a Nagios plug-in that will > check and restart *Windows* processes? > > I've not been able to find anything that will do this, but I might just > have overlooked some nuance of some plug-in somewhere. > > Thanks, > Olivier > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Sat Jun 28 21:11:21 2003 From: larry.bills at mci.com (Larry Bills) Date: Sat, 28 Jun 2003 14:11:21 -0500 Subject: Service notifications and host groups References: <2E3E9736615DD311895D00105A9CADED014BCDB6@eentsvr40.ehvert.com> <00b101c33d87$c46b46f0$7da9fea9@slonenok> Message-ID: <010901c33da9$0fb20c40$6401a8c0@mcilink.com> Dan.... et.al This is not at all an practice in general in the industry for large corporations involved in the computer business. For some of our servers have the operating system and hardware taken care of an outsourced company, while the applications on the servers are taken care of by many different parties, that may or may not be related. Servers running 32 cpu's and several terrabytes of memory and disk space, are not usually all one group of users. Also some require customer notification for some items only, and many different support groups are involved within one server environment. What about 10 different Oracle databases for instance on one server, managed by 10 different groups for 10 different applications. We have over 5000 servers similar to this scenerio. Just my 2 cents Larry Bills ----- Original Message ----- From: "Dan Tulovsky" To: Sent: Saturday, June 28, 2003 10:12 AM Subject: Re: [Nagios-users] Service notifications and host groups > Hello.... > > I am curious to know what the logic behind breaking up the notifications > this way was? In general people responsible for a host are also responsible > for the services running on that host so it would make sense to notify the > host administrator when things go wrong. > > Is this something that will possible be changed in version 2.0? The way I > want to setup notifications, I will have to have an extremely large number > of service definitions and it will become all but unmanageable. > > Thank you > Dan > > > ----- Original Message ----- > From: "Dean Bishop" > To: "'Dan Tulovsky'" ; > > Sent: Friday, June 27, 2003 1:14 PM > Subject: RE: [Nagios-users] Service notifications and host groups > > > > Dan, > > > > Nope, you need to break your service definition into two service > > definitions, each with its own contact_group directive, to accomplish > this. > > > > Templating may help in easing your pain. > > > > define service{ > > use disk-unix-service > > service_description disk-unix-service_template > > < lots of stuff deleted> > > register 0 > > } > > > > define service{ > > use > > disk-unix-service_template > > service_description disk-unix-service-group1 > > host_name host1 > > contact_groups group1 > > } > > > > define service{ > > use > > disk-unix-service_template > > service_description disk-unix-service-group1 > > host_name host2 > > contact_groups group2 > > } > > > > Regards, > > dean > > > > -----Original Message----- > > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > > Sent: June 27, 2003 12:17 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Service notifications and host groups > > > > Hello. > > > > I was wondering if someone could clarify notifications for me. > > According to the documentation, host notifications (when a server goes > > down or comes back up) are sent to contact_groups defined in the > > hostgroups file. > > > > # 'all' host group definition > > define hostgroup{ > > hostgroup_name All > > alias All Systems > > contact_groups group1 > > members * > > } > > > > So according to this definition, when any server goes down, the group > > group1 gets notified. > > > > Now, when a service on any of these servers goes down, the contact_group > > for the hostgroup is not used, rather the contact_group for the service > > definition gets notified. > > > > Can I somehow set it up so that when a service on a host goes down, the > > contact_group associated with that host gets notified? > > > > For instance, I have a service definition: > > > > define service{ > > use disk-unix-service > > host_name host1, host2 > > < lots of stuff deleted> > > } > > > > When the service on host1 goes down, I want the contact_group group1 to > > be notified. I can do this by putting > > > > contact_groups group1 > > > > Into the service definition. But, I when this service breaks on host2, > > I don't want group1 to be notified. I want group2 to be notified. So > > really I just want the services on each server to be tied to the host > > notifications instead of the service notifications. > > > > Thank you much. > > Dan > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.tulovsky at sbiandcompany.com Sat Jun 28 22:06:03 2003 From: dan.tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Sat, 28 Jun 2003 16:06:03 -0400 Subject: Service notifications and host groups References: <2E3E9736615DD311895D00105A9CADED014BCDB6@eentsvr40.ehvert.com> <00b101c33d87$c46b46f0$7da9fea9@slonenok> <010901c33da9$0fb20c40$6401a8c0@mcilink.com> Message-ID: <001901c33db0$b700fea0$7da9fea9@slonenok> Larry, You are absolutely correct. But now lets step down and think of the thousands upon thousands smaller companies that may have a number of different offices, but in each office you have 1 or 2 people who manage all the servers and everything that runs on them. Now imagine you have a single admin that is responsible for all the exchange servers in all the office, then 1 or 2 firewalls admins who is responsible for all the firewalls in all offices. This is the situation I am up against. I've divided Nagios up by office with a notification group for each office. But now I have a firewall admin who would like to be notified not only when the firewall (host) goes down, but when its disk space is running low, or when the ping latency is too high. I have one ping service per office that ping everything in that office, including the firewall. Since the firewall admin doesn't care if a dev server in such and such office goes down, I now have to create a separate service definition just for the firewall ping. And then for the firewall disk. And then for the exchange server ping and disk. Perhaps there should be an option in nagios to do it one way or the other. For most smaller companies you will find that one person is responsible for a machine and all the services on it. Very few such companies will have a 32 cpu machine running 10 instances of Oracle. Thank you. Dan ----- Original Message ----- From: "Larry Bills" To: "Dan Tulovsky" ; Sent: Saturday, June 28, 2003 3:11 PM Subject: Re: [Nagios-users] Service notifications and host groups > Dan.... et.al > > This is not at all an practice in general in the industry for large > corporations involved in the computer business. For some of our servers have > the operating system and hardware taken care of an outsourced company, while > the applications on the servers are taken care of by many different parties, > that may or may not be related. Servers running 32 cpu's and several > terrabytes of memory and disk space, are not usually all one group of users. > > Also some require customer notification for some items only, and many > different support groups are involved within one server environment. What > about 10 different Oracle databases for instance on one server, managed by > 10 different groups for 10 different applications. > > We have over 5000 servers similar to this scenerio. > > Just my 2 cents > > Larry Bills > > ----- Original Message ----- > From: "Dan Tulovsky" > To: > Sent: Saturday, June 28, 2003 10:12 AM > Subject: Re: [Nagios-users] Service notifications and host groups > > > > Hello.... > > > > I am curious to know what the logic behind breaking up the notifications > > this way was? In general people responsible for a host are also > responsible > > for the services running on that host so it would make sense to notify the > > host administrator when things go wrong. > > > > Is this something that will possible be changed in version 2.0? The way I > > want to setup notifications, I will have to have an extremely large number > > of service definitions and it will become all but unmanageable. > > > > Thank you > > Dan > > > > > > ----- Original Message ----- > > From: "Dean Bishop" > > To: "'Dan Tulovsky'" ; > > > > Sent: Friday, June 27, 2003 1:14 PM > > Subject: RE: [Nagios-users] Service notifications and host groups > > > > > > > Dan, > > > > > > Nope, you need to break your service definition into two service > > > definitions, each with its own contact_group directive, to accomplish > > this. > > > > > > Templating may help in easing your pain. > > > > > > define service{ > > > use disk-unix-service > > > service_description disk-unix-service_template > > > < lots of stuff deleted> > > > register 0 > > > } > > > > > > define service{ > > > use > > > disk-unix-service_template > > > service_description disk-unix-service-group1 > > > host_name host1 > > > contact_groups group1 > > > } > > > > > > define service{ > > > use > > > disk-unix-service_template > > > service_description disk-unix-service-group1 > > > host_name host2 > > > contact_groups group2 > > > } > > > > > > Regards, > > > dean > > > > > > -----Original Message----- > > > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > > > Sent: June 27, 2003 12:17 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Service notifications and host groups > > > > > > Hello. > > > > > > I was wondering if someone could clarify notifications for me. > > > According to the documentation, host notifications (when a server goes > > > down or comes back up) are sent to contact_groups defined in the > > > hostgroups file. > > > > > > # 'all' host group definition > > > define hostgroup{ > > > hostgroup_name All > > > alias All Systems > > > contact_groups group1 > > > members * > > > } > > > > > > So according to this definition, when any server goes down, the group > > > group1 gets notified. > > > > > > Now, when a service on any of these servers goes down, the contact_group > > > for the hostgroup is not used, rather the contact_group for the service > > > definition gets notified. > > > > > > Can I somehow set it up so that when a service on a host goes down, the > > > contact_group associated with that host gets notified? > > > > > > For instance, I have a service definition: > > > > > > define service{ > > > use disk-unix-service > > > host_name host1, host2 > > > < lots of stuff deleted> > > > } > > > > > > When the service on host1 goes down, I want the contact_group group1 to > > > be notified. I can do this by putting > > > > > > contact_groups group1 > > > > > > Into the service definition. But, I when this service breaks on host2, > > > I don't want group1 to be notified. I want group2 to be notified. So > > > really I just want the services on each server to be tied to the host > > > notifications instead of the service notifications. > > > > > > Thank you much. > > > Dan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MAIL02 at dom.com Sun Jun 29 05:41:19 2003 From: MAIL02 at dom.com (MAIL02 at dom.com) Date: Sat, 28 Jun 2003 23:41:19 -0400 Subject: Report to Recipient(s) Message-ID: Incident Information:- Originator: nagios-users-admin at lists.sourceforge.net Recipients: Subject: [Nagios-users] Re: Application The file your_details.zip (details.pif) you received was infected with the W32/Sobig.e at MM virus and was deleted. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at inode.at Sun Jun 29 07:01:02 2003 From: support at inode.at (Inode - Mailscan) Date: Sun, 29 Jun 2003 07:01:02 +0200 Subject: Virus "W32/Sobig-E" gefunden Message-ID: Sehr geehrte Damen und Herren, in dem Mail mit dem Betreff '[Nagios-users] Re: Application' (gesendet am Sat, 28 Jun 2003 23:16:06 --0400) von wurde der Virus 'W32/Sobig-E' gefunden. Aus diesem Grund wird diese Mail nicht zugestellt. Ihr Inode-Team ---------- Dear Customer, the mail with Subject '[Nagios-users] Re: Application' (sent on Sat, 28 Jun 2003 23:16:06 --0400) from contained a virus known as 'W32/Sobig-E'. Due to this reason the Mail will not be delivered. Your Inode-Team ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From qmvc at tdkom.com.br Sun Jun 29 07:24:50 2003 From: qmvc at tdkom.com.br (qmvc at tdkom.com.br) Date: 29 Jun 2003 02:24:50 -0300 Subject: Infected E-Mail Message-ID: <20030629052450.7224.qmail@ramulus.tdkom.psi.br> >>>>>>>>>> O e-mail enviado para voc? <<<<<<<<<<< De / Assunto nagios-users-admin at lists.sourceforge.net / [Nagios-users] Re: Application foi encontrado um v?rus no arquivo Anexado, e este v?rus, n?o foi enviado para voc?. Informa??es sobre o V?rus: +++ Virus Scanner : details.pif : W32/Sobig-E Se voc? tiver futuras quest?es, por favor, consulte o nosso especialista de E-mail: Para a sua informa??o, n?s inclu?mos uma parte filtrada da mensagem original do E-mail. * ------ A mensagem original segue abaixo: ------ * Please see the attached zip file for details. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Sun Jun 29 11:25:05 2003 From: twelsh at square-box.com (twelsh) Date: 29 Jun 2003 09:25:05 -0000 Subject: Notifications when I don\'t want them In-Reply-To: References: Message-ID: <20030629092505.13635.qmail@pod-163.dolphin-server.co.uk> Thanks for that chris, We were aware of the problem but it appers to be a prob with the forums software we use and the amount of messages we get from nagios-users. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sun Jun 29 11:57:27 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 29 Jun 2003 19:57:27 +1000 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu>; from rouilj@cs.umb.edu on Sat, Jun 28, 2003 at 03:48:16PM -0400 References: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu> Message-ID: <20030629195722.A229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you very much for bring 'sec' (http://www.estpak.ee/~risto/sec/) to my attention. For a long time now I have wanted a means of handling snmp traps . without having to write trap handlers - difficult to test and difficult to ensure that the output of the handler matches a Nag service. . to allow multiple trap services per host . to allow basic interpretation of the trap based on either the value of the trap or the var-binds It seems to me that sec, reading the log file of snmptrapd will do this for me. Another contender - to trying to hack it myself - was snort but snort is big, and quite simply, doesn't seem to allow processing outside of yet another handle as sec does. Unfortunately, I cannot comment about it's use for event correlation other than say it sounds a good thing because (in case you didn't mention it), there is the intriguing possibility of modelling complex services like business systems whose state is dependent on a number of processes. This can be done with dependent services - maybe - but sec sounds like it could do this better. Thank you, 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 From rouilj at cs.umb.edu Sun Jun 29 16:07:29 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 29 Jun 2003 10:07:29 -0400 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: Your message of "Sun, 29 Jun 2003 19:57:27 +1000." <20030629195722.A229@IPAustralia.Gov.AU> References: <20030629195722.A229@IPAustralia.Gov.AU> Message-ID: <200306291407.h5TE7TxM027725@mx1.cs.umb.edu> In message <20030629195722.A229 at IPAustralia.Gov.AU>, Stanley Hopcroft writes: >For a long time now I have wanted a means of handling snmp traps > >. without having to write trap handlers - difficult to test and > difficult to ensure that > the output of the handler > matches a Nag service. > >. to allow multiple trap services per host > >. to allow basic interpretation of the trap based on either the > value of the trap or the var-binds > >It seems to me that sec, reading the log file of snmptrapd will do this >for me. It probably can. Also sec allows matching patterns over multiple lines, this makes it easier to digest the varbindings etc. Note that you are still writing a trap handler, but it is written in sec rather than another language. The regular expressions to match traps and all the variable bindings may be lengthy. I use a simple shell script to turn traps into nagios external commands, and it works for me. Also note that you will need to wait for a later sec release than 2.1.7, or hack the sec code to allow embedding ;'s in the action string, or you can call an external shell command that just pastes together the components of a PROCESS_SERVICE_CHECK command with ;'s and use the shellcmd action to call it. >Another contender - to trying to hack it myself - was snort but snort is >big, and quite simply, doesn't seem to allow processing outside of yet >another handle as sec does. Are you sure you mean snort (it's an IDS IIRC)? I use sec for a superset of the tasks that I handled with logwatch, swatch and logsurfer. Actually, I pushed for features from logsurfer to be added to sec (event stores). Now that said, there are rules on the sec site that correlate snort output into a more managable form. Also I use cascading sec's with the child secs started by spawn actions to turn multiline events into single line events, or to create new composite events that are correlated by the master sec. >Unfortunately, I cannot comment about it's use for event correlation >other than say it sounds a good thing because (in case you didn't >mention it), there is the intriguing possibility of modelling complex >services like business systems whose state is dependent on a number of >processes. Dynamic filtering based on the state of other operations is what I was trying to demonstrate in some of my examples like suppressing bandwidth alerts on an interface while a jumpstart (a system install booting and loading software over the network) was running. I detect the jumpstart by looking for a bootparamd request followed by a tftp of a particular file. This sets a flag (context) that activates a SingleWith2Thresholds rules that will destroy the flag once the rate of alerts drops below 2 in 30 minutes. So the rule automatically resets itself once the load on the interface drops back into the normal range, but the start time depends on two other events occurring within a certain time frame. >This can be done with dependent services - maybe - but sec sounds like >it could do this better. I would say sec is more flexible in that timing relationships between service alerts can also be accounted for make sec very powerful. Also the ability to define flapping the way you want to (sadly there is no way to indicate this to nagios. A "SET_FLAPPING" external command would be useful) and suppressing the initial flaps is useful too. I support a lot of development systems that have only one or two people working on it. It is common for them to reboot the machines a couple of times for patch installs, etc. I have a sec rule set up that will not alert me when a specific range of interfaces sends a link down trap, unless it exceeds the threshold of three link down/link up cycles in 5 minutes. If that threshold is crossed, I expect that they have screwed up the ability of the machine to complete a successful boot, and I need to look at what is happening. Then it will reset after the interface has not dropped in 30 minutes. Otherwise I consider it to still be unstable, and it needs my attention. Things like that are not currently possible with sec because of the explicit time dependence on a passive check. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 From walk2137 at bellsouth.net Sun Jun 29 20:23:59 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Sun, 29 Jun 2003 14:23:59 -0400 Subject: distributed monitoring - same named hosts? Message-ID: <3EFF2EBF.4060300@bellsouth.net> How do you deal with same named hosts in a distributed monitoring environment? e.g. suppose I have a local nagios "sensor" at each of several different remote sales offices. they use nsca to send the data back to the central server. Each office has a server called "mail". What are the various methods y'all are using to manage this situation and avoid confusion. Is there a $MACRO$ that identifies the nagios host the service check was executed FROM? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Sun Jun 29 20:47:05 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 29 Jun 2003 13:47:05 -0500 Subject: distributed monitoring - same named hosts? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4750@mismail.ena.com> I would suggest coming up with a standard naming convention that incorporates location. Mail-bna, mail-sfo (airport codes) Mail-nash, mail-sanf (first 4 of city) We mostly monitor routers in schools and use the following -- Mcgavock-hs.davidson.tn That can easily be enhacned by prepending with a device type Mail.mcgavock-hs.davidson.tn -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Martin C. Walker To: nagios-users at lists.sourceforge.net Sent: Sun Jun 29 13:23:59 2003 Subject: [Nagios-users] distributed monitoring - same named hosts? How do you deal with same named hosts in a distributed monitoring environment? e.g. suppose I have a local nagios "sensor" at each of several different remote sales offices. they use nsca to send the data back to the central server. Each office has a server called "mail". What are the various methods y'all are using to manage this situation and avoid confusion. Is there a $MACRO$ that identifies the nagios host the service check was executed FROM? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From walk2137 at bellsouth.net Sun Jun 29 23:57:40 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Sun, 29 Jun 2003 17:57:40 -0400 Subject: processing performance data - input, corrections solicited Message-ID: <3EFF60D4.5070203@bellsouth.net> I am trying to process performance data to generate rrd's which I can then use with APAN, Cacti and some other stuff. I am in a distributed monitoring environment. Remote nagios boxen execute service checks against their various local machines and send the results back to the central host via nsca over stunnel. central box cannot check remote hosts and services. it is passive only. Now I want to generate rrd's which have to live on the central host (not each individual machine). I do not want to execute each check more than once (ie NOT once for nagios and once for performance data) and I do not want to repetitively copy rrd's from the remote boxen to the central host. that means that the data used to create the rrd's comes from the service check output. it doesn't look like there is any benefit to using nagios process_perf_data as that only gives me a line of text data on the sensor box which I still have to parse and send to the central box for processing into rrdtool. It looks like I can get everything I need from nagios.log entries on the central box. that includes the timestamp, host, service, results output. so, what I plan on doing is writing a daemon (perl probably) that reads input lines from nagios.log and matches them against a configuration file to see if they are of interest (obviously I'm not graphing every service check). if the result is to be graphed I then pull out the interesting data and do an rrdupdate with it. its the pulling out of interesting data that has me stumped. I was planning on a configuration file that had entries of the form SENSOR_NAME;HOST_NAME;SERVICE_NAME;DSN1:expr1;[DSN2:expr2;...DSNn:exprn;] my daemon would match host_name and service_name entries in the nagios.log file and update the rrdfile in /usr/local/rra/$SENSOR_NAME/$HOST_NAME/$SERVICE_NAME.rrd using -template and the DSN names defined in the configuration file. The expression associated with each DSN in the configuration file is the string manipulation code to apply to the output string in the nagios.log to pluck out the data that goes into the rrd file. So, my questions, before I (attempt to) write all this: 1. is this the way to go or am I missing something? 2. if it is the way to go, has someone already written it? 3. if not, can anyone give me some pointers on what to use and how to write the expr bits? I am planning on using perl since it is supposed to have good string manipulation and has rrdtool bindings. Learning Perl will be part of this effort since I havn't done much more than print "Hello World\n" with it. Is Perl the best choice for this? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jun 30 01:02:30 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 30 Jun 2003 09:02:30 +1000 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: <20030629195722.A229@IPAustralia.Gov.AU>; from Stanley.Hopcroft@ipaustralia.gov.au on Sun, Jun 29, 2003 at 07:57:27PM +1000 References: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu> <20030629195722.A229@IPAustralia.Gov.AU> Message-ID: <20030630090224.A228@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, s/snort/swatch/g ( I meant Swatch but said Snort ). 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 From stittel at xs4all.nl Mon Jun 30 08:13:40 2003 From: stittel at xs4all.nl (Stephen Tittel) Date: Mon, 30 Jun 2003 08:13:40 +0200 Subject: Undefined reference to gdImageCreateFromJpeg - statusmap.c Message-ID: <000001c33ece$c5b0a8a0$650aa8c0@tittel.nl> Hi, During Nagios compilation, I got the following error in the statusmap.c file: Undefined reference to gdImageCreateFromJpeg Does anyone know what the solution might be? I use Redhat 8.1. Thanks, Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Mon Jun 30 10:27:48 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 30 Jun 2003 01:27:48 -0700 Subject: processing performance data - input, corrections solicited References: <3EFF60D4.5070203@bellsouth.net> Message-ID: Maybe I didn't understand some part, but why can't you run a Process Performance Data command on the central server? The perfdata command (on the central server) would parse any information you want (available via macros) and put them into the RRDs. Or, if you're using the file-based method, you can run the rrd-update script from cron, which parses the central server's perf-data-file every so often (again, use the macros to pass any information you need to the command). "Martin C. Walker" wrote in message news:3EFF60D4.5070203 at bellsouth.net... > I am trying to process performance data to generate rrd's which I can > then use with APAN, Cacti and some other stuff. > > I am in a distributed monitoring environment. Remote nagios boxen > execute service checks against their various local machines and send the > results back to the central host via nsca over stunnel. central box > cannot check remote hosts and services. it is passive only. > > Now I want to generate rrd's which have to live on the central host (not > each individual machine). I do not want to execute each check more than > once (ie NOT once for nagios and once for performance data) and I do not > want to repetitively copy rrd's from the remote boxen to the central > host. that means that the data used to create the rrd's comes from the > service check output. > > it doesn't look like there is any benefit to using nagios > process_perf_data as that only gives me a line of text data on the > sensor box which I still have to parse and send to the central box for > processing into rrdtool. It looks like I can get everything I need from > nagios.log entries on the central box. that includes the timestamp, > host, service, results output. > > so, what I plan on doing is writing a daemon (perl probably) that reads > input lines from nagios.log and matches them against a configuration > file to see if they are of interest (obviously I'm not graphing every > service check). if the result is to be graphed I then pull out the > interesting data and do an rrdupdate with it. > > its the pulling out of interesting data that has me stumped. I was > planning on a configuration file that had entries of the form > > SENSOR_NAME;HOST_NAME;SERVICE_NAME;DSN1:expr1;[DSN2:expr2;...DSNn:exprn;] > > my daemon would match host_name and service_name entries in the > nagios.log file and update the rrdfile in > /usr/local/rra/$SENSOR_NAME/$HOST_NAME/$SERVICE_NAME.rrd > > using -template and the DSN names defined in the configuration file. > The expression associated with each DSN in the configuration file is the > string manipulation code to apply to the output string in the nagios.log > to pluck out the data that goes into the rrd file. > > So, my questions, before I (attempt to) write all this: > 1. is this the way to go or am I missing something? > 2. if it is the way to go, has someone already written it? > 3. if not, can anyone give me some pointers on what to use and how to > write the expr bits? > > I am planning on using perl since it is supposed to have good string > manipulation and has rrdtool bindings. Learning Perl will be part of > this effort since I havn't done much more than print "Hello World\n" > with it. Is Perl the best choice for this? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Mon Jun 30 17:16:57 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 30 Jun 2003 12:16:57 -0300 Subject: NagiosWeb experience Message-ID: <20030630151659.29641.qmail@linuxmail.org> Did anyone have some experience with NagiosWeb [1] ? I search the list, but found just 3 messages not substantial. It seems to be a good way to large configurations (services, hosts...). [1] - http://sourceforge.net/projects/nagiosweb Thanks in advance, -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcone at univates.br Mon Jun 30 18:16:37 2003 From: marcone at univates.br (Marcone Luis Theisen) Date: Mon, 30 Jun 2003 13:16:37 -0300 Subject: check_disk problems Message-ID: <3F006265.1090709@univates.br> Hi, When I execute the command: /usr/local/nagios/libexec/check_disk -w 30 -c 10 -p /dev/hda2 DISK OK [5285776 kB (20%) free on /dev/hda2] The message is DISK OK, but must be DISK WARNING. This is not running...?!? or when execute: /usr/local/nagios/libexec/check_disk -w 40 -c 30 -p /dev/hda2 DISK OK [5285764 kB (20%) free on /dev/hda2] The message is DISK OK, who is the CRITICAL message ? I'm have Nagios 1.1 and Slack 8.1. Thank's -- +--------------------------------------------------------+ | Marcone Luis Theisen | | SOLIS - Solu??es em Software Livre - www.solis.coop.br | | Centro Tecnol?gico UNIVATES - www.univates.br | | SDSL - 1 Seminario de desenv. de software livre | | www.inf.unisinos.br/sdsl | +--------------------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brian.Ipsen-sender-25cac0 at andebakken.dk Mon Jun 30 18:38:44 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Mon, 30 Jun 2003 18:38:44 +0200 Subject: check_disk problems In-Reply-To: <3F006265.1090709@univates.br> References: <3F006265.1090709@univates.br> Message-ID: Hi, > When I execute the command: > > /usr/local/nagios/libexec/check_disk -w 30 -c 10 -p /dev/hda2 > DISK OK [5285776 kB (20%) free on /dev/hda2] > > The message is DISK OK, but must be DISK WARNING. > This is not running...?!? > > or when execute: > > /usr/local/nagios/libexec/check_disk -w 40 -c 30 -p /dev/hda2 > DISK OK [5285764 kB (20%) free on /dev/hda2] > > The message is DISK OK, who is the CRITICAL message ? > > I'm have Nagios 1.1 and Slack 8.1. The syntax from check_disk: # ./check_disk -h check_disk (nagios-plugins 1.3.0) 1.7 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 Ethan Galstad/Karl DeBisschop This plugin will check the percent of used disk space on a mounted file system and generate an alert if percentage is above one of the threshold values. Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [--verbose] check_disk (-h|--help) check_disk (-V|--version) Options: -w, --warning=INTEGER Exit with WARNING status if less than INTEGER kilobytes of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER kilobytes of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free Did you remember the percentage '%' in your limits ?? If not, it checks kilobytes instead of percentages.. /Brian ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Jun 30 18:39:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 30 Jun 2003 11:39:21 -0500 Subject: distributed monitoring - same named hosts? Message-ID: That's one way of doing it. Another way would be to set up different DNS zones. Same hostname, different subdomain. Although I must admit that naming a host based on a primary function isn't always ideal. Better off with hostnames which are more loosely coupled. Themes work well, like Disney character names, or Star Trek character names, or Simpsons character names... you get the idea. Somewhere there's an RFC which gives recommendations for naming hosts. jc -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Sunday, June 29, 2003 1:47 PM To: walk2137 at bellsouth.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] distributed monitoring - same named hosts? I would suggest coming up with a standard naming convention that incorporates location. Mail-bna, mail-sfo (airport codes) Mail-nash, mail-sanf (first 4 of city) We mostly monitor routers in schools and use the following -- Mcgavock-hs.davidson.tn That can easily be enhacned by prepending with a device type Mail.mcgavock-hs.davidson.tn -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Martin C. Walker To: nagios-users at lists.sourceforge.net Sent: Sun Jun 29 13:23:59 2003 Subject: [Nagios-users] distributed monitoring - same named hosts? How do you deal with same named hosts in a distributed monitoring environment? e.g. suppose I have a local nagios "sensor" at each of several different remote sales offices. they use nsca to send the data back to the central server. Each office has a server called "mail". What are the various methods y'all are using to manage this situation and avoid confusion. Is there a $MACRO$ that identifies the nagios host the service check was executed FROM? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Mon Jun 30 20:03:30 2003 From: larry.bills at mci.com (Larry Bills) Date: Mon, 30 Jun 2003 13:03:30 -0500 Subject: NRPE reporting caution---Setup problem-NOT a bug In-Reply-To: <010901c33da9$0fb20c40$6401a8c0@mcilink.com> References: <2E3E9736615DD311895D00105A9CADED014BCDB6@eentsvr40.ehvert.com> <00b101c33d87$c46b46f0$7da9fea9@slonenok> <010901c33da9$0fb20c40$6401a8c0@mcilink.com> Message-ID: <1056996211.1231.37.camel@penguin3.mcilink.com> This was with version 1.2.5 of NRPE but would appear you can bite yourself on all versions with this, as well as using NSCA for passive checks. It involved an oversight on our part that bit us hard one afternoon. I am presenting it here to hopefully not have this happen to others. We do not use the U or unknown feature of notifications for our alerting. All notifies/pages are the result of Critical, Warning or Recovery states. A monitored server started acting strange, but found applications running ok. Checking Nagios, found that it was reporting UNKNOWN on all NRPE monitored processes on that server, yet no critical or other states of those not using NRPE, so no alarms were sent out. Logging onto the Solaris server, found one of the scsi cards had failed, you got it, the one supporting NRPE plugins on the server, while the other partitions were fine. Since NRPE loads its binary with configs into memory, it was running fine, however the plugins were not accessable due to the failure of the partition associated with them, hence the UNKNOWN reply. Since we use the UNKNOWN notification for other uses, it was not possible to alert on it for the processes running on the server, and we did not want numerous alerts going out one for each process, so for a quick fix, instead of changing the NRPE code..which is not at fault here, we run a check against a NRPE check_dummy plugin and alert the server SA and the Nagios SA, if it returns UNKNOWN ...not great but works for a quick fix. Larry Bills ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Mon Jun 30 21:03:44 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 30 Jun 2003 15:03:44 -0400 Subject: snmp trap Message-ID: <5.1.0.14.0.20030630150053.00b54d10@pop.icnet.com.ve> Hi, I want to receive traps snmp from cisco routers and win2000 servers. First, I want to configure receive the traps from cisco routers, but i don?t know what I have to do in my nagios server? Thanks Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Mon Jun 30 21:47:32 2003 From: td3201 at yahoo.com (Terry) Date: Mon, 30 Jun 2003 12:47:32 -0700 (PDT) Subject: nagios downtime - availability Message-ID: <20030630194732.75291.qmail@web80512.mail.yahoo.com> Is there a way to tell nagios that it is down and to not include that time period in the availability cgi ? Or a way to tell nagios that it was down during a time period to help get rid of the undetermined times? ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rt_mena at yahoo.com Mon Jun 30 22:05:36 2003 From: rt_mena at yahoo.com (Robert Mena) Date: Mon, 30 Jun 2003 13:05:36 -0700 (PDT) Subject: Error: Host name, alias, or address is NULL Message-ID: <20030630200536.95598.qmail@web9805.mail.yahoo.com> Hi, I am migrating my config from netsaint to nagios but got stuck in one error. I have erased the hosts.cfg and defined just one host. define host{ name lan retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r check_command check-host-alive register 0 } define host{ name router retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r check_command check-router-alive register 0 } define host{ name wireless retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r parents wl check_command check-host-alive register 0 } define host{ use lan name zeus alias Email/Radius address AA.BB.CC.DD } That's it. When I start nagios it prompts Jun 30 15:46:52 host nagios: Error: Host name, alias, or address is NULL Jun 30 15:46:52 host nagios: Error: Could not register host (config file '/usr/local/nagios/etc/hosts.cfg', line 57) Jun 30 15:46:52 host nagios: Nagios 1.1 starting... (PID=25825) Jun 30 15:46:52 host nagios: Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=25825) Any ideias ? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Mon Jun 30 22:05:46 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Mon, 30 Jun 2003 17:05:46 -0300 Subject: RES: check_disk problems Message-ID: <2B5E53529D83E945A7E837BC030CECF107D3D8DA@ntweb.globocabo.com.br> You forgot to put the % simbol after de 30 and 10. So it was counting Kbytes. []s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Marcone Luis Theisen [SMTP:marcone at univates.br] > Enviada em: segunda-feira, 30 de junho de 2003 13:17 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] check_disk problems > > Hi, > > When I execute the command: > > /usr/local/nagios/libexec/check_disk -w 30 -c 10 -p /dev/hda2 > DISK OK [5285776 kB (20%) free on /dev/hda2] > > The message is DISK OK, but must be DISK WARNING. > This is not running...?!? > > or when execute: > > /usr/local/nagios/libexec/check_disk -w 40 -c 30 -p /dev/hda2 > DISK OK [5285764 kB (20%) free on /dev/hda2] > > The message is DISK OK, who is the CRITICAL message ? > > I'm have Nagios 1.1 and Slack 8.1. > > Thank's > > > -- > +--------------------------------------------------------+ > | Marcone Luis Theisen | > | SOLIS - Solu??es em Software Livre - www.solis.coop.br | > | Centro Tecnol?gico UNIVATES - www.univates.br | > | SDSL - 1 Seminario de desenv. de software livre | > | www.inf.unisinos.br/sdsl | > +--------------------------------------------------------+ > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From walk2137 at bellsouth.net Mon Jun 30 23:13:18 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Mon, 30 Jun 2003 17:13:18 -0400 Subject: Snort/ACID alerts for Nagios? Message-ID: <3F00A7EE.9060300@bellsouth.net> I'm running Snort 2.0 with MySQL output plugin and ACID 0.9.6b23 on RH9 and using Nagios 1.0 as a monitoring tool Has anyone written a nagios check or other mechanism for alerting in Nagios based on a snort alert they would share? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Snort-users mailing list Snort-users at lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users From sghosh at sghosh.org Mon Jun 30 23:14:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 30 Jun 2003 17:14:37 -0400 (EDT) Subject: snmp trap In-Reply-To: <5.1.0.14.0.20030630150053.00b54d10@pop.icnet.com.ve> References: <5.1.0.14.0.20030630150053.00b54d10@pop.icnet.com.ve> Message-ID: On Mon, 30 Jun 2003, Jeyri Bautista wrote: > Hi, I want to receive traps snmp from cisco routers and win2000 servers. > > First, I want to configure receive the traps from cisco routers, but i > don?t know what I have to do in my nagios server? > Hi Jeryi First step - configure snmptrapd (Trap daemon) http://net-snmp.sourceforge.net/#Documentation Second step - integrate traps into nagios http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Mon Jun 30 23:13:22 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Mon, 30 Jun 2003 17:13:22 -0400 Subject: Error: Host name, alias, or address is NULL Message-ID: <876D16A9E7213C49BC987B31CFB7E4744458B5@mailnyc2.sbicorp.com> Hey... define host{ host_name host_name ... } You want host_name, not just name... Dan -----Original Message----- From: Robert Mena [mailto:rt_mena at yahoo.com] Sent: Monday, June 30, 2003 4:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error: Host name, alias, or address is NULL Hi, I am migrating my config from netsaint to nagios but got stuck in one error. I have erased the hosts.cfg and defined just one host. define host{ name lan retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r check_command check-host-alive register 0 } define host{ name router retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r check_command check-router-alive register 0 } define host{ name wireless retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options d,u,r parents wl check_command check-host-alive register 0 } define host{ use lan name zeus alias Email/Radius address AA.BB.CC.DD } That's it. When I start nagios it prompts Jun 30 15:46:52 host nagios: Error: Host name, alias, or address is NULL Jun 30 15:46:52 host nagios: Error: Could not register host (config file '/usr/local/nagios/etc/hosts.cfg', line 57) Jun 30 15:46:52 host nagios: Nagios 1.1 starting... (PID=25825) Jun 30 15:46:52 host nagios: Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=25825) Any ideias ? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emigdio at folhasp.com.br Mon Jun 30 23:09:12 2003 From: emigdio at folhasp.com.br (Emigdio Cardoso Filho) Date: Mon, 30 Jun 2003 18:09:12 -0300 Subject: Nagios implementation Message-ID: <01c101c33f4b$db052370$2310020a@corp.folhasp.com.br> if have nobody that would like me help about the configuration of Nagios ??? regards, Emigdio Cardoso Filho phone: 55-11-32247943 -------------- next part -------------- An HTML attachment was scrubbed... URL: