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 en