From saravanakumars at indiatimes.com Tue Oct 1 03:35:48 2002 From: saravanakumars at indiatimes.com (saravanakumars) Date: Tue, 01 Oct 2002 07:05:48 +0530 Subject: (no subject) Message-ID: <200210010122.GAA07524@WS0005.indiatimes.com> Dear Sir, I want unsubscribe from this group. Thank you Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in Change the way you talk. Indiatimes presents "Valufon", Your PC to Phone service with clear voice at rates far less than the normal ISD rates. Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireant at skycablenet.com Tue Oct 1 04:01:08 2002 From: fireant at skycablenet.com (Christopher Louie Cagasan) Date: Tue, 1 Oct 2002 10:01:08 +0800 Subject: MTA MIBs/Mail Monitoring Message-ID: <000e01c268ee$690251a0$52624eca@skyinet.net> Hi All, Has anybody successfully monitored message queues in nagios? I can't seem to find mibs for this. May someone please point me in the right direction? Thanks. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Oct 1 05:09:18 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 30 Sep 2002 23:09:18 -0400 (EDT) Subject: Monitoring router In-Reply-To: <32511.1033396867@www22.gmx.net> References: <32511.1033396867@www22.gmx.net> Message-ID: On Mon, 30 Sep 2002, Alexander Bergal wrote: > Hello! > Is there anything except check_snmp to monitoring routers? > Thanks. Any help will be appreciated. > > check_ifstatus, check_ifoperstatus, checkciscotemp -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stephen at clari.net.au Tue Oct 1 05:20:28 2002 From: stephen at clari.net.au (Stephen Cimarelli) Date: Tue, 01 Oct 2002 13:20:28 +1000 Subject: NRPE peculiarity References: Message-ID: <3D99147C.7080405@clari.net.au> Check if there is any errors logged in /var/log/messages on the nagios server at the same time, I could be caused by something that has nothing to do with nagios. I had a similar problem that turned out to be a script that was indexing a large web site and another was someone tring to hack in via ftp which caused problems with inetd. Carroll, Jim P [Contractor] wrote: > Definitely not on the Solaris/client side. And I don't believe that > portsentry is configured on the Nagios/server side. > > Please understand these error msgs are quite sporadic, ie, I can't reproduce > them. Just for giggles, I ran the following script from the Nagios host: > > while : > do > ../libexec/check_nrpe itdmln15 -c check_disk_var -to 30 > done > > and let it run for 5 mins. I didn't see it hiccup once. This is a snippet > of the output: > > DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] > DISK OK - [781680 kB (81%) free on /dev/vx/dsk/var] > DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] > DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] > > and so on. > > Thoughts? > > jc > > >>-----Original Message----- >>From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] >>Sent: Monday, September 30, 2002 1:54 AM >>To: Carroll, Jim P [Contractor]; nagios-users >>Subject: RE: [Nagios-users] NRPE peculiarity >> >> >>Are you sure you are not running portsentry or similar >>programs that blocks you out on the port NRPE is using? >> >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >>Sent: Fri 27-Sep-02 21:50 >>To: nagios-users >>Cc: >>Subject: [Nagios-users] NRPE peculiarity >> >>I'm starting to roll out NRPE across our hosts (3 so far), >>and on one of our >>busier ones am getting messages like this one in /var/adm/messages: >> >>Sep 27 13:35:17 itdmln15 nrpe[20712]: [ID 421412 >>daemon.error] Could not >>read request from client, bailing out... >> >>And on the Nagios side, this is the sort of message I'm getting from >>nagios.log (with the Perl-converted timestamp): >> >>[Fri Sep 27 13:35:34 2002] SERVICE ALERT: itdmln15;Total >>Users;UNKNOWN;SOFT;1;CHECK_NRPE: Received 0 bytes. Are we allowed to >>connect to the host? >> >>FWIW, the Nagios server is running Red Hat Linux 7.3 2.96-110 >>on a Dell >>Optiplex GX1, and the client running NRPE is running Solaris8 >>on an E6500. >>mii-tool on the Dell reports 100baseTx-FD, and I know that >>the E6500 is >>running at 100Mbps at full duplex. >> >>I know my Nagios host could probably benefit from a beefier >>box, but top >>reports that the system is doing quite well. >> >>Can anyone comment on this NRPE anomaly? Is this common, can >>I expect lots >>more of this sort of problem? Or do I need to tune >>something? (I can't >>imagine what, but still....) >> >>Suggestions welcomed. >> >>jc >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Cybo2K at ITbv.nl Tue Oct 1 07:56:19 2002 From: Cybo2K at ITbv.nl (Cybo2K) Date: Tue, 1 Oct 2002 07:56:19 +0200 Subject: MTA MIBs/Mail Monitoring In-Reply-To: <000e01c268ee$690251a0$52624eca@skyinet.net> References: <000e01c268ee$690251a0$52624eca@skyinet.net> Message-ID: <1033451779.3d993903c2eaf@webmail.qweb.nl> Chris, Have a look at information regarding "Mail and Directory Management (MADMAN)" at http://www.ietf.org/proceedings/96dec/charters/madman-charter.html, http://www.exchangefaq.org/managing/0037.php3 and Google NGs, Good Luck Quoting Christopher Louie Cagasan : > Hi All, > > Has anybody successfully monitored message queues in nagios? I can't seem to > find mibs > for this. May someone please point me in the right direction? > > Thanks. > > Christopher Louie Cagasan > Network Operations Center > Skycablenet, Inc. > > > ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From tdeblend at gcc.dhl.com Tue Oct 1 08:22:14 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 01 Oct 2002 08:22:14 +0200 Subject: cli client ? References: <1033419027.11169.15.camel@tux.its.uiowa.edu> Message-ID: <3D993F16.3304BD76@gcc.dhl.com> Try http://www.netsaint.org/download/contrib/addons/cl_status.tar.gz, it works fine for Netsaint, and maybe it does for Nagios as well! Daniel Wittenberg wrote: > > Anyone have a command-line client they'd like to share? I'd like to > have something for times when I can't get a web interface to see what's > going on, just to have a cli that will basically just show the "known > problems" screen. I guess worst case I could try and use lynx, but I > figure a native cli client would probably look better... > > Dan > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From VanDerWesthuizenB at aforbes.co.za Tue Oct 1 09:39:51 2002 From: VanDerWesthuizenB at aforbes.co.za (Van Der Westhuizen Brian) Date: Tue, 1 Oct 2002 09:39:51 +0200 Subject: trends.cgi broken Message-ID: <14AA054C41E6D5119CF800508BBBB641017459FE@afjhb0exch1.ms.aforbes.co.za> Hi all 1st off ....a very nice product this. well here is my problem i have the following error in my apache error log [Mon Sep 30 14:47:12 2002] [error] [client 172.17.15.222] Premature end of script headers: /usr/local/nagios/sbin/histogram.cgi ld.so.1: trends.cgi: fatal: libpng.so.2: open failed: No such file or directory background Solaris 8 all up to date versions of gcc, libpng, etc. compile goes thru fine and everything else looks fine. rest of nagios runs like a dream. any ideas/hints ...will be great ... Thanx Brian van der Westhuizen Confidentiality Warning ======================= The contents of this e-mail and any accompanying documentation are confidential and any use thereof, in what ever form, by anyone other than the addressee is strictly prohibited. ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From Marcus.Nilsson at Cannondale.com Tue Oct 1 11:05:39 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Tue, 1 Oct 2002 11:05:39 +0200 Subject: Notification problem. Message-ID: Hi, This is probably very easy and I am quite novel on Linux so bare with me. This is what I get in /usr/local/nagios/var/nagios.log: [1033453141] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: PROBLEM\nHost: Oldenzaal01\nState: DOWN\nAddress: 192.168.206.82\nInfo: CRITICAL - Plugin timed out after 10 seconds\n\nDate/Time: Tue Oct 1 08:19:01 CEST 2002\n" | -s "Host DOWN alert for Oldenzaal01!" marcus.nilsson at cannondale.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1033453441] HOST NOTIFICATION: nilssonm;Oldenzaal01;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds Do I need sendmail installed to get the notify-by-email function to work? The box is running Linux Slackware 8.1 Thanks in advice. Marcus Nilsson Cannondale Corp. ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From jamie.baddeley at bclnz.net Tue Oct 1 11:47:45 2002 From: jamie.baddeley at bclnz.net (Jamie) Date: Tue, 1 Oct 2002 21:47:45 +1200 Subject: Monitoring router References: Message-ID: <002301c2692f$993a2820$fe784fcb@paradise.net.nz> Hi, I checked your suggestions. hmm. No warning or critical triggers. I think it's easier to use check_snmp if you want to look at interface state. Just do an snmpwalk to discover the OID you're interested in. It's quite good - you can customise the reply. You might need http://net-snmp.sourceforge.net/ to do the job as well. hmm, maybe not. Hey - check out: http://www.openz.org/ jb ----- Original Message ----- From: "Subhendu Ghosh" To: Sent: Tuesday, October 01, 2002 3:09 PM Subject: Re: [Nagios-users] Monitoring router > On Mon, 30 Sep 2002, Alexander Bergal wrote: > > > Hello! > > Is there anything except check_snmp to monitoring routers? > > Thanks. Any help will be appreciated. > > > > > > check_ifstatus, check_ifoperstatus, checkciscotemp > > -- > > -sg > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From twebster at DAKSOFT.COM Tue Oct 1 15:43:16 2002 From: twebster at DAKSOFT.COM (twebster at DAKSOFT.COM) Date: Tue, 1 Oct 2002 07:43:16 -0600 Subject: Notification problem. Message-ID: Marcus, What program are you piping your text into? The | "'nagios-users at lists.sourceforge.net'" command needs to contain an executable. Maybe try | sendmail marcus.nilsson at cannondale.com or | mail -s "Host DOWN alert for Oldenzaal01!" marcus.nilsson at cannondale.com" Tony |---------+----------------------------------------> | | Marcus Nilsson | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 10/01/2002 03:05 AM | | | | |---------+----------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: "'nagios-users at lists.sourceforge.net'" | | cc: | | Subject: [Nagios-users] Notification problem. | >------------------------------------------------------------------------------------------------------------------------------| Hi, This is probably very easy and I am quite novel on Linux so bare with me. This is what I get in /usr/local/nagios/var/nagios.log: [1033453141] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: PROBLEM\nHost: Oldenzaal01\nState: DOWN\nAddress: 192.168.206.82\nInfo: CRITICAL - Plugin timed out after 10 seconds\n\nDate/Time: Tue Oct 1 08:19:01 CEST 2002\n" | -s "Host DOWN alert for Oldenzaal01!" marcus.nilsson at cannondale.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1033453441] HOST NOTIFICATION: nilssonm;Oldenzaal01;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds Do I need sendmail installed to get the notify-by-email function to work? The box is running Linux Slackware 8.1 Thanks in advice. Marcus Nilsson Cannondale Corp. ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From russell at quadrix.com Tue Oct 1 17:50:14 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 01 Oct 2002 11:50:14 -0400 Subject: Service Dependency Question Message-ID: <3D99C436.1040008@quadrix.com> I'm trying to set up a specific type of service dependency and was wondering if there was an easy way of doing it that I'm missing. I have one nagios instances that does lots of check_by_ssh checks to other hosts in the environment. However, when ssh on a box slows down to much, I get notified about lots of services being down, even though its only ssh. So, I'm adding a service definition for every host to do a check_ssh call to make sure that ssh is up and doesn't timeout. Now I have about 15 hosts on the nagios instance, each with anywhere from 5 to 15 different checks that use check_by_ssh. So I need to set up a service dependency where every check_by_ssh service for a host is dependent on the check_ssh service for that host. Is there any other way of doing it besides setting up 5 to 15 dependencies for each host that uses check_by_ssh? I know there are some dependency shortcuts, like being able to give multiple host names. But when you give multiple host names, doesn't that mean the service is now dependent on multiple hosts? Any help is appreciated. Thanks. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From joshuadfranklin at yahoo.com Tue Oct 1 18:24:16 2002 From: joshuadfranklin at yahoo.com (Joshua Daniel Franklin) Date: Tue, 1 Oct 2002 09:24:16 -0700 (PDT) Subject: strange "CRITICAL" problem Message-ID: <20021001162416.55765.qmail@web20003.mail.yahoo.com> I recently set up nagios to check about 30 network devices. Everything seems to be working great, with the exception of one email server that is networked over a 802.11b wireless connection. Nagios *constantly* reports the SMTP service as "Critical", despite a message of "SMTP OK - 0 second response time". At first I tried adding a custom check_smtp command with a 30-second timeout, but it still reported the same. I noticed that it always had "Attempt 3/3" instead of "1/3" so I thought I might try setting max_check_attempts higher. Setting it to 5 immediately made the status page go to "Attempt 5/5". I thought this was weird to I set max_check_attempts to 500 and restarted. Now it always reads "Attempt 500/500" This doesn't seem right. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From david.crow at vc3.com Tue Oct 1 18:39:12 2002 From: david.crow at vc3.com (David Crow) Date: Tue, 1 Oct 2002 12:39:12 -0400 Subject: cgi permissions Message-ID: <1DDECF51269BD511A49200B0D049605918CA45@goddard.vc3.com> I have installed nagios and configured it according to the documentation. When I configure it to require me to login via the .htaccess file and with use_authentication=1 I cannot see any of the .cgi files I get the following error: 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. I have setup the account as the only user in nagios and have given it all of permissions in the cgi.cfg file. Any Ideas on what I am missing? David ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From mpowell at ena.com Tue Oct 1 18:41:49 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 1 Oct 2002 11:41:49 -0500 Subject: strange "CRITICAL" problem Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71445@mismail.ena.com> Your problem is more likely related to interpretations of the SMTP RFC as opposed to wireless networking. See the following URL for a fix. It's a patch to check_smtp from the plugins package. http://www.geocrawler.com/archives/3/13608/2002/6/0/8924911/ -- Marc > -----Original Message----- > From: Joshua Daniel Franklin [mailto:joshuadfranklin at yahoo.com] > Sent: Tuesday, October 01, 2002 11:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] strange "CRITICAL" problem > > I recently set up nagios to check about 30 network devices. > Everything seems to be working great, with the exception of > one email server that is networked over a 802.11b wireless connection. > Nagios *constantly* reports the SMTP service as "Critical", despite > a message of "SMTP OK - 0 second response time". > > At first I tried adding a custom check_smtp command with a 30-second > timeout, but it still reported the same. I noticed that it always had > "Attempt 3/3" instead of "1/3" so I thought I might try setting > max_check_attempts higher. Setting it to 5 immediately made the status > page go to "Attempt 5/5". I thought this was weird to I set > max_check_attempts to 500 and restarted. Now it always reads "Attempt > 500/500" > This doesn't seem right. > > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From joshuadfranklin at yahoo.com Tue Oct 1 19:30:43 2002 From: joshuadfranklin at yahoo.com (Joshua Daniel Franklin) Date: Tue, 1 Oct 2002 10:30:43 -0700 (PDT) Subject: strange "CRITICAL" problem In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301F71445@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8301F71445@mismail.ena.com> Message-ID: <20021001173043.21866.qmail@web20010.mail.yahoo.com> That worked great, thanks. FYI, I think the SMTP server was Win2k. The other one worked fine with Linux. --- Marc Powell wrote: > Your problem is more likely related to interpretations of the SMTP RFC > as opposed to wireless networking. See the following URL for a fix. It's > a patch to check_smtp from the plugins package. > > http://www.geocrawler.com/archives/3/13608/2002/6/0/8924911/ > > -- > Marc > > > -----Original Message----- > > From: Joshua Daniel Franklin [mailto:joshuadfranklin at yahoo.com] > > Sent: Tuesday, October 01, 2002 11:24 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] strange "CRITICAL" problem > > > > I recently set up nagios to check about 30 network devices. > > Everything seems to be working great, with the exception of > > one email server that is networked over a 802.11b wireless connection. > > Nagios *constantly* reports the SMTP service as "Critical", despite > > a message of "SMTP OK - 0 second response time". > > > > At first I tried adding a custom check_smtp command with a 30-second > > timeout, but it still reported the same. I noticed that it always had > > "Attempt 3/3" instead of "1/3" so I thought I might try setting > > max_check_attempts higher. Setting it to 5 immediately made the status > > page go to "Attempt 5/5". I thought this was weird to I set > > max_check_attempts to 500 and restarted. Now it always reads "Attempt > > 500/500" > > This doesn't seem right. > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > New DSL Internet Access from SBC & Yahoo! > > http://sbc.yahoo.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > > Linux or FreeBSD, FREE setup, FAST network. Get your own server > > today at http://www.ServePath.com/indexfm.htm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From jjf at mind.net Tue Oct 1 20:49:38 2002 From: jjf at mind.net (John Fox) Date: Tue, 1 Oct 2002 11:49:38 -0700 Subject: Passive Checks via NSCA -- Excedrin Headache Vat Numero Uno Message-ID: <20021001114938.Q98563@mind.net> Before launching into my problem: Giant thanks to all of you on this list who've helped me thus far. Your efforts are very much appreciated! I am experimenting with passive services and NSCA, and it is driving me nuts! I'm not sure what details are important to anyone trying to figure this out, so I'm including a lot of text in this message. First of all, here are the template and definition for the host I'm doing this on: define host{ name generic-host ; Template name - used in other host definitions notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ## ## Testing with morpheus ## define host{ use generic-host host_name foo.bar.baz alias foo.bar.baz address 206.101.72.12 max_check_attempts 3 notification_interval 5 notification_period 24x7 notification_options d,u,r } ------------------ And here is the template and definition for the service: define service{ name disk-template ; Template 'name' - referenced in other service definitions active_checks_enabled 0 ; Active service checks are disabled passive_checks_enabled 1 ; Passive service checks are enabled parallelize_check 1 ; Active service checks should be parallelized (recommeneded) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' freshness_threshold 180 ; Status should be updated every three minutes notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 check_period 24x7 notification_interval 3 notification_period 24x7 notification_options w,c,r,u contact_groups systems register 0 ; Don't register -- it's a template, dummy! } # Disk usage define service{ use disk-template host_name foo.bar.baz service_description disk-/ check_command stale-service-alert } ------------------ Because I am using send_nsca on foo.bar.baz, I have wrapped 'df' and parsed its output. I take these results and pipe them to send_nsca. My fields are tab-separated, and each record looks like this: foo.bar.baz disk-/ 1 57% utilization According to send_nsca, the fields stand for: \t\t\t\n where '\t' is a TAB and '\n' is a newline character. And it seems to me that I've conformed to this requirement. I then open a pipe to send nsca using the following command line '/usr/local/sbin/send_nsca nagios.bar.baz -c /usr/local/etc/nagios/send_nsca.cfg' and then write the status record to the pipe on STDOUT. Again, this seems to be the prescribed method. When I run my wrapper script, it tells me "1 data packet(s) sent to host successfully." which certainly sound positive. The problem is that the service never gets out of "PENDING" status. In the Service Detail screen, the 'Last Checked' column is marked "N/A", the 'Attempt' column is perpetually '0/3', and the 'Duration' and 'Status Information' columns are both regularly updated. (By this I mean that the Duration numbers are increasing and that the Status column regularly updates the time when the next Service Check is scheduled. ---------------- I don't know if it's important, but I'll mention also that I'm using inetd on nagios server to activate NSCA. This is driving me batty and totally ruining my day, so any input is greatly appreciated. Thanks a heap, John -- +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From cristian at alestraidc.net.mx Tue Oct 1 20:58:51 2002 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Tue, 1 Oct 2002 13:58:51 -0500 Subject: Notification dont work In-Reply-To: <20021001173043.21866.qmail@web20010.mail.yahoo.com> References: <20021001173043.21866.qmail@web20010.mail.yahoo.com> Message-ID: Hi, i modify the file misccommands.cfg and the notifications dont send.... this is the file... # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/printf "%b" "**** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDE$ } # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SE$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0b4 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HO$ } # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/$ } 1.- I use nagios 1.0b6 on FreeBSD 4.4 ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From mpowell at ena.com Tue Oct 1 21:46:31 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 1 Oct 2002 14:46:31 -0500 Subject: Passive Checks via NSCA -- Excedrin Headache Vat Numero Uno Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71454@mismail.ena.com> Is there anything interesting in your Nagios.log? If you have log_passive_service_checks=1, you should see lines like the following: [1022790567] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;nateng-utl-atl-1;Raintree-rwhois;0;TCP OK - 0 second response time on port 4321 [1022790567] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;nateng-gwlite01-core-davidson-tn;AO-ADMIN;0 ;HTTP ok: HTTP/1.0 200 OK - 0 second response time [1022790573] Warning: Message queue contained results for service 'DISKsdb1' on host 'nateng-noctools'. The service could not be found! The last message would relate directly to what you are experiencing. If your central Nagios host does not have an identically named host and service for which you are trying to send a passive service result, it will effectively ignore the submission. You might want to also enclose your submission in "'s like so: /bin/echo "foo.bar.baz\tdisk-/\t1\t57% utilization\n" | /usr/local/nagios/bin/send_nsca Nagios.bar.baz -c /usr/local/nagios/etc/send_nsca.cfg -- Marc > -----Original Message----- > From: John Fox [mailto:jjf at mind.net] > Sent: Tuesday, October 01, 2002 1:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive Checks via NSCA -- Excedrin Headache Vat > Numero Uno > > Before launching into my problem: Giant thanks to all of you on > this list who've helped me thus far. Your efforts are very much > appreciated! > > I am experimenting with passive services and NSCA, and it is driving me > nuts! > > I'm not sure what details are important to anyone trying to figure this > out, so I'm including a lot of text in this message. > > First of all, here are the template and definition for the host I'm doing > this on: > > define host{ > name generic-host ; Template name - > used in other host definitions > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > > ## > ## Testing with morpheus > ## > > define host{ > use generic-host > host_name foo.bar.baz > alias foo.bar.baz > address 206.101.72.12 > max_check_attempts 3 > notification_interval 5 > notification_period 24x7 > notification_options d,u,r > } > > ------------------ > > And here is the template and definition for the service: > > define service{ > name disk-template ; Template 'name' > - referenced in other service definitions > active_checks_enabled 0 ; Active service checks > are disabled > passive_checks_enabled 1 ; Passive service checks > are enabled > parallelize_check 1 ; Active service checks > should be parallelized (recommeneded) > obsess_over_service 1 ; We should obsess over > this service (if necessary) > check_freshness 0 ; Default is to NOT check > service 'freshness' > freshness_threshold 180 ; Status should be updated > every three minutes > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 0 ; Service event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 3 > check_period 24x7 > notification_interval 3 > notification_period 24x7 > notification_options w,c,r,u > contact_groups systems > register 0 ; Don't register -- it's a > template, dummy! > } > > # Disk usage > define service{ > use disk-template > host_name foo.bar.baz > service_description disk-/ > check_command stale-service-alert > } > > ------------------ > > Because I am using send_nsca on foo.bar.baz, I have wrapped 'df' and > parsed its > output. I take these results and pipe them to send_nsca. My fields are > tab-separated, > and each record looks like this: > > foo.bar.baz disk-/ 1 57% utilization > > According to send_nsca, the fields stand for: > > \t\t\t\n > > where '\t' is a TAB and '\n' is a newline character. > > And it seems to me that I've conformed to this requirement. > > I then open a pipe to send nsca using the following command line > > '/usr/local/sbin/send_nsca nagios.bar.baz -c > /usr/local/etc/nagios/send_nsca.cfg' > > and then write the status record to the pipe on STDOUT. > > Again, this seems to be the prescribed method. > > When I run my wrapper script, it tells me "1 data packet(s) sent to host > successfully." > which certainly sound positive. > > The problem is that the service never gets out of "PENDING" status. In > the Service Detail > screen, the 'Last Checked' column is marked "N/A", the 'Attempt' column is > perpetually > '0/3', and the 'Duration' and 'Status Information' columns are both > regularly updated. > (By this I mean that the Duration numbers are increasing and that the > Status column > regularly updates the time when the next Service Check is scheduled. > > ---------------- > > > I don't know if it's important, but I'll mention also that I'm using inetd > on nagios > server to activate NSCA. > > > > This is driving me batty and totally ruining my day, so any input is > greatly appreciated. > > Thanks a heap, > > John > -- > +----------------------------------------------------------------------- -- > --+ > | John Fox | System Administrator | Internet Ventures > Oregon | > +----------------------------------------------------------------------- -- > --+ > | "You can't talk about George W. without addressing the strange > | > | Bilbo-Baginnian language that spurts out from between his lips like > | > | melted marshmallows coming out of a squirt gun." -- Dennis Miller > | > +----------------------------------------------------------------------- -- > --+ > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From jasonm at kelman.com Tue Oct 1 22:51:12 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 1 Oct 2002 14:51:12 -0600 (MDT) Subject: Passive Checks via NSCA -- Excedrin Headache Vat Numero Uno In-Reply-To: <20021001114938.Q98563@mind.net> References: <20021001114938.Q98563@mind.net> Message-ID: > When I run my wrapper script, it tells me "1 data packet(s) sent to > host successfully." which certainly sound positive. Can you ensure that on your server, you have passive command logging turned on, and then ensure that you're seeing your nsca commands coming in over the network (ie, they show up in the log). If you don't see them in there, run a tcpdump or snoop or whatever, to ensure that you're really receiving the nsca packets from the client. > The problem is that the service never gets out of "PENDING" status. > In the Service Detail screen, the 'Last Checked' column is marked > "N/A", the 'Attempt' column is perpetually '0/3', and the 'Duration' > and 'Status Information' columns are both regularly updated. (By this > I mean that the Duration numbers are increasing and that the Status > column regularly updates the time when the next Service Check is > scheduled. You can also check to see if your passive services are accepting passive updates by writing something into the named pipe command file. For instance, you could do this: First, check to make sure your date command returns a time_t-style timestamp (seconds since Jan1/70, 00:00:00) if you do this: date +%s If not, you're on your own as for how to get a valid timestamp into this command: echo "[`date +%s`] PROCESS_SERVICE_CHECK_RESULT;hostname;descr;return\ code;plugin-output" >/location/of/your/nagios.cmd That's all one line, not split... If, on the local machine, you cannot get passive updates to update, it's not an NSCA problem! > > ---------------- > > > I don't know if it's important, but I'll mention also that I'm using inetd on nagios > server to activate NSCA. > > > > This is driving me batty and totally ruining my day, so any input is greatly appreciated. > > Thanks a heap, > > John > -- > +---------------------------------------------------------------------------+ > | John Fox | System Administrator | Internet Ventures Oregon | > +---------------------------------------------------------------------------+ > | "You can't talk about George W. without addressing the strange | > | Bilbo-Baginnian language that spurts out from between his lips like | > | melted marshmallows coming out of a squirt gun." -- Dennis Miller | > +---------------------------------------------------------------------------+ > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From jdhicks at cableone.net Tue Oct 1 16:53:04 2002 From: jdhicks at cableone.net (jdhicks at cableone.net) Date: Tue, 1 Oct 2002 07:53:04 -0700 Subject: Reoccuring downtimes Message-ID: <186801c2695a$3eb7c800$2900740a@cableone.net> I have found how to schedule a single downtime for a host but is there a way within Nagios to schedule a reoccuring downtime? say from 8pm to 8am every weekday and not at all on the weekends. Thanks, John Hicks ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm From tdeblend at gcc.dhl.com Wed Oct 2 08:25:31 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 02 Oct 2002 08:25:31 +0200 Subject: Reoccuring downtimes References: <186801c2695a$3eb7c800$2900740a@cableone.net> Message-ID: <3D9A915B.1BFFF2E7@gcc.dhl.com> Wouldn't it make more sense then to limit the check period instead of putting a host in downtime for so long? jdhicks at cableone.net wrote: > > I have found how to schedule a single downtime for a host but is there a way within Nagios to schedule a reoccuring downtime? say from 8pm to 8am every weekday and not at all on the weekends. Thanks, > > John Hicks > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nixon at nsc.liu.se Wed Oct 2 10:02:56 2002 From: nixon at nsc.liu.se (Leif Nixon) Date: 02 Oct 2002 10:02:56 +0200 Subject: FAQ: Passive host checks? Message-ID: I have failed to find any answer to the following question, either in the list archives or by Google; If I have a homegrown method for performing distributed host checks, how can I report the results to Nagios? Passive *service* checks are well documented; passive *host* checks are not. My current workaround is to define a service called ALIVE and report passive service checks for that service, but that is not 100% satisfying. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.zorzi at tecom.it Wed Oct 2 10:20:39 2002 From: g.zorzi at tecom.it (Giuliano Zorzi) Date: 02 Oct 2002 10:20:39 +0200 Subject: statusmap customization help Message-ID: <1033546838.11463.11.camel@giuliano> Hi, I need your help in customizing the status map. I-d like very much the circular (marked up) one, but I have more than 15 hosts to monitor and it has became a little confused. Is there a way to set up a radius distance increment for a range of hosts ? ie: the hosts 1-6 will be in the centermost circle, hosts 7-18 in the middle and hosts 19-36 in the outer circle ? or the best for me is to add a tree structure to the circular map, so I have nagios server in the center, the principal hosts in the first circle, the secondary hosts in the third and so on. TIA giuliano ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Wed Oct 2 13:17:07 2002 From: atul at mindsw.com (Atul Gosain) Date: Wed, 2 Oct 2002 16:47:07 +0530 (IST) Subject: Statusmap creation Message-ID: <2356.202.88.151.191.1033557427.squirrel@www.webyarn.com> Hi I m trying to make a status map of my company's network in which currently 30 servers are being monitored. Its difficult to assign cordinates to each of the host on status map . So i resorted to saintmap. Its been made for netsaint , not nagios. But is there any other thing like that for Nagios. or if there is any utility that can convert nagis configuration files to netsaint kind of configuraion files so that i can build a statusmap using saintmap and then convert that back to nagios configuration file . Please do provide some pointers. -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Wed Oct 2 15:00:50 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Wed, 2 Oct 2002 15:00:50 +0200 Subject: Availability CSV Reports in MySQL? Message-ID: <000a01c26a13$bbe9a690$13121bac@pc1072> Hi, I'm trying to get the csv availability report in mysql. I think it's clever to do this every time nagios checks the services and hosts with an eventhandler. But I have no idea. How do I do this? With a perl script? Has anybody an example of such a script? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary.Every at ingramentertainment.com Wed Oct 2 15:10:30 2002 From: Gary.Every at ingramentertainment.com (Gary.Every at ingramentertainment.com) Date: Wed, 2 Oct 2002 08:10:30 -0500 Subject: Reoccuring downtimes Message-ID: <309419457839D4119E0D00508B6DFE0B0828E077@iei-lavergne.mdf.lvrgn.nexus> Sure, you just need to set up a timeperiod (timeperiod.cfg) for that host and define the parameters within it. Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 "Pay It Forward" mailto:gary.every at ingramentertainment.com http://accessingram.com -----Original Message----- From: jdhicks at cableone.net [mailto:jdhicks at cableone.net] Sent: Tuesday, October 01, 2002 9:53 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Reoccuring downtimes I have found how to schedule a single downtime for a host but is there a way within Nagios to schedule a reoccuring downtime? say from 8pm to 8am every weekday and not at all on the weekends. Thanks, John Hicks ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 2 15:24:07 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 2 Oct 2002 09:24:07 -0400 Subject: Incorrect command line arguments supplied error message Message-ID: <5593DA408212D511B0910002A513501F01D2874F@phsexch20.mgh.harvard.edu> Hi, I have installed the nrpe plugin on the nagios host and the daemon on a remote host. However, when I try to monitor the disk space usage on the remote host, I encounter the following error on via the web browser: INCORRECT COMMAND LINE ARGUMENTS SUPPLIED The text that I added on the host machine is as follows: checkcommands.cfg: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -c $ARG1$ } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name bugzilla.mgh.harvard.edu service_description Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda5 I installed the nrpe daemon and nrpe.cfg filesonto the remote host at /usr/local/nagios. I created the /usr/local/nagios/libexec directory there as well. I copied the check_disk, check_load, check_procs, and the check_users plugins from the host machine into the libexec directory on the remote machine. The nrpe file was created in the /etc/xinetd.d directory. Also, I added the following line to the nrpe.cfg file: command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda5 What arguments did I miss or have the wrong syntax for? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Schindewolf at Infraserv.com Wed Oct 2 15:42:23 2002 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Wed, 2 Oct 2002 15:42:23 +0200 Subject: AW: Incorrect command line arguments supplied erro r message Message-ID: <2B6CA561B67B72418738D8F3D7853DA3083999@20-exchange-1.infraserv.com> You only have to provide check_command check_nrpe!check_disk1 in your services.cfg. The nrpe on the target machine should translate that into /../check_disk 80 95 ... -----Urspr?ngliche Nachricht----- Von: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Gesendet: Mittwoch, 2. Oktober 2002 15:24 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Incorrect command line arguments supplied error message Hi, I have installed the nrpe plugin on the nagios host and the daemon on a remote host. However, when I try to monitor the disk space usage on the remote host, I encounter the following error on via the web browser: INCORRECT COMMAND LINE ARGUMENTS SUPPLIED The text that I added on the host machine is as follows: checkcommands.cfg: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -c $ARG1$ } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name bugzilla.mgh.harvard.edu service_description Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda5 I installed the nrpe daemon and nrpe.cfg filesonto the remote host at /usr/local/nagios. I created the /usr/local/nagios/libexec directory there as well. I copied the check_disk, check_load, check_procs, and the check_users plugins from the host machine into the libexec directory on the remote machine. The nrpe file was created in the /etc/xinetd.d directory. Also, I added the following line to the nrpe.cfg file: command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda5 What arguments did I miss or have the wrong syntax for? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rm-rpms at gmx.net Wed Oct 2 16:29:29 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Wed, 02 Oct 2002 11:29:29 -0300 Subject: ANN: Nagios 1.0 beta 6 RPM packages for Red Hat Linux Message-ID: <3D9AD899.9934.4FAC8A@localhost> Hi, I've just uploaded to http://www.rmorales.com.ar/rpms/nagios/SRPMS/ a source package (.srpm) of the Nagios RPM package set I maintain. Nagios Version packaged is 1.0 beta 6. These packages contain modifications to improve usability on a Red Hat Linux environment as well as some fixes. They are based on previous work I had done on a similar package set of NetSaint 0.0.7 (so they inherit some fixes and usability modifications I made at that time and remain in the .spec file currently shipped inside the Nagios tarball) plus additional Nagios-specific tweaking. (The list of fixes The annoucement email message I sent to the netsaint-users mailing list can be fount at: http://sourceforge.net/mailarchive/message.php?msg_id=1603316 ) Also included are three scripts that help in the process of migrating from a NetSaint installation to Nagios. (among them, a modified version of the status retention format conversion Perl script I posted days ago to the list: http://sourceforge.net/mailarchive/forum.php?thread_id=1114033&forum_id= 1873 ) Feedback, bug reports, patches are welcome so I can try to get the packages ready for the Nagios 1.0 release. For these lucky Red Hat Linux 8.0 users that bought a CD set or managed to download the ISO images, I would like to hear about your experiences with the package buiding process on that platform. I'm realizing now I forgot to document in the file below (first TODO mod for the next package release) the command line switches you can specify at build time to rpm/rpmbuild to influence some ./configure and run-time behaviour: o Performance data handling method to use. By default we will use the file-based one (as existed in NetSaint). You can select the external command based method (the defaut for Nagios) by specifying --define 'PERF_EXTERNAL 1' in the rpm commandline o Embedded Perl stuff, specify --define 'EMBPERL 1' in the rpm command-line to enable it. An excerpt of the included README.RPM file follows: RPM package of Nagios network monitor for Red Hat Linux (RHL) systems --------------------------------------------------------------------- * Target supported RHL versions are: 6.2 to 7.3 I'll try to test the packages with RHL version 8.0 and to update them if necessary (that RHL release will ship with Apache 2 so I dont'w know if the web interface stuff: CGIs and httpd.conf additions will need to be modified). * The packages are derived from a similar set of packages of Nagios' antecessor NetSaint (from the same author Ethan Galstad) that I maintained. The Nagios packages include additional fixes, modi- fications and features. * Indeed, this package provides some extra scripts that help to migrate from a previous installation of my NetSaint 0.0.7 (last official upstream version) RPM packages (last package revision was release 25rm). The scripts are n2n-config.sh Convert object definition configuration files from the old NetSaint line-based format to the new template based format used by Nagios. The files with the new format are created under the /etc/nagios/netsaint directory so you can examine them and maybe save a lot of typing to define again all your hosts, services contact {,groups}, etc. The files located in /etc/nagios are not affected. n2n-logs.sh Copies the archived NetSaint logs from the location where they were kept in the NetSaint RPM to where Nagios would put them so you can keep your historic data about the status of your services/ hosts. Format hasn't changed between NetSaint and Nagios. n2n-retention.pl Converts the retention data file status.sav (if any, that is if you were using the feature with NetSaint and are goint to use it with Nagios too) from the NetSaint format to the Nagios format. and are located in the /usr/lib/nagios directory. Don't forget to stop both NetSaint and Nagios before running these scripts. * The packages' pre/post (un)installtion scripts send messages to syslog to inform of the progress of the actions they perform. All the message are prefixed with the "nagios/rpm" string to faci- litate searching, the priority used is user.notice. * When (un)installing the nagios-www sub-package (it contains all the HTML interface stuff plus the CGIs), the package scripts try to detect if Apache is running on the system and then try to o Reload Apache o Gracefully restart Apache in that order (from less to more intrusive) to make the Apache configuration changes performed enter in effect. There is a great degree of variation in the actions supported by the Apache Sys V initscript (/etc/[rc.d/]init.d/httpd) in the supported RHL versions so our scripts take this in account and strive to be well behaved. Regards, -- Ramiro ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Wed Oct 2 16:26:19 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Wed, 02 Oct 2002 09:26:19 -0500 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: I am sure that the timeout is not due to Nagios, and instead is due to latency in the lines between our primary campus and these remote sites. And I agree wholeheartedly that such timeouts point to underlying issues that need to be addressed. And that's one reason I turned to applications like Nagios and MRTG - to help identify areas that need to be improved - and to have the data to support these cases. My original basis for wanting to display these timeouts as warnings versus criticals, was that the timeouts did not truly indicate that there was an issue with the host, and that I wanted to preserve the significance of the critical alerts for events such as host down. But... having gone through this process, I've come to the same conclusion - that it makes more sense to increase the timeout values for these host devices Anyway. Thanks to all for the feedback and responses. Nolan >>> Karl DeBisschop 09/28/02 12:21AM >>> On Fri, 2002-09-27 at 09:38, Nolan Martin wrote: > Okay... Unfortunately, I am still not seeing the desired results... > Here are the steps I have done. Perhaps someone can identify something > I have left out. Are you sure that he timeout is not being generated by nagios? BTW - I really have to question the wisdom of what you seem to be trying to do here. ISTM that a timeout is rather bad thing, and should be critical. Now you may have a network where 10 seconds is not enogh for a ping, but that really is a problem that you ought to fix. And to the extent that you have to live with a ping still not coming back in 10 seconds, then I would think increasing the timeout is easier than changing the code. Is there some point I'm missing that motivates you to take this approach? > * In a separate directory (to isolate my test modifications), I > downloaded and expanded the latest Nagios plugins. > * Ran the configure: ./configure --prefix=/usr/local/nagios > --with-nagios-user=nagios --with-nagios-group=nagios > --with-cgiurl=/nagios/cgi-bin > * Modified the check_ping.c file, lines 119 to 122 (see original e-mail > posting below). > * Did a make all > * Copied the compiled executable to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > * Posted to group and received recommendation to change the utils.c > * Went back to same directory > * Modified utils.c, lines 122 to 124 (as described by Nathan) > * Ran make all again > * Copied the new compiled executable check_ping plugin to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > > Thoughts or suggestions? Thanks in advance. > > Nolan > > >>> nathan 09/26/02 04:12PM >>> > If I remember correctly I believe I had to modify utils.c (line > 122/124) > and change CRITICAL to WARNING and recompile the plugins.... > > When I did this I had compiled all plugins "stock" and then modified > and > recompiled so I had a modified version of check_by_ssh which was the > one > specific plugin I wanted only warnings for timeouts from. > > I think I ran strings on the binary plugin and found that modifying > the > .c for the plugin alone was not returning desired results 8-) > > Best of luck, > > Nathan > > On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > > I am just now getting around to trying to implement the workaround > > Nathan suggested awhile back, and have been unsuccessful so far. > > > > I modified the check_ping.c file, lines 119 through 122 to the > > following: > > > > if (pl >= cpl || rta >= crta) > > result = STATE_CRITICAL; > > else if (pl >= wpl || rta >= wrta || rta < 0) > > result = STATE_WARNING; > > > > Basically, I moved the rta < 0 statement from resulting in a > CRITICAL > > state to resulting in a WARNING state, assuming that that the rta < > 0 > > statement is what is determining a timeout. > > > > I then recompiled the plugins and copied over the new check_ping > > executable to libexec. However, timeouts continue to generate > CRITICAL > > alerts, and not WARNING alerts. > > > > Admittedly, I have limited development experience, particularly with > C. > > Can you tell me if I am completely off base or just missing some > steps? > > I would greatly appreciate the additional assistance. > > > > Nolan Martin > > > > >>> nathan 08/20/02 04:35PM >>> > > To stop the spam of alerts I recompiled my plugins so that timeouts > > were > > warnings and not critical then setup my contacts to not get alerted > on > > service warnings. > > > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > > I've seen this issue pop up several times in the archives, but > > without > > > any apparent resolution... Perhaps someone can shed some light > this > > > time. > > > > > > I receive on-going (unexpected and undesired) service alerts due > to > > > timed out plugins. This occurs for pretty much any service, > > including > > > the check_ping, the check_http and check_nwstat (for abends, > etc.). > > > > > > The problem is that the plugin timed out alerts do not seem to > > follow > > > the max_check_attempts for the service. So, even if the previous > > ping > > > was okay, if the next ping check generates a time out, it > > immediately > > > generates a service alert (despite the fact that > max_check_attempts > > is > > > set to 5. > > > > > > Can someone tell me if this is working as designed, a bug, or > > (always > > > unlikely) administrator error? > > > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > > > Thanks. > > > > > > Nolan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: OSDN - Tired of that same old > > > cell phone? Get a new here for FREE! > > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > Nathan > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan the human > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsingh at fdu.edu Wed Oct 2 16:31:03 2002 From: jsingh at fdu.edu (jsingh) Date: Wed, 2 Oct 2002 10:31:03 -0400 Subject: Installing New Plugin Message-ID: <000e01c26a20$560856c0$fb0bee84@FDUJACK> Hey Everyone I just wrote a new plugin , how do I go about adding it to my existing plugins. If there are any instructions I can follow I will appreciate that. Thanks Jaskaran Singh Fairleigh Dickinson University Teaneck, NJ 07666 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Wed Oct 2 16:52:51 2002 From: jasonm at kelman.com (Jason Marshall) Date: Wed, 2 Oct 2002 08:52:51 -0600 (MDT) Subject: FAQ: Passive host checks? In-Reply-To: References: Message-ID: > Passive *service* checks are well documented; passive *host* checks > are not. There are no passive host checks. I tried that already, and it always uses the active method, and ignores passive updates (which are, granted, documented as service check updates). I, too, would like a way to monitor hosts that isn't based on Nagios's large-grain checking granularity. I can tell within 2 seconds if a router that lots of other hosts are dependent upon are down -- I don't want the remote hosts being checked for up to a full minute (and failing, thereby alerting me) when it's really the router that'd down. If I could tell nagios (passively) within 2 seconds of the incident that the router is down, I'd avoid a lot of spurious alerts... > My current workaround is to define a service called ALIVE and > report passive service checks for that service, but that is not > 100% satisfying. I agree. I haven't looked at the part of the code that would make passive host checks possible, but it seems like it could be a major undertaking... And there could be underlying reasons why such a check would be a bad thing... --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From drew.cullis at gwl.com Wed Oct 2 17:52:24 2002 From: drew.cullis at gwl.com (Drew Cullis) Date: Wed, 02 Oct 2002 09:52:24 -0600 Subject: compiling on Solaris for nrpe Message-ID: <3D9B1638.FD883291@gwl.com> Hello; I'm in the process of compiling the nrpe plugin on Solaris 8, along with the other plugins. I've seen in past posts that several people have had the same issues. Have they been resolved? Here is the output from my compiles using /usr/ccs/bin/make & gmake. # make all Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /var/tmp/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' # /usr/local/bin/gmake all cd . && /bin/sh: syntax error at line 1: `end of file' unexpected gmake: *** [aclocal.m4] Error 2 Thanks for the help..... -- Drew Cullis ITS UNIX Sys Admin Phone: 303-737-6506 Email: drew.cullis at gwl.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jjf at mind.net Wed Oct 2 20:01:57 2002 From: jjf at mind.net (John Fox) Date: Wed, 2 Oct 2002 11:01:57 -0700 Subject: Question concerning notifications Message-ID: <20021002110157.Y98563@mind.net> I'm back with another (most likely) silly question. I would like to recieve only one (1) notification when a service enters 'WARNING' state, while at the same time recieving many notifications for a 'CRITICAL' state. I have looked through the docs for service definitions and found nothing to even hint at how to do this...or even if it's possible. Clues gladly accepted! Thanks in advance. -- John +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Wed Oct 2 20:30:35 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 2 Oct 2002 14:30:35 -0400 Subject: Return code of 99 is out of bounds Message-ID: <5593DA408212D511B0910002A513501F01D28752@phsexch20.mgh.harvard.edu> What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing up while checking the http daemon on the remote host. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmontiel at bolchile.cl Wed Oct 2 21:39:09 2002 From: mmontiel at bolchile.cl (Mauricio Montiel G.) Date: Wed, 2 Oct 2002 15:39:09 -0400 Subject: Need an updated check_oracle or something like that. Message-ID: <00ba01c26a4b$60b74470$2d900cc8@MMONTIEL> Hi everybody, I'm new with nagios. I'm searching plugins that check oracle deeply than the check_oracle that comes with the distribution. I read that there are some contributions in the list but I can?t get those files. Regards, Mauricio Montiel G. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From david.crow at vc3.com Wed Oct 2 22:05:31 2002 From: david.crow at vc3.com (David Crow) Date: Wed, 2 Oct 2002 16:05:31 -0400 Subject: cgi permissions Message-ID: <1DDECF51269BD511A49200B0D049605918CA4C@goddard.vc3.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, www-data (who apache runs as) is in the daemon (the user that runs nagios and owns all of the nagios files). Any other Ideas? I don't see anything in the apache logs or the nagios logs. :( David - -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Wednesday, October 02, 2002 3:01 PM To: 'David Crow' Subject: RE: [Nagios-users] cgi permissions is httpd (or whatever user runs your webserver) in the nagios group? after doing this you need to reboot. - -----Original Message----- From: David Crow [mailto:david.crow at vc3.com] Sent: Tuesday, October 01, 2002 12:39 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] cgi permissions I have installed nagios and configured it according to the documentation. When I configure it to require me to login via the .htaccess file and with use_authentication=1 I cannot see any of the .cgi files I get the following error: 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. I have setup the account as the only user in nagios and have given it all of permissions in the cgi.cfg file. Any Ideas on what I am missing? David - ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPZtSZa7Ueyj0r81gEQLMTQCgzzfNU73YG//rZp/Z6QnOzFbHyQUAoKM4 uyW0tIDRB7TcjByYAIME+7jB =1nK9 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Thu Oct 3 01:23:10 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 02 Oct 2002 19:23:10 -0400 Subject: Change timeout alerts from CRITICAL to WARNING In-Reply-To: References: Message-ID: <1033600991.1123.7.camel@miles.debisschop.net> On Wed, 2002-10-02 at 10:26, Nolan Martin wrote: > I am sure that the timeout is not due to Nagios, and instead is due to > latency in the lines between our primary campus and these remote sites. > And I agree wholeheartedly that such timeouts point to underlying issues > that need to be addressed. And that's one reason I turned to > applications like Nagios and MRTG - to help identify areas that need to > be improved - and to have the data to support these cases. When I meant 'due to nagios' I meant that there is a config in nagios that generates an error condition (IIRC, critical) when a configuratble threshold is set. I understand that the latency is real. I'm suggesting that if increasing the plugin timeout still produces CRITICAL status conditions, that it may be that status condition is caught by nagios, rather than the plugin. Thus, changing the plugin code would have no effect. Which seems to be what you are describing... Anyway, since you're sould nagios isn't generating the code, I'll drop it. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Thu Oct 3 02:05:57 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 02 Oct 2002 20:05:57 -0400 Subject: ANN: Nagios 1.0 beta 6 RPM packages for Red Hat Linux In-Reply-To: <3D9AD899.9934.4FAC8A@localhost> References: <3D9AD899.9934.4FAC8A@localhost> Message-ID: <1033603558.1123.42.camel@miles.debisschop.net> On Wed, 2002-10-02 at 10:29, Ramiro Morales wrote: > Hi, > > I've just uploaded to > > http://www.rmorales.com.ar/rpms/nagios/SRPMS/ > > a source package (.srpm) of the Nagios RPM package set I maintain. > > Nagios Version packaged is 1.0 beta 6. > > These packages contain modifications to improve usability > on a Red Hat Linux environment as well as some fixes. > > They are based on previous work I had done on a similar > package set of NetSaint 0.0.7 (so they inherit some fixes > and usability modifications I made at that time and remain > in the .spec file currently shipped inside the Nagios tarball) > plus additional Nagios-specific tweaking. The spec in the nagios CVS tree differs from what you posted. Should I merge them to the extent feasible? > (The list of fixes The annoucement email message I sent to the > netsaint-users mailing list can be fount at: > > http://sourceforge.net/mailarchive/message.php?msg_id=1603316 > ) > > Also included are three scripts that help in the process > of migrating from a NetSaint installation to Nagios. > (among them, a modified version of the status retention > format conversion Perl script I posted days ago to the > list: > > http://sourceforge.net/mailarchive/forum.php?thread_id=1114033&forum_id= > 1873 > > ) > > Feedback, bug reports, patches are welcome so I can try to > get the packages ready for the Nagios 1.0 release. > For these lucky Red Hat Linux 8.0 users that bought a CD > set or managed to download the ISO images, I would like > to hear about your experiences with the package buiding > process on that platform. > > I'm realizing now I forgot to document in the file below > (first TODO mod for the next package release) the > command line switches you can specify at build time to > rpm/rpmbuild to influence some ./configure > and run-time behaviour: > > o Performance data handling method to use. By default we will use > the file-based one (as existed in NetSaint). > You can select the external command based method (the defaut for > Nagios) by specifying > --define 'PERF_EXTERNAL 1' > > in the rpm commandline > > > o Embedded Perl stuff, specify > --define 'EMBPERL 1' > in the rpm command-line to enable it. > > An excerpt of the included README.RPM file follows: > > RPM package of Nagios network monitor for Red Hat Linux (RHL) systems > --------------------------------------------------------------------- > > * Target supported RHL versions are: 6.2 to 7.3 > > I'll try to test the packages with RHL version 8.0 and to update > them if necessary (that RHL release will ship with Apache 2 so > I dont'w know if the web interface stuff: CGIs and httpd.conf > additions will need to be modified). > > * The packages are derived from a similar set of packages of Nagios' > antecessor NetSaint (from the same author Ethan Galstad) that I > maintained. The Nagios packages include additional fixes, modi- > fications and features. > > * Indeed, this package provides some extra scripts that help to > migrate from a previous installation of my NetSaint 0.0.7 (last > official upstream version) RPM packages (last package revision was > release 25rm). The scripts are > > n2n-config.sh Convert object definition configuration > files from the old NetSaint line-based > format to the new template based format > used by Nagios. The files with the new > format are created under the > /etc/nagios/netsaint directory so you > can examine them and maybe save a lot > of typing to define again all your > hosts, services contact {,groups}, etc. > The files located in /etc/nagios are > not affected. > > n2n-logs.sh Copies the archived NetSaint logs from > the location where they were kept in > the NetSaint RPM to where Nagios would > put them so you can keep your historic > data about the status of your services/ > hosts. Format hasn't changed between > NetSaint and Nagios. > > n2n-retention.pl Converts the retention data file > status.sav (if any, that is if you were > using the feature with NetSaint and are > goint to use it with Nagios too) from > the NetSaint format to the Nagios format. > > and are located in the /usr/lib/nagios directory. > > Don't forget to stop both NetSaint and Nagios before running these > scripts. > > * The packages' pre/post (un)installtion scripts send messages to > syslog to inform of the progress of the actions they perform. > All the message are prefixed with the "nagios/rpm" string to faci- > litate searching, the priority used is user.notice. > > * When (un)installing the nagios-www sub-package (it contains all the > HTML interface stuff plus the CGIs), the package scripts try to > detect if Apache is running on the system and then try to > > o Reload Apache > o Gracefully restart Apache > > in that order (from less to more intrusive) to make the Apache > configuration changes performed enter in effect. > > There is a great degree of variation in the actions supported by the > Apache Sys V initscript (/etc/[rc.d/]init.d/httpd) in the supported > RHL versions so our scripts take this in account and strive to be > well behaved. > > > Regards, > > -- > Ramiro > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andy at droidmcse.com Thu Oct 3 03:19:09 2002 From: andy at droidmcse.com (Andy) Date: Wed, 2 Oct 2002 21:19:09 -0400 Subject: Service Dependency Question In-Reply-To: <3D99C436.1040008@quadrix.com> References: <3D99C436.1040008@quadrix.com> Message-ID: What I ended up having to do, similar situation. NT checks using the NS Client - about 120 NT Servers with anywhere from 5-15 checks on each box. Obviously, if the Netsaint Client dies, all of the checks go down the tubes. I wrote a php script that looks for the commands that start with check_nt and then parses the host_names or the hostgroup_names and then writes out to a file that has all of the dependencies in it. I can send you the script if you'd like. However, I'm no programmer. I only write things for the specific situation. But it's pretty simple. Andy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Russell Scibetti Sent: Tuesday, October 01, 2002 11:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Dependency Question I'm trying to set up a specific type of service dependency and was wondering if there was an easy way of doing it that I'm missing. I have one nagios instances that does lots of check_by_ssh checks to other hosts in the environment. However, when ssh on a box slows down to much, I get notified about lots of services being down, even though its only ssh. So, I'm adding a service definition for every host to do a check_ssh call to make sure that ssh is up and doesn't timeout. Now I have about 15 hosts on the nagios instance, each with anywhere from 5 to 15 different checks that use check_by_ssh. So I need to set up a service dependency where every check_by_ssh service for a host is dependent on the check_ssh service for that host. Is there any other way of doing it besides setting up 5 to 15 dependencies for each host that uses check_by_ssh? I know there are some dependency shortcuts, like being able to give multiple host names. But when you give multiple host names, doesn't that mean the service is now dependent on multiple hosts? Any help is appreciated. Thanks. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrew_kemp at pacific.net.au Thu Oct 3 04:13:11 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Thu, 3 Oct 2002 12:13:11 +1000 Subject: Bug in Nagios 1.0b6 init script Message-ID: <070b01c26a82$6c7b0710$758317d2@ozpacnet.office.pacific.net.au> Greetings, Have just found a bug in the latest Nagios (v1.0b6) init script Under the reload function, the line : if status nagios > /dev/null; then should be if status_nagios nagios > /dev/null; then Regards, Andrew ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 3 05:09:17 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 02 Oct 2002 22:09:17 -0500 Subject: Bug in Nagios 1.0b6 init script In-Reply-To: <070b01c26a82$6c7b0710$758317d2@ozpacnet.office.pacific.net.au> References: <070b01c26a82$6c7b0710$758317d2@ozpacnet.office.pacific.net.au> Message-ID: <3D9B6E8D.31256.9EB486@localhost> Got it - thanks! On 3 Oct 2002 at 12:13, Andrew Kemp wrote: > Greetings, > > Have just found a bug in the latest Nagios (v1.0b6) init script > > Under the reload function, the line : > > if status nagios > /dev/null; then > > should be > > if status_nagios nagios > /dev/null; then > > Regards, > > Andrew > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 3 05:37:22 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 02 Oct 2002 22:37:22 -0500 Subject: Internal server error when running commands (cmd.cgi) In-Reply-To: <1033413639.3d98a40777580@webmail.visi.com> References: <010401c26898$9c4fd330$99d54bce@kallisti> Message-ID: <3D9B7522.24354.B86B42@localhost> This has been a long-standing problem with the CGIs. Basically it resulted because you weren't specifying the CONTENT_LENGTH environment variable. Anyway, fix was in CVS as of last weekend (I think). Saw the post on google groups and tracked down the issue. :- ) On 30 Sep 2002 at 14:20, steveneu at visi.com wrote: > I created a php script to post or get to itself with variables. php can read > params passed to it via GET or POST just fine. > I cut and pasted some forms from nagios to disable/enable a test for a > service. I also created a GET URL with the same parameters as contained in the > form. The GET links work just fine, the forms which are doing the POST give me > an "internal server error" with a "premature end of script headers" entry in > the http-error log. > Is there a specific apache module that could be flaking out? Did something > change in the cgis recently? This all started when I "upgraded" to beta 6. > > Quoting Nicholas Paufler : > > > Just FYI, when I was experiencing troubles getting Nagios running I found > > the exact same behavior. I was trying to debug the CGI and while the > > documentation implied to me I should be using HTTP POST (hence, i set the > > variables as such) to test, it was segfaulting. Using HTTP get, however, > > worked just fine. > > > > I did manage to get things working via some combination of restarting > > apache > > and Nagios, though, so I'm not sure if there was ever really a problem. I'd > > venture that the segfault on POST from the commandline is "normal", if not > > what is expected. So that's probably a bit of a red herring for you. > > > > Have you tried any other CGI's to see whether GET or POST is working with > > them? If you have mod_php installed it should be trivial to write up a > > quick > > script to see if variables are being passed correctly on POST so hopefully > > you can eliminate either your httpd or nagios as the culprit. > > > > Nicholas Paufler > > Systems Administrator > > The Internet Centre > > > > ----- Original Message ----- > > From: "Steve Neuharth" > > To: > > Cc: "Blaz Zupan" > > Sent: Sunday, September 29, 2002 8:14 AM > > Subject: Re: [Nagios-users] Internal server error when running commands > > (cmd.cgi) > > > > > > > It appears that the cgi's segfault when I POST to them. I can run them > > > from a shell everything works fine as long as I GET or HEAD but when I > > > POST, it dies. Likewise through the browser. If I use any form in nagios > > > to POST to any nagios CGI, I get the error. If I send the same params > > > via a GET: > > > > > "https://127.0.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=55&cmd_mod=2&host=ns.visi. > > com&com_author=Steve%20Neuharth&start_time=09/27/2002%2021:41:53&end_time=09 > > /27/2002%2023:41:53&hours=2&minutes=0&fixed=1" > > > , the scripts run fine, no segfault. > > > > > > mmcclure at pneservices.com wrote: > > > > Apache's not giving you enough information to really determine what the > > > > problem is. > > > > > > > > Try running /usr/local/share/nagios/cgi-bin//cmd.cgi directly from a > > > > shell. You'll have to set some environment variables, but you should > > be > > > > able to figure those out from the HTML source and other parts of your > > > > configuration. > > > > > > > > If you still can't figure it out after you have all the enviroment > > > > variables set up, post the error message, someone will probably know > > > > what it means. > > > > > > > > ---------- > > > > Mike McClure, CCIE # 5125, CISSP # 30232 > > > > PNE Services, Inc. http://www.pneservices.com > > > > mmcclure at pneservices.com > > > > mobile: 913-636-5590 > > > > > > > > > > > >>-----Original Message----- > > > >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > >>admin at lists.sourceforge.net] On Behalf Of Steve Neuharth > > > >>Sent: Thursday, September 26, 2002 6:58 PM > > > >>To: Steve Neuharth > > > >>Cc: nagios-users at lists.sourceforge.net > > > >>Subject: Re: [Nagios-users] Internal server error when running > > > > > > > > commands > > > > > > > >>(cmd.cgi) > > > >> > > > >>So... anybody got any suggestions? > > > >> > > > >>Steve Neuharth wrote: > > > >> > > > >>> I have nagios up and running (beats the pants off of BigBrother > > > >> > > > >>IMHO). > > > >> > > > >>> I'm running FreeBSD 4.7 and I installed nagios straight from the > > > >> > > > >>ports > > > >> > > > >>>collection. I have done this several times before and the port > > > >>>maintainer does a great job of scripting the install so that it > > > >> > > > > works > > > > > > > >>>"out-of-the-box" as it were. > > > >>> All of the cgi's seem to work BUT I get an internal server error > > > >> > > > >>when I > > > >> > > > >>>try to make cmd.cgi "do stuff" such as adding a comment, scheduling > > > >> > > > > a > > > > > > > >>>check. My first thought was file perms on the rw directory but I > > > >> > > > > cannot > > > > > > > >>>find anything wrong after reading the netsaint faq (this info is > > > >> > > > > missing > > > > > > > >>>from the nagios faq btw). Here is my var/nagios dir: > > > >>> > > > >>>tiny# pwd > > > >>>/usr/local/var/nagios > > > >>>tiny# ls -l > > > >>>total 24502 > > > >>>drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives > > > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log > > > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log > > > >>>-rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 > > > >> > > > > host-perfdata.out > > > > > > > >>>-rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock > > > >>>-rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log > > > >>>drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw > > > >>>-rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 > > > >> > > > > service-perfdata.out > > > > > > > >>>-rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log > > > >>>-rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav > > > >>> > > > >>>another strange thing is the nagios.cmd file: > > > >>>tiny# pwd > > > >>>/usr/local/var/nagios/rw > > > >>>tiny# ls -l > > > >>>total 0 > > > >>>prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd > > > >>> > > > >>>why is it a pipe? should it be? maybe, but I thought it was strange. > > > >>> > > > >>>When I "submit" something I get "Internal Server Error" and in the > > > >>>apache log I get: > > > >>>[Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature > > > >> > > > > end of > > > > > > > >>>script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>>------------------------------------------------------- > > > >>>This sf.net email is sponsored by:ThinkGeek > > > >>>Welcome to geek heaven. > > > >>>http://thinkgeek.com/sf > > > >>>_______________________________________________ > > > >>>Nagios-users mailing list > > > >>>Nagios-users at lists.sourceforge.net > > > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >>> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >>------------------------------------------------------- > > > >>This sf.net email is sponsored by:ThinkGeek > > > >>Welcome to geek heaven. > > > >>http://thinkgeek.com/sf > > > >>_______________________________________________ > > > >>Nagios-users mailing list > > > >>Nagios-users at lists.sourceforge.net > > > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 3 05:39:57 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 02 Oct 2002 22:39:57 -0500 Subject: Status Overview reordering In-Reply-To: <3D984862.2090107@conova.com> References: <3D984862.2090107@conova.com> Message-ID: <3D9B75BD.3128.BAC7EA@localhost> Alphabetically according to the *short name* of the hostgroup, left to right, top to bottom. :-) On 30 Sep 2002 at 14:49, Moser Wolfgang wrote: > Hello!! > > Does anyone know, according to which rules the "status-overview" is > build up. > It doesn't seems to be an alphapetical order! > Let's say I want to reorder the "status-overview", e.g. Linux-devices on > the top and Other-devices at the bottom. > What steps I must carry out?? > Can I change the ordering??? > > I would greet any help > > Wolfgang > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Thu Oct 3 05:41:41 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 2 Oct 2002 23:41:41 -0400 (EDT) Subject: Installing New Plugin In-Reply-To: <000e01c26a20$560856c0$fb0bee84@FDUJACK> References: <000e01c26a20$560856c0$fb0bee84@FDUJACK> Message-ID: A post to the nagiosplug list with an attachment and requiest for inclusion will typically do it... PS - you might want to look at the MS signature cruft attached to your messages.. :) -sg On Wed, 2 Oct 2002, jsingh wrote: > Hey Everyone > I just wrote a new plugin , how do I go about adding it to my existing > plugins. > If there are any instructions I can follow I will appreciate that. > Thanks > > Jaskaran Singh > Fairleigh Dickinson University > Teaneck, NJ 07666 > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 3 05:42:26 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 02 Oct 2002 22:42:26 -0500 Subject: waves? In-Reply-To: References: Message-ID: <3D9B7652.27439.BD0D6F@localhost> There isn't a noproblem.wav supplied by default. Very few people use the audio stuff through the CGIs (especially when there are no problems), so I left it out. On 30 Sep 2002 at 16:20, Bishop, Dean wrote: > Good morning all, > > > so i am basically finishing my nagios setup and notice that the > noproblem.wav is missing. Does one exist or should i just get my own? > > I know this is kinda nit-picky but i find it odd that this little component > is missing from the package. > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 3 06:05:18 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 02 Oct 2002 23:05:18 -0500 Subject: FAQ: Passive host checks? In-Reply-To: References: Message-ID: <3D9B7BAE.7442.D1FDF7@localhost> I am investigating the possibility of adding passive host checks in 2.0. However, allowing passive checks opens a whole new can of worms as far as host check logic is concerned. For instance, if a host is reported (passively) as being down (it was previously up), what should happen with child hosts? Should those be actively checked according to the current tree traversal logic? Also, host checks are performed on-demand only (synchronously), so how do you handle asynchronous results? Host checks also get priority over pending passive service check results, so that has to be figured out. Anyway, it isn't exactly trivial without changing a good portion of how the host check logic works. I'll be looking into it though... On 2 Oct 2002 at 8:52, Jason Marshall wrote: > > Passive *service* checks are well documented; passive *host* checks > > are not. > > There are no passive host checks. I tried that already, and it always > uses the active method, and ignores passive updates (which are, granted, > documented as service check updates). > > I, too, would like a way to monitor hosts that isn't based on Nagios's > large-grain checking granularity. I can tell within 2 seconds if a router > that lots of other hosts are dependent upon are down -- I don't want the > remote hosts being checked for up to a full minute (and failing, thereby > alerting me) when it's really the router that'd down. If I could tell > nagios (passively) within 2 seconds of the incident that the router is > down, I'd avoid a lot of spurious alerts... > > > My current workaround is to define a service called ALIVE and > > report passive service checks for that service, but that is not > > 100% satisfying. > > I agree. I haven't looked at the part of the code that would make passive > host checks possible, but it seems like it could be a major undertaking... > And there could be underlying reasons why such a check would be a bad > thing... > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrew_kemp at pacific.net.au Thu Oct 3 07:11:10 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Thu, 3 Oct 2002 15:11:10 +1000 Subject: Retaining data after nagios system integration Message-ID: <0e8801c26a9b$497e8a20$758317d2@ozpacnet.office.pacific.net.au> Greetings, I need to integrate a legacy netsaint monitoring host into my distributed nagios setup. I can simply copy the appropriate host/service/hostgroup/etc entries to the appropriate config files on the distributed and central servers, however I need to maintain the existing availability data. How can I easily do this ? Can I simply do the following to the appropriate nagios.log files : cat nagios-host1.log nagios-host2.log | sort -u > nagios.log Thanks. Andrew ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Oct 3 09:31:37 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 3 Oct 2002 09:31:37 +0200 Subject: Default layout when statusmap refreshes Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780310@storevis.datavis.se> A small but annoying issue.. When the statusmap refreshes, it is drawn with the default layout. Not the layout I have selected. Is it any way to fix this? /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zakki at indosatcom.net Thu Oct 3 11:24:36 2002 From: zakki at indosatcom.net (Zakki A) Date: Thu, 3 Oct 2002 16:24:36 +0700 Subject: host image Message-ID: <00e501c26abe$b3b94830$0b65a8c0@INDOSATCOM.NET> hi ... i just install nagios .. in two days finally i can configure it a little ... and still analyzing till now .. thanks for this better software than i ever try one question for this 'Hi' is how to change the image of the host ? let say it is a linux box, router, sun etc thanks zakki ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Oct 3 11:37:08 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 3 Oct 2002 11:37:08 +0200 Subject: host image Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780315@storevis.datavis.se> Look under 'Extended Information Configuration' in the manual.. Basically you have to crate a file 'xedtemplate.cfg' and point it out in cgi.cfg; xedtemplate_config_file=/usr/local/nagios/etc/xedtemplate.cfg In the file you can define various information; define hostextinfo{ host_name sheriff icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,19 } You also have to dowload some images and put them in /usr/local/nagios/share/images/logos /FredrikW -----Original Message----- From: Zakki A [mailto:zakki at indosatcom.net] Sent: Thu 03-Oct-02 11:24 To: Nagios Cc: Subject: [Nagios-users] host image hi ... i just install nagios .. in two days finally i can configure it a little ... and still analyzing till now .. thanks for this better software than i ever try one question for this 'Hi' is how to change the image of the host ? let say it is a linux box, router, sun etc thanks zakki ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Oct 3 13:56:01 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 3 Oct 2002 17:26:01 +0530 (IST) Subject: Status map query... Message-ID: <3178.202.88.151.191.1033646161.squirrel@www.webyarn.com> Hello all Nagios lovers and status map builders. Can anyone tell me how to make status map easily. Saintmap coes for that but thats for netsaint type of configuration files. Even if i get some tool which can convert nagios configuration to netsaint , then i can do that and convert it back. Any suggestion?????? -- Atul Gosain MindFrame Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kenneth.ray at travelersla.com Thu Oct 3 14:33:23 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Thu, 03 Oct 2002 08:33:23 -0400 Subject: Retrun code of 99 is out of bounds References: Message-ID: <3D9C3913.D886FA7D@travelersla.com> This quite simply means that when the program excuted an error occured which Nagios could not interpret, hence its "out of bounds" message. Nagios is looking for return codes of 0,1,2,(3) (not sure of the three but there is a third return code associated with unknown errors) So when it receives a return code other than the 4 above it displays an error of "return code ## is out of bounds."and goes into an "other than ok" state. this is a good indication something is happening behind the scenes. The best way to determine the actual error is to execute the plugin with the same switches as in your service check with the same user that you excute the Nagios daemon with. This should spit out additional information that was not displayed when the service check ran inside of Nagios. Again the above error is the programs way of interpreting errors that fall outside of the realm it is accustomed to seeing. I hope this helps.. Kenneth Ray nagios-users-request at lists.sourceforge.net wrote: > Message: 1 > From: "Kaplan, Andrew H." > To: nagios-users at lists.sourceforge.net > Date: Wed, 2 Oct 2002 14:30:35 -0400 > Subject: [Nagios-users] Return code of 99 is out of bounds > > What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing > up while checking the http daemon on the remote host. > > --__--__-- > -- this message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privilaged. If you receive this message in error please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose,distribute, print or copy any part of this message if you are not the intended resipient. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses or unauthorized amendments. The sender, therfore, does not accept liability for any errors or ommission in the content of this message or any damage or other consequences arising as a result of Internet Transmition. Opinions, conclusions and/or other information in this transmitted messxage that do not relate to official business of CITIGROUP shall be understood as neither given nor endorsed by CitiGroup. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Marcus.Nilsson at Cannondale.com Thu Oct 3 15:16:04 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Thu, 3 Oct 2002 15:16:04 +0200 Subject: Setting up notify-by-email Message-ID: Hi all, I am having difficulties setting up the notify-by-email function in nagios. How did You guys set up your notify-by-email? What program are you piping your text into? Do I need to set up sendmail or would it simply work with a client set up for SMTP? I have an Exchange server on the LAN that I can use for sending mails. Im running Nagios 1.0b6 on a standard install of Slackware Linux 8.1 Some guidance would be very appreciated. Thanks Marcus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Thu Oct 3 15:35:15 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Oct 2002 09:35:15 -0400 Subject: Retrun code of 99 is out of bounds Message-ID: <5593DA408212D511B0910002A513501F01D28753@phsexch20.mgh.harvard.edu> Hi Ken, I did a check of the command and the feedback I got indicated the check_http command was not defined. I went to the remote host's nrpe.cfg file and I checked the syntax of the check_http command. Here's what it reads: command[check_http]=/usr/local/nagios/libexec/$USER1$/check_http -H $HOSTADDRESS$ Should the above line have the $USER1$ setting changed to the actual user running the daemon, and similarly should $HOSTADDRESS$ be the actual address of the remote host? -----Original Message----- From: Kenneth.ray [mailto:kenneth.ray at travelersla.com] Sent: Thursday, October 03, 2002 8:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Retrun code of 99 is out of bounds This quite simply means that when the program excuted an error occured which Nagios could not interpret, hence its "out of bounds" message. Nagios is looking for return codes of 0,1,2,(3) (not sure of the three but there is a third return code associated with unknown errors) So when it receives a return code other than the 4 above it displays an error of "return code ## is out of bounds."and goes into an "other than ok" state. this is a good indication something is happening behind the scenes. The best way to determine the actual error is to execute the plugin with the same switches as in your service check with the same user that you excute the Nagios daemon with. This should spit out additional information that was not displayed when the service check ran inside of Nagios. Again the above error is the programs way of interpreting errors that fall outside of the realm it is accustomed to seeing. I hope this helps.. Kenneth Ray nagios-users-request at lists.sourceforge.net wrote: Message: 1 From: "Kaplan, Andrew H." To: nagios-users at lists.sourceforge.net Date: Wed, 2 Oct 2002 14:30:35 -0400 Subject: [Nagios-users] Return code of 99 is out of bounds What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing up while checking the http daemon on the remote host. --__--__-- -- this message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privilaged. If you receive this message in error please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose,distribute, print or copy any part of this message if you are not the intended resipient. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses or unauthorized amendments. The sender, therfore, does not accept liability for any errors or ommission in the content of this message or any damage or other consequences arising as a result of Internet Transmition. Opinions, conclusions and/or other information in this transmitted messxage that do not relate to official business of CITIGROUP shall be understood as neither given nor endorsed by CitiGroup. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jan.johansson at nwl.se Thu Oct 3 16:01:12 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 3 Oct 2002 16:01:12 +0200 Subject: SNMP howto? Message-ID: <01d001c26ae5$55324c90$cfdda8c0@JANJNWL105> Being on my new job, I would like to pitch for using nagios to monitor some internal resources. The crux is that we are (for another 3 weeks) on a dialup only, which only allows mails to be transferred. Normally I would have gone through FAQ's and online docs before asking something as mundane as this What I would like some info on the plausibility and "howto" in monitoring a arbitrary SNMP resource, I have the MIB for them, but how tricky / trivial is it to get the data from the device? And also, if the definition says hrprinterdetectederrorstate OBJECT-TYPE SYNTAX OCTET STRING ACCESS read-only STATUS mandatory DESCRIPTION "This object represents any error conditions detected by the printer. The error conditions are encoded as bits in an octet string, with the following definitions: Condition Bit # hrDeviceStatus lowPaper 0 warning(3) noPaper 1 down(5) lowToner 2 warning(3) noToner 3 down(5) doorOpen 4 down(5) jammed 5 down(5) offline 6 down(5) serviceRequested 7 warning(3) how do I pull a certain definition from it? I would like to define one check for toner_low and one for jammed and so on, so forth? ----- Jan Johansson IT-Coordinator NEW WAVE LOGISTICS Scandinavia AB Exportgatan 28, Box 4114 S-422 04 HISINGS BACKA, Sweden Phone: +46(0) 31 742 48 00 Direct: +46(0) 31 742 28 23 Fax: +46(0) 31 7424801 www.newwavelogistics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Wanglund at datavis.se Thu Oct 3 16:17:51 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 3 Oct 2002 16:17:51 +0200 Subject: Retrun code of 99 is out of bounds Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780318@storevis.datavis.se> $USER1$ is a variable that normally contains the path to the libexec dir ie '/usr/Local/nagios/libexec'. So you should either have ; command[check_http]=/usr/local/nagios/libexec/check_http -H $HOSTADDRESS$ or command[check_http]=/$USER1$/check_http -H $HOSTADDRESS$ if that variable is defined by nrpe /FredrikW -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Thu 03-Oct-02 15:35 To: 'Kenneth.ray' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Re: Retrun code of 99 is out of bounds Hi Ken, I did a check of the command and the feedback I got indicated the check_http command was not defined. I went to the remote host's nrpe.cfg file and I checked the syntax of the check_http command. Here's what it reads: command[check_http]=/usr/local/nagios/libexec/$USER1$/check_http -H $HOSTADDRESS$ Should the above line have the $USER1$ setting changed to the actual user running the daemon, and similarly should $HOSTADDRESS$ be the actual address of the remote host? -----Original Message----- From: Kenneth.ray [mailto:kenneth.ray at travelersla.com] Sent: Thursday, October 03, 2002 8:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Retrun code of 99 is out of bounds This quite simply means that when the program excuted an error occured which Nagios could not interpret, hence its "out of bounds" message. Nagios is looking for return codes of 0,1,2,(3) (not sure of the three but there is a third return code associated with unknown errors) So when it receives a return code other than the 4 above it displays an error of "return code ## is out of bounds."and goes into an "other than ok" state. this is a good indication something is happening behind the scenes. The best way to determine the actual error is to execute the plugin with the same switches as in your service check with the same user that you excute the Nagios daemon with. This should spit out additional information that was not displayed when the service check ran inside of Nagios. Again the above error is the programs way of interpreting errors that fall outside of the realm it is accustomed to seeing. I hope this helps.. Kenneth Ray nagios-users-request at lists.sourceforge.net wrote: Message: 1 From: "Kaplan, Andrew H." To: nagios-users at lists.sourceforge.net Date: Wed, 2 Oct 2002 14:30:35 -0400 Subject: [Nagios-users] Return code of 99 is out of bounds What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing up while checking the http daemon on the remote host. --__--__-- -- this message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privilaged. If you receive this message in error please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose,distribute, print or copy any part of this message if you are not the intended resipient. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses or unauthorized amendments. The sender, therfore, does not accept liability for any errors or ommission in the content of this message or any damage or other consequences arising as a result of Internet Transmition. Opinions, conclusions and/or other information in this transmitted messxage that do not relate to official business of CITIGROUP shall be understood as neither given nor endorsed by CitiGroup. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From etouchett at aeieng.com Thu Oct 3 16:41:57 2002 From: etouchett at aeieng.com (Evan Touchett) Date: Thu, 03 Oct 2002 09:41:57 -0500 Subject: Anyone Monitoring a GroupWise server? Message-ID: Is anyone monitoring a GroupWise server? I have already setup the check_tcp to look at port 1677 but I would like to include some 'check' and 'expect' arguments to the command so I can confirm that the actual service is functioning. If you have an example that I can work with that would be great. Thanks -evan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rm-rpms at gmx.net Thu Oct 3 16:46:35 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Thu, 03 Oct 2002 11:46:35 -0300 Subject: ANN: Nagios 1.0 beta 6 RPM packages for Red Hat Linux In-Reply-To: <1033603558.1123.42.camel@miles.debisschop.net> References: <3D9AD899.9934.4FAC8A@localhost> Message-ID: <3D9C2E1B.6213.3B6A40@localhost> Karl, On 2 Oct 2002 at 20:05, Karl DeBisschop wrote about "Re: [Nagios-users] ANN: Nagios 1.0 beta 6 RPM pac": > > The spec in the nagios CVS tree differs from what you posted. Should I > merge them to the extent feasible? Well, I think that, modulo some buglets, the specfile now included with Nagios is better suited for a more distribution (and OS?) agnostic RPM package, while my package is targeted straight to Red Hat Linux systems. So IMHO it would be wise to merge only the fixes that are still missing, and leaving out the RHL-isms I added. That's why I posted the link below to the human readable list of modifications I made to the NetSaint package, that list plus the changelog of the Nagios specfile of my package should aid in the process of selecting which fixes are worth being merged. Let me know if I can be of any help. > > > (The list of fixes The annoucement email message I sent to the > > netsaint-users mailing list can be fount at: > > > > http://sourceforge.net/mailarchive/message.php?msg_id=1603316 > > ) > > > > > > Regards, -- Ramiro ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Thu Oct 3 17:43:48 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Oct 2002 11:43:48 -0400 Subject: NRPE and NSCA Clients on HP-UX Message-ID: <5593DA408212D511B0910002A513501F01D28755@phsexch20.mgh.harvard.edu> Has anyone had success compiling the NRPE and NSCA clients on HP-UX systems running either 10.20 or 11.00? I tried installing both but during the 'make all' procedure in both instances Stop Exit Code 1 occurred. The main culprit appears to have been Error 1705: Function prototypes are an ANSI feature. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 3 18:03:22 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 11:03:22 -0500 Subject: Setting up notify-by-email Message-ID: Nagios follows the *nix paradigm of not reinventing the wheel, so you'll need to leverage some MTA. Since *nix typically comes with Sendmail, you can choose to configure that, or replace it with Postfix, Qmail, or possibly others. You'll still need to configure the MTA you decide to use, however. jc > -----Original Message----- > From: Marcus Nilsson [mailto:Marcus.Nilsson at Cannondale.com] > Sent: Thursday, October 03, 2002 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up notify-by-email > > > Hi all, > I am having difficulties setting up the notify-by-email > function in nagios. > How did You guys set up your notify-by-email? What program > are you piping > your text into? Do I need to set up sendmail or would it > simply work with a > client set up for SMTP? I have an Exchange server on the LAN > that I can use > for sending mails. > > Im running Nagios 1.0b6 on a standard install of Slackware Linux 8.1 > > Some guidance would be very appreciated. > > Thanks > > Marcus > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 3 18:17:43 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 11:17:43 -0500 Subject: Retrun code of 99 is out of bounds Message-ID: Andrew, I'm puzzling over your approach. It could well be that your requirements have dictated this approach, but I thought I'd voice my thoughts, just in case. It appears that you're trying to do this status check: Nagios_host -> hostA -> httpd_on_hostB If you have a firewall which is causing you to use this approach, I'd understand. But even using Fredrik W?nglund's approach, I still have to wonder what value $HOSTADDRESS$ will have. If it ends up having the value of the IP address of the host which is executing it (ie, hostA), that's one approach. If your intent was to have it poke at hostB, I'm not sure where it will acquire that IP address value. If all you're trying to do is check the status of the webserver on hostA, and there are no firewalls to contend with, I would suggest that you not bother with NRPE (for this check). You're making it unnecessarily complicated. Instead, do something like this (from my configs, so I apologize for the terseness). From services.cfg: define service{ name http use icmp service_description HTTP notification_options w,u,c,r check_command check_http!80 register 0 } Also from services.cfg: define service{ host_name host1 use http contact_groups linux-admins } And from checkcommands.cfg: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } With this approach, my Nagios host will attempt a direct connection to port 80 on host1. (It does more than that; do a "check_http --help" for details.) Hope this helps. jc -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Thursday, October 03, 2002 8:35 AM To: 'Kenneth.ray' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Re: Retrun code of 99 is out of bounds Hi Ken, I did a check of the command and the feedback I got indicated the check_http command was not defined. I went to the remote host's nrpe.cfg file and I checked the syntax of the check_http command. Here's what it reads: command[check_http]=/usr/local/nagios/libexec/$USER1$/check_http -H $HOSTADDRESS$ Should the above line have the $USER1$ setting changed to the actual user running the daemon, and similarly should $HOSTADDRESS$ be the actual address of the remote host? -----Original Message----- From: Kenneth.ray [mailto:kenneth.ray at travelersla.com] Sent: Thursday, October 03, 2002 8:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Retrun code of 99 is out of bounds This quite simply means that when the program excuted an error occured which Nagios could not interpret, hence its "out of bounds" message. Nagios is looking for return codes of 0,1,2,(3) (not sure of the three but there is a third return code associated with unknown errors) So when it receives a return code other than the 4 above it displays an error of "return code ## is out of bounds."and goes into an "other than ok" state. this is a good indication something is happening behind the scenes. The best way to determine the actual error is to execute the plugin with the same switches as in your service check with the same user that you excute the Nagios daemon with. This should spit out additional information that was not displayed when the service check ran inside of Nagios. Again the above error is the programs way of interpreting errors that fall outside of the realm it is accustomed to seeing. I hope this helps.. Kenneth Ray nagios-users-request at lists.sourceforge.net wrote: Message: 1 From: "Kaplan, Andrew H." To: nagios-users at lists.sourceforge.net Date: Wed, 2 Oct 2002 14:30:35 -0400 Subject: [Nagios-users] Return code of 99 is out of bounds What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing up while checking the http daemon on the remote host. --__--__-- -- this message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privilaged. If you receive this message in error please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose,distribute, print or copy any part of this message if you are not the intended resipient. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses or unauthorized amendments. The sender, therfore, does not accept liability for any errors or ommission in the content of this message or any damage or other consequences arising as a result of Internet Transmition. Opinions, conclusions and/or other information in this transmitted messxage that do not relate to official business of CITIGROUP shall be understood as neither given nor endorsed by CitiGroup. -------------- next part -------------- An HTML attachment was scrubbed... URL: From albert.tobey at priority-health.com Thu Oct 3 18:40:53 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 03 Oct 2002 12:40:53 -0400 Subject: NRPE and NSCA Clients on HP-UX In-Reply-To: <5593DA408212D511B0910002A513501F01D28755@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28755@phsexch20.mgh.harvard.edu> Message-ID: <1033663253.9121.81.camel@linuxws1> You are probably using the K&R compiler shipped with the OS. That compiler is only really good for compiling new kernels. Try installing HP ANSI C or gcc and try again. http://devresource.hp.com/tools/openSourceList.html -Al Tobey On Thu, 2002-10-03 at 11:43, Kaplan, Andrew H. wrote: > Has anyone had success compiling the NRPE and NSCA clients on HP-UX systems > running either 10.20 or 11.00? > I tried installing both but during the 'make all' procedure in both instances > Stop Exit Code 1 occurred. The main > culprit appears to have been Error 1705: Function prototypes are an ANSI > feature. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ******************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the Priority Health Information Services Department at (616) 942-0954. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From morgan at shnikees.com Thu Oct 3 19:01:45 2002 From: morgan at shnikees.com (morgan) Date: Thu, 3 Oct 2002 10:01:45 -0700 Subject: escalation problems Message-ID: <000301c26afe$8df16480$1964a8c0@whidbeytel.com> Hello, I'm trying to setup host escalations for a server I have on my network. But when I add the lines pasted below to my escalation.cfg file it never seems to read them. Am I missing something? Thanks Morgan define host{ use generic-host host_name Deller alias test server address 192.168.101.17 parents Netadmin_Switch check_command check-host-alive max_check_attempts 10 notification_interval 10 notification_period 24x7 notification_options d,u,r } define hostescalation{ host_name Deller first_notification 3 last_notification 6 notification_interval 15 contact_groups nachos-admins } define hostescalation{ host_name Deller first_notification 7 last_notification 8 notification_interval 60 contact_groups nachos-admins,network-admins } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kmiller at inflow.com Thu Oct 3 19:09:24 2002 From: kmiller at inflow.com (Kevin Miller) Date: Thu, 3 Oct 2002 11:09:24 -0600 Subject: Wildcards in Hostgroups? Message-ID: <33367934AB40D41190D10008C7C9CE0001C0B9BC@columbus.admin.corp.inflow.com> I am wondering if there is a way to use wild cards when specifying members of a hostgroup? I know that I can use an * to select all hosts but I would like to do something like router* or firewall* That way I can define all my routers or firewalls with those prefixes and easily add them to hostgroups. Is this possible? Thanks Kevin Miller Sr. Network Security Engineer Inflow Inc. www.inflow.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergio-s-freire at ptinovacao.pt Thu Oct 3 19:16:51 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 03 Oct 2002 18:16:51 +0100 Subject: service default status in passive checks In-Reply-To: References: Message-ID: <1033665411.24558.2.camel@newyork.intra.cet.pt> Hello everyone. I have defined a service with active checks disabled and only passive checks active. I want the status of this service to be "OK" by default and not pending... is there any way to accomplish this? Regards, Sergio Freire ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lzxx4x at linux133.powertrain.mpg.gm.com Thu Oct 3 19:25:20 2002 From: lzxx4x at linux133.powertrain.mpg.gm.com (Amar S. Bhatti) Date: 03 Oct 2002 13:25:20 -0400 Subject: question about new subroutine like config structure Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello folks, We have been using netsaint for quite a while and have lots of host and services defined in the old structure, basically in one line format. I just installed "nagios" in one of our test machines to test out before upgrading our main monitoring server running RH 7.1 and Netsaint 0.0.6 to RH 7.3 and nagios (latest version). I have seen that nagios has a major config change over netsaint where now the host/service and the rest is defined in a subroutine (chunk) like format. define host { something something .... } I was trying to find a way to read the data from netsaint-0.0.6 config files (in one line format) to nagios in the subroutine like format. I looked at the nagios FAQ but failed to find a less painful way then hand copy each definition from netsaint by hand. Has anyone devised a way to do this, however as I am writing this email, I think that "auto-converting" to nagios format might not be efficient way to go, specially in terms of the new "templates" format. If anyone of the old nagios guys can provide some guidance it would be great. On my own I will be thinking of different ways to easily and efficiently do this change. If I hit upon something worth while I will report back. BTW, kudos to the programmer of the "template" system config, If I am not wrong it should be "Ethan". I started reading the docs and more I read it the more it makes perfect sense on why this should be the way nagios or any other tool should be configured. Regards, - -- Amar S. Bhatti GM Powertrain General Motors Corporation -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9nH2Af5nrtLFqbwoRAvnzAJ99R+2N96/qV0gy63bQ1TBy0GLmcwCfUkK4 aEMk72DIxz271/8xo/ACmSg= =rZnX -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From magnus.pettersson at eds.com Thu Oct 3 20:01:10 2002 From: magnus.pettersson at eds.com (Pettersson, Magnus) Date: Thu, 3 Oct 2002 19:01:10 +0100 Subject: Availability reports in downloadable format Message-ID: <5917FD47436E784D8B08F132F0AC506110EDD1@sessm201.sthlm.se.eds.com> Has anyone implemented some sort of downloadable version of the 'availability reports', to for example pdf, rtf, or something? Sometimes I would like to be able to download them to a file instead of just displaying them in the browser window. /magnus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Rvdmerwe at mhg.co.za Thu Oct 3 20:11:31 2002 From: Rvdmerwe at mhg.co.za (Rabie van der Merwe) Date: Thu, 3 Oct 2002 20:11:31 +0200 Subject: Multiple contact groups in hostgroups? Message-ID: <39B69D20AF5DD611BA7F00306E1E8F2EB034FD@cptexc02.bankmed.co.za> According to the DOCs you are supposed to be able to specify multiple contact groups sepperated by commas, I have found that Nagios 1.0b6 only mails the first contact group. Can someone please confirm or deny? Regards Rabie ********************************************************************** ------ NOTICE ------ This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Metropolitan Health Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 3 21:06:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 14:06:00 -0500 Subject: escalation problems Message-ID: A couple comments here. First, if what you say is true, then you've got a host definition in the escalation.cfg file. Assuming you didn't have the same definition in hosts.cfg, I'm surprised that nagios didn't squawk when you restarted it. Second, you say "it never seems to read them". That comment is completely open to interpretation. Are you saying nagios never parses the file? Are you saying that those specific entries get ignore (and what's your proof)? Are you saying that you never get alerted? How did you test this? Please provide more detail. Third (and this might be one for Ethan to comment on), the notification_interval of the host definition is shorter than either escalation definition. The documentation says that, "In any case where there are multiple valid escalation definitions for a particular notification, Nagios will choose the smallest notification interval." But I've not been able to find anything which says what happens when the notification_interval is one value in the host definition, and a different interval in the escalation definition. (A recent experience here suggests that the host definition notification_interval (in our case, 60 mins) supercedes the escalation definition notification_interval (in our case, 30 mins). I'm not sure whether this was by design. I'm personally interesting in knowing what was 'supposed' to happen.) jc > -----Original Message----- > From: morgan [mailto:morgan at shnikees.com] > Sent: Thursday, October 03, 2002 12:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] escalation problems > > > Hello, > > I'm trying to setup host escalations for a server I have on > my network. > But when I add the lines pasted below to my escalation.cfg > file it never > seems to read them. > > Am I missing something? > > Thanks > Morgan > > > define host{ > use generic-host > host_name Deller > alias test server > address 192.168.101.17 > parents Netadmin_Switch > check_command check-host-alive > max_check_attempts 10 > notification_interval 10 > notification_period 24x7 > notification_options d,u,r > } > > define hostescalation{ > host_name Deller > first_notification 3 > last_notification 6 > notification_interval 15 > contact_groups nachos-admins > } > > define hostescalation{ > host_name Deller > first_notification 7 > last_notification 8 > notification_interval 60 > contact_groups nachos-admins,network-admins > } > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 3 21:14:51 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 14:14:51 -0500 Subject: Multiple "members" lines in hostgroup definiti ons? Message-ID: Wild speculation on my part (read: I haven't tried this): What about multiple instances of the 'members' directive, thusly: define hostgroup{ hostgroup_name prod alias Production Hosts contact_groups unix-admins members host1,host2,host3,host4 members host5,host6,host7,host8 } Food for thought. jc > -----Original Message----- > From: Rob King [mailto:rob.king at wholefoods.com] > Sent: Thursday, October 03, 2002 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple "members" lines in hostgroup > definitions? > > > Hello everyone, > I was wondering if anyone knew of a way to have the > "members" entry > of a hostrgroup definition span multiple lines? I've tried ending the > line with a comma-newline, but that doesn't work. Ditto for > backslashing it. > > The problem is, I'm going to have hostgroups with several dozen > members, and having them all on one line is going to be unsightly to > say the least, and uneditable to say the worst. > > Please let me know if anyone knows of a way around this. > > Thanks, > Rob > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Thu Oct 3 21:48:05 2002 From: rick at subnet.at (peter riegersperger) Date: Thu, 3 Oct 2002 21:48:05 +0200 Subject: check_nt output problem In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi! we just recently started using nagios 1.0b6. we use nsclient and check_nt to monitor our windows servers. when nsclient returns its message for a free diskspace check, it looks like: D:\ - total: 17.08 Gb - used: 15.53 Gb (91%) - free 1.54 Gb (9%) this works well for the webinterface, but when nagios sends a notification email, the message gets truncated after "D:", and nagios complains: /usr/bin/printf: \ : invalid escape is there a way around this w/o changing the code? greetings, rick ps: sorry if that has been covered before. a look at the faq and a search of the list archive didn't bring anything up. |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPZyQ5CDD9/SWDsvSEQIaVwCgifPm8lMFatg/wWEb4iEOBrGeadUAnj9N u/YulXI6X8t5lUDsMFJwWXY7 =q3ez -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gcoon at inch.com Thu Oct 3 21:52:04 2002 From: gcoon at inch.com (Gerald) Date: Thu, 3 Oct 2002 15:52:04 -0400 (EDT) Subject: Netsaint to nagios config converter? Message-ID: <20021003154958.N77740-100000@kod.inch.com> Subject pretty much says it all. I've reccomended to a lot of people to use abuse and submit code to the netsaint project. Any netsaint to nagios converters created yet? Something I can let loose in the netsaint dir that will translate it into a ready to use nagios setup. *shrug* ...figured it couldn't hurt to ask. G ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rm-rpms at gmx.net Thu Oct 3 22:02:42 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Thu, 03 Oct 2002 17:02:42 -0300 Subject: ANN: Nagios 1.0 beta 6 RPM packages for Red Hat Linux In-Reply-To: <3D9C2E1B.6213.3B6A40@localhost> References: <1033603558.1123.42.camel@miles.debisschop.net> Message-ID: <3D9C7832.11912.15CDF45@localhost> On 3 Oct 2002 at 11:46, Ramiro Morales wrote about "Re: [Nagios-users] ANN: Nagios 1.0 ": > Well, I think that, modulo some buglets, the specfile now included with > Nagios is better suited for a more distribution (and OS?) agnostic RPM > package, while my package is targeted straight to Red Hat Linux systems. > > So IMHO it would be wise to merge only the fixes that are > still missing, and leaving out the RHL-isms I added. That's why I > posted the link below to the human readable list of modifications > I made to the NetSaint package, that list plus the changelog of the > Nagios specfile of my package should aid in the process of selecting > which fixes are worth being merged. > > Let me know if I can be of any help. > > > > > > (The list of fixes The annoucement email message I sent to the > > > netsaint-users mailing list can be fount at: > > > > > > http://sourceforge.net/mailarchive/message.php?msg_id=1603316 > > > ) > > > Replying to myself, attached are the patches I include in my RPM package for general Nagios buglets. I will try to isolate fixes specific to problems in specfile included in the Nagios tarball and will post them in another message if any. Attached are: nagios-1.0b6-prnadmdefdesc.patch nagios-1.0b6-admingrp.patch Regards, - Ramiro -------------- next part -------------- --- nagios-1.0b6/sample-config/template-object/minimal.cfg.in.admingrp Tue Oct 1 22:26:15 2002 +++ nagios-1.0b6/sample-config/template-object/minimal.cfg.in Tue Oct 1 22:29:11 2002 @@ -265,7 +265,7 @@ max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 - contact_groups localhost + contact_groups admins notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% @@ -285,7 +285,7 @@ max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 - contact_groups localhost + contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ @@ -306,7 +306,7 @@ max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 - contact_groups localhost + contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_users!20!50 @@ -326,7 +326,7 @@ max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 - contact_groups localhost + contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_procs!250!400 @@ -345,7 +345,7 @@ max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 - contact_groups localhost + contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 -------------- next part -------------- --- nagios-1.0b1/sample-config/template-object/contactgroups.cfg.in.prnadmdefdesc Fri Mar 8 00:38:36 2002 +++ nagios-1.0b1/sample-config/template-object/contactgroups.cfg.in Sat May 25 20:37:14 2002 @@ -60,7 +60,7 @@ # 'printer-admins' contact group definition define contactgroup{ contactgroup_name printer-admins - alias Etherswitch Administrators + alias Printer Administrators members @nagios_user@,jdoe } From rob.king at wholefoods.com Thu Oct 3 22:21:19 2002 From: rob.king at wholefoods.com (Rob King) Date: Thu, 03 Oct 2002 15:21:19 -0500 Subject: Multiple "members" lines in hostgroup definiti ons? References: Message-ID: <3D9CA6BF.8040709@wholefoods.com> Hey Jim, Nope, tried that too. The parser accepts it, but only the last "members" line is actually accepted - it just overwrites any previous entries. Thanks, Rob Carroll, Jim P [Contractor] wrote: >Wild speculation on my part (read: I haven't tried this): > >What about multiple instances of the 'members' directive, thusly: > >define hostgroup{ > hostgroup_name prod > alias Production Hosts > contact_groups unix-admins > members host1,host2,host3,host4 > members host5,host6,host7,host8 > } > >Food for thought. > >jc > > > >>-----Original Message----- >>From: Rob King [mailto:rob.king at wholefoods.com] >>Sent: Thursday, October 03, 2002 11:34 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Multiple "members" lines in hostgroup >>definitions? >> >> >>Hello everyone, >> I was wondering if anyone knew of a way to have the >>"members" entry >>of a hostrgroup definition span multiple lines? I've tried ending the >>line with a comma-newline, but that doesn't work. Ditto for >>backslashing it. >> >> The problem is, I'm going to have hostgroups with several dozen >>members, and having them all on one line is going to be unsightly to >>say the least, and uneditable to say the worst. >> >> Please let me know if anyone knows of a way around this. >> >> Thanks, >> Rob >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twelsh37 at lycos.co.uk Thu Oct 3 22:43:12 2002 From: twelsh37 at lycos.co.uk (Tom Welsh) Date: Thu, 3 Oct 2002 20:43:12 +0000 (UTC) Subject: nagios plugins compile problem on debian Message-ID: <1033677465017157@lycos.co.uk> Hi all, I have moved over to a debian box for my sins and am having probs compiling the nagiosplug-1.3-beta1 source. I use the following as my ./configure to install nagios 1.0.b6 ... ./configure --prefix=/usr/local/nagios --with-cgi-url=/nagios/cgi-bin --with-htm url=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-template- objects My plugins ./configure is as follows .... ./configure --prefix=/usr/local/nagios --with-some-user=nagios --with-nagios-gro up=nagios --with-cgiurl=/nagios/cgi-bin The ./configure goes ok but when i do a make all i get the following error .... pod-163:/home/twelsh/nagios/nagiosplug-1.3-beta1# make all cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 any help greatfully recieved Cheers Tom Welsh ______________________________________________________ Check out all the latest outrageous email attachments on the Outrageous Email Chart! - http://viral.lycos.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: Sale guide.doc Type: application/msword Size: 0 bytes Desc: not available URL: From twelsh37 at lycos.co.uk Thu Oct 3 23:16:05 2002 From: twelsh37 at lycos.co.uk (Tom Welsh) Date: Thu, 3 Oct 2002 21:16:05 +0000 (UTC) Subject: Error in the INSTALL read me of nagiosplug-1.3-beta1 Message-ID: <1033679297030246@lycos.co.uk> Hi Ethan, all Ive solved my debian install prob , it wasnt debian but a typo in the INSTALL readme of the nagiosplug-1.3-beta1.tar.gz. In the INSTALL file it talks about setting up ./configure as the following.... ./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-na gios-group=SOMEGROUP --with-cgiurl=SOMEURL a) Replace BASEDIRECTORY with the path of the directory under which Nagios is installed (default is '/usr/local/nagios') b) Replace SOMEUSER with the name of a user on your system that will be assigned permissions to the installed plugins (default is 'nagios') c) Replace SOMEGRP with the name of a group on your system that will be assigned permissions to the installed plugins (default is 'nagios') d) Replace CGIURL with the path used to access the Nagios CGIs with a web browser (default is '/cgi-bin/nagios') The 1st TYPO is --with-nagios-group which should say --with-nagios-grp The 2nd TYPO is in C) you talk about SOMEGRP here but in the example of ./configure you talk about SOMEGROUP only a minor typo. i came to my senses after comparing the email id just sent saying my debian problem. Anyway keep up the good work. Cheers Tom Welsh ______________________________________________________ Check out all the latest outrageous email attachments on the Outrageous Email Chart! - http://viral.lycos.co.uk From jcarro10 at sprintspectrum.com Thu Oct 3 23:10:02 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 16:10:02 -0500 Subject: nagios plugins compile problem on debian Message-ID: Interesting. I've seen this problem with Solaris8. Here's (most likely) what you need to do: $ make $ touch aclocal.m4 $ make $ touch Makefile.in $ make $ touch configure $ make jc > -----Original Message----- > From: Tom Welsh [mailto:twelsh37 at lycos.co.uk] > Sent: Thursday, October 03, 2002 3:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios plugins compile problem on debian > > > Hi all, > > I have moved over to a debian box for my sins and am having > probs compiling the > nagiosplug-1.3-beta1 source. I use the following as my > ./configure to install nagios > 1.0.b6 ... > > ./configure --prefix=/usr/local/nagios > --with-cgi-url=/nagios/cgi-bin --with-htm > url=/nagios/ --with-nagios-user=nagios > --with-nagios-grp=nagios --with-template- > objects > > My plugins ./configure is as follows .... > ./configure --prefix=/usr/local/nagios > --with-some-user=nagios --with-nagios-gro > up=nagios --with-cgiurl=/nagios/cgi-bin > > The ./configure goes ok but when i do a make all i get the > following error .... > > pod-163:/home/twelsh/nagios/nagiosplug-1.3-beta1# make all > cd . && > /bin/sh: -c: line 2: syntax error: unexpected end of file > make: *** [aclocal.m4] Error 2 > > any help greatfully recieved > > Cheers > > Tom Welsh > > > > > > > ______________________________________________________ > Check out all the latest outrageous email attachments on the > Outrageous Email Chart! - http://viral.lycos.co.uk > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists at sancho2k.net Fri Oct 4 04:36:15 2002 From: lists at sancho2k.net (Sancho2k Lists) Date: Thu, 03 Oct 2002 20:36:15 -0600 Subject: check_qmailq.pl in english? Message-ID: <3D9CFE9F.2070106@sancho2k.net> Anyone familiar with how to get check_qmailq.pl to output in English and not German? TAI, Darren Spruell www.sancho2k.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Fri Oct 4 06:55:08 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 04 Oct 2002 14:55:08 +1000 Subject: Authentication password length Message-ID: <5.1.0.14.2.20021004144428.00a93508@imap.qut.edu.au> Hi all, I think that this problem is an apache problem (I couldn't find anything about it on apache.org), but I was wondering if anyone else has experienced it? I use the htpasswd program to add a password to a username, all ok. If the password is greater than 8 characters, it gets encoded all ok. But when you use that username and password, only the first 8 characters of that password are recognized/utilised by Apache! i.e. if password is set to: mypasswd then using 'mypasswd' gets you access if password is set to: mylongerpassword then using 'mylonger' gets you access! Is it possible for apache to recognize more than 8 characters in basic authentication? TIA, ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT Kelvin Grove Campus, CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists at sancho2k.net Fri Oct 4 07:35:58 2002 From: lists at sancho2k.net (Sancho2k Lists) Date: Thu, 03 Oct 2002 23:35:58 -0600 Subject: proper output of check_mysql.pl Message-ID: <3D9D28BE.3030005@sancho2k.net> Hi all, I am trying out the check_mysql.pl plugin from contrib/ and am having a problem getting output from it. Upon checking the service, Nagios reports "(No output!)". I have the check specified in /usr/local/nagios/etc/services.cfg as follows: =========================== define service{ use generic-service host_name molodetz service_description MySQL Health is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_mysql_status } =========================== I have the check specified in /usr/local/nagios/etc/checkcommands.cfg as follows: =========================== # 'check_mysql_status' command definition define command{ command_name check_mysql_status command_line /usr/local/nagios/libexec/check_mysql.pl localhost nagioschknull nagioschknull 10 20 } =========================== Which works as expected from command line: =========================== # /usr/local/nagios/libexec/check_mysql.pl localhost nagioschknull nagioschknull 10 20 Version 3.23.49 -- 2 Threads
Uptime 15 hours 32 min 53 sec =========================== But not through Nagios. What gives? TIA, Darren ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Oct 4 08:31:00 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 4 Oct 2002 08:31:00 +0200 Subject: nagios plugins compile problem on debian Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278031A@storevis.datavis.se> The problem is that some of the scripts in the dir 'plugin-scripts' has an illegal first line wit an space in it; '#! /bin/sh' /FredrikW -----Original Message----- From: Tom Welsh [mailto:twelsh37 at lycos.co.uk] Sent: To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] nagios plugins compile problem on debian Hi all, I have moved over to a debian box for my sins and am having probs compiling the nagiosplug-1.3-beta1 source. I use the following as my ./configure to install nagios 1.0.b6 ... ./configure --prefix=/usr/local/nagios --with-cgi-url=/nagios/cgi-bin --with-htm url=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-template- objects My plugins ./configure is as follows .... ./configure --prefix=/usr/local/nagios --with-some-user=nagios --with-nagios-gro up=nagios --with-cgiurl=/nagios/cgi-bin The ./configure goes ok but when i do a make all i get the following error .... pod-163:/home/twelsh/nagios/nagiosplug-1.3-beta1# make all cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 any help greatfully recieved Cheers Tom Welsh ______________________________________________________ Check out all the latest outrageous email attachments on the Outrageous Email Chart! - http://viral.lycos.co.uk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Fri Oct 4 08:38:26 2002 From: atul at mindsw.com (Atul Gosain) Date: Fri, 4 Oct 2002 12:08:26 +0530 (IST) Subject: Netsaint to nagios config converter? In-Reply-To: <20021003154958.N77740-100000@kod.inch.com> References: <20021003154958.N77740-100000@kod.inch.com> Message-ID: <1420.202.88.151.191.1033713506.squirrel@www.webyarn.com> Yup Have a look at the contrib sections of ur nagios distribution. U can find convertcfg utility. Can anybody suggest a tool that dows the reverse.?? > Subject pretty much says it all. I've reccomended to a lot of people to > use abuse and submit code to the netsaint project. Any netsaint to > nagios converters created yet? Something I can let loose in the netsaint > dir that will translate it into a ready to use nagios setup. > > *shrug* ...figured it couldn't hurt to ask. > > G > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Fri Oct 4 09:06:30 2002 From: atul at mindsw.com (Atul Gosain) Date: Fri, 4 Oct 2002 12:36:30 +0530 (IST) Subject: Nrpe messages Message-ID: <1486.202.88.151.191.1033715190.squirrel@www.webyarn.com> Could not read request from client, bailing out... Can anybody tell why nrpe gives above message in the /var/log/messages?? -- Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Fri Oct 4 09:09:53 2002 From: atul at mindsw.com (Atul Gosain) Date: Fri, 4 Oct 2002 12:39:53 +0530 (IST) Subject: question about new subroutine like config structure In-Reply-To: References: Message-ID: <1490.202.88.151.191.1033715393.squirrel@www.webyarn.com> Hey dont put ur hard work into converting netsaint conf into nagios conf manually. There is allready a script in contrib directory of nagios distribution which does that for u in elegant manner. Enjoy > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hello folks, > > We have been using netsaint for quite a while and have lots of host and > services defined in the old structure, basically in one line > format. > > I just installed "nagios" in one of our test machines to test > out before upgrading our main monitoring server running RH 7.1 and > Netsaint 0.0.6 to RH 7.3 and nagios (latest version). > > I have seen that nagios has a major config change over netsaint where > now the host/service and the rest is defined in a subroutine (chunk) > like format. > > define host { > something > something > .... > } > > I was trying to find a way to read the data from netsaint-0.0.6 config > files (in one line format) to nagios in the subroutine like format. I > looked at the nagios FAQ but failed to find a less painful way then hand > copy each definition from netsaint by hand. Has anyone devised a way to > do this, however as I am writing this email, I think that > "auto-converting" to nagios format might not be efficient way to go, > specially in terms of the new "templates" format. > > If anyone of the old nagios guys can provide some guidance it would be > great. On my own I will be thinking of different ways to easily and > efficiently do this change. If I hit upon something worth while I will > report back. > > BTW, kudos to the programmer of the "template" system config, If I am > not wrong it should be "Ethan". I started reading the docs and more I > read it the more it makes perfect sense on why this should be the way > nagios or any other tool should be configured. > > Regards, > > > - -- > Amar S. Bhatti > GM Powertrain > General Motors Corporation > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE9nH2Af5nrtLFqbwoRAvnzAJ99R+2N96/qV0gy63bQ1TBy0GLmcwCfUkK4 > aEMk72DIxz271/8xo/ACmSg= > =rZnX > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Marcus.Nilsson at Cannondale.com Fri Oct 4 09:20:35 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Fri, 4 Oct 2002 09:20:35 +0200 Subject: Setting up notify-by-email Message-ID: What would be the easiest way to do it? I have sendmail installed but not configured, its seems to be a bitch to set up.. I have quite limited knowledge in MTS's. Is there some how-to on this subject maybe? I am feeling pretty confused. Thanks Marcus -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, October 03, 2002 9:03 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up notify-by-email Nagios follows the *nix paradigm of not reinventing the wheel, so you'll need to leverage some MTA. Since *nix typically comes with Sendmail, you can choose to configure that, or replace it with Postfix, Qmail, or possibly others. You'll still need to configure the MTA you decide to use, however. jc > -----Original Message----- > From: Marcus Nilsson [mailto:Marcus.Nilsson at Cannondale.com] > Sent: Thursday, October 03, 2002 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up notify-by-email > > > Hi all, > I am having difficulties setting up the notify-by-email > function in nagios. > How did You guys set up your notify-by-email? What program > are you piping > your text into? Do I need to set up sendmail or would it > simply work with a > client set up for SMTP? I have an Exchange server on the LAN > that I can use > for sending mails. > > Im running Nagios 1.0b6 on a standard install of Slackware Linux 8.1 > > Some guidance would be very appreciated. > > Thanks > > Marcus > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Fri Oct 4 09:37:25 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Fri, 4 Oct 2002 09:37:25 +0200 Subject: Setting up notify-by-email In-Reply-To: References: Message-ID: <020b01c26b78$e36aa5a0$cfdda8c0@JANJNWL105> > What would be the easiest way to do it? I have sendmail installed but not > configured, its seems to be a bitch to set up.. I have quite limited > knowledge in MTS's. Is there some how-to on this subject maybe? I am > feeling > pretty confused. Swede? Anyway, most Linux distributions comes with a sendmail setup that will _send_ mail just fine as long as the system has access to a DNS, but in most cases receiving mails takes some configuring. But if you DO want to configure a MTA, I would recommend Exim over sendmail any day of the week. In order to just send mail, sendmail needs NOT be running as a daemon, it can be launched on a per-mail basis, which will do just fine. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Fri Oct 4 12:38:19 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 04 Oct 2002 06:38:19 -0400 Subject: nagios plugins compile problem on debian In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278031A@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278031A@storevis.datavis.se> Message-ID: <1033727900.19448.1.camel@miles.debisschop.net> On Fri, 2002-10-04 at 02:31, Fredrik W?nglund wrote: > The problem is that some of the scripts in the dir 'plugin-scripts' has an illegal first line wit an space in it; > '#! /bin/sh' I have seen people suggest this a few times. GNU coding practice suggests using the space. It is required for a few systems. Can you clearly show me how you come to the conclusion that is the problem? -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 4 13:52:58 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Oct 2002 07:52:58 -0400 (EDT) Subject: SNMP howto? In-Reply-To: <01d001c26ae5$55324c90$cfdda8c0@JANJNWL105> References: <01d001c26ae5$55324c90$cfdda8c0@JANJNWL105> Message-ID: On Thu, 3 Oct 2002, Jan Johansson wrote: > Being on my new job, I would like to pitch > for using nagios to monitor some internal resources. The crux is that we > are (for another 3 weeks) on a dialup only, which only allows mails to > be transferred. Normally I would have gone through FAQ's and online docs > before asking something as mundane as this > > > > What I would like some info on the plausibility and "howto" in > monitoring a arbitrary SNMP resource, I have the MIB for them, but how > tricky / trivial is it to get the data from the device? > > > > And also, if the definition says > > > > hrprinterdetectederrorstate OBJECT-TYPE > > SYNTAX OCTET STRING > > ACCESS read-only > > STATUS mandatory > > DESCRIPTION > > "This object represents any error conditions > > detected by the printer. The error conditions are > > encoded as bits in an octet string, with the > > following definitions: > > Condition Bit # hrDeviceStatus > > lowPaper 0 warning(3) > > noPaper 1 down(5) > > lowToner 2 warning(3) > > noToner 3 down(5) > > doorOpen 4 down(5) > > jammed 5 down(5) > > offline 6 down(5) > > serviceRequested 7 warning(3) > > > > how do I pull a certain definition from it? I would like to define one > check for toner_low and one for jammed and so on, so forth? > > > > ----- > Jan Johansson > IT-Coordinator > NEW WAVE LOGISTICS Scandinavia AB > Exportgatan 28, Box 4114 > S-422 04 HISINGS BACKA, Sweden > Phone: +46(0) 31 742 48 00 > Direct: +46(0) 31 742 28 23 > Fax: +46(0) 31 7424801 > > In this particular case - have you tried check_hpjd plugin that queries the HP JetDirect card via snmp? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 4 14:22:43 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 4 Oct 2002 08:22:43 -0400 Subject: check_nt output problem Message-ID: in your misccommands.cfg replace printf blah blah "message" with /bin/echo -e 'message" note the change in quotes. later, dean -----Original Message----- From: peter riegersperger [mailto:rick at subnet.at] Sent: Thursday, October 03, 2002 3:48 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt output problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi! we just recently started using nagios 1.0b6. we use nsclient and check_nt to monitor our windows servers. when nsclient returns its message for a free diskspace check, it looks like: D:\ - total: 17.08 Gb - used: 15.53 Gb (91%) - free 1.54 Gb (9%) this works well for the webinterface, but when nagios sends a notification email, the message gets truncated after "D:", and nagios complains: /usr/bin/printf: \ : invalid escape is there a way around this w/o changing the code? greetings, rick ps: sorry if that has been covered before. a look at the faq and a search of the list archive didn't bring anything up. |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPZyQ5CDD9/SWDsvSEQIaVwCgifPm8lMFatg/wWEb4iEOBrGeadUAnj9N u/YulXI6X8t5lUDsMFJwWXY7 =q3ez -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Fri Oct 4 14:42:58 2002 From: greis at grinco.de (Olaf Greis) Date: Fri, 4 Oct 2002 14:42:58 +0200 Subject: nagios plugins compile problem on debian In-Reply-To: <1033727900.19448.1.camel@miles.debisschop.net> References: <9EA0F1554816EB499A4B1136B80E8DE278031A@storevis.datavis.se> <1033727900.19448.1.camel@miles.debisschop.net> Message-ID: <200210041442.58625@grinco.de> to me it would seem more important to actually use only sh syntax in the scripts and not mixing it with bash syntax. on a linux system sh and bash are often the same, but solaris, aix & friends use a sh != bash. brdgs olaf Am Freitag, 4. Oktober 2002 12:38 schrieb Karl DeBisschop: > On Fri, 2002-10-04 at 02:31, Fredrik W?nglund wrote: > > The problem is that some of the scripts in the dir 'plugin-scripts' has > > an illegal first line wit an space in it; '#! /bin/sh' > > I have seen people suggest this a few times. > > GNU coding practice suggests using the space. It is required for a few > systems. > > Can you clearly show me how you come to the conclusion that is the > problem? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Oct 4 15:43:55 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 04 Oct 2002 08:43:55 -0500 Subject: Check_ifstatus / SNMP.pm problems Message-ID: I am trying to get check_ifstatus going and am having some difficulties getting NET-SNMP and the Perl SNMP module configured properly. I have installed both NET-SNMP and the SNMP.pm, but I still receive the following error message, when I attempt to run the check_ifstatus command from the nagios libexec directory to test it: # ./check_ifstatus -H 10.5.1.11 Can't locate object method "session" via package "Net::SNMP" (perhaps you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. As I mentioned, I installed NET-SNMP and installed the SNMP perl module following the instructions that accompany both of those components. I also followed Subhendu Ghosh's postings from August 21st (RE: [Nagios-users] SNMP.pm Solution/problem) and attempted to install again/verify my perl module installation by installing it using the CPAN shell. That attempt returns that Net::SNMP is up to date. Obviously, I missed some step or have failed to do some configuration. Any assistance would be appreciated. My system is Red Hat 7.3. I am running Perl 5.6.1, although there appears to be an existing 5.6.0 installation as well. I am using the Nagios Plugins v1.3 Beta1 plugins and the latest version of Net-SNMP 5.0.5 (released 10/1/2002) Here are the steps I went through. INSTALLED NET-SNMP * Downloaded and extracted Net-SNMP 5.0.5 * ./configure * make * umask 022 * make install INSTALLED / VERIFIED PERL SNMP MODULE * From the perl subdirectory of the extracted NET-SNMP directory, ran: perl Makefile.PL * make * make test * make install * Since the SNMP.pm was installed to /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding was that NET-SNMP actually looks for it under a directory named Net, I created a directory named Net and copied SNMP.pm to that folder as well. * Executing the check_ifstatus now finds the SNMP.pm in its included paths, but produces the session error message * Tried to install again/verify the SNMP.pm installation by installing it through the CPAN shell: perl -MCPAN -e "install Net::SNMP" - That attempt returns that Net::SNMP is up to date. Thanks in advance for any assistance you can provide. Nolan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Fri Oct 4 16:04:24 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Fri, 4 Oct 2002 16:04:24 +0200 Subject: Ngios 1.0b6 : Perfdata Problem Message-ID: <008301c26bae$f1afd870$6702a8c0@intranet.equal.fr> Hi, I'm Netsaint user and i decide to try Nagios... I want to use the perfdata functionnality but i do not succeed... 1) I compile Nagios with --with-default-perfdata I put these entriues in my nagios.cfg : process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata I put these entries in my services.cfg : define service{ host_name mycomputer service_description check check_command check_alive max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 parallelize_check 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups louafi } I put the entry process_perf_data 1 in my MYCOMPUTER definition in hosts.cfg I defined these commands in my commands.cfg : define command{ command_name process-host-perfdata command_line /bin/echo -e "$HOSTNAME$" >> /opt/nagios/hostperfdata } define command{ command_name process-service-perfdata command_line /bin/echo -e "$HOSTNAME$" >> /opt/nagios/serviceperfdata } But I don't have any entry in my files :( (Nagios does not create the dump file) 2) I recompile NAGIOS with --with-file-perfdata I put these entries in my nagios.cfg : process_performance_data=1 xpdfile_host_perfdata_file=/opt/nagios/var/hostperf xpdfile_service_perfdata_file=/opt/nagios/var/svcperf xpdfile_host_perfdata_template=$HOSTNAME$\n xpdfile_service_perfdata_template=$HOSTNAME$\n Nagios creates hostperf and svcperf files but i don't have any entry in these files :( The files permssions are good... Any Ideas ??? Thanks Sebastien LOUAFI Project Manager ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Oct 4 16:12:19 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 4 Oct 2002 16:12:19 +0200 Subject: nagios plugins compile problem on debian Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278031C@storevis.datavis.se> >> The problem is that some of the scripts in the dir 'plugin-scripts' has an >>illegal first line wit an space in it; >> '#! /bin/sh' >> >I have seen people suggest this a few times. > >GNU coding practice suggests using the space. It is required for a few >systems. > >Can you clearly show me how you come to the conclusion that is the >problem? > > >-- >Karl Not clearly. But when I remoded the space, it worked.. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From CTIEXCH-SA at emp.ctc.net Fri Oct 4 16:23:18 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Fri, 4 Oct 2002 10:23:18 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-04\10-23-18.29640 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Fri Oct 4 16:19:37 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 4 Oct 2002 08:19:37 -0600 (MDT) Subject: FAQ: Passive host checks? In-Reply-To: <3D9B7BAE.7442.D1FDF7@localhost> References: <3D9B7BAE.7442.D1FDF7@localhost> Message-ID: > I am investigating the possibility of adding passive host checks in > 2.0. However, allowing passive checks opens a whole new can of worms > as far as host check logic is concerned. For instance, if a host is > reported (passively) as being down (it was previously up), what > should happen with child hosts? Should those be actively checked > according to the current tree traversal logic? Also, host checks are > performed on-demand only (synchronously), so how do you handle > asynchronous results? Host checks also get priority over pending > passive service check results, so that has to be figured out. If a passive host check reports that a host is down, you _have_ to assume that the script knows what it's doing. If the host check is stale, then I think the child hosts need to be checked independently, and probably actively. To me, the entire point of using passive host checks would be nullified if the children were checked despite the parent host being down, rightly or wrongly. The passive host checking script would have to go to some length to ensure that the host really was down, however. > Anyway, it isn't exactly trivial without changing a good portion of > how the host check logic works. I'll be looking into it though... That's what I figured, after seeing how passive checks were integrated into the service-checking logic. It's not a one-liner, by any means! > > On 2 Oct 2002 at 8:52, Jason Marshall wrote: > > > > Passive *service* checks are well documented; passive *host* checks > > > are not. > > > > There are no passive host checks. I tried that already, and it always > > uses the active method, and ignores passive updates (which are, granted, > > documented as service check updates). > > > > I, too, would like a way to monitor hosts that isn't based on Nagios's > > large-grain checking granularity. I can tell within 2 seconds if a router > > that lots of other hosts are dependent upon are down -- I don't want the > > remote hosts being checked for up to a full minute (and failing, thereby > > alerting me) when it's really the router that'd down. If I could tell > > nagios (passively) within 2 seconds of the incident that the router is > > down, I'd avoid a lot of spurious alerts... > > > > > My current workaround is to define a service called ALIVE and > > > report passive service checks for that service, but that is not > > > 100% satisfying. > > > > I agree. I haven't looked at the part of the code that would make passive > > host checks possible, but it seems like it could be a major undertaking... > > And there could be underlying reasons why such a check would be a bad > > thing... > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Oct 4 16:43:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 4 Oct 2002 09:43:20 -0500 Subject: Nrpe messages Message-ID: Aha! So I'm not the only one! ;-) Until now, I thought there was something funky about my setup. (I still haven't ruled this out.) jc > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Friday, October 04, 2002 2:07 AM > To: nagios > Subject: [Nagios-users] Nrpe messages > > > > Could not read request from client, bailing out... > > Can anybody tell why nrpe gives above message in the > /var/log/messages?? > > -- > Atul Gosain > Mindframe Software and Services Pvt. Ltd. > A-50, Sector-39 > Noida(UP). > ph no: 4500369,4575991 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brian.whitehead at digitalevergreen.com Fri Oct 4 16:34:35 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 04 Oct 2002 09:34:35 -0500 Subject: Nrpe messages In-Reply-To: References: Message-ID: <1033742075.11696.4.camel@spasm.whiteheadconsulting.com> On Fri, 2002-10-04 at 09:43, Carroll, Jim P [Contractor] wrote: > Aha! So I'm not the only one! ;-) > > Until now, I thought there was something funky about my setup. (I still > haven't ruled this out.) > > jc > > > -----Original Message----- > > From: Atul Gosain [mailto:atul at mindsw.com] > > Sent: Friday, October 04, 2002 2:07 AM > > To: nagios > > Subject: [Nagios-users] Nrpe messages > > > > > > > > Could not read request from client, bailing out... > > > > Can anybody tell why nrpe gives above message in the > > /var/log/messages?? > > > > -- > > Atul Gosain > > Mindframe Software and Services Pvt. Ltd. > > A-50, Sector-39 > > Noida(UP). > > ph no: 4500369,4575991 > > I had a similar issue once. It turned out to be a change I made me ipchains rules. Check both your client and server tcp/ip configs and any firewalling you may have setup. If you're running ipchains/iptables or anything similar, try flushing all of the rules. Make sure tcp/ip is not misconfigured, like an incorrect subnet mask. Once you've gone over it all, try restarting xinetd, assuming you setup nrpe to be run from xinetd. -- Brian Whitehead - A+, LCP, RHCE Systems Administrator Direct: 816.512.9417 Mobile: 816.510.3996 mailto:brian.whitehead at digitalevergreen.com Digital Evergreen 423 West 8th Street Suite 410 Kansas City, MO 64105 Phone: 816.512.9399 http://www.digitalevergreen.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 4 17:10:26 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 4 Oct 2002 11:10:26 -0400 Subject: wildcards in templates? Message-ID: Good morning, i see that some support is in place for wildcards in templates (i.e. you can place all hosts in a hostgroup by using "*". But can you do something like host_name bob* to include hosts bob1, bob2, bob3, etc?? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 4 17:52:13 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 4 Oct 2002 11:52:13 -0400 Subject: illegal_macro_output_chars Message-ID: Good morning, i just added a few hosts to my nagios 1.0b6 config, ran the verification, and saw this error at the bottom of the message: Warning: Nothing specified for illegal_macro_output_chars variable! What is this? Where do i begin to look? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stevelml1 at scee.sony.co.uk Fri Oct 4 18:19:17 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Fri, 4 Oct 2002 17:19:17 +0100 Subject: illegal_macro_output_chars References: Message-ID: <008701c26bc1$c9e0d390$f5c8dfc2@niltxp> this is a new config entry in 106b (or earlier.. cant remember). if you have upgraded from an earlier version, then the old config will not have these new entries and nagios will fail. they appear just below the `date_format` entry in the config file, and look something like this: ======================= # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> ======================= Steve ----- Original Message ----- From: "Bishop, Dean" To: Sent: Friday, October 04, 2002 4:52 PM Subject: [Nagios-users] illegal_macro_output_chars > Good morning, > > i just added a few hosts to my nagios 1.0b6 config, ran the > verification, and saw this error at the bottom of the message: > > Warning: Nothing specified for illegal_macro_output_chars variable! > > What is this? Where do i begin to look? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 4 18:35:20 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 4 Oct 2002 12:35:20 -0400 Subject: illegal_macro_output_chars Message-ID: cool. Should i just copy a 106b clean nagios.cfg over to my etc and redo it? what other stuff has changed wrt configs? thanks a million, dean -----Original Message----- From: Steve Loughran [mailto:stevelml1 at scee.sony.co.uk] Sent: Friday, October 04, 2002 12:19 PM To: Nagios Users Cc: Bishop, Dean Subject: Re: [Nagios-users] illegal_macro_output_chars this is a new config entry in 106b (or earlier.. cant remember). if you have upgraded from an earlier version, then the old config will not have these new entries and nagios will fail. they appear just below the `date_format` entry in the config file, and look something like this: ======================= # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> ======================= Steve ----- Original Message ----- From: "Bishop, Dean" To: Sent: Friday, October 04, 2002 4:52 PM Subject: [Nagios-users] illegal_macro_output_chars > Good morning, > > i just added a few hosts to my nagios 1.0b6 config, ran the > verification, and saw this error at the bottom of the message: > > Warning: Nothing specified for illegal_macro_output_chars variable! > > What is this? Where do i begin to look? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Oct 4 18:46:37 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 4 Oct 2002 11:46:37 -0500 Subject: Nrpe messages Message-ID: Brian Whitehead wrote: > I had a similar issue once. It turned out to be a change I made me > ipchains rules. Check both your client and server tcp/ip configs and > any firewalling you may have setup. If you're running > ipchains/iptables > or anything similar, try flushing all of the rules. Make > sure tcp/ip is > not misconfigured, like an incorrect subnet mask. Once > you've gone over > it all, try restarting xinetd, assuming you setup nrpe to be run from > xinetd. My configuration: Nagios (server) - Red Hat Linux 7.3 2.96-110 - Dell Optiplex GX1 Client experiencing problem (one example) - Solaris8 (SunOS 5.8) - Sun Enterprise E6500 - nrpe running as standalone The problem is extremely sporadic. I would think that if it were a firewall config problem, I would be having *no* success, but that's not the case at all. It runs fine for a while, then on a non-deterministic basis, the problem rears its ugly head. One 'could not read request' error, then it runs fine for a while. The problem doesn't appear at the same time of every hour, nor does it appear at the same time of every day, so it's unlikely to be related to a cronjob. I mentioned in a previous message that I even ran a loop (with no sleeps) like the following one (from the Nagios server) and it chugged happily along, returning results with every iteration: while : do check_nrpe [whatever] done When I run 'top' on the Nagios server, the CPU is 97% idle. The only thing that springs to mind is that 'netstat -i' does report some errors. (Does anyone have a good reference on which errors 'netstat -i' produces that are work sitting up and paying attention to?) Actually, there are 1 or 2 other things that might remedy the problem. Migrating to a beefier box, and/or moving the existing box from the current (test) location (4-port workgroup hub connected to the upstream switch) over to the main switch where the majority of the monitored systems are. It could be that the 4-port hub isn't up to snuff, and certainly eliminating this from the equation would make me more confident. I'm still open to suggestions. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From etouchett at aeieng.com Fri Oct 4 18:45:19 2002 From: etouchett at aeieng.com (Evan Touchett) Date: Fri, 04 Oct 2002 11:45:19 -0500 Subject: Has 'check_dhcp' been updated since Feb 2001 ? Message-ID: I'm looking to use the check_dhcp plugin to check to see if our dhcp server is still functioning. I found an Alpha version that Ethan put out and was wondering if it has been updated since? Any feed back would be appreciated. Thanks -evan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jason.Ahrens at TELUS.COM Fri Oct 4 18:58:13 2002 From: Jason.Ahrens at TELUS.COM (Jason Ahrens) Date: Fri, 4 Oct 2002 10:58:13 -0600 Subject: Nagios 1.0b6 not stable on sun Message-ID: <853ED27B8537D611AD1000508BAFBB11820332@ONMSG001> > From: David Deaves [mailto:David.Deaves at dd.id.au] > Subject: Re: [Nagios-users] Nagios 1.0b6 not stable on sun > > You may want to disable the capturing of SIGSEGV by commenting > out that Hello. I'm trying to implement a second installation of Nagios on a remote server. (Redhat 7.2) I've installed and configured, run my /bin/nagios -v tests without error and can execute nagios at the command line and as a daemon. My problem is this: After about an hour or so of monitoring, Nagios shuts down without error. /var/nagios.log shows no stopping of the daemon, and the /var/rw/nagios.cmd file is still in place, as is nagios.lock. I can log out of my SSH session and log back in at a later time without killing the process. Has anyone had this error before and/or does anyone have any suggestions? Thanks, Joel Johnson Network Engineer GSI http://www.gsi-kc.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From amurrey at sauriantech.com Fri Oct 4 20:39:07 2002 From: amurrey at sauriantech.com (Andrew Murrey) Date: Fri, 4 Oct 2002 13:39:07 -0500 Subject: Nagios Shuts Down Without Error In-Reply-To: <12CD0152DEA17047B144FA3FE0E2327140F795@skipper.gsi-kc.com> References: <12CD0152DEA17047B144FA3FE0E2327140F795@skipper.gsi-kc.com> Message-ID: This happened to me before. I recompiled a new nagios bin, and it was fine. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Joel Johnson Sent: Friday, October 04, 2002 1:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Shuts Down Without Error Hello. I'm trying to implement a second installation of Nagios on a remote server. (Redhat 7.2) I've installed and configured, run my /bin/nagios -v tests without error and can execute nagios at the command line and as a daemon. My problem is this: After about an hour or so of monitoring, Nagios shuts down without error. /var/nagios.log shows no stopping of the daemon, and the /var/rw/nagios.cmd file is still in place, as is nagios.lock. I can log out of my SSH session and log back in at a later time without killing the process. Has anyone had this error before and/or does anyone have any suggestions? Thanks, Joel Johnson Network Engineer GSI http://www.gsi-kc.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jason.Ahrens at TELUS.COM Fri Oct 4 20:10:09 2002 From: Jason.Ahrens at TELUS.COM (Jason Ahrens) Date: Fri, 4 Oct 2002 12:10:09 -0600 Subject: Nagios - Modifying options on Host/Service information screens Message-ID: <853ED27B8537D611AD1000508BAFBB11820338@ONMSG001> Recently there was talk of modifying the options on the host and service information screen. In particular, I would like to modify these screens to removed things like flap detection toggling (don't use it) and other such things. It was suggested this is done through the CSS file. I looked and couldn't find these anywhere in the CSS. Is there a way to turn off display of certain options in this Host Commands and Service Commands on the information screens? I could edit the source code for the status.cgi to accomplish this, but that seems rather an extreme measure. Thanks Jason -- Jason Ahrens, Hosting Analyst TELUS Enterprise Solutions http://www.telus.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Fri Oct 4 21:32:16 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 4 Oct 2002 15:32:16 -0400 Subject: Problems Running NRPE Client on an HP-UX workstation Message-ID: <5593DA408212D511B0910002A513501F01D2875F@phsexch20.mgh.harvard.edu> Hello all, I have set up the nrpe client an HP-UX machine runing version 10.20. The check I'm running is the check_disk command. The syntax of the line in the nrpe.cfg file reads: command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/vg01/lvol3 The connection is being refused. I am wondering if trying to read a logical volume could be generating this error. I have spoken to several people and it does not appear to be a permissions issue. FYI: The Nagios application server is not part of an NIS domain while the workstation is a member of one. However, both machines can see each other on the network. The workstation can be accessed via telnet while the application server can be connected to via ssh. Your thoughts? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 4 21:34:14 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Oct 2002 15:34:14 -0400 (EDT) Subject: Has 'check_dhcp' been updated since Feb 2001 ? In-Reply-To: References: Message-ID: On Fri, 4 Oct 2002, Evan Touchett wrote: > > I'm looking to use the check_dhcp plugin to check to see if our dhcp > server is still functioning. I found an Alpha version that Ethan put > out and was wondering if it has been updated since? > > Any feed back would be appreciated. > > Thanks > > -evan > nope - it works fine so long as your don't need to test for a particular dhcp relay. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 4 21:38:56 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Oct 2002 15:38:56 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: Ummm yes and no :) NET-SNMP package includes the snmp command line utilities used by check_snmp and the SNMP.pm module. check_ifstatus and friends require Net::SNMP module -which is an all perl snmp manager library implementation. the names are confusing similar... the perl modules names are actually different. -sg On Fri, 4 Oct 2002, Nolan Martin wrote: > I am trying to get check_ifstatus going and am having some difficulties > getting NET-SNMP and the Perl SNMP module configured properly. > > I have installed both NET-SNMP and the SNMP.pm, but I still receive the > following error message, when I attempt to run the check_ifstatus > command from the nagios libexec directory to test it: > > # ./check_ifstatus -H 10.5.1.11 > Can't locate object method "session" via package "Net::SNMP" (perhaps > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > As I mentioned, I installed NET-SNMP and installed the SNMP perl module > following the instructions that accompany both of those components. I > also followed Subhendu Ghosh's postings from August 21st (RE: > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > again/verify my perl module installation by installing it using the CPAN > shell. That attempt returns that Net::SNMP is up to date. > > Obviously, I missed some step or have failed to do some configuration. > Any assistance would be appreciated. > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > appears to be an existing 5.6.0 installation as well. I am using the > Nagios Plugins v1.3 Beta1 plugins and the latest version of Net-SNMP > 5.0.5 (released 10/1/2002) > > Here are the steps I went through. > > INSTALLED NET-SNMP > * Downloaded and extracted Net-SNMP 5.0.5 > * ./configure > * make > * umask 022 > * make install > > INSTALLED / VERIFIED PERL SNMP MODULE > * From the perl subdirectory of the extracted NET-SNMP directory, ran: > perl Makefile.PL > * make > * make test > * make install > * Since the SNMP.pm was installed to > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding was that > NET-SNMP actually looks for it under a directory named Net, I created a > directory named Net and copied SNMP.pm to that folder as well. > * Executing the check_ifstatus now finds the SNMP.pm in its included > paths, but produces the session error message > * Tried to install again/verify the SNMP.pm installation by installing > it through the CPAN shell: > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > Net::SNMP is up to date. > > Thanks in advance for any assistance you can provide. > > Nolan > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 4 21:41:50 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Oct 2002 15:41:50 -0400 (EDT) Subject: Ngios 1.0b6 : Perfdata Problem In-Reply-To: <008301c26bae$f1afd870$6702a8c0@intranet.equal.fr> References: <008301c26bae$f1afd870$6702a8c0@intranet.equal.fr> Message-ID: It depends on if the plugins in use are actually generating perfdata. most standard plugins are not yet doing so unless you are using CVS version for check_http and check_tcp. -sg On Fri, 4 Oct 2002, louafi wrote: > Hi, > > I'm Netsaint user and i decide to try Nagios... > I want to use the perfdata functionnality but i do not succeed... > > 1) > I compile Nagios with --with-default-perfdata > I put these entriues in my nagios.cfg : > process_performance_data=1 > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > > I put these entries in my services.cfg : > > define service{ > host_name mycomputer > service_description check > check_command check_alive > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > active_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 30 > notification_period 24x7 > notification_options w,c,r > contact_groups louafi > } > > I put the entry process_perf_data 1 in my MYCOMPUTER definition in > hosts.cfg > > I defined these commands in my commands.cfg : > > define command{ > command_name process-host-perfdata > command_line /bin/echo -e "$HOSTNAME$" >> > /opt/nagios/hostperfdata > } > define command{ > command_name process-service-perfdata > command_line /bin/echo -e "$HOSTNAME$" >> > /opt/nagios/serviceperfdata > } > > But I don't have any entry in my files :( (Nagios does not create the > dump file) > > 2) > I recompile NAGIOS with --with-file-perfdata > > I put these entries in my nagios.cfg : > process_performance_data=1 > xpdfile_host_perfdata_file=/opt/nagios/var/hostperf > xpdfile_service_perfdata_file=/opt/nagios/var/svcperf > xpdfile_host_perfdata_template=$HOSTNAME$\n > xpdfile_service_perfdata_template=$HOSTNAME$\n > > Nagios creates hostperf and svcperf files but i don't have any entry in > these files :( > > The files permssions are good... > > Any Ideas ??? > > Thanks > > Sebastien LOUAFI > Project Manager > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Oct 4 21:52:54 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 04 Oct 2002 14:52:54 -0500 Subject: Has 'check_dhcp' been updated since Feb 2001 ? Message-ID: Has anyone come up with a creative way to test DHCP across subnets? >>> Subhendu Ghosh 10/04/02 02:34PM >>> On Fri, 4 Oct 2002, Evan Touchett wrote: > > I'm looking to use the check_dhcp plugin to check to see if our dhcp > server is still functioning. I found an Alpha version that Ethan put > out and was wondering if it has been updated since? > > Any feed back would be appreciated. > > Thanks > > -evan > nope - it works fine so long as your don't need to test for a particular dhcp relay. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lzxx4x at linux133.powertrain.mpg.gm.com Fri Oct 4 22:37:38 2002 From: lzxx4x at linux133.powertrain.mpg.gm.com (Amar S. Bhatti) Date: 04 Oct 2002 16:37:38 -0400 Subject: question about new subroutine like config structure In-Reply-To: <1490.202.88.151.191.1033715393.squirrel@www.webyarn.com> References: <1490.202.88.151.191.1033715393.squirrel@www.webyarn.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Atul Gosain" writes: > Hey dont put ur hard work into converting netsaint conf into nagios conf > manually. There is allready a script in contrib directory of nagios > distribution which does that for u in elegant manner. > > Enjoy thanks a lot Atul, I should have looked into the contrib before posting my question, I have found and will be using it to bring the data from netsaint into my test nagios machine. Later, - -- Amar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9nfwSf5nrtLFqbwoRAvtCAJ96KYUnVhfofE0QbReYbDPOud/eYQCgqcrL 2dKF8XbC5gealf6vZCFNcVM= =sG0a -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Oct 4 23:29:29 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 04 Oct 2002 16:29:29 -0500 Subject: Check_ifstatus / SNMP.pm problems Message-ID: Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) I would say this was largely because the first time I ran a check_ifstatus, it complained about not having the SNMP.pm in its @INC path.... Once I adjusted it so that it was in its path, that error went away. I then received the session error message.... But, as I mentioned, based on one of your postings in the archives, I separately attempted to install the Net::SNMP through the CPAN shell and received a response that Net::SNMP is up to date ( perl -MCPAN -e "install Net::SNMP"). So, if I understand correctly, Net::SNMP is installed on the machine. Thoughts or suggestions as to what I am missing or misunderstanding? Thanks for your response. Nolan >>> Subhendu Ghosh 10/04/02 02:38PM >>> Ummm yes and no :) NET-SNMP package includes the snmp command line utilities used by check_snmp and the SNMP.pm module. check_ifstatus and friends require Net::SNMP module -which is an all perl snmp manager library implementation. the names are confusing similar... the perl modules names are actually different. -sg On Fri, 4 Oct 2002, Nolan Martin wrote: > I am trying to get check_ifstatus going and am having some difficulties > getting NET-SNMP and the Perl SNMP module configured properly. > > I have installed both NET-SNMP and the SNMP.pm, but I still receive the > following error message, when I attempt to run the check_ifstatus > command from the nagios libexec directory to test it: > > # ./check_ifstatus -H 10.5.1.11 > Can't locate object method "session" via package "Net::SNMP" (perhaps > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > As I mentioned, I installed NET-SNMP and installed the SNMP perl module > following the instructions that accompany both of those components. I > also followed Subhendu Ghosh's postings from August 21st (RE: > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > again/verify my perl module installation by installing it using the CPAN > shell. That attempt returns that Net::SNMP is up to date. > > Obviously, I missed some step or have failed to do some configuration. > Any assistance would be appreciated. > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > appears to be an existing 5.6.0 installation as well. I am using the > Nagios Plugins v1.3 Beta1 plugins and the latest version of Net-SNMP > 5.0.5 (released 10/1/2002) > > Here are the steps I went through. > > INSTALLED NET-SNMP > * Downloaded and extracted Net-SNMP 5.0.5 > * ./configure > * make > * umask 022 > * make install > > INSTALLED / VERIFIED PERL SNMP MODULE > * From the perl subdirectory of the extracted NET-SNMP directory, ran: > perl Makefile.PL > * make > * make test > * make install > * Since the SNMP.pm was installed to > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding was that > NET-SNMP actually looks for it under a directory named Net, I created a > directory named Net and copied SNMP.pm to that folder as well. > * Executing the check_ifstatus now finds the SNMP.pm in its included > paths, but produces the session error message > * Tried to install again/verify the SNMP.pm installation by installing > it through the CPAN shell: > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > Net::SNMP is up to date. > > Thanks in advance for any assistance you can provide. > > Nolan > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Fri Oct 4 23:38:52 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 4 Oct 2002 14:38:52 -0700 (PDT) Subject: VMRL Weirdness? Message-ID: <20021004213853.86869.qmail@web21501.mail.yahoo.com> Hi, I just installed the latest release (1.0b6) and have two small questions. For the VMRL map I changed the; default_statuswrl_layout=2 After restarting I get "You have not supplied any 3-d map cooridnates" when attemping to view the VRML map. The 2d map works, and if I enable auto layout I can edit the z axis, but not the X/Y axises.... I'm assuming it's not a file/permissions error cuz the 2d works, & I can change the object on the z coord plane, just not the x/y(when in auto).. Also traceroute.cgi? I added; command_name check_ping command_line $USER1$/cgi-bin/traceroute.cgi/$HOSTADDRESS$ $USER1$/check_ping -H $HOSTADDRESS$ -w 10,10.0% -c 20,40.0% -p 5 } the $user1$/cgi-bin/traceroute.cgi calls the correct path, but shouldn't it be calling a URL? If I do a http://localhost/nagios/cgi-bin/traceroute.cgi/10.10.10.10 I see the trace, but otherwise I get plugin errors... Thanks! __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: hostextinfo.cfg Type: application/octet-stream Size: 2332 bytes Desc: hostextinfo.cfg URL: From jcarro10 at sprintspectrum.com Fri Oct 4 23:50:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 4 Oct 2002 16:50:00 -0500 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: Looks like a permission problem to me. However, let's take the methodological approach. 1) Can you run the following on the command line of the client: /usr/local/nagios/libexec/check_disk 80 95 /dev/vg01/lvol3 and if so, great, and if not, that's where you need to start digging. 2) Is the nrpe daemon running, either as standalone or under (x)inetd? You might want to try to nmap tcp port 5666 (assuming that's the port you're using) on the client, or in a pinch, "telnet 127.0.0.1 5666" from the command line of the client, just as a sanity check. 3) Have you correctly configured the allowed_hosts directive in nrpe.cfg on the client? As a *minimal* configuration (IMHO) it should look like: allowed_hosts=127.0.0.1,n.n.n.n where n.n.n.n is the IP address of your Nagios server. If this is set to at least 127.0.0.1, you should be able to at least do this (on the client): /path/to/check_nrpe 127.0.0.1 -c check_disk1 and you should immediately get a response back. HTH. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Friday, October 04, 2002 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems Running NRPE Client on an HP-UX > workstation > > > Hello all, > > I have set up the nrpe client an HP-UX machine runing version > 10.20. The > check I'm running is the check_disk command. The syntax of > the line in the > nrpe.cfg file reads: > > command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 > /dev/vg01/lvol3 > > The connection is being refused. I am wondering if trying to > read a logical > volume could be generating this error. I have spoken to > several people and > it does not appear to be a permissions issue. FYI: The Nagios > application > server > is not part of an NIS domain while the workstation is a member of one. > However, both > machines can see each other on the network. The workstation > can be accessed > via telnet > while the application server can be connected to via ssh. > Your thoughts? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Sat Oct 5 03:13:21 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 04 Oct 2002 21:13:21 -0400 Subject: nagios plugins compile problem on debian In-Reply-To: <200210041442.58625@grinco.de> References: <9EA0F1554816EB499A4B1136B80E8DE278031A@storevis.datavis.se> <1033727900.19448.1.camel@miles.debisschop.net> <200210041442.58625@grinco.de> Message-ID: <1033780402.1089.18.camel@miles.debisschop.net> On Fri, 2002-10-04 at 08:42, Olaf Greis wrote: > to me it would seem more important to actually use only sh syntax in the > scripts and not mixing it with bash syntax. on a linux system sh and bash are > often the same, but solaris, aix & friends use a sh != bash. This has nothing to do with bash v. sh, sorry to be misleading. The coding practice comes from autoconf docs, which has everything to do with trying to work on as many platforms as possible. So, a little poking around on the web gets me this URL: http://www.uni-ulm.de/~s_smasch/various/shebang/
Some specialities: * There is a rumor, that a very few and very special, earlier Unix versions (particularly 4.2BSD derivatives) require you to separate the "#!" from the following path with a blank. You may also read, that (allegedly) such a kernel would parse "#! /" as a 32-bit (long) magic. But it turns out that it is impossible to find a Unix which actually requires this. 4.2BSD in fact doesn't, although the GNU autoconf tutorial wrongly claims this (Portable Shell Programming). But instead, see again 4.0BSD /usr/src/sys/newsys/sys1.c, as well as the first regular occurence in 4.2BSD, /usr/src/sys/sys/kern_exec.c. The source (certainly) always accepted a blank, but never required it. All the above pointed out by Gunnar Ritter in <3B5B0BA4.XY112IX2 at bigfoot.de> (and due to the new Caldera license, i can reproduce the code here now.) Instead, the origin of this myth "of the required blank" might be a particular version of 4.1 BSD, There is a manpage in a "4.1.snap" snapshot of 4.1BSD on the CSRG CDs, /usr/man/man2/exec.2 (4/1/81), where a space/tab after the "#!" is mentioned as mandatory. (Hint to such a manpage from Bruce Barnett in ). All the above can give evidence that the myth is only based on a bug in documentation.
What the autoconf tutorial says is this:
Also, include a space after the exclamation point in interpreter specifications, like this: #! /usr/bin/perl If you omit the space before the path, then 4.2BSD based systems (such as Sequent DYNIX) will ignore the line, because they interpret `#! /' as a 4-byte magic number.
Can anyone find an instance of Sequent DYNIX to test this? > brdgs > olaf > > Am Freitag, 4. Oktober 2002 12:38 schrieb Karl DeBisschop: > > On Fri, 2002-10-04 at 02:31, Fredrik W?nglund wrote: > > > The problem is that some of the scripts in the dir 'plugin-scripts' has > > > an illegal first line wit an space in it; '#! /bin/sh' > > > > I have seen people suggest this a few times. > > > > GNU coding practice suggests using the space. It is required for a few > > systems. > > > > Can you clearly show me how you come to the conclusion that is the > > problem? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stevelml1 at scee.sony.co.uk Sat Oct 5 07:00:48 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Sat, 5 Oct 2002 06:00:48 +0100 Subject: illegal_macro_output_chars References: Message-ID: <01dc01c26c2c$2bb44330$ccfe10ac@niltxp> I just copied-n-pasted these entries into my old config and it worked first time... Steve ----- Original Message ----- From: "Bishop, Dean" To: "'Steve Loughran'" ; "Nagios Users" Cc: "Bishop, Dean" Sent: Friday, October 04, 2002 5:35 PM Subject: RE: [Nagios-users] illegal_macro_output_chars > cool. > > Should i just copy a 106b clean nagios.cfg over to my etc and redo it? > > what other stuff has changed wrt configs? > > thanks a million, > dean > > -----Original Message----- > From: Steve Loughran [mailto:stevelml1 at scee.sony.co.uk] > Sent: Friday, October 04, 2002 12:19 PM > To: Nagios Users > Cc: Bishop, Dean > Subject: Re: [Nagios-users] illegal_macro_output_chars > > > this is a new config entry in 106b (or earlier.. cant remember). if you have > upgraded from an earlier version, then the old config will not have these > new entries and nagios will fail. > > they appear just below the `date_format` entry in the config file, and look > something like this: > > ======================= > > # ILLEGAL OBJECT NAME CHARACTERS > # This options allows you to specify illegal characters that cannot > # be used in host names, service descriptions, or names of other > # object types. > > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > > > > # ILLEGAL MACRO OUTPUT CHARACTERS > # This options allows you to specify illegal characters that are > # stripped from macros before being used in notifications, event > # handlers, etc. This DOES NOT affect macros used in service or > # host check commands. > # The following macros are stripped of the characters you specify: > # $OUTPUT$, $PERFDATA$ > > illegal_macro_output_chars=`~$&|'"<> > > ======================= > > Steve > > ----- Original Message ----- > From: "Bishop, Dean" > To: > Sent: Friday, October 04, 2002 4:52 PM > Subject: [Nagios-users] illegal_macro_output_chars > > > > Good morning, > > > > i just added a few hosts to my nagios 1.0b6 config, ran the > > verification, and saw this error at the bottom of the message: > > > > Warning: Nothing specified for illegal_macro_output_chars variable! > > > > What is this? Where do i begin to look? > > > > thanks, > > dean > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mkothandan at yahoo.com Sat Oct 5 10:13:44 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Sat, 5 Oct 2002 01:13:44 -0700 (PDT) Subject: how to add new host Message-ID: <20021005081344.97116.qmail@web40408.mail.yahoo.com> Dear sir, We had downloaded nagios and installed in our network. We have some problems which is adding new hosts and services. We can able to monitor only the list which is given in the hosts.cfg (sample file). If we try to add a new entry for host in the hosts.cfg file, then the nagios fails to start. How do we add new hosts and services. Kindly guide us. Thanks Koths --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Sat Oct 5 16:30:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 5 Oct 2002 10:30:12 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: Check the location for perl in your path versus the perl in the #! statement. (or config.status if using embedded perl) -sg On Fri, 4 Oct 2002, Nolan Martin wrote: > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > I would say this was largely because the first time I ran a > check_ifstatus, it complained about not having the SNMP.pm in its @INC > path.... Once I adjusted it so that it was in its path, that error went > away. I then received the session error message.... > > But, as I mentioned, based on one of your postings in the archives, I > separately attempted to install the Net::SNMP through the CPAN shell and > received a response that Net::SNMP is up to date ( perl -MCPAN -e > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > installed on the machine. > > Thoughts or suggestions as to what I am missing or misunderstanding? > Thanks for your response. > > Nolan > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > Ummm yes and no :) > > NET-SNMP package includes the snmp command line utilities used by > check_snmp and the SNMP.pm module. > > check_ifstatus and friends require Net::SNMP module -which is an all > perl > snmp manager library implementation. > > the names are confusing similar... the perl modules names are actually > > different. > > -sg > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > I am trying to get check_ifstatus going and am having some > difficulties > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > I have installed both NET-SNMP and the SNMP.pm, but I still receive > the > > following error message, when I attempt to run the check_ifstatus > > command from the nagios libexec directory to test it: > > > > # ./check_ifstatus -H 10.5.1.11 > > Can't locate object method "session" via package "Net::SNMP" > (perhaps > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > module > > following the instructions that accompany both of those components. > I > > also followed Subhendu Ghosh's postings from August 21st (RE: > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > again/verify my perl module installation by installing it using the > CPAN > > shell. That attempt returns that Net::SNMP is up to date. > > > > Obviously, I missed some step or have failed to do some > configuration. > > Any assistance would be appreciated. > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > appears to be an existing 5.6.0 installation as well. I am using > the > > Nagios Plugins v1.3 Beta1 plugins and the latest version of Net-SNMP > > 5.0.5 (released 10/1/2002) > > > > Here are the steps I went through. > > > > INSTALLED NET-SNMP > > * Downloaded and extracted Net-SNMP 5.0.5 > > * ./configure > > * make > > * umask 022 > > * make install > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > * From the perl subdirectory of the extracted NET-SNMP directory, > ran: > > perl Makefile.PL > > * make > > * make test > > * make install > > * Since the SNMP.pm was installed to > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding was > that > > NET-SNMP actually looks for it under a directory named Net, I created > a > > directory named Net and copied SNMP.pm to that folder as well. > > * Executing the check_ifstatus now finds the SNMP.pm in its included > > paths, but produces the session error message > > * Tried to install again/verify the SNMP.pm installation by > installing > > it through the CPAN shell: > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > Net::SNMP is up to date. > > > > Thanks in advance for any assistance you can provide. > > > > Nolan > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Sat Oct 5 16:36:55 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 5 Oct 2002 10:36:55 -0400 (EDT) Subject: Has 'check_dhcp' been updated since Feb 2001 ? In-Reply-To: References: Message-ID: check_dhcp will work across subnets - the dhcp broadcast gets picked up by the relay and forwarded and the response is unicast back. What you cannot do is specify a particular relay to use (directed dhcp request). -sg On Fri, 4 Oct 2002, Nolan Martin wrote: > Has anyone come up with a creative way to test DHCP across subnets? > > >>> Subhendu Ghosh 10/04/02 02:34PM >>> > On Fri, 4 Oct 2002, Evan Touchett wrote: > > > > > I'm looking to use the check_dhcp plugin to check to see if our dhcp > > server is still functioning. I found an Alpha version that Ethan > put > > out and was wondering if it has been updated since? > > > > Any feed back would be appreciated. > > > > Thanks > > > > -evan > > > > nope - it works fine so long as your don't need to test for a > particular dhcp relay. > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Sun Oct 6 16:45:19 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sun, 6 Oct 2002 16:45:19 +0200 Subject: Command after check? Message-ID: <002701c26d46$fe814c20$0a00a8c0@nh> Hi, is there any way to specify a command to be run after every service and host check? I tried it with obsessive compulsive service processor commands, but it didn't work. Unfortunatly the page for the command definition of oscp at nagios homepage don't work. Because I don't know how and where I have to specify my command definition, I wrote it in the misccommads.cfg file like the other commands. But nothing happens, neither an error occurred nor the command runs. What else can I do? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilles.poiret at noos.fr Sun Oct 6 19:49:33 2002 From: gilles.poiret at noos.fr (Gilles Poiret) Date: Sun, 6 Oct 2002 19:49:33 +0200 Subject: Problem with host objects behavior.. Message-ID: <20021006174933.GA694@localhost> Hi everybody, I'm several problems with Hosts objects : - hosts checks. When no services are defined, no hosts checks are performed. Result : status is "pending" since 2 days, while host is ok and plugin works "by hand" Result 2 : status is "down" since 2 days, while host is ok (IP address that I defined in first move was not the right one..) When and how hosts checks are performed ? - networks outages My configuration : root : "father" of router1 router1 : "father" of host1, host2, router2 router2 : "father" of host3, host4 when router1 is discovered down, a network outage is flaged. -> on status map, a red line links router1 to its hosts "sons". BUT : 1-"sons" host are said ok, 2-no outages are detected about router2 (it's a router1 son) (logical, in my mind, due to 1- .. but no a good thing !) Normal ? - hosts checks when services are down When a host down, I received services alerts for it, and if the downtime is long enough, i receive the host alert. I beleived that when services checks returned a trouble, a host check was performed and if a host problem was detected, only the host notification was sent.. That's not the case ? Is this a configuration problem ? Thanks for advance. -- Gilles Poiret ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Sun Oct 6 20:40:07 2002 From: mpowell at ena.com (Marc Powell) Date: Sun, 6 Oct 2002 13:40:07 -0500 Subject: Problem with host objects behavior.. Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E264A5@mismail.ena.com> Host checks are only performed when and if a service check on that host fails. You must therefor have at least one service defined for each host. It can be as simple as a ping service. Since nagios is primarily service based, host checks are only used to determine if an outage is caused by a service being down (I.e. http) or the entire host. Marc -----Original Message----- From: Gilles Poiret To: nagios-users at lists.sourceforge.net Sent: Sun Oct 06 12:49:33 2002 Subject: [Nagios-users] Problem with host objects behavior.. Hi everybody, I'm several problems with Hosts objects : - hosts checks. When no services are defined, no hosts checks are performed. Result : status is "pending" since 2 days, while host is ok and plugin works "by hand" Result 2 : status is "down" since 2 days, while host is ok (IP address that I defined in first move was not the right one..) When and how hosts checks are performed ? - networks outages My configuration : root : "father" of router1 router1 : "father" of host1, host2, router2 router2 : "father" of host3, host4 when router1 is discovered down, a network outage is flaged. -> on status map, a red line links router1 to its hosts "sons". BUT : 1-"sons" host are said ok, 2-no outages are detected about router2 (it's a router1 son) (logical, in my mind, due to 1- .. but no a good thing !) Normal ? - hosts checks when services are down When a host down, I received services alerts for it, and if the downtime is long enough, i receive the host alert. I beleived that when services checks returned a trouble, a host check was performed and if a host problem was detected, only the host notification was sent.. That's not the case ? Is this a configuration problem ? Thanks for advance. -- Gilles Poiret ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Sun Oct 6 20:45:22 2002 From: mpowell at ena.com (Marc Powell) Date: Sun, 6 Oct 2002 13:45:22 -0500 Subject: Command after check? Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E264A6@mismail.ena.com> Ocsp is what you want. You should have a complete copy of the documentation as part of the nagios install package you downloaded and I believe there is a specific section on what you are trying to do. The distributed monitoring section might also be informative as that utilizes ocsp as well. Marc -----Original Message----- From: Nicole Haehnel To: Nagios ; Nagios Plug Sent: Sun Oct 06 09:45:19 2002 Subject: [Nagios-users] Command after check? Hi, is there any way to specify a command to be run after every service and host check? I tried it with obsessive compulsive service processor commands, but it didn't work. Unfortunatly the page for the command definition of oscp at nagios homepage don't work. Because I don't know how and where I have to specify my command definition, I wrote it in the misccommads.cfg file like the other commands. But nothing happens, neither an error occurred nor the command runs. What else can I do? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From zakki at indosatcom.net Mon Oct 7 04:27:41 2002 From: zakki at indosatcom.net (Zakki A) Date: Mon, 7 Oct 2002 09:27:41 +0700 Subject: reporting Message-ID: <004801c26da9$1fe0ec10$0b65a8c0@INDOSATCOM.NET> Hi all ... i try to create a report ... here is what i done: 1. click 'Trends' reporting 2. choose 'Host' reporting 3. choose 'eci' as the host 4. and the step three : Step 3: Select Report Options Report period: Last 7 Assume Initial States: Yes Assume State Retention: Yes First Assumed State: Unspecified Backtracked Archives: 4 Suppress image map: Suppress popups: 5 then i click Create Report ( i attached the result report image) well the result is not as i expected, it said that 1005 status is inderteminate. what's wrong with my reporting step ? zakki -------------- next part -------------- A non-text attachment was scrubbed... Name: tes.zip Type: application/x-zip-compressed Size: 7034 bytes Desc: not available URL: From tdeblend at gcc.dhl.com Mon Oct 7 08:30:11 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Mon, 07 Oct 2002 08:30:11 +0200 Subject: how to add new host References: <20021005081344.97116.qmail@web40408.mail.yahoo.com> Message-ID: <3DA129F3.4550B93C@gcc.dhl.com> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Mon Oct 7 10:52:24 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Mon, 7 Oct 2002 10:52:24 +0200 Subject: Command after check? References: <5DB017510818EC468B05BD7BD9EACF8301E264A6@mismail.ena.com> Message-ID: <000201c26dde$f1774cd0$13121bac@pc1072> Re: [Nagios-users] Command after check?Hi, I found the command definition for ocsp in the documentation, but I still don't really know in which config file I have to write the command. It occurres no errors and the ocsp command does not run. I turned obsess_over_service in the main config file on. How do I find out why it doesn't work? Thanks! Nicole ----- Original Message ----- From: Marc Powell To: Nicole.Haehnel at epost.de ; nagios-users at lists.sourceforge.net ; nagiosplug-help at lists.sourceforge.net Sent: Sunday, October 06, 2002 8:45 PM Subject: Re: [Nagios-users] Command after check? Ocsp is what you want. You should have a complete copy of the documentation as part of the nagios install package you downloaded and I believe there is a specific section on what you are trying to do. The distributed monitoring section might also be informative as that utilizes ocsp as well. Marc -----Original Message----- From: Nicole Haehnel To: Nagios ; Nagios Plug Sent: Sun Oct 06 09:45:19 2002 Subject: [Nagios-users] Command after check? Hi, is there any way to specify a command to be run after every service and host check? I tried it with obsessive compulsive service processor commands, but it didn't work. Unfortunatly the page for the command definition of oscp at nagios homepage don't work. Because I don't know how and where I have to specify my command definition, I wrote it in the misccommads.cfg file like the other commands. But nothing happens, neither an error occurred nor the command runs. What else can I do? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.louafi at e-qual.fr Mon Oct 7 11:31:45 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Mon, 7 Oct 2002 11:31:45 +0200 Subject: Ngios 1.0b6 : Perfdata Problem Message-ID: <003501c26de4$5a6fc280$6702a8c0@intranet.equal.fr> Hi, I agree with you but I made test with check_ping plugin that generates perfdata but I still have no entry in my files, I also made tests with netsaint plugins (I use it before) but there was the same problem... Seb >It depends on if the plugins in use are actually generating perfdata. > most standard plugins are not yet doing so unless you are using CVS > version for check_http and check_tcp. > > -sg > > On Fri, 4 Oct 2002, louafi wrote: > > > Hi, > > > > I'm Netsaint user and i decide to try Nagios... > > I want to use the perfdata functionnality but i do not succeed... > > > > 1) > > I compile Nagios with --with-default-perfdata > > I put these entriues in my nagios.cfg : > > process_performance_data=1 > > host_perfdata_command=process-host-perfdata > > service_perfdata_command=process-service-perfdata > > > > I put these entries in my services.cfg : > > > > define service{ > > host_name mycomputer > > service_description check > > check_command check_alive > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 3 > > active_checks_enabled 1 > > check_period 24x7 > > parallelize_check 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > notification_interval 30 > > notification_period 24x7 > > notification_options w,c,r > > contact_groups louafi > > } > > > > I put the entry process_perf_data 1 in my MYCOMPUTER definition in > > hosts.cfg > > > > I defined these commands in my commands.cfg : > > > > define command{ > > command_name process-host-perfdata > > command_line /bin/echo -e "$HOSTNAME$" >> > > /opt/nagios/hostperfdata > > } > > define command{ > > command_name process-service-perfdata > > command_line /bin/echo -e "$HOSTNAME$" >> > > /opt/nagios/serviceperfdata > > } > > > > But I don't have any entry in my files :( (Nagios does not create the > > dump file) > > > > 2) > > I recompile NAGIOS with --with-file-perfdata > > > > I put these entries in my nagios.cfg : > > process_performance_data=1 > > xpdfile_host_perfdata_file=/opt/nagios/var/hostperf > > xpdfile_service_perfdata_file=/opt/nagios/var/svcperf > > xpdfile_host_perfdata_template=$HOSTNAME$\n > > xpdfile_service_perfdata_template=$HOSTNAME$\n > > > > Nagios creates hostperf and svcperf files but i don't have any entry in > > these files :( > > > > The files permssions are good... > > > > Any Ideas ??? > > > > Thanks > > > > Sebastien LOUAFI > > Project Manager > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at li... > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Mon Oct 7 12:47:30 2002 From: atul at mindsw.com (Atul Gosain) Date: Mon, 7 Oct 2002 16:17:30 +0530 (IST) Subject: RRDtool integration Message-ID: <3658.202.88.151.191.1033987650.squirrel@www.webyarn.com> Hi Has anybody used RRDTool data for the service of nagios. Actually on the monitoring server, there are many softwares running for monitoring like MRTG,Smokeping,Nagios. This causes a lot of load on CPU while hosts are checked redundantly from nagios,smokeping. Smokeping also pings every host at some intervals. It uses RRD tool to store its information. If the information stored in RRD can be used by nagios ping services , then a lot of load can be reduced on the server. Has anybody done that before or some useful suggestions. -- _-. .-_ _..-'( )`-.._ ./'. '||\\. (\_/) .//||` .`\. ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\. ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\. ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\. /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\ '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.` '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.` |/' \./' `\./ |/\ /\| \./' `\./ `\| V V V }' `\ /' `{ V V V ` ` ` U ' ' Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Oct 7 13:26:47 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 7 Oct 2002 13:26:47 +0200 Subject: RRDtool integration Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780324@storevis.datavis.se> I am using RRDtool to store some data that is collected by Nagios. I am not using the perfdata functionality because its not many plugins that supports it. Instead I have a wrapper-script that takes a function-name as argument and executes that function (often an Nagios-plugin), extracts the perf-part and stores it in a rrd and finally returns a status and statuscode to Nagios. I also have a small cgi that draws graphs for the last 10 mins, hour, day, week, etc and a link to that cgi as 'extended host info'. /FredrikW -----Original Message----- From: Atul Gosain [mailto:atul at mindsw.com] Sent: Mon 07-Oct-02 12:47 To: nagios Cc: Subject: [Nagios-users] RRDtool integration Hi Has anybody used RRDTool data for the service of nagios. Actually on the monitoring server, there are many softwares running for monitoring like MRTG,Smokeping,Nagios. This causes a lot of load on CPU while hosts are checked redundantly from nagios,smokeping. Smokeping also pings every host at some intervals. It uses RRD tool to store its information. If the information stored in RRD can be used by nagios ping services , then a lot of load can be reduced on the server. Has anybody done that before or some useful suggestions. -- _-. .-_ _..-'( )`-.._ ./'. '||\\. (\_/) .//||` .`\. ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\. ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\. ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\. /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\ '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.` '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.` |/' \./' `\./ |/\ /\| \./' `\./ `\| V V V }' `\ /' `{ V V V ` ` ` U ' ' Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Mon Oct 7 14:44:59 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Mon, 07 Oct 2002 14:44:59 +0200 Subject: Citrix plugin Message-ID: <3DA181CB.ABB0CE78@gcc.dhl.com> Dear all, Thanks to the great efforts made by Ed Rolison who created the original plugin for Big Brother, and Stanley Hopcroft who cleaned up the Netsaint port I've made, I am now able to release a beta version of the check_cit plugin. Help can be obtained by running "./check_cit --help". Basicly this plugin checks for the availability of published applications in a Citrix environment. It does this either by means of a broadcast, or by using a query to a specific server. I would like to ask those of you who have a Citrix environment to try out the plugin, and see if it works OK. Any comments are welcome. Kind regards, Tom De Blende -------------- next part -------------- #!/usr/bin/perl -w # $Id: check_cit,v 1.6 2002-10-03 16:16:44+10 anwsmh Exp anwsmh $ # $Log: check_cit,v $ # Revision 1.6 2002-10-03 16:16:44+10 anwsmh # Contributions from Mr Bas Rijniersce # 1 Decode unicode in application list if it looks as if the app list contains unicode # 2 Only stop receiving packets from the browser after the socket times out # (formerly would only read 2 packets and this was useless for more than 20 apps) # if -L option. # 3 Change meaning of -T and default value. Now this is the UDP packet timeout # value and is set to be 1 second. # # Revision 1.5 2002-10-01 19:26:07+10 anwsmh # Provide -L option to deal with long lists of published apps (use -T probably indicated also). # # Revision 1.4 2002-10-01 16:53:56+10 anwsmh # Roll version to accomodate # . -P no longer mandatory (either -P or -W will do) # . remove some redundant pack and unpacks after getting the # app list from the browser. # # Ed Rolison 15/06/02 # ed at nightstalker.net # If it doesn't work, please let me know, I've only had access to my # environment so I'm not 100% sure. # # If you want to mess around with this script, then please feel free # to do so. # However, if you add anything 'funky' then I'd really appreciate # hearing about it. # # Oh, and if you do ever make huge amounts of money out of it, cut me # in :) use strict ; use IO::Socket; use IO::Select; use FileHandle; use Getopt::Long ; use vars qw($opt_H $opt_B $opt_W $opt_T $debug @citrix_servers $crit_pub_apps $warn_pub_apps $long_list); use utils qw(%ERRORS &print_revision &support &usage); my $PROGNAME = 'check_citrix' ; sub print_help (); sub print_usage (); sub help (); sub version (); delete @ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; # You might have to change this... use constant PACKET_TIMEOUT => 1; # Number of seconds to wait for further UDP packets use constant TEST_COUNT => 2; # Number of datagrams sent without reply use constant BUFFER_SIZE => 1500; # buffer size used for 'recv' calls. use constant LONG_LIST => 0 ; # this is for if you have many published applications. # if you set it, it won't do any harm, but may slow the test # down a little. (Since it does a 'recv' twice instead of # once and therefore may have to wait for a timeout). use constant ICA_PORT => 1604; # what port ICA runs on. Unlikely to change. # End user config. Getopt::Long::Configure('bundling', 'no_ignore_case'); GetOptions ("V|version" => \&version, "h|help" => \&help, "d|debug" => \$debug, "B|broadcast_addr:s" => \$opt_B, "C|citrix_servers:s" => \@citrix_servers, "L|long_list" => \$long_list, "P|crit_pub_apps:s" => \$crit_pub_apps, "T|Packet_timeout:i" => \$opt_T, "W|warn_pub_apps:s" => \$warn_pub_apps, ) ; # configuration section my $broadcast_addr = $1 if $opt_B and $opt_B =~ m#(\d+\.\d+\.\d+\.\d+)# ; usage("Invalid broadcast address: $opt_B\n") if $opt_B and not defined($broadcast_addr) ; usage("You must provide either the names of citrix servers or the broadcast address of the subnet containing them\n") unless (@citrix_servers or $broadcast_addr) ; my @target = defined $broadcast_addr ? ($broadcast_addr) : @citrix_servers ; usage("You must provide the names of the published applications that the Citrix browser should be advertising\n") unless $crit_pub_apps or $warn_pub_apps ; my $Timeout = $opt_T if defined $opt_T ; $Timeout = PACKET_TIMEOUT unless defined $Timeout ; $long_list = LONG_LIST unless defined $long_list ; my @crit_pub_apps = $crit_pub_apps ? split(/,/, $crit_pub_apps) : () ; my @warn_pub_apps = $warn_pub_apps ? split(/,/, $warn_pub_apps) : () ; # definitions of query strings. Change at your own risk :) # this info was gathered with tcpdump whilst trying to use an ICA client, # so I'm not 100% sure of what each value is. my @bcast_helo = &tethereal2list(<<'End_of_Tethereal_trace', '1e') ; 0020 ff ff 04 d6 06 44 00 26 4a 76 1e 00 01 30 02 fd .....D.&Jv...0.. 0030 a8 e3 00 02 f5 95 9f f5 30 07 00 00 00 00 00 00 ........0....... 0040 00 00 00 00 00 00 01 00 End_of_Tethereal_trace my @bcast_query_app = &tethereal2list(<<'End_of_Tethereal_trace', '24') ; 0020 64 17 04 50 06 44 00 2c 85 6a 24 00 01 32 02 fd d..P.D.,.j$..2.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 21 00 02 00 00 00 00 00 ......!...... End_of_Tethereal_trace my @direct_helo = &tethereal2list(<<'End_of_Tethereal_trace', '20') ; 0020 64 17 05 0f 06 44 00 28 ab b5 20 00 01 30 02 fd d....D.(.. ..0.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 00 00 00 00 End_of_Tethereal_trace my @direct_query_app = &tethereal2list(<<'End_of_Tethereal_trace', '2c') ; 0020 64 17 05 10 06 44 00 34 7a 9a 2c 00 02 32 02 fd d....D.4z.,..2.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 21 00 02 00 01 00 00 00 00 00 ......!......... 0050 00 00 00 00 00 00 End_of_Tethereal_trace my $Udp = IO::Socket::INET->new( Proto => 'udp' ) || die "Socket failure: $!"; # select is here to allow us to set timeouts on the connections. Otherwise they # just 'stop' until a server appears. my $select = IO::Select->new($Udp) || die "Select failure: $!"; # helo needs to be broadcast, but query does not. $Udp->sockopt(SO_BROADCAST, 1 ); $Udp->autoflush(1); my ($remote_host, $buff, $buff2, $raddr, $rport, $rhost, @remote_response); my (@query_message, $send_addr, $this_test) ; $buff = $buff2 = ''; $this_test = 0; # If there is no response to the first helo packet it will be resent # up to TEST_COUNT (see at the top). while ( ++$this_test <= TEST_COUNT && !$buff ) { print "Sending helo datagram. datagram number: ", $this_test, "\n" if $debug ; # if we have multiple targets, we probe each of them until we get a # response... foreach my $destination (@target) { @query_message = ( $broadcast_addr ? @bcast_helo : @direct_helo) ; print "Querying $destination for master browser\n" if $debug ; $send_addr = sockaddr_in(ICA_PORT, inet_aton($destination) ); &dump(pack('C*', @query_message)) if $debug ; $Udp->send( pack('C*', @query_message), 0, $send_addr ); if ( $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff, BUFFER_SIZE, 0 ); } last if $buff ; sleep 1 ; } # foreach destination } # while loop # ok we've looped several times, looking for a response. If we don't have one # yet, we simply mark the whole lot as being unavailable. unless ( $buff ) { print "Failed. No response to helo datagram (master browser query) from ", $broadcast_addr ? $broadcast_addr : "@citrix_servers", ".\n" ; exit $ERRORS{CRITICAL} ; } ($rport, $raddr) = sockaddr_in( $remote_host ); $rhost = gethostbyaddr( $raddr, AF_INET ); my @tmpbuf = unpack('C*', $buff ); if ( $debug ) { print "$rhost:$rport responded with: ",length($buff), " bytes\n"; &dump($buff) ; } #if debug # now we have a response, then we need to figure out the master browser, and # query it for published applications... my $master_browser = join '.', @tmpbuf[32..35] ; # ok should probably error check this, because it's remotely possible # that a server response might be completely wrong... print "Master browser = $master_browser\n" if $debug ; $send_addr = sockaddr_in(ICA_PORT, inet_aton($master_browser)); if ( $broadcast_addr ) { print "using broadcast query\n" if $debug ; @query_message = @bcast_query_app; } else { print "using directed query\n" if $debug ; @query_message = @direct_query_app; } # now we send the appropriate query string, to the master browser we've found. $buff = ''; $this_test = 0 ; print "Querying master browser for published application list\n" if $debug ; while ( ++$this_test <= TEST_COUNT && !$buff ) { print "Sending application query datagram. datagram number: ", $this_test, "\n" if $debug ; &dump(pack('C*', @query_message)) if $debug ; $Udp->send( pack ('C*', @query_message), 0, $send_addr ); if ( $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff, BUFFER_SIZE, 0 ); # $buff = substr($buff, 32) ; # Hope that ICA preamble is first 32 bytes } # long application lists are delivered in multiple packets my $buff2 = '' ; while ( $long_list && $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff2, BUFFER_SIZE, 0 ); $buff .= $buff2 if $buff2 ; # $buff .= substr($buff2, 32) if $buff2 ; # Hope that ICA preamble is first 32 bytes } last if $buff ; sleep 1 ; } # while test_count unless ( $buff ) { print "Failed. No response to application query datagram from ", $master_browser, ".\n" ; exit $ERRORS{CRITICAL} ; } # we got a response from a couple of retries of the app query ($rport, $raddr) = sockaddr_in ( $remote_host ); $rhost = gethostbyaddr ( $raddr, AF_INET ); if ( $debug ) { print "$rhost:$rport responded to app query with: ",length($buff), " bytes\n"; &dump($buff) ; } #debug my $app_list = $buff ; # delete nulls in unicode # but only if there is unicode (usually from # broadcast query) $app_list =~ s/(?:(\w| |-)\x00)/$1/g if $app_list =~ /(?:(?:(?:\w| |-)\x00){3,})/ ; # FIXME an application name is # 3 or more unicoded characters # FIXME locale # extract null terminated strings my (@clean_app_list, $clean_app_list) ; $clean_app_list = join(',', @clean_app_list = $app_list =~ m#([A-Z](?:\w| |-)+?(?=\x00))#g ) ; # FIXME everyones apps don't start with caps print qq(Received list of applications: "$clean_app_list".\n) if $debug ; if ( scalar @crit_pub_apps and my @missing = &simple_diff(\@clean_app_list, \@crit_pub_apps) ) { print qq(Failed. "@missing" not found in list of published applications), qq( "$clean_app_list" from master browser "$master_browser".\n) ; exit $ERRORS{CRITICAL} ; } if ( my @missing = &simple_diff(\@clean_app_list, \@warn_pub_apps) ) { print qq(Warning. "@missing" not found in list of published applications), qq( "$clean_app_list" from master browser "$master_browser".\n) ; exit $ERRORS{WARNING} ; } my @x = (@crit_pub_apps, @warn_pub_apps) ; my $blah = ( scalar(@x) == 1 ? 'the published application "' . join(',', @x) . '" is available' : 'the published applications "' . join(',', @x) . '" are available' ) ; print qq(Ok. Citrix master browser "$master_browser" reported that $blah.\n) ; exit $ERRORS{OK} ; # sleep $Timeout; # because otherwise we can get responses from # the WRONG servers. DOH close $Udp; sub print_usage () { print "Usage: $PROGNAME (-B | -C ..) -W -P \n"; } sub print_help () { print_revision($PROGNAME,'$Revision: 1.6 $ '); print "Copyright (c) 2002 Ed Rolison/Tom De Blende Perl Check Citrix plugin for NetSaint. Returns OK if the Citrix master browser returns a 'published application' list that contain names specified by the -W or -P options The plugin works by If the -B option is specified, sending a broadcast helo to find the address of the Citrix master browser in the specified subnet. return critical if there is no reply; Else if the -C option is specified send a direct helo to the specified server until there is a response (containing the address of the Citrix master browser) Query the master browser (using a 'broadcast published applications query ' if -B) and compare the published applications returned to those specified by -W and -P options return Critical if the published applications specified by -P is not a subset of the query responses; return Warning if the published applications specified by -W is not a subset of the query responses; return OK "; print_usage(); print ' -B, --broadcast_address=STRING The broadcast address that should contain Citrix master browser. This option takes precedence over -C. -C, --citrix_server:STRING Optional __name(s)__ of Citrix servers that could be the master browser (used when broadcast not possible). -L, --long_list Set this if you have heaps of published applications (ie more than will fit in _one_ UDP packet) -P, --crit_published_app=STRING Optional comma separated list of published application that must be in the response from the master browser. Check returns critical otherwise. -T, --packet-timeout:INTEGER Time to wait for UDP packets (default 1 sec). -W, --warn_published_app=STRING Optional comma separated list of published application that should be in the response from the master browser. Check returns warning otherwise. -d, --debug Debugging output. -h, --help This stuff. '; support(); } sub version () { print_revision($PROGNAME,'$Revision: 1.6 $ '); exit $ERRORS{'OK'}; } sub help () { print_help(); exit $ERRORS{'OK'}; } sub dump { my ($x) = shift @_ ; my (@x, @y, $y, $i, $rowcount) ; my ($nr, $j, $number_in_row, $number_of_bytes) ; my $dump ; $number_in_row = 16 ; $number_of_bytes = length $x ; $nr = 0 ; # styled on tethereal. foreach $j (1 .. int( $number_of_bytes / $number_in_row) ) { $y = substr($x, ($j - 1)*$number_in_row, $number_in_row) ; @y = unpack("C*", $y) ; $y =~ tr /\x00-\x19/./ ; $rowcount = sprintf("%4.4x", ($j - 1) * 0x10 ) ; $dump .= sprintf "%s %s %s\n", $rowcount, join(" ", map { sprintf "%2.2x", $_} @y), $y ; $nr++ ; } if ( $number_of_bytes % $number_in_row > 0 ) { my $spaces_to_text = $number_in_row * 3 - 1 + 3 ; $rowcount = sprintf("%4.4x", $nr * 0x10 ) ; $y = substr($x, $nr * $number_in_row ) ; @y = unpack("C*", $y) ; my $bytes = join(" ", map { sprintf "%2.2x", $_} @y) ; my $spaces = ' ' x ($spaces_to_text - length($bytes)) ; $dump .= sprintf "%s %s%s%s\n", $rowcount, $bytes, $spaces, $y ; } print $dump, "\n" ; } sub tethereal2list { my ($tethereal_dump, $start_byte) = @_ ; # return an array containing qw(0xef 0xab 0x00 ...) from a tethereal trace. # skip all stuff until the first byte given by $start_byte. return undef unless $tethereal_dump =~ /\d\d\d\d \S\S(?: \S\S){1,15}/ ; my $hex_start_byte = hex($start_byte) ; my @x = $tethereal_dump =~ m#(.+)#g ; my @y = map unpack("x6 a47", $_), @x ; my @z = map { my $y = $_; $y =~ s/(\S\S)/hex($1)/eg; my @a = split(' ', $y); @a } @y ; shift @z, while $z[0] ne $hex_start_byte ; @z ; } sub simple_diff { my ( $a_list, $b_list) = @_ ; # simple set difference 'Recipe 4.7 Perl Cookbook', Christiansen and Torkington my (%seen, @missing) ; @seen{@$a_list} = () ; foreach my $item (@$b_list) { push @missing, $item unless exists $seen{$item} ; } @missing ; } From g.zorzi at tecom.it Mon Oct 7 14:58:40 2002 From: g.zorzi at tecom.it (Giuliano Zorzi) Date: 07 Oct 2002 14:58:40 +0200 Subject: visual/noise notification Message-ID: <1033995520.2403.16.camel@giuliano> Hi ! is it possible (and how can I) to configure nagios to repeatly play a sound (noise alarm) and/or turn on a light device (visual alarm)? Thanks a lot Giuliano ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 7 16:13:51 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 7 Oct 2002 10:13:51 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28762@phsexch20.mgh.harvard.edu> Hi Jim, I tried step one as a "regular" user and I encountered the error message: EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. I then switched to root user and reran the binary and I got the following: EXECUTE PERMISSION DENIED The permissions on the libexec directory are 755 and that also applies to the files underneath. The owner and group owner of the directory and files is root:sys. Your thoughts? -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, October 04, 2002 5:50 PM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation Looks like a permission problem to me. However, let's take the methodological approach. 1) Can you run the following on the command line of the client: /usr/local/nagios/libexec/check_disk 80 95 /dev/vg01/lvol3 and if so, great, and if not, that's where you need to start digging. 2) Is the nrpe daemon running, either as standalone or under (x)inetd? You might want to try to nmap tcp port 5666 (assuming that's the port you're using) on the client, or in a pinch, "telnet 127.0.0.1 5666" from the command line of the client, just as a sanity check. 3) Have you correctly configured the allowed_hosts directive in nrpe.cfg on the client? As a *minimal* configuration (IMHO) it should look like: allowed_hosts=127.0.0.1,n.n.n.n where n.n.n.n is the IP address of your Nagios server. If this is set to at least 127.0.0.1, you should be able to at least do this (on the client): /path/to/check_nrpe 127.0.0.1 -c check_disk1 and you should immediately get a response back. HTH. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Friday, October 04, 2002 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems Running NRPE Client on an HP-UX > workstation > > > Hello all, > > I have set up the nrpe client an HP-UX machine runing version > 10.20. The > check I'm running is the check_disk command. The syntax of > the line in the > nrpe.cfg file reads: > > command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 > /dev/vg01/lvol3 > > The connection is being refused. I am wondering if trying to > read a logical > volume could be generating this error. I have spoken to > several people and > it does not appear to be a permissions issue. FYI: The Nagios > application > server > is not part of an NIS domain while the workstation is a member of one. > However, both > machines can see each other on the network. The workstation > can be accessed > via telnet > while the application server can be connected to via ssh. > Your thoughts? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Mon Oct 7 16:38:40 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 7 Oct 2002 08:38:40 -0600 (MDT) Subject: Problems Running NRPE Client on an HP-UX works tation In-Reply-To: <5593DA408212D511B0910002A513501F01D28762@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28762@phsexch20.mgh.harvard.edu> Message-ID: > I tried step one as a "regular" user and I encountered the error message: > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. Where did you get these binaries? It doesn't look like you compiled them on this machine (or one with the same OS level and architecture)... --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Oct 7 16:47:01 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 7 Oct 2002 09:47:01 -0500 Subject: Citrix plugin In-Reply-To: <3DA181CB.ABB0CE78@gcc.dhl.com> References: <3DA181CB.ABB0CE78@gcc.dhl.com> Message-ID: <20021007094701.5f3db3a8.marguz@ameritech.net> I can't wait to try this out :-) I scp'ed it to my Nagios box. I chmod +x to make it executable. When I ran "./check_cit --help" I get this error... Can't locate utils.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ./check_cit line 46. BEGIN failed--compilation aborted at ./check_cit line 46. Do I need to do the CSPAN thing? I'm really am a dumba$$ when it comes to perl. So can you please help :-) TIA! On Mon, 07 Oct 2002 14:44:59 +0200 "Tom DE BLENDE" wrote: > Dear all, > > Thanks to the great efforts made by Ed Rolison who created the > original plugin for Big Brother, and Stanley Hopcroft who cleaned up > the Netsaint port I've made, I am now able to release a beta version > of the check_cit plugin. > > Help can be obtained by running "./check_cit --help". Basicly this > plugin checks for the availability of published applications in a > Citrix environment. It does this either by means of a broadcast, or by > using a query to a specific server. > > I would like to ask those of you who have a Citrix environment to try > out the plugin, and see if it works OK. Any comments are welcome. > > Kind regards, > Tom De Blende ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From joel at gsi-kc.com Mon Oct 7 16:51:42 2002 From: joel at gsi-kc.com (Joel Johnson) Date: Mon, 7 Oct 2002 09:51:42 -0500 Subject: Citrix plugin Message-ID: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> The first step would be to call it 'CPAN', not 'CSPAN', although I'll forgive the error, because it isn't like Perl has LOTS OF WEIRD NAMES OR ANYTHING :D On the command line (and you'll likely want to be root), type 'perl -MCPAN -e shell' to get the interactive console version of CPAN. Then type 'i /utils/' to search for the proper module, then 'install ' once you've found it. If everything goes without a hitch, your module will be installed and automagically ready to rock. Joel -----Original Message----- From: Mark Guzzo [mailto:marguz at ameritech.net] Sent: Monday, October 07, 2002 9:47 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Citrix plugin I can't wait to try this out :-) I scp'ed it to my Nagios box. I chmod +x to make it executable. When I ran "./check_cit --help" I get this error... Can't locate utils.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ./check_cit line 46. BEGIN failed--compilation aborted at ./check_cit line 46. Do I need to do the CSPAN thing? I'm really am a dumba$$ when it comes to perl. So can you please help :-) TIA! On Mon, 07 Oct 2002 14:44:59 +0200 "Tom DE BLENDE" wrote: > Dear all, > > Thanks to the great efforts made by Ed Rolison who created the > original plugin for Big Brother, and Stanley Hopcroft who cleaned up > the Netsaint port I've made, I am now able to release a beta version > of the check_cit plugin. > > Help can be obtained by running "./check_cit --help". Basicly this > plugin checks for the availability of published applications in a > Citrix environment. It does this either by means of a broadcast, or by > using a query to a specific server. > > I would like to ask those of you who have a Citrix environment to try > out the plugin, and see if it works OK. Any comments are welcome. > > Kind regards, > Tom De Blende ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 7 16:53:21 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 07:53:21 -0700 (PDT) Subject: reporting In-Reply-To: <004801c26da9$1fe0ec10$0b65a8c0@INDOSATCOM.NET> References: <004801c26da9$1fe0ec10$0b65a8c0@INDOSATCOM.NET> Message-ID: <20021007145321.78967.qmail@web21508.mail.yahoo.com> Have the same problem, not sure if it's a problem or not yet, change first assumed service state to up, then you'll get some data..Same effect with the avail reports. --- Zakki A wrote: > Hi all ... i try to create a report ... here is what > i done: > 1. click 'Trends' reporting > 2. choose 'Host' reporting > 3. choose 'eci' as the host > 4. and the step three : > Step 3: Select Report Options > Report period: Last 7 > Assume Initial States: Yes > Assume State Retention: Yes > First Assumed State: Unspecified > Backtracked Archives: 4 > Suppress image map: > Suppress popups: > > 5 then i click Create Report ( i attached the result > report image) > > > well the result is not as i expected, it said that > 1005 status is > inderteminate. what's wrong with my reporting step ? > > > zakki > > ATTACHMENT part 2 application/x-zip-compressed name=tes.zip __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 7 17:06:33 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 7 Oct 2002 11:06:33 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28764@phsexch20.mgh.harvard.edu> Hi Jason, The standard that I have been following is the nrpe daemon and the nrpe.cfg file. As far as other config files are concerned, should they be copied into the libexec directory or will the nagios directory be sufficient? Also, the files would be coming from an x86 machine with Red Hat Linux 7.3 and they would be going onto a RISC-chip workstation running HP-UX 10.20. -----Original Message----- From: Jason Marshall [mailto:jasonm at kelman.com] Sent: Monday, October 07, 2002 10:55 AM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation The only thing you need on the client is the plugin, and enough stuff for nrpe to run. I also copy over the config files because some of my home-made plugins access the config files, but your mileage may vary... > They came from the original application server. My thinking was there wouldn't > be an issue > with my copying them from the server to the client. I could download the entire > program onto > the client machine and then compile the plugins thereafter. > > The question I have is, is it necessary for the entire program to be downloaded, > and if so does > the entire program need to remain on the client? > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 10:39 AM > To: Kaplan, Andrew H. > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > > I tried step one as a "regular" user and I encountered the error message: > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > Where did you get these binaries? It doesn't look like you compiled them > on this machine (or one with the same OS level and architecture)... > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Mon Oct 7 17:22:35 2002 From: russell at quadrix.com (Russell Scibetti) Date: Mon, 07 Oct 2002 11:22:35 -0400 Subject: reporting References: <004801c26da9$1fe0ec10$0b65a8c0@INDOSATCOM.NET> Message-ID: <3DA1A6BB.8080803@quadrix.com> Host checks won't occur unless a service for that host fails. So if you are trying to get a trend graph for a host that has never (or hardly ever) had a service fail, you are going to get mostly indeterminate since the host is hardly ever checked. You want to changes the First Assumed State from unspecified to Host OK. Also, make sure in your nagios log you have the log_initial_states optione set to 1. -Russell Zakki A wrote: >Hi all ... i try to create a report ... here is what i done: >1. click 'Trends' reporting >2. choose 'Host' reporting >3. choose 'eci' as the host >4. and the step three : >Step 3: Select Report Options >Report period: Last 7 >Assume Initial States: Yes >Assume State Retention: Yes >First Assumed State: Unspecified >Backtracked Archives: 4 >Suppress image map: >Suppress popups: > >5 then i click Create Report ( i attached the result report image) > > >well the result is not as i expected, it said that 1005 status is >inderteminate. what's wrong with my reporting step ? > > >zakki > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 7 17:26:57 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 7 Oct 2002 11:26:57 -0400 Subject: reporting Message-ID: have your hosts actually been checked? i am assuming that this is a new setup. if the services associated with these hosts haven't failed yet then there will be no info regarding host uptime. does the reporting work when you check a service? -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Monday, October 07, 2002 10:53 AM To: Zakki A; Nagios Subject: Re: [Nagios-users] reporting Have the same problem, not sure if it's a problem or not yet, change first assumed service state to up, then you'll get some data..Same effect with the avail reports. --- Zakki A wrote: > Hi all ... i try to create a report ... here is what > i done: > 1. click 'Trends' reporting > 2. choose 'Host' reporting > 3. choose 'eci' as the host > 4. and the step three : > Step 3: Select Report Options > Report period: Last 7 > Assume Initial States: Yes > Assume State Retention: Yes > First Assumed State: Unspecified > Backtracked Archives: 4 > Suppress image map: > Suppress popups: > > 5 then i click Create Report ( i attached the result > report image) > > > well the result is not as i expected, it said that > 1005 status is > inderteminate. what's wrong with my reporting step ? > > > zakki > > ATTACHMENT part 2 application/x-zip-compressed name=tes.zip __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Mon Oct 7 17:24:28 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Mon, 7 Oct 2002 17:24:28 +0200 Subject: Citrix plugin Message-ID: utils.pm is a module that comes with the (Nagios-/Netsaint-) plugins and you can find it in the /plugins-scripts directory. -vol > -----Original Message----- > From: Joel Johnson [mailto:joel at gsi-kc.com] > Sent: Monday, October 07, 2002 4:52 PM > To: Mark Guzzo > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Citrix plugin > > > The first step would be to call it 'CPAN', not 'CSPAN', > although I'll forgive the error, because it isn't like Perl > has LOTS OF WEIRD NAMES OR ANYTHING :D > > On the command line (and you'll likely want to be root), type > 'perl -MCPAN -e shell' to get the interactive console version > of CPAN. Then type 'i /utils/' to search for the proper > module, then 'install ' once you've found it. If > everything goes without a hitch, your module will be > installed and automagically ready to rock. > > Joel > > -----Original Message----- > From: Mark Guzzo [mailto:marguz at ameritech.net] > Sent: Monday, October 07, 2002 9:47 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Citrix plugin > > > I can't wait to try this out :-) > > I scp'ed it to my Nagios box. I chmod +x to make it > executable. When I ran "./check_cit --help" I get this error... > > Can't locate utils.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_perl/5.6.1/i386-linux > /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl > .) at ./check_cit line 46. > BEGIN failed--compilation aborted at ./check_cit line 46. > > Do I need to do the CSPAN thing? I'm really am a dumba$$ when > it comes to perl. So can you please help :-) > > TIA! > > > On Mon, 07 Oct 2002 14:44:59 +0200 > "Tom DE BLENDE" wrote: > > > Dear all, > > > > Thanks to the great efforts made by Ed Rolison who created the > > original plugin for Big Brother, and Stanley Hopcroft who cleaned up > > the Netsaint port I've made, I am now able to release a beta version > > of the check_cit plugin. > > > > Help can be obtained by running "./check_cit --help". Basicly this > > plugin checks for the availability of published applications in a > > Citrix environment. It does this either by means of a > broadcast, or by > > using a query to a specific server. > > > > I would like to ask those of you who have a Citrix > environment to try > > out the plugin, and see if it works OK. Any comments are welcome. > > > > Kind regards, > > Tom De Blende > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ken at hudat.com Mon Oct 7 17:34:04 2002 From: ken at hudat.com (Kendrick Vargas) Date: Mon, 7 Oct 2002 11:34:04 -0400 (EDT) Subject: Citrix plugin In-Reply-To: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> References: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> Message-ID: On Mon, 7 Oct 2002, Joel Johnson wrote: > The first step would be to call it 'CPAN', not 'CSPAN', although I'll > forgive the error, because it isn't like Perl has LOTS OF WEIRD NAMES OR > ANYTHING :D > > On the command line (and you'll likely want to be root), type 'perl > -MCPAN -e shell' to get the interactive console version of CPAN. Then > type 'i /utils/' to search for the proper module, then 'install url>' once you've found it. If everything goes without a hitch, your > module will be installed and automagically ready to rock. Ummm... the utils.pm comes from the nagiosplug distribution and was installed in my nagios/libexec folder. I had the same problem as the other guy mentioned till I moved the executable into the libexec folder and ran it from there. -peace -- Let he who is without clue kiss my ass ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Mon Oct 7 17:42:48 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 7 Oct 2002 17:42:48 +0200 Subject: Citrix plugin Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDA1@nc-mail2.in.nordcom.net> i simply added use lib "/usr/local/nagios/libexec" ; at the top of the script (above "use utils...") jens >-----Original Message----- >From: Kendrick Vargas [mailto:ken at hudat.com] >Sent: Monday, October 07, 2002 5:34 PM >To: Joel Johnson >Cc: Mark Guzzo; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Citrix plugin > > >On Mon, 7 Oct 2002, Joel Johnson wrote: > >> The first step would be to call it 'CPAN', not 'CSPAN', although I'll >> forgive the error, because it isn't like Perl has LOTS OF >WEIRD NAMES OR >> ANYTHING :D >> >> On the command line (and you'll likely want to be root), type 'perl >> -MCPAN -e shell' to get the interactive console version of CPAN. Then >> type 'i /utils/' to search for the proper module, then >'install > url>' once you've found it. If everything goes without a hitch, your >> module will be installed and automagically ready to rock. > >Ummm... the utils.pm comes from the nagiosplug distribution and was >installed in my nagios/libexec folder. I had the same problem >as the other >guy mentioned till I moved the executable into the libexec >folder and ran >it from there. > -peace > >-- >Let he who is without clue kiss my ass > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Mon Oct 7 18:01:00 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 7 Oct 2002 10:01:00 -0600 (MDT) Subject: Problems Running NRPE Client on an HP-UX works tation In-Reply-To: <5593DA408212D511B0910002A513501F01D28764@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28764@phsexch20.mgh.harvard.edu> Message-ID: I maintain the same structure on the clients as on the server, so it's easy to rsync things between the server and clients, as required. Doesn't matter what structure that is, I'd think, as long as it works. > The standard that I have been following is the nrpe daemon and the nrpe.cfg > file. > As far as other config files are concerned, should they be copied into the > libexec > directory or will the nagios directory be sufficient? Also, the files would be > coming from an x86 machine with Red Hat Linux 7.3 and they would be going onto a > RISC-chip workstation running HP-UX 10.20. > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 10:55 AM > To: Kaplan, Andrew H. > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > The only thing you need on the client is the plugin, and enough stuff for > nrpe to run. I also copy over the config files because some of my > home-made plugins access the config files, but your mileage may vary... > > > They came from the original application server. My thinking was there wouldn't > > be an issue > > with my copying them from the server to the client. I could download the > entire > > program onto > > the client machine and then compile the plugins thereafter. > > > > The question I have is, is it necessary for the entire program to be > downloaded, > > and if so does > > the entire program need to remain on the client? > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 10:39 AM > > To: Kaplan, Andrew H. > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > > I tried step one as a "regular" user and I encountered the error message: > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > Where did you get these binaries? It doesn't look like you compiled them > > on this machine (or one with the same OS level and architecture)... > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 7 18:02:01 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 09:02:01 -0700 (PDT) Subject: reporting In-Reply-To: References: Message-ID: <20021007160201.20170.qmail@web21507.mail.yahoo.com> yes, new setup, currently only testing the check_ping, which is being checked. It looks like the data is just falling into the "Undetermined" fields, making the graphs show nothing until I change the assumed host state options then the graphs show some date... How can I clear the logged data and start from scratch? I've been boucing things a lot for testing.. :) --- "Bishop, Dean" wrote: > have your hosts actually been checked? i am > assuming that this is a new > setup. if the services associated with these hosts > haven't failed yet then > there will be no info regarding host uptime. > > does the reporting work when you check a service? > __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 7 18:16:21 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 7 Oct 2002 12:16:21 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28765@phsexch20.mgh.harvard.edu> Hi Jason, If I am reading your previous e-mail correctly, I can proceed with an install of the Nagios application minus the Apache server and MySQL database. After the core program is installed, the plug-ins along with the nrpe client would follow. Is this correct? -----Original Message----- From: Jason Marshall [mailto:jasonm at kelman.com] Sent: Monday, October 07, 2002 12:01 PM To: Kaplan, Andrew H. Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation I maintain the same structure on the clients as on the server, so it's easy to rsync things between the server and clients, as required. Doesn't matter what structure that is, I'd think, as long as it works. > The standard that I have been following is the nrpe daemon and the nrpe.cfg > file. > As far as other config files are concerned, should they be copied into the > libexec > directory or will the nagios directory be sufficient? Also, the files would be > coming from an x86 machine with Red Hat Linux 7.3 and they would be going onto a > RISC-chip workstation running HP-UX 10.20. > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 10:55 AM > To: Kaplan, Andrew H. > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > The only thing you need on the client is the plugin, and enough stuff for > nrpe to run. I also copy over the config files because some of my > home-made plugins access the config files, but your mileage may vary... > > > They came from the original application server. My thinking was there wouldn't > > be an issue > > with my copying them from the server to the client. I could download the > entire > > program onto > > the client machine and then compile the plugins thereafter. > > > > The question I have is, is it necessary for the entire program to be > downloaded, > > and if so does > > the entire program need to remain on the client? > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 10:39 AM > > To: Kaplan, Andrew H. > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > > I tried step one as a "regular" user and I encountered the error message: > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > Where did you get these binaries? It doesn't look like you compiled them > > on this machine (or one with the same OS level and architecture)... > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 7 18:19:19 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 7 Oct 2002 12:19:19 -0400 Subject: reporting Message-ID: well, "bouncing things a lot" may be clearing your history for you. In order to keep trending info you need to enable the state_retention_information and provide a state_retention_file. does this help? -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Monday, October 07, 2002 12:02 PM To: Bishop, Dean; Zakki A; Nagios Subject: RE: [Nagios-users] reporting yes, new setup, currently only testing the check_ping, which is being checked. It looks like the data is just falling into the "Undetermined" fields, making the graphs show nothing until I change the assumed host state options then the graphs show some date... How can I clear the logged data and start from scratch? I've been boucing things a lot for testing.. :) --- "Bishop, Dean" wrote: > have your hosts actually been checked? i am > assuming that this is a new > setup. if the services associated with these hosts > haven't failed yet then > there will be no info regarding host uptime. > > does the reporting work when you check a service? > __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Mon Oct 7 18:29:16 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 7 Oct 2002 10:29:16 -0600 (MDT) Subject: Problems Running NRPE Client on an HP-UX works tation In-Reply-To: <5593DA408212D511B0910002A513501F01D28765@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28765@phsexch20.mgh.harvard.edu> Message-ID: Even that's overkill. All you need is the stuff to make NRPE go, and the plugins that NRPE uses. That's all you _really_ need. I personally copy a few other things over, but I don't think you'll need to (all the config files, mainly, and everything in ~nagios/bin, where I have some utilities). > If I am reading your previous e-mail correctly, I can proceed with an > install of the Nagios application minus the Apache server and MySQL > database. After the core program is installed, the plug-ins along with the > nrpe client would follow. Is this correct? > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 12:01 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > I maintain the same structure on the clients as on the server, so it's > easy to rsync things between the server and clients, as required. Doesn't > matter what structure that is, I'd think, as long as it works. > > > The standard that I have been following is the nrpe daemon and the > nrpe.cfg > > file. > > As far as other config files are concerned, should they be copied into the > > libexec > > directory or will the nagios directory be sufficient? Also, the files > would be > > coming from an x86 machine with Red Hat Linux 7.3 and they would be going > onto a > > RISC-chip workstation running HP-UX 10.20. > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 10:55 AM > > To: Kaplan, Andrew H. > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > The only thing you need on the client is the plugin, and enough stuff for > > nrpe to run. I also copy over the config files because some of my > > home-made plugins access the config files, but your mileage may vary... > > > > > They came from the original application server. My thinking was there > wouldn't > > > be an issue > > > with my copying them from the server to the client. I could download the > > entire > > > program onto > > > the client machine and then compile the plugins thereafter. > > > > > > The question I have is, is it necessary for the entire program to be > > downloaded, > > > and if so does > > > the entire program need to remain on the client? > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 10:39 AM > > > To: Kaplan, Andrew H. > > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > works tation > > > > > > > > > > I tried step one as a "regular" user and I encountered the error > message: > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > Where did you get these binaries? It doesn't look like you compiled > them > > > on this machine (or one with the same OS level and architecture)... > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 7 18:32:11 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 09:32:11 -0700 (PDT) Subject: reporting In-Reply-To: References: Message-ID: <20021007163211.80070.qmail@web21510.mail.yahoo.com> Thanks, I cleared the status.sav file and things seem to be better..:) --- "Bishop, Dean" wrote: > well, "bouncing things a lot" may be clearing your > history for you. In > order to keep trending info you need to enable the > state_retention_information and provide a > state_retention_file. > > does this help? > > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Monday, October 07, 2002 12:02 PM > To: Bishop, Dean; Zakki A; Nagios > Subject: RE: [Nagios-users] reporting > > > > yes, new setup, currently only testing the > check_ping, > which is being checked. It looks like the data is > just > falling into the "Undetermined" fields, making the > graphs show nothing until I change the assumed host > state options then the graphs show some date... > > How can I clear the logged data and start from > scratch? I've been boucing things a lot for > testing.. > :) > > > --- "Bishop, Dean" wrote: > > have your hosts actually been checked? i am > > assuming that this is a new > > setup. if the services associated with these > hosts > > haven't failed yet then > > there will be no info regarding host uptime. > > > > does the reporting work when you check a service? > > > > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 7 18:37:00 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 7 Oct 2002 12:37:00 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28766@phsexch20.mgh.harvard.edu> The only question is, everything that would be copied over was compiled on a Red Hat Linux 7.3 x86 box. The environment the files are going to is an HP-UX 10.20 box running on a non-x86 chip. Would that present problems? -----Original Message----- From: Jason Marshall [mailto:jasonm at kelman.com] Sent: Monday, October 07, 2002 12:29 PM To: Kaplan, Andrew H. Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation Even that's overkill. All you need is the stuff to make NRPE go, and the plugins that NRPE uses. That's all you _really_ need. I personally copy a few other things over, but I don't think you'll need to (all the config files, mainly, and everything in ~nagios/bin, where I have some utilities). > If I am reading your previous e-mail correctly, I can proceed with an > install of the Nagios application minus the Apache server and MySQL > database. After the core program is installed, the plug-ins along with the > nrpe client would follow. Is this correct? > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 12:01 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > I maintain the same structure on the clients as on the server, so it's > easy to rsync things between the server and clients, as required. Doesn't > matter what structure that is, I'd think, as long as it works. > > > The standard that I have been following is the nrpe daemon and the > nrpe.cfg > > file. > > As far as other config files are concerned, should they be copied into the > > libexec > > directory or will the nagios directory be sufficient? Also, the files > would be > > coming from an x86 machine with Red Hat Linux 7.3 and they would be going > onto a > > RISC-chip workstation running HP-UX 10.20. > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 10:55 AM > > To: Kaplan, Andrew H. > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > The only thing you need on the client is the plugin, and enough stuff for > > nrpe to run. I also copy over the config files because some of my > > home-made plugins access the config files, but your mileage may vary... > > > > > They came from the original application server. My thinking was there > wouldn't > > > be an issue > > > with my copying them from the server to the client. I could download the > > entire > > > program onto > > > the client machine and then compile the plugins thereafter. > > > > > > The question I have is, is it necessary for the entire program to be > > downloaded, > > > and if so does > > > the entire program need to remain on the client? > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 10:39 AM > > > To: Kaplan, Andrew H. > > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > works tation > > > > > > > > > > I tried step one as a "regular" user and I encountered the error > message: > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > Where did you get these binaries? It doesn't look like you compiled > them > > > on this machine (or one with the same OS level and architecture)... > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twelsh at tcplan.net Mon Oct 7 18:41:55 2002 From: twelsh at tcplan.net (Tom Welsh) Date: Mon, 07 Oct 2002 16:41:55 +0000 Subject: notify-by-email Message-ID: <20021007164155.8498.qmail@pod-163.dolphin-server.co.uk> Hi all I've just moved from red hat to debian linux and am still experiancing niggling probs with nagios. My current one is that im not recieving any emails if i get warning thresholds exceeded. The first part was that the install was looking in /usr/sbin for mail. I've now changed the config to look in /usr/bin but i still dont get any emails from nagios. i can mail myself fine from the command line. My notify-by-email command is vanilla straight from the install. # 'notify-by-email' command definition (ORIGINAL) define command{ name notify-by-email command_name notify-by-email command_line /usr/bin/printf 'Notification Type: $NOTIFICATIONTYPE$\n \nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s ' $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ' $CONTACTEMAIL$ } Any ideas, i cant work it out, but thats not unusuall as im probably stupid. Cheers Tom Welsh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Mon Oct 7 18:40:45 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 7 Oct 2002 10:40:45 -0600 (MDT) Subject: Problems Running NRPE Client on an HP-UX works tation In-Reply-To: <5593DA408212D511B0910002A513501F01D28766@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28766@phsexch20.mgh.harvard.edu> Message-ID: No, not problems... You WILL have to recompile anything that is compiled, though. I write all my plugins in Bourne shell for this very reason. So, NRPE plus your binary plugins will have to be recompiled. > The only question is, everything that would be copied over was compiled on a > Red Hat Linux 7.3 x86 box. > The environment the files are going to is an HP-UX 10.20 box running on a > non-x86 chip. Would that present > problems? > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 12:29 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > Even that's overkill. All you need is the stuff to make NRPE go, and the > plugins that NRPE uses. That's all you _really_ need. > > I personally copy a few other things over, but I don't think you'll need > to (all the config files, mainly, and everything in ~nagios/bin, where I > have some utilities). > > > If I am reading your previous e-mail correctly, I can proceed with an > > install of the Nagios application minus the Apache server and MySQL > > database. After the core program is installed, the plug-ins along with the > > nrpe client would follow. Is this correct? > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 12:01 PM > > To: Kaplan, Andrew H. > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > I maintain the same structure on the clients as on the server, so it's > > easy to rsync things between the server and clients, as required. Doesn't > > matter what structure that is, I'd think, as long as it works. > > > > > The standard that I have been following is the nrpe daemon and the > > nrpe.cfg > > > file. > > > As far as other config files are concerned, should they be copied into > the > > > libexec > > > directory or will the nagios directory be sufficient? Also, the files > > would be > > > coming from an x86 machine with Red Hat Linux 7.3 and they would be > going > > onto a > > > RISC-chip workstation running HP-UX 10.20. > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 10:55 AM > > > To: Kaplan, Andrew H. > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > works tation > > > > > > > > > The only thing you need on the client is the plugin, and enough stuff > for > > > nrpe to run. I also copy over the config files because some of my > > > home-made plugins access the config files, but your mileage may vary... > > > > > > > They came from the original application server. My thinking was there > > wouldn't > > > > be an issue > > > > with my copying them from the server to the client. I could download > the > > > entire > > > > program onto > > > > the client machine and then compile the plugins thereafter. > > > > > > > > The question I have is, is it necessary for the entire program to be > > > downloaded, > > > > and if so does > > > > the entire program need to remain on the client? > > > > > > > > -----Original Message----- > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > Sent: Monday, October 07, 2002 10:39 AM > > > > To: Kaplan, Andrew H. > > > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > > works tation > > > > > > > > > > > > > I tried step one as a "regular" user and I encountered the error > > message: > > > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > > > Where did you get these binaries? It doesn't look like you compiled > > them > > > > on this machine (or one with the same OS level and architecture)... > > > > > > > > --- > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > > Canada. > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > "I have great faith in fools: > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Oct 7 18:44:24 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 7 Oct 2002 11:44:24 -0500 Subject: Citrix plugin In-Reply-To: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> References: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> Message-ID: <20021007114424.79689ee4.marguz@ameritech.net> I did what you said, now I get this... cpan> i /utils/ CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Warning: Found only 0 objects in /root/.cpan/Metadata CPAN: LWP::UserAgent loaded ok Fetching with LWP: /root/MIRRORED.BY/authors/01mailrc.txt.gz LWP failed with code[400] message[URL must be absolute] Please check, if the URLs I found in your configuration file (/root/MIRRORED.BY/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz Fetching with LWP: /root/MIRRORED.BY/modules/02packages.details.txt.gz LWP failed with code[400] message[URL must be absolute] Please check, if the URLs I found in your configuration file (/root/MIRRORED.BY/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/02packages.details.txt.gz Fetching with LWP: /root/MIRRORED.BY/modules/03modlist.data.gz LWP failed with code[400] message[URL must be absolute] Please check, if the URLs I found in your configuration file (/root/MIRRORED.BY/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/03modlist.data.gz Going to write /root/.cpan/Metadata No objects found of any type for argument /utils/ When I first ran the 'perl -MCPAN -e shell' command I got an error about not being able to get a list of mirrors. So from another terminal on the Nagios box I 'wget some.ftp.site' (used the ftp site that was in the error) and it worked! So now I have this MIRRORED.BY file in my user root directory and I don't know what to do with it. As you can see by the error I tried to put the file in the Config.pm, but that did not work. Hitting my head on the desk :-( On Mon, 7 Oct 2002 09:51:42 -0500 "Joel Johnson" wrote: > The first step would be to call it 'CPAN', not 'CSPAN', although I'll forgive the error, because it isn't like Perl has LOTS OF WEIRD NAMES OR ANYTHING :D > > On the command line (and you'll likely want to be root), type 'perl -MCPAN -e shell' to get the interactive console version of CPAN. Then type 'i /utils/' to search for the proper module, then 'install ' once you've found it. If everything goes without a hitch, your module will be installed and automagically ready to rock. > > Joel > > -----Original Message----- > From: Mark Guzzo [mailto:marguz at ameritech.net] > Sent: Monday, October 07, 2002 9:47 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Citrix plugin > > > I can't wait to try this out :-) > > I scp'ed it to my Nagios box. I chmod +x to make it executable. When I ran "./check_cit --help" I get this error... > > Can't locate utils.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ./check_cit line 46. > BEGIN failed--compilation aborted at ./check_cit line 46. > > Do I need to do the CSPAN thing? I'm really am a dumba$$ when it comes to perl. So can you please help :-) > > TIA! > > > On Mon, 07 Oct 2002 14:44:59 +0200 > "Tom DE BLENDE" wrote: > > > Dear all, > > > > Thanks to the great efforts made by Ed Rolison who created the > > original plugin for Big Brother, and Stanley Hopcroft who cleaned up > > the Netsaint port I've made, I am now able to release a beta version > > of the check_cit plugin. > > > > Help can be obtained by running "./check_cit --help". Basicly this > > plugin checks for the availability of published applications in a > > Citrix environment. It does this either by means of a broadcast, or by > > using a query to a specific server. > > > > I would like to ask those of you who have a Citrix environment to try > > out the plugin, and see if it works OK. Any comments are welcome. > > > > Kind regards, > > Tom De Blende > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Oct 7 18:50:15 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 7 Oct 2002 11:50:15 -0500 Subject: Citrix plugin In-Reply-To: References: <12CD0152DEA17047B144FA3FE0E232713E4709@skipper.gsi-kc.com> Message-ID: <20021007115015.657eab0c.marguz@ameritech.net> NICE!!!!! After I messed with the CPAN stuff, I looked at the last two posts to my question. I moved the 'check_cit' into the dir 'libexec' and now 'check_cit --help' worked. Thanks for all the quick and very help full responses. On Mon, 7 Oct 2002 11:34:04 -0400 (EDT) Kendrick Vargas wrote: > On Mon, 7 Oct 2002, Joel Johnson wrote: > > > The first step would be to call it 'CPAN', not 'CSPAN', although I'll > > forgive the error, because it isn't like Perl has LOTS OF WEIRD NAMES OR > > ANYTHING :D > > > > On the command line (and you'll likely want to be root), type 'perl > > -MCPAN -e shell' to get the interactive console version of CPAN. Then > > type 'i /utils/' to search for the proper module, then 'install > url>' once you've found it. If everything goes without a hitch, your > > module will be installed and automagically ready to rock. > > Ummm... the utils.pm comes from the nagiosplug distribution and was > installed in my nagios/libexec folder. I had the same problem as the other > guy mentioned till I moved the executable into the libexec folder and ran > it from there. > -peace > > -- > Let he who is without clue kiss my ass > ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mzupan at meso.com Mon Oct 7 19:03:30 2002 From: mzupan at meso.com (Mike Zupan) Date: Mon, 7 Oct 2002 13:03:30 -0400 (EDT) Subject: Logged in as ? Message-ID: <47558.38.248.19.74.1034010210.squirrel@web1.meso.com> I really didn't see this question at all in the archives. I'm using version 1.0b6 and I have my htaccess and everything set up just fine. I get a login prompt and everything but when I'm in sees me logged in as ?. Everything is pretty much default but nagios is in /opt/nagios and the cgi bin location is /cgi-bin/nagios. Thanks Mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Mon Oct 7 18:58:50 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 7 Oct 2002 18:58:50 +0200 Subject: Citrix plugin Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDA3@nc-mail2.in.nordcom.net> yes if utils is in path it worked for me (even current path) but if i tried to run it from nagios itself, i got no output and i had to change the @INC var... jens >-----Original Message----- >From: Mark Guzzo [mailto:marguz at ameritech.net] >Sent: Monday, October 07, 2002 6:50 PM >To: Kendrick Vargas >Cc: joel at gsi-kc.com; marguz at ameritech.net; >nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Citrix plugin > > >NICE!!!!! > >After I messed with the CPAN stuff, I looked at the last two >posts to my question. I moved the 'check_cit' into the dir >'libexec' and now 'check_cit --help' worked. > >Thanks for all the quick and very help full responses. > > > >On Mon, 7 Oct 2002 11:34:04 -0400 (EDT) >Kendrick Vargas wrote: > >> On Mon, 7 Oct 2002, Joel Johnson wrote: >> >> > The first step would be to call it 'CPAN', not 'CSPAN', >although I'll >> > forgive the error, because it isn't like Perl has LOTS OF >WEIRD NAMES OR >> > ANYTHING :D >> > >> > On the command line (and you'll likely want to be root), type 'perl >> > -MCPAN -e shell' to get the interactive console version of >CPAN. Then >> > type 'i /utils/' to search for the proper module, then >'install > > url>' once you've found it. If everything goes without a >hitch, your >> > module will be installed and automagically ready to rock. >> >> Ummm... the utils.pm comes from the nagiosplug distribution and was >> installed in my nagios/libexec folder. I had the same >problem as the other >> guy mentioned till I moved the executable into the libexec >folder and ran >> it from there. >> -peace >> >> -- >> Let he who is without clue kiss my ass >> > > >^^^ got Linux ^^^ > > >Mark Guzzo >Citrix Administrator > >"Don't Fear The Penguin." > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Mon Oct 7 19:03:15 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Mon, 7 Oct 2002 19:03:15 +0200 Subject: notify-by-email Message-ID: Hi Tom, what is the result when you change 'printf' to 'echo -e' (without the quotes)? Does it helps when you include "%b" (with the quotes) between 'printf' and the rest of the line (this only function if the debian 'printf' supports %b in the format string)? -vol > -----Original Message----- > From: Tom Welsh [mailto:twelsh at tcplan.net] > Sent: Monday, October 07, 2002 6:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notify-by-email > > > Hi all > > I've just moved from red hat to debian linux and am still > experiancing > niggling probs with nagios. > > My current one is that im not recieving any emails if i get warning > thresholds exceeded. > > The first part was that the install was looking in /usr/sbin > for mail. I've > now changed the config to look in /usr/bin but i still dont > get any emails > from nagios. i can mail myself fine from the command line. > > My notify-by-email command is vanilla straight from the install. > > # 'notify-by-email' command definition (ORIGINAL) > define command{ > name notify-by-email > command_name notify-by-email command_line > /usr/bin/printf > 'Notification Type: $NOTIFICATIONTYPE$\n > \nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$' | > /usr/bin/mail -s ' $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ ' $CONTACTEMAIL$ > } > > Any ideas, i cant work it out, but thats not unusuall as im > probably stupid. > > Cheers > > Tom Welsh > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Mon Oct 7 19:14:20 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 7 Oct 2002 19:14:20 +0200 Subject: notify-by-email Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDA5@nc-mail2.in.nordcom.net> Hi Tom, /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nHostname: $HOSTNAME$ ($HOSTADDRESS$)\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } is working well for me (but its not standard as i modfied subject and body of the mail :) ) (on debian) jens >-----Original Message----- >From: Tom Welsh [mailto:twelsh at tcplan.net] >Sent: Monday, October 07, 2002 6:42 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] notify-by-email > > >Hi all > >I've just moved from red hat to debian linux and am still experiancing >niggling probs with nagios. > >My current one is that im not recieving any emails if i get warning >thresholds exceeded. > >The first part was that the install was looking in /usr/sbin >for mail. I've >now changed the config to look in /usr/bin but i still dont >get any emails >from nagios. i can mail myself fine from the command line. > >My notify-by-email command is vanilla straight from the install. > ># 'notify-by-email' command definition (ORIGINAL) >define command{ > name notify-by-email > command_name notify-by-email command_line /usr/bin/printf >'Notification Type: $NOTIFICATIONTYPE$\n >\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: >$HOSTADDRESS$\nState: >$SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional >Info:\n\n$OUTPUT$' | >/usr/bin/mail -s ' $NOTIFICATIONTYPE$ alert - >$HOSTALIAS$/$SERVICEDESC$ is >$SERVICESTATE$ ' $CONTACTEMAIL$ > } > >Any ideas, i cant work it out, but thats not unusuall as im >probably stupid. > >Cheers > >Tom Welsh > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jgiles at joeman1.com Mon Oct 7 19:17:01 2002 From: jgiles at joeman1.com (Joe Giles) Date: Mon, 7 Oct 2002 11:17:01 -0600 (MDT) Subject: Logged in as ? In-Reply-To: <47558.38.248.19.74.1034010210.squirrel@web1.meso.com> References: <47558.38.248.19.74.1034010210.squirrel@web1.meso.com> Message-ID: <33742.10.100.125.17.1034011021.squirrel@www.joeman1.com> I had this problem too. What I did is I had to create a security file for both the /nagios and /cgi-bin/nagios directory for apache. What I'm doing is setting up a password file and using that for both locations. That way, when someone connects to /nagios and log in, the credentials are passed to the /cgi-bin pages as well... Let me know if this works for you Thanks -- Joe Giles jgiles at joeman1.com AOL: mcigiles Mike Zupan said: > I really didn't see this question at all in the archives. I'm using > version 1.0b6 and I have my htaccess and everything set up just fine. I > get a login prompt and everything but when I'm in sees me logged in as > ?. > > Everything is pretty much default but nagios is in /opt/nagios and the > cgi bin location is /cgi-bin/nagios. > > Thanks > Mike > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Mon Oct 7 19:20:01 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 7 Oct 2002 19:20:01 +0200 Subject: check_dhcp Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDA6@nc-mail2.in.nordcom.net> Hi, no matter which server-ip/-host i pass to check_dhcp i get an answer from my real dhcp-cluster. with other words: i'm not able to make a dedicated request to one server. (okay, i know that dhcp uses broadcasts, but i thougth it would check the ip of the replying server). command_line $USER1$/check_dhcp -s $HOSTADDRESS$ -t 5 jens -- Jens Bergmann jens.bergmann at nordcom.net Internetworking Voice: +49 421 2773 566 Doetlinger Str. 6-8 Fax: +49 421 2773 573 28197 Bremen/Germany http://www.nordcom.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Oct 7 19:33:26 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 7 Oct 2002 12:33:26 -0500 Subject: Citrix PlugIn (wish?) Message-ID: <20021007123326.030a1916.marguz@ameritech.net> Thanks again for all the help! I can check to Published Apps just fine. But the one that is THE one I really would like to keep an eye on is the published desktop. It's named 'Citrix Desktop' and that is what I test for. Does this plugin work with Published Desktops? ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dshurett at gahost.com Mon Oct 7 19:31:57 2002 From: dshurett at gahost.com (Danny Shurett) Date: Mon, 7 Oct 2002 13:31:57 -0400 Subject: Configuration assistance Message-ID: <006901c26e27$767675d0$6401a8c0@dancpuman> I am reinstalling my Nagios box and going to get a little more serious about its configuration. Is anyone willing to forward me a few configuration files and/or talk with me via IM regarding how to set some things up? -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Johnson at Comporium.Com Mon Oct 7 19:33:19 2002 From: John.Johnson at Comporium.Com (John Johnson) Date: Mon, 07 Oct 2002 13:33:19 -0400 Subject: Cannot get web inteface commands to work correctly Message-ID: Hello Everyone, Im having a slight problem with the configuration of Nagios, and Im hoping someone can shed some light on the issue. I recently installed Nagios 1.0b6, and I have approx. 122 hosts/services that are being monitored, in a few different groups. I have setup contacts and email address' and everything seems to work fine. But my problem comes when I attempt to run commands from the web interface (ie: creating comments for a device, restarting the nagios process, disbleing checks for services. Basically all commands. As you know if you add new hosts, you must restart the nagios process. And since the command for restarting the nagios process doesnt work i have to kill the PID# , after doing that the only way to start nagios back up is to go into the nagios.cfg file and change the check_external_commands=1 from 1 to 0 , then i need to save that file, then start up nagios , then i can go in and change the value back to 1. when i try to execute the commands via the web interface, it actually says it is working, which is what really throws me off. Any assistance would be appreaciated. I am running Redhat 7.3 I have searched the archives for something similar, and have come up empty handed. John Johnson Comporium Communications John.Johnson at Comporium.com (803)326-6412 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Mon Oct 7 19:34:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 12:34:50 -0500 Subject: visual/noise notification Message-ID: Regarding sounds, take a look at your cgi.cfg. This is what I have: host_unreachable_sound=hostdown.wav host_down_sound=hostdown.wav service_critical_sound=critical.wav service_warning_sound=warning.wav #service_unknown_sound=warning.wav service_unknown_sound=qprfade.wav #normal_sound=noproblem.wav If you leave your web browser open on a particular screen where it's getting refreshed fairly regularly (I prefer Tactical Overview, myself) then you'll be getting buzzed with every refresh if you have anything but a green status. (If you search around, you might find other WAV files that are more to your liking.) Regarding light devices, that's a whole 'nother kettle of fish. Is there something "out of the box"? No, not to my knowledge. But the pieces are there for you to cobble something together. You'll need to create something new in misccommands.cfg, for starters. And that something new will need to dovetail into something which will directly or indirectly cause a light device to blink. Ask yourself this question: If you take Nagios out of the equation, do you, today, have any way of causing lights to flash from the command line? Solve that problem first, and then yes, Nagios can leverage it. But I have to ask this question: Why? Why do you need a light to be blinked? Do you not notice e-mails coming into your mailbox? Do you not have a really persistent pager stuck to your hip at all times? What about a cell phone that has support for SMS? What good will a blinking light do when you're not at work? Food for thought. jc > -----Original Message----- > From: Giuliano Zorzi [mailto:g.zorzi at tecom.it] > Sent: Monday, October 07, 2002 7:59 AM > To: nagios-users > Subject: [Nagios-users] visual/noise notification > > > Hi ! > is it possible (and how can I) to configure nagios to repeatly play a > sound (noise alarm) and/or turn on a light device (visual alarm)? > > > Thanks a lot > > Giuliano > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Mon Oct 7 19:40:21 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 7 Oct 2002 19:40:21 +0200 Subject: Citrix PlugIn (wish?) Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDA7@nc-mail2.in.nordcom.net> for me it does - but one thing is strange. my desktop is named "nC Desktop" if i try to query this desktop with the plugin i get an error. if i query "C Desktop" it works :) everything else is just fine... jens >-----Original Message----- >From: Mark Guzzo [mailto:marguz at ameritech.net] >Sent: Monday, October 07, 2002 7:33 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Citrix PlugIn (wish?) > > >Thanks again for all the help! > >I can check to Published Apps just fine. But the one that is >THE one I really would like to keep an eye on is the published >desktop. It's named 'Citrix Desktop' and that is what I test >for. Does this plugin work with Published Desktops? > >^^^ got Linux ^^^ > > >Mark Guzzo >Citrix Administrator > >"Don't Fear The Penguin." > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mzupan at meso.com Mon Oct 7 19:57:33 2002 From: mzupan at meso.com (Mike Zupan) Date: Mon, 7 Oct 2002 13:57:33 -0400 (EDT) Subject: Logged in as ? In-Reply-To: <33742.10.100.125.17.1034011021.squirrel@www.joeman1.com> References: <47558.38.248.19.74.1034010210.squirrel@web1.meso.com> <33742.10.100.125.17.1034011021.squirrel@www.joeman1.com> Message-ID: <48109.38.248.19.74.1034013453.squirrel@web1.meso.com> Ya I have the same .htaccess file in both directories pointing to the same htpasswd.user file. Mike > I had this problem too. What I did is I had to create a security file > for both the /nagios and /cgi-bin/nagios directory for apache. What I'm > doing is setting up a password file and using that for both locations. > That way, when someone connects to /nagios and log in, the credentials > are passed to the /cgi-bin pages as well... > > Let me know if this works for you > > Thanks > -- > Joe Giles > jgiles at joeman1.com > AOL: mcigiles > > Mike Zupan said: >> I really didn't see this question at all in the archives. I'm using >> version 1.0b6 and I have my htaccess and everything set up just fine. >> I get a login prompt and everything but when I'm in sees me logged in >> as ?. >> >> Everything is pretty much default but nagios is in /opt/nagios and the >> cgi bin location is /cgi-bin/nagios. >> >> Thanks >> Mike >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Oct 7 19:57:05 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 7 Oct 2002 12:57:05 -0500 Subject: Citrix PlugIn (wish?) In-Reply-To: <3B9B6F9AD30D3040AD5541A1D005D98710DDA7@nc-mail2.in.nordcom.net> References: <3B9B6F9AD30D3040AD5541A1D005D98710DDA7@nc-mail2.in.nordcom.net> Message-ID: <20021007125705.20f94f64.marguz@ameritech.net> Strange, when it gives me the error that 'Citrix Desktop' is not listed, it prints out a list of Pub Apps. My 'Citrix Desktop is NOT listed, crap! On Mon, 7 Oct 2002 19:40:21 +0200 wrote: > for me it does - but one thing is strange. my desktop is named "nC Desktop" if i try to query this desktop with the plugin i get an error. if i query "C Desktop" it works :) > > everything else is just fine... > > jens > > >-----Original Message----- > >From: Mark Guzzo [mailto:marguz at ameritech.net] > >Sent: Monday, October 07, 2002 7:33 PM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Citrix PlugIn (wish?) > > > > > >Thanks again for all the help! > > > >I can check to Published Apps just fine. But the one that is > >THE one I really would like to keep an eye on is the published > >desktop. It's named 'Citrix Desktop' and that is what I test > >for. Does this plugin work with Published Desktops? > > > >^^^ got Linux ^^^ > > > > > >Mark Guzzo > >Citrix Administrator > > > >"Don't Fear The Penguin." > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 7 19:56:48 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 7 Oct 2002 13:56:48 -0400 Subject: Logged in as ? Message-ID: is the apache username that is in your .htpasswd.users file the same as the name of one of your Nagios contacts?? -----Original Message----- From: Mike Zupan [mailto:mzupan at meso.com] Sent: Monday, October 07, 2002 1:58 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Logged in as ? Ya I have the same .htaccess file in both directories pointing to the same htpasswd.user file. Mike > I had this problem too. What I did is I had to create a security file > for both the /nagios and /cgi-bin/nagios directory for apache. What I'm > doing is setting up a password file and using that for both locations. > That way, when someone connects to /nagios and log in, the credentials > are passed to the /cgi-bin pages as well... > > Let me know if this works for you > > Thanks > -- > Joe Giles > jgiles at joeman1.com > AOL: mcigiles > > Mike Zupan said: >> I really didn't see this question at all in the archives. I'm using >> version 1.0b6 and I have my htaccess and everything set up just fine. >> I get a login prompt and everything but when I'm in sees me logged in >> as ?. >> >> Everything is pretty much default but nagios is in /opt/nagios and the >> cgi bin location is /cgi-bin/nagios. >> >> Thanks >> Mike >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mzupan at meso.com Mon Oct 7 20:14:23 2002 From: mzupan at meso.com (Mike Zupan) Date: Mon, 7 Oct 2002 14:14:23 -0400 (EDT) Subject: Logged in as ? In-Reply-To: References: Message-ID: <48210.38.248.19.74.1034014463.squirrel@web1.meso.com> Yes it is. I have tried with 2 different users and no luck. They are all in my contacts.cfg file. Mike > is the apache username that is in your .htpasswd.users file the same as > the name of one of your Nagios contacts?? > > -----Original Message----- > From: Mike Zupan [mailto:mzupan at meso.com] > Sent: Monday, October 07, 2002 1:58 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Logged in as ? > > > Ya I have the same .htaccess file in both directories pointing to the > same htpasswd.user file. > > Mike > >> I had this problem too. What I did is I had to create a security file >> for both the /nagios and /cgi-bin/nagios directory for apache. What >> I'm doing is setting up a password file and using that for both >> locations. That way, when someone connects to /nagios and log in, the >> credentials are passed to the /cgi-bin pages as well... >> >> Let me know if this works for you >> >> Thanks >> -- >> Joe Giles >> jgiles at joeman1.com >> AOL: mcigiles >> >> Mike Zupan said: >>> I really didn't see this question at all in the archives. I'm using >>> version 1.0b6 and I have my htaccess and everything set up just fine. >>> I get a login prompt and everything but when I'm in sees me logged in >>> as ?. >>> >>> Everything is pretty much default but nagios is in /opt/nagios and >>> the cgi bin location is /cgi-bin/nagios. >>> >>> Thanks >>> Mike >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jgiles at joeman1.com Mon Oct 7 21:11:02 2002 From: jgiles at joeman1.com (Joe Giles) Date: Mon, 7 Oct 2002 13:11:02 -0600 (MDT) Subject: Logged in as ? In-Reply-To: References: Message-ID: <34544.10.100.125.17.1034017862.squirrel@www.joeman1.com> Well, it is the same name that I set up in the cgi.cfg file (I believe that's the one) that assigns access to the different views. But yes, you have the idea... -- Joe Giles jgiles at joeman1.com AOL: mcigiles Bishop, Dean said: > is the apache username that is in your .htpasswd.users file the same as > the name of one of your Nagios contacts?? > > -----Original Message----- > From: Mike Zupan [mailto:mzupan at meso.com] > Sent: Monday, October 07, 2002 1:58 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Logged in as ? > > > Ya I have the same .htaccess file in both directories pointing to the > same htpasswd.user file. > > Mike > >> I had this problem too. What I did is I had to create a security file >> for both the /nagios and /cgi-bin/nagios directory for apache. What >> I'm doing is setting up a password file and using that for both >> locations. That way, when someone connects to /nagios and log in, the >> credentials are passed to the /cgi-bin pages as well... >> >> Let me know if this works for you >> >> Thanks >> -- >> Joe Giles >> jgiles at joeman1.com >> AOL: mcigiles >> >> Mike Zupan said: >>> I really didn't see this question at all in the archives. I'm using >>> version 1.0b6 and I have my htaccess and everything set up just fine. >>> I get a login prompt and everything but when I'm in sees me logged in >>> as ?. >>> >>> Everything is pretty much default but nagios is in /opt/nagios and >>> the cgi bin location is /cgi-bin/nagios. >>> >>> Thanks >>> Mike >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andy at droidmcse.com Mon Oct 7 21:15:11 2002 From: andy at droidmcse.com (Andy Stein) Date: Mon, 7 Oct 2002 15:15:11 -0400 (EDT) Subject: File formats Message-ID: <3117.192.168.1.5.1034018111.squirrel@amber> I've been looking for a post where someone gave the url of a site for nagios (possibly netsaint) that had developer type docs. Specifically I'm looking for information on inserting a command to schedule down time on a daily basis for a few services. Any ideas? Thanks! Andy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brmm28 at yahoo.com Mon Oct 7 21:23:49 2002 From: brmm28 at yahoo.com (han solo) Date: Mon, 7 Oct 2002 12:23:49 -0700 (PDT) Subject: Novell Servers IPX Nagios Message-ID: <20021007192349.38231.qmail@web13101.mail.yahoo.com> I have some Novell servers that are only running the IPX protocol does anyone know if I can configure Nagios to gather information over IPX and if so how? Any information would be extremely helpful! Thanks --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From morgan at shnikees.com Mon Oct 7 21:27:16 2002 From: morgan at shnikees.com (morgan) Date: Mon, 7 Oct 2002 12:27:16 -0700 Subject: check_nt Message-ID: <000701c26e37$8bb5a870$1964a8c0@whidbeytel.com> Afternoon everyone, I have already sent an email to the author of NS client but so far I haven't received anything so Ill ask here. I recently have had two 2k machines that have stopped responding to check_nt queries, and getting a connection refused. Both were sp3, and the interesting part is that when the problem stared happing they were both giving me perfmon errors event id 1016, and nsclint reported that "CollectData Failed". I'm not all that good with NT but it seems perhaps that the perfmon stuff perhaps may have gotten corrupted. If anyone has any insight please let me know Thanks Morgan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Mon Oct 7 21:50:40 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Mon, 07 Oct 2002 14:50:40 -0500 Subject: Check_ifstatus / SNMP.pm problems Message-ID: * The check_ifstatus perl script (unchanged) references /usr/bin/perl * Perl is located in the /usr/bin directory * echo $PATH shows /usr/bin listed * # perl -v and # /usr/bin/perl -v both find perl and show version v5.6.1 Thanks again for your assistance. Nolan >>> Subhendu Ghosh 10/05/02 09:30AM >>> Check the location for perl in your path versus the perl in the #! statement. (or config.status if using embedded perl) -sg On Fri, 4 Oct 2002, Nolan Martin wrote: > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > I would say this was largely because the first time I ran a > check_ifstatus, it complained about not having the SNMP.pm in its @INC > path.... Once I adjusted it so that it was in its path, that error went > away. I then received the session error message.... > > But, as I mentioned, based on one of your postings in the archives, I > separately attempted to install the Net::SNMP through the CPAN shell and > received a response that Net::SNMP is up to date ( perl -MCPAN -e > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > installed on the machine. > > Thoughts or suggestions as to what I am missing or misunderstanding? > Thanks for your response. > > Nolan > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > Ummm yes and no :) > > NET-SNMP package includes the snmp command line utilities used by > check_snmp and the SNMP.pm module. > > check_ifstatus and friends require Net::SNMP module -which is an all > perl > snmp manager library implementation. > > the names are confusing similar... the perl modules names are actually > > different. > > -sg > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > I am trying to get check_ifstatus going and am having some > difficulties > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > I have installed both NET-SNMP and the SNMP.pm, but I still receive > the > > following error message, when I attempt to run the check_ifstatus > > command from the nagios libexec directory to test it: > > > > # ./check_ifstatus -H 10.5.1.11 > > Can't locate object method "session" via package "Net::SNMP" > (perhaps > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > module > > following the instructions that accompany both of those components. > I > > also followed Subhendu Ghosh's postings from August 21st (RE: > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > again/verify my perl module installation by installing it using the > CPAN > > shell. That attempt returns that Net::SNMP is up to date. > > > > Obviously, I missed some step or have failed to do some > configuration. > > Any assistance would be appreciated. > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > appears to be an existing 5.6.0 installation as well. I am using > the > > Nagios Plugins v1.3 Beta1 plugins and the latest version of Net-SNMP > > 5.0.5 (released 10/1/2002) > > > > Here are the steps I went through. > > > > INSTALLED NET-SNMP > > * Downloaded and extracted Net-SNMP 5.0.5 > > * ./configure > > * make > > * umask 022 > > * make install > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > * From the perl subdirectory of the extracted NET-SNMP directory, > ran: > > perl Makefile.PL > > * make > > * make test > > * make install > > * Since the SNMP.pm was installed to > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding was > that > > NET-SNMP actually looks for it under a directory named Net, I created > a > > directory named Net and copied SNMP.pm to that folder as well. > > * Executing the check_ifstatus now finds the SNMP.pm in its included > > paths, but produces the session error message > > * Tried to install again/verify the SNMP.pm installation by > installing > > it through the CPAN shell: > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > Net::SNMP is up to date. > > > > Thanks in advance for any assistance you can provide. > > > > Nolan > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 7 21:57:35 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 7 Oct 2002 15:57:35 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28767@phsexch20.mgh.harvard.edu> Here is the latest version of the saga: I went ahead and did the compiling of the nrpe client and plugins on the HP-UX box. When compiling the nrpe client everything loaded fine and I subsequently created the directory /usr/local/nagios and /usr/local/nagios/libexec, and placed the nrpe daemon and the nrpe.cfg file in the appropriate directory. I then went to the plugins. I first ran ./configure with the following syntax: ./CONFIURE --PREFIX=/USR/LOCAL/NAGIOS --WITH-NAGIOS-USER=NAGIOS --WITH-NAGIOS-GROUP=NAGIOS I had to run it twice due to the script thinking there was an older version of ac.local file. After running it the second time it completed successfully. The next step was the make all command. The following message appeared onscreen: CHECK_SWAP.C:80 'SWAP_FORMAT' UNDECLARED (FIRST USE IN THIS FUNCTION) CHECK_SWAP.C:80 (EACH UNDECLARED IDENTIFIER IS REPORTED ONLY ONCE CHECK_SWAP.C:80 FOR EACH FUNCTION IT APPEARS IN.) MAKE[1]: *** [CHECK_SWAP.0] ERROR 1 MAKE[1): LEAVING DIRECTORY '/TMP/NAGIOSPLUG/PLUGINS' MAKE: *** [ALL RECURSIVE] ERROR 1 What do you make of it? -----Original Message----- From: Jason Marshall [mailto:jasonm at kelman.com] Sent: Monday, October 07, 2002 12:41 PM To: Kaplan, Andrew H. Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation No, not problems... You WILL have to recompile anything that is compiled, though. I write all my plugins in Bourne shell for this very reason. So, NRPE plus your binary plugins will have to be recompiled. > The only question is, everything that would be copied over was compiled on a > Red Hat Linux 7.3 x86 box. > The environment the files are going to is an HP-UX 10.20 box running on a > non-x86 chip. Would that present > problems? > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 12:29 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > Even that's overkill. All you need is the stuff to make NRPE go, and the > plugins that NRPE uses. That's all you _really_ need. > > I personally copy a few other things over, but I don't think you'll need > to (all the config files, mainly, and everything in ~nagios/bin, where I > have some utilities). > > > If I am reading your previous e-mail correctly, I can proceed with an > > install of the Nagios application minus the Apache server and MySQL > > database. After the core program is installed, the plug-ins along with the > > nrpe client would follow. Is this correct? > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 12:01 PM > > To: Kaplan, Andrew H. > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > I maintain the same structure on the clients as on the server, so it's > > easy to rsync things between the server and clients, as required. Doesn't > > matter what structure that is, I'd think, as long as it works. > > > > > The standard that I have been following is the nrpe daemon and the > > nrpe.cfg > > > file. > > > As far as other config files are concerned, should they be copied into > the > > > libexec > > > directory or will the nagios directory be sufficient? Also, the files > > would be > > > coming from an x86 machine with Red Hat Linux 7.3 and they would be > going > > onto a > > > RISC-chip workstation running HP-UX 10.20. > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 10:55 AM > > > To: Kaplan, Andrew H. > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > works tation > > > > > > > > > The only thing you need on the client is the plugin, and enough stuff > for > > > nrpe to run. I also copy over the config files because some of my > > > home-made plugins access the config files, but your mileage may vary... > > > > > > > They came from the original application server. My thinking was there > > wouldn't > > > > be an issue > > > > with my copying them from the server to the client. I could download > the > > > entire > > > > program onto > > > > the client machine and then compile the plugins thereafter. > > > > > > > > The question I have is, is it necessary for the entire program to be > > > downloaded, > > > > and if so does > > > > the entire program need to remain on the client? > > > > > > > > -----Original Message----- > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > Sent: Monday, October 07, 2002 10:39 AM > > > > To: Kaplan, Andrew H. > > > > Cc: 'Carroll, Jim P [Contractor]'; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > > works tation > > > > > > > > > > > > > I tried step one as a "regular" user and I encountered the error > > message: > > > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > > > Where did you get these binaries? It doesn't look like you compiled > > them > > > > on this machine (or one with the same OS level and architecture)... > > > > > > > > --- > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > > Canada. > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > "I have great faith in fools: > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 7 21:58:37 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 12:58:37 -0700 (PDT) Subject: Hosts/Services disappearing...Host Status Information Not Found! In-Reply-To: <3117.192.168.1.5.1034018111.squirrel@amber> References: <3117.192.168.1.5.1034018111.squirrel@amber> Message-ID: <20021007195837.32449.qmail@web21506.mail.yahoo.com> Hi, anyone know what these messages mean? I've begun to add addtional hosts to my setup, when I restart nagios, all hosts are displayed, tatical states total of 4 hosts, I hit refresh a few times and tacticle says there's only 3 hosts...When I view host or service detail the number of objects changes, and when viewing the individual hosts/services I get the errors below, but if I hit refresh again the service/host information is display.... Host Status Information Not Found!Error: Service Status Not Found! --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyc at communitech.net Mon Oct 7 22:08:48 2002 From: troyc at communitech.net (Troy Corbin) Date: Mon, 7 Oct 2002 15:08:48 -0500 (CDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: i too use the check_ifstatus plugin for a majority of my router monitoring. on routers that have an interface that is down, i receive the following error if run manually: mon# ./check_ifstatus -c funkychicken 10.202.69.69 Use of uninitialized value in sprintf at ./check_ifstatus line 148. Use of uninitialized value in sprintf at ./check_ifstatus line 148. Use of uninitialized value in sprintf at ./check_ifstatus line 148. Use of uninitialized value in sprintf at ./check_ifstatus line 148. Use of uninitialized value in sprintf at ./check_ifstatus line 148. What is causing this? The box runs Fbsd 4.6-Stable. Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? Thanks, troy On Mon, 7 Oct 2002, Nolan Martin wrote: > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > * Perl is located in the /usr/bin directory > * echo $PATH shows /usr/bin listed > * # perl -v and # /usr/bin/perl -v both find perl and show version > v5.6.1 > > Thanks again for your assistance. > > Nolan > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > Check the location for perl in your path versus the perl in the #! > statement. (or config.status if using embedded perl) > > -sg > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > I would say this was largely because the first time I ran a > > check_ifstatus, it complained about not having the SNMP.pm in its > @INC > > path.... Once I adjusted it so that it was in its path, that error > went > > away. I then received the session error message.... > > > > But, as I mentioned, based on one of your postings in the archives, > I > > separately attempted to install the Net::SNMP through the CPAN shell > and > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > installed on the machine. > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > Thanks for your response. > > > > Nolan > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > Ummm yes and no :) > > > > NET-SNMP package includes the snmp command line utilities used by > > check_snmp and the SNMP.pm module. > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > perl > > snmp manager library implementation. > > > > the names are confusing similar... the perl modules names are > actually > > > > different. > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > I am trying to get check_ifstatus going and am having some > > difficulties > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > receive > > the > > > following error message, when I attempt to run the check_ifstatus > > > command from the nagios libexec directory to test it: > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > Can't locate object method "session" via package "Net::SNMP" > > (perhaps > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > module > > > following the instructions that accompany both of those components. > > > I > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > again/verify my perl module installation by installing it using > the > > CPAN > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > Obviously, I missed some step or have failed to do some > > configuration. > > > Any assistance would be appreciated. > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > appears to be an existing 5.6.0 installation as well. I am using > > the > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > Net-SNMP > > > 5.0.5 (released 10/1/2002) > > > > > > Here are the steps I went through. > > > > > > INSTALLED NET-SNMP > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > * ./configure > > > * make > > > * umask 022 > > > * make install > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > ran: > > > perl Makefile.PL > > > * make > > > * make test > > > * make install > > > * Since the SNMP.pm was installed to > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > was > > that > > > NET-SNMP actually looks for it under a directory named Net, I > created > > a > > > directory named Net and copied SNMP.pm to that folder as well. > > > * Executing the check_ifstatus now finds the SNMP.pm in its > included > > > paths, but produces the session error message > > > * Tried to install again/verify the SNMP.pm installation by > > installing > > > it through the CPAN shell: > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > Net::SNMP is up to date. > > > > > > Thanks in advance for any assistance you can provide. > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Mon Oct 7 22:33:33 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 7 Oct 2002 14:33:33 -0600 (MDT) Subject: Problems Running NRPE Client on an HP-UX works tation In-Reply-To: <5593DA408212D511B0910002A513501F01D28767@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28767@phsexch20.mgh.harvard.edu> Message-ID: > CHECK_SWAP.C:80 'SWAP_FORMAT' UNDECLARED (FIRST USE IN THIS FUNCTION) > CHECK_SWAP.C:80 (EACH UNDECLARED IDENTIFIER IS REPORTED ONLY ONCE > CHECK_SWAP.C:80 FOR EACH FUNCTION IT APPEARS IN.) > MAKE[1]: *** [CHECK_SWAP.0] ERROR 1 > MAKE[1): LEAVING DIRECTORY '/TMP/NAGIOSPLUG/PLUGINS' > MAKE: *** [ALL RECURSIVE] ERROR 1 > > What do you make of it? Write your own plugin -- these ones are designed for Linux, and don't work well anywhere else that i've seen. The command to check swap is swapinfo, which should be in your /usr/sbin directory on HPUX (maybe that's new for 11.x, but I dunno). I no longer have access to HPUX boxes, so I may be of little further help... > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 12:41 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > No, not problems... You WILL have to recompile anything that is compiled, > though. I write all my plugins in Bourne shell for this very reason. > > So, NRPE plus your binary plugins will have to be recompiled. > > > The only question is, everything that would be copied over was compiled on > a > > Red Hat Linux 7.3 x86 box. > > The environment the files are going to is an HP-UX 10.20 box running on a > > non-x86 chip. Would that present > > problems? > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 12:29 PM > > To: Kaplan, Andrew H. > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > Even that's overkill. All you need is the stuff to make NRPE go, and the > > plugins that NRPE uses. That's all you _really_ need. > > > > I personally copy a few other things over, but I don't think you'll need > > to (all the config files, mainly, and everything in ~nagios/bin, where I > > have some utilities). > > > > > If I am reading your previous e-mail correctly, I can proceed with an > > > install of the Nagios application minus the Apache server and MySQL > > > database. After the core program is installed, the plug-ins along with > the > > > nrpe client would follow. Is this correct? > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 12:01 PM > > > To: Kaplan, Andrew H. > > > Cc: 'nagios-users at lists.sourceforge.net' > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > works tation > > > > > > > > > I maintain the same structure on the clients as on the server, so it's > > > easy to rsync things between the server and clients, as required. > Doesn't > > > matter what structure that is, I'd think, as long as it works. > > > > > > > The standard that I have been following is the nrpe daemon and the > > > nrpe.cfg > > > > file. > > > > As far as other config files are concerned, should they be copied into > > the > > > > libexec > > > > directory or will the nagios directory be sufficient? Also, the files > > > would be > > > > coming from an x86 machine with Red Hat Linux 7.3 and they would be > > going > > > onto a > > > > RISC-chip workstation running HP-UX 10.20. > > > > > > > > -----Original Message----- > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > Sent: Monday, October 07, 2002 10:55 AM > > > > To: Kaplan, Andrew H. > > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > > works tation > > > > > > > > > > > > The only thing you need on the client is the plugin, and enough stuff > > for > > > > nrpe to run. I also copy over the config files because some of my > > > > home-made plugins access the config files, but your mileage may > vary... > > > > > > > > > They came from the original application server. My thinking was > there > > > wouldn't > > > > > be an issue > > > > > with my copying them from the server to the client. I could download > > the > > > > entire > > > > > program onto > > > > > the client machine and then compile the plugins thereafter. > > > > > > > > > > The question I have is, is it necessary for the entire program to be > > > > downloaded, > > > > > and if so does > > > > > the entire program need to remain on the client? > > > > > > > > > > -----Original Message----- > > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > > Sent: Monday, October 07, 2002 10:39 AM > > > > > To: Kaplan, Andrew H. > > > > > Cc: 'Carroll, Jim P [Contractor]'; > nagios-users at lists.sourceforge.net > > > > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > > > > works tation > > > > > > > > > > > > > > > > I tried step one as a "regular" user and I encountered the error > > > message: > > > > > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > > > > > Where did you get these binaries? It doesn't look like you compiled > > > them > > > > > on this machine (or one with the same OS level and architecture)... > > > > > > > > > > --- > > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > > > Canada. > > > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > > > "I have great faith in fools: > > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > > > > > > --- > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > > Canada. > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > "I have great faith in fools: > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, > Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 7 23:11:14 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 16:11:14 -0500 Subject: File formats Message-ID: I think this has been discussed recently. Why not just create a new timeperiod which excludes the downtime? jc > -----Original Message----- > From: Andy Stein [mailto:andy at droidmcse.com] > Sent: Monday, October 07, 2002 2:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] File formats > > > I've been looking for a post where someone gave the url of a site for > nagios (possibly netsaint) that had developer type docs. > > Specifically I'm looking for information on inserting a command to > schedule down time on a daily basis for a few services. > > Any ideas? > > Thanks! > Andy > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Mon Oct 7 23:22:18 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 7 Oct 2002 17:22:18 -0400 Subject: nrpe allowed_hosts Message-ID: <0DA06E553C3BD511823500508BB8965A0201212F@exnadetmbx3.ams.gblxint.com> All, In the nrpe.cfg file there is the line allowed_hosts. Can a range of addresses be used instead of a single address. If so what would be the syntax? i.e. 10.24.2.0-50 or 10.24.2.x Thanks, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 7 23:31:23 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 16:31:23 -0500 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: Andrew, I don't recall offhand whether I've already suggested this, but... are you using the GNU C compiler and GNU make? jc > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 3:34 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > > CHECK_SWAP.C:80 'SWAP_FORMAT' UNDECLARED (FIRST USE IN THIS > FUNCTION) > > CHECK_SWAP.C:80 (EACH UNDECLARED IDENTIFIER IS REPORTED ONLY ONCE > > CHECK_SWAP.C:80 FOR EACH FUNCTION IT APPEARS IN.) > > MAKE[1]: *** [CHECK_SWAP.0] ERROR 1 > > MAKE[1): LEAVING DIRECTORY '/TMP/NAGIOSPLUG/PLUGINS' > > MAKE: *** [ALL RECURSIVE] ERROR 1 > > > > What do you make of it? > > Write your own plugin -- these ones are designed for Linux, > and don't work > well anywhere else that i've seen. > > The command to check swap is swapinfo, which should be in > your /usr/sbin > directory on HPUX (maybe that's new for 11.x, but I dunno). > > I no longer have access to HPUX boxes, so I may be of little further > help... > > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 12:41 PM > > To: Kaplan, Andrew H. > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > No, not problems... You WILL have to recompile anything > that is compiled, > > though. I write all my plugins in Bourne shell for this > very reason. > > > > So, NRPE plus your binary plugins will have to be recompiled. > > > > > The only question is, everything that would be copied > over was compiled on > > a > > > Red Hat Linux 7.3 x86 box. > > > The environment the files are going to is an HP-UX 10.20 > box running on a > > > non-x86 chip. Would that present > > > problems? > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 12:29 PM > > > To: Kaplan, Andrew H. > > > Cc: 'nagios-users at lists.sourceforge.net' > > > Subject: RE: [Nagios-users] Problems Running NRPE Client > on an HP-UX > > > works tation > > > > > > > > > Even that's overkill. All you need is the stuff to make > NRPE go, and the > > > plugins that NRPE uses. That's all you _really_ need. > > > > > > I personally copy a few other things over, but I don't > think you'll need > > > to (all the config files, mainly, and everything in > ~nagios/bin, where I > > > have some utilities). > > > > > > > If I am reading your previous e-mail correctly, I can > proceed with an > > > > install of the Nagios application minus the Apache > server and MySQL > > > > database. After the core program is installed, the > plug-ins along with > > the > > > > nrpe client would follow. Is this correct? > > > > > > > > -----Original Message----- > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > Sent: Monday, October 07, 2002 12:01 PM > > > > To: Kaplan, Andrew H. > > > > Cc: 'nagios-users at lists.sourceforge.net' > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > works tation > > > > > > > > > > > > I maintain the same structure on the clients as on the > server, so it's > > > > easy to rsync things between the server and clients, as > required. > > Doesn't > > > > matter what structure that is, I'd think, as long as it works. > > > > > > > > > The standard that I have been following is the nrpe > daemon and the > > > > nrpe.cfg > > > > > file. > > > > > As far as other config files are concerned, should > they be copied into > > > the > > > > > libexec > > > > > directory or will the nagios directory be sufficient? > Also, the files > > > > would be > > > > > coming from an x86 machine with Red Hat Linux 7.3 and > they would be > > > going > > > > onto a > > > > > RISC-chip workstation running HP-UX 10.20. > > > > > > > > > > -----Original Message----- > > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > > Sent: Monday, October 07, 2002 10:55 AM > > > > > To: Kaplan, Andrew H. > > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > > works tation > > > > > > > > > > > > > > > The only thing you need on the client is the plugin, > and enough stuff > > > for > > > > > nrpe to run. I also copy over the config files > because some of my > > > > > home-made plugins access the config files, but your > mileage may > > vary... > > > > > > > > > > > They came from the original application server. My > thinking was > > there > > > > wouldn't > > > > > > be an issue > > > > > > with my copying them from the server to the client. > I could download > > > the > > > > > entire > > > > > > program onto > > > > > > the client machine and then compile the plugins thereafter. > > > > > > > > > > > > The question I have is, is it necessary for the > entire program to be > > > > > downloaded, > > > > > > and if so does > > > > > > the entire program need to remain on the client? > > > > > > > > > > > > -----Original Message----- > > > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > > > Sent: Monday, October 07, 2002 10:39 AM > > > > > > To: Kaplan, Andrew H. > > > > > > Cc: 'Carroll, Jim P [Contractor]'; > > nagios-users at lists.sourceforge.net > > > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > > > works tation > > > > > > > > > > > > > > > > > > > I tried step one as a "regular" user and I > encountered the error > > > > message: > > > > > > > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > > > > > > > Where did you get these binaries? It doesn't look > like you compiled > > > > them > > > > > > on this machine (or one with the same OS level and > architecture)... > > > > > > > > > > > > --- > > > > > > Jason Marshall, Unix Geek, Kelman Technologies, > Inc., Calgary, AB, > > > > Canada. > > > > > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > > > "Workaround: don't pound on the mouse like a > wild monkey." > > > > > > > > > > > > "I have great faith in fools: > > > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, > > > Canada. > > > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > > > "I have great faith in fools: > > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > --- > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, > > Canada. > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > "I have great faith in fools: > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andy at droidmcse.com Mon Oct 7 23:34:06 2002 From: andy at droidmcse.com (Andy Stein) Date: Mon, 7 Oct 2002 17:34:06 -0400 (EDT) Subject: File formats In-Reply-To: References: Message-ID: <3327.192.168.1.5.1034026446.squirrel@amber> Simply from a standpoint of when the down time occurs really. I currently have 450 hosts and approaching 1400 services. If I had to make a special timeperiod for each situation, I'll go crazy. I know I saw the docs somewhere that described the file formats in detail. I basically want to mimic the exact command that the web interface does for the down time and i'll be set. Andy > I think this has been discussed recently. > > Why not just create a new timeperiod which excludes the downtime? > > jc > >> -----Original Message----- >> From: Andy Stein [mailto:andy at droidmcse.com] >> Sent: Monday, October 07, 2002 2:15 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] File formats >> >> >> I've been looking for a post where someone gave the url of a site for >> nagios (possibly netsaint) that had developer type docs. >> >> Specifically I'm looking for information on inserting a command to >> schedule down time on a daily basis for a few services. >> >> Any ideas? >> >> Thanks! >> Andy >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 7 23:39:03 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 16:39:03 -0500 Subject: Solaris 8 Compilation Problems Message-ID: If you don't mind not having JPEG images (you can use PNG anyway), remove the -ljpeg from the Makefile. Er, you *have* installed the GD library (www.boutell.com), haven't you? jc > -----Original Message----- > From: Nathan Coraor [mailto:nate at cse.psu.edu] > Sent: Monday, October 07, 2002 3:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > From browsing the archives, it would appear that this > question has come > up before. However, the solution seems to be an LD_LIBRARY_PATH > problem which I don't think exists in this case: > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in > /usr/local/lib and jpeg > binaries in /usr/local/bin. > > The source I'm trying to compile is 1.0b6. > > The error is below: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > cgiutils.o auth.o popen.o ../common/objects.c > ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o > ../xdata/xedtemplate.c -o statusmap.cgi > Undefined first referenced > symbol in file > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > ld: fatal: Symbol referencing errors. No output written to > statusmap.cgi > collect2: ld returned 1 exit status > > #printenv LD_LIBRARY_PATH > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwi > n/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib > > Any thoughts on this are appreciated. > > Thanks in advance, > --nate > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 7 23:47:44 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 16:47:44 -0500 Subject: File formats Message-ID: I think that was discussed fairly recently. I also believe it was added to the FAQ on Ethan's site. jc > -----Original Message----- > From: Andy Stein [mailto:andy at droidmcse.com] > Sent: Monday, October 07, 2002 4:34 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] File formats > > > Simply from a standpoint of when the down time occurs really. > I currently > have 450 hosts and approaching 1400 services. If I had to > make a special > timeperiod for each situation, I'll go crazy. > > I know I saw the docs somewhere that described the file > formats in detail. > I basically want to mimic the exact command that the web > interface does > for the down time and i'll be set. > > Andy > > > I think this has been discussed recently. > > > > Why not just create a new timeperiod which excludes the downtime? > > > > jc > > > >> -----Original Message----- > >> From: Andy Stein [mailto:andy at droidmcse.com] > >> Sent: Monday, October 07, 2002 2:15 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] File formats > >> > >> > >> I've been looking for a post where someone gave the url of > a site for > >> nagios (possibly netsaint) that had developer type docs. > >> > >> Specifically I'm looking for information on inserting a command to > >> schedule down time on a daily basis for a few services. > >> > >> Any ideas? > >> > >> Thanks! > >> Andy > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brian.whitehead at digitalevergreen.com Mon Oct 7 23:51:53 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 07 Oct 2002 16:51:53 -0500 Subject: nrpe allowed_hosts In-Reply-To: <0DA06E553C3BD511823500508BB8965A0201212F@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A0201212F@exnadetmbx3.ams.gblxint.com> Message-ID: <1034027513.13405.27.camel@linuxrulz.digitalevergreen.com> On Mon, 2002-10-07 at 16:22, Rusch, Daniel wrote: > All, > > In the nrpe.cfg file there is the line allowed_hosts. > > Can a range of addresses be used instead of a single address. If so what > would be the syntax? > > i.e. 10.24.2.0-50 > > or 10.24.2.x I've included the notes from the nrpe.cfg and the xinetd.conf man page. Basically, if you are using inetd or xinetd the line in nrpe.cfg is ignored. Below you'll find the information on how to use the only_from line for xinetd. ------- START nrpe.cfg ----------- # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd ------ END nrpe.cfg -------------- ------ START man xinted.conf------ only_from determines the remote hosts to which the particular service is available. Its value is a list of IP addresses which can be specified in any combination of the following ways: a) a numeric address in the form of %d.%d.%d.%d. If the rightmost compo- nents are 0, they are treated as wildcards (for example, 128.138.12.0 matches all hosts on the 128.138.12 subnet). 0.0.0.0 matches all Inter- net addresses. b) a factorized address in the form of %d.%d.%d.{%d,%d,...}. There is no need for all 4 components (i.e. %d.%d.{%d,%d,...%d} is also ok). However, the factorized part must be at the end of the address. c) a network name (from /etc/networks) d) a host name. When a connection is made to xinetd, a reverse lookup is performed, and the canonical name returned is compared to the speci- fied host name. You may also use domain names in the form of .domain.com. If the reverse lookup of the client's IP is within .domain.com, a match occurs. e) an ip address/netmask range in the form of 1.2.3.4/32. Specifying this attribute without a value makes the service available to nobody. ----- END man xinetd.conf ------- -- Brian Whitehead - A+, LCP, RHCE Systems Administrator Direct: 816.512.9417 Mobile: 816.510.3996 mailto:brian.whitehead at digitalevergreen.com Digital Evergreen 423 West 8th Street Suite 410 Kansas City, MO 64105 Phone: 816.512.9399 http://www.digitalevergreen.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 8 00:08:11 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 15:08:11 -0700 (PDT) Subject: Hosts/Services disappearing-Nevermind Reboot fixed.. In-Reply-To: <20021007195837.32449.qmail@web21506.mail.yahoo.com> References: <20021007195837.32449.qmail@web21506.mail.yahoo.com> Message-ID: <20021007220811.91863.qmail@web21502.mail.yahoo.com> Nevermind Reboot fixed problems... Jon Lyons wrote:Hi, anyone know what these messages mean? I've begun to add addtional hosts to my setup, when I restart nagios, all hosts are displayed, tatical states total of 4 hosts, I hit refresh a few times and tacticle says there's only 3 hosts...When I view host or service detail the number of objects changes, and when viewing the individual hosts/services I get the errors below, but if I hit refresh again the service/host information is display.... Host Status Information Not Found!Error: Service Status Not Found! --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Oct 8 00:12:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 17:12:20 -0500 Subject: nrpe allowed_hosts Message-ID: I'm curious: How many Nagios servers do you have monitoring the same host? Surely even if you had a very generous 5 Nagios servers monitoring this host, it wouldn't be a big deal to have those addresses explicitly listed. If you're more concerned with the volatility of moving/renumbering your Nagios server and having to redeploy nrpe.cfg among N hosts, you might want to take an approach similar to the following: 1) Create an nrpe.cfg which is identical across all (or at least most) of your hosts; 2) Manage this nrpe.cfg file from a trusted central host (ie, a 'gold' server); 3) Distribute this file from the gold server, using rsync, or NFS/automount/cp, or scp, etc; 4) Restart the nrpe daemon (using ssh, or a Makefile/cronjob). As Brian Whitehead pointed out, this is of no concern if you're kicking off nrpe from (x)inetd. jc PS - These concepts were inspired by www.infrastructures.org. > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Monday, October 07, 2002 4:22 PM > To: Nagios-User (E-mail) > Subject: [Nagios-users] nrpe allowed_hosts > > > All, > > In the nrpe.cfg file there is the line allowed_hosts. > > Can a range of addresses be used instead of a single address. > If so what > would be the syntax? > > i.e. 10.24.2.0-50 > > or 10.24.2.x > > Thanks, > > Dan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nate at cse.psu.edu Tue Oct 8 00:44:52 2002 From: nate at cse.psu.edu (Nathan Coraor) Date: Mon, 7 Oct 2002 18:44:52 -0400 (EDT) Subject: Solaris 8 Compilation Problems In-Reply-To: from "Carroll, Jim P [Contractor]" at Oct 07, 2002 04:39:03 PM References: Message-ID: <20021007224452.9D98D396C8@corona.cse.psu.edu> "Carroll, Jim P [Contractor]" said: > > If you don't mind not having JPEG images (you can use PNG anyway), remove > the -ljpeg from the Makefile. > > Er, you *have* installed the GD library (www.boutell.com), haven't you? Yep: -rw-r--r-- 1 root staff 188408 Oct 7 15:43 /usr/local/lib/libgd.a Installed today, 1.8.3. Removed -ljpeg from cgi/Makefile and I get the same results: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o \ auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c \ ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng \ edata.o ../xdata/xedtemplate.c -o statusmap.cgi Notice there's no -ljpeg, yet it gives the same error. Looks like a gd problem, not jpeg? gd is also found by autoconf: checking for gdImagePng in -lgd (order 1)... yes GD library was found! Thanks, --nate > > jc > > > -----Original Message----- > > From: Nathan Coraor [mailto:nate at cse.psu.edu] > > Sent: Monday, October 07, 2002 3:50 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > > > > From browsing the archives, it would appear that this > > question has come > > up before. However, the solution seems to be an LD_LIBRARY_PATH > > problem which I don't think exists in this case: > > > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in > > /usr/local/lib and jpeg > > binaries in /usr/local/bin. > > > > The source I'm trying to compile is 1.0b6. > > > > The error is below: > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > > cgiutils.o auth.o popen.o ../common/objects.c > > ../xdata/xodtemplate.c ../common/statusdata.c > > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o > > ../xdata/xedtemplate.c -o statusmap.cgi > > Undefined first referenced > > symbol in file > > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > > ld: fatal: Symbol referencing errors. No output written to > > statusmap.cgi > > collect2: ld returned 1 exit status > > > > #printenv LD_LIBRARY_PATH > > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwi > > n/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib > > > > Any thoughts on this are appreciated. > > > > Thanks in advance, > > --nate > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From securityguy at ikano.com Tue Oct 8 00:57:22 2002 From: securityguy at ikano.com (Robert S. Galloway) Date: Mon, 7 Oct 2002 22:57:22 +0000 (UTC) Subject: Confusing documentation about the defauilt format for hosts.cfg Message-ID: <003001c38d24$f414f8a0$4c05a8c0@PENDLETON> I have just installed nagios 1.06b and am confused about one thing. According to the documentation the default for the hosts.cfg file is the old style. However, make install-config creates config files that are based on the template style. So, my questions are which format really is the default and do you still need to specify -with-template-objects when you run configure? Thanks, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 securityguy at ikano.com 801-415-8089 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at julieanddan.com Tue Oct 8 01:18:37 2002 From: dan at julieanddan.com (dan at julieanddan.com) Date: Mon, 7 Oct 2002 19:18:37 -0400 Subject: Cannot get web inteface commands to work correctly In-Reply-To: References: Message-ID: John, The problem you are having has to do with the permissions of your external command file. The nagios user cannot delete or create the file, so nagios exits creating a really annoying situation. You can view the cause of this problem by running nagios from the shell without the -d option. Correct your permissions (explained in the nagios FAQ), restart Apache & Nagios and you should be good. Daniel Koffler dan -at- remics.net Tel: 514.497.1411 Fax: 206.600.4642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at julieanddan.com Tue Oct 8 01:32:15 2002 From: dan at julieanddan.com (dan at julieanddan.com) Date: Mon, 7 Oct 2002 19:32:15 -0400 Subject: RRD tool integration In-Reply-To: References: Message-ID: Fredrik, Would you mind sharing the wrapper script you have written? I am also interested in using the RRD tool to store performance data. Daniel Koffler dan at remics.net Tel: 514.497.1411 Fax: 206.600.4642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Oct 8 02:07:53 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Oct 2002 19:07:53 -0500 Subject: Solaris 8 Compilation Problems Message-ID: I've built NRPE and the plugins on Solaris8. I've never built Nagios itself on Solaris8. Until now. I don't know whether this is the best workaround, but it's a workaround nonetheless: - change to the cgi subdirectory - edit statusmap.c - go to line 2194 and remove the following 2 lines: else if(!strcasecmp(ext,".jpg") || !strcasecmp(ext,".jpeg")) im=gdImageCreateFromJpeg(fp); - save the file - restart your make Let me know how that works. jc > -----Original Message----- > From: Nathan Coraor [mailto:nate at cse.psu.edu] > Sent: Monday, October 07, 2002 5:45 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Solaris 8 Compilation Problems > > > "Carroll, Jim P [Contractor]" said: > > > > If you don't mind not having JPEG images (you can use PNG > anyway), remove > > the -ljpeg from the Makefile. > > > > Er, you *have* installed the GD library (www.boutell.com), > haven't you? > > Yep: > -rw-r--r-- 1 root staff 188408 Oct 7 15:43 > /usr/local/lib/libgd.a > > Installed today, 1.8.3. > > Removed -ljpeg from cgi/Makefile and I get the same results: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > cgiutils.o \ > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c \ > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng \ > edata.o ../xdata/xedtemplate.c -o statusmap.cgi > > Notice there's no -ljpeg, yet it gives the same error. Looks like a > gd problem, not jpeg? gd is also found by autoconf: > > checking for gdImagePng in -lgd (order 1)... yes > GD library was found! > > Thanks, > --nate > > > > > > > jc > > > > > -----Original Message----- > > > From: Nathan Coraor [mailto:nate at cse.psu.edu] > > > Sent: Monday, October 07, 2002 3:50 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > > > > > > > From browsing the archives, it would appear that this > > > question has come > > > up before. However, the solution seems to be an LD_LIBRARY_PATH > > > problem which I don't think exists in this case: > > > > > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in > > > /usr/local/lib and jpeg > > > binaries in /usr/local/bin. > > > > > > The source I'm trying to compile is 1.0b6. > > > > > > The error is below: > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > > > cgiutils.o auth.o popen.o ../common/objects.c > > > ../xdata/xodtemplate.c ../common/statusdata.c > > > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o > > > ../xdata/xedtemplate.c -o statusmap.cgi > > > Undefined first referenced > > > symbol in file > > > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > > > ld: fatal: Symbol referencing errors. No output written to > > > statusmap.cgi > > > collect2: ld returned 1 exit status > > > > > > #printenv LD_LIBRARY_PATH > > > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwi > > > n/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib > > > > > > Any thoughts on this are appreciated. > > > > > > Thanks in advance, > > > --nate > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Tue Oct 8 02:15:47 2002 From: jragle at unm.edu (Jamin) Date: Mon, 7 Oct 2002 18:15:47 -0600 (MDT) Subject: plugin and a reported wrong state Message-ID: Has anyone had any problems with plugins reporting the wrong state in nagios? I'm using the check_snmp plugin that, when run by hand reports: "SNMP OK - up(1) up(1) up(1) up(1)" but when it is run by nagios I get: "SNMP WARNING - up(1) up(1) up(1) up(1)" Of course when a device actually goes down I get: (which is fine) "SNMP CRITICAL - up(1) up(1) up(1) *down(2)*" If you could give me a pointer on where I might be going wrong here, I would appreciate it. Thanks, -Jamin P.S. I am using Nagios ver. 1.0b5 on a standard redhat install. And here is my command: [root at mybox libexec]# ./check_snmp -H XXX.XXX.XXX.X -t 5 -C notpublic -o .1.3.6.1.2.1.2.2.1.8.1003,.1.3.6.1.2.1.2.2.1.8.4002,.1.3.6.1.2.1.2.2.1.8.4004,.1.3.6.1.2.1.2.2.1.8.4005 -D " " -s "up(1)" -s "up(1)" -s "up(1)" -s "up(1)" SNMP OK - up(1) up(1) up(1) up(1) ______________________________________________________________________ Tautology -- "A tautology is a thing which is tautological." -- Unknown ______________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dan at julieanddan.com Tue Oct 8 02:30:14 2002 From: dan at julieanddan.com (dan at julieanddan.com) Date: Mon, 7 Oct 2002 20:30:14 -0400 Subject: Looking for cmd.cgi documentation In-Reply-To: References: Message-ID: I am building a web configuration application for Nagios based on Lotus Domino (so I can integrate it with our in-house asset management & trouble ticketing system). I would love to use the functionality of the cmd.cgi instead of writing directly to the command file. If anyone has a list of the arguments the cmd.cgi and/or status.cgi I would really appreciate it. Daniel Koffler dan at remics.net Tel: 514.497.1411 Fax: 206.600.4642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anoopa at hotmail.com Tue Oct 8 02:32:12 2002 From: anoopa at hotmail.com (Anoop Atre) Date: Mon, 7 Oct 2002 19:32:12 -0500 Subject: status map issue + SNMP question References: Message-ID: Been checking out Nagios the last few days and the only issue I am left with has to do with status maps for some reason it doesn't want to show me the logos I have in share/images/logos even though I declare them in the cgi.cfg While I am emailing the list is it suggested that we use SNMP traps in Nagios (non-native support if I read the documentation correctly) to get better network monitoring? I don't think I need it for regular server monitoring or do I? I don't know much about the use of SNMP (should read up aye : ) but while I do any help/advice is appreciated! ~ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 8 03:30:23 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 18:30:23 -0700 (PDT) Subject: status map issue + SNMP question In-Reply-To: References: Message-ID: <20021008013023.64486.qmail@web21508.mail.yahoo.com> Having just done this, make sure you compiled with the template-based options, and add xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg to your cgi.cfg file. See the hostextinfo.cfg-sample file for hints.. http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Anoop Atre wrote: Been checking out Nagios the last few days and the only issue I am left with has to do with status maps for some reason it doesn't want to show me the logos I have in share/images/logos even though I declare them in the cgi.cfg While I am emailing the list is it suggested that we use SNMP traps in Nagios (non-native support if I read the documentation correctly) to get better network monitoring? I don't think I need it for regular server monitoring or do I? I don't know much about the use of SNMP (should read up aye : ) but while I do any help/advice is appreciated! ~ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CTIEXCH-SA at emp.ctc.net Tue Oct 8 03:33:19 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Mon, 7 Oct 2002 21:33:19 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-07\21-33-18.64341 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsie at quadrix.com Tue Oct 8 03:40:03 2002 From: jsie at quadrix.com (Jackson Sie) Date: Mon, 07 Oct 2002 21:40:03 -0400 Subject: Solaris 8 Compilation Problems In-Reply-To: <20021007204948.F3FE3396C8@corona.cse.psu.edu> References: <20021007204948.F3FE3396C8@corona.cse.psu.edu> Message-ID: <000e01c26e6b$9f6e7ed0$6401a8c0@pikachu> Nathan, You don't say the source of your jpeg, libpng and gd libs. I ran into the same problem when I first tried using the libs from sunfreeware. Are you using these? Once I retrieved the source for gd and built it myself, then everything works just dandy. Apparently the pre-built libgd.a available from sunfreeware is old enough to not work correctly with the jpeg and libpng from the same source... Odd I know, but that's the info I have. Good luck, Jackson Sie Senior Architect Quadrix Solutions, Inc. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan Coraor Sent: Monday, October 07, 2002 4:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Solaris 8 Compilation Problems >From browsing the archives, it would appear that this question has come up before. However, the solution seems to be an LD_LIBRARY_PATH problem which I don't think exists in this case: I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in /usr/local/lib and jpeg binaries in /usr/local/bin. The source I'm trying to compile is 1.0b6. The error is below: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi Undefined first referenced symbol in file gdImageCreateFromJpeg /var/tmp/cctdBsNf.o ld: fatal: Symbol referencing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status #printenv LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwin/lib:/opt /SUNWspro/lib:/usr/lib:/usr/ucblib Any thoughts on this are appreciated. Thanks in advance, --nate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 8 03:50:55 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 7 Oct 2002 18:50:55 -0700 (PDT) Subject: status map issue + SNMP question Message-ID: <20021008015055.6447.qmail@web21504.mail.yahoo.com> Having just done this, make sure you compiled with the template-based options, and add xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg to your cgi.cfg file. See the hostextinfo.cfg-sample file for hints.. http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Anoop Atre wrote: Been checking out Nagios the last few days and the only issue I am left with has to do with status maps for some reason it doesn't want to show me the logos I have in share/images/logos even though I declare them in the cgi.cfg While I am emailing the list is it suggested that we use SNMP traps in Nagios (non-native support if I read the documentation correctly) to get better network monitoring? I don't think I need it for regular server monitoring or do I? I don't know much about the use of SNMP (should read up aye : ) but while I --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: Jon Lyons Subject: Re: [Nagios-users] status map issue + SNMP question Date: Mon, 7 Oct 2002 18:30:23 -0700 (PDT) Size: 5838 URL: From sghosh at sghosh.org Tue Oct 8 04:21:49 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 7 Oct 2002 22:21:49 -0400 (EDT) Subject: Novell Servers IPX Nagios In-Reply-To: <20021007192349.38231.qmail@web13101.mail.yahoo.com> References: <20021007192349.38231.qmail@web13101.mail.yahoo.com> Message-ID: On Mon, 7 Oct 2002, han solo wrote: > > I have some Novell servers that are only running the IPX protocol does > anyone know if I can configure Nagios to gather information over IPX and > if so how? > > Any information would be extremely helpful! > > Thanks > > No existing utilities that I know of. It should be relatively easy to get started by doing an IPX ping if you the IPX stack installed on the Nagios host. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 8 04:25:33 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 7 Oct 2002 22:25:33 -0400 (EDT) Subject: plugin and a reported wrong state In-Reply-To: References: Message-ID: check the return code when running on command line "echo $?" most likely you have some MIB parsing issues in your snmp installation. -sg On Mon, 7 Oct 2002, Jamin wrote: > Has anyone had any problems with plugins reporting the wrong state in > nagios? > > I'm using the check_snmp plugin that, when run by hand reports: > "SNMP OK - up(1) up(1) up(1) up(1)" > > but when it is run by nagios I get: > "SNMP WARNING - up(1) up(1) up(1) up(1)" > > Of course when a device actually goes down I get: (which is fine) > "SNMP CRITICAL - up(1) up(1) up(1) *down(2)*" > > > If you could give me a pointer on where I might be going wrong here, I > would appreciate it. > > Thanks, > -Jamin > > > P.S. > I am using Nagios ver. 1.0b5 on a standard redhat install. > And here is my command: > > [root at mybox libexec]# ./check_snmp -H XXX.XXX.XXX.X -t 5 -C notpublic -o > .1.3.6.1.2.1.2.2.1.8.1003,.1.3.6.1.2.1.2.2.1.8.4002,.1.3.6.1.2.1.2.2.1.8.4004,.1.3.6.1.2.1.2.2.1.8.4005 > -D " " -s "up(1)" -s "up(1)" -s "up(1)" -s "up(1)" > > SNMP OK - up(1) up(1) up(1) up(1) > > > ______________________________________________________________________ > Tautology -- "A tautology is a thing which is tautological." > -- Unknown > ______________________________________________________________________ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 8 05:10:38 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 7 Oct 2002 23:10:38 -0400 (EDT) Subject: [Nagiosplug-devel] Looking for cmd.cgi documentation In-Reply-To: References: Message-ID: As Ethan says in the docs... most of the args are likely to change http://nagios.sourceforge.net/docs/1_0/cgis.html#cmd_cgi parsing the statuslog and sending info by the command file may be the way to go. -sg On Mon, 7 Oct 2002 dan at julieanddan.com wrote: > I am building a web configuration application for Nagios based on Lotus > Domino (so I can integrate it with our in-house asset management & trouble > ticketing system). I would love to use the functionality of the cmd.cgi > instead of writing directly to the command file. > > If anyone has a list of the arguments the cmd.cgi and/or status.cgi I > would really appreciate it. > > Daniel Koffler > dan at remics.net > Tel: 514.497.1411 > Fax: 206.600.4642 -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nate at cse.psu.edu Tue Oct 8 05:12:33 2002 From: nate at cse.psu.edu (Nathan Coraor) Date: Mon, 7 Oct 2002 23:12:33 -0400 (EDT) Subject: Solaris 8 Compilation Problems In-Reply-To: <000e01c26e6b$9f6e7ed0$6401a8c0@pikachu> from "Jackson Sie" at Oct 07, 2002 09:40:03 PM References: <000e01c26e6b$9f6e7ed0$6401a8c0@pikachu> Message-ID: <20021008031233.E637D396C8@corona.cse.psu.edu> "Jackson Sie" said: > > Nathan, > > You don't say the source of your jpeg, libpng and gd libs. I ran into > the same problem when I first tried using the libs from sunfreeware. > Are you using these? Once I retrieved the source for gd and built it > myself, then everything works just dandy. Apparently the pre-built > libgd.a available from sunfreeware is old enough to not work correctly > with the jpeg and libpng from the same source... Odd I know, but that's > the info I have. Ahh, I typically compile software myself unless I'm in a hurry. In this case, it's because I didn't have the current gd (I was using 1.8.3, current is 1.8.4) that it died. Thanks for the help. --nate > > Good luck, > Jackson Sie > Senior Architect > Quadrix Solutions, Inc. > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan > Coraor > Sent: Monday, October 07, 2002 4:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > >From browsing the archives, it would appear that this question has come > up before. However, the solution seems to be an LD_LIBRARY_PATH problem > which I don't think exists in this case: > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in /usr/local/lib and jpeg > binaries in /usr/local/bin. > > The source I'm trying to compile is 1.0b6. > > The error is below: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg > edata.o ../xdata/xedtemplate.c -o statusmap.cgi > Undefined first referenced > symbol in file > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > ld: fatal: Symbol referencing errors. No output written to statusmap.cgi > collect2: ld returned 1 exit status > > #printenv LD_LIBRARY_PATH > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwin/lib:/opt > /SUNWspro/lib:/usr/lib:/usr/ucblib > > Any thoughts on this are appreciated. > > Thanks in advance, > --nate > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nate at cse.psu.edu Tue Oct 8 05:14:08 2002 From: nate at cse.psu.edu (Nathan Coraor) Date: Mon, 7 Oct 2002 23:14:08 -0400 (EDT) Subject: Solaris 8 Compilation Problems In-Reply-To: from "Carroll, Jim P [Contractor]" at Oct 07, 2002 07:07:53 PM References: Message-ID: <20021008031408.3CA64396C8@corona.cse.psu.edu> "Carroll, Jim P [Contractor]" said: > > I've built NRPE and the plugins on Solaris8. I've never built Nagios itself > on Solaris8. Until now. > > I don't know whether this is the best workaround, but it's a workaround > nonetheless: > > - change to the cgi subdirectory > - edit statusmap.c > - go to line 2194 and remove the following 2 lines: > > else if(!strcasecmp(ext,".jpg") || !strcasecmp(ext,".jpeg")) > im=gdImageCreateFromJpeg(fp); > > - save the file > - restart your make > > Let me know how that works. Jim, Someone suggested I check versions... turned out gd 1.8.4 is required (I had 1.8.3). Thanks for looking into this, --nate > > jc > > > -----Original Message----- > > From: Nathan Coraor [mailto:nate at cse.psu.edu] > > Sent: Monday, October 07, 2002 5:45 PM > > To: Carroll, Jim P [Contractor] > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Solaris 8 Compilation Problems > > > > > > "Carroll, Jim P [Contractor]" said: > > > > > > If you don't mind not having JPEG images (you can use PNG > > anyway), remove > > > the -ljpeg from the Makefile. > > > > > > Er, you *have* installed the GD library (www.boutell.com), > > haven't you? > > > > Yep: > > -rw-r--r-- 1 root staff 188408 Oct 7 15:43 > > /usr/local/lib/libgd.a > > > > Installed today, 1.8.3. > > > > Removed -ljpeg from cgi/Makefile and I get the same results: > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > > cgiutils.o \ > > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c \ > > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng \ > > edata.o ../xdata/xedtemplate.c -o statusmap.cgi > > > > Notice there's no -ljpeg, yet it gives the same error. Looks like a > > gd problem, not jpeg? gd is also found by autoconf: > > > > checking for gdImagePng in -lgd (order 1)... yes > > GD library was found! > > > > Thanks, > > --nate > > > > > > > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Nathan Coraor [mailto:nate at cse.psu.edu] > > > > Sent: Monday, October 07, 2002 3:50 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > > > > > > > > > > From browsing the archives, it would appear that this > > > > question has come > > > > up before. However, the solution seems to be an LD_LIBRARY_PATH > > > > problem which I don't think exists in this case: > > > > > > > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in > > > > /usr/local/lib and jpeg > > > > binaries in /usr/local/bin. > > > > > > > > The source I'm trying to compile is 1.0b6. > > > > > > > > The error is below: > > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > > > > cgiutils.o auth.o popen.o ../common/objects.c > > > > ../xdata/xodtemplate.c ../common/statusdata.c > > > > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o > > > > ../xdata/xedtemplate.c -o statusmap.cgi > > > > Undefined first referenced > > > > symbol in file > > > > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > > > > ld: fatal: Symbol referencing errors. No output written to > > > > statusmap.cgi > > > > collect2: ld returned 1 exit status > > > > > > > > #printenv LD_LIBRARY_PATH > > > > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwi > > > > n/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib > > > > > > > > Any thoughts on this are appreciated. > > > > > > > > Thanks in advance, > > > > --nate > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From CTIEXCH-SA at emp.ctc.net Tue Oct 8 06:24:28 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Tue, 8 Oct 2002 00:24:28 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-08\00-24-27.65101 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 8 06:21:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 8 Oct 2002 00:21:12 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: What plugin version are you using? -sg On Mon, 7 Oct 2002, Troy Corbin wrote: > i too use the check_ifstatus plugin for a majority of my router > monitoring. on routers that have an interface that is down, i receive the > following error if run manually: > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > What is causing this? The box runs Fbsd 4.6-Stable. > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > Thanks, > troy > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > * Perl is located in the /usr/bin directory > > * echo $PATH shows /usr/bin listed > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > v5.6.1 > > > > Thanks again for your assistance. > > > > Nolan > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > Check the location for perl in your path versus the perl in the #! > > statement. (or config.status if using embedded perl) > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > I would say this was largely because the first time I ran a > > > check_ifstatus, it complained about not having the SNMP.pm in its > > @INC > > > path.... Once I adjusted it so that it was in its path, that error > > went > > > away. I then received the session error message.... > > > > > > But, as I mentioned, based on one of your postings in the archives, > > I > > > separately attempted to install the Net::SNMP through the CPAN shell > > and > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > installed on the machine. > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > Thanks for your response. > > > > > > Nolan > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > Ummm yes and no :) > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > check_snmp and the SNMP.pm module. > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > perl > > > snmp manager library implementation. > > > > > > the names are confusing similar... the perl modules names are > > actually > > > > > > different. > > > > > > -sg > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > I am trying to get check_ifstatus going and am having some > > > difficulties > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > receive > > > the > > > > following error message, when I attempt to run the check_ifstatus > > > > command from the nagios libexec directory to test it: > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > Can't locate object method "session" via package "Net::SNMP" > > > (perhaps > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > module > > > > following the instructions that accompany both of those components. > > > > > I > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > again/verify my perl module installation by installing it using > > the > > > CPAN > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > Obviously, I missed some step or have failed to do some > > > configuration. > > > > Any assistance would be appreciated. > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > appears to be an existing 5.6.0 installation as well. I am using > > > the > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > Net-SNMP > > > > 5.0.5 (released 10/1/2002) > > > > > > > > Here are the steps I went through. > > > > > > > > INSTALLED NET-SNMP > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > * ./configure > > > > * make > > > > * umask 022 > > > > * make install > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > ran: > > > > perl Makefile.PL > > > > * make > > > > * make test > > > > * make install > > > > * Since the SNMP.pm was installed to > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > was > > > that > > > > NET-SNMP actually looks for it under a directory named Net, I > > created > > > a > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > included > > > > paths, but produces the session error message > > > > * Tried to install again/verify the SNMP.pm installation by > > > installing > > > > it through the CPAN shell: > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > Net::SNMP is up to date. > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 8 06:29:52 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 8 Oct 2002 00:29:52 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problem In-Reply-To: References: Message-ID: what does /usr/bin/perldoc Net::SNMP show? check your path - you may have another installation of perl 5.6.1 under /usr/local before /usr/bin. -sg On Mon, 7 Oct 2002, Nolan Martin wrote: > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > * Perl is located in the /usr/bin directory > * echo $PATH shows /usr/bin listed > * # perl -v and # /usr/bin/perl -v both find perl and show version > v5.6.1 > > Thanks again for your assistance. > > Nolan > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > Check the location for perl in your path versus the perl in the #! > statement. (or config.status if using embedded perl) > > -sg > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > I would say this was largely because the first time I ran a > > check_ifstatus, it complained about not having the SNMP.pm in its > @INC > > path.... Once I adjusted it so that it was in its path, that error > went > > away. I then received the session error message.... > > > > But, as I mentioned, based on one of your postings in the archives, > I > > separately attempted to install the Net::SNMP through the CPAN shell > and > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > installed on the machine. > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > Thanks for your response. > > > > Nolan > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > Ummm yes and no :) > > > > NET-SNMP package includes the snmp command line utilities used by > > check_snmp and the SNMP.pm module. > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > perl > > snmp manager library implementation. > > > > the names are confusing similar... the perl modules names are > actually > > > > different. > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > I am trying to get check_ifstatus going and am having some > > difficulties > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > receive > > the > > > following error message, when I attempt to run the check_ifstatus > > > command from the nagios libexec directory to test it: > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > Can't locate object method "session" via package "Net::SNMP" > > (perhaps > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > module > > > following the instructions that accompany both of those components. > > > I > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > again/verify my perl module installation by installing it using > the > > CPAN > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > Obviously, I missed some step or have failed to do some > > configuration. > > > Any assistance would be appreciated. > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > appears to be an existing 5.6.0 installation as well. I am using > > the > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > Net-SNMP > > > 5.0.5 (released 10/1/2002) > > > > > > Here are the steps I went through. > > > > > > INSTALLED NET-SNMP > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > * ./configure > > > * make > > > * umask 022 > > > * make install > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > ran: > > > perl Makefile.PL > > > * make > > > * make test > > > * make install > > > * Since the SNMP.pm was installed to > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > was > > that > > > NET-SNMP actually looks for it under a directory named Net, I > created > > a > > > directory named Net and copied SNMP.pm to that folder as well. > > > * Executing the check_ifstatus now finds the SNMP.pm in its > included > > > paths, but produces the session error message > > > * Tried to install again/verify the SNMP.pm installation by > > installing > > > it through the CPAN shell: > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > Net::SNMP is up to date. > > > > > > Thanks in advance for any assistance you can provide. > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Tue Oct 8 08:43:23 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 08 Oct 2002 08:43:23 +0200 Subject: Citrix PlugIn (wish?) References: <3B9B6F9AD30D3040AD5541A1D005D98710DDA7@nc-mail2.in.nordcom.net> <20021007125705.20f94f64.marguz@ameritech.net> Message-ID: <3DA27E8B.BBF9F96A@gcc.dhl.com> Dear Mark and Jens, First of all: thanks for trying out this plugin and sorry for the confusion. I should indeed have mentioned to run the plugin from your libexec directory, as it is there where the utils.pm file is located. Furthermore for any of you running into problems: could you please send a debug output to me (pro forma) and to Stanley Hopcroft (Stanley.Hopcroft at ipaustralia.gov.au)? Just run the plugin like you normally would, but add the -d switch. No need to copy the list to this communication. As this version is a beta, it's very likely that there are still some bugs in it. But Mr Hopcroft will be more than happy to let the Perl beast out again and begin a new struggle with the mysterious ways of the Citrix ICA protocol! Kind regards, Tom Mark Guzzo wrote: > > Strange, when it gives me the error that 'Citrix Desktop' is not listed, it prints out a list of Pub Apps. My 'Citrix Desktop is NOT listed, crap! > > On Mon, 7 Oct 2002 19:40:21 +0200 > wrote: > > > for me it does - but one thing is strange. my desktop is named "nC Desktop" if i try to query this desktop with the plugin i get an error. if i query "C Desktop" it works :) > > > > everything else is just fine... > > > > jens > > > > >-----Original Message----- > > >From: Mark Guzzo [mailto:marguz at ameritech.net] > > >Sent: Monday, October 07, 2002 7:33 PM > > >To: nagios-users at lists.sourceforge.net > > >Subject: [Nagios-users] Citrix PlugIn (wish?) > > > > > > > > >Thanks again for all the help! > > > > > >I can check to Published Apps just fine. But the one that is > > >THE one I really would like to keep an eye on is the published > > >desktop. It's named 'Citrix Desktop' and that is what I test > > >for. Does this plugin work with Published Desktops? > > > > > >^^^ got Linux ^^^ > > > > > > > > >Mark Guzzo > > >Citrix Administrator > > > > > >"Don't Fear The Penguin." > > > > > > > > >------------------------------------------------------- > > >This sf.net email is sponsored by:ThinkGeek > > >Welcome to geek heaven. > > >http://thinkgeek.com/sf > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ^^^ got Linux ^^^ > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Tom De Blende Senior NT Infrastructure Analyst (Frango) DHL Global Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tord.andersson at dataductus.se Tue Oct 8 08:50:21 2002 From: tord.andersson at dataductus.se (Tord Andersson) Date: Tue, 08 Oct 2002 08:50:21 +0200 Subject: check_nt References: Message-ID: <3DA2802D.2030601@dataductus.se> Hi, I have noticed in one installation that all information within perfmon are gone! Due to this, check_nt was not able to work properly. To check if you have the same problem, start perfmon and try to add something to monitor. I you see numbers rather then names ... well, then you have a problem. This has happened to others and I've found a soloution to it on MS web page... but it did not work.... Regards, Tord >From: "morgan" >To: >Date: Mon, 7 Oct 2002 12:27:16 -0700 >Subject: [Nagios-users] check_nt > >Afternoon everyone, > >I have already sent an email to the author of NS client but so far I >haven't received anything so Ill ask here. I recently have had two 2k >machines that have stopped responding to check_nt queries, and getting a >connection refused. Both were sp3, and the interesting part is that when >the problem stared happing they were both giving me perfmon errors event >id 1016, and nsclint reported that "CollectData Failed". I'm not all >that good with NT but it seems perhaps that the perfmon stuff perhaps >may have gotten corrupted. If anyone has any insight please let me know > >Thanks >Morgan > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Oct 8 08:54:14 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 8 Oct 2002 08:54:14 +0200 Subject: Nagios Mail-From - Address Message-ID: Hi! I'm experiencing a problem while trying to send out mails to external mail addresses. This is caused by the from-field "From: nagios at linux.local" with the domain "linux.local". Our mail server (exim 3.36) is not able to send out emails coming from this non-existent domain. Where can I change this? Maybe I just didn't see the config option. Hope you can help me out here ;-) Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 8 08:59:12 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 8 Oct 2002 08:59:12 +0200 Subject: check_nt Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780328@storevis.datavis.se> I had the same problem after applying SP3 the monitoring failed on one of my servers. The problem was in Windows because not even the built in performance monitor worked. The same problem has been discussed on this list mabye a week ago, and the solution I came up with after reading it was yet another reboot... /FredrikW -----Original Message----- From: morgan [mailto:morgan at shnikees.com] Sent: Mon 07-Oct-02 21:27 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] check_nt Afternoon everyone, I have already sent an email to the author of NS client but so far I haven't received anything so Ill ask here. I recently have had two 2k machines that have stopped responding to check_nt queries, and getting a connection refused. Both were sp3, and the interesting part is that when the problem stared happing they were both giving me perfmon errors event id 1016, and nsclint reported that "CollectData Failed". I'm not all that good with NT but it seems perhaps that the perfmon stuff perhaps may have gotten corrupted. If anyone has any insight please let me know Thanks Morgan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 8 09:09:45 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 8 Oct 2002 09:09:45 +0200 Subject: Nagios Mail-From - Address Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278032A@storevis.datavis.se> Does the machine have is full name including domainname in /etc/hosts?? /FredrikW -----Original Message----- From: Michael Jakscht [mailto:mijakscht at vit.de] Sent: Tue 08-Oct-02 08:54 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Nagios Mail-From - Address Hi! I'm experiencing a problem while trying to send out mails to external mail addresses. This is caused by the from-field "From: nagios at linux.local" with the domain "linux.local". Our mail server (exim 3.36) is not able to send out emails coming from this non-existent domain. Where can I change this? Maybe I just didn't see the config option. Hope you can help me out here ;-) Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 8 09:06:32 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 8 Oct 2002 09:06:32 +0200 Subject: RRD tool integration Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780329@storevis.datavis.se> OK, I will post it and a small tutorial as soon as I return to my office, maybe on thursday. So please be patient... /FredrikW -----Original Message----- From: dan at julieanddan.com [mailto:dan at julieanddan.com] Sent: Tue 08-Oct-02 01:32 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Re: RRD tool integration Fredrik, Would you mind sharing the wrapper script you have written? I am also interested in using the RRD tool to store performance data. Daniel Koffler dan at remics.net Tel: 514.497.1411 Fax: 206.600.4642 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Oct 8 09:14:45 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 8 Oct 2002 09:14:45 +0200 Subject: Nagios Mail-From - Address Message-ID: Yes, it has the full name in it. --- 172.16.1.42 rzvlog.vit.de rzvlog 192.168.101.42 rzvlog.vit.de --- That's it. Two network cards installed, one ethernet, one token ring. Should be ok. ? Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Oct 8 09:26:38 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 8 Oct 2002 09:26:38 +0200 Subject: Nagios Mail-From - Address Message-ID: Is not OK, I can't use mails when nagios sends out with the domain linux.local. Where can I change the address? Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 8 10:15:36 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 8 Oct 2002 10:15:36 +0200 Subject: Nagios Mail-From - Address Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278032D@storevis.datavis.se> Are you using sendmail? Try to set 'j' to your domainname; Dj in sendmail.cf /FredrikW -----Original Message----- From: Michael Jakscht [mailto:mijakscht at vit.de] Sent: Tue 08-Oct-02 09:26 To: nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] Nagios Mail-From - Address Is not OK, I can't use mails when nagios sends out with the domain linux.local. Where can I change the address? Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Oct 8 10:14:01 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 8 Oct 2002 10:14:01 +0200 Subject: Nagios Mail-From - Address Message-ID: Jens Hjalmarsson at Tue, 8 Oct 2002 09:48:01: > Change in /etc/HOSTNAME and run the command "hostname new.host.here" Same problem after change. This is very funny. I need emails working. It should work I think. But it doesn't. Hope there are any more possibilities to try to get this to work. Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Oct 8 10:21:28 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 8 Oct 2002 10:21:28 +0200 Subject: Nagios Mail-From - Address Message-ID: > Are you using sendmail? Try to set 'j' to your domainname; > Dj in sendmail.cf No, just switched to exim 3.36 (yesterday) - I thought I could get it working with exim - the sendmail installation seemed to be very messed on that machine... Exim works great, now we're able to send mails out again without having MTA problems... If you know a solution on exim on how to rewrite the linux.local domain go ahead and tell me ;-) I don't care *how* emails get out at all, as long as they get out... ;-) Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From hannu.liljemark at laurea.fi Tue Oct 8 10:25:17 2002 From: hannu.liljemark at laurea.fi (Hannu Liljemark) Date: Tue, 8 Oct 2002 11:25:17 +0300 Subject: CGI problems with PostgreSQL backend Message-ID: <20021008082517.GA5008@charisma.myip.org> heya, i can't get nagios web frontend to display status info etc. with postgresql backend. nagios seems to be storing data correctly to the postgresql database (i can see everything with if i use psql command), 'nagios -v nagios.cfg' tells everything is ok and i have triple-checked usernames, passwords, ports, hostnames, databases in both cgi.cfg and resources.cfg. grants are set correctly (nagios uses nagios-username for postgres, cgis use nagcgi and nagcgi only has select for the required tables). most of the above info probably isn't required to solve this problem, but just to make sure... and tell me if i left out something important! :-) nagios.log or postgresql.log contain nothing, but when i turn the debug levels to the max and tell syslog to grab the flood of messages, i see: postgres[1268]: [69] DEBUG: BackendStartup: forked pid=1416 socket=91 postgres[1416]: [69] FATAL 1: no PostgreSQL user name specified in startup packet nagios version is 1.0b6 and postgresql is 7.2.1 on debian woody. i compiled nagios with: ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin \ --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios \ --with-pgsql-downtime --with-pgsql-retention --with-pgsql-comments \ --with-pgsql-extinfo --with-pgsql-status --with-pgsql-xdata and i did 'make all' followed by 'make install'. however, i think that stuff is working properly. problem is somewhere deeper. i tried searching the mailing list archives for answers, but didn't find anything. if this was a problem and is fixed in cvs version, i guess i'll pull out the latest sources later and give them a go. so, i suppose it should work, but why does postgres say the cgi doesn't give username to it properly? heck, i even get notifications about service and host problems but the cgis just can't access the database :-) cheers, hannu liljemark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Tue Oct 8 13:16:47 2002 From: atul at mindsw.com (Atul Gosain) Date: Tue, 8 Oct 2002 16:46:47 +0530 (IST) Subject: Creating Delay in notifications Message-ID: <2949.202.88.151.191.1034075807.squirrel@www.webyarn.com> Hi We are monitoring some servers on WAN links. Sometimes due to some small problem in internal network, nagios shows the remoe hosts as down or unreachable. Now i want that notifications of the remote hosts should be sent after 15 minutes of sustained problem. For this i can write an event handler which can check $LASTSTATECHANGE$ in my event handler according to which i send the mail the mail when this macro value gets more than 15 min. The problem is that we cannot specify notification command for each host, otherwise i would have specified seperate notification commands for those hosts which would check for 15 minutes delay. Can somebody give the directions on how to do it? -- _-. .-_ _..-'( )`-.._ ./'. '||\\. (\_/) .//||` .`\. ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\. ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\. ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\. /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\ '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.` '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.` |/' \./' `\./ |/\ /\| \./' `\./ `\| V V V }' `\ /' `{ V V V ` ` ` U ' ' Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 3 18:33:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Oct 2002 11:33:50 -0500 Subject: NRPE and NSCA Clients on HP-UX Message-ID: I've been out of the HP-UX loop for some time, but I would imagine that you'd need the GNU C compiler and GNU make, as a bare minimum. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, October 03, 2002 10:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE and NSCA Clients on HP-UX > > > Has anyone had success compiling the NRPE and NSCA clients on > HP-UX systems > running either 10.20 or 11.00? > I tried installing both but during the 'make all' procedure > in both instances > Stop Exit Code 1 occurred. The main > culprit appears to have been Error 1705: Function prototypes > are an ANSI > feature. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rob.king at wholefoods.com Thu Oct 3 18:33:55 2002 From: rob.king at wholefoods.com (Rob King) Date: Thu, 03 Oct 2002 11:33:55 -0500 Subject: Multiple "members" lines in hostgroup definitions? Message-ID: <3D9C7173.8040002@wholefoods.com> Hello everyone, I was wondering if anyone knew of a way to have the "members" entry of a hostrgroup definition span multiple lines? I've tried ending the line with a comma-newline, but that doesn't work. Ditto for backslashing it. The problem is, I'm going to have hostgroups with several dozen members, and having them all on one line is going to be unsightly to say the least, and uneditable to say the worst. Please let me know if anyone knows of a way around this. Thanks, Rob ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nate at cse.psu.edu Mon Oct 7 22:49:48 2002 From: nate at cse.psu.edu (Nathan Coraor) Date: Mon, 7 Oct 2002 16:49:48 -0400 (EDT) Subject: Solaris 8 Compilation Problems Message-ID: <20021007204948.F3FE3396C8@corona.cse.psu.edu> >From browsing the archives, it would appear that this question has come up before. However, the solution seems to be an LD_LIBRARY_PATH problem which I don't think exists in this case: I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in /usr/local/lib and jpeg binaries in /usr/local/bin. The source I'm trying to compile is 1.0b6. The error is below: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi Undefined first referenced symbol in file gdImageCreateFromJpeg /var/tmp/cctdBsNf.o ld: fatal: Symbol referencing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status #printenv LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWspro/lib:/usr/lib:/usr/ucblib Any thoughts on this are appreciated. Thanks in advance, --nate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 8 13:49:09 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 8 Oct 2002 13:49:09 +0200 Subject: Creating Delay in notifications Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780331@storevis.datavis.se> Use Notification Escalations, described in the docs. /FredrikW -----Original Message----- From: Atul Gosain [mailto:atul at mindsw.com] Sent: Tue 08-Oct-02 13:16 To: nagios Cc: Subject: [Nagios-users] Creating Delay in notifications Hi We are monitoring some servers on WAN links. Sometimes due to some small problem in internal network, nagios shows the remoe hosts as down or unreachable. Now i want that notifications of the remote hosts should be sent after 15 minutes of sustained problem. For this i can write an event handler which can check $LASTSTATECHANGE$ in my event handler according to which i send the mail the mail when this macro value gets more than 15 min. The problem is that we cannot specify notification command for each host, otherwise i would have specified seperate notification commands for those hosts which would check for 15 minutes delay. Can somebody give the directions on how to do it? -- _-. .-_ _..-'( )`-.._ ./'. '||\\. (\_/) .//||` .`\. ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\. ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\. ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\. /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\ '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.` '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.` |/' \./' `\./ |/\ /\| \./' `\./ `\| V V V }' `\ /' `{ V V V ` ` ` U ' ' Atul Gosain Mindframe Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Kaufmanm at gtc.edu Tue Oct 8 14:18:40 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Tue, 8 Oct 2002 07:18:40 -0500 Subject: How do you say "Nagios" Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D5DC@gtc.edu> I know this is not important but this has been bothering me. Does anyone know how to pronounce 'Nagios'. We have been having a disagreement here. A few have said with a long a, some with short a. we all agreed at this point just to call it "NAG" until we know..... Thanks for your time. mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Schindewolf at Infraserv.com Tue Oct 8 14:32:37 2002 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Tue, 8 Oct 2002 14:32:37 +0200 Subject: AW: How do you say "Nagios" Message-ID: <2B6CA561B67B72418738D8F3D7853DA30839A3@20-exchange-1.infraserv.com> I think a long a. Comes from greek "Hagios". -----Urspr?ngliche Nachricht----- Von: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] Gesendet: Dienstag, 8. Oktober 2002 14:19 An: 'nagios-users at lists.sourceforge.net ' Betreff: [Nagios-users] How do you say "Nagios" I know this is not important but this has been bothering me. Does anyone know how to pronounce 'Nagios'. We have been having a disagreement here. A few have said with a long a, some with short a. we all agreed at this point just to call it "NAG" until we know..... Thanks for your time. mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Tue Oct 8 14:36:59 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 8 Oct 2002 08:36:59 -0400 Subject: Problems Running NRPE Client on an HP-UX works tation Message-ID: <5593DA408212D511B0910002A513501F01D28769@phsexch20.mgh.harvard.edu> Hi Jim, I am using GCC compiler version 3.1.1. It is located in the /usr/local/bin directory of the machine. Prior to running the configure script I verify I am using the gcc compiler by running the WHICH GCC command and the return is /usr/local/bin/gcc. Likewise, the WHICH MAKE command returns /usr/local/bin/make. When ./configure is run, I am running it as a local user on the machine. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Monday, October 07, 2002 5:31 PM To: Kaplan, Andrew H. Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX works tation Andrew, I don't recall offhand whether I've already suggested this, but... are you using the GNU C compiler and GNU make? jc > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, October 07, 2002 3:34 PM > To: Kaplan, Andrew H. > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > works tation > > > > CHECK_SWAP.C:80 'SWAP_FORMAT' UNDECLARED (FIRST USE IN THIS > FUNCTION) > > CHECK_SWAP.C:80 (EACH UNDECLARED IDENTIFIER IS REPORTED ONLY ONCE > > CHECK_SWAP.C:80 FOR EACH FUNCTION IT APPEARS IN.) > > MAKE[1]: *** [CHECK_SWAP.0] ERROR 1 > > MAKE[1): LEAVING DIRECTORY '/TMP/NAGIOSPLUG/PLUGINS' > > MAKE: *** [ALL RECURSIVE] ERROR 1 > > > > What do you make of it? > > Write your own plugin -- these ones are designed for Linux, > and don't work > well anywhere else that i've seen. > > The command to check swap is swapinfo, which should be in > your /usr/sbin > directory on HPUX (maybe that's new for 11.x, but I dunno). > > I no longer have access to HPUX boxes, so I may be of little further > help... > > > > > -----Original Message----- > > From: Jason Marshall [mailto:jasonm at kelman.com] > > Sent: Monday, October 07, 2002 12:41 PM > > To: Kaplan, Andrew H. > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX > > works tation > > > > > > No, not problems... You WILL have to recompile anything > that is compiled, > > though. I write all my plugins in Bourne shell for this > very reason. > > > > So, NRPE plus your binary plugins will have to be recompiled. > > > > > The only question is, everything that would be copied > over was compiled on > > a > > > Red Hat Linux 7.3 x86 box. > > > The environment the files are going to is an HP-UX 10.20 > box running on a > > > non-x86 chip. Would that present > > > problems? > > > > > > -----Original Message----- > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > Sent: Monday, October 07, 2002 12:29 PM > > > To: Kaplan, Andrew H. > > > Cc: 'nagios-users at lists.sourceforge.net' > > > Subject: RE: [Nagios-users] Problems Running NRPE Client > on an HP-UX > > > works tation > > > > > > > > > Even that's overkill. All you need is the stuff to make > NRPE go, and the > > > plugins that NRPE uses. That's all you _really_ need. > > > > > > I personally copy a few other things over, but I don't > think you'll need > > > to (all the config files, mainly, and everything in > ~nagios/bin, where I > > > have some utilities). > > > > > > > If I am reading your previous e-mail correctly, I can > proceed with an > > > > install of the Nagios application minus the Apache > server and MySQL > > > > database. After the core program is installed, the > plug-ins along with > > the > > > > nrpe client would follow. Is this correct? > > > > > > > > -----Original Message----- > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > Sent: Monday, October 07, 2002 12:01 PM > > > > To: Kaplan, Andrew H. > > > > Cc: 'nagios-users at lists.sourceforge.net' > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > works tation > > > > > > > > > > > > I maintain the same structure on the clients as on the > server, so it's > > > > easy to rsync things between the server and clients, as > required. > > Doesn't > > > > matter what structure that is, I'd think, as long as it works. > > > > > > > > > The standard that I have been following is the nrpe > daemon and the > > > > nrpe.cfg > > > > > file. > > > > > As far as other config files are concerned, should > they be copied into > > > the > > > > > libexec > > > > > directory or will the nagios directory be sufficient? > Also, the files > > > > would be > > > > > coming from an x86 machine with Red Hat Linux 7.3 and > they would be > > > going > > > > onto a > > > > > RISC-chip workstation running HP-UX 10.20. > > > > > > > > > > -----Original Message----- > > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > > Sent: Monday, October 07, 2002 10:55 AM > > > > > To: Kaplan, Andrew H. > > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > > works tation > > > > > > > > > > > > > > > The only thing you need on the client is the plugin, > and enough stuff > > > for > > > > > nrpe to run. I also copy over the config files > because some of my > > > > > home-made plugins access the config files, but your > mileage may > > vary... > > > > > > > > > > > They came from the original application server. My > thinking was > > there > > > > wouldn't > > > > > > be an issue > > > > > > with my copying them from the server to the client. > I could download > > > the > > > > > entire > > > > > > program onto > > > > > > the client machine and then compile the plugins thereafter. > > > > > > > > > > > > The question I have is, is it necessary for the > entire program to be > > > > > downloaded, > > > > > > and if so does > > > > > > the entire program need to remain on the client? > > > > > > > > > > > > -----Original Message----- > > > > > > From: Jason Marshall [mailto:jasonm at kelman.com] > > > > > > Sent: Monday, October 07, 2002 10:39 AM > > > > > > To: Kaplan, Andrew H. > > > > > > Cc: 'Carroll, Jim P [Contractor]'; > > nagios-users at lists.sourceforge.net > > > > > > Subject: RE: [Nagios-users] Problems Running NRPE > Client on an HP-UX > > > > > > works tation > > > > > > > > > > > > > > > > > > > I tried step one as a "regular" user and I > encountered the error > > > > message: > > > > > > > > > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE. > > > > > > > > > > > > Where did you get these binaries? It doesn't look > like you compiled > > > > them > > > > > > on this machine (or one with the same OS level and > architecture)... > > > > > > > > > > > > --- > > > > > > Jason Marshall, Unix Geek, Kelman Technologies, > Inc., Calgary, AB, > > > > Canada. > > > > > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > > > "Workaround: don't pound on the mouse like a > wild monkey." > > > > > > > > > > > > "I have great faith in fools: > > > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, > > > Canada. > > > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > > > "I have great faith in fools: > > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > > > > > --- > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, > > Canada. > > > > > > > > From a Sun Microsystems bug report (#4102680): > > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > > > "I have great faith in fools: > > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > > > > > From a Sun Microsystems bug report (#4102680): > > > "Workaround: don't pound on the mouse like a wild monkey." > > > > > > "I have great faith in fools: > > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > > > From a Sun Microsystems bug report (#4102680): > > "Workaround: don't pound on the mouse like a wild monkey." > > > > "I have great faith in fools: > > Self confidence my friends call it." -Edgar Allan Poe > > > > > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., > Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.zorzi at tecom.it Tue Oct 8 14:58:15 2002 From: g.zorzi at tecom.it (Giuliano Zorzi) Date: 08 Oct 2002 14:58:15 +0200 Subject: line speed check Message-ID: <1034081895.13548.6.camel@giuliano> is it possible to check for the connection speed between the nagios server and a remote computer (like a web server) ? any hint will be appreciated thanks giuliano ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at opentechinc.net Tue Oct 8 15:07:29 2002 From: seth at opentechinc.net (Seth Hollen) Date: Tue, 8 Oct 2002 09:07:29 -0400 Subject: Startup errors Message-ID: I am new to nagios and have been following all directions I can find especially the article in Onlamp. If I do "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" I get this: Reading configuration data... Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. Here is my hosts.cfg file -----------begin hosts.cfg----------------------- # Generic host definition template define host{ # The name of this host template - referenced i name generic-host n other host definitions, used for template recursion/resolution # Host notifications are enabled notifications_enabled 1 # Host event handler is enabled event_handler_enabled 1 # Flap detection is enabled flap_detection_enabled 1 # Process performance data process_perf_data 1 # Retain status information across program restarts retain_status_information 1 # Retain non-status information across program restarts retain_nonstatus_information 1 # DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, # JUST A TEMPLATE! register 0 } # Host Definition define host{ # Name of host template to use use generic-host host_name nagios.lan alias nagios address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } ----------------end hosts.cfg------------------- Could anyone point me in the right direction??? Thank you! Take Care, Seth Hollen seth at opentechinc.net 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From troyc at communitech.net Tue Oct 8 16:14:15 2002 From: troyc at communitech.net (Troy Corbin) Date: Tue, 8 Oct 2002 09:14:15 -0500 (CDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: # check_ifstatus.pl - netsaint plugin # 11.01.2000 Version 1.0 is it too old? On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > What plugin version are you using? > > -sg > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > i too use the check_ifstatus plugin for a majority of my router > > monitoring. on routers that have an interface that is down, i receive the > > following error if run manually: > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > Thanks, > > troy > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > * Perl is located in the /usr/bin directory > > > * echo $PATH shows /usr/bin listed > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > v5.6.1 > > > > > > Thanks again for your assistance. > > > > > > Nolan > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > Check the location for perl in your path versus the perl in the #! > > > statement. (or config.status if using embedded perl) > > > > > > -sg > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > I would say this was largely because the first time I ran a > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > @INC > > > > path.... Once I adjusted it so that it was in its path, that error > > > went > > > > away. I then received the session error message.... > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > I > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > and > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > installed on the machine. > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > Thanks for your response. > > > > > > > > Nolan > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > Ummm yes and no :) > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > check_snmp and the SNMP.pm module. > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > perl > > > > snmp manager library implementation. > > > > > > > > the names are confusing similar... the perl modules names are > > > actually > > > > > > > > different. > > > > > > > > -sg > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > difficulties > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > receive > > > > the > > > > > following error message, when I attempt to run the check_ifstatus > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > (perhaps > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > module > > > > > following the instructions that accompany both of those components. > > > > > > > I > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > again/verify my perl module installation by installing it using > > > the > > > > CPAN > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > configuration. > > > > > Any assistance would be appreciated. > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > the > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > Net-SNMP > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > INSTALLED NET-SNMP > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > * ./configure > > > > > * make > > > > > * umask 022 > > > > > * make install > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > ran: > > > > > perl Makefile.PL > > > > > * make > > > > > * make test > > > > > * make install > > > > > * Since the SNMP.pm was installed to > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > was > > > > that > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > created > > > > a > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > included > > > > > paths, but produces the session error message > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > installing > > > > > it through the CPAN shell: > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > Net::SNMP is up to date. > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Garry.Cook at mactec.com Tue Oct 8 16:17:30 2002 From: Garry.Cook at mactec.com (Garry Cook) Date: Tue, 8 Oct 2002 08:17:30 -0600 Subject: How do you say "Nagios" Message-ID: <186C7335CA35094D95611F4F61A63EAD446282@gdn-exch1.mactec.com> I asked Ethan this question, a few months back. I believe that he replied with the following: NAH-GEE-OSE Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] > Sent: Tuesday, October 08, 2002 6:19 AM > To: 'nagios-users at lists.sourceforge.net ' > Subject: [Nagios-users] How do you say "Nagios" > > > I know this is not important but this has been bothering me. > > Does anyone know how to pronounce 'Nagios'. We have been having a > disagreement here. A few have said with a long a, some with short a. > > we all agreed at this point just to call it "NAG" until we know..... > > > Thanks for your time. > mike > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 8 16:27:22 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Oct 2002 09:27:22 -0500 Subject: Solaris 8 Compilation Problems Message-ID: Hhhmmm. When I went through this exercise last night, I'd first downloaded and built the latest gd libs from www.boutell.com. I still ran into the same problem Nathan ran into, until I removed the 2 lines from source that I mention in a previous e-mail. It would be great if we could get to the bottom of this once and for all, and then add it to the FAQ. jc > -----Original Message----- > From: Jackson Sie [mailto:jsie at quadrix.com] > Sent: Monday, October 07, 2002 8:40 PM > To: 'Nathan Coraor'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Solaris 8 Compilation Problems > > > Nathan, > > You don't say the source of your jpeg, libpng and gd libs. I ran into > the same problem when I first tried using the libs from sunfreeware. > Are you using these? Once I retrieved the source for gd and built it > myself, then everything works just dandy. Apparently the pre-built > libgd.a available from sunfreeware is old enough to not work correctly > with the jpeg and libpng from the same source... Odd I know, > but that's > the info I have. > > Good luck, > Jackson Sie > Senior Architect > Quadrix Solutions, Inc. > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan > Coraor > Sent: Monday, October 07, 2002 4:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Solaris 8 Compilation Problems > > > From browsing the archives, it would appear that this > question has come > up before. However, the solution seems to be an > LD_LIBRARY_PATH problem > which I don't think exists in this case: > > I'm using jpeg6b, libpng1.2.5, gd1.8.3, libs in > /usr/local/lib and jpeg > binaries in /usr/local/bin. > > The source I'm trying to compile is 1.0b6. > > The error is below: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg > edata.o ../xdata/xedtemplate.c -o statusmap.cgi > Undefined first referenced > symbol in file > gdImageCreateFromJpeg /var/tmp/cctdBsNf.o > ld: fatal: Symbol referencing errors. No output written to > statusmap.cgi > collect2: ld returned 1 exit status > > #printenv LD_LIBRARY_PATH > /usr/local/lib:/usr/local/lib/rvplayer:/usr/dt/lib:/usr/openwi > n/lib:/opt > /SUNWspro/lib:/usr/lib:/usr/ucblib > > Any thoughts on this are appreciated. > > Thanks in advance, > --nate > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 8 16:29:24 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Oct 2002 09:29:24 -0500 Subject: Solaris 8 Compilation Problems Message-ID: Hmm. I installed gd 1.8.4 last night, and still ran into the same probs you did. jc Nathan Coraor wrote: > Jim, > > Someone suggested I check versions... turned out gd 1.8.4 > is required > (I had 1.8.3). > > Thanks for looking into this, > --nate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 8 16:41:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Oct 2002 09:41:00 -0500 Subject: Nagios Mail-From - Address Message-ID: This sounds like an MTA configuration problem. Tell you what: If you like, I'll tweak your sendmail.cf for you. But I also need to know: - what FQDN do you want to show in the From address? (eg, @vit.de, @linux.vit.de, etc) - what's the hostname of your smarterhost? (make sure that your Linux host can resolve this address) I think that's it. I'll let you know after I have another coffee. ;) jc > -----Original Message----- > From: Michael Jakscht [mailto:mijakscht at vit.de] > Sent: Tuesday, October 08, 2002 1:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Mail-From - Address > > > > > Hi! > > I'm experiencing a problem while trying to send out mails to > external mail > addresses. > This is caused by the from-field "From: nagios at linux.local" > with the domain > "linux.local". > Our mail server (exim 3.36) is not able to send out emails > coming from this > non-existent domain. > Where can I change this? > Maybe I just didn't see the config option. > Hope you can help me out here ;-) > > Michael > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 8 16:39:30 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Oct 2002 09:39:30 -0500 Subject: Creating Delay in notifications Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7155E@mismail.ena.com> It seems to me that an easier method would be to set your max_check_attempts=4 and your retry_check_interval=3. With the default interval_length of 60 seconds, that will mean Nagios will wait ~15 minutes before putting the service in a HARD down state and sending a notification. -- Marc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Tuesday, October 08, 2002 6:49 AM > To: atul at mindsw.com; nagios > Subject: RE: [Nagios-users] Creating Delay in notifications > > Use Notification Escalations, described in the docs. > > > > /FredrikW > > > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Tue 08-Oct-02 13:16 > To: nagios > Cc: > Subject: [Nagios-users] Creating Delay in notifications > > Hi > > We are monitoring some servers on WAN links. Sometimes due to some small > problem in internal network, nagios shows the remoe hosts as down or > unreachable. > Now i want that notifications of the remote hosts should be sent after 15 > minutes of sustained problem. > For this i can write an event handler which can check > $LASTSTATECHANGE$ in my event handler according to which i send the mail > the mail when this macro value gets more than 15 min. > The problem is that we cannot specify notification command for each host, > otherwise i would have specified seperate notification commands for those > hosts which would check for 15 minutes delay. > > Can somebody give the directions on how to do it? > > -- > _-. .-_ > _..-'( )`-.._ > ./'. '||\\. (\_/) .//||` .`\. > ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\. > ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\. > ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\. > /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\ > '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.` > '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.` > |/' \./' `\./ |/\ /\| \./' `\./ `\| > V V V }' `\ /' `{ V V V > ` ` ` U ' ' > > > Atul Gosain > Mindframe Software and Services Pvt. Ltd. > A-50, Sector-39 > Noida(UP). > ph no: 4500369,4575991 > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 8 16:47:55 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Oct 2002 09:47:55 -0500 Subject: Startup errors Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7155F@mismail.ena.com> I don't know if it's the formatting of the email or not, but the line beginning with 'n other host definitions' looks to be the problem. Looks like you've got some carriage return problems with your config file. Try commenting out that line with a '#'. Marc > -----Original Message----- > From: Seth Hollen [mailto:seth at opentechinc.net] > Sent: Tuesday, October 08, 2002 8:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Startup errors > > I am new to nagios and have been following all directions I can find > especially the article in Onlamp. > > If I do "/usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg" > I get this: > > Reading configuration data... > > Error: Could not add object property in file > '/usr/local/nagios/etc/hosts.cfg' on line 3. > Here is my hosts.cfg file > > -----------begin hosts.cfg----------------------- > # Generic host definition template > define host{ > # The name of this host template - referenced i > name generic-host > n other host definitions, used for template recursion/resolution > # Host notifications are enabled > notifications_enabled 1 > # Host event handler is enabled > event_handler_enabled 1 > # Flap detection is enabled > flap_detection_enabled 1 > # Process performance data > process_perf_data 1 > # Retain status information across program restarts > retain_status_information 1 # Retain non-status information > across program restarts > retain_nonstatus_information 1 > # DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, > # JUST A TEMPLATE! > register 0 > } > > > # Host Definition > > define host{ > # Name of host template to use > use generic-host > > host_name nagios.lan > alias nagios > address xxx.xxx.xxx.xxx > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > ----------------end hosts.cfg------------------- > > Could anyone point me in the right direction??? > Thank you! > > Take Care, > > Seth Hollen > seth at opentechinc.net > 727-919-1598 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sergio-s-freire at ptinovacao.pt Tue Oct 8 16:44:44 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 08 Oct 2002 15:44:44 +0100 Subject: problem with cgi refresh In-Reply-To: References: Message-ID: <1034088259.9002.6.camel@newyork.intra.cet.pt> Hello erveryone. Im getting some problems with the web interface. Ive done all configuration steps accordingly with the documentation provided but im getting some problems regarding the CGI web interface. Sometimes i get "It appears as though you do not have permission to view information for any of the services you requested..", sometimes i get the hosts and their services. I noticed that sometimes it seems like its doing some kind of cache in the http because i get strange results... Its not a problem of cache because i already disabled that in mozilla... it seems like an Apache or CGI issue similar to the problem that happens when you port CGI's to mod-perl.. anyone has similar problems regarding refreshing of CGI's? Regards, Sergio Freire ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thza at whatevermobile.com Tue Oct 8 16:53:06 2002 From: thza at whatevermobile.com (Thomas Zahari) Date: Tue, 8 Oct 2002 16:53:06 +0200 Subject: check_command $ARGx$ with SPACE characters ? Message-ID: Hello Nagios-Users, I try to use a check_command with a $ARGx$. But the argument can have space characters in it. I tried so much but nothing works. My config: ---------------------------------------------------------------------------- -- # 'check_fugger' command definition define command{ command_name check_fugger command_line $USER2$/fugger_check.pl $HOSTADDRESS$ $ARG1$ '$ARG2$' } # Service definition define service{ use generic-service ; Name of service template to use host_name server service_description Service1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups linux-admins notification_interval 20 notification_period 24x7 notification_options w,u,c,r check_command check_fugger!1234!test param1 param2 } # Service definition define service{ use generic-service ; Name of service template to use host_name server service_description Service2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups linux-admins notification_interval 20 notification_period 24x7 notification_options w,u,c,r check_command check_fugger!2345!test param1 } ---------------------------------------------------------------------------- My fugger_check.pl script should get something like: ARGV[0]=192.168.1.1 ARGV[1]=1234 ARGV[2]=test param1 param2 or ARGV[0]=192.168.1.1 ARGV[1]=2345 ARGV[2]=test param1 but the perl script got this: ARGV[0]=192.168.1.1 ARGV[1]=1234 ARGV[2]='test ARGV[3]=param1 ARGV[4]=param2' why ????????? I hope you can help me ! Thank you !! Thomas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 8 16:58:56 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Oct 2002 09:58:56 -0500 Subject: problem with cgi refresh Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71562@mismail.ena.com> Make sure that you don't have multiple nagios master processes running. Shut down nagios then do a ps -ef to see if there are any still running. If so, kill them then restart nagios. If that doesn't fix it, please provide us more information (i.e. OS and version, nagios version, apache version, etc...). -- Marc > -----Original Message----- > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > Sent: Tuesday, October 08, 2002 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with cgi refresh > > Hello erveryone. > Im getting some problems with the web interface. Ive done all > configuration steps accordingly with the documentation provided but im > getting some problems regarding the CGI web interface. > Sometimes i get "It appears as though you do not have permission to view > information for any of the services you requested..", sometimes i get > the hosts and their services. > I noticed that sometimes it seems like its doing some kind of cache in > the http because i get strange results... > Its not a problem of cache because i already disabled that in mozilla... > it seems like an Apache or CGI issue similar to the problem that happens > when you port CGI's to mod-perl.. > anyone has similar problems regarding refreshing of CGI's? > Regards, > Sergio Freire > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Tue Oct 8 17:09:20 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Tue, 8 Oct 2002 17:09:20 +0200 Subject: check_command $ARGx$ with SPACE characters ? In-Reply-To: References: Message-ID: <20021008170920.54fd9c87.freddy.frouin@fluxus.net> Hi, I'm not sure to understand really why it goes like you said, yet did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe it's just a stupid suggestion, yet i'm using " char there, and I've no problem like this... Did you tryed to run you perl script like this to see what happend: ./check_fogger 1234 'test param1 param2' Maybe it is just the shell which is used to start this command ./check_fogger 1234 'test param1 param2' which do not recognize char ' as a char to enclose arguments... What shell is using the user starting nagios ? 'hope this help, Freddy. On Tue, 8 Oct 2002 16:53:06 +0200 "Thomas Zahari" wrote: > > Hello Nagios-Users, > > I try to use a check_command with a $ARGx$. But the argument can have space > characters in it. > > I tried so much but nothing works. > > My config: > > ---------------------------------------------------------------------------- > -- > # 'check_fugger' command definition > define command{ > command_name check_fugger > command_line $USER2$/fugger_check.pl $HOSTADDRESS$ $ARG1$ > '$ARG2$' > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name server > service_description Service1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 20 > notification_period 24x7 > notification_options w,u,c,r > > check_command check_fugger!1234!test param1 param2 > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name server > service_description Service2 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 20 > notification_period 24x7 > notification_options w,u,c,r > > check_command check_fugger!2345!test param1 > } > > ---------------------------------------------------------------------------- > > My fugger_check.pl script should get something like: > > ARGV[0]=192.168.1.1 > ARGV[1]=1234 > ARGV[2]=test param1 param2 > > or > > ARGV[0]=192.168.1.1 > ARGV[1]=2345 > ARGV[2]=test param1 > > but the perl script got this: > > ARGV[0]=192.168.1.1 > ARGV[1]=1234 > ARGV[2]='test > ARGV[3]=param1 > ARGV[4]=param2' > > why ????????? > > > I hope you can help me ! > > Thank you !! > Thomas > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thza at whatevermobile.com Tue Oct 8 17:42:34 2002 From: thza at whatevermobile.com (Thomas Zahari) Date: Tue, 8 Oct 2002 17:42:34 +0200 Subject: AW: check_command $ARGx$ with SPACE characters ? In-Reply-To: <20021008170920.54fd9c87.freddy.frouin@fluxus.net> References: <20021008170920.54fd9c87.freddy.frouin@fluxus.net> Message-ID: Hi Freddy, thank you for the very fast answer. I tryed it already with the ", but it also dosent work. On the linux system we use the bash shell with SuSE 7.3. I checked my script and it works fine with the parameter in the ' ! Could it a problem with the nagios system. That calls the external process like /check_fogger "1234" "'test" "param1" "param2'" ???? Regards Thomas -----Urspr?ngliche Nachricht----- Von: Freddy Frouin [mailto:freddy.frouin at fluxus.net] Gesendet: Dienstag, 8. Oktober 2002 17:09 An: Thomas Zahari Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] check_command $ARGx$ with SPACE characters ? Hi, I'm not sure to understand really why it goes like you said, yet did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe it's just a stupid suggestion, yet i'm using " char there, and I've no problem like this... Did you tryed to run you perl script like this to see what happend: ./check_fogger 1234 'test param1 param2' Maybe it is just the shell which is used to start this command ./check_fogger 1234 'test param1 param2' which do not recognize char ' as a char to enclose arguments... What shell is using the user starting nagios ? 'hope this help, Freddy. On Tue, 8 Oct 2002 16:53:06 +0200 "Thomas Zahari" wrote: > > Hello Nagios-Users, > > I try to use a check_command with a $ARGx$. But the argument can have space > characters in it. > > I tried so much but nothing works. > > My config: > > -------------------------------------------------------------------------- -- > -- > # 'check_fugger' command definition > define command{ > command_name check_fugger > command_line $USER2$/fugger_check.pl $HOSTADDRESS$ $ARG1$ > '$ARG2$' > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name server > service_description Service1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 20 > notification_period 24x7 > notification_options w,u,c,r > > check_command check_fugger!1234!test param1 param2 > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name server > service_description Service2 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 20 > notification_period 24x7 > notification_options w,u,c,r > > check_command check_fugger!2345!test param1 > } > > -------------------------------------------------------------------------- -- > > My fugger_check.pl script should get something like: > > ARGV[0]=192.168.1.1 > ARGV[1]=1234 > ARGV[2]=test param1 param2 > > or > > ARGV[0]=192.168.1.1 > ARGV[1]=2345 > ARGV[2]=test param1 > > but the perl script got this: > > ARGV[0]=192.168.1.1 > ARGV[1]=1234 > ARGV[2]='test > ARGV[3]=param1 > ARGV[4]=param2' > > why ????????? > > > I hope you can help me ! > > Thank you !! > Thomas > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 8 17:45:56 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Oct 2002 10:45:56 -0500 Subject: line speed check Message-ID: This has nothing to do with Nagios. If what you're trying to ask is empirically finding out the speed between the Nagios host and the remote host, this is one of the oldest problems around (IMHO). For one thing, you need to define what 'speed' is. Is it bits/sec? Is it connections/sec? It also makes me wonder what you hope to gain from this info. If the connection between your Nagios host and the remote host is abysmally slow, that's not necessarily representative of how healthy the remote host is (for serving other clients, for example). FWIW, you can use netstat or SNMP for determining the throughput on the interface of the remote host. Maybe that will be somewhat informative. You might also want to do this for each of the routers between the Nagios host and the remote host. jc > -----Original Message----- > From: Giuliano Zorzi [mailto:g.zorzi at tecom.it] > Sent: Tuesday, October 08, 2002 7:58 AM > To: nagios-users > Subject: [Nagios-users] line speed check > > > is it possible to check for the connection speed between the nagios > server and a remote computer (like a web server) ? > > any hint will be appreciated > > thanks > > giuliano > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Tue Oct 8 17:48:50 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 08 Oct 2002 10:48:50 -0500 Subject: Check_ifstatus / SNMP.pm problem Message-ID: Executing /usr/bin/perldoc Net::SNMP as root (or as su to root) produces the error message about superuser (Superuser must not run /usr.bin/perldoc without security audit and taint checks.) Executing it as my account produces the man doc pages. The top snippet is "SNMP - The Perl5 'SNMP' Extension Module v3.1.0 for the UCD SNMPv3 Library. I checked my path again. I also ran a "find / -name perl" and found four locations with a perl file. However, only one of those /usr/bin is within the PATH variable. Also, if I do "type perl" I am told perl is /usr/bin/perl >>> Subhendu Ghosh 10/07/02 11:29PM >>> what does /usr/bin/perldoc Net::SNMP show? check your path - you may have another installation of perl 5.6.1 under /usr/local before /usr/bin. -sg On Mon, 7 Oct 2002, Nolan Martin wrote: > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > * Perl is located in the /usr/bin directory > * echo $PATH shows /usr/bin listed > * # perl -v and # /usr/bin/perl -v both find perl and show version > v5.6.1 > > Thanks again for your assistance. > > Nolan > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > Check the location for perl in your path versus the perl in the #! > statement. (or config.status if using embedded perl) > > -sg > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > I would say this was largely because the first time I ran a > > check_ifstatus, it complained about not having the SNMP.pm in its > @INC > > path.... Once I adjusted it so that it was in its path, that error > went > > away. I then received the session error message.... > > > > But, as I mentioned, based on one of your postings in the archives, > I > > separately attempted to install the Net::SNMP through the CPAN shell > and > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > installed on the machine. > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > Thanks for your response. > > > > Nolan > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > Ummm yes and no :) > > > > NET-SNMP package includes the snmp command line utilities used by > > check_snmp and the SNMP.pm module. > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > perl > > snmp manager library implementation. > > > > the names are confusing similar... the perl modules names are > actually > > > > different. > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > I am trying to get check_ifstatus going and am having some > > difficulties > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > receive > > the > > > following error message, when I attempt to run the check_ifstatus > > > command from the nagios libexec directory to test it: > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > Can't locate object method "session" via package "Net::SNMP" > > (perhaps > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > module > > > following the instructions that accompany both of those components. > > > I > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > again/verify my perl module installation by installing it using > the > > CPAN > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > Obviously, I missed some step or have failed to do some > > configuration. > > > Any assistance would be appreciated. > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > appears to be an existing 5.6.0 installation as well. I am using > > the > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > Net-SNMP > > > 5.0.5 (released 10/1/2002) > > > > > > Here are the steps I went through. > > > > > > INSTALLED NET-SNMP > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > * ./configure > > > * make > > > * umask 022 > > > * make install > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > ran: > > > perl Makefile.PL > > > * make > > > * make test > > > * make install > > > * Since the SNMP.pm was installed to > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > was > > that > > > NET-SNMP actually looks for it under a directory named Net, I > created > > a > > > directory named Net and copied SNMP.pm to that folder as well. > > > * Executing the check_ifstatus now finds the SNMP.pm in its > included > > > paths, but produces the session error message > > > * Tried to install again/verify the SNMP.pm installation by > > installing > > > it through the CPAN shell: > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > Net::SNMP is up to date. > > > > > > Thanks in advance for any assistance you can provide. > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 8 18:04:14 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Oct 2002 11:04:14 -0500 Subject: Nagios Mail-From - Address Message-ID: This is completely orthogonal to the charter of the list, but it needs to be said. Clearly Exim doesn't work great, else you'd have the sender address configured properly. This isn't a dig against Exim, so much as it is a dig at replacing one piece of unconfigured software with another piece of unconfigured software. You might want to take a closer look at the Exim docs, or find a mailing list to help you get it configured properly. While you're at it, take a look at RFC 821 and 822. jc Michael Jakscht wrote: > No, just switched to exim 3.36 (yesterday) - I thought I could > get it working with exim - the sendmail installation seemed > to be very messed on that machine... > Exim works great, now we're able to send mails out again without > having MTA problems... > > If you know a solution on exim on how to rewrite the linux.local > domain go ahead and tell me ;-) > I don't care *how* emails get out at all, as long as they get > out... ;-) > > Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 8 18:11:01 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 8 Oct 2002 12:11:01 -0400 Subject: File formats Message-ID: if it applies, use a template or two. If not, use a script to pump commands into the external command file. later, dean -----Original Message----- From: Andy Stein [mailto:andy at droidmcse.com] Sent: Monday, October 07, 2002 5:34 PM To: jcarro10 at sprintspectrum.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] File formats Simply from a standpoint of when the down time occurs really. I currently have 450 hosts and approaching 1400 services. If I had to make a special timeperiod for each situation, I'll go crazy. I know I saw the docs somewhere that described the file formats in detail. I basically want to mimic the exact command that the web interface does for the down time and i'll be set. Andy > I think this has been discussed recently. > > Why not just create a new timeperiod which excludes the downtime? > > jc > >> -----Original Message----- >> From: Andy Stein [mailto:andy at droidmcse.com] >> Sent: Monday, October 07, 2002 2:15 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] File formats >> >> >> I've been looking for a post where someone gave the url of a site for >> nagios (possibly netsaint) that had developer type docs. >> >> Specifically I'm looking for information on inserting a command to >> schedule down time on a daily basis for a few services. >> >> Any ideas? >> >> Thanks! >> Andy >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Tue Oct 8 18:15:52 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Tue, 8 Oct 2002 18:15:52 +0200 Subject: Startup errors Message-ID: And IIRC comments have to start in the first column (no whitespace before the '#'). -vol > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, October 08, 2002 4:48 PM > To: Seth Hollen; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Startup errors > > > I don't know if it's the formatting of the email or not, but the line > beginning with 'n other host definitions' looks to be the > problem. Looks > like you've got some carriage return problems with your > config file. Try > commenting out that line with a '#'. > > Marc > > > -----Original Message----- > > From: Seth Hollen [mailto:seth at opentechinc.net] > > Sent: Tuesday, October 08, 2002 8:07 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Startup errors > > > > I am new to nagios and have been following all directions I can find > > especially the article in Onlamp. > > > > If I do "/usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg" > > I get this: > > > > Reading configuration data... > > > > Error: Could not add object property in file > > '/usr/local/nagios/etc/hosts.cfg' on line 3. > > Here is my hosts.cfg file > > > > -----------begin hosts.cfg----------------------- > > # Generic host definition template > > define host{ > > # The name of this host template - referenced i > > name generic-host > > n other host definitions, used for template recursion/resolution > > # Host notifications are enabled > > notifications_enabled 1 > > # Host event handler is enabled > > event_handler_enabled 1 > > # Flap detection is enabled > > flap_detection_enabled 1 > > # Process performance data > > process_perf_data 1 > > # Retain status information across program restarts > > retain_status_information 1 # Retain non-status > information > > across program restarts > > retain_nonstatus_information 1 > > # DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, > > # JUST A TEMPLATE! > > register 0 > > } > > > > > > # Host Definition > > > > define host{ > > # Name of host template to use > > use generic-host > > > > host_name nagios.lan > > alias nagios > > address xxx.xxx.xxx.xxx > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > ----------------end hosts.cfg------------------- > > > > Could anyone point me in the right direction??? > > Thank you! > > > > Take Care, > > > > Seth Hollen > > seth at opentechinc.net > > 727-919-1598 > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Tue Oct 8 18:28:24 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 8 Oct 2002 18:28:24 +0200 Subject: Startup errors In-Reply-To: References: Message-ID: dont use dots in hostnames. greetings Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Seth Hollen Sent: Tuesday, October 08, 2002 3:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Startup errors I am new to nagios and have been following all directions I can find especially the article in Onlamp. If I do "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" I get this: Reading configuration data... Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. Here is my hosts.cfg file -----------begin hosts.cfg----------------------- # Generic host definition template define host{ # The name of this host template - referenced i name generic-host n other host definitions, used for template recursion/resolution # Host notifications are enabled notifications_enabled 1 # Host event handler is enabled event_handler_enabled 1 # Flap detection is enabled flap_detection_enabled 1 # Process performance data process_perf_data 1 # Retain status information across program restarts retain_status_information 1 # Retain non-status information across program restarts retain_nonstatus_information 1 # DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, # JUST A TEMPLATE! register 0 } # Host Definition define host{ # Name of host template to use use generic-host host_name nagios.lan alias nagios address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } ----------------end hosts.cfg------------------- Could anyone point me in the right direction??? Thank you! Take Care, Seth Hollen seth at opentechinc.net 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Tue Oct 8 18:18:34 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Tue, 8 Oct 2002 18:18:34 +0200 Subject: AW: check_command $ARGx$ with SPACE characters ? In-Reply-To: References: <20021008170920.54fd9c87.freddy.frouin@fluxus.net> Message-ID: <20021008181834.7e424b16.freddy.frouin@fluxus.net> strange... I think that nagios or netsaint has always extract command args between chars !, so if you do somthing like: command_def my_path_to_plugin $SOME_MACRO$ [...] "$ARG1$" '$ARG2$' and then: command_dec check_my_plugin!test!test param1 param2 you could be sure that nagios or netsaint is running: my_path_to_plugin $SOME_MACRO$ [...] "test" 'test param1 param2' I think you need help comming from some netsaint and nagios guru ! ;) I hope some of them will answer to you. 'will be interrested to see how this will be solved. Freddy. On Tue, 8 Oct 2002 17:42:34 +0200 "Thomas Zahari" wrote: > Hi Freddy, > > thank you for the very fast answer. > > I tryed it already with the ", but it also dosent work. > On the linux system we use the bash shell with SuSE 7.3. > I checked my script and it works fine with the parameter in the ' ! > Could it a problem with the nagios system. That calls the external process > like > > /check_fogger "1234" "'test" "param1" "param2'" > > ???? > > Regards > Thomas > > -----Urspr?ngliche Nachricht----- > Von: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Gesendet: Dienstag, 8. Oktober 2002 17:09 > An: Thomas Zahari > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_command $ARGx$ with SPACE characters ? > > > Hi, > > I'm not sure to understand really why it goes like you said, yet > did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe > it's just a stupid suggestion, yet i'm using " char there, and > I've no problem like this... > > Did you tryed to run you perl script like this to see what happend: > ./check_fogger 1234 'test param1 param2' > > Maybe it is just the shell which is used to start this command > ./check_fogger 1234 'test param1 param2' which do not recognize > char ' as a char to enclose arguments... What shell is using > the user starting nagios ? > > 'hope this help, Freddy. > > On Tue, 8 Oct 2002 16:53:06 +0200 > "Thomas Zahari" wrote: > > > > > Hello Nagios-Users, > > > > I try to use a check_command with a $ARGx$. But the argument can have > space > > characters in it. > > > > I tried so much but nothing works. > > > > My config: > > > > -------------------------------------------------------------------------- > -- > > -- > > # 'check_fugger' command definition > > define command{ > > command_name check_fugger > > command_line $USER2$/fugger_check.pl $HOSTADDRESS$ $ARG1$ > > '$ARG2$' > > } > > > > # Service definition > > define service{ > > use generic-service ; Name of > > service template to use > > > > host_name server > > service_description Service1 > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 10 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 20 > > notification_period 24x7 > > notification_options w,u,c,r > > > > check_command check_fugger!1234!test param1 > param2 > > } > > > > # Service definition > > define service{ > > use generic-service ; Name of > > service template to use > > > > host_name server > > service_description Service2 > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 10 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 20 > > notification_period 24x7 > > notification_options w,u,c,r > > > > check_command check_fugger!2345!test param1 > > } > > > > -------------------------------------------------------------------------- > -- > > > > My fugger_check.pl script should get something like: > > > > ARGV[0]=192.168.1.1 > > ARGV[1]=1234 > > ARGV[2]=test param1 param2 > > > > or > > > > ARGV[0]=192.168.1.1 > > ARGV[1]=2345 > > ARGV[2]=test param1 > > > > but the perl script got this: > > > > ARGV[0]=192.168.1.1 > > ARGV[1]=1234 > > ARGV[2]='test > > ARGV[3]=param1 > > ARGV[4]=param2' > > > > why ????????? > > > > > > I hope you can help me ! > > > > Thank you !! > > Thomas > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Tue Oct 8 18:48:10 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Tue, 8 Oct 2002 18:48:10 +0200 Subject: AW: check_command $ARGx$ with SPACE characters ? Message-ID: My experience with spaces in args is that it does not work if you compiled Nagios with embedded perl. Without embedded perl Nagios calls a shell and this shell calls the plugin. The shell groups everything between two ' or " to one argument. With embedded perl Nagios calls the script without a shell and Nagios does seperate the args between spaces. For the one script I have wrote that need spaces in arguments I escape spaces (with %20) and percent-signs (with %25) and decode the string in the perl script with: # dieser RE kommt aus uri_unescape() aus dem modul URI::Escape $argument =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; You call your plugin with: check_command check_fugger!1234!test%20param1%20param2 Hope this helps... -vol > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Tuesday, October 08, 2002 6:19 PM > To: Thomas Zahari > Cc: nagios-users at lists.sourceforge.net > Subject: Re: AW: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > strange... I think that nagios or netsaint has always extract command > args between chars !, so if you do somthing like: > > command_def my_path_to_plugin $SOME_MACRO$ [...] > "$ARG1$" '$ARG2$' > > and then: > > command_dec check_my_plugin!test!test param1 param2 > > you could be sure that nagios or netsaint is running: > > my_path_to_plugin $SOME_MACRO$ [...] "test" 'test param1 param2' > > I think you need help comming from some netsaint and nagios guru ! ;) > I hope some of them will answer to you. > > 'will be interrested to see how this will be solved. > > Freddy. > > On Tue, 8 Oct 2002 17:42:34 +0200 > "Thomas Zahari" wrote: > > > Hi Freddy, > > > > thank you for the very fast answer. > > > > I tryed it already with the ", but it also dosent work. > > On the linux system we use the bash shell with SuSE 7.3. > > I checked my script and it works fine with the parameter in the ' ! > > Could it a problem with the nagios system. That calls the > external process > > like > > > > /check_fogger "1234" "'test" "param1" "param2'" > > > > ???? > > > > Regards > > Thomas > > > > -----Urspr?ngliche Nachricht----- > > Von: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Gesendet: Dienstag, 8. Oktober 2002 17:09 > > An: Thomas Zahari > > Cc: nagios-users at lists.sourceforge.net > > Betreff: Re: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > > > > Hi, > > > > I'm not sure to understand really why it goes like you said, yet > > did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe > > it's just a stupid suggestion, yet i'm using " char there, and > > I've no problem like this... > > > > Did you tryed to run you perl script like this to see > what happend: > > ./check_fogger 1234 'test param1 param2' > > > > Maybe it is just the shell which is used to start this command > > ./check_fogger 1234 'test param1 param2' which do not recognize > > char ' as a char to enclose arguments... What shell is using > > the user starting nagios ? > > > > 'hope this help, Freddy. > > > > On Tue, 8 Oct 2002 16:53:06 +0200 > > "Thomas Zahari" wrote: > > > > > > > > Hello Nagios-Users, > > > > > > I try to use a check_command with a $ARGx$. But the > argument can have > > space > > > characters in it. > > > > > > I tried so much but nothing works. > > > > > > My config: > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > -- > > > # 'check_fugger' command definition > > > define command{ > > > command_name check_fugger > > > command_line $USER2$/fugger_check.pl > $HOSTADDRESS$ $ARG1$ > > > '$ARG2$' > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service1 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!1234!test param1 > > param2 > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service2 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!2345!test param1 > > > } > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > > > > My fugger_check.pl script should get something like: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]=test param1 param2 > > > > > > or > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=2345 > > > ARGV[2]=test param1 > > > > > > but the perl script got this: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]='test > > > ARGV[3]=param1 > > > ARGV[4]=param2' > > > > > > why ????????? > > > > > > > > > I hope you can help me ! > > > > > > Thank you !! > > > Thomas > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thza at whatevermobile.com Tue Oct 8 18:57:55 2002 From: thza at whatevermobile.com (Thomas Zahari) Date: Tue, 8 Oct 2002 18:57:55 +0200 Subject: AW: AW: check_command $ARGx$ with SPACE characters ? In-Reply-To: References: Message-ID: Hello Volker, thank you for the hint! I will recompile Nagios without embedded perl! Regards Thomas -----Urspr?ngliche Nachricht----- Von: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] Gesendet: Dienstag, 8. Oktober 2002 18:48 An: nagios-users at lists.sourceforge.net Cc: freddy.frouin at fluxus.net; thza at whatevermobile.com Betreff: RE: AW: [Nagios-users] check_command $ARGx$ with SPACE characters ? My experience with spaces in args is that it does not work if you compiled Nagios with embedded perl. Without embedded perl Nagios calls a shell and this shell calls the plugin. The shell groups everything between two ' or " to one argument. With embedded perl Nagios calls the script without a shell and Nagios does seperate the args between spaces. For the one script I have wrote that need spaces in arguments I escape spaces (with %20) and percent-signs (with %25) and decode the string in the perl script with: # dieser RE kommt aus uri_unescape() aus dem modul URI::Escape $argument =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; You call your plugin with: check_command check_fugger!1234!test%20param1%20param2 Hope this helps... -vol > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Tuesday, October 08, 2002 6:19 PM > To: Thomas Zahari > Cc: nagios-users at lists.sourceforge.net > Subject: Re: AW: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > strange... I think that nagios or netsaint has always extract command > args between chars !, so if you do somthing like: > > command_def my_path_to_plugin $SOME_MACRO$ [...] > "$ARG1$" '$ARG2$' > > and then: > > command_dec check_my_plugin!test!test param1 param2 > > you could be sure that nagios or netsaint is running: > > my_path_to_plugin $SOME_MACRO$ [...] "test" 'test param1 param2' > > I think you need help comming from some netsaint and nagios guru ! ;) > I hope some of them will answer to you. > > 'will be interrested to see how this will be solved. > > Freddy. > > On Tue, 8 Oct 2002 17:42:34 +0200 > "Thomas Zahari" wrote: > > > Hi Freddy, > > > > thank you for the very fast answer. > > > > I tryed it already with the ", but it also dosent work. > > On the linux system we use the bash shell with SuSE 7.3. > > I checked my script and it works fine with the parameter in the ' ! > > Could it a problem with the nagios system. That calls the > external process > > like > > > > /check_fogger "1234" "'test" "param1" "param2'" > > > > ???? > > > > Regards > > Thomas > > > > -----Urspr?ngliche Nachricht----- > > Von: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Gesendet: Dienstag, 8. Oktober 2002 17:09 > > An: Thomas Zahari > > Cc: nagios-users at lists.sourceforge.net > > Betreff: Re: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > > > > Hi, > > > > I'm not sure to understand really why it goes like you said, yet > > did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe > > it's just a stupid suggestion, yet i'm using " char there, and > > I've no problem like this... > > > > Did you tryed to run you perl script like this to see > what happend: > > ./check_fogger 1234 'test param1 param2' > > > > Maybe it is just the shell which is used to start this command > > ./check_fogger 1234 'test param1 param2' which do not recognize > > char ' as a char to enclose arguments... What shell is using > > the user starting nagios ? > > > > 'hope this help, Freddy. > > > > On Tue, 8 Oct 2002 16:53:06 +0200 > > "Thomas Zahari" wrote: > > > > > > > > Hello Nagios-Users, > > > > > > I try to use a check_command with a $ARGx$. But the > argument can have > > space > > > characters in it. > > > > > > I tried so much but nothing works. > > > > > > My config: > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > -- > > > # 'check_fugger' command definition > > > define command{ > > > command_name check_fugger > > > command_line $USER2$/fugger_check.pl > $HOSTADDRESS$ $ARG1$ > > > '$ARG2$' > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service1 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!1234!test param1 > > param2 > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service2 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!2345!test param1 > > > } > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > > > > My fugger_check.pl script should get something like: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]=test param1 param2 > > > > > > or > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=2345 > > > ARGV[2]=test param1 > > > > > > but the perl script got this: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]='test > > > ARGV[3]=param1 > > > ARGV[4]=param2' > > > > > > why ????????? > > > > > > > > > I hope you can help me ! > > > > > > Thank you !! > > > Thomas > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Tue Oct 8 19:06:38 2002 From: jragle at unm.edu (Jamin) Date: Tue, 8 Oct 2002 11:06:38 -0600 (MDT) Subject: plugin and a reported wrong state In-Reply-To: References: Message-ID: Thanks Subhendu. Here is what I got. Looks like I get a '0'. SNMP OK - up(1) up(1) up(1) up(1) [root at mybox libexec]# echo $? 0 On a down I get a '2'. SNMP CRITICAL - up(1) up(1) up(1) *down(2)* [root at mybox libexec]# echo $? 2 It looks like it is working correctly, any ideas now? -Jamin On Mon, 7 Oct 2002, Subhendu Ghosh wrote: > check the return code when running on command line "echo $?" > > most likely you have some MIB parsing issues in your snmp installation. > > -sg > > On Mon, 7 Oct 2002, Jamin wrote: > > > Has anyone had any problems with plugins reporting the wrong state in > > nagios? > > > > I'm using the check_snmp plugin that, when run by hand reports: > > "SNMP OK - up(1) up(1) up(1) up(1)" > > > > but when it is run by nagios I get: > > "SNMP WARNING - up(1) up(1) up(1) up(1)" > > > > Of course when a device actually goes down I get: (which is fine) > > "SNMP CRITICAL - up(1) up(1) up(1) *down(2)*" > > > > > > If you could give me a pointer on where I might be going wrong here, I > > would appreciate it. > > > > Thanks, > > -Jamin > > > > > > P.S. > > I am using Nagios ver. 1.0b5 on a standard redhat install. > > And here is my command: > > > > [root at mybox libexec]# ./check_snmp -H XXX.XXX.XXX.X -t 5 -C notpublic -o > > .1.3.6.1.2.1.2.2.1.8.1003,.1.3.6.1.2.1.2.2.1.8.4002,.1.3.6.1.2.1.2.2.1.8.4004,.1.3.6.1.2.1.2.2.1.8.4005 > > -D " " -s "up(1)" -s "up(1)" -s "up(1)" -s "up(1)" > > > > SNMP OK - up(1) up(1) up(1) up(1) > > > > > > ______________________________________________________________________ > > Tautology -- "A tautology is a thing which is tautological." > > -- Unknown > > ______________________________________________________________________ > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > __________________________________________________________________________ "The Church says that the Earth is flat, but know that it is round, for I have seen the shadow on the Moon, and I have more faith in a shadow than in the Church." -Ferdinand Magellan -------------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Tue Oct 8 19:36:24 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Tue, 08 Oct 2002 10:36:24 -0700 Subject: Nagios Mail-From - Address References: Message-ID: <3DA31798.5040208@sbcglobal.net> The problem is in the exim config. You need to take a look at the following pieces of exim.conf: From the config file: # Specify the domain you want to be added to all unqualified addresses # here. Unqualified addresses are accepted only from local callers by # default. See the receiver_unqualified_{hosts,nets} options if you want # to permit unqualified addresses from remote sources. If this option is # not set, the primary_hostname value is used for qualification. qualify_domain = # replace this with a valid domain View /var/log/exim/mainlog to reveal what's happening. Also check out the rewrite configuration towards the bottom of exim.conf. Mine looks like this: # This rewriting rule is particularly useful for dialup users who # don't have their own domain, but could be useful for anyone. # It looks up the real address of all local users in a file *@sbcglobal.net ${lookup{$1}lsearch{/etc/email-addresses}\ {$value}fail} frFs end There are some other minor config changes you can make to tailor your SMTP settings for nagios. I have exim rewrite the FROM address to be the location of the monitor site. It's not a valid/real email address, but it doesn't have to be-- I just need to know where the problem is occuring quickly. Exim is great mail server if you know how to use it properly. Hope this helps, Sean Carroll, Jim P [Contractor] wrote: >This is completely orthogonal to the charter of the list, but it needs to be >said. > >Clearly Exim doesn't work great, else you'd have the sender address >configured properly. > >This isn't a dig against Exim, so much as it is a dig at replacing one piece >of unconfigured software with another piece of unconfigured software. > >You might want to take a closer look at the Exim docs, or find a mailing >list to help you get it configured properly. While you're at it, take a >look at RFC 821 and 822. > >jc > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Tue Oct 8 21:09:15 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 8 Oct 2002 15:09:15 -0400 Subject: Syntax for NSCA utility on Application Server Message-ID: <5593DA408212D511B0910002A513501F01D2876A@phsexch20.mgh.harvard.edu> Hi there, I am going to be running the NSCA utility to monitor via passive checks the diskspace usage on an HP-UX 10.20 machine. The client files, send_nsca and send_nsca.cfg, are located in the /usr/local/nagios directory on the client while the nsca and nsca.cfg files are in their respective directories on the application server. My question is what is the correct syntax to use for the configuration files and the commands? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rgraham at mem-ins.com Tue Oct 8 22:49:36 2002 From: rgraham at mem-ins.com (Graham, Robert) Date: Tue, 8 Oct 2002 15:49:36 -0500 Subject: custom CGI code? Message-ID: A while back ago there was a post about integrating Nagios and RRDTool. Chet Luther, made a post on 7-11-2002 stating that he posted a package on such a task. Does anyone know how I can get this package or can provide any info... Thanks, Robert Graham PS. Chet, I hope your reading this... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.knox at sbcglobal.net Tue Oct 8 23:37:31 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Tue, 08 Oct 2002 14:37:31 -0700 Subject: check_tcp and expect string? References: Message-ID: <3DA3501B.6050805@sbcglobal.net> Hello all, I'm searched the archives and didn't see any of mention of this, so I'm posting to the list. I'm using the check_tcp plugin to monitor some PC Anywhere hosts. I'm trying to use the "-e" option to expect a string from the host, like so: ./check_tcp -p 5631 -H pcanywhere-host.com -e "Please" -W 3 However, everytime I receive a "Invalid response from host". The -e option works successfully with other services, namely OpenSSH and Apache. If I check without using the -e option, the test passes, however we need to monitor for the above string to make sure the server is operating correctly instead of simply listening on a port. Any ideas? Sean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atre at iit.edu Tue Oct 8 23:35:10 2002 From: atre at iit.edu (Anoop Atre) Date: Tue, 8 Oct 2002 16:35:10 -0500 Subject: Nagios compile error with MySQL References: Message-ID: <0a7301c26f12$942e9350$7e962fd8@parama> Below is the message I get when I try to compile with MySQL support. I even tried to compile with --with-mysql-lib=/usr/lib/msql --with-mysql-inc=/usr/include/mysql but got the same message. Nagios seems pretty trained monkey so I know it's got to be something on the system or could be the su -l issue that had come up in the faqs on someother topic (?) I'm compiling with all default settings or as suggested in the documentation. I had done a make clean prior to each attempt. ~ ======================================================== Init script directory: /etc/rc.d/init.d We'll use MySQL database routines (in xdata/xsddb.*) for status data I/O... We'll use MySQL database routines (in xdata/xcddb.*) for comment data I/O... We'll use MySQL database routines (in xdata/xeddb.*) for extended data I/O... We'll use MySQL database routines (in xdata/xrddb.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use MySQL database routines (in xdata/xdddb.*) for scheduled downtime data I/O... checking for main in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Wed Oct 9 00:08:27 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Tue, 08 Oct 2002 22:08:27 +0000 Subject: Nagios Daemon not starting Message-ID: Hi, I'm trying to run nagios on a Mandrake 8.2/9.0 box. I have nagios all setup and ready to go as far as the web interface. But when the computer starts and begins to start the daemons, nagios, either starts and then sotp immidiately or doens't start at all. I'm not sure what's going on and i can't find a log for it. Andrew Meyer _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Wed Oct 9 00:31:28 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 09 Oct 2002 06:31:28 +0800 Subject: Multiple nagios monitors in one machine Message-ID: <1034116288.1141.11.camel@expedient.skycablenet.com> I'm trying to do this on just one machine, e.g., /opt/nagios/network1 /opt/nagios/network2 /opt/nagios/network3 or /opt/network1/nagios/ /opt/network2/nagios /opt/network3/nagios preferably the first one. I've successfully installed and ran two monitors, with the first in the directory /opt/nagios and another in /opt/net2/nagios, with the statusmaps and all but I'm just not successful with doing a third. The configure error is that it's not locating those gd,png, and jpg libraries. Which is strange, since it worked for the first two. Does anybody know what may be wrong? TIA, Louie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zakki at indosatcom.net Wed Oct 9 03:10:01 2002 From: zakki at indosatcom.net (Zakki A) Date: Wed, 9 Oct 2002 08:10:01 +0700 Subject: image scale and check timeout Message-ID: <008801c26f30$9b40e530$0b65a8c0@INDOSATCOM.NET> hi all, here is my question: 1. how to scale the image size (it work when on hosts list) when we create the status map ? 2. i got error when testing smtp, it said "Socket timeout after 10 seconds" 3. could nagios wait about 5 minutes before send any warning ? zakki ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From michael.boman at securecirt.com Wed Oct 9 04:36:09 2002 From: michael.boman at securecirt.com (Michael Boman) Date: Wed, 9 Oct 2002 10:36:09 +0800 Subject: nmap2nagios issues Message-ID: <200210091036.15215.michael.boman@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've nMap'ed the hosts that is supposed to be monitored just like the perldoc said, but when I try to: ./nmap2nagios.pl -V -r 127.0.0.1.xml -o myhost.cfg I get Not an ARRAY reference at ./nmap2nagios.pl line 98 Is this a known problem? Has anyone else got it? Is there a fix/patch for it? Tried google but no luck there.. Best regards Michael Boman PS (ip address changed to protect the innocent and guilty) - -- Michael Boman Security Architect, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9o5Ydds5fQJiraJwRAi7mAJ443nPMQaimy7hGlYNjGAke9O0W+ACffYH9 IlpESjboiCzUyljJurZTLHA= =CnV1 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Wed Oct 9 05:50:52 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 08 Oct 2002 22:50:52 -0500 Subject: How do you say "Nagios" In-Reply-To: <15694EEC92EA694B88AF7CF6EE8ACBE666D5DC@gtc.edu> References: <15694EEC92EA694B88AF7CF6EE8ACBE666D5DC@gtc.edu> Message-ID: <3DA3614C.32049.13333EF@localhost> My pronounciation can be found here... http://www.nagios.org/faqs/viewfaq.php?faq_id=3 You can say it however you please. On 8 Oct 2002 at 7:18, Kaufman, Michael wrote: > I know this is not important but this has been bothering me. > > Does anyone know how to pronounce 'Nagios'. We have been having a > disagreement here. A few have said with a long a, some with short a. > > we all agreed at this point just to call it "NAG" until we know..... > > > Thanks for your time. > mike > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Wed Oct 9 05:52:01 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 08 Oct 2002 22:52:01 -0500 Subject: RRD tool integration In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE2780329@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE2780329@storevis.datavis.se> Message-ID: <3DA36191.26564.134448E@localhost> This might be a good topic for a FAQ or at least a FAQ linking to a web page somewhere. If can write something up, I'll find a place to post it. On 8 Oct 2002 at 9:06, Fredrik W?nglund wrote: > OK, I will post it and a small tutorial as soon as I return to my office, maybe on thursday. So please be patient... > > > /FredrikW > > > > -----Original Message----- > From: dan at julieanddan.com [mailto:dan at julieanddan.com] > Sent: Tue 08-Oct-02 01:32 > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] Re: RRD tool integration > > Fredrik, > > Would you mind sharing the wrapper script you have written? I am also > interested in using the RRD tool to store performance data. > > Daniel Koffler > dan at remics.net > Tel: 514.497.1411 > Fax: 206.600.4642 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anoopa at hotmail.com Wed Oct 9 06:26:32 2002 From: anoopa at hotmail.com (anoop atre) Date: Tue, 8 Oct 2002 22:26:32 -0600 Subject: nagiosplugin bad interpreter issue Message-ID: zakki yes that was a typo, I haven't tried the rpm yet. > > --with-mysql-lib=/usr/lib/msql --with-mysql-inc=/usr/include/mysql Jon thanks for pointing me to the page, I haven't tried the recompiled system properly; right now I still can't use my own images,will work on that later; thanks for your info which wasn't documented in the regular installation instructions : ) Could some one point me to where I can get the check_snmp plugin I swear I looked everywhere!!! Maybe I just have overlooked it in the dev-cvs (?) One of the other issues which is not getting resolved even after the usual google | manual | faq processes is that I keep getting 'bad interpreter' errors compiling on some of the plugins or even running the file, perl location etc is as declared in the files, any suggestions on this will be appreciated. On another note I don't know how I could post my last email to the list from my work email since I'd signed up through my hot(spam)mail account !?! ~ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Wed Oct 9 08:29:44 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 09 Oct 2002 08:29:44 +0200 Subject: Citrix PlugIn (wish?) References: <3B9B6F9AD30D3040AD5541A1D005D98710DDA7@nc-mail2.in.nordcom.net> Message-ID: <3DA3CCD8.8CE50050@gcc.dhl.com> Dear, In the previous beta version of this Citrix plugin (1.6), there was indeed a problem with applications that did't start with a capital. If there were no capitals whatsoever in the application name, the application was not found. If there were capitals in the application name, it'd just chop of everything before the capital (as Jens has experienced). Mr Hopcroft has awoken the Perl beast again, and got rid of this annoying bug. Please find a new version 1.7 attached. Kind regards, Tom Jens.Bergmann at nordCom.net wrote: > > for me it does - but one thing is strange. my desktop is named "nC Desktop" if i try to query this desktop with the plugin i get an error. if i query "C Desktop" it works :) > > everything else is just fine... > > jens > > >-----Original Message----- > >From: Mark Guzzo [mailto:marguz at ameritech.net] > >Sent: Monday, October 07, 2002 7:33 PM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Citrix PlugIn (wish?) > > > > > >Thanks again for all the help! > > > >I can check to Published Apps just fine. But the one that is > >THE one I really would like to keep an eye on is the published > >desktop. It's named 'Citrix Desktop' and that is what I test > >for. Does this plugin work with Published Desktops? > > > >^^^ got Linux ^^^ > > > > > >Mark Guzzo > >Citrix Administrator > > > >"Don't Fear The Penguin." > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- #!/usr/bin/perl -w # $Id: check_cit,v 1.7 2002-10-09 07:41:23+10 anwsmh Exp anwsmh $ # $Log: check_cit,v $ # Revision 1.7 2002-10-09 07:41:23+10 anwsmh # Tom De Blende: correction to allow application names to start # with lower or upper case letters. # # Revision 1.7 2002-10-09 07:32:34+10 anwsmh # Tom De Blende: application names don't have to start with capital letters. # # Revision 1.6 2002-10-03 16:16:44+10 anwsmh # Contributions from Mr Bas Rijniersce # 1 Decode unicode in application list if it looks as if the app list contains unicode # 2 Only stop receiving packets from the browser after the socket times out # (formerly would only read 2 packets and this was useless for more than 20 apps) # if -L option. # 3 Change meaning of -T and default value. Now this is the UDP packet timeout # value and is set to be 1 second. # # Revision 1.5 2002-10-01 19:26:07+10 anwsmh # Provide -L option to deal with long lists of published apps (use -T probably indicated also). # # Revision 1.4 2002-10-01 16:53:56+10 anwsmh # Roll version to accomodate # . -P no longer mandatory (either -P or -W will do) # . remove some redundant pack and unpacks after getting the # app list from the browser. # # Ed Rolison 15/06/02 # ed at nightstalker.net # If it doesn't work, please let me know, I've only had access to my # environment so I'm not 100% sure. # # If you want to mess around with this script, then please feel free # to do so. # However, if you add anything 'funky' then I'd really appreciate # hearing about it. # # Oh, and if you do ever make huge amounts of money out of it, cut me # in :) use strict ; use IO::Socket; use IO::Select; use FileHandle; use Getopt::Long ; use vars qw($opt_H $opt_B $opt_W $opt_T $debug @citrix_servers $crit_pub_apps $warn_pub_apps $long_list); use utils qw(%ERRORS &print_revision &support &usage); my $PROGNAME = 'check_citrix' ; sub print_help (); sub print_usage (); sub help (); sub version (); delete @ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; # You might have to change this... use constant PACKET_TIMEOUT => 1; # Number of seconds to wait for further UDP packets use constant TEST_COUNT => 2; # Number of datagrams sent without reply use constant BUFFER_SIZE => 1500; # buffer size used for 'recv' calls. use constant LONG_LIST => 0 ; # this is for if you have many published applications. # if you set it, it won't do any harm, but may slow the test # down a little. (Since it does a 'recv' twice instead of # once and therefore may have to wait for a timeout). use constant ICA_PORT => 1604; # what port ICA runs on. Unlikely to change. # End user config. Getopt::Long::Configure('bundling', 'no_ignore_case'); GetOptions ("V|version" => \&version, "h|help" => \&help, "d|debug" => \$debug, "B|broadcast_addr:s" => \$opt_B, "C|citrix_servers:s" => \@citrix_servers, "L|long_list" => \$long_list, "P|crit_pub_apps:s" => \$crit_pub_apps, "T|Packet_timeout:i" => \$opt_T, "W|warn_pub_apps:s" => \$warn_pub_apps, ) ; # configuration section my $broadcast_addr = $1 if $opt_B and $opt_B =~ m#(\d+\.\d+\.\d+\.\d+)# ; usage("Invalid broadcast address: $opt_B\n") if $opt_B and not defined($broadcast_addr) ; usage("You must provide either the names of citrix servers or the broadcast address of the subnet containing them\n") unless (@citrix_servers or $broadcast_addr) ; my @target = defined $broadcast_addr ? ($broadcast_addr) : @citrix_servers ; usage("You must provide the names of the published applications that the Citrix browser should be advertising\n") unless $crit_pub_apps or $warn_pub_apps ; my $Timeout = $opt_T if defined $opt_T ; $Timeout = PACKET_TIMEOUT unless defined $Timeout ; $long_list = LONG_LIST unless defined $long_list ; my @crit_pub_apps = $crit_pub_apps ? split(/,/, $crit_pub_apps) : () ; my @warn_pub_apps = $warn_pub_apps ? split(/,/, $warn_pub_apps) : () ; # definitions of query strings. Change at your own risk :) # this info was gathered with tcpdump whilst trying to use an ICA client, # so I'm not 100% sure of what each value is. my @bcast_helo = &tethereal2list(<<'End_of_Tethereal_trace', '1e') ; 0020 ff ff 04 d6 06 44 00 26 4a 76 1e 00 01 30 02 fd .....D.&Jv...0.. 0030 a8 e3 00 02 f5 95 9f f5 30 07 00 00 00 00 00 00 ........0....... 0040 00 00 00 00 00 00 01 00 End_of_Tethereal_trace my @bcast_query_app = &tethereal2list(<<'End_of_Tethereal_trace', '24') ; 0020 64 17 04 50 06 44 00 2c 85 6a 24 00 01 32 02 fd d..P.D.,.j$..2.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 21 00 02 00 00 00 00 00 ......!...... End_of_Tethereal_trace my @direct_helo = &tethereal2list(<<'End_of_Tethereal_trace', '20') ; 0020 64 17 05 0f 06 44 00 28 ab b5 20 00 01 30 02 fd d....D.(.. ..0.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 00 00 00 00 End_of_Tethereal_trace my @direct_query_app = &tethereal2list(<<'End_of_Tethereal_trace', '2c') ; 0020 64 17 05 10 06 44 00 34 7a 9a 2c 00 02 32 02 fd d....D.4z.,..2.. 0030 a8 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040 00 00 00 00 00 00 21 00 02 00 01 00 00 00 00 00 ......!......... 0050 00 00 00 00 00 00 End_of_Tethereal_trace my $Udp = IO::Socket::INET->new( Proto => 'udp' ) || die "Socket failure: $!"; # select is here to allow us to set timeouts on the connections. Otherwise they # just 'stop' until a server appears. my $select = IO::Select->new($Udp) || die "Select failure: $!"; # helo needs to be broadcast, but query does not. $Udp->sockopt(SO_BROADCAST, 1 ); $Udp->autoflush(1); my ($remote_host, $buff, $buff2, $raddr, $rport, $rhost, @remote_response); my (@query_message, $send_addr, $this_test) ; $buff = $buff2 = ''; $this_test = 0; # If there is no response to the first helo packet it will be resent # up to TEST_COUNT (see at the top). while ( ++$this_test <= TEST_COUNT && !$buff ) { print "Sending helo datagram. datagram number: ", $this_test, "\n" if $debug ; # if we have multiple targets, we probe each of them until we get a # response... foreach my $destination (@target) { @query_message = ( $broadcast_addr ? @bcast_helo : @direct_helo) ; print "Querying $destination for master browser\n" if $debug ; $send_addr = sockaddr_in(ICA_PORT, inet_aton($destination) ); &dump(pack('C*', @query_message)) if $debug ; $Udp->send( pack('C*', @query_message), 0, $send_addr ); if ( $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff, BUFFER_SIZE, 0 ); } last if $buff ; sleep 1 ; } # foreach destination } # while loop # ok we've looped several times, looking for a response. If we don't have one # yet, we simply mark the whole lot as being unavailable. unless ( $buff ) { print "Failed. No response to helo datagram (master browser query) from ", $broadcast_addr ? $broadcast_addr : "@citrix_servers", ".\n" ; exit $ERRORS{CRITICAL} ; } ($rport, $raddr) = sockaddr_in( $remote_host ); $rhost = gethostbyaddr( $raddr, AF_INET ); my @tmpbuf = unpack('C*', $buff ); if ( $debug ) { print "$rhost:$rport responded with: ",length($buff), " bytes\n"; &dump($buff) ; } #if debug # now we have a response, then we need to figure out the master browser, and # query it for published applications... my $master_browser = join '.', @tmpbuf[32..35] ; # ok should probably error check this, because it's remotely possible # that a server response might be completely wrong... print "Master browser = $master_browser\n" if $debug ; $send_addr = sockaddr_in(ICA_PORT, inet_aton($master_browser)); if ( $broadcast_addr ) { print "using broadcast query\n" if $debug ; @query_message = @bcast_query_app; } else { print "using directed query\n" if $debug ; @query_message = @direct_query_app; } # now we send the appropriate query string, to the master browser we've found. $buff = ''; $this_test = 0 ; print "Querying master browser for published application list\n" if $debug ; while ( ++$this_test <= TEST_COUNT && !$buff ) { print "Sending application query datagram. datagram number: ", $this_test, "\n" if $debug ; &dump(pack('C*', @query_message)) if $debug ; $Udp->send( pack ('C*', @query_message), 0, $send_addr ); if ( $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff, BUFFER_SIZE, 0 ); # $buff = substr($buff, 32) ; # Hope that ICA preamble is first 32 bytes } # long application lists are delivered in multiple packets my $buff2 = '' ; while ( $long_list && $select->can_read($Timeout) ) { $remote_host = $Udp->recv($buff2, BUFFER_SIZE, 0 ); $buff .= $buff2 if $buff2 ; # $buff .= substr($buff2, 32) if $buff2 ; # Hope that ICA preamble is first 32 bytes } last if $buff ; sleep 1 ; } # while test_count unless ( $buff ) { print "Failed. No response to application query datagram from ", $master_browser, ".\n" ; exit $ERRORS{CRITICAL} ; } # we got a response from a couple of retries of the app query ($rport, $raddr) = sockaddr_in ( $remote_host ); $rhost = gethostbyaddr ( $raddr, AF_INET ); if ( $debug ) { print "$rhost:$rport responded to app query with: ",length($buff), " bytes\n"; &dump($buff) ; } #debug my $app_list = $buff ; # delete nulls in unicode # but only if there is unicode (usually from # broadcast query) $app_list =~ s/(?:(\w| |-)\x00)/$1/g if $app_list =~ /(?:(?:(?:\w| |-)\x00){3,})/ ; # FIXME an application name is # 3 or more unicoded characters # FIXME locale # extract null terminated strings my (@clean_app_list, $clean_app_list) ; $clean_app_list = join(',', @clean_app_list = $app_list =~ m#([A-Za-z](?:\w| |-)+?(?=\x00))#g ) ; print qq(Received list of applications: "$clean_app_list".\n) if $debug ; if ( scalar @crit_pub_apps and my @missing = &simple_diff(\@clean_app_list, \@crit_pub_apps) ) { print qq(Failed. "@missing" not found in list of published applications), qq( "$clean_app_list" from master browser "$master_browser".\n) ; exit $ERRORS{CRITICAL} ; } if ( my @missing = &simple_diff(\@clean_app_list, \@warn_pub_apps) ) { print qq(Warning. "@missing" not found in list of published applications), qq( "$clean_app_list" from master browser "$master_browser".\n) ; exit $ERRORS{WARNING} ; } my @x = (@crit_pub_apps, @warn_pub_apps) ; my $blah = ( scalar(@x) == 1 ? 'the published application "' . join(',', @x) . '" is available' : 'the published applications "' . join(',', @x) . '" are available' ) ; print qq(Ok. Citrix master browser "$master_browser" reported that $blah.\n) ; exit $ERRORS{OK} ; # sleep $Timeout; # because otherwise we can get responses from # the WRONG servers. DOH close $Udp; sub print_usage () { print "Usage: $PROGNAME (-B | -C ..) -W -P \n"; } sub print_help () { print_revision($PROGNAME,'$Revision: 1.7 $ '); print "Copyright (c) 2002 Ed Rolison/Tom De Blende Perl Check Citrix plugin for NetSaint. Returns OK if the Citrix master browser returns a 'published application' list that contain names specified by the -W or -P options The plugin works by If the -B option is specified, sending a broadcast helo to find the address of the Citrix master browser in the specified subnet. return critical if there is no reply; Else if the -C option is specified send a direct helo to the specified server until there is a response (containing the address of the Citrix master browser) Query the master browser (using a 'broadcast published applications query ' if -B) and compare the published applications returned to those specified by -W and -P options return Critical if the published applications specified by -P is not a subset of the query responses; return Warning if the published applications specified by -W is not a subset of the query responses; return OK "; print_usage(); print ' -B, --broadcast_address=STRING The broadcast address that should contain Citrix master browser. This option takes precedence over -C. -C, --citrix_server:STRING Optional __name(s)__ of Citrix servers that could be the master browser (used when broadcast not possible). -L, --long_list Set this if you have heaps of published applications (ie more than will fit in _one_ UDP packet) -P, --crit_published_app=STRING Optional comma separated list of published application that must be in the response from the master browser. Check returns critical otherwise. -T, --packet-timeout:INTEGER Time to wait for UDP packets (default 1 sec). -W, --warn_published_app=STRING Optional comma separated list of published application that should be in the response from the master browser. Check returns warning otherwise. -d, --debug Debugging output. -h, --help This stuff. '; support(); } sub version () { print_revision($PROGNAME,'$Revision: 1.7 $ '); exit $ERRORS{'OK'}; } sub help () { print_help(); exit $ERRORS{'OK'}; } sub dump { my ($x) = shift @_ ; my (@x, @y, $y, $i, $rowcount) ; my ($nr, $j, $number_in_row, $number_of_bytes) ; my $dump ; $number_in_row = 16 ; $number_of_bytes = length $x ; $nr = 0 ; # styled on tethereal. foreach $j (1 .. int( $number_of_bytes / $number_in_row) ) { $y = substr($x, ($j - 1)*$number_in_row, $number_in_row) ; @y = unpack("C*", $y) ; $y =~ tr /\x00-\x19/./ ; $rowcount = sprintf("%4.4x", ($j - 1) * 0x10 ) ; $dump .= sprintf "%s %s %s\n", $rowcount, join(" ", map { sprintf "%2.2x", $_} @y), $y ; $nr++ ; } if ( $number_of_bytes % $number_in_row > 0 ) { my $spaces_to_text = $number_in_row * 3 - 1 + 3 ; $rowcount = sprintf("%4.4x", $nr * 0x10 ) ; $y = substr($x, $nr * $number_in_row ) ; @y = unpack("C*", $y) ; my $bytes = join(" ", map { sprintf "%2.2x", $_} @y) ; my $spaces = ' ' x ($spaces_to_text - length($bytes)) ; $dump .= sprintf "%s %s%s%s\n", $rowcount, $bytes, $spaces, $y ; } print $dump, "\n" ; } sub tethereal2list { my ($tethereal_dump, $start_byte) = @_ ; # return an array containing qw(0xef 0xab 0x00 ...) from a tethereal trace. # skip all stuff until the first byte given by $start_byte. return undef unless $tethereal_dump =~ /\d\d\d\d \S\S(?: \S\S){1,15}/ ; my $hex_start_byte = hex($start_byte) ; my @x = $tethereal_dump =~ m#(.+)#g ; my @y = map unpack("x6 a47", $_), @x ; my @z = map { my $y = $_; $y =~ s/(\S\S)/hex($1)/eg; my @a = split(' ', $y); @a } @y ; shift @z, while $z[0] ne $hex_start_byte ; @z ; } sub simple_diff { my ( $a_list, $b_list) = @_ ; # simple set difference 'Recipe 4.7 Perl Cookbook', Christiansen and Torkington my (%seen, @missing) ; @seen{@$a_list} = () ; foreach my $item (@$b_list) { push @missing, $item unless exists $seen{$item} ; } @missing ; } From thza at whatevermobile.com Wed Oct 9 09:03:23 2002 From: thza at whatevermobile.com (Thomas Zahari) Date: Wed, 9 Oct 2002 09:03:23 +0200 Subject: AW: AW: check_command $ARGx$ with SPACE characters ? In-Reply-To: References: Message-ID: Good Morining Volker, now it works with the recompiled version! Thank you ! I think this should be in the FAQ ? Regards Thomas -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Thomas Zahari Gesendet: Dienstag, 8. Oktober 2002 18:58 An: Volker.Aust at premiere.de; nagios-users at lists.sourceforge.net Cc: freddy.frouin at fluxus.net Betreff: AW: AW: [Nagios-users] check_command $ARGx$ with SPACE characters ? Hello Volker, thank you for the hint! I will recompile Nagios without embedded perl! Regards Thomas -----Urspr?ngliche Nachricht----- Von: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] Gesendet: Dienstag, 8. Oktober 2002 18:48 An: nagios-users at lists.sourceforge.net Cc: freddy.frouin at fluxus.net; thza at whatevermobile.com Betreff: RE: AW: [Nagios-users] check_command $ARGx$ with SPACE characters ? My experience with spaces in args is that it does not work if you compiled Nagios with embedded perl. Without embedded perl Nagios calls a shell and this shell calls the plugin. The shell groups everything between two ' or " to one argument. With embedded perl Nagios calls the script without a shell and Nagios does seperate the args between spaces. For the one script I have wrote that need spaces in arguments I escape spaces (with %20) and percent-signs (with %25) and decode the string in the perl script with: # dieser RE kommt aus uri_unescape() aus dem modul URI::Escape $argument =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; You call your plugin with: check_command check_fugger!1234!test%20param1%20param2 Hope this helps... -vol > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Tuesday, October 08, 2002 6:19 PM > To: Thomas Zahari > Cc: nagios-users at lists.sourceforge.net > Subject: Re: AW: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > strange... I think that nagios or netsaint has always extract command > args between chars !, so if you do somthing like: > > command_def my_path_to_plugin $SOME_MACRO$ [...] > "$ARG1$" '$ARG2$' > > and then: > > command_dec check_my_plugin!test!test param1 param2 > > you could be sure that nagios or netsaint is running: > > my_path_to_plugin $SOME_MACRO$ [...] "test" 'test param1 param2' > > I think you need help comming from some netsaint and nagios guru ! ;) > I hope some of them will answer to you. > > 'will be interrested to see how this will be solved. > > Freddy. > > On Tue, 8 Oct 2002 17:42:34 +0200 > "Thomas Zahari" wrote: > > > Hi Freddy, > > > > thank you for the very fast answer. > > > > I tryed it already with the ", but it also dosent work. > > On the linux system we use the bash shell with SuSE 7.3. > > I checked my script and it works fine with the parameter in the ' ! > > Could it a problem with the nagios system. That calls the > external process > > like > > > > /check_fogger "1234" "'test" "param1" "param2'" > > > > ???? > > > > Regards > > Thomas > > > > -----Urspr?ngliche Nachricht----- > > Von: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Gesendet: Dienstag, 8. Oktober 2002 17:09 > > An: Thomas Zahari > > Cc: nagios-users at lists.sourceforge.net > > Betreff: Re: [Nagios-users] check_command $ARGx$ with SPACE > characters ? > > > > > > Hi, > > > > I'm not sure to understand really why it goes like you said, yet > > did you simply try to use "$ARG2$" instead of '$ARG2$'. Maybe > > it's just a stupid suggestion, yet i'm using " char there, and > > I've no problem like this... > > > > Did you tryed to run you perl script like this to see > what happend: > > ./check_fogger 1234 'test param1 param2' > > > > Maybe it is just the shell which is used to start this command > > ./check_fogger 1234 'test param1 param2' which do not recognize > > char ' as a char to enclose arguments... What shell is using > > the user starting nagios ? > > > > 'hope this help, Freddy. > > > > On Tue, 8 Oct 2002 16:53:06 +0200 > > "Thomas Zahari" wrote: > > > > > > > > Hello Nagios-Users, > > > > > > I try to use a check_command with a $ARGx$. But the > argument can have > > space > > > characters in it. > > > > > > I tried so much but nothing works. > > > > > > My config: > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > -- > > > # 'check_fugger' command definition > > > define command{ > > > command_name check_fugger > > > command_line $USER2$/fugger_check.pl > $HOSTADDRESS$ $ARG1$ > > > '$ARG2$' > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service1 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!1234!test param1 > > param2 > > > } > > > > > > # Service definition > > > define service{ > > > use generic-service > ; Name of > > > service template to use > > > > > > host_name server > > > service_description Service2 > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 10 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > > > > check_command > check_fugger!2345!test param1 > > > } > > > > > > > -------------------------------------------------------------- > ------------ > > -- > > > > > > My fugger_check.pl script should get something like: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]=test param1 param2 > > > > > > or > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=2345 > > > ARGV[2]=test param1 > > > > > > but the perl script got this: > > > > > > ARGV[0]=192.168.1.1 > > > ARGV[1]=1234 > > > ARGV[2]='test > > > ARGV[3]=param1 > > > ARGV[4]=param2' > > > > > > why ????????? > > > > > > > > > I hope you can help me ! > > > > > > Thank you !! > > > Thomas > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Oct 9 09:10:56 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 9 Oct 2002 09:10:56 +0200 Subject: Nagios Daemon not starting In-Reply-To: References: Message-ID: <20021009091056.2bacedd4.freddy.frouin@fluxus.net> nothing interresting in the file pointed by the following var in nagios.cfg: # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/nagios/var/nagios.log ?? if not, I advice you to reconfigure and recompile nagios with one of the following args: --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries Freddy. On Tue, 08 Oct 2002 22:08:27 +0000 "Andrew Meyer" wrote: > Hi, > I'm trying to run nagios on a Mandrake 8.2/9.0 box. I have nagios all setup > and ready to go as far as the web interface. But when the computer starts > and begins to start the daemons, nagios, either starts and then sotp > immidiately or doens't start at all. I'm not sure what's going on and i > can't find a log for it. > > Andrew Meyer > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Oct 9 09:16:46 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 9 Oct 2002 09:16:46 +0200 Subject: Multiple nagios monitors in one machine In-Reply-To: <1034116288.1141.11.camel@expedient.skycablenet.com> References: <1034116288.1141.11.camel@expedient.skycablenet.com> Message-ID: <20021009091646.7903b3e8.freddy.frouin@fluxus.net> maybe you've done some bad operation by the past in this directory... did you tryed to clean the config.cache file before reconfiguring ? did you tryed to delete the source tree and to get it again from the tgz archive and to try to recompile it ? are you using multiple users for each version of nagios you plan to deploy ? if yes, check env var for each users... 'hope this help, Freddy. On 09 Oct 2002 06:31:28 +0800 Louie Cagasan wrote: > I'm trying to do this on just one machine, e.g., > > /opt/nagios/network1 > /opt/nagios/network2 > /opt/nagios/network3 > > or > > /opt/network1/nagios/ > /opt/network2/nagios > /opt/network3/nagios > > preferably the first one. I've successfully installed and ran two > monitors, with the first in the directory /opt/nagios and another in > /opt/net2/nagios, with the statusmaps and all but I'm just not > successful with doing a third. The configure error is that it's not > locating those gd,png, and jpg libraries. Which is strange, since > it worked for the first two. Does anybody know what may be wrong? > > TIA, > Louie > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Wed Oct 9 10:43:44 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Wed, 9 Oct 2002 10:43:44 +0200 Subject: Citrix PlugIn (wish?) Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDB0@nc-mail2.in.nordcom.net> Hi Tom, i still have the problem that the plugin isn't working without "use lib "/usr/local/nagios/libexec/". it can't locate utils... jens (But the Caps bug got nicely fixed) >-----Original Message----- >From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com] >Sent: Wednesday, October 09, 2002 8:30 AM >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Citrix PlugIn (wish?) > > >Dear, > >In the previous beta version of this Citrix plugin (1.6), there was >indeed a problem with applications that did't start with a capital. If >there were no capitals whatsoever in the application name, the >application was not found. If there were capitals in the application >name, it'd just chop of everything before the capital (as Jens has >experienced). > >Mr Hopcroft has awoken the Perl beast again, and got rid of this >annoying bug. > >Please find a new version 1.7 attached. > >Kind regards, >Tom > >Jens.Bergmann at nordCom.net wrote: >> >> for me it does - but one thing is strange. my desktop is >named "nC Desktop" if i try to query this desktop with the >plugin i get an error. if i query "C Desktop" it works :) >> >> everything else is just fine... >> >> jens >> >> >-----Original Message----- >> >From: Mark Guzzo [mailto:marguz at ameritech.net] >> >Sent: Monday, October 07, 2002 7:33 PM >> >To: nagios-users at lists.sourceforge.net >> >Subject: [Nagios-users] Citrix PlugIn (wish?) >> > >> > >> >Thanks again for all the help! >> > >> >I can check to Published Apps just fine. But the one that is >> >THE one I really would like to keep an eye on is the published >> >desktop. It's named 'Citrix Desktop' and that is what I test >> >for. Does this plugin work with Published Desktops? >> > >> >^^^ got Linux ^^^ >> > >> > >> >Mark Guzzo >> >Citrix Administrator >> > >> >"Don't Fear The Penguin." >> > >> > >> >------------------------------------------------------- >> >This sf.net email is sponsored by:ThinkGeek >> >Welcome to geek heaven. >> >http://thinkgeek.com/sf >> >_______________________________________________ >> >Nagios-users mailing list >> >Nagios-users at lists.sourceforge.net >> >https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Hanssen at baerum.kommune.no Wed Oct 9 10:52:18 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Wed, 09 Oct 2002 10:52:18 +0200 Subject: Nagios first time user, install problem. Message-ID: Hello. I just compiled Nagios 1.0b5 (i tried 1.0b6 before with the same problem) on RH 7.3. Compiling completes successfully, or so it seems. I don`t receive any errors. I carefully follow the instructions so i dont get lost :) But the problem is there is no catalogue /usr/local/nagios/etc Any ideas ? Best Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Wed Oct 9 11:03:05 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 09 Oct 2002 11:03:05 +0200 Subject: Nagios first time user, install problem. References: Message-ID: <3DA3F0C9.D5C0601D@gcc.dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=49 Stefan Hanssen wrote: > > Hello. > > I just compiled Nagios 1.0b5 (i tried 1.0b6 before with the same problem) on RH 7.3. Compiling completes successfully, or so it seems. I don`t receive any errors. I carefully follow the instructions so i dont get lost :) > But the problem is there is no catalogue /usr/local/nagios/etc > > Any ideas ? > > Best Regards > > Stefan Hanssen > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Oct 9 11:29:16 2002 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 9 Oct 2002 19:29:16 +1000 Subject: [Fwd: [Nagios-users] Citrix PlugIn (wish?)] In-Reply-To: <3DA3ECA7.51BF5644@gcc.dhl.com>; from tdeblend@gcc.dhl.com on Wed, Oct 09, 2002 at 10:45:27AM +0200 References: <3DA3ECA7.51BF5644@gcc.dhl.com> Message-ID: <20021009192913.B207@IPAustralia.Gov.AU> Dear Sir, I am writing about utils.pm to say On Wed, Oct 09, 2002 at 10:45:27AM +0200, Tom DE BLENDE wrote: > Dear Stanley, > > Any ideas? For me it works without. Probably a bad path? > > Regards, > Tom >> >> Hi Tom, >> >> i still have the problem that the plugin isn't working without "use lib "/usr/local/nagios/libexec/". it can't locate utils... >> >> jens > > (But the Caps bug got nicely fixed) > that this small Perl module is . part of the standard Netsaint/Nag Perl plugins (as of 1.2.9/1.3-beta Nag AFAIK) that said, the plugin installer may __not__ install utils.pm when it installs the plugins. In other words, although it's required by all the standard Perl plugins, it may have to be manually installed. . required by the standard Netsaint/Nag Perl plugins . should be installed in the 'architecture independent, site specific Perl module paths'. These vary depending on Perl version and number of Perls on the host. For my case (Unix, single OS supplied Perl), perl -V | grep site_perl | grep -v shows the relevant module path (you could put it any of these Paths but site_perl is best) The path is '/usr/local/lib/perl5/site_perl/5.005' on this FreeBSD 4.x-RELEASE host. . can be worked around by the 'use libs' pragma (ie add a 'use libs '; I would rather not do this because it _may_ jeopardise the operation of plugins with an embedded Perl interpreter (in caching/compile once mode). I don't know that it does but the embedded Perl Netsaint is far more fussy about plugins than a plain Netsaint What I do is copy the module from the plugins-script dir of the Netsaint plugins directory to my Perl path. 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Wed Oct 9 11:39:34 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Wed, 9 Oct 2002 11:39:34 +0200 Subject: Defining a timeperiod Message-ID: Hey, I want to define a timeperiod with an open time window from 01:18 to 01:22. So the rest of the time the services in this timeperiod should be checked normally, but not from 01:18 to 01:22. How can I achieve this? I tried the following - it didn't work out like I wanted... :-( *** timeperiods.cfg *** --- define timeperiod{ timeperiod_name rzv_nt_server alias small_open_time monday 01:22-01:18 tuesday 01:22-01:18 wednesday 01:22-01:18 thursday 01:22-01:18 friday 01:22-01:18 saturday 01:22-01:18 sunday 01:22-01:18 } So this way I thought Nagios should check fro 01:22 to 01:18, but this is what does not happen. Nagios checks from 01:18 to 01:22 - the four minutes which shouldn't be checked... Hope anyone can help me here ;-)) Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Oct 9 12:00:17 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 9 Oct 2002 12:00:17 +0200 Subject: Defining a timeperiod In-Reply-To: References: Message-ID: <20021009120017.010ee016.freddy.frouin@fluxus.net> I think that if you check the documentation you will see that check are not desactivated over timeperiods definition, this is the notification which is desactivated... because timeperiods are used when you are defining host_notification_period service_notification_period so it is normal that nagios check services over time periods... Freddy. On Wed, 9 Oct 2002 11:39:34 +0200 "Michael Jakscht" wrote: > > > Hey, > > I want to define a timeperiod with an open time window from 01:18 to 01:22. > So the rest of the time the services in this timeperiod should be checked > normally, > but not from 01:18 to 01:22. How can I achieve this? > I tried the following - it didn't work out like I wanted... :-( > > *** timeperiods.cfg *** > --- > define timeperiod{ > timeperiod_name rzv_nt_server > alias small_open_time > monday 01:22-01:18 > tuesday 01:22-01:18 > wednesday 01:22-01:18 > thursday 01:22-01:18 > friday 01:22-01:18 > saturday 01:22-01:18 > sunday 01:22-01:18 > } > > So this way I thought Nagios should check fro 01:22 to 01:18, but this is > what does not > happen. Nagios checks from 01:18 to 01:22 - the four minutes which > shouldn't be checked... > > Hope anyone can help me here ;-)) > > Michael > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Oct 9 12:08:05 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 9 Oct 2002 12:08:05 +0200 Subject: Defining a timeperiod In-Reply-To: <20021009120017.010ee016.freddy.frouin@fluxus.net> References: <20021009120017.010ee016.freddy.frouin@fluxus.net> Message-ID: <20021009120805.6ffa57af.freddy.frouin@fluxus.net> yet, I've just verifyed it, you have an option in services to set check period for a services: define service { [...] check_period timeperiod_name [...] } does it be this option that you are using in such services ? On Wed, 9 Oct 2002 12:00:17 +0200 Freddy Frouin wrote: > I think that if you check the documentation you will see that check are > not desactivated over timeperiods definition, this is the notification > which is desactivated... because timeperiods are used when you are defining > > host_notification_period > service_notification_period > > so it is normal that nagios check services over time periods... > > Freddy. > > > On Wed, 9 Oct 2002 11:39:34 +0200 > "Michael Jakscht" wrote: > > > > > > > Hey, > > > > I want to define a timeperiod with an open time window from 01:18 to 01:22. > > So the rest of the time the services in this timeperiod should be checked > > normally, > > but not from 01:18 to 01:22. How can I achieve this? > > I tried the following - it didn't work out like I wanted... :-( > > > > *** timeperiods.cfg *** > > --- > > define timeperiod{ > > timeperiod_name rzv_nt_server > > alias small_open_time > > monday 01:22-01:18 > > tuesday 01:22-01:18 > > wednesday 01:22-01:18 > > thursday 01:22-01:18 > > friday 01:22-01:18 > > saturday 01:22-01:18 > > sunday 01:22-01:18 > > } > > > > So this way I thought Nagios should check fro 01:22 to 01:18, but this is > > what does not > > happen. Nagios checks from 01:18 to 01:22 - the four minutes which > > shouldn't be checked... > > > > Hope anyone can help me here ;-)) > > > > Michael > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Wed Oct 9 12:14:47 2002 From: rick at subnet.at (peter riegersperger) Date: Wed, 9 Oct 2002 12:14:47 +0200 Subject: FW: nagios fixes Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi! we had some problems with two plugins (check_dhcp and check_http) that our c programming guy fixed for me. check_dhcp was unable to bind port 68 (not running as root!) and checl_http had some problems communicating with icecast. find below a comment on how to fix both. i hope this is of any use and went to the right people. greetings, rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- > -----Original Message----- > check_dhcp needs to bind port 68 which requires root privileges. > rather than running all tests as root, i added "setuid( 0 );" in > main before openening the socket and changed the perms "chmod > u+s". > > check_http didn't work correctly with our icecast server. for some > reason, the last recv after a correct response didn't return 0, but > -1 and errno set to ECONNRESET. i still don't know, why this > happens, but the quickest way to work around it, is to replace > > if (i < 0) > { > terminate (STATE_CRITICAL, "Error in recv()"); > } > > with > if (i < 0 && errno != ECONNRESET ) > { > terminate (STATE_CRITICAL, "Error in recv()"); > } > > in check_http -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPaPziCDD9/SWDsvSEQKQXACfS17WYNDTEJIm6wjea9IP4iO61RUAoMyx JSFnjBw+ZXQjWlcXUYNhK7pr =XAlp -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Wed Oct 9 12:21:16 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Wed, 9 Oct 2002 12:21:16 +0200 Subject: Defining a timeperiod Message-ID: Freddy, you have forgotten the option 'check_period' for services. Michael, you can define your timeperiod like this: define timeperiod{ timeperiod_name rzv_nt_server alias small_open_time monday 00:00-01:18,01:22-24:00 tuesday 00:00-01:18,01:22-24:00 wednesday 00:00-01:18,01:22-24:00 thursday 00:00-01:18,01:22-24:00 friday 00:00-01:18,01:22-24:00 saturday 00:00-01:18,01:22-24:00 sunday 00:00-01:18,01:22-24:00 } -vol > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Wednesday, October 09, 2002 12:00 PM > To: Michael Jakscht > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Defining a timeperiod > > > I think that if you check the documentation you will see that > check are > not desactivated over timeperiods definition, this is the notification > which is desactivated... because timeperiods are used when > you are defining > > host_notification_period > service_notification_period > > so it is normal that nagios check services over time periods... > > Freddy. > > > On Wed, 9 Oct 2002 11:39:34 +0200 > "Michael Jakscht" wrote: > > > > > > > Hey, > > > > I want to define a timeperiod with an open time window from > 01:18 to 01:22. > > So the rest of the time the services in this timeperiod > should be checked > > normally, > > but not from 01:18 to 01:22. How can I achieve this? > > I tried the following - it didn't work out like I wanted... :-( > > > > *** timeperiods.cfg *** > > --- > > define timeperiod{ > > timeperiod_name rzv_nt_server > > alias small_open_time > > monday 01:22-01:18 > > tuesday 01:22-01:18 > > wednesday 01:22-01:18 > > thursday 01:22-01:18 > > friday 01:22-01:18 > > saturday 01:22-01:18 > > sunday 01:22-01:18 > > } > > > > So this way I thought Nagios should check fro 01:22 to > 01:18, but this is > > what does not > > happen. Nagios checks from 01:18 to 01:22 - the four minutes which > > shouldn't be checked... > > > > Hope anyone can help me here ;-)) > > > > Michael > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists.scott at themagicbox.net Wed Oct 9 13:18:51 2002 From: lists.scott at themagicbox.net (Scott) Date: Wed, 9 Oct 2002 21:18:51 +1000 Subject: Dependancies and VLANs Message-ID: <002b01c26f85$a55ffce0$0500a8c0@earth> Hi List, Well, after settingup Nagios... (Works a treat by the way!!!) I have found a small issue which (knowing my luck has been covered in the past) causes dependancies to fail given a particular scenerio. Here is the example Nagios proposes that it is the head of the network (fine), now to get any further around the network nagios links into a switch which in turns connects into a core router. This seems logical at first except for this little problem. Suppose you have other hosts on the switch and they are all talking on different VLans which are defined by this so called core router.. if the core router dies then the remainder of all of my network dies.. the way to get around this seems to be to assign the parent of the core router directly to the nagios server which works, although upon the switch then dying would cause that instance to fail.. Does anybody see the problem here or is it just me and if they do, is there a solution to this little problem? Hoping that I am not waffling.... Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From TPaphanchith at GROBSYSTEMS.COM Wed Oct 9 13:27:35 2002 From: TPaphanchith at GROBSYSTEMS.COM (Paphanchith, Tony) Date: Wed, 9 Oct 2002 07:27:35 -0400 Subject: Nagois Alarm? Message-ID: <0DF819E18AA3D5118D000050DA74FDE22FB70D@EXCHBLU01> Is there some type of alarm implemented for nagios? E.g. if a monitored host becomes available it sends an alarm to the web interface. Has someone implemented this? ------------------------------ Tony Paphanchith Network Administrator Grob Systems, Inc. ------------------------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From TPaphanchith at GROBSYSTEMS.COM Wed Oct 9 13:39:05 2002 From: TPaphanchith at GROBSYSTEMS.COM (Paphanchith, Tony) Date: Wed, 9 Oct 2002 07:39:05 -0400 Subject: Nagois Alarm? Message-ID: <0DF819E18AA3D5118D000050DA74FDE22FB713@EXCHBLU01> When I say alarm, I mean an annoying siren that would play (a .wav of some sort) on the client side. In my case I have a dedicated box that just sits on the ( currently netsaint) status page. Sorry for the spam ... any advice is appreciated. -----Original Message----- From: Paphanchith, Tony [mailto:TPaphanchith at GROBSYSTEMS.COM] Sent: Wednesday, October 09, 2002 7:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagois Alarm? Is there some type of alarm implemented for nagios? E.g. if a monitored host becomes available it sends an alarm to the web interface. Has someone implemented this? ------------------------------ Tony Paphanchith Network Administrator Grob Systems, Inc. ------------------------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 13:44:19 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 07:44:19 -0400 Subject: Nagios Daemon not starting Message-ID: have you run a verification on your configs? if everything is default: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg a log will be in /usr/local/nagios/var/nagios.log and perhaps also in your /var/log/messages hth, dean -----Original Message----- From: Andrew Meyer [mailto:andrewm659 at hotmail.com] Sent: Tuesday, October 08, 2002 6:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Daemon not starting Hi, I'm trying to run nagios on a Mandrake 8.2/9.0 box. I have nagios all setup and ready to go as far as the web interface. But when the computer starts and begins to start the daemons, nagios, either starts and then sotp immidiately or doens't start at all. I'm not sure what's going on and i can't find a log for it. Andrew Meyer _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists.scott at themagicbox.net Wed Oct 9 13:43:37 2002 From: lists.scott at themagicbox.net (Scott) Date: Wed, 9 Oct 2002 21:43:37 +1000 Subject: Nagois Alarm? References: <0DF819E18AA3D5118D000050DA74FDE22FB70D@EXCHBLU01> Message-ID: <003c01c26f89$1b74b030$0500a8c0@earth> The recovery option for any given host or service is what you are after I would imagine.. As for specifically mentioning something on the web page, I suppose you could monitor the event log to track when specific things return to life... Easier to have the server send email or some other form of notification to contacts though. Scott ----- Original Message ----- From: "Paphanchith, Tony" To: Sent: Wednesday, October 09, 2002 9:27 PM Subject: [Nagios-users] Nagois Alarm? > Is there some type of alarm implemented for nagios? E.g. if a monitored > host becomes available it sends an alarm to the web interface. Has someone > implemented this? > > ------------------------------ > Tony Paphanchith > Network Administrator > Grob Systems, Inc. > ------------------------------ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Wed Oct 9 13:50:44 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 09 Oct 2002 13:50:44 +0200 Subject: Nagois Alarm? References: <0DF819E18AA3D5118D000050DA74FDE22FB713@EXCHBLU01> Message-ID: <3DA41814.A3F15986@gcc.dhl.com> http://www.netsaint.org/docs/0_0_7/configcgi.html#audio_alerts "Paphanchith, Tony" wrote: > > When I say alarm, I mean an annoying siren that would play (a .wav of some > sort) on the client side. In my case I have a dedicated box that just sits > on the ( currently netsaint) status page. > > Sorry for the spam ... any advice is appreciated. > > -----Original Message----- > From: Paphanchith, Tony [mailto:TPaphanchith at GROBSYSTEMS.COM] > Sent: Wednesday, October 09, 2002 7:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagois Alarm? > > Is there some type of alarm implemented for nagios? E.g. if a monitored > host becomes available it sends an alarm to the web interface. Has someone > implemented this? > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists.scott at themagicbox.net Wed Oct 9 13:56:04 2002 From: lists.scott at themagicbox.net (Scott) Date: Wed, 9 Oct 2002 21:56:04 +1000 Subject: Nagois Alarm? References: <0DF819E18AA3D5118D000050DA74FDE22FB713@EXCHBLU01> Message-ID: <004c01c26f8a$d88cc7b0$0500a8c0@earth> Taking a look through the cgi.cfg file associated with the web interface it seems to allow for incorporating sound into the system via the web interface. # SOUND OPTIONS # These options allow you to specify an optional audio file # that should be played in your browser window when there are # problems on the network. The audio files are used only in # the status CGI. Only the sound for the most critical problem # will be played. Order of importance (higher to lower) is as # follows: unreachable hosts, down hosts, critical services, # warning services, and unknown services. If there are no # visible problems, the sound file optionally specified by # 'normal_sound' variable will be played. # # # = # # Note: All audio files must be placed in the /media subdirectory # under the HTML path (i.e. /usr/local/nagios/share/media/). #host_unreachable_sound=hostdown.wav #host_down_sound=hostdown.wav #service_critical_sound=critical.wav #service_warning_sound=warning.wav #service_unknown_sound=warning.wav ----- Original Message ----- From: "Paphanchith, Tony" To: Sent: Wednesday, October 09, 2002 9:39 PM Subject: RE: [Nagios-users] Nagois Alarm? > When I say alarm, I mean an annoying siren that would play (a .wav of some > sort) on the client side. In my case I have a dedicated box that just sits > on the ( currently netsaint) status page. > > Sorry for the spam ... any advice is appreciated. > > -----Original Message----- > From: Paphanchith, Tony [mailto:TPaphanchith at GROBSYSTEMS.COM] > Sent: Wednesday, October 09, 2002 7:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagois Alarm? > > > Is there some type of alarm implemented for nagios? E.g. if a monitored > host becomes available it sends an alarm to the web interface. Has someone > implemented this? > > ------------------------------ > Tony Paphanchith > Network Administrator > Grob Systems, Inc. > ------------------------------ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 14:24:34 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 08:24:34 -0400 Subject: Nagois Alarm? Message-ID: although this doc doesn't mention it there is also a normal_sound=your.wav in cgi.cfg later, dean -----Original Message----- From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com] Sent: Wednesday, October 09, 2002 7:51 AM To: Paphanchith Tony Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagois Alarm? http://www.netsaint.org/docs/0_0_7/configcgi.html#audio_alerts "Paphanchith, Tony" wrote: > > When I say alarm, I mean an annoying siren that would play (a .wav of some > sort) on the client side. In my case I have a dedicated box that just sits > on the ( currently netsaint) status page. > > Sorry for the spam ... any advice is appreciated. > > -----Original Message----- > From: Paphanchith, Tony [mailto:TPaphanchith at GROBSYSTEMS.COM] > Sent: Wednesday, October 09, 2002 7:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagois Alarm? > > Is there some type of alarm implemented for nagios? E.g. if a monitored > host becomes available it sends an alarm to the web interface. Has someone > implemented this? > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andreas.hafer at kuehne-nagel.com Wed Oct 9 14:37:08 2002 From: andreas.hafer at kuehne-nagel.com (andreas.hafer) Date: Wed, 09 Oct 2002 14:37:08 +0200 Subject: hostextinfo problem Message-ID: <3DA422F4.FD96D3EF@kuehne-nagel.com> Hi @all, try to view my hosts in the statusmap but only receive the message: "You have not supplied any host drawing coordinates, so you cannot use this layout method" I can?t even see any icon_image in any other Layout method! My hostextinfo entries in my /usr/local/nagios/etc/cgi.cfg looks like this: # 'monica' hostextinfo definition define hostextinfo{ host_name monica ; The name of the host this data is associated with notes_url /netsaint/docs/serverinfo/monica.html icon_image aix.gif vrml_image aix.jpg gd2_image aix.gd2 icon_image_alt AIX Server 2d_coords 100,50 3d_coords 1.0,1.0,-1.0 } Any idea? Thanks for your help!! -- Mit freundlichen Gruessen / Best regards Andreas Hafer ---------------------------------------- Andreas Hafer, HAM / MI - IH System Engineer Operations and Services Kuehne & Nagel (AG & Co.) KG Head Office IT Ferdinandstr. 29 20095 Hamburg/Germany Tel. : +4940 3 29 15-315 Fax : +4940 3 29 15-500 Email : andreas.hafer at kuehne-nagel.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Wed Oct 9 14:38:38 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 9 Oct 2002 08:38:38 -0400 Subject: Correct Syntax for NSCA Message-ID: <5593DA408212D511B0910002A513501F01D2876B@phsexch20.mgh.harvard.edu> Hi there, I am going to be running the NSCA utility to monitor via passive checks the diskspace usage on an HP-UX 10.20 machine. The client files, send_nsca and send_nsca.cfg, are located in the /usr/local/nagios directory on the client while the nsca and nsca.cfg files are in their respective directories on the application server. My question is what is the correct syntax to use for the configuration files and the commands? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jremme at sino.de Wed Oct 9 14:58:53 2002 From: jremme at sino.de (Jens Remme) Date: Wed, 9 Oct 2002 14:58:53 +0200 Subject: host ips Message-ID: can i add several ips on a single HOST? We've got some computers which have more than one ip. If there happens any error I get up to 10 messages thats not that great. Anyone knows what to do? ThX Greets Jens ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Wed Oct 9 15:05:16 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 9 Oct 2002 15:05:16 +0200 Subject: Silly config error? Message-ID: <020701c26f94$83c0d190$cfdda8c0@JANJNWL105> I have set up nagios before, but now I must be missing something trivial. Nagios CGI scripts tries to download in the browser, so I must be missing a cgi-option somewhere in my httpd.conf. Relevant portions are: argus:~/download/Nagios/nagios-1.0b6# grep -i nagios /etc/apache/conf/httpd.conf Alias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ /usr/local/nagios/share/ ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ argus:~/download/Nagios/nagios-1.0b6# Running a pretty basic Debian3.0 system. Help? :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Oct 9 15:07:31 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 09:07:31 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problem In-Reply-To: References: Message-ID: then sombody must have installed the perl module by hand. the UCD SNMP extension module should be installed in /usr/lib/perl5/site_perl/5.x.x/SNMP.pm the Net::SNMP modules should be installed in /usr/lib/perl5/site_perl/5.x.x/Net/SNMP.pm /usr/lib/perl5/site_perl/5.x.x/Net/SNMP/* remove the SNMP.pm in the site_perl/5.x.x/Net sub dir and reinstall the module. -sg On Tue, 8 Oct 2002, Nolan Martin wrote: > Executing /usr/bin/perldoc Net::SNMP as root (or as su to root) produces > the error message about superuser (Superuser must not run > /usr.bin/perldoc without security audit and taint checks.) > > Executing it as my account produces the man doc pages. The top snippet > is "SNMP - The Perl5 'SNMP' Extension Module v3.1.0 for the UCD SNMPv3 > Library. > > I checked my path again. I also ran a "find / -name perl" and found > four locations with a perl file. However, only one of those /usr/bin is > within the PATH variable. > > Also, if I do "type perl" I am told perl is /usr/bin/perl > > >>> Subhendu Ghosh 10/07/02 11:29PM >>> > > what does /usr/bin/perldoc Net::SNMP show? > > check your path - you may have another installation of perl 5.6.1 under > > /usr/local before /usr/bin. > > -sg > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > * The check_ifstatus perl script (unchanged) references > /usr/bin/perl > > * Perl is located in the /usr/bin directory > > * echo $PATH shows /usr/bin listed > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > v5.6.1 > > > > Thanks again for your assistance. > > > > Nolan > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > Check the location for perl in your path versus the perl in the #! > > statement. (or config.status if using embedded perl) > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. > :) > > > > > > I would say this was largely because the first time I ran a > > > check_ifstatus, it complained about not having the SNMP.pm in its > > @INC > > > path.... Once I adjusted it so that it was in its path, that > error > > went > > > away. I then received the session error message.... > > > > > > But, as I mentioned, based on one of your postings in the > archives, > > I > > > separately attempted to install the Net::SNMP through the CPAN > shell > > and > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > installed on the machine. > > > > > > Thoughts or suggestions as to what I am missing or > misunderstanding? > > > > > Thanks for your response. > > > > > > Nolan > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > Ummm yes and no :) > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > check_snmp and the SNMP.pm module. > > > > > > check_ifstatus and friends require Net::SNMP module -which is an > all > > > perl > > > snmp manager library implementation. > > > > > > the names are confusing similar... the perl modules names are > > actually > > > > > > different. > > > > > > -sg > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > I am trying to get check_ifstatus going and am having some > > > difficulties > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > receive > > > the > > > > following error message, when I attempt to run the > check_ifstatus > > > > command from the nagios libexec directory to test it: > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > Can't locate object method "session" via package "Net::SNMP" > > > (perhaps > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > module > > > > following the instructions that accompany both of those > components. > > > > > I > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to > install > > > > again/verify my perl module installation by installing it using > > the > > > CPAN > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > Obviously, I missed some step or have failed to do some > > > configuration. > > > > Any assistance would be appreciated. > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although > there > > > > appears to be an existing 5.6.0 installation as well. I am > using > > > the > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > Net-SNMP > > > > 5.0.5 (released 10/1/2002) > > > > > > > > Here are the steps I went through. > > > > > > > > INSTALLED NET-SNMP > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > * ./configure > > > > * make > > > > * umask 022 > > > > * make install > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > * From the perl subdirectory of the extracted NET-SNMP > directory, > > > ran: > > > > perl Makefile.PL > > > > * make > > > > * make test > > > > * make install > > > > * Since the SNMP.pm was installed to > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > was > > > that > > > > NET-SNMP actually looks for it under a directory named Net, I > > created > > > a > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > included > > > > paths, but produces the session error message > > > > * Tried to install again/verify the SNMP.pm installation by > > > installing > > > > it through the CPAN shell: > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > Net::SNMP is up to date. > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > Nolan > > > > > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Schindewolf at Infraserv.com Wed Oct 9 15:19:23 2002 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Wed, 9 Oct 2002 15:19:23 +0200 Subject: AW: host ips Message-ID: <2B6CA561B67B72418738D8F3D7853DA30839AF@20-exchange-1.infraserv.com> Greetings I generated a comma-separated list of IPs and Nagios did not complain. Regards Stefan -----Urspr?ngliche Nachricht----- Von: Jens Remme [mailto:jremme at sino.de] Gesendet: Mittwoch, 9. Oktober 2002 14:59 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] host ips can i add several ips on a single HOST? We've got some computers which have more than one ip. If there happens any error I get up to 10 messages thats not that great. Anyone knows what to do? ThX Greets Jens ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 15:19:17 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 09:19:17 -0400 (EDT) Subject: Dependancies and VLANs In-Reply-To: <002b01c26f85$a55ffce0$0500a8c0@earth> References: <002b01c26f85$a55ffce0$0500a8c0@earth> Message-ID: Think of paths instead of parents. Nagios->switchA->router->everybodyelse Other systems hanging off switch A should have the router as a parent unless they are on the same VLAN as Nagios. I tend to only look at the IP layer (routers and hosts) when setting up parent relationships. That is because I can reach all my devices separately through a management VLAN. Service Dependencies come in handy in this case. -sg On Wed, 9 Oct 2002, Scott wrote: > Hi List, > > Well, after settingup Nagios... (Works a treat by the way!!!) I have > found a small issue which (knowing my luck has been covered in the past) > causes dependancies to fail given a particular scenerio. > > Here is the example > > Nagios proposes that it is the head of the network (fine), now to get > any further around the network nagios links into a switch which in turns > connects into a core router. This seems logical at first except for this > little problem. Suppose you have other hosts on the switch and they are > all talking on different VLans which are defined by this so called core > router.. if the core router dies then the remainder of all of my network > dies.. the way to get around this seems to be to assign the parent of > the core router directly to the nagios server which works, although upon > the switch then dying would cause that instance to fail.. Does anybody > see the problem here or is it just me and if they do, is there a > solution to this little problem? > > Hoping that I am not waffling.... > Scott > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Wed Oct 9 15:18:36 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 09 Oct 2002 15:18:36 +0200 Subject: Silly config error? References: <020701c26f94$83c0d190$cfdda8c0@JANJNWL105> Message-ID: <3DA42CAC.B84E296@gcc.dhl.com> Do you have this line: AddHandler cgi-script .cgi And is this line: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Placed before this line: ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ > Jan Johansson wrote: > > I have set up nagios before, but now I must be missing something > trivial. Nagios CGI scripts tries to download in the browser, so I > must be missing a cgi-option somewhere in my httpd.conf. Relevant > portions are: > > > > argus:~/download/Nagios/nagios-1.0b6# grep -i nagios > /etc/apache/conf/httpd.conf > > Alias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > Alias /nagios/ /usr/local/nagios/share/ > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > argus:~/download/Nagios/nagios-1.0b6# > > > > Running a pretty basic Debian3.0 system. > > > > Help? :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Wed Oct 9 15:24:05 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 9 Oct 2002 15:24:05 +0200 Subject: Silly config error? In-Reply-To: <3DA42CAC.B84E296@gcc.dhl.com> References: <3DA42CAC.B84E296@gcc.dhl.com> Message-ID: <020e01c26f97$2442d620$cfdda8c0@JANJNWL105> > AddHandler cgi-script .cgi I am such a moron. That was commented out. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 15:23:20 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 09:23:20 -0400 (EDT) Subject: nagiosplugin bad interpreter issue In-Reply-To: References: Message-ID: On Tue, 8 Oct 2002, anoop atre wrote: > zakki > yes that was a typo, I haven't tried the rpm yet. > > > > --with-mysql-lib=/usr/lib/msql --with-mysql-inc=/usr/include/mysql > > Jon thanks for pointing me to the page, I haven't tried the > recompiled system properly; right now I still can't use > my own images,will work on that later; thanks for your info > which wasn't documented in the regular installation instructions : ) > > > Could some one point me to where I can get the check_snmp > plugin I swear I looked everywhere!!! Maybe I just have overlooked > it in the dev-cvs (?) you need to have the snmp package from net-snmp.sf.net installed on your system for check_snmp target to compile. (see you configure errors.) > > One of the other issues which is not getting resolved even > after the usual google | manual | faq processes is that > I keep getting 'bad interpreter' errors compiling on some > of the plugins or even running the file, perl location etc is as > declared in the files, any suggestions on this will be appreciated. > post a snippet and OS info. > On another note I don't know how I could post my last email to the > list from my work email since I'd signed up through my hot(spam)mail account > !?! > you have to be signed up in order to post - helps cut down on the spam to the list. -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 15:09:13 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 09:09:13 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: Then you are probably not checking a Cisco device. The version in the contrib directory has Cisco specific MIB entry. Just comment that out occurrences of the variable.. -sg On Tue, 8 Oct 2002, Troy Corbin wrote: > # check_ifstatus.pl - netsaint plugin > # 11.01.2000 Version 1.0 > > is it too old? > > On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > > > > What plugin version are you using? > > > > -sg > > > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > > > i too use the check_ifstatus plugin for a majority of my router > > > monitoring. on routers that have an interface that is down, i receive the > > > following error if run manually: > > > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > > > Thanks, > > > troy > > > > > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > > * Perl is located in the /usr/bin directory > > > > * echo $PATH shows /usr/bin listed > > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > > v5.6.1 > > > > > > > > Thanks again for your assistance. > > > > > > > > Nolan > > > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > > > Check the location for perl in your path versus the perl in the #! > > > > statement. (or config.status if using embedded perl) > > > > > > > > -sg > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > > > I would say this was largely because the first time I ran a > > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > > @INC > > > > > path.... Once I adjusted it so that it was in its path, that error > > > > went > > > > > away. I then received the session error message.... > > > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > > I > > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > > and > > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > > installed on the machine. > > > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > > > Thanks for your response. > > > > > > > > > > Nolan > > > > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > > Ummm yes and no :) > > > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > > check_snmp and the SNMP.pm module. > > > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > > perl > > > > > snmp manager library implementation. > > > > > > > > > > the names are confusing similar... the perl modules names are > > > > actually > > > > > > > > > > different. > > > > > > > > > > -sg > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > > difficulties > > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > > receive > > > > > the > > > > > > following error message, when I attempt to run the check_ifstatus > > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > > (perhaps > > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > > module > > > > > > following the instructions that accompany both of those components. > > > > > > > > > I > > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > > again/verify my perl module installation by installing it using > > > > the > > > > > CPAN > > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > > configuration. > > > > > > Any assistance would be appreciated. > > > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > > the > > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > > Net-SNMP > > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > > > INSTALLED NET-SNMP > > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > > * ./configure > > > > > > * make > > > > > > * umask 022 > > > > > > * make install > > > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > > ran: > > > > > > perl Makefile.PL > > > > > > * make > > > > > > * make test > > > > > > * make install > > > > > > * Since the SNMP.pm was installed to > > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > > was > > > > > that > > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > > created > > > > > a > > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > > included > > > > > > paths, but produces the session error message > > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > > installing > > > > > > it through the CPAN shell: > > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > > Net::SNMP is up to date. > > > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brmarkey at mysgo.com Wed Oct 9 15:33:31 2002 From: brmarkey at mysgo.com (Bruce Markey) Date: Wed, 9 Oct 2002 09:33:31 -0400 Subject: Multi line output. Message-ID: <002c01c26f98$756dfdd0$f1e8893f@ispinspiron> Hey all.. I've been all through the configs and I dont see a place to change this. I have a custom perl plugin i wrote to check some of our wireless equipment.. The output looks like this: [suid] 1 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 [suid] 2 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 [suid] 3 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 It only shows the first line in my service detail.. Where would i change a setting to make the service detail be able to show multilines? Thanks Bruce Markey Network Engineer Spectrum Communications 989-732-0340 brmarkey at mysgo.com ------------------------------------------------------------------------------- "We're on a mission from God." Elwood Blues -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdeblend at gcc.dhl.com Wed Oct 9 15:43:51 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 09 Oct 2002 15:43:51 +0200 Subject: Multi line output. References: <002c01c26f98$756dfdd0$f1e8893f@ispinspiron> Message-ID: <3DA43297.26ED097F@gcc.dhl.com> It's not a setting, it's by design. If you would like to change this, you'd have to hack the source code of Nagios, but I guess you're pretty much on your own then :-) Best thing is to adjust your plugins to the Nagios standards, not the other way around. Have a look at http://nagiosplug.sourceforge.net/developer-guidelines.html. > Bruce Markey wrote: > > Hey all.. > > I've been all through the configs and I dont see a place to change > this. I have a custom perl plugin i wrote to check some of our > wireless equipment.. The output looks like this: > > [suid] 1 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 > [suid] 2 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 > [suid] 3 .....[Tx] 20 [AP Rx] 20 [SU Rx] 20 > > It only shows the first line in my service detail.. Where would i > change a setting to make the service detail be able to show > multilines? > > Thanks > Bruce Markey > Network Engineer > Spectrum Communications > 989-732-0340 > brmarkey at mysgo.com > ------------------------------------------------------------------------------- > "We're on a mission from God." Elwood Blues ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Wed Oct 9 15:55:24 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Wed, 9 Oct 2002 15:55:24 +0200 Subject: ecalations Message-ID: Like Russell Scibetti (020820 and 020821) and Daris Drake (020826) I have one or two problems (or need to clearing up) with escalations. The Nagios host was an Solaris8 x86 server with Nagios 1.0b6. A short outline of the configuration (an excerpt is at the bottom of the mail): I have a host with one active and one passive (check_freshness 0, check_period none) service check and two service escalations for each service check. All contacts have 24x7 notification_period and at least c,r as notification_options. For the active service check I get the following notifications when the service goes critical (time x) and 3 hours later ok: x+5 min critical notification to unix-admins x+15 min critical notification to unix-admins and vol-sms x+75 min critical notification to unix-admins x+135 min critical notification to unix-admins x+180 min recovery notification to unix-admins The concrete question is why is the recovery notification not send to vol-sms? A possible explanation was that Nagios sends only recovery notifications to those contacts which gets the _last_ error notification (or are contacts of the current escalation). If the service is only a half hour critical Nagios send out the following notifications: x+5 min critical notification to unix-admins x+15 min critical notification to unix-admins and vol-sms x+30 min recovery notification to unix-admins and vol-sms IMHO would it be better to send _all_ contacts the recovery notification which gets a critical notification. Or is there something wrong in my configuration? For the passive service check I get the following notifications when the service goes critical (time y) and 3 hours later ok: y critical notification to unix-admins y+180 min recovery notification to unix-admins I do not understand why the escalation config is not performed? Does Nagios only checks for notifications and escalations when the result of a check (active or passive) is processed? Or can I tune my configuration so that escalations perform also for passive service checks? Comments and help is very much appreciated. -vol define host{ host_name holi-alt ... } # service definition template define service{ name generic-service max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 notification_interval 120 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 0 ... } # passive service definition template define service{ use generic-service name passive-service check_command check-alive max_check_attempts 1 active_checks_enabled 1 passive_checks_enabled 1 check_period none notification_options c,r register 0 } define service{ use passive-service host_name holi-alt service_description test-passiv contact_groups unix-admins notification_interval 10 } define service{ use generic-service host_name holi-alt service_description test-aktiv contact_groups unix-admins notification_interval 10 check_command check_http3!-u /test.html!-s Systemservice } define serviceescalation{ host_name holi-alt service_description test-passiv first_notification 2 last_notification 2 notification_interval 60 contact_groups unix-admins,vol-sms } define serviceescalation{ host_name holi-alt service_description test-passiv first_notification 3 last_notification 0 notification_interval 60 contact_groups unix-admins } define serviceescalation{ host_name holi-alt service_description test-aktiv first_notification 2 last_notification 2 notification_interval 60 contact_groups unix-admins,vol-sms } define serviceescalation{ host_name holi-alt service_description test-aktiv first_notification 3 last_notification 0 notification_interval 60 contact_groups unix-admins } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Wed Oct 9 16:28:45 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 9 Oct 2002 16:28:45 +0200 Subject: SNMP? Message-ID: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> Not a direct nagios issue, but i feel the know-how is here. If I have a MIB for a device, and want to use snmpget (or more to the point check_snmp to get a value. How do I, from the MIB, deduce which OID or keyword to query? I have the standard printing MIB here, and would like to ask a IBM printer about its toner level (or general status). -------------- next part -------------- An HTML attachment was scrubbed... URL: From czwecker at sysctl.de Wed Oct 9 16:47:35 2002 From: czwecker at sysctl.de (Christophe Zwecker) Date: 09 Oct 2002 16:47:35 +0200 Subject: Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Message-ID: <1034174856.21200.52.camel@fry.sysctl.de> Hi, im trying to implement portsentry into nagios, I did as in Documention my services entry is as follows: define service{ host_name gate service_description Port Scans is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_none } when restarting nagios I get this: Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans' on host 'gate' whats wrong ? thx and best regards, Christophe -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 17:01:00 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 11:01:00 -0400 (EDT) Subject: SNMP? In-Reply-To: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> References: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> Message-ID: the MIBS objects are usually written as objectName OBJECT-TYPE .... ::= { parentObject leafNumber) both objectName and parentObject are alphanumeric names and leafNumber is a number. to find the oid, you need to trace back thru all the parentObjects and concatenate the numbers together.. if you have all the MIBs files, you could also try using snmptransalate from the net-snmp package to the OID from the objectName. -sg On Wed, 9 Oct 2002, Jan Johansson wrote: > Not a direct nagios issue, but i feel the know-how is here. If I have a > MIB for a device, and want to use snmpget (or more to the point > check_snmp to get a value. How do I, from the MIB, deduce which OID or > keyword to query? > > > > I have the standard printing MIB here, and would like to ask a IBM > printer about its toner level (or general status). > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 17:02:30 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 11:02:30 -0400 (EDT) Subject: host ips In-Reply-To: References: Message-ID: On Wed, 9 Oct 2002, Jens Remme wrote: > can i add several ips on a single HOST? We've got some computers which have > more than one ip. If there happens any error I get up to 10 messages thats > not that great. Anyone knows what to do? > > ThX > > Greets > > Jens > > only 1 IP in the host definition (think of the shortest path from Nagios to the host) - all other IPs should be checked as services. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From barbereau at easynet.fr Wed Oct 9 17:10:21 2002 From: barbereau at easynet.fr (S. Barbereau) Date: Wed, 9 Oct 2002 17:10:21 +0200 Subject: SNMP? In-Reply-To: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> References: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> Message-ID: <20021009151021.GA24196@cast98.easynet.fr> On Wed, Oct 09, 2002 at 04:28:45PM +0200, Jan Johansson wrote: > Not a direct nagios issue, but i feel the know-how is here. If I have a > MIB for a device, and want to use snmpget (or more to the point > check_snmp to get a value. How do I, from the MIB, deduce which OID or > keyword to query? You'll need to parse the MIB file ... this can be done either by hand (good luck) or using some tools like scotty/tkinetd (on linux) or getif (on windows) > > > > I have the standard printing MIB here, and would like to ask a IBM > printer about its toner level (or general status). > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios-users at ragweed.net Wed Oct 9 17:12:38 2002 From: nagios-users at ragweed.net (nagios-users at ragweed.net) Date: 09 Oct 2002 10:12:38 -0500 Subject: Authoritative answer required on check_dig or check_dns? Message-ID: <1034176358.1504.18.camel@tutter.ragweed.net> All - Is there a way to require an authoritative answer from a nameserver using either check_dig|check_dns, similar to the AUTH directive in nocol's nsmon? (from nocol's nsmon-config: # Append the word 'AUTH' after the ipaddress if an authorative answer is # required. By default AA is false. ) I need to check that a primary nameserver for a domain actually answers authoritatively for it, not just whether it gives a basic answer. Any pointers are appreciated. I found no similar mention in any of the mailing lists or documentation. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From troyc at communitech.net Wed Oct 9 17:09:08 2002 From: troyc at communitech.net (Troy Corbin) Date: Wed, 9 Oct 2002 10:09:08 -0500 (CDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: yes, im checking cisco devices.... 7206vxr's, 6509s running native IOS(no CATOS), etc etc etc. I only get the error message when an interface is down on the cisco's. On Wed, 9 Oct 2002, Subhendu Ghosh wrote: > > Then you are probably not checking a Cisco device. The version in the > contrib directory has Cisco specific MIB entry. Just comment that out > occurrences of the variable.. > > -sg > > On Tue, 8 Oct 2002, Troy Corbin wrote: > > > # check_ifstatus.pl - netsaint plugin > > # 11.01.2000 Version 1.0 > > > > is it too old? > > > > On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > > > > > > > What plugin version are you using? > > > > > > -sg > > > > > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > > > > > i too use the check_ifstatus plugin for a majority of my router > > > > monitoring. on routers that have an interface that is down, i receive the > > > > following error if run manually: > > > > > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > > > > > Thanks, > > > > troy > > > > > > > > > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > > > * Perl is located in the /usr/bin directory > > > > > * echo $PATH shows /usr/bin listed > > > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > > > v5.6.1 > > > > > > > > > > Thanks again for your assistance. > > > > > > > > > > Nolan > > > > > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > > > > > Check the location for perl in your path versus the perl in the #! > > > > > statement. (or config.status if using embedded perl) > > > > > > > > > > -sg > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > > > > > I would say this was largely because the first time I ran a > > > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > > > @INC > > > > > > path.... Once I adjusted it so that it was in its path, that error > > > > > went > > > > > > away. I then received the session error message.... > > > > > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > > > I > > > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > > > and > > > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > > > installed on the machine. > > > > > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > > > > > Thanks for your response. > > > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > > > Ummm yes and no :) > > > > > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > > > check_snmp and the SNMP.pm module. > > > > > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > > > perl > > > > > > snmp manager library implementation. > > > > > > > > > > > > the names are confusing similar... the perl modules names are > > > > > actually > > > > > > > > > > > > different. > > > > > > > > > > > > -sg > > > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > > > difficulties > > > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > > > receive > > > > > > the > > > > > > > following error message, when I attempt to run the check_ifstatus > > > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > > > (perhaps > > > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > > > module > > > > > > > following the instructions that accompany both of those components. > > > > > > > > > > > I > > > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > > > again/verify my perl module installation by installing it using > > > > > the > > > > > > CPAN > > > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > > > configuration. > > > > > > > Any assistance would be appreciated. > > > > > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > > > the > > > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > > > Net-SNMP > > > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > > > > > INSTALLED NET-SNMP > > > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > > > * ./configure > > > > > > > * make > > > > > > > * umask 022 > > > > > > > * make install > > > > > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > > > ran: > > > > > > > perl Makefile.PL > > > > > > > * make > > > > > > > * make test > > > > > > > * make install > > > > > > > * Since the SNMP.pm was installed to > > > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > > > was > > > > > > that > > > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > > > created > > > > > > a > > > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > > > included > > > > > > > paths, but produces the session error message > > > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > > > installing > > > > > > > it through the CPAN shell: > > > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > > > Net::SNMP is up to date. > > > > > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > > Welcome to geek heaven. > > > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > > > Nagios-users mailing list > > > > > > > Nagios-users at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Wed Oct 9 17:18:22 2002 From: seth at hollen.org (Seth Hollen) Date: Wed, 9 Oct 2002 11:18:22 -0400 Subject: Almost there! Message-ID: Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Schindewolf at Infraserv.com Wed Oct 9 17:22:03 2002 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Wed, 9 Oct 2002 17:22:03 +0200 Subject: AW: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Message-ID: <2B6CA561B67B72418738D8F3D7853DA3010D9F0B@20-exchange-1.infraserv.com> Hello. It seems that you did not define normal_check_interval and retry_check_interval and the check_period. Add this and the rest should work. In the Online Manual, these options are painted red, so they MUST be given. Regards -----Urspr?ngliche Nachricht----- Von: Christophe Zwecker [mailto:czwecker at sysctl.de] Gesendet: Mittwoch, 9. Oktober 2002 16:48 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Hi, im trying to implement portsentry into nagios, I did as in Documention my services entry is as follows: define service{ host_name gate service_description Port Scans is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_none } when restarting nagios I get this: Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans' on host 'gate' whats wrong ? thx and best regards, Christophe -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 17:34:44 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 11:34:44 -0400 Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Message-ID: you must specify a normal_check_interval and retry_check_interval http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service -----Original Message----- From: Christophe Zwecker [mailto:czwecker at sysctl.de] Sent: Wednesday, October 09, 2002 10:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Hi, im trying to implement portsentry into nagios, I did as in Documention my services entry is as follows: define service{ host_name gate service_description Port Scans is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_none } when restarting nagios I get this: Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Port Scans' on host 'gate' whats wrong ? thx and best regards, Christophe -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 17:30:46 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 11:30:46 -0400 Subject: Almost there! Message-ID: seems like you are trying to access a webpage that requires authentication or that is otherwise restricted. if this is the case, then you need to use the -a option on check_http hth, dean -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 9 17:34:44 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 11:34:44 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: could you try the new version.. On Wed, 9 Oct 2002, Troy Corbin wrote: > yes, im checking cisco devices.... 7206vxr's, 6509s running native IOS(no > CATOS), etc etc etc. I only get the error message when an interface is > down on the cisco's. > > On Wed, 9 Oct 2002, Subhendu Ghosh wrote: > > > > > Then you are probably not checking a Cisco device. The version in the > > contrib directory has Cisco specific MIB entry. Just comment that out > > occurrences of the variable.. > > > > -sg > > > > On Tue, 8 Oct 2002, Troy Corbin wrote: > > > > > # check_ifstatus.pl - netsaint plugin > > > # 11.01.2000 Version 1.0 > > > > > > is it too old? > > > > > > On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > > > > > > > > > > What plugin version are you using? > > > > > > > > -sg > > > > > > > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > > > > > > > i too use the check_ifstatus plugin for a majority of my router > > > > > monitoring. on routers that have an interface that is down, i receive the > > > > > following error if run manually: > > > > > > > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > > > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > > > > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > > > > > > > Thanks, > > > > > troy > > > > > > > > > > > > > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > > > > * Perl is located in the /usr/bin directory > > > > > > * echo $PATH shows /usr/bin listed > > > > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > > > > v5.6.1 > > > > > > > > > > > > Thanks again for your assistance. > > > > > > > > > > > > Nolan > > > > > > > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > > > > > > > Check the location for perl in your path versus the perl in the #! > > > > > > statement. (or config.status if using embedded perl) > > > > > > > > > > > > -sg > > > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > > > > > > > I would say this was largely because the first time I ran a > > > > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > > > > @INC > > > > > > > path.... Once I adjusted it so that it was in its path, that error > > > > > > went > > > > > > > away. I then received the session error message.... > > > > > > > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > > > > I > > > > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > > > > and > > > > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > > > > installed on the machine. > > > > > > > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > > > > > > > Thanks for your response. > > > > > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > > > > Ummm yes and no :) > > > > > > > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > > > > check_snmp and the SNMP.pm module. > > > > > > > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > > > > perl > > > > > > > snmp manager library implementation. > > > > > > > > > > > > > > the names are confusing similar... the perl modules names are > > > > > > actually > > > > > > > > > > > > > > different. > > > > > > > > > > > > > > -sg > > > > > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > > > > difficulties > > > > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > > > > receive > > > > > > > the > > > > > > > > following error message, when I attempt to run the check_ifstatus > > > > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > > > > (perhaps > > > > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > > > > module > > > > > > > > following the instructions that accompany both of those components. > > > > > > > > > > > > > I > > > > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > > > > again/verify my perl module installation by installing it using > > > > > > the > > > > > > > CPAN > > > > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > > > > configuration. > > > > > > > > Any assistance would be appreciated. > > > > > > > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > > > > the > > > > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > > > > Net-SNMP > > > > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > > > > > > > INSTALLED NET-SNMP > > > > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > > > > * ./configure > > > > > > > > * make > > > > > > > > * umask 022 > > > > > > > > * make install > > > > > > > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > > > > ran: > > > > > > > > perl Makefile.PL > > > > > > > > * make > > > > > > > > * make test > > > > > > > > * make install > > > > > > > > * Since the SNMP.pm was installed to > > > > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > > > > was > > > > > > > that > > > > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > > > > created > > > > > > > a > > > > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > > > > included > > > > > > > > paths, but produces the session error message > > > > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > > > > installing > > > > > > > > it through the CPAN shell: > > > > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > > > > Net::SNMP is up to date. > > > > > > > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > > > Welcome to geek heaven. > > > > > > > > http://thinkgeek.com/sf > > > > > > > > _______________________________________________ > > > > > > > > Nagios-users mailing list > > > > > > > > Nagios-users at lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thutchis at ns2.umesd.k12.or.us Wed Oct 9 17:47:21 2002 From: thutchis at ns2.umesd.k12.or.us (Tom Hutchison) Date: Wed, 09 Oct 2002 08:47:21 -0700 Subject: SNMP? References: <021101c26fa0$322c9bf0$cfdda8c0@JANJNWL105> <20021009151021.GA24196@cast98.easynet.fr> Message-ID: <3DA44F89.7090205@helper.umesd.k12.or.us> Great idea. I was wondering if you could do the same with HP LaserJet Printers. Toner level and/or out of paper. However I have not been able to get ahold of HP JetDirect or HP Printer SNMP MIBs I looked everywhere on www.hp.com. Does anyone know how/where to get HP Printer MIBs Thanks, Tom S. Barbereau wrote: >On Wed, Oct 09, 2002 at 04:28:45PM +0200, Jan Johansson wrote: > > >>Not a direct nagios issue, but i feel the know-how is here. If I have a >>MIB for a device, and want to use snmpget (or more to the point >>check_snmp to get a value. How do I, from the MIB, deduce which OID or >>keyword to query? >> >> >You'll need to parse the MIB file ... >this can be done either by hand (good luck) or using some tools like scotty/tkinetd (on linux) or getif (on windows) > > > >> >> >>I have the standard printing MIB here, and would like to ask a IBM >>printer about its toner level (or general status). >> >> >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- "The only secure Microsoft software is what's still shrink-wrapped in their warehouse..." -------------------------------------------------------------------- Tom Hutchison voice: 541-966-3187 Network Analyst fax: 541-966-3231 Umatilla-Morrow ESD email: thutchis at helper.umesd.k12.or.us ------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Wed Oct 9 17:55:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Oct 2002 10:55:20 -0500 Subject: Multiple nagios monitors in one machine Message-ID: Louie, I don't know why you don't just manually copy a working tree into the 3rd target directory, and manually search/replace pathnames in the config files. jc > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Wednesday, October 09, 2002 2:17 AM > To: Louie Cagasan > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > > > maybe you've done some bad operation by the past in this > directory... did > you tryed to clean the config.cache file before reconfiguring > ? did you tryed to > delete the source tree and to get it again from the tgz > archive and to try to > recompile it ? are you using multiple users for each version > of nagios you plan > to deploy ? if yes, check env var for each users... > > 'hope this help, Freddy. > > On 09 Oct 2002 06:31:28 +0800 > Louie Cagasan wrote: > > > I'm trying to do this on just one machine, e.g., > > > > /opt/nagios/network1 > > /opt/nagios/network2 > > /opt/nagios/network3 > > > > or > > > > /opt/network1/nagios/ > > /opt/network2/nagios > > /opt/network3/nagios > > > > preferably the first one. I've successfully installed and ran two > > monitors, with the first in the directory /opt/nagios and another in > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > successful with doing a third. The configure error is that it's not > > locating those gd,png, and jpg libraries. Which is strange, since > > it worked for the first two. Does anybody know what may be wrong? > > > > TIA, > > Louie > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Wed Oct 9 17:57:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Oct 2002 10:57:20 -0500 Subject: Nagios first time user, install problem. Message-ID: $ make Please supply a command line argument (i.e. 'make all'). Other targets are: nagios cgis contrib clean install install-html install-config install-init install-commandmode fullinstall > -----Original Message----- > From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] > Sent: Wednesday, October 09, 2002 3:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios first time user, install problem. > > > Hello. > > I just compiled Nagios 1.0b5 (i tried 1.0b6 before with the > same problem) on RH 7.3. Compiling completes successfully, or > so it seems. I don`t receive any errors. I carefully follow > the instructions so i dont get lost :) > But the problem is there is no catalogue /usr/local/nagios/etc > > Any ideas ? > > Best Regards > > Stefan Hanssen > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Wed Oct 9 18:14:20 2002 From: jragle at unm.edu (Jamin) Date: Wed, 9 Oct 2002 10:14:20 -0600 (MDT) Subject: SNMP? In-Reply-To: <3DA44F89.7090205@helper.umesd.k12.or.us> References: <3DA44F89.7090205@helper.umesd.k12.or.us> Message-ID: you can also do a /usr/bin/snmpwalk of the device. If you have the correct starting MIB, you can walk through the whole table. On Wed, 9 Oct 2002, Tom Hutchison wrote: > Great idea. I was wondering if you could do the same with HP LaserJet > Printers. Toner level and/or out of paper. However I have not been > able to get ahold of HP JetDirect or HP Printer SNMP MIBs I looked > everywhere on www.hp.com. Does anyone know how/where to get HP Printer MIBs > > Thanks, > Tom > > S. Barbereau wrote: > > >On Wed, Oct 09, 2002 at 04:28:45PM +0200, Jan Johansson wrote: > > > > > >>Not a direct nagios issue, but i feel the know-how is here. If I have a > >>MIB for a device, and want to use snmpget (or more to the point > >>check_snmp to get a value. How do I, from the MIB, deduce which OID or > >>keyword to query? > >> > >> > >You'll need to parse the MIB file ... > >this can be done either by hand (good luck) or using some tools like scotty/tkinetd (on linux) or getif (on windows) > > > > > > > >> > >> > >>I have the standard printing MIB here, and would like to ask a IBM > >>printer about its toner level (or general status). > >> > >> > >> > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > "The only secure Microsoft software is what's still shrink-wrapped > in their warehouse..." > -------------------------------------------------------------------- > Tom Hutchison voice: 541-966-3187 > Network Analyst fax: 541-966-3231 > Umatilla-Morrow ESD email: thutchis at helper.umesd.k12.or.us > ------------------------------------------------------------------- > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ---------------------------------------------------------------------- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Linux is. ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jzhong at gradient.cis.upenn.edu Wed Oct 9 18:33:14 2002 From: jzhong at gradient.cis.upenn.edu (JIHUA ZHONG) Date: Wed, 9 Oct 2002 12:33:14 -0400 (EDT) Subject: check_imap and check_ssh Message-ID: <200210091633.g99GXE2N018245@gradient.cis.upenn.edu> Hi All: I am new to nagios and plugin( all lateste version). but I get them installed and configured on RedHat 7.2. I did add the following services in the file: "NAGIOS_HOME"/etc/services.cfg (NAGIOS_HOME="usr/local/nagios") services: check_ping, check_smtp, check_http, check_ftp, check_pop and then I did verify the configuration and start up the nagios service. everything is great. the problem comes from that: I tried to add other services such as check_imap, chech_ssh in the services.cfg. # imap service on unix5 define service{ #Name of service template to use use generic-service host_name unix5 service_description IMAP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_imap } # ssh service on unix5 define service{ #Name of service template to use use generic-service host_name unix5 service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ssh } when I try to verified this, I got following erro message: # /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 1.0b6 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 09-15-2002 Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check_imap' specified in service 'IMAP' for host 'law' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'law' not defined anywhere! Checked 26 services. ...................... However I did check the plugins, it is working at command line such as # cd /usr/local/nagios/libexec/ # ./check_imap unix5.... IMAP ok - 0 second response time #./check_ssh unix5.... SSH ok - protocol version 2.0-2.0.13 - server version That means plugins for check_IMAP and check_SSH are ok. It is kind of strange and why those service are not verified in the services.cfg but others(such as check_smtp, check_pop, etc) do. anyone has any idea. thanks. Jihua Zhong University of PENN, Law School. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Wed Oct 9 18:35:51 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Wed, 9 Oct 2002 18:35:51 +0200 Subject: SNMP? Message-ID: look at http://www.mibcentral.com/index.shtml -vol > -----Original Message----- > From: Jamin [mailto:jragle at unm.edu] > Sent: Wednesday, October 09, 2002 6:14 PM > To: Tom Hutchison > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SNMP? > > > you can also do a /usr/bin/snmpwalk of the device. If you have the > correct starting MIB, you can walk through the whole table. > > > On Wed, 9 Oct 2002, Tom Hutchison wrote: > > > Great idea. I was wondering if you could do the same with > HP LaserJet > > Printers. Toner level and/or out of paper. However I have > not been > > able to get ahold of HP JetDirect or HP Printer SNMP MIBs I looked > > everywhere on www.hp.com. Does anyone know how/where to > get HP Printer MIBs > > > > Thanks, > > Tom > > > > S. Barbereau wrote: > > > > >On Wed, Oct 09, 2002 at 04:28:45PM +0200, Jan Johansson wrote: > > > > > > > > >>Not a direct nagios issue, but i feel the know-how is > here. If I have a > > >>MIB for a device, and want to use snmpget (or more to the point > > >>check_snmp to get a value. How do I, from the MIB, deduce > which OID or > > >>keyword to query? > > >> > > >> > > >You'll need to parse the MIB file ... > > >this can be done either by hand (good luck) or using some > tools like scotty/tkinetd (on linux) or getif (on windows) > > > > > > > > > > > >> > > >> > > >>I have the standard printing MIB here, and would like to ask a IBM > > >>printer about its toner level (or general status). > > >> > > >> > > >> > > > > > > > > >------------------------------------------------------- > > >This sf.net email is sponsored by:ThinkGeek > > >Welcome to geek heaven. > > >http://thinkgeek.com/sf > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > -- > > "The only secure Microsoft software is what's still shrink-wrapped > > in their warehouse..." > > -------------------------------------------------------------------- > > Tom Hutchison voice: 541-966-3187 > > Network Analyst fax: 541-966-3231 > > Umatilla-Morrow ESD email: thutchis at helper.umesd.k12.or.us > > ------------------------------------------------------------------- > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------------------------------------------------------------------- > I sense much NT in you. > NT leads to Bluescreen. > Bluescreen leads to downtime. > Downtime leads to suffering. > NT is the path to the darkside. > Powerful Linux is. > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Wed Oct 9 18:39:30 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 9 Oct 2002 18:39:30 +0200 Subject: SNMP? In-Reply-To: <3DA44F89.7090205@helper.umesd.k12.or.us> References: <3DA44F89.7090205@helper.umesd.k12.or.us> Message-ID: <022901c26fb2$71d17750$cfdda8c0@JANJNWL105> > Great idea. I was wondering if you could do the same with HP LaserJet > Printers. Toner level and/or out of paper. However I have not been > able to get ahold of HP JetDirect or HP Printer SNMP MIBs I looked > everywhere on www.hp.com. Does anyone know how/where to get HP Printer > MIBs check_hpjd from the nagios plugins will tell you this. >From my Nagios installation printer1 Printer Status WARNING 10-09-2002 16:56:45 0d 2h 56m 12s 4/4 Toner Low ( Hex: 46 41 43 4B 20 32 20 DA 50 50 45 54 ) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From develop at WernerOnline.de Wed Oct 9 18:46:05 2002 From: develop at WernerOnline.de (Frank Werner) Date: Wed, 9 Oct 2002 18:46:05 +0200 Subject: No pipe in external commands Message-ID: <200210091846.05088.develop@WernerOnline.de> Hello, I,ve got problems in notifying me per email. I use a sendEmail (a perl script) to send emails from console. It works great. With nagios it works only when I use the following in misccommands.cfg: --- define command{ command_name notify-by-email command_line sendEmail -m "row1\nrow2\n" -t frank -f Nagios } --- This code sends me an email, but the problem is that the \n is not be substituted. This code should be work, but nothing is happend. No mail, no errors. --- define command{ command_name notify-by-email command_line printf "%b" "row1\nrow2\n" | sendEmail -t frank -f Nagios } --- The code: 'printf "%b" "row1\nrow2\n" | sendEmail -t frank -f Nagios' direct at the console hacked works great: ist sends me an email with two rows in the body. So my concluseion is that the problem has to do with the pipe from printf to sendEmail started from nagios. I have enabled the --DEBUG0..5 in the configure script of nagios, and I get a lot of debugging hints, but this did not solve my problem. Maybe someone out there, who has the same problem and can point me to the right direction. Thanks for any help. Frank ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Wed Oct 9 18:46:52 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Oct 2002 11:46:52 -0500 Subject: check_imap and check_ssh Message-ID: Have you defined check_imap and check_ssh in checkcommands.cfg? jc > -----Original Message----- > From: JIHUA ZHONG [mailto:jzhong at gradient.cis.upenn.edu] > Sent: Wednesday, October 09, 2002 11:33 AM > To: nagios-users at lists.sourceforge.net > Cc: jzhong at gradient.cis.upenn.edu > Subject: [Nagios-users] check_imap and check_ssh > > > Hi All: > > I am new to nagios and plugin( all lateste version). but I get them > installed and configured on RedHat 7.2. > I did add the following services in the file: > "NAGIOS_HOME"/etc/services.cfg (NAGIOS_HOME="usr/local/nagios") > > services: check_ping, check_smtp, check_http, check_ftp, check_pop > > and then I did verify the configuration and start up the > nagios service. > everything is great. > > the problem comes from that: I tried to add other services such as > check_imap, chech_ssh in the services.cfg. > > # imap service on unix5 > define service{ > #Name of service template to use > use generic-service > host_name unix5 > service_description IMAP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups unix-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_imap > } > > # ssh service on unix5 > define service{ > #Name of service template to use > use generic-service > host_name unix5 > service_description SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups unix-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ssh > } > > > when I try to verified this, I got following erro message: > # /usr/local/nagios/bin/nagios -v nagios.cfg > Nagios 1.0b6 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 09-15-2002 > Reading configuration data... > Running pre-flight check on configuration data... > Checking services... > Error: Service check command 'check_imap' specified in > service 'IMAP' for > host 'law' not defined anywhere! > Error: Service check command 'check_ssh' specified in service > 'SSH' for > host 'law' not defined anywhere! > Checked 26 services. > ...................... > > However I did check the plugins, it is working at command > line such as > > # cd /usr/local/nagios/libexec/ > # ./check_imap unix5.... > IMAP ok - 0 second response time > #./check_ssh unix5.... > SSH ok - protocol version 2.0-2.0.13 - server version > > > That means plugins for check_IMAP and check_SSH are ok. > It is kind of strange and why those service are not verified in the > services.cfg but others(such as check_smtp, check_pop, etc) do. > > anyone has any idea. thanks. > > Jihua Zhong > University of PENN, Law School. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 19:52:14 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 13:52:14 -0400 Subject: plugins with perfdata Message-ID: Good morning, i understand that only certain plugins actually provide perfdata. Is there a list somewhere of which plugins provide this data? thanks in advance, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 9 19:57:00 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 9 Oct 2002 13:57:00 -0400 Subject: track ping or other plugin results Message-ID: Good morning, Just looking for a way to track ping results. i have seen a few posts regarding the use of MRTG to monitor the Nagios logs by way of a perl script or two. Anyone want to share how they do this?? Is there a better way? thanks in advance, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From GANESTOS at fisinc.com Wed Oct 9 21:06:37 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Wed, 9 Oct 2002 12:06:37 -0700 Subject: Problem with CGI Message-ID: Hello all- I have installed Nagios on a FreeBSD box and I'm having issues access the website. I believe my issue resides in the httpd.conf file. I'm a bit of a newbie when it comes to Apache. In the directions it tells me to add this...... ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all and this .............. Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Into the the httpd.conf. I guess it does not mater where they go as long as the top one is before the bottom one listed above. Correct? or do they need to go in the Aliases section of the httpd.conf file? If it goes in the script area do I replace the current ones or just add the new ones? Now the /usr/local/nagios section in the above ScriptAlias/Alias is different on my installation. Mine is /netsaint/nagios/sbin which I have adjusted. Also I do not have a /nagios/cgi-bin directory as stated above.....do I need to have one? If so do I just use the default Apache one? Do i need to adjust it like so? ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all And similar with the Alias section? Thanks for your help! G -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at julieanddan.com Wed Oct 9 21:11:03 2002 From: dan at julieanddan.com (dan at julieanddan.com) Date: Wed, 9 Oct 2002 15:11:03 -0400 Subject: check_tcp and expect string? In-Reply-To: References: Message-ID: Sean, I don't have PCAnywhere running so I can't verify this, but the nature of TCP port connections can sometimes be a little flaky especially when using expect. If "Please" is the fist word in the string you are expecting you should probably check for something like "ease" as the first few characters can often get mangled. Daniel Koffler dan at remics.net Tel: 514.497.1411 Fax: 206.600.4642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at julieanddan.com Wed Oct 9 21:19:06 2002 From: dan at julieanddan.com (dan at julieanddan.com) Date: Wed, 9 Oct 2002 15:19:06 -0400 Subject: SNMP MIB definitions In-Reply-To: References: Message-ID: If you're looking for SNMP MIB definitions check out http://www.mibcentral.com they have almost every MIB under the sun in a searchable database. If you can't find what you're looking for there, you can always do it manually. It can get kind of messy, but you can use 'snmpwalk' to walk a device's SNMP tree. You'll only get OIDs and thier values, but if you know what you're looking for, you can generally find it. Daniel Koffler dan at remics.net Tel: 514.497.1411 Fax: 206.600.4642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 9 21:17:59 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 9 Oct 2002 15:17:59 -0400 Subject: Problem with CGI Message-ID: <5593DA408212D511B0910002A513501F01D28770@phsexch20.mgh.harvard.edu> One thing I would check to see is if the default cgi-bin directive is either altered or commented out. I prefer commenting it out rather than altering it in order to have it available as a template. The default directive has the heading "/usr/local/apacheversion number/cgi-bin" should be changed to whatever your ScriptAliased CGI directory exists if you have that configured. Commenting out the default lines and then subsequently restarting the Apache server may help. -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Wednesday, October 09, 2002 3:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with CGI Hello all- I have installed Nagios on a FreeBSD box and I'm having issues access the website. I believe my issue resides in the httpd.conf file. I'm a bit of a newbie when it comes to Apache. In the directions it tells me to add this...... ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all and this .............. Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Into the the httpd.conf. I guess it does not mater where they go as long as the top one is before the bottom one listed above. Correct? or do they need to go in the Aliases section of the httpd.conf file? If it goes in the script area do I replace the current ones or just add the new ones? Now the /usr/local/nagios section in the above ScriptAlias/Alias is different on my installation. Mine is /netsaint/nagios/sbin which I have adjusted. Also I do not have a /nagios/cgi-bin directory as stated above.....do I need to have one? If so do I just use the default Apache one? Do i need to adjust it like so? ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all And similar with the Alias section? Thanks for your help! G -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyc at communitech.net Wed Oct 9 21:31:10 2002 From: troyc at communitech.net (Troy Corbin) Date: Wed, 9 Oct 2002 14:31:10 -0500 (CDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: subhendu- ive just tested with the check_ifstatus from the contrib dir of the newest nagios plugins tarball, and same error: Use of uninitialized value in sprintf at ./check_ifstatus2.pl line 148. What could be causing this? -troy On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > What plugin version are you using? > > -sg > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > i too use the check_ifstatus plugin for a majority of my router > > monitoring. on routers that have an interface that is down, i receive the > > following error if run manually: > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > Thanks, > > troy > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > * Perl is located in the /usr/bin directory > > > * echo $PATH shows /usr/bin listed > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > v5.6.1 > > > > > > Thanks again for your assistance. > > > > > > Nolan > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > Check the location for perl in your path versus the perl in the #! > > > statement. (or config.status if using embedded perl) > > > > > > -sg > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > I would say this was largely because the first time I ran a > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > @INC > > > > path.... Once I adjusted it so that it was in its path, that error > > > went > > > > away. I then received the session error message.... > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > I > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > and > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > installed on the machine. > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > Thanks for your response. > > > > > > > > Nolan > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > Ummm yes and no :) > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > check_snmp and the SNMP.pm module. > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > perl > > > > snmp manager library implementation. > > > > > > > > the names are confusing similar... the perl modules names are > > > actually > > > > > > > > different. > > > > > > > > -sg > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > difficulties > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > receive > > > > the > > > > > following error message, when I attempt to run the check_ifstatus > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > (perhaps > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > module > > > > > following the instructions that accompany both of those components. > > > > > > > I > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > again/verify my perl module installation by installing it using > > > the > > > > CPAN > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > configuration. > > > > > Any assistance would be appreciated. > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > the > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > Net-SNMP > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > INSTALLED NET-SNMP > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > * ./configure > > > > > * make > > > > > * umask 022 > > > > > * make install > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > ran: > > > > > perl Makefile.PL > > > > > * make > > > > > * make test > > > > > * make install > > > > > * Since the SNMP.pm was installed to > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > was > > > > that > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > created > > > > a > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > included > > > > > paths, but produces the session error message > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > installing > > > > > it through the CPAN shell: > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > Net::SNMP is up to date. > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > Nolan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dshurett at gahost.com Wed Oct 9 21:41:47 2002 From: dshurett at gahost.com (Danny Shurett) Date: Wed, 9 Oct 2002 15:41:47 -0400 Subject: Almost there! References: Message-ID: <00c601c26fcb$e7c496e0$6401a8c0@dancpuman> What happens if you go to a web browser and try to open up the webpage for this host? ----- Original Message ----- From: "Seth Hollen" To: Sent: Wednesday, October 09, 2002 11:18 AM Subject: [Nagios-users] Almost there! > Thanks to everyone for their help! My .cfg file problems turned out to > be dure to whitespace before comments and .'s in hostnames > > I got nagios running but I am just trying ping and check_httpd on it's > self. > Check_httpd returns an error > > [root at nagios etc]# ../libexec/check_http 192.168.1.165 > HTTP WARNING: HTTP/1.1 403 Forbidden > It is running and seems to be running fine to me, could this be due to > it being apache 2.0? > > > Take Care, > > Seth Hollen > seth at hollen.org > 727-919-1598 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dshurett at gahost.com Wed Oct 9 21:41:15 2002 From: dshurett at gahost.com (Danny Shurett) Date: Wed, 9 Oct 2002 15:41:15 -0400 Subject: track ping or other plugin results References: Message-ID: <00b801c26fcb$d5143230$6401a8c0@dancpuman> Maybe take a look at HotSaNIC. It would be a separate set of data, but it does give some nice info for history. ----- Original Message ----- From: "Bishop, Dean" To: Sent: Wednesday, October 09, 2002 1:57 PM Subject: [Nagios-users] track ping or other plugin results > Good morning, > > Just looking for a way to track ping results. > > i have seen a few posts regarding the use of MRTG to monitor the Nagios logs > by way of a perl script or two. > > Anyone want to share how they do this?? > > Is there a better way? > > thanks in advance, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From David.Kassemos at DBAdirect.com Wed Oct 9 21:38:21 2002 From: David.Kassemos at DBAdirect.com (Kassemos, David) Date: Wed, 9 Oct 2002 15:38:21 -0400 Subject: check_imap and check_ssh Message-ID: Although the commands and plug-ins exist in the libexec directory the check_command is referencing the file check_commands.cfg. This file defines the MACROs to execute for each service: Example: command_check check_ping refers to the lines in check_commands.cfg (shown below) # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 2000.0,80% -c 5000.0,90% -p 5 } Good Luck David M. Kassemos david.kassemos at dbadirect.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 9 21:44:03 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 9 Oct 2002 15:44:03 -0400 Subject: Problem with CGI Message-ID: <5593DA408212D511B0910002A513501F01D28771@phsexch20.mgh.harvard.edu> The plug-ins are not part of the core program. You will need to download them from the Nagios website. Once downloaded you can extract them and run the configure script and associated make commands to install them into the Nagios directory. -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Wednesday, October 09, 2002 3:42 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem with CGI Thanks Andrew. Quick question for you........ Did my configuration look ok for the directories? Why do I not have a cgi-bin directory in the Nagios directory? Thanks for your help! ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, October 09, 2002 12:18 PM To: 'Garrett Anestos' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problem with CGI One thing I would check to see is if the default cgi-bin directive is either altered or commented out. I prefer commenting it out rather than altering it in order to have it available as a template. The default directive has the heading "/usr/local/apacheversion number/cgi-bin" should be changed to whatever your ScriptAliased CGI directory exists if you have that configured. Commenting out the default lines and then subsequently restarting the Apache server may help. -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Wednesday, October 09, 2002 3:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with CGI Hello all- I have installed Nagios on a FreeBSD box and I'm having issues access the website. I believe my issue resides in the httpd.conf file. I'm a bit of a newbie when it comes to Apache. In the directions it tells me to add this...... ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all and this .............. Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Into the the httpd.conf. I guess it does not mater where they go as long as the top one is before the bottom one listed above. Correct? or do they need to go in the Aliases section of the httpd.conf file? If it goes in the script area do I replace the current ones or just add the new ones? Now the /usr/local/nagios section in the above ScriptAlias/Alias is different on my installation. Mine is /netsaint/nagios/sbin which I have adjusted. Also I do not have a /nagios/cgi-bin directory as stated above.....do I need to have one? If so do I just use the default Apache one? Do i need to adjust it like so? ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all And similar with the Alias section? Thanks for your help! G -------------- next part -------------- An HTML attachment was scrubbed... URL: From jzhong at gradient.cis.upenn.edu Wed Oct 9 22:05:54 2002 From: jzhong at gradient.cis.upenn.edu (JIHUA ZHONG) Date: Wed, 9 Oct 2002 16:05:54 -0400 (EDT) Subject: check_imap and check_ssh In-Reply-To: from "Kassemos, David" at Oct 9, 2002 03:38:21 pm References: Message-ID: <200210092005.g99K5tNM022364@gradient.cis.upenn.edu> Hi Dave and all, Thanks for your message. as Jim said in previous thread I did check the checkcomands.cfg and fixed this problem. I am defintely new to nagios. Thanks again. JZ > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C26FCB.6CA4F770 > Content-Type: text/plain > > Although the commands and plug-ins exist in the libexec directory the > check_command is referencing the file check_commands.cfg. > > This file defines the MACROs to execute for each service: > > Example: > > command_check check_ping > > refers to the lines in check_commands.cfg (shown below) > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 2000.0,80% -c > 5000.0,90% -p 5 > } > > Good Luck > > David M. Kassemos > > david.kassemos at dbadirect.com > > > ------_=_NextPart_001_01C26FCB.6CA4F770 > Content-Type: text/html > > > > > Message > > > >
>

Although the commands and plug-ins exist in > the libexec directory the check_command is referencing the file > check_commands.cfg.

>

This file defines the MACROs to execute > for each service:

>

Example:

>

command_check    check_ping >

>

refers to the lines in check_commands.cfg > (shown below)

>

# 'check_ping' command definition
define > command{
 command_name check_ping
 command_line $USER1$/check_ping > -H $HOSTADDRESS$ -w 2000.0,80% -c 5000.0,90% -p 5
 }

>

Good Luck

>

David M. Kassemos

>

class=477103019-09102002>david.kassemos at dbadirect.com

> > ------_=_NextPart_001_01C26FCB.6CA4F770-- > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Wed Oct 9 22:28:48 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Wed, 09 Oct 2002 15:28:48 -0500 Subject: Check_ifstatus / SNMP.pm problem Message-ID: That did the trick. I removed SNMP.pm and reinstalled the module through the CPAN shell. It now works. Thank you very much. Nolan >>> Subhendu Ghosh 10/09/02 08:07AM >>> then sombody must have installed the perl module by hand. the UCD SNMP extension module should be installed in /usr/lib/perl5/site_perl/5.x.x/SNMP.pm the Net::SNMP modules should be installed in /usr/lib/perl5/site_perl/5.x.x/Net/SNMP.pm /usr/lib/perl5/site_perl/5.x.x/Net/SNMP/* remove the SNMP.pm in the site_perl/5.x.x/Net sub dir and reinstall the module. -sg On Tue, 8 Oct 2002, Nolan Martin wrote: > Executing /usr/bin/perldoc Net::SNMP as root (or as su to root) produces > the error message about superuser (Superuser must not run > /usr.bin/perldoc without security audit and taint checks.) > > Executing it as my account produces the man doc pages. The top snippet > is "SNMP - The Perl5 'SNMP' Extension Module v3.1.0 for the UCD SNMPv3 > Library. > > I checked my path again. I also ran a "find / -name perl" and found > four locations with a perl file. However, only one of those /usr/bin is > within the PATH variable. > > Also, if I do "type perl" I am told perl is /usr/bin/perl > > >>> Subhendu Ghosh 10/07/02 11:29PM >>> > > what does /usr/bin/perldoc Net::SNMP show? > > check your path - you may have another installation of perl 5.6.1 under > > /usr/local before /usr/bin. > > -sg > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > * The check_ifstatus perl script (unchanged) references > /usr/bin/perl > > * Perl is located in the /usr/bin directory > > * echo $PATH shows /usr/bin listed > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > v5.6.1 > > > > Thanks again for your assistance. > > > > Nolan > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > Check the location for perl in your path versus the perl in the #! > > statement. (or config.status if using embedded perl) > > > > -sg > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. > :) > > > > > > I would say this was largely because the first time I ran a > > > check_ifstatus, it complained about not having the SNMP.pm in its > > @INC > > > path.... Once I adjusted it so that it was in its path, that > error > > went > > > away. I then received the session error message.... > > > > > > But, as I mentioned, based on one of your postings in the > archives, > > I > > > separately attempted to install the Net::SNMP through the CPAN > shell > > and > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > installed on the machine. > > > > > > Thoughts or suggestions as to what I am missing or > misunderstanding? > > > > > Thanks for your response. > > > > > > Nolan > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > Ummm yes and no :) > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > check_snmp and the SNMP.pm module. > > > > > > check_ifstatus and friends require Net::SNMP module -which is an > all > > > perl > > > snmp manager library implementation. > > > > > > the names are confusing similar... the perl modules names are > > actually > > > > > > different. > > > > > > -sg > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > I am trying to get check_ifstatus going and am having some > > > difficulties > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > receive > > > the > > > > following error message, when I attempt to run the > check_ifstatus > > > > command from the nagios libexec directory to test it: > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > Can't locate object method "session" via package "Net::SNMP" > > > (perhaps > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > module > > > > following the instructions that accompany both of those > components. > > > > > I > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to > install > > > > again/verify my perl module installation by installing it using > > the > > > CPAN > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > Obviously, I missed some step or have failed to do some > > > configuration. > > > > Any assistance would be appreciated. > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although > there > > > > appears to be an existing 5.6.0 installation as well. I am > using > > > the > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > Net-SNMP > > > > 5.0.5 (released 10/1/2002) > > > > > > > > Here are the steps I went through. > > > > > > > > INSTALLED NET-SNMP > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > * ./configure > > > > * make > > > > * umask 022 > > > > * make install > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > * From the perl subdirectory of the extracted NET-SNMP > directory, > > > ran: > > > > perl Makefile.PL > > > > * make > > > > * make test > > > > * make install > > > > * Since the SNMP.pm was installed to > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > was > > > that > > > > NET-SNMP actually looks for it under a directory named Net, I > > created > > > a > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > included > > > > paths, but produces the session error message > > > > * Tried to install again/verify the SNMP.pm installation by > > > installing > > > > it through the CPAN shell: > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > Net::SNMP is up to date. > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > Nolan > > > > > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Wed Oct 9 22:40:08 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Oct 2002 15:40:08 -0500 Subject: track ping or other plugin results Message-ID: There's HotSaNIC, there's SmokePing.... You might want to take a quick look at the RRD World (RRDTool) page and see what best suits your needs: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/rrdworld/index.html jc > -----Original Message----- > From: Danny Shurett [mailto:dshurett at gahost.com] > Sent: Wednesday, October 09, 2002 2:41 PM > To: Bishop, Dean; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] track ping or other plugin results > > > Maybe take a look at HotSaNIC. It would be a separate set of > data, but it > does give some nice info for history. > > ----- Original Message ----- > From: "Bishop, Dean" > To: > Sent: Wednesday, October 09, 2002 1:57 PM > Subject: [Nagios-users] track ping or other plugin results > > > > Good morning, > > > > Just looking for a way to track ping results. > > > > i have seen a few posts regarding the use of MRTG to > monitor the Nagios > logs > > by way of a perl script or two. > > > > Anyone want to share how they do this?? > > > > Is there a better way? > > > > thanks in advance, > > dean > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Wed Oct 9 22:50:04 2002 From: seth at hollen.org (Seth Hollen) Date: Wed, 9 Oct 2002 16:50:04 -0400 Subject: Almost there! In-Reply-To: <00c601c26fcb$e7c496e0$6401a8c0@dancpuman> References: <00c601c26fcb$e7c496e0$6401a8c0@dancpuman> Message-ID: <000e01c26fd5$74f07cb0$7202a8c0@icarus> It works fine, apache is working, I'm tryign to figure out why the error is reported when there is no error. Take care, Seth seth at opentechinc.net 727-919-1598 -----Original Message----- From: Danny Shurett [mailto:dshurett at gahost.com] Sent: Wednesday, October 09, 2002 3:42 PM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Almost there! What happens if you go to a web browser and try to open up the webpage for this host? ----- Original Message ----- From: "Seth Hollen" To: Sent: Wednesday, October 09, 2002 11:18 AM Subject: [Nagios-users] Almost there! > Thanks to everyone for their help! My .cfg file problems turned out to > be dure to whitespace before comments and .'s in hostnames > > I got nagios running but I am just trying ping and check_httpd on it's > self. Check_httpd returns an error > > [root at nagios etc]# ../libexec/check_http 192.168.1.165 > HTTP WARNING: HTTP/1.1 403 Forbidden > It is running and seems to be running fine to me, could this be due to > it being apache 2.0? > > > Take Care, > > Seth Hollen > seth at hollen.org > 727-919-1598 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios-users at ragweed.net Wed Oct 9 23:23:57 2002 From: nagios-users at ragweed.net (nagios-users at ragweed.net) Date: 09 Oct 2002 16:23:57 -0500 Subject: commandline interface? Message-ID: <1034198637.1208.83.camel@tutter.ragweed.net> Is there a commandline interface for nagios (other than lynx/links), similar to nocol's netconsole? Thanks for your assistance. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Thu Oct 10 00:13:58 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 18:13:58 -0400 (EDT) Subject: Check_ifstatus / SNMP.pm problems In-Reply-To: References: Message-ID: nagiosplug has a supported version in the plugin-scripts dir. could you see what snmpwalk of the following OID returns.. $snmpLocIfDescr = '1.3.6.1.4.1.9.2.2.1.1.28' -sg On Wed, 9 Oct 2002, Troy Corbin wrote: > subhendu- > > ive just tested with the check_ifstatus from the contrib dir of the newest > nagios plugins tarball, and same error: > > Use of uninitialized value in sprintf at ./check_ifstatus2.pl line 148. > > What could be causing this? > > -troy > > > On Tue, 8 Oct 2002, Subhendu Ghosh wrote: > > > > > What plugin version are you using? > > > > -sg > > > > On Mon, 7 Oct 2002, Troy Corbin wrote: > > > > > i too use the check_ifstatus plugin for a majority of my router > > > monitoring. on routers that have an interface that is down, i receive the > > > following error if run manually: > > > > > > mon# ./check_ifstatus -c funkychicken 10.202.69.69 > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > Use of uninitialized value in sprintf at ./check_ifstatus line 148. > > > > > > What is causing this? The box runs Fbsd 4.6-Stable. > > > > > > Also, does anyone know of a way to filter interfaces, ie BRI or PRIs? > > > > > > Thanks, > > > troy > > > > > > > > > > > > On Mon, 7 Oct 2002, Nolan Martin wrote: > > > > > > > * The check_ifstatus perl script (unchanged) references /usr/bin/perl > > > > * Perl is located in the /usr/bin directory > > > > * echo $PATH shows /usr/bin listed > > > > * # perl -v and # /usr/bin/perl -v both find perl and show version > > > > v5.6.1 > > > > > > > > Thanks again for your assistance. > > > > > > > > Nolan > > > > > > > > >>> Subhendu Ghosh 10/05/02 09:30AM >>> > > > > > > > > Check the location for perl in your path versus the perl in the #! > > > > statement. (or config.status if using embedded perl) > > > > > > > > -sg > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > Well, okay, I did confuse SNMP.pm for the Net::SNMP perl module. :) > > > > > > > > > > I would say this was largely because the first time I ran a > > > > > check_ifstatus, it complained about not having the SNMP.pm in its > > > > @INC > > > > > path.... Once I adjusted it so that it was in its path, that error > > > > went > > > > > away. I then received the session error message.... > > > > > > > > > > But, as I mentioned, based on one of your postings in the archives, > > > > I > > > > > separately attempted to install the Net::SNMP through the CPAN shell > > > > and > > > > > received a response that Net::SNMP is up to date ( perl -MCPAN -e > > > > > "install Net::SNMP"). So, if I understand correctly, Net::SNMP is > > > > > installed on the machine. > > > > > > > > > > Thoughts or suggestions as to what I am missing or misunderstanding? > > > > > > > > > Thanks for your response. > > > > > > > > > > Nolan > > > > > > > > > > > > > > > >>> Subhendu Ghosh 10/04/02 02:38PM >>> > > > > > Ummm yes and no :) > > > > > > > > > > NET-SNMP package includes the snmp command line utilities used by > > > > > check_snmp and the SNMP.pm module. > > > > > > > > > > check_ifstatus and friends require Net::SNMP module -which is an all > > > > > perl > > > > > snmp manager library implementation. > > > > > > > > > > the names are confusing similar... the perl modules names are > > > > actually > > > > > > > > > > different. > > > > > > > > > > -sg > > > > > > > > > > On Fri, 4 Oct 2002, Nolan Martin wrote: > > > > > > > > > > > I am trying to get check_ifstatus going and am having some > > > > > difficulties > > > > > > getting NET-SNMP and the Perl SNMP module configured properly. > > > > > > > > > > > > I have installed both NET-SNMP and the SNMP.pm, but I still > > > > receive > > > > > the > > > > > > following error message, when I attempt to run the check_ifstatus > > > > > > command from the nagios libexec directory to test it: > > > > > > > > > > > > # ./check_ifstatus -H 10.5.1.11 > > > > > > Can't locate object method "session" via package "Net::SNMP" > > > > > (perhaps > > > > > > you forgot to load "Net::SNMP"?) at ./check_ifstatus line 128. > > > > > > > > > > > > As I mentioned, I installed NET-SNMP and installed the SNMP perl > > > > > module > > > > > > following the instructions that accompany both of those components. > > > > > > > > > I > > > > > > also followed Subhendu Ghosh's postings from August 21st (RE: > > > > > > [Nagios-users] SNMP.pm Solution/problem) and attempted to install > > > > > > again/verify my perl module installation by installing it using > > > > the > > > > > CPAN > > > > > > shell. That attempt returns that Net::SNMP is up to date. > > > > > > > > > > > > Obviously, I missed some step or have failed to do some > > > > > configuration. > > > > > > Any assistance would be appreciated. > > > > > > > > > > > > My system is Red Hat 7.3. I am running Perl 5.6.1, although there > > > > > > appears to be an existing 5.6.0 installation as well. I am using > > > > > the > > > > > > Nagios Plugins v1.3 Beta1 plugins and the latest version of > > > > Net-SNMP > > > > > > 5.0.5 (released 10/1/2002) > > > > > > > > > > > > Here are the steps I went through. > > > > > > > > > > > > INSTALLED NET-SNMP > > > > > > * Downloaded and extracted Net-SNMP 5.0.5 > > > > > > * ./configure > > > > > > * make > > > > > > * umask 022 > > > > > > * make install > > > > > > > > > > > > INSTALLED / VERIFIED PERL SNMP MODULE > > > > > > * From the perl subdirectory of the extracted NET-SNMP directory, > > > > > ran: > > > > > > perl Makefile.PL > > > > > > * make > > > > > > * make test > > > > > > * make install > > > > > > * Since the SNMP.pm was installed to > > > > > > /usr/lib/perl5/site_perl/5.6.1/i386-linux, but my understanding > > > > was > > > > > that > > > > > > NET-SNMP actually looks for it under a directory named Net, I > > > > created > > > > > a > > > > > > directory named Net and copied SNMP.pm to that folder as well. > > > > > > * Executing the check_ifstatus now finds the SNMP.pm in its > > > > included > > > > > > paths, but produces the session error message > > > > > > * Tried to install again/verify the SNMP.pm installation by > > > > > installing > > > > > > it through the CPAN shell: > > > > > > perl -MCPAN -e "install Net::SNMP" - That attempt returns that > > > > > > Net::SNMP is up to date. > > > > > > > > > > > > Thanks in advance for any assistance you can provide. > > > > > > > > > > > > Nolan > > > > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Thu Oct 10 00:16:37 2002 From: greis at grinco.de (Olaf Greis) Date: Thu, 10 Oct 2002 00:16:37 +0200 Subject: Fwd: RE: Nagios Daemon not starting Message-ID: <200210100016.37358@grinco.de> hello, maybe a /etc/init.d/nagios test would be a good addition to the init script. actually the -v options is used in the existing script but is piped to /dev/null. brdgs olaf ---------- Weitergeleitete Nachricht ---------- Subject: RE: [Nagios-users] Nagios Daemon not starting Date: Wed, 9 Oct 2002 07:44:19 -0400 From: "Bishop, Dean" To: "'Andrew Meyer'" , nagios-users at lists.sourceforge.net have you run a verification on your configs? if everything is default: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg a log will be in /usr/local/nagios/var/nagios.log and perhaps also in your /var/log/messages hth, dean -----Original Message----- From: Andrew Meyer [mailto:andrewm659 at hotmail.com] Sent: Tuesday, October 08, 2002 6:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Daemon not starting Hi, I'm trying to run nagios on a Mandrake 8.2/9.0 box. I have nagios all setup and ready to go as far as the web interface. But when the computer starts and begins to start the daemons, nagios, either starts and then sotp immidiately or doens't start at all. I'm not sure what's going on and i can't find a log for it. Andrew Meyer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Thu Oct 10 00:21:10 2002 From: greis at grinco.de (Olaf Greis) Date: Thu, 10 Oct 2002 00:21:10 +0200 Subject: Almost there! In-Reply-To: <000e01c26fd5$74f07cb0$7202a8c0@icarus> References: <000e01c26fd5$74f07cb0$7202a8c0@icarus> Message-ID: <200210100021.10937@grinco.de> hi there, what does it say in the apache access log and what does it say in the apache error log? brdgs olaf Am Mittwoch, 9. Oktober 2002 22:50 schrieb Seth Hollen: > It works fine, apache is working, I'm tryign to figure out why the error > is reported when there is no error. > > Take care, > -----Original Message----- > From: Danny Shurett [mailto:dshurett at gahost.com] > Sent: Wednesday, October 09, 2002 3:42 PM > To: Seth Hollen; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Almost there! > > > What happens if you go to a web browser and try to open up the webpage > for this host? > > > ----- Original Message ----- > From: "Seth Hollen" > To: > Sent: Wednesday, October 09, 2002 11:18 AM > Subject: [Nagios-users] Almost there! > > > Thanks to everyone for their help! My .cfg file problems turned out to > > > > be dure to whitespace before comments and .'s in hostnames > > > > I got nagios running but I am just trying ping and check_httpd on it's > > > > self. Check_httpd returns an error > > > > [root at nagios etc]# ../libexec/check_http 192.168.1.165 > > HTTP WARNING: HTTP/1.1 403 Forbidden > > It is running and seems to be running fine to me, could this be due to > > > > it being apache 2.0? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cristian at alestraidc.net.mx Thu Oct 10 01:10:03 2002 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Wed, 9 Oct 2002 18:10:03 -0500 Subject: Problem backslash In-Reply-To: <3DA31798.5040208@sbcglobal.net> References: <3DA31798.5040208@sbcglobal.net> Message-ID: Hi, when recive notification via mail, all lines are ok, only one are bad.. on $OUTPUT$, when the value is c:\ or other drive only print Aditional Info: C: no, backslash and no more info... this is me miscomands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/local/bin/gprintf "Nagios dice:\n\n\nServicio: $SERVICEDESC$\nHost: $HOSTALIAS$\nDireccion: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nFecha/Hora: $DATETIME$\n\nInfo Adicional:\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ es $SERVICESTATE$ **" $CONTACTEMAIL$ } Note 1.- gprintf is sh-utils part. OS FreeBSD Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From GANESTOS at fisinc.com Thu Oct 10 02:08:28 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Wed, 9 Oct 2002 17:08:28 -0700 Subject: Install issue Message-ID: Hello all- I apologize if this has been already addressed........ I'm to the point of the install where I run MAKE INSTALL-INIT...it fails. It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 Any help would be appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Oct 10 03:07:42 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 21:07:42 -0400 (EDT) Subject: [Nagiosplug-devel] FW: nagios fixes In-Reply-To: References: Message-ID: Thanks could you post them as individual patches on sourceforge. -sg On Wed, 9 Oct 2002, peter riegersperger wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi! > > we had some problems with two plugins (check_dhcp and check_http) > that our c programming guy fixed for me. > > check_dhcp was unable to bind port 68 (not running as root!) and > checl_http had some problems communicating with icecast. > > find below a comment on how to fix both. i hope this is of any use > and went to the right people. > > greetings, > > rick > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > > > -----Original Message----- > > check_dhcp needs to bind port 68 which requires root privileges. > > rather than running all tests as root, i added "setuid( 0 );" in > > main before openening the socket and changed the perms "chmod > > u+s". > > > > check_http didn't work correctly with our icecast server. for some > > reason, the last recv after a correct response didn't return 0, but > > -1 and errno set to ECONNRESET. i still don't know, why this > > happens, but the quickest way to work around it, is to replace > > > > if (i < 0) > > { > > terminate (STATE_CRITICAL, "Error in recv()"); > > } > > > > with > > if (i < 0 && errno != ECONNRESET ) > > { > > terminate (STATE_CRITICAL, "Error in recv()"); > > } > > > > in check_http > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > Comment: public key available at http://home.subnet.at/rick/pgp/ > > iQA/AwUBPaPziCDD9/SWDsvSEQKQXACfS17WYNDTEJIm6wjea9IP4iO61RUAoMyx > JSFnjBw+ZXQjWlcXUYNhK7pr > =XAlp > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagiosplug-devel mailing list > Nagiosplug-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Thu Oct 10 03:09:58 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 21:09:58 -0400 (EDT) Subject: Authoritative answer required on check_dig or check_dns? In-Reply-To: <1034176358.1504.18.camel@tutter.ragweed.net> References: <1034176358.1504.18.camel@tutter.ragweed.net> Message-ID: not currently - its on the list of things to do for check_dns including migrating from nslookup to host. -sg On 9 Oct 2002, nagios-users at ragweed.net wrote: > All - > > Is there a way to require an authoritative answer from a nameserver > using either check_dig|check_dns, similar to the AUTH directive in > nocol's nsmon? > > (from nocol's nsmon-config: > # Append the word 'AUTH' after the ipaddress if an authorative answer is > # required. By default AA is false. ) > > I need to check that a primary nameserver for a domain actually answers > authoritatively for it, not just whether it gives a basic answer. > > Any pointers are appreciated. I found no similar mention in any of the > mailing lists or documentation. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Thu Oct 10 03:11:01 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Oct 2002 21:11:01 -0400 (EDT) Subject: Install issue In-Reply-To: References: Message-ID: would be nice to know what OS you are dealing with? -sg On Wed, 9 Oct 2002, Garrett Anestos wrote: > > Hello all- > > I apologize if this has been already addressed........ > > I'm to the point of the install where I run MAKE INSTALL-INIT...it fails. > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > Any help would be appreciated! > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Oct 10 04:32:52 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 09 Oct 2002 21:32:52 -0500 Subject: ecalations In-Reply-To: References: Message-ID: <3DA4A084.1883.104FB5E@localhost> This behavior is by design. One question would be why are you leaving the vol-sms contacts out of the notification loop after the 2nd notification? If for some reason they miss the only notification that gets sent to them, they'll never hear about the problem again. On 9 Oct 2002 at 15:55, Volker.Aust at premiere.de wrote: > Like Russell Scibetti (020820 and 020821) and Daris Drake (020826) I have > one or two problems (or need to clearing up) with escalations. The Nagios > host was an Solaris8 x86 server with Nagios 1.0b6. A short outline of the > configuration (an excerpt is at the bottom of the mail): > > I have a host with one active and one passive (check_freshness 0, > check_period none) service check and two service escalations for each > service check. All contacts have 24x7 notification_period and at least c,r > as notification_options. > > For the active service check I get the following notifications when the > service goes critical (time x) and 3 hours later ok: > > x+5 min critical notification to unix-admins > x+15 min critical notification to unix-admins and vol-sms > x+75 min critical notification to unix-admins > x+135 min critical notification to unix-admins > x+180 min recovery notification to unix-admins > > The concrete question is why is the recovery notification not send to > vol-sms? A possible explanation was that Nagios sends only recovery > notifications to those contacts which gets the _last_ error notification (or > are contacts of the current escalation). If the service is only a half hour > critical Nagios send out the following notifications: > > x+5 min critical notification to unix-admins > x+15 min critical notification to unix-admins and vol-sms > x+30 min recovery notification to unix-admins and vol-sms > > IMHO would it be better to send _all_ contacts the recovery notification > which gets a critical notification. Or is there something wrong in my > configuration? > > For the passive service check I get the following notifications when the > service goes critical (time y) and 3 hours later ok: > > y critical notification to unix-admins > y+180 min recovery notification to unix-admins > > I do not understand why the escalation config is not performed? Does Nagios > only checks for notifications and escalations when the result of a check > (active or passive) is processed? Or can I tune my configuration so that > escalations perform also for passive service checks? > > Comments and help is very much appreciated. > > -vol > > > > define host{ > host_name holi-alt > ... > } > > # service definition template > define service{ > name generic-service > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > register 0 > ... > } > > # passive service definition template > define service{ > use generic-service > name passive-service > check_command check-alive > max_check_attempts 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period none > notification_options c,r > register 0 > } > > define service{ > use passive-service > host_name holi-alt > service_description test-passiv > contact_groups unix-admins > notification_interval 10 > } > > define service{ > use generic-service > host_name holi-alt > service_description test-aktiv > contact_groups unix-admins > notification_interval 10 > check_command check_http3!-u /test.html!-s Systemservice > } > > define serviceescalation{ > host_name holi-alt > service_description test-passiv > first_notification 2 > last_notification 2 > notification_interval 60 > contact_groups unix-admins,vol-sms > } > > define serviceescalation{ > host_name holi-alt > service_description test-passiv > first_notification 3 > last_notification 0 > notification_interval 60 > contact_groups unix-admins > } > > define serviceescalation{ > host_name holi-alt > service_description test-aktiv > first_notification 2 > last_notification 2 > notification_interval 60 > contact_groups unix-admins,vol-sms > } > > define serviceescalation{ > host_name holi-alt > service_description test-aktiv > first_notification 3 > last_notification 0 > notification_interval 60 > contact_groups unix-admins > } > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anoopa at hotmail.com Thu Oct 10 07:49:23 2002 From: anoopa at hotmail.com (ANOOP ATRE) Date: Thu, 10 Oct 2002 05:49:23 +0000 Subject: nagiosplugin bad interpreter issue Message-ID: thanks for the response > > Could some one point me to where I can get the check_snmp > > plugin I swear I looked everywhere!!! Maybe I just have overlooked > > it in the dev-cvs (?) > >you need to have the snmp package from net-snmp.sf.net installed on your >system for check_snmp target to compile. (see you configure errors.) I thought the Net::SNMP from CPAN would suffice I'll try net-snmp first thing in the morning. when you say 'see you configure errors' do you mean check_snmp has the sprintf errors I got with check_ifstatus? : ) and actually I was looking for the check_snmp.c file itself which I just found in the plugins directory! > > > > One of the other issues which is not getting resolved even > > after the usual google | manual | faq processes is that > > I keep getting 'bad interpreter' errors compiling on some > > of the plugins or even running the file, perl location etc is as > > declared in the files, any suggestions on this will be appreciated. > > > >post a snippet and OS info. OS info: Linux version 2.4.18-10 (gcc version 2.96 (Red Hat Linux 7.3)) snippet of the code? or error message? the error message is similar to: bash: ./checkciscotemp.pl: /usr/bin/perl: bad interpreter: Permission denied that one is when I try to run the check cisco temp perl plugin with a -h option. I've gone through so many iterations I've forgotten the exact file that gave me this problem I'll post when I test them again. On the whole I have nagios doing checks I need, the error prone ones are to better the setup. > > > On another note I don't know how I could post my last email to the > > list from my work email since I'd signed up through my hot(spam)mail account > > !?! > > > >you have to be signed up in order to post - helps cut down on the spam to >the list. exactly my point : ) I had signed up through one email address but could post through another! ~ _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Thu Oct 10 09:38:48 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Thu, 10 Oct 2002 09:38:48 +0200 Subject: Experiencing checking problems Message-ID: Hey, it's me again ;-) Since a few days I'm experiencing heavy problems with Nagios, currently running 1.0b4. Nagios only checks all hosts and services once after a SIGHUP to the nagios process itself. After this check no more checks are being carried out... Only on two hosts - but it doesn't seem to be a logical choice which hosts are checked further on. No change at all at the main configuration files of nagios. Hope anyone can help out again here, important Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Thu Oct 10 09:48:54 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 10 Oct 2002 09:48:54 +0200 Subject: commandline interface? References: <1034198637.1208.83.camel@tutter.ragweed.net> Message-ID: <3DA530E6.1C5DF905@gcc.dhl.com> http://www.netsaint.org/download/contrib/addons/cl_status.tar.gz works perfectly fine on NetSaint, you might want to give it a go on Nagios. "nagios-users at ragweed.net" wrote: > > Is there a commandline interface for nagios (other than lynx/links), > similar to nocol's netconsole? > > Thanks for your assistance. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jmsuarez at betybyte.com Thu Oct 10 12:19:20 2002 From: jmsuarez at betybyte.com (Jose M. Suarez) Date: Thu, 10 Oct 2002 12:19:20 +0200 Subject: About groups Message-ID: <000101c27046$973accf0$2a090a0a@betybyte.local> Hi people, I'm setting up Nagios and I have a doubt that I didn't find it, How to use hostgroups in service definitions? Instead of have a huge list that: define service{ host_name firewall1,render,web1,web2,web3,web4,juego1,juego2,juego3,juego4,juego5, juego6,juego7,juego8,juego9,nfs,webtrends,web-interno,estadisticas,chat, dryumi-bdc,drinfierno,bigfoot,genociderf9,drkabutopdc,brutusm3 I want to define this by hostgroups. Thanks. Jose ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From czwecker at sysctl.de Thu Oct 10 13:28:08 2002 From: czwecker at sysctl.de (Christophe Zwecker) Date: 10 Oct 2002 13:28:08 +0200 Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' In-Reply-To: References: Message-ID: <1034249291.23467.56.camel@fry.sysctl.de> yeah, thx alot, fixed that, however now nagios tells me the check_none cmd is not defined, thats true, but how would that definition have to look like in checkcommands.cfg ? best regards, Christophe On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > you must specify a normal_check_interval and retry_check_interval > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Wednesday, October 09, 2002 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, > retry_interval, or notification_interval value for service 'Port > Scans'on host 'gate' > > > Hi, > > im trying to implement portsentry into nagios, I did as in Documention > my services entry is as follows: > > define service{ > host_name gate > service_description Port Scans > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_none > } > > when restarting nagios I get this: > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_interval value for service 'Port Scans' > on host 'gate' > > whats wrong ? > > thx and best regards, > > Christophe > > > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Thu Oct 10 13:40:13 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Thu, 10 Oct 2002 13:40:13 +0200 Subject: Error while compiling with MySQL database support Message-ID: <000e01c27051$cbdc75c0$13121bac@pc1072> Hi, I want to compile Nagios with MySQL database support, but I get the following error: /tmp/cc1ybAd3.o: In function `xdddb_read_service_downtime': /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/nagios-1.0b6/base? make: *** [all] Fehler 2 Can anybody help me? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 13:45:55 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 07:45:55 -0400 Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Message-ID: that depends on what you are trying to accomplish here. i am going to guess that you are setting up a passive check. Provided that this is the case then just use any valid command from checkcommands.cfg (e.g. check_host_alive) and set its check_period to "none" and provide valid parameters for the rest of the required service parameters. If you want a dummy check then use check_dummy![0/1/2] 0=OK,1=WARNING,2=CRITICAL hth, dean -----Original Message----- From: Christophe Zwecker [mailto:czwecker at sysctl.de] Sent: Thursday, October 10, 2002 7:28 AM To: Bishop, Dean Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' yeah, thx alot, fixed that, however now nagios tells me the check_none cmd is not defined, thats true, but how would that definition have to look like in checkcommands.cfg ? best regards, Christophe On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > you must specify a normal_check_interval and retry_check_interval > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Wednesday, October 09, 2002 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, > retry_interval, or notification_interval value for service 'Port > Scans'on host 'gate' > > > Hi, > > im trying to implement portsentry into nagios, I did as in Documention > my services entry is as follows: > > define service{ > host_name gate > service_description Port Scans > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_none > } > > when restarting nagios I get this: > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_interval value for service 'Port Scans' > on host 'gate' > > whats wrong ? > > thx and best regards, > > Christophe > > > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 13:57:17 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 07:57:17 -0400 Subject: Problem backslash Message-ID: try this instead: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e 'Nagios dice:\n\n\nServicio: $SERVICEDESC$\nHost: $HOSTALIAS$\nDireccion: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nFecha/Hora: $DATETIME$\n\nInfo Adicional:\n$OUTPUT$' | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ es $SERVICESTATE$ **" $CONTACTEMAIL$ } note that you will need to insert your path to echo. also note that the double-quotes were replaced with single quotes. dean dream outloud -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, October 09, 2002 7:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem backslash Hi, when recive notification via mail, all lines are ok, only one are bad.. on $OUTPUT$, when the value is c:\ or other drive only print Aditional Info: C: no, backslash and no more info... this is me miscomands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/local/bin/gprintf "Nagios dice:\n\n\nServicio: $SERVICEDESC$\nHost: $HOSTALIAS$\nDireccion: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nFecha/Hora: $DATETIME$\n\nInfo Adicional:\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ es $SERVICESTATE$ **" $CONTACTEMAIL$ } Note 1.- gprintf is sh-utils part. OS FreeBSD Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From czwecker at sysctl.de Thu Oct 10 14:02:58 2002 From: czwecker at sysctl.de (Christophe Zwecker) Date: 10 Oct 2002 14:02:58 +0200 Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' In-Reply-To: References: Message-ID: <1034251379.23467.59.camel@fry.sysctl.de> hi , thx for your input. Im trying to setup a sensor for Portsentry (which runs on our gateway) as per Nagios Dokumentation: http://nagios.sourceforge.net/docs/1_0/int-portsentry.html Now I just inserted a cmd (check_procs) and set check_period to none. Now I see a big "P" next to the service on the Nagios page. Hope thats ok, im gonna try a portscan now On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote: > that depends on what you are trying to accomplish here. > > i am going to guess that you are setting up a passive check. Provided that > this is the case then just use any valid command from checkcommands.cfg > (e.g. check_host_alive) and set its check_period to "none" and provide valid > parameters for the rest of the required service parameters. > > If you want a dummy check then use check_dummy![0/1/2] > 0=OK,1=WARNING,2=CRITICAL > > hth, > dean > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Thursday, October 10, 2002 7:28 AM > To: Bishop, Dean > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, > r etry_interval, or notification_interval value for service 'Port > Scans'on host 'gate' > > > yeah, thx alot, fixed that, however now nagios tells me the check_none > cmd is not defined, thats true, but how would that definition have to > look like in checkcommands.cfg ? > > best regards, > > Christophe > > On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > > you must specify a normal_check_interval and retry_check_interval > > > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > > -----Original Message----- > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > Sent: Wednesday, October 09, 2002 10:48 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, > > retry_interval, or notification_interval value for service 'Port > > Scans'on host 'gate' > > > > > > Hi, > > > > im trying to implement portsentry into nagios, I did as in Documention > > my services entry is as follows: > > > > define service{ > > host_name gate > > service_description Port Scans > > is_volatile 1 > > active_checks_enabled 0 > > passive_checks_enabled 1 > > max_check_attempts 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_none > > } > > > > when restarting nagios I get this: > > Error: Invalid max_attempts, check_interval, retry_interval, or > > notification_interval value for service 'Port Scans' > > on host 'gate' > > > > whats wrong ? > > > > thx and best regards, > > > > Christophe > > > > > > -- > > Christophe Zwecker > > :Sysctl > > Susannenstr. 26-28 > > 20357 Hamburg > > phon/fax: +49 40 43099296/7 > > mail: czwecker at sysctl.de > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 14:06:31 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 08:06:31 -0400 Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' Message-ID: yes, i think that you are fine. Where do you see a "P"? i am guessing that this means pending, which is the expected state. -----Original Message----- From: Christophe Zwecker [mailto:czwecker at sysctl.de] Sent: Thursday, October 10, 2002 8:03 AM To: Bishop, Dean Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' hi , thx for your input. Im trying to setup a sensor for Portsentry (which runs on our gateway) as per Nagios Dokumentation: http://nagios.sourceforge.net/docs/1_0/int-portsentry.html Now I just inserted a cmd (check_procs) and set check_period to none. Now I see a big "P" next to the service on the Nagios page. Hope thats ok, im gonna try a portscan now On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote: > that depends on what you are trying to accomplish here. > > i am going to guess that you are setting up a passive check. Provided that > this is the case then just use any valid command from checkcommands.cfg > (e.g. check_host_alive) and set its check_period to "none" and provide valid > parameters for the rest of the required service parameters. > > If you want a dummy check then use check_dummy![0/1/2] > 0=OK,1=WARNING,2=CRITICAL > > hth, > dean > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Thursday, October 10, 2002 7:28 AM > To: Bishop, Dean > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, > r etry_interval, or notification_interval value for service 'Port > Scans'on host 'gate' > > > yeah, thx alot, fixed that, however now nagios tells me the check_none > cmd is not defined, thats true, but how would that definition have to > look like in checkcommands.cfg ? > > best regards, > > Christophe > > On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > > you must specify a normal_check_interval and retry_check_interval > > > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > > -----Original Message----- > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > Sent: Wednesday, October 09, 2002 10:48 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, > > retry_interval, or notification_interval value for service 'Port > > Scans'on host 'gate' > > > > > > Hi, > > > > im trying to implement portsentry into nagios, I did as in Documention > > my services entry is as follows: > > > > define service{ > > host_name gate > > service_description Port Scans > > is_volatile 1 > > active_checks_enabled 0 > > passive_checks_enabled 1 > > max_check_attempts 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_none > > } > > > > when restarting nagios I get this: > > Error: Invalid max_attempts, check_interval, retry_interval, or > > notification_interval value for service 'Port Scans' > > on host 'gate' > > > > whats wrong ? > > > > thx and best regards, > > > > Christophe > > > > > > -- > > Christophe Zwecker > > :Sysctl > > Susannenstr. 26-28 > > 20357 Hamburg > > phon/fax: +49 40 43099296/7 > > mail: czwecker at sysctl.de > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Oct 10 14:48:57 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 14:48:57 +0200 Subject: Error while compiling with MySQL database support In-Reply-To: <000e01c27051$cbdc75c0$13121bac@pc1072> References: <000e01c27051$cbdc75c0$13121bac@pc1072> Message-ID: <20021010144857.244d097b.freddy.frouin@fluxus.net> I do not see in the detail you've submit if it is a problem of compilation or at the binary dynamic linking stage ?? yet there is 2 possibility: - gcc could not find mysql include - ld could not find mysql lib yet... I see that in the submited output you provide to us: collect2: ld returned 1 exit status so, it is probably the second case. Yet maybe you've the both problems... ??? please post the last line with any error during compilation. what OS are you using to compile this ? On Thu, 10 Oct 2002 13:40:13 +0200 Nicole H?hnel wrote: > Hi, > > I want to compile Nagios with MySQL database support, > but I get the following error: > > /tmp/cc1ybAd3.o: In function `xdddb_read_service_downtime': > /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' > /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' > /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' > /usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' > collect2: ld returned 1 exit status > make[1]: *** [nagios] Fehler 1 > make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/nagios-1.0b6/base? > make: *** [all] Fehler 2 > > > Can anybody help me? > > > Thanks! > > Nicole > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Thu Oct 10 14:56:43 2002 From: seth at hollen.org (Seth Hollen) Date: Thu, 10 Oct 2002 08:56:43 -0400 Subject: Almost there! In-Reply-To: References: Message-ID: I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Thu Oct 10 14:58:38 2002 From: seth at hollen.org (Seth Hollen) Date: Thu, 10 Oct 2002 08:58:38 -0400 Subject: Almost there! In-Reply-To: References: Message-ID: [root at nagios nagios]# ./libexec/check_http -H yahoo.com HTTP ok: HTTP/1.1 302 Found - 1 second response time Could it be b/c I'm checking myself and not an external server? Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 15:24:06 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 09:24:06 -0400 Subject: Almost there! Message-ID: is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Thu Oct 10 15:31:36 2002 From: seth at hollen.org (Seth Hollen) Date: Thu, 10 Oct 2002 09:31:36 -0400 Subject: Almost there! In-Reply-To: References: Message-ID: Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 15:41:17 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 09:41:17 -0400 Subject: Almost there! Message-ID: what is in your apache logs? /var/log/httpd/access_log and /var/log/httpd/error_log?? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 9:32 AM To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Thu Oct 10 15:40:52 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Thu, 10 Oct 2002 15:40:52 +0200 Subject: About groups In-Reply-To: <000101c27046$973accf0$2a090a0a@betybyte.local> References: <000101c27046$973accf0$2a090a0a@betybyte.local> Message-ID: 'hostgroup_name pc-group' http://nagios.sourceforge.net/docs/1_0/templatetricks.html Greetings Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jose M. Suarez Sent: Thursday, October 10, 2002 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] About groups Hi people, I'm setting up Nagios and I have a doubt that I didn't find it, How to use hostgroups in service definitions? Instead of have a huge list that: define service{ host_name firewall1,render,web1,web2,web3,web4,juego1,juego2,juego3,juego4,juego5, juego6,juego7,juego8,juego9,nfs,webtrends,web-interno,estadisticas,chat, dryumi-bdc,drinfierno,bigfoot,genociderf9,drkabutopdc,brutusm3 I want to define this by hostgroups. Thanks. Jose ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Thu Oct 10 15:51:40 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 10 Oct 2002 21:51:40 +0800 Subject: Multiple nagios monitors in one machine In-Reply-To: References: Message-ID: <1034257901.11924.13.camel@expedient.skycablenet.com> Hi Jim and Freddy, I tried doing that by copying the missing cgi files statusmap.cgi, trends.cgi and histogram.cgi but when I ran that instance of nagios and click on the statusmap, it says it can't find the ORIGINAL directory these cgi files were originally compiled for. so it won't work. As for Freddy's comments, what I did was treat every installation like a new installation: deleting the source tree then getting the files from the tarball but apparently, it can't locate the gd libraries for these 3 cgi files from /usr/lib or /usr/local/lib and /usr/include and /usr/local/include. But the thing is: if it can't locate the gd library, why was I able to install it in the first place? Go figure... Would Ethan Galstad have an answer for this you think? Hi Ethan! =) Thanks, Louie On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > Louie, I don't know why you don't just manually copy a working tree into the > 3rd target directory, and manually search/replace pathnames in the config > files. > > jc > > > -----Original Message----- > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Sent: Wednesday, October 09, 2002 2:17 AM > > To: Louie Cagasan > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > > > > > > maybe you've done some bad operation by the past in this > > directory... did > > you tryed to clean the config.cache file before reconfiguring > > ? did you tryed to > > delete the source tree and to get it again from the tgz > > archive and to try to > > recompile it ? are you using multiple users for each version > > of nagios you plan > > to deploy ? if yes, check env var for each users... > > > > 'hope this help, Freddy. > > > > On 09 Oct 2002 06:31:28 +0800 > > Louie Cagasan wrote: > > > > > I'm trying to do this on just one machine, e.g., > > > > > > /opt/nagios/network1 > > > /opt/nagios/network2 > > > /opt/nagios/network3 > > > > > > or > > > > > > /opt/network1/nagios/ > > > /opt/network2/nagios > > > /opt/network3/nagios > > > > > > preferably the first one. I've successfully installed and ran two > > > monitors, with the first in the directory /opt/nagios and another in > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > successful with doing a third. The configure error is that it's not > > > locating those gd,png, and jpg libraries. Which is strange, since > > > it worked for the first two. Does anybody know what may be wrong? > > > > > > TIA, > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Hanssen at baerum.kommune.no Thu Oct 10 16:00:39 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Thu, 10 Oct 2002 16:00:39 +0200 Subject: Web problem... Message-ID: Earlier today i got Nagios up and running, and its running just great, at least for what i have tested so far. But at some point i lost the graphics on the web page. I have not deleted any files, the images catalogue exists under /usr/local/nagios/share so everything should be there. I can see everything (but images) so the web pages looks rather stupid. I have looked through the FAQ, unable to find anything matching my problem. Does anyone have a clue ? Best regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Oct 10 16:01:43 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 16:01:43 +0200 Subject: Multiple nagios monitors in one machine In-Reply-To: <1034257901.11924.13.camel@expedient.skycablenet.com> References: <1034257901.11924.13.camel@expedient.skycablenet.com> Message-ID: <20021010160143.4b2e4d6d.freddy.frouin@fluxus.net> yet you didn't answered my question... how many users are you using to manage this 3 nagios serveurs ? On 10 Oct 2002 21:51:40 +0800 Louie Cagasan wrote: > Hi Jim and Freddy, > > I tried doing that by copying the missing cgi files statusmap.cgi, > trends.cgi and histogram.cgi but when I ran that instance of nagios and > click on the statusmap, it says it can't find the ORIGINAL directory > these cgi files were originally compiled for. so it won't work. > > As for Freddy's comments, what I did was treat every installation like a > new installation: deleting the source tree then getting the files from > the tarball but apparently, it can't locate the gd libraries for these 3 > cgi files from /usr/lib or /usr/local/lib and /usr/include and > /usr/local/include. But the thing is: if it can't locate the gd > library, why was I able to install it in the first place? Go figure... > > Would Ethan Galstad have an answer for this you think? Hi Ethan! =) > > Thanks, > > Louie > > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > Louie, I don't know why you don't just manually copy a working tree into the > > 3rd target directory, and manually search/replace pathnames in the config > > files. > > > > jc > > > > > -----Original Message----- > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > To: Louie Cagasan > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > > > > > > > > > maybe you've done some bad operation by the past in this > > > directory... did > > > you tryed to clean the config.cache file before reconfiguring > > > ? did you tryed to > > > delete the source tree and to get it again from the tgz > > > archive and to try to > > > recompile it ? are you using multiple users for each version > > > of nagios you plan > > > to deploy ? if yes, check env var for each users... > > > > > > 'hope this help, Freddy. > > > > > > On 09 Oct 2002 06:31:28 +0800 > > > Louie Cagasan wrote: > > > > > > > I'm trying to do this on just one machine, e.g., > > > > > > > > /opt/nagios/network1 > > > > /opt/nagios/network2 > > > > /opt/nagios/network3 > > > > > > > > or > > > > > > > > /opt/network1/nagios/ > > > > /opt/network2/nagios > > > > /opt/network3/nagios > > > > > > > > preferably the first one. I've successfully installed and ran two > > > > monitors, with the first in the directory /opt/nagios and another in > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > successful with doing a third. The configure error is that it's not > > > > locating those gd,png, and jpg libraries. Which is strange, since > > > > it worked for the first two. Does anybody know what may be wrong? > > > > > > > > TIA, > > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > -- > > > Freddy Frouin > > > Responsable Supervision > > > Fluxus - British Telecom > > > 30, rue du Ch?teau des Rentiers > > > 75013 Paris > > > > > > T?l: +33 (0)1 44 97 70 00 > > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 10 16:15:27 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 10 Oct 2002 09:15:27 -0500 Subject: Install issue Message-ID: Would also be better to cut/paste the command and the output, and NOT transcribe manually. jc > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, October 09, 2002 8:11 PM > To: Garrett Anestos > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Install issue > > > would be nice to know what OS you are dealing with? > > -sg > > On Wed, 9 Oct 2002, Garrett Anestos wrote: > > > > > Hello all- > > > > I apologize if this has been already addressed........ > > > > I'm to the point of the install where I run MAKE > INSTALL-INIT...it fails. > > > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > > > Any help would be appreciated! > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris.Losch at newham.gov.uk Thu Oct 10 16:26:57 2002 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Thu, 10 Oct 2002 15:26:57 +0100 Subject: Check_Time plugin and BST Message-ID: I'm having a problem with the Check_Time plugin, I am using the checkcommand to check our primary internal time server, which synchronises itself with an Internet Time source, server for skew, using the following. --snip-- command_line $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C 5 --end snip-- Ignoring the warn and critical levels I have set, the skew is reported as ~ 3600 second time difference (1 hour) The Redhat 7.3 Linux box I am running nagios on is currently on BST (British Summer Time = GMT +1 for our Internation users) at the moment, and requires that I put its time back an hour (to GMT) so that the time falls within the specified period to give an 'ok' response. Presumably once we here go back to GMT this will then work 'as it says on the tin' but surely either I am missing something here? Is everyone else somehow fudging this to get an 'OK' response ? Is there something I need to do on the Linux box? I have the Questions, does anyone have the answers.... ? (check_time is version 1.1.1.1) ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Thu Oct 10 16:31:43 2002 From: jasonm at kelman.com (Jason Marshall) Date: Thu, 10 Oct 2002 08:31:43 -0600 (MDT) Subject: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' In-Reply-To: References: Message-ID: That would be the new "Big Pee" icon for a passive service, which used to be a big red alarming X. That means passive updates are enabled for that service... > yes, i think that you are fine. Where do you see a "P"? i am guessing that > this means pending, which is the expected state. > > > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Thursday, October 10, 2002 8:03 AM > To: Bishop, Dean > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, > r etry_interval, or notification_interval value for service 'Port > Scans'on host 'gate' > > > hi , thx for your input. > > Im trying to setup a sensor for Portsentry (which runs on our gateway) > > as per Nagios Dokumentation: > http://nagios.sourceforge.net/docs/1_0/int-portsentry.html > > Now I just inserted a cmd (check_procs) and set check_period to none. > Now I see a big "P" next to the service on the Nagios page. Hope thats > ok, im gonna try a portscan now > > On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote: > > that depends on what you are trying to accomplish here. > > > > i am going to guess that you are setting up a passive check. Provided > that > > this is the case then just use any valid command from checkcommands.cfg > > (e.g. check_host_alive) and set its check_period to "none" and provide > valid > > parameters for the rest of the required service parameters. > > > > If you want a dummy check then use check_dummy![0/1/2] > > 0=OK,1=WARNING,2=CRITICAL > > > > hth, > > dean > > > > -----Original Message----- > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > Sent: Thursday, October 10, 2002 7:28 AM > > To: Bishop, Dean > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, > > r etry_interval, or notification_interval value for service 'Port > > Scans'on host 'gate' > > > > > > yeah, thx alot, fixed that, however now nagios tells me the check_none > > cmd is not defined, thats true, but how would that definition have to > > look like in checkcommands.cfg ? > > > > best regards, > > > > Christophe > > > > On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > > > you must specify a normal_check_interval and retry_check_interval > > > > > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > > > > -----Original Message----- > > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > > Sent: Wednesday, October 09, 2002 10:48 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval, > > > retry_interval, or notification_interval value for service 'Port > > > Scans'on host 'gate' > > > > > > > > > Hi, > > > > > > im trying to implement portsentry into nagios, I did as in Documention > > > my services entry is as follows: > > > > > > define service{ > > > host_name gate > > > service_description Port Scans > > > is_volatile 1 > > > active_checks_enabled 0 > > > passive_checks_enabled 1 > > > max_check_attempts 1 > > > contact_groups linux-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_none > > > } > > > > > > when restarting nagios I get this: > > > Error: Invalid max_attempts, check_interval, retry_interval, or > > > notification_interval value for service 'Port Scans' > > > on host 'gate' > > > > > > whats wrong ? > > > > > > thx and best regards, > > > > > > Christophe > > > > > > > > > -- > > > Christophe Zwecker > > > :Sysctl > > > Susannenstr. 26-28 > > > 20357 Hamburg > > > phon/fax: +49 40 43099296/7 > > > mail: czwecker at sysctl.de > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > > Christophe Zwecker > > :Sysctl > > Susannenstr. 26-28 > > 20357 Hamburg > > phon/fax: +49 40 43099296/7 > > mail: czwecker at sysctl.de > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Oct 10 16:41:27 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 10 Oct 2002 16:41:27 +0200 Subject: Almost there! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278033A@storevis.datavis.se> By default the plugin does a 'GET /'. In many cases you are not allowed to do that on the web-server. Try to pass a specific URL (/index.html) to the plugin. -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thu 10-Oct-02 14:56 To: nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ray at corpex.com Thu Oct 10 16:57:22 2002 From: ray at corpex.com (Raymond Brighenti) Date: Thu, 10 Oct 2002 15:57:22 +0100 Subject: Escalation that applies to all Services Message-ID: <5.1.1.6.0.20021010155427.03271a08@pop3.mail.armourplate.net> Hi, Is it possible to define an Escalation that would apply to all services? Could you define a Hostgroup that covered all hosts and the put * as the Service_desciption? Cheers Ray Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From michael.natale at incipient.com Thu Oct 10 17:07:44 2002 From: michael.natale at incipient.com (Michael Natale) Date: Thu, 10 Oct 2002 11:07:44 -0400 Subject: Status Map button not working Message-ID: Hi all, total Nagios-Newbie here... I have the program running and so far so good, I have hosts defined and am monitoring uptime and basic services... When I click on the Status Map button on the left side, I get an OBJECT NOT FOUND error. Also when I click 3-D Status Map, it tries to download/open a file called 'statuswrl'. I've read through the docs and maybe I missed something but does anyone know whats up with these errors? Thx Michael -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Thursday, October 10, 2002 10:32 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #961 - 10 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. RE: About groups (Daniel Geske) 2. RE: Almost there! (Bishop, Dean) 3. RE: Multiple nagios monitors in one machine (Louie Cagasan) 4. Web problem... (Stefan Hanssen) 5. Re: Multiple nagios monitors in one machine (Freddy Frouin) 6. RE: Install issue (Carroll, Jim P [Contractor]) 7. Check_Time plugin and BST (Chris Losch) 8. RE: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' (Jason Marshall) --__--__-- Message: 1 From: "Daniel Geske" To: "Jose M. Suarez" , Subject: RE: [Nagios-users] About groups Date: Thu, 10 Oct 2002 15:40:52 +0200 'hostgroup_name pc-group' http://nagios.sourceforge.net/docs/1_0/templatetricks.html Greetings Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jose M. Suarez Sent: Thursday, October 10, 2002 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] About groups Hi people, I'm setting up Nagios and I have a doubt that I didn't find it, How to use hostgroups in service definitions? Instead of have a huge list that: define service{ host_name firewall1,render,web1,web2,web3,web4,juego1,juego2,juego3,juego4,juego5, juego6,juego7,juego8,juego9,nfs,webtrends,web-interno,estadisticas,chat, dryumi-bdc,drinfierno,bigfoot,genociderf9,drkabutopdc,brutusm3 I want to define this by hostgroups. Thanks. Jose ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --__--__-- Message: 2 From: "Bishop, Dean" To: "'seth at hollen.org'" , "Bishop, Dean" , Seth Hollen , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Date: Thu, 10 Oct 2002 09:41:17 -0400 what is in your apache logs? /var/log/httpd/access_log and /var/log/httpd/error_log?? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 9:32 AM To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# /libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# /libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --__--__-- Message: 3 Subject: RE: [Nagios-users] Multiple nagios monitors in one machine From: Louie Cagasan To: "Carroll, Jim P " "[Contractor]" Cc: nagios-users at lists.sourceforge.net, freddy_frouin at fluxus.net, eljalforja at skycablenet.com, juvs at skycablenet.com, agattud at skycablenet.com Date: 10 Oct 2002 21:51:40 +0800 Hi Jim and Freddy, I tried doing that by copying the missing cgi files statusmap.cgi, trends.cgi and histogram.cgi but when I ran that instance of nagios and click on the statusmap, it says it can't find the ORIGINAL directory these cgi files were originally compiled for. so it won't work. As for Freddy's comments, what I did was treat every installation like a new installation: deleting the source tree then getting the files from the tarball but apparently, it can't locate the gd libraries for these 3 cgi files from /usr/lib or /usr/local/lib and /usr/include and /usr/local/include. But the thing is: if it can't locate the gd library, why was I able to install it in the first place? Go figure... Would Ethan Galstad have an answer for this you think? Hi Ethan! =3D) Thanks, Louie On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > Louie, I don't know why you don't just manually copy a working tree > into = the > 3rd target directory, and manually search/replace pathnames in the >config files. =20 > jc >=20 > > -----Original Message----- > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Sent: Wednesday, October 09, 2002 2:17 AM > > To: Louie Cagasan > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > >=20 =20 > > maybe you've done some bad operation by the past in this=20 > > directory... did > > you tryed to clean the config.cache file before reconfiguring=20 > > ? did you tryed to > > delete the source tree and to get it again from the tgz=20 > > archive and to try to > > recompile it ? are you using multiple users for each version=20 > > of nagios you plan > > to deploy ? if yes, check env var for each users... > >=20 > > 'hope this help, Freddy. > >=20 > > On 09 Oct 2002 06:31:28 +0800 > > Louie Cagasan wrote: > >=20 > > > I'm trying to do this on just one machine, e.g., > > >=20 > > > /opt/nagios/network1 > > > /opt/nagios/network2 > > > /opt/nagios/network3 > > >=20 > > > or > > >=20 > > > /opt/network1/nagios/ > > > /opt/network2/nagios > > > /opt/network3/nagios > > >=20 > > > preferably the first one. I've successfully installed and ran two > > >monitors, with the first in the directory /opt/nagios and another > > >in /opt/net2/nagios, with the statusmaps and all but I'm just not > > >successful with doing a third. The configure error is that it's > > >not locating those gd,png, and jpg libraries. Which is strange, > > >since it worked for the first two. Does anybody know what may be > > >wrong? =20 TIA, > > > Louie > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > >=20 > >=20 > >=20 > > --=20 > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch=E2teau des Rentiers > > 75013 Paris > >=20 > > T=E9l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > >_______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > >=20 --__--__-- Message: 4 Date: Thu, 10 Oct 2002 16:00:39 +0200 From: "Stefan Hanssen" To: Subject: [Nagios-users] Web problem... Earlier today i got Nagios up and running, and its running just great, at l= east for what i have tested so far. But at some point i lost the graphics on the web page. I have not deleted a= ny files, the images catalogue exists under /usr/local/nagios/share so ever= ything should be there. I can see everything (but images) so the web pages = looks rather stupid. I have looked through the FAQ, unable to find anything= matching my problem. Does anyone have a clue ? Best regards Stefan Hanssen --__--__-- Message: 5 Date: Thu, 10 Oct 2002 16:01:43 +0200 From: Freddy Frouin To: Louie Cagasan Cc: jcarro10 at sprintspectrum.com, nagios-users at lists.sourceforge.net, freddy.frouin at fluxus.net, eljalforja at skycablenet.com, juvs at skycablenet.com, agattud at skycablenet.com Subject: Re: [Nagios-users] Multiple nagios monitors in one machine Organization: Fluxus yet you didn't answered my question... how many users are you using to manage this 3 nagios serveurs ? On 10 Oct 2002 21:51:40 +0800 Louie Cagasan wrote: > Hi Jim and Freddy, >=20 > I tried doing that by copying the missing cgi files statusmap.cgi, >trends.cgi and histogram.cgi but when I ran that instance of nagios and >click on the statusmap, it says it can't find the ORIGINAL directory >these cgi files were originally compiled for. so it won't work. =20 > As for Freddy's comments, what I did was treat every installation like = a > new installation: deleting the source tree then getting the files from > the tarball but apparently, it can't locate the gd libraries for these > = 3 > cgi files from /usr/lib or /usr/local/lib and /usr/include and >/usr/local/include. But the thing is: if it can't locate the gd >library, why was I able to install it in the first place? Go figure... >=20 Would Ethan Galstad have an answer for this you think? Hi Ethan! >=3D) =20 > Thanks, >=20 > Louie >=20 > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > Louie, I don't know why you don't just manually copy a working tree > > i= nto the > > 3rd target directory, and manually search/replace pathnames in the > > co= nfig > > files. > >=20 > > jc > >=20 > > > -----Original Message----- > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > To: Louie Cagasan > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Multiple nagios monitors in one > > >machine =20 =20 > > > maybe you've done some bad operation by the past in this=20 > > > directory... did > > > you tryed to clean the config.cache file before reconfiguring=20 > > > ? did you tryed to > > > delete the source tree and to get it again from the tgz=20 > > > archive and to try to > > > recompile it ? are you using multiple users for each version=20 > > > of nagios you plan > > > to deploy ? if yes, check env var for each users... > > >=20 > > > 'hope this help, Freddy. > > >=20 > > > On 09 Oct 2002 06:31:28 +0800 > > > Louie Cagasan wrote: > > >=20 > > > > I'm trying to do this on just one machine, e.g., > > > >=20 > > > > /opt/nagios/network1 > > > > /opt/nagios/network2 > > > > /opt/nagios/network3 > > > >=20 > > > > or > > > >=20 > > > > /opt/network1/nagios/ > > > > /opt/network2/nagios > > > > /opt/network3/nagios > > > >=20 > > > > preferably the first one. I've successfully installed and ran > > > >tw= o > > > > monitors, with the first in the directory /opt/nagios and > > > > another= in > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > successful with doing a third. The configure error is that it's > > > > = not > > > > locating those gd,png, and jpg libraries. Which is strange, > > > > sinc= e > > > > it worked for the first two. Does anybody know what may be > > > > wrong= ? > > > >=20 > > > > TIA, > > > > Louie > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > >_______________________________________________ > > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >=20 > > >=20 > > >=20 > > > --=20 > > > Freddy Frouin > > > Responsable Supervision > > > Fluxus - British Telecom > > > 30, rue du Ch=E2teau des Rentiers > > > 75013 Paris > > >=20 > > > T=E9l: +33 (0)1 44 97 70 00 > > > Fax: +33 (0)1 44 97 70 07 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > >_______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf >_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >=20 --=20 Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch=E2teau des Rentiers 75013 Paris T=E9l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 --__--__-- Message: 6 From: "Carroll, Jim P [Contractor]" To: "'Subhendu Ghosh'" , Garrett Anestos Cc: "'nagios-users at lists.sourceforge.net'" Subject: RE: [Nagios-users] Install issue Date: Thu, 10 Oct 2002 09:15:27 -0500 Would also be better to cut/paste the command and the output, and NOT transcribe manually. jc > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, October 09, 2002 8:11 PM > To: Garrett Anestos > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Install issue > > > would be nice to know what OS you are dealing with? > > -sg > > On Wed, 9 Oct 2002, Garrett Anestos wrote: > > > > > Hello all- > > > > I apologize if this has been already addressed........ > > > > I'm to the point of the install where I run MAKE > INSTALL-INIT...it fails. > > > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > > > Any help would be appreciated! > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --__--__-- Message: 7 From: Chris Losch To: "'nagios-users at lists.sourceforge.net'" Date: Thu, 10 Oct 2002 15:26:57 +0100 Subject: [Nagios-users] Check_Time plugin and BST This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C27069.16D72270 Content-Type: text/plain; charset="iso-8859-1" I'm having a problem with the Check_Time plugin, I am using the checkcommand to check our primary internal time server, which synchronises itself with an Internet Time source, server for skew, using the following. --snip-- command_line $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C 5 --end snip-- Ignoring the warn and critical levels I have set, the skew is reported as ~ 3600 second time difference (1 hour) The Redhat 7.3 Linux box I am running nagios on is currently on BST (British Summer Time = GMT +1 for our Internation users) at the moment, and requires that I put its time back an hour (to GMT) so that the time falls within the specified period to give an 'ok' response. Presumably once we here go back to GMT this will then work 'as it says on the tin' but surely either I am missing something here? Is everyone else somehow fudging this to get an 'OK' response ? Is there something I need to do on the Linux box? I have the Questions, does anyone have the answers.... ? (check_time is version 1.1.1.1) ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** ------_=_NextPart_001_01C27069.16D72270 Content-Type: text/html; charset="iso-8859-1"
I'm having a problem with the Check_Time plugin,
 
I am using the checkcommand to check our primary internal time server, which synchronises itself with an Internet Time source, server for skew,
using the following.
--snip--
command_line         $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C 5
--end snip--
 
Ignoring the warn and critical levels I have set, the skew is reported as ~ 3600 second time difference (1 hour)
 
The Redhat 7.3 Linux box I am running nagios on is currently on BST (British Summer Time = GMT +1 for our Internation users) at the moment, and requires that I put its time back an hour (to GMT) so that the time falls within the specified period to give an 'ok' response.
 
Presumably once we here go back to GMT this will then work 'as it says on the tin' but surely either I am missing something here? Is everyone else somehow fudging this to get an 'OK' response ? Is there something I need to do on the Linux box?
 
I have the Questions, does anyone have the answers.... ?
 
(check_time is version 1.1.1.1)
 


**********************************************************************
Important:
This e-mail is intended for the above named person only and should be
treated as confidential. If this has come to you in error you should take
no action based on it, nor should you copy or show it to anyone;
please telephone us immediately.
**********************************************************************
------_=_NextPart_001_01C27069.16D72270-- --__--__-- Message: 8 Date: Thu, 10 Oct 2002 08:31:43 -0600 (MDT) From: Jason Marshall To: "Bishop, Dean" cc: "'Christophe Zwecker'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' That would be the new "Big Pee" icon for a passive service, which used to be a big red alarming X. That means passive updates are enabled for that service... > yes, i think that you are fine. Where do you see a "P"? i am > guessing that this means pending, which is the expected state. > > > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Thursday, October 10, 2002 8:03 AM > To: Bishop, Dean > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Invalid max_attempts, > check_interval, r etry_interval, or notification_interval value for > service 'Port Scans'on host 'gate' > > > hi , thx for your input. > > Im trying to setup a sensor for Portsentry (which runs on our gateway) > > as per Nagios Dokumentation: > http://nagios.sourceforge.net/docs/1_0/int-portsentry.html > > Now I just inserted a cmd (check_procs) and set check_period to none. > Now I see a big "P" next to the service on the Nagios page. Hope thats > ok, im gonna try a portscan now > > On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote: > > that depends on what you are trying to accomplish here. > > > > i am going to guess that you are setting up a passive check. > > Provided > that > > this is the case then just use any valid command from > > checkcommands.cfg (e.g. check_host_alive) and set its check_period > > to "none" and provide > valid > > parameters for the rest of the required service parameters. > > > > If you want a dummy check then use check_dummy![0/1/2] > > 0=OK,1=WARNING,2=CRITICAL > > > > hth, > > dean > > > > -----Original Message----- > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > Sent: Thursday, October 10, 2002 7:28 AM > > To: Bishop, Dean > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Error: Invalid max_attempts, > > check_interval, r etry_interval, or notification_interval value for > > service 'Port Scans'on host 'gate' > > > > > > yeah, thx alot, fixed that, however now nagios tells me the > > check_none cmd is not defined, thats true, but how would that > > definition have to look like in checkcommands.cfg ? > > > > best regards, > > > > Christophe > > > > On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > > > you must specify a normal_check_interval and retry_check_interval > > > > > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > > > > -----Original Message----- > > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > > Sent: Wednesday, October 09, 2002 10:48 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Error: Invalid max_attempts, > > > check_interval, retry_interval, or notification_interval value for > > > service 'Port Scans'on host 'gate' > > > > > > > > > Hi, > > > > > > im trying to implement portsentry into nagios, I did as in > > > Documention my services entry is as follows: > > > > > > define service{ > > > host_name gate > > > service_description Port Scans > > > is_volatile 1 > > > active_checks_enabled 0 > > > passive_checks_enabled 1 > > > max_check_attempts 1 > > > contact_groups linux-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_none > > > } > > > > > > when restarting nagios I get this: > > > Error: Invalid max_attempts, check_interval, retry_interval, or > > > notification_interval value for service 'Port Scans' on host > > > 'gate' > > > > > > whats wrong ? > > > > > > thx and best regards, > > > > > > Christophe > > > > > > > > > -- > > > Christophe Zwecker > > > :Sysctl > > > Susannenstr. 26-28 > > > 20357 Hamburg > > > phon/fax: +49 40 43099296/7 > > > mail: czwecker at sysctl.de > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > > Christophe Zwecker > > :Sysctl > > Susannenstr. 26-28 > > 20357 Hamburg > > phon/fax: +49 40 43099296/7 > > mail: czwecker at sysctl.de > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RippelD at hillsboroughcounty.org Thu Oct 10 17:08:40 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Thu, 10 Oct 2002 11:08:40 -0400 Subject: Monitoring Microsoft SQL servers and/or Sybase Message-ID: Greetings - I'd like a way to monitor MS SQL beyond checking for port 1433/TCP. I'm aware that this issue has come up before in other mailing lists and someone mentioned having a check for this. According to the thread it appeared to be pending addition to the Netsaint contrib directory - but I can't find it in netsaint or nagios' plugins contrib. Does anyone still have this? I've found that Mon has a sybase.monitor - has anyone hacked this to work with MS SQL/Nagios? I'm sure that FreeTDS and/or DBD::Sybase could be used in order to create a custom check. I have FreeTDS working with SQL server, and I am able to execute commands with sqsh.. I suppose a shell script could be used in conjunction with sqsh to make a custom check... Unfortunately, my time is very limited and I cannot come up with an efficient way to do this on my own. Any help would be greatly appreciated! Regards, David Rippel Internet Administrator Hillsborough County BOCC ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RippelD at hillsboroughcounty.org Thu Oct 10 17:16:17 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Thu, 10 Oct 2002 11:16:17 -0400 Subject: Status Map button not working Message-ID: Michael - You need a VRML viewer in order to see this map. I'm not sure what platform you are using, but I like Cortona on Windows. You can install it from http://www.parallelgraphics.com/products/cortona/ under IE. Regards, David. >>> "Michael Natale" 10/10/02 11:07AM >>> Hi all, total Nagios-Newbie here... I have the program running and so far so good, I have hosts defined and am monitoring uptime and basic services... When I click on the Status Map button on the left side, I get an OBJECT NOT FOUND error. Also when I click 3-D Status Map, it tries to download/open a file called 'statuswrl'. I've read through the docs and maybe I missed something but does anyone know whats up with these errors? Thx Michael -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Thursday, October 10, 2002 10:32 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #961 - 10 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. RE: About groups (Daniel Geske) 2. RE: Almost there! (Bishop, Dean) 3. RE: Multiple nagios monitors in one machine (Louie Cagasan) 4. Web problem... (Stefan Hanssen) 5. Re: Multiple nagios monitors in one machine (Freddy Frouin) 6. RE: Install issue (Carroll, Jim P [Contractor]) 7. Check_Time plugin and BST (Chris Losch) 8. RE: Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' (Jason Marshall) --__--__-- Message: 1 From: "Daniel Geske" To: "Jose M. Suarez" , Subject: RE: [Nagios-users] About groups Date: Thu, 10 Oct 2002 15:40:52 +0200 'hostgroup_name pc-group' http://nagios.sourceforge.net/docs/1_0/templatetricks.html Greetings Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jose M. Suarez Sent: Thursday, October 10, 2002 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] About groups Hi people, I'm setting up Nagios and I have a doubt that I didn't find it, How to use hostgroups in service definitions? Instead of have a huge list that: define service{ host_name firewall1,render,web1,web2,web3,web4,juego1,juego2,juego3,juego4,juego5, juego6,juego7,juego8,juego9,nfs,webtrends,web-interno,estadisticas,chat, dryumi-bdc,drinfierno,bigfoot,genociderf9,drkabutopdc,brutusm3 I want to define this by hostgroups. Thanks. Jose ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --__--__-- Message: 2 From: "Bishop, Dean" To: "'seth at hollen.org'" , "Bishop, Dean" , Seth Hollen , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Date: Thu, 10 Oct 2002 09:41:17 -0400 what is in your apache logs? /var/log/httpd/access_log and /var/log/httpd/error_log?? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 9:32 AM To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# /libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# /libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --__--__-- Message: 3 Subject: RE: [Nagios-users] Multiple nagios monitors in one machine From: Louie Cagasan To: "Carroll, Jim P " "[Contractor]" Cc: nagios-users at lists.sourceforge.net, freddy_frouin at fluxus.net, eljalforja at skycablenet.com, juvs at skycablenet.com, agattud at skycablenet.com Date: 10 Oct 2002 21:51:40 +0800 Hi Jim and Freddy, I tried doing that by copying the missing cgi files statusmap.cgi, trends.cgi and histogram.cgi but when I ran that instance of nagios and click on the statusmap, it says it can't find the ORIGINAL directory these cgi files were originally compiled for. so it won't work. As for Freddy's comments, what I did was treat every installation like a new installation: deleting the source tree then getting the files from the tarball but apparently, it can't locate the gd libraries for these 3 cgi files from /usr/lib or /usr/local/lib and /usr/include and /usr/local/include. But the thing is: if it can't locate the gd library, why was I able to install it in the first place? Go figure... Would Ethan Galstad have an answer for this you think? Hi Ethan! =3D) Thanks, Louie On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > Louie, I don't know why you don't just manually copy a working tree > into = the > 3rd target directory, and manually search/replace pathnames in the >config files. =20 > jc >=20 > > -----Original Message----- > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Sent: Wednesday, October 09, 2002 2:17 AM > > To: Louie Cagasan > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > >=20 =20 > > maybe you've done some bad operation by the past in this=20 > > directory... did > > you tryed to clean the config.cache file before reconfiguring=20 > > ? did you tryed to > > delete the source tree and to get it again from the tgz=20 > > archive and to try to > > recompile it ? are you using multiple users for each version=20 > > of nagios you plan > > to deploy ? if yes, check env var for each users... > >=20 > > 'hope this help, Freddy. > >=20 > > On 09 Oct 2002 06:31:28 +0800 > > Louie Cagasan wrote: > >=20 > > > I'm trying to do this on just one machine, e.g., > > >=20 > > > /opt/nagios/network1 > > > /opt/nagios/network2 > > > /opt/nagios/network3 > > >=20 > > > or > > >=20 > > > /opt/network1/nagios/ > > > /opt/network2/nagios > > > /opt/network3/nagios > > >=20 > > > preferably the first one. I've successfully installed and ran two > > >monitors, with the first in the directory /opt/nagios and another > > >in /opt/net2/nagios, with the statusmaps and all but I'm just not > > >successful with doing a third. The configure error is that it's > > >not locating those gd,png, and jpg libraries. Which is strange, > > >since it worked for the first two. Does anybody know what may be > > >wrong? =20 TIA, > > > Louie > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > >=20 > >=20 > >=20 > > --=20 > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch=E2teau des Rentiers > > 75013 Paris > >=20 > > T=E9l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > >_______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > >=20 --__--__-- Message: 4 Date: Thu, 10 Oct 2002 16:00:39 +0200 From: "Stefan Hanssen" To: Subject: [Nagios-users] Web problem... Earlier today i got Nagios up and running, and its running just great, at l= east for what i have tested so far. But at some point i lost the graphics on the web page. I have not deleted a= ny files, the images catalogue exists under /usr/local/nagios/share so ever= ything should be there. I can see everything (but images) so the web pages = looks rather stupid. I have looked through the FAQ, unable to find anything= matching my problem. Does anyone have a clue ? Best regards Stefan Hanssen --__--__-- Message: 5 Date: Thu, 10 Oct 2002 16:01:43 +0200 From: Freddy Frouin To: Louie Cagasan Cc: jcarro10 at sprintspectrum.com, nagios-users at lists.sourceforge.net, freddy.frouin at fluxus.net, eljalforja at skycablenet.com, juvs at skycablenet.com, agattud at skycablenet.com Subject: Re: [Nagios-users] Multiple nagios monitors in one machine Organization: Fluxus yet you didn't answered my question... how many users are you using to manage this 3 nagios serveurs ? On 10 Oct 2002 21:51:40 +0800 Louie Cagasan wrote: > Hi Jim and Freddy, >=20 > I tried doing that by copying the missing cgi files statusmap.cgi, >trends.cgi and histogram.cgi but when I ran that instance of nagios and >click on the statusmap, it says it can't find the ORIGINAL directory >these cgi files were originally compiled for. so it won't work. =20 > As for Freddy's comments, what I did was treat every installation like = a > new installation: deleting the source tree then getting the files from > the tarball but apparently, it can't locate the gd libraries for these > = 3 > cgi files from /usr/lib or /usr/local/lib and /usr/include and >/usr/local/include. But the thing is: if it can't locate the gd >library, why was I able to install it in the first place? Go figure... >=20 Would Ethan Galstad have an answer for this you think? Hi Ethan! >=3D) =20 > Thanks, >=20 > Louie >=20 > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > Louie, I don't know why you don't just manually copy a working tree > > i= nto the > > 3rd target directory, and manually search/replace pathnames in the > > co= nfig > > files. > >=20 > > jc > >=20 > > > -----Original Message----- > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > To: Louie Cagasan > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Multiple nagios monitors in one > > >machine =20 =20 > > > maybe you've done some bad operation by the past in this=20 > > > directory... did > > > you tryed to clean the config.cache file before reconfiguring=20 > > > ? did you tryed to > > > delete the source tree and to get it again from the tgz=20 > > > archive and to try to > > > recompile it ? are you using multiple users for each version=20 > > > of nagios you plan > > > to deploy ? if yes, check env var for each users... > > >=20 > > > 'hope this help, Freddy. > > >=20 > > > On 09 Oct 2002 06:31:28 +0800 > > > Louie Cagasan wrote: > > >=20 > > > > I'm trying to do this on just one machine, e.g., > > > >=20 > > > > /opt/nagios/network1 > > > > /opt/nagios/network2 > > > > /opt/nagios/network3 > > > >=20 > > > > or > > > >=20 > > > > /opt/network1/nagios/ > > > > /opt/network2/nagios > > > > /opt/network3/nagios > > > >=20 > > > > preferably the first one. I've successfully installed and ran > > > >tw= o > > > > monitors, with the first in the directory /opt/nagios and > > > > another= in > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > successful with doing a third. The configure error is that it's > > > > = not > > > > locating those gd,png, and jpg libraries. Which is strange, > > > > sinc= e > > > > it worked for the first two. Does anybody know what may be > > > > wrong= ? > > > >=20 > > > > TIA, > > > > Louie > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > >_______________________________________________ > > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >=20 > > >=20 > > >=20 > > > --=20 > > > Freddy Frouin > > > Responsable Supervision > > > Fluxus - British Telecom > > > 30, rue du Ch=E2teau des Rentiers > > > 75013 Paris > > >=20 > > > T=E9l: +33 (0)1 44 97 70 00 > > > Fax: +33 (0)1 44 97 70 07 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > >_______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf >_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >=20 --=20 Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch=E2teau des Rentiers 75013 Paris T=E9l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 --__--__-- Message: 6 From: "Carroll, Jim P [Contractor]" To: "'Subhendu Ghosh'" , Garrett Anestos Cc: "'nagios-users at lists.sourceforge.net'" Subject: RE: [Nagios-users] Install issue Date: Thu, 10 Oct 2002 09:15:27 -0500 Would also be better to cut/paste the command and the output, and NOT transcribe manually. jc > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, October 09, 2002 8:11 PM > To: Garrett Anestos > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Install issue > > > would be nice to know what OS you are dealing with? > > -sg > > On Wed, 9 Oct 2002, Garrett Anestos wrote: > > > > > Hello all- > > > > I apologize if this has been already addressed........ > > > > I'm to the point of the install where I run MAKE > INSTALL-INIT...it fails. > > > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > > > Any help would be appreciated! > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --__--__-- Message: 7 From: Chris Losch To: "'nagios-users at lists.sourceforge.net'" Date: Thu, 10 Oct 2002 15:26:57 +0100 Subject: [Nagios-users] Check_Time plugin and BST This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C27069.16D72270 Content-Type: text/plain; charset="iso-8859-1" I'm having a problem with the Check_Time plugin, I am using the checkcommand to check our primary internal time server, which synchronises itself with an Internet Time source, server for skew, using the following. --snip-- command_line $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C 5 --end snip-- Ignoring the warn and critical levels I have set, the skew is reported as ~ 3600 second time difference (1 hour) The Redhat 7.3 Linux box I am running nagios on is currently on BST (British Summer Time = GMT +1 for our Internation users) at the moment, and requires that I put its time back an hour (to GMT) so that the time falls within the specified period to give an 'ok' response. Presumably once we here go back to GMT this will then work 'as it says on the tin' but surely either I am missing something here? Is everyone else somehow fudging this to get an 'OK' response ? Is there something I need to do on the Linux box? I have the Questions, does anyone have the answers.... ? (check_time is version 1.1.1.1) ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** ------_=_NextPart_001_01C27069.16D72270 Content-Type: text/html; charset="iso-8859-1"
I'm having a problem with the Check_Time plugin,
 
I am using the checkcommand to check our primary internal time server, which synchronises itself with an Internet Time source, server for skew,
using the following.
--snip--
command_line         $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C 5
--end snip--
 
Ignoring the warn and critical levels I have set, the skew is reported as ~ 3600 second time difference (1 hour)
 
The Redhat 7.3 Linux box I am running nagios on is currently on BST (British Summer Time = GMT +1 for our Internation users) at the moment, and requires that I put its time back an hour (to GMT) so that the time falls within the specified period to give an 'ok' response.
 
Presumably once we here go back to GMT this will then work 'as it says on the tin' but surely either I am missing something here? Is everyone else somehow fudging this to get an 'OK' response ? Is there something I need to do on the Linux box?
 
I have the Questions, does anyone have the answers.... ?
 
(check_time is version 1.1.1.1)
 


**********************************************************************
Important:
This e-mail is intended for the above named person only and should be
treated as confidential. If this has come to you in error you should take
no action based on it, nor should you copy or show it to anyone;
please telephone us immediately.
**********************************************************************
------_=_NextPart_001_01C27069.16D72270-- --__--__-- Message: 8 Date: Thu, 10 Oct 2002 08:31:43 -0600 (MDT) From: Jason Marshall To: "Bishop, Dean" cc: "'Christophe Zwecker'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate' That would be the new "Big Pee" icon for a passive service, which used to be a big red alarming X. That means passive updates are enabled for that service... > yes, i think that you are fine. Where do you see a "P"? i am > guessing that this means pending, which is the expected state. > > > > -----Original Message----- > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > Sent: Thursday, October 10, 2002 8:03 AM > To: Bishop, Dean > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Invalid max_attempts, > check_interval, r etry_interval, or notification_interval value for > service 'Port Scans'on host 'gate' > > > hi , thx for your input. > > Im trying to setup a sensor for Portsentry (which runs on our gateway) > > as per Nagios Dokumentation: > http://nagios.sourceforge.net/docs/1_0/int-portsentry.html > > Now I just inserted a cmd (check_procs) and set check_period to none. > Now I see a big "P" next to the service on the Nagios page. Hope thats > ok, im gonna try a portscan now > > On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote: > > that depends on what you are trying to accomplish here. > > > > i am going to guess that you are setting up a passive check. > > Provided > that > > this is the case then just use any valid command from > > checkcommands.cfg (e.g. check_host_alive) and set its check_period > > to "none" and provide > valid > > parameters for the rest of the required service parameters. > > > > If you want a dummy check then use check_dummy![0/1/2] > > 0=OK,1=WARNING,2=CRITICAL > > > > hth, > > dean > > > > -----Original Message----- > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > Sent: Thursday, October 10, 2002 7:28 AM > > To: Bishop, Dean > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Error: Invalid max_attempts, > > check_interval, r etry_interval, or notification_interval value for > > service 'Port Scans'on host 'gate' > > > > > > yeah, thx alot, fixed that, however now nagios tells me the > > check_none cmd is not defined, thats true, but how would that > > definition have to look like in checkcommands.cfg ? > > > > best regards, > > > > Christophe > > > > On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote: > > > you must specify a normal_check_interval and retry_check_interval > > > > > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > > > > -----Original Message----- > > > From: Christophe Zwecker [mailto:czwecker at sysctl.de] > > > Sent: Wednesday, October 09, 2002 10:48 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Error: Invalid max_attempts, > > > check_interval, retry_interval, or notification_interval value for > > > service 'Port Scans'on host 'gate' > > > > > > > > > Hi, > > > > > > im trying to implement portsentry into nagios, I did as in > > > Documention my services entry is as follows: > > > > > > define service{ > > > host_name gate > > > service_description Port Scans > > > is_volatile 1 > > > active_checks_enabled 0 > > > passive_checks_enabled 1 > > > max_check_attempts 1 > > > contact_groups linux-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_none > > > } > > > > > > when restarting nagios I get this: > > > Error: Invalid max_attempts, check_interval, retry_interval, or > > > notification_interval value for service 'Port Scans' on host > > > 'gate' > > > > > > whats wrong ? > > > > > > thx and best regards, > > > > > > Christophe > > > > > > > > > -- > > > Christophe Zwecker > > > :Sysctl > > > Susannenstr. 26-28 > > > 20357 Hamburg > > > phon/fax: +49 40 43099296/7 > > > mail: czwecker at sysctl.de > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > > Christophe Zwecker > > :Sysctl > > Susannenstr. 26-28 > > 20357 Hamburg > > phon/fax: +49 40 43099296/7 > > mail: czwecker at sysctl.de > -- > Christophe Zwecker > :Sysctl > Susannenstr. 26-28 > 20357 Hamburg > phon/fax: +49 40 43099296/7 > mail: czwecker at sysctl.de > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 17:45:16 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 11:45:16 -0400 Subject: logging everything? Message-ID: Good morning, Is it possible (or happening and i just don't know it) to log/see every check as it happens? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Thu Oct 10 17:51:56 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 10 Oct 2002 17:51:56 +0200 Subject: Missing services/hosts? Message-ID: <02a001c27074$f61bf5e0$cfdda8c0@JANJNWL105> I have 9 defined hosts and 10 defined services. But most of the time I only see 2 of them in service detail. And it does say "2 matching service entries displayed". Host details shows 4 hosts, Status-map however always shows the correct number of hosts. What might be the problem here? ----- Jan Johansson IT-Coordinator NEW WAVE LOGISTICS Scandinavia AB Exportgatan 28, Box 4114 S-422 04 HISINGS BACKA, Sweden Phone: +46(0) 31 742 48 00 Direct: +46(0) 31 742 48 23 Fax: +46(0) 31 7424801 www.newwavelogistics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Thu Oct 10 17:53:00 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 17:53:00 +0200 Subject: logging everything? In-Reply-To: References: Message-ID: <20021010175300.4b6320a8.freddy.frouin@fluxus.net> yep... use the process performances feature(*), which allow you to start a command after each plugin check... nice feature does'nt it ? :) have fun, Freddy. (*) yet you do not need to recompile nagios with process performances options, because what you want is just to start a command to log datas after each plugin check... On Thu, 10 Oct 2002 11:45:16 -0400 "Bishop, Dean" wrote: > Good morning, > > Is it possible (or happening and i just don't know it) to log/see > every check as it happens? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Oct 10 17:59:06 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 17:59:06 +0200 Subject: Missing services/hosts? In-Reply-To: <02a001c27074$f61bf5e0$cfdda8c0@JANJNWL105> References: <02a001c27074$f61bf5e0$cfdda8c0@JANJNWL105> Message-ID: <20021010175906.6c7c4fd0.freddy.frouin@fluxus.net> are you using the same servicedesc field twice for the same host ? could you show us how do you have organized your configuration ? On Thu, 10 Oct 2002 17:51:56 +0200 "Jan Johansson" wrote: > I have 9 defined hosts and 10 defined services. But most of the time I > only see 2 of them in service detail. And it does say "2 matching > service entries displayed". Host details shows 4 hosts, Status-map > however always shows the correct number of hosts. > > > > What might be the problem here? > > > > > > ----- > Jan Johansson > IT-Coordinator > NEW WAVE LOGISTICS Scandinavia AB > Exportgatan 28, Box 4114 > S-422 04 HISINGS BACKA, Sweden > Phone: +46(0) 31 742 48 00 > Direct: +46(0) 31 742 48 23 > Fax: +46(0) 31 7424801 > > > > www.newwavelogistics.com > > > > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From GANESTOS at fisinc.com Thu Oct 10 17:59:30 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Thu, 10 Oct 2002 08:59:30 -0700 Subject: Install issue Message-ID: Sorry for the lack of information.... It's FreeBSD 4.6.2 netsaint# make install-init /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d install: unknown group root *** Error code 67 Stop in /tmp/nagios-1.0b5. netsaint# Thanks for the help! -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, October 10, 2002 7:15 AM To: 'Subhendu Ghosh'; Garrett Anestos Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Install issue Would also be better to cut/paste the command and the output, and NOT transcribe manually. jc > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, October 09, 2002 8:11 PM > To: Garrett Anestos > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Install issue > > > would be nice to know what OS you are dealing with? > > -sg > > On Wed, 9 Oct 2002, Garrett Anestos wrote: > > > > > Hello all- > > > > I apologize if this has been already addressed........ > > > > I'm to the point of the install where I run MAKE > INSTALL-INIT...it fails. > > > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > > > Any help would be appreciated! > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jan.johansson at nwl.se Thu Oct 10 18:06:16 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 10 Oct 2002 18:06:16 +0200 Subject: Missing services/hosts? In-Reply-To: <20021010175906.6c7c4fd0.freddy.frouin@fluxus.net> References: <20021010175906.6c7c4fd0.freddy.frouin@fluxus.net> Message-ID: <02a701c27076$f9e288e0$cfdda8c0@JANJNWL105> > are you using the same servicedesc field twice for the same host ? > could you show us how do you have organized your configuration ? No. I did however delete everything in the var dir, and restarted nagios.. this seem to have fixed everything.. weird. Anyway, if I get the same problem again, I will re-post and include my configs. Thanks. /jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Oct 10 18:09:05 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 18:09:05 +0200 Subject: Install issue In-Reply-To: References: Message-ID: <20021010180905.71758a42.freddy.frouin@fluxus.net> Look in the /etc/group file, which is the group defined with the id 0. it looks like under freeBSD, such group is "wheel" and not "root", so just modify the Makefile to do: /usr/bin/install -c -m 755 -d -o root -g wheel /usr/local/etc/rc.d if wheel is the good group id, verify it. 'hope this help, Freddy. On Thu, 10 Oct 2002 08:59:30 -0700 Garrett Anestos wrote: > Sorry for the lack of information.... > > It's FreeBSD 4.6.2 > > netsaint# make install-init > /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d > install: unknown group root > *** Error code 67 > > Stop in /tmp/nagios-1.0b5. > netsaint# > > Thanks for the help! > > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, October 10, 2002 7:15 AM > To: 'Subhendu Ghosh'; Garrett Anestos > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Install issue > > > Would also be better to cut/paste the command and the output, and NOT > transcribe manually. > > jc > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Wednesday, October 09, 2002 8:11 PM > > To: Garrett Anestos > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] Install issue > > > > > > would be nice to know what OS you are dealing with? > > > > -sg > > > > On Wed, 9 Oct 2002, Garrett Anestos wrote: > > > > > > > > Hello all- > > > > > > I apologize if this has been already addressed........ > > > > > > I'm to the point of the install where I run MAKE > > INSTALL-INIT...it fails. > > > > > > It gives me a INSTALL: UNKNOWN GROUP ROOT *****ERROR code 67 > > > > > > Any help would be appreciated! > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 10 18:44:54 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 10 Oct 2002 11:44:54 -0500 Subject: escalations and NRPE Message-ID: I've discovered (and I should have realized this at the time of implementation) that when a host running with the NRPE daemon is rebooted (and NRPE isn't configured to start automatically on boot), Nagios will squawk about all the NRPE checks configured for that host. Which makes sense, of course. But to get notified for each/every NRPE check when it's simply the NRPE daemon which is unavailable? Hhhmmm. Methinks there's a better approach. I was thinking of configuring dependancies, such that if (let's say) a check_tcp on port 5666 for that host fails, don't bother me with notifications for the unavailiability of the N NRPE checks which fail because they can't connect to the daemon. I've read the dependancies documentation, and feel a wee bit that I'm lacking clarity, and so wouldn't mind if someone could give me a simple example of how to configure it, assuming Service B (and C and D) depends on Service A. In particular, I'm unclear on the function and benefit of defining execution_failure_criteria. Before someone suggests "why don't you just run it from inetd or install a startup script", some background: - we don't have root on all hosts - we want consistency as much as possible across all hosts For the hosts where we have root, yes, I will most likely install a startup script. But for the hosts where we don't have root, I'd like to simply be notified that NRPE is down, and not separate pages for each partition, memory, cpu and logfile check which fails. Feel free to share your $0.02. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 19:04:15 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 13:04:15 -0400 Subject: What the *&#( !! Message-ID: Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 19:14:36 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 13:14:36 -0400 Subject: logging everything? Message-ID: this only shows state changes. thanks though. dean -- dream outloud -----Original Message----- From: Daniel Geske [mailto:daniel.geske at yoc.de] Sent: Thursday, October 10, 2002 12:18 PM To: Bishop, Dean Subject: RE: [Nagios-users] logging everything? tail -f [your nagios dir]/var/nagios.log -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 5:45 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] logging everything? Good morning, Is it possible (or happening and i just don't know it) to log/see every check as it happens? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Oct 10 19:20:08 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 10 Oct 2002 19:20:08 +0200 Subject: What the *&#( !! In-Reply-To: References: Message-ID: <20021010192008.721806ab.freddy.frouin@fluxus.net> Hi, hm... I think your question is very very interresting. I've try to think on that, and for me the problem seems to be complex... so I've an ask to understand better your need before trying to answer to your question, if you allow me... What is your aim the services to be check before the host they are owned ? Freddy. On Thu, 10 Oct 2002 13:04:15 -0400 "Bishop, Dean" wrote: > Can someone explain this to me?? > > > > why in the world is the service for testserver01.tcdsb.org being checked > after the host has been determined down? > also why is the host being checked before the service?? > > > > > [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 > > > [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to > be up) > [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check > 135;OK;HARD;1;TCP OK - 0 second response time on port 135 > [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - > Plugin timed out after 8 seconds > [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - > Plugin timed out after 8 seconds > [1034267933] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR > ITICAL - Plugin timed out after 8 seconds > [1034267934] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 8 seconds > [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check > 135;CRITICAL;HARD;1;Socket timeout after 2 seconds > [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet > loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - > Packet loss = 0%, RTA = 0.61 ms > [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check > 135;OK;HARD;1;TCP OK - 0 second response time on port 135 > > > [root at NMS var]# > > > > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lee_melvin at mentorg.com Thu Oct 10 19:19:45 2002 From: lee_melvin at mentorg.com (Melvin, Lee) Date: Thu, 10 Oct 2002 11:19:45 -0600 Subject: Defining a service dependency for a hostgroup? Message-ID: <3DA5B6B1.9070807@mentor.com> I'm seeing an annoying paging behavior with our Nagios implementation. We have a number of Windows boxes being monitored -- each box has several (4-10) services being monitored on it. Most of the service checks are made through NSClient. The annoying behavior is, if NSClient crashes, Nagios detects all the services on the box as failing, and sends out a notification for each service. All our notifications go to a site hotpager, so one person gets 8 pages in a row when the system fails, and then another 8 when NSClient is restored. I've created a checkcommand to watch NSClient itself (basically I just test on the CLIENTVERSION variable), and I'd like to make each of the other NSClient-based service checks on the system dependent on this NSClient check. The problem I'm running into, and the thing I want help with, is that it doesn't appear possible to define a service dependency for a host group, only for individual hosts. I'd rather not have to add (# of Windows servers) * (avg. # of service checks per server) service dependency entries to my configuration. Is there any way I can define a configuration entry along the lines of (not remotely real config code) servicedependency { hostgroup_name win_servers service check_nsclient dependent_service check_win_diskfree_c } so that all my Windows hosts know that the win_diskfree_c check is dependent on check_nsclient on the same host? This would allow me to do what I want with only one service dependency entry for each NSClient based service check, which is manageable. Alternately, is there some other way to achieve this effect? I'm anticipating similar issues on the UNIX side if a NRPE client craps out... Thanks! - Lee ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From magnus.pettersson at eds.com Thu Oct 10 19:31:37 2002 From: magnus.pettersson at eds.com (Pettersson, Magnus) Date: Thu, 10 Oct 2002 18:31:37 +0100 Subject: What the *&#( !! Message-ID: <5917FD47436E784D8B08F132F0AC506110EE56@sessm201.sthlm.se.eds.com> Thats what I call Predictive failure :) Way to go Nagios!!! But more seriously, couldnt this be an internal buffering issue whithin the core process that simply prints the out put in the wrong order? /magnus -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: 10 October 2002 19:04 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominique at espacecourbe.com Thu Oct 10 19:40:39 2002 From: dominique at espacecourbe.com (Dominique Arpin) Date: Thu, 10 Oct 2002 13:40:39 -0400 (EDT) Subject: statusmap problem Message-ID: <1913.192.168.1.4.1034271639.squirrel@courriel.espacecourbe.com> hi all, when i click on "status map" on the web interface, i have this error message: Error: Could not read host and service status information! but in my cgi.cfg file, i have: hostextinfo[bourbaki]=;;win40.gif;win40.jpg;win40.gd2;NT server 2000;;5000;100,50;3.5,2.0,5.5hostextinfo[darwin]=;;debian.gif;debian.jpg;debian.gd2;Debian 3.0;;5000;100,50;3.5,2.0,5.5 serviceextinfo[darwin;PING]=http://darwin?tracerouteto=$HOSTADDRESS$;;PING rateserviceextinfo[bourbaki;PING]=http://bourbaki?tracerouteto=$HOSTADDRESS$;;PING rate did i miss something? tanx and excuse me for my english -- Dominique Arpin_______________________[ espace gestionnaire r?seau courbe ] http://www.espacecourbe.com/ t?l?phone 514.933.9861 t?l?copieur 514.933.9546 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From guevara1 at attbi.com Thu Oct 10 20:00:05 2002 From: guevara1 at attbi.com (Carlos Guevara) Date: Thu, 10 Oct 2002 14:00:05 -0400 Subject: Monitoring Microsoft SQL servers and/or Sybase In-Reply-To: References: Message-ID: Check out http://sourceforge.net/mailarchive/message.php?msg_id=560790 . - Carlos On Thu, 10 Oct 2002 11:08:40 -0400, "David Rippel" wrote: >Greetings - > >I'd like a way to monitor MS SQL beyond checking for port 1433/TCP. I'm aware that this issue has come up before in other mailing lists and someone mentioned having a check for this. According to the thread it appeared to be pending addition to the Netsaint contrib directory - but I can't find it in netsaint or nagios' plugins contrib. Does anyone still have this? > >I've found that Mon has a sybase.monitor - has anyone hacked this to work with MS SQL/Nagios? > >I'm sure that FreeTDS and/or DBD::Sybase could be used in order to create a custom check. I have FreeTDS working with SQL server, and I am able to execute commands with sqsh.. I suppose a shell script could be used in conjunction with sqsh to make a custom check... > >Unfortunately, my time is very limited and I cannot come up with an efficient way to do this on my own. > >Any help would be greatly appreciated! > >Regards, > >David Rippel >Internet Administrator >Hillsborough County BOCC > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 20:04:24 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 14:04:24 -0400 Subject: What the *&#( !! Message-ID: i would agree but the time doesn't make sense. If what you are suggesting were true then a service check runs and fails, but before it logs the result a check is run on the host and it returns a failure and reports it. gee, i sure hope this isn't how it works. i am quite dumbfounded though. -----Original Message----- From: Pettersson, Magnus [mailto:magnus.pettersson at eds.com] Sent: Thursday, October 10, 2002 1:32 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] What the *&#( !! Thats what I call Predictive failure :) Way to go Nagios!!! But more seriously, couldnt this be an internal buffering issue whithin the core process that simply prints the out put in the wrong order? /magnus -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: 10 October 2002 19:04 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 20:13:50 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 14:13:50 -0400 Subject: What the... Message-ID: First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: 'nagios-users at lists.sourceforge.net' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Jolet at misyshealthcare.com Thu Oct 10 20:30:14 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Thu, 10 Oct 2002 14:30:14 -0400 Subject: What the... Message-ID: Can you include the bit of the config that shows the parent-child relationships? -----O[Jolet, John] riginal Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Thursday, October 10, 2002 1:14 PM To: Bishop, Dean; 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: What the... First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: 'nagios-users at lists.sourceforge.net' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From lzxx4x at linux133.powertrain.mpg.gm.com Thu Oct 10 20:35:30 2002 From: lzxx4x at linux133.powertrain.mpg.gm.com (Amar S. Bhatti) Date: 10 Oct 2002 14:35:30 -0400 Subject: distributed monitoring problem Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 folks, I have a test nagios system running as a "central server" that I got up and running to replace our main central server running netsaint-0.0.6 The problem is that the new server running nagios beta6 is not able to receive passive results from the distributed machines running netsaint-0.0.6, I have verified almost all items like new central server able to accept passive results, performing "tcpdump" on the central server to verify the traffic coming from the distributed machines. In addition I also saw that the port 5667 on the central server is open for listening. I am beginning to suspect that it is the format of the results coming from distributed machines in netsaint mode that is not recognized by the central server and therefore just being dropped by it. Do all distributed machines of the central server (running nagios) has to be running nagios as well? I have been docs and FAQs and didn't find anything related to it, so I am in a confused state right now. Any help will be greatly appreciated. - -- Amar S. Bhatti CETG - GM Powertrain -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9pchxf5nrtLFqbwoRAkGKAJ0f+iYgN+i8XMhRBcDBRaMa6MJl4QCgvxcT HqWn5IvwSdKG8RN4HbMHtlU= =ulta -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Thu Oct 10 20:40:32 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 10 Oct 2002 14:40:32 -0400 Subject: What the... References: Message-ID: <3DA5C9A0.7040604@quadrix.com> The only time nagios will stop doing service checks at the normal_check_interval for that service is if that service has a servicedependency that's execution failure criteria is true. Otherwise, service checks will continue as planned. The way nagios knows that a host has come back up is if any service on that host has recovered to OK. While a host and its services are down, when a service check occurs, it won't go through all the retries (already in a hard state - no need to retry), but it will check the service once, Also, do you have aggressive_host_checking enabled in your nagios.cfg? The only reason I can guess that the host check is also occurring when the service check occurs is that you have that setting enabled. Otherwise a host will only get checked after the first service check failure (when the host is still up). Hope this helps. -Russell Bishop, Dean wrote: > First, sorry bout the subject i realize that it is inappropriate. it > does, however capture my initial response. > > We are in the midst of many nightmares concurrently: smoking servers, > irreplaceable data lost, network latency, cold lunch, sore finger, you > know the whole gambut at once. > > apologies to all. > > here is another entry from my logs. Each host is dependant on the > previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the > parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of > Marshall-McLuhan-0561SW2A_6-HS7, etc. > > why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be > UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), > is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? > > > > [1034172479] HOST ALERT: > Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 18 seconds > [1034172516] HOST ALERT: > Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 18 seconds > [1034172552] HOST ALERT: > Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 18 seconds > [1034172588] HOST ALERT: > Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 18 seconds > [1034172624] HOST ALERT: > Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 18 seconds > [1034172644] HOST ALERT: > Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed > out after 18 seconds > [1034172644] HOST NOTIFICATION: > nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin > timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin > timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin > timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin > timed out after 18 seconds > [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port > Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds > > > -----Original Message----- > From: Bishop, Dean > Sent: Thursday, October 10, 2002 1:04 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: What the *&#( !! > Importance: High > > > Can someone explain this to me?? > > > why in the world is the service for testserver01.tcdsb.org being > checked after the host has been determined down? > also why is the host being checked before the service?? > > > > > [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 > > [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host > assumed to be up) > [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port > Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 > [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - > Plugin timed out after 8 seconds > [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - > Plugin timed out after 8 seconds > [1034267933] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 8 seconds > [1034267934] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 8 seconds > [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port > Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds > [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port > Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 > > [root at NMS var]# > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireant at zpdee.net Thu Oct 10 20:22:58 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 11 Oct 2002 02:22:58 +0800 Subject: Multiple nagios monitors in one machine In-Reply-To: <20021010160143.4b2e4d6d.freddy.frouin@fluxus.net> References: <1034257901.11924.13.camel@expedient.skycablenet.com> <20021010160143.4b2e4d6d.freddy.frouin@fluxus.net> Message-ID: <1034274179.11924.18.camel@expedient.skycablenet.com> Oh yeah, I forgot that one. Just one-the nagios user. Anyway, I have two monitors running on one machine right now, albeit not the right machine. I've pinpointed the problem to the gd library but this hasn't been tested yet for more than two. Maybe it'll work, maybe it won't. =) Louie On Thu, 2002-10-10 at 22:01, Freddy Frouin wrote: > yet you didn't answered my question... how many users are you using > to manage this 3 nagios serveurs ? > > On 10 Oct 2002 21:51:40 +0800 > Louie Cagasan wrote: > > > Hi Jim and Freddy, > > > > I tried doing that by copying the missing cgi files statusmap.cgi, > > trends.cgi and histogram.cgi but when I ran that instance of nagios and > > click on the statusmap, it says it can't find the ORIGINAL directory > > these cgi files were originally compiled for. so it won't work. > > > > As for Freddy's comments, what I did was treat every installation like a > > new installation: deleting the source tree then getting the files from > > the tarball but apparently, it can't locate the gd libraries for these 3 > > cgi files from /usr/lib or /usr/local/lib and /usr/include and > > /usr/local/include. But the thing is: if it can't locate the gd > > library, why was I able to install it in the first place? Go figure... > > > > Would Ethan Galstad have an answer for this you think? Hi Ethan! =) > > > > Thanks, > > > > Louie > > > > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > > Louie, I don't know why you don't just manually copy a working tree into the > > > 3rd target directory, and manually search/replace pathnames in the config > > > files. > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > > To: Louie Cagasan > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Multiple nagios monitors in one machine > > > > > > > > > > > > maybe you've done some bad operation by the past in this > > > > directory... did > > > > you tryed to clean the config.cache file before reconfiguring > > > > ? did you tryed to > > > > delete the source tree and to get it again from the tgz > > > > archive and to try to > > > > recompile it ? are you using multiple users for each version > > > > of nagios you plan > > > > to deploy ? if yes, check env var for each users... > > > > > > > > 'hope this help, Freddy. > > > > > > > > On 09 Oct 2002 06:31:28 +0800 > > > > Louie Cagasan wrote: > > > > > > > > > I'm trying to do this on just one machine, e.g., > > > > > > > > > > /opt/nagios/network1 > > > > > /opt/nagios/network2 > > > > > /opt/nagios/network3 > > > > > > > > > > or > > > > > > > > > > /opt/network1/nagios/ > > > > > /opt/network2/nagios > > > > > /opt/network3/nagios > > > > > > > > > > preferably the first one. I've successfully installed and ran two > > > > > monitors, with the first in the directory /opt/nagios and another in > > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > > successful with doing a third. The configure error is that it's not > > > > > locating those gd,png, and jpg libraries. Which is strange, since > > > > > it worked for the first two. Does anybody know what may be wrong? > > > > > > > > > > TIA, > > > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > -- > > > > Freddy Frouin > > > > Responsable Supervision > > > > Fluxus - British Telecom > > > > 30, rue du Ch?teau des Rentiers > > > > 75013 Paris > > > > > > > > T?l: +33 (0)1 44 97 70 00 > > > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From GANESTOS at fisinc.com Thu Oct 10 20:42:46 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Thu, 10 Oct 2002 11:42:46 -0700 Subject: Plugin 1.3-beta1 make all issue Message-ID: Hello, I'm running FreeBSD 4.6.2... When I try to MAKE ALL on the Nagios plugins I get the following error... netsaint# make all Making all in plugins "/tmp/nagiosplug-1.3-beta1/plugins/Makefile", line 760: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /tmp/nagiosplug-1.3-beta1. I look in side the /tmp/nagiosplug-1.3-beta1/plugins/Makefile and the 760'th line is empty....look below... DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) **********************************Line 760 mostlyclean-depend: clean-depend: Any IDEAS? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 20:54:57 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 14:54:57 -0400 Subject: What the... Message-ID: darn, i hate it when i don't know my own config. My error has no effect though. 'Marshall-McLuhan-0561SW2A_14-HS7' actually depends on 'Marshall-McLuhan-0561SW2A_7-HS7' not 'Marshall-McLuhan-0561SW2A_4-HS7' as i originally stated. 'Marshall-McLuhan-0561SW2A_7-HS7' which is also down so the effect is the same. # 'Marshall-McLuhan-0561SW2A_1-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_1-HS7 alias Marshall McLuhan 0561SW2A_1-HS7 address 10.5.253.2 parents Marshall-McLuhan-0561SW4908A-HS7 } # 'Marshall-McLuhan-0561SW2A_2-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_2-HS7 alias Marshall McLuhan 0561SW2A_2-HS7 address 10.5.253.3 parents Marshall-McLuhan-0561SW2A_1-HS7 } # 'Marshall-McLuhan-0561SW2A_3-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_3-HS7 alias Marshall McLuhan 0561SW2A_3-HS7 address 10.5.253.4 parents Marshall-McLuhan-0561SW2A_2-HS7 } # 'Marshall-McLuhan-0561SW2A_4-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_4-HS7 alias Marshall McLuhan 0561SW2A_4-HS7 address 10.5.253.5 parents Marshall-McLuhan-0561SW2A_3-HS7 } # 'Marshall-McLuhan-0561SW2A_5-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_5-HS7 alias Marshall McLuhan 0561SW2A_5-HS7 address 10.5.253.6 parents Marshall-McLuhan-0561SW2A_4-HS7 } # 'Marshall-McLuhan-0561SW2A_6-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_6-HS7 alias Marshall McLuhan 0561SW2A_6-HS7 address 10.5.253.7 parents Marshall-McLuhan-0561SW2A_5-HS7 } # 'Marshall-McLuhan-0561SW2A_7-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_7-HS7 alias Marshall McLuhan 0561SW2A_7-HS7 address 10.5.253.8 parents Marshall-McLuhan-0561SW2A_6-HS7 } # 'Marshall-McLuhan-0561SW2A_8-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_8-HS7 alias Marshall McLuhan 0561SW2A_8-HS7 address 10.5.253.9 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_9-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_9-HS7 alias Marshall McLuhan 0561SW2A_9-HS7 address 10.5.253.10 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_10-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_10-HS7 alias Marshall McLuhan 0561SW2A_10-HS7 address 10.5.253.11 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_11-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_11-HS7 alias Marshall McLuhan 0561SW2A_11-HS7 address 10.5.253.12 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_12-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_12-HS7 alias Marshall McLuhan 0561SW2A_12-HS7 address 10.5.253.13 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_13-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_13-HS7 alias Marshall McLuhan 0561SW2A_13-HS7 address 10.5.253.14 parents Marshall-McLuhan-0561SW2A_7-HS7 } # 'Marshall-McLuhan-0561SW2A_14-HS7' host definition define host{ use generic-host ; Name of host template to use host_name Marshall-McLuhan-0561SW2A_14-HS7 alias Marshall McLuhan 0561SW2A_14-HS7 address 10.5.253.15 parents Marshall-McLuhan-0561SW2A_7-HS7 } -----Original Message----- From: Jolet, John [ mailto:John.Jolet at misyshealthcare.com ] Sent: Thursday, October 10, 2002 2:30 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RE: What the... Can you include the bit of the config that shows the parent-child relationships? -----O[Jolet, John] riginal Message----- From: Bishop, Dean [ mailto:dean.bishop at tcdsb.org ] Sent: Thursday, October 10, 2002 1:14 PM To: Bishop, Dean; 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: What the... First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: 'nagios-users at lists.sourceforge.net' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 21:04:10 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 15:04:10 -0400 Subject: What the... Message-ID: yes, this is interesting. honestly i haven't even touched servicedependencies. that being said, the snippet that i sent was a grep -n 3000 of the nagios.log (for testserver). On the second line you can see that the service is OK. There is no mention of the service until _after_ two host checks (two is my host max_check). Why was the host checked to begin with here? And why then is the service checked? Perhaps, as you suggest, as part of it's normal_check_interval....perhaps. i'm soooo confused. on the last few lines Nagios does what i would have expected. confused in configs, dean -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Thursday, October 10, 2002 2:41 PM To: Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] RE: What the... The only time nagios will stop doing service checks at the normal_check_interval for that service is if that service has a servicedependency that's execution failure criteria is true. Otherwise, service checks will continue as planned. The way nagios knows that a host has come back up is if any service on that host has recovered to OK. While a host and its services are down, when a service check occurs, it won't go through all the retries (already in a hard state - no need to retry), but it will check the service once, Also, do you have aggressive_host_checking enabled in your nagios.cfg? The only reason I can guess that the host check is also occurring when the service check occurs is that you have that setting enabled. Otherwise a host will only get checked after the first service check failure (when the host is still up). Hope this helps. -Russell Bishop, Dean wrote: First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: ' nagios-users at lists.sourceforge.net ' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Oct 10 21:07:56 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Oct 2002 15:07:56 -0400 (EDT) Subject: Plugin 1.3-beta1 make all issue In-Reply-To: References: Message-ID: On Thu, 10 Oct 2002, Garrett Anestos wrote: > Hello, > > I'm running FreeBSD 4.6.2... > > > When I try to MAKE ALL on the Nagios plugins I get the following error... > > netsaint# make all > Making all in plugins > "/tmp/nagiosplug-1.3-beta1/plugins/Makefile", line 760: Need an operator > make: fatal errors encountered -- cannot continue > *** Error code 1 > Stop in /tmp/nagiosplug-1.3-beta1. > > I look in side the /tmp/nagiosplug-1.3-beta1/plugins/Makefile and the 760'th > line is empty....look below... > > > DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) > > -include $(DEP_FILES) > **********************************Line 760 > mostlyclean-depend: > > clean-depend: > > Any IDEAS? > > Thanks! > try using GNU make instead. -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Thu Oct 10 21:07:21 2002 From: rick at subnet.at (peter riegersperger) Date: Thu, 10 Oct 2002 21:07:21 +0200 Subject: Monitoring Microsoft SQL servers and/or Sybase In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 we've written custom plugins for mysql, postgre and ms sql. they are currently being tested and i'll ask the author to submit it to the nagios-plugins project. greetings, rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of David > Rippel > Sent: Thursday, October 10, 2002 5:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Microsoft SQL servers and/or > Sybase > > > Greetings - > > I'd like a way to monitor MS SQL beyond checking for port > 1433/TCP. I'm aware that this issue has come up before in other > mailing lists and someone mentioned having a check for this. > According to the thread it appeared to be pending addition to the > Netsaint contrib directory - but I can't find it in netsaint or > nagios' plugins contrib. Does anyone still have this? > > I've found that Mon has a sybase.monitor - has anyone hacked this > to work with MS SQL/Nagios? > > I'm sure that FreeTDS and/or DBD::Sybase could be used in order > to create a custom check. I have FreeTDS working with SQL server, > and I am able to execute commands with sqsh.. I suppose a shell > script could be used in conjunction with sqsh to make a custom > check... > > Unfortunately, my time is very limited and I cannot come up with > an efficient way to do this on my own. > > Any help would be greatly appreciated! > > Regards, > > David Rippel > Internet Administrator > Hillsborough County BOCC > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPaXB2SDD9/SWDsvSEQK4twCgnNVQSKiGZ38lGZj/hZKLo7pVERIAmgI+ NvIFhBi2nfif0HAiS94zYEtM =sDzz -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 21:11:47 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 15:11:47 -0400 Subject: What the... Message-ID: you know...now that i am paying attention, i don't get many service notifications. Hardly any as a matter of fact. Lots of Host notifications though. why would this be? i see services being checked. please, someone confirm for me: a service fails, host check is done, host fails, services are no longer checked for that host, so max_check_attempts for the services is never reached, no service notification is sent? almost all of my devices are either up or down. very rarely does just a service fail. services currently defined are pretty much just port-23 checks for switches and port 135 checks for windoze servers. later, dean -----Original Message----- From: Jolet, John [mailto:John.Jolet at misyshealthcare.com] Sent: Thursday, October 10, 2002 2:30 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RE: What the... Can you include the bit of the config that shows the parent-child relationships? -----O[Jolet, John] riginal Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Thursday, October 10, 2002 1:14 PM To: Bishop, Dean; 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: What the... First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: 'nagios-users at lists.sourceforge.net' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Thu Oct 10 21:27:33 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 10 Oct 2002 15:27:33 -0400 Subject: What the... References: Message-ID: <3DA5D4A5.3060501@quadrix.com> Here's what I think... The reason you see the two host checks before the host checks isn't that a service check didn't occur before the host check, but it wasn't logged. The service check occurred and came back with a non-OK. This means the service was in SOFT non-OK state. For some reason, nagios didn't log this (Here might be the real problem in all this - Ethan, would that service fail get logged if the host_check that followed also failed). My guess is that since the follow-up host checks (to see if the host is the problem, not the service) both failed, the initial service check fail didn't get into the log. But for the host check to even occur, the service had to be checked. Now at the next scheduled normal_check_interval, the service is again checked. If you have aggressive_host_checking on and the service failed again, I believe the host will also get checked again. BTW, are you using aggressive_host_checking? My educated guess in all this is that its not a check exection problem, but just the failure of the first service-check fail (the soft state not-OK) to get entered into the log since the host also failed. -Russell Bishop, Dean wrote: > yes, this is interesting. > > > > honestly i haven't even touched servicedependencies. > > > > that being said, the snippet that i sent was a grep -n 3000 of the > nagios.log (for testserver). On the second line you can see that the > service is OK. There is no mention of the service until _after_ two > host checks (two is my host max_check). Why was the host checked to > begin with here? And why then is the service checked? Perhaps, as > you suggest, as part of it's normal_check_interval....perhaps. > > > > i'm soooo confused. > > > > on the last few lines Nagios does what i would have expected. > > > > confused in configs, > > dean > > -----Original Message----- > From: Russell Scibetti [mailto:russell at quadrix.com] > Sent: Thursday, October 10, 2002 2:41 PM > To: Bishop, Dean > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] RE: What the... > > The only time nagios will stop doing service checks at the > normal_check_interval for that service is if that service has a > servicedependency that's execution failure criteria is true. > > Otherwise, service checks will continue as planned. The way > nagios knows that a host has come back up is if any service on > that host has recovered to OK. While a host and its services are > down, when a service check occurs, it won't go through all the > retries (already in a hard state - no need to retry), but it will > check the service once, > > Also, do you have aggressive_host_checking enabled in your > nagios.cfg? The only reason I can guess that the host check is > also occurring when the service check occurs is that you have that > setting enabled. Otherwise a host will only get checked after the > first service check failure (when the host is still up). > > Hope this helps. > > -Russell > > Bishop, Dean wrote: > >> First, sorry bout the subject i realize that it is >> inappropriate. it does, however capture my initial response. >> >> We are in the midst of many nightmares concurrently: smoking >> servers, irreplaceable data lost, network latency, cold lunch, >> sore finger, you know the whole gambut at once. >> >> apologies to all. >> >> here is another entry from my logs. Each host is dependant on >> the previously numbered host (e.g. >> Marshall-McLuhan-0561SW2A_4-HS7 is the parent of >> Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of >> Marshall-McLuhan-0561SW2A_6-HS7, etc. >> >> why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be >> UNREACHABLE (due to the failure of >> Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on >> Marshall-McLuhan-0561SW2A_14-HS7? >> >> >> >> [1034172479] HOST ALERT: >> Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172516] HOST ALERT: >> Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172552] HOST ALERT: >> Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172588] HOST ALERT: >> Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172624] HOST ALERT: >> Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172644] HOST ALERT: >> Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin >> timed out after 18 seconds >> [1034172644] HOST NOTIFICATION: >> nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172645] HOST NOTIFICATION: >> Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172645] HOST NOTIFICATION: >> Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172645] HOST NOTIFICATION: >> Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172646] HOST NOTIFICATION: >> Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172646] HOST NOTIFICATION: >> Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172646] HOST NOTIFICATION: >> Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 18 seconds >> [1034172647] HOST ALERT: >> Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - >> Plugin timed out after 18 seconds >> [1034172647] HOST ALERT: >> Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - >> Plugin timed out after 18 seconds >> [1034172647] HOST ALERT: >> Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - >> Plugin timed out after 18 seconds >> [1034172647] HOST ALERT: >> Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - >> Plugin timed out after 18 seconds >> [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port >> Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds >> >> >> -----Original Message----- >> From: Bishop, Dean >> Sent: Thursday, October 10, 2002 1:04 PM >> To: ' nagios-users at lists.sourceforge.net ' >> Subject: What the *&#( !! >> Importance: High >> >> >> Can someone explain this to me?? >> >> >> why in the world is the service for testserver01.tcdsb.org being >> checked after the host has been determined down? >> also why is the host being checked before the service?? >> >> >> >> >> [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 >> >> [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host >> assumed to be up) >> [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - >> Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 >> [1034267924] HOST ALERT: >> testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out >> after 8 seconds >> [1034267933] HOST ALERT: >> testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out >> after 8 seconds >> [1034267933] HOST >> NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 8 seconds >> [1034267934] HOST >> NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL >> - Plugin timed out after 8 seconds >> [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - >> Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds >> [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK >> - Packet loss = 0%, RTA = 0.61 ms >> [1034268938] HOST >> NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING >> OK - Packet loss = 0%, RTA = 0.61 ms >> [1034268938] HOST >> NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING >> OK - Packet loss = 0%, RTA = 0.61 ms >> [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - >> Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 >> >> [root at NMS var]# >> > >-- >Russell Scibetti >Quadrix Solutions, Inc. >http://www.quadrix.com >(732) 235-2335, ext. 7038 > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Thu Oct 10 21:32:22 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 10 Oct 2002 15:32:22 -0400 Subject: What the... References: Message-ID: <3DA5D5C6.7070400@quadrix.com> Your logic is right...service notification will never occur when the host also fails. You will only get host notifications. Also, can you include what your Log settings are in the nagios.cfg (log_initial_states, log_service_retries, etc.) May be part of the logging problem. Might want to make them all 1 for now to make sure everything gets logged, if they're not all set to 1 now. -Russell Bishop, Dean wrote: > you know...now that i am paying attention, i don't get many service > notifications. Hardly any as a matter of fact. Lots of Host > notifications though. > > > > why would this be? i see services being checked. > > > > please, someone confirm for me: a service fails, host check is done, > host fails, services are no longer checked for that host, so > max_check_attempts for the services is never reached, no service > notification is sent? > > > > almost all of my devices are either up or down. very rarely does just > a service fail. services currently defined are pretty much just > port-23 checks for switches and port 135 checks for windoze servers. > > > > later, > > dean > > -----Original Message----- > From: Jolet, John [mailto:John.Jolet at misyshealthcare.com] > Sent: Thursday, October 10, 2002 2:30 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] RE: What the... > > Can you include the bit of the config that shows the parent-child > relationships? > > -----O [Jolet, John] riginal Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Thursday, October 10, 2002 1:14 PM > To: Bishop, Dean; 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] RE: What the... > > First, sorry bout the subject i realize that it is > inappropriate. it does, however capture my initial response. > > We are in the midst of many nightmares concurrently: smoking > servers, irreplaceable data lost, network latency, cold lunch, > sore finger, you know the whole gambut at once. > > apologies to all. > > here is another entry from my logs. Each host is dependant on > the previously numbered host (e.g. > Marshall-McLuhan-0561SW2A_4-HS7 is the parent of > Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of > Marshall-McLuhan-0561SW2A_6-HS7, etc. > > why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be > UNREACHABLE (due to the failure of > Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on > Marshall-McLuhan-0561SW2A_14-HS7? > > > > [1034172479] HOST ALERT: > Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin > timed out after 18 seconds > [1034172516] HOST ALERT: > Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin > timed out after 18 seconds > [1034172552] HOST ALERT: > Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin > timed out after 18 seconds > [1034172588] HOST ALERT: > Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin > timed out after 18 seconds > [1034172624] HOST ALERT: > Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin > timed out after 18 seconds > [1034172644] HOST ALERT: > Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin > timed out after 18 seconds > [1034172644] HOST NOTIFICATION: > nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL > - Plugin timed out after 18 seconds > [1034172645] HOST NOTIFICATION: > Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172646] HOST NOTIFICATION: > Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - > Plugin timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - > Plugin timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - > Plugin timed out after 18 seconds > [1034172647] HOST ALERT: > Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - > Plugin timed out after 18 seconds > [1034172647] SERVICE ALERT: > Marshall-McLuhan-0561SW2A_14-HS7;Port > Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds > > > -----Original Message----- > From: Bishop, Dean > Sent: Thursday, October 10, 2002 1:04 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: What the *&#( !! > Importance: High > > > Can someone explain this to me?? > > > why in the world is the service for testserver01.tcdsb.org > being checked after the host has been determined down? > also why is the host being checked before the service?? > > > > > [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 > > [1034266896] HOST ALERT: > testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) > [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc > Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response > time on port 135 > [1034267924] HOST ALERT: > testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out > after 8 seconds > [1034267933] HOST ALERT: > testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out > after 8 seconds > [1034267933] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 8 seconds > [1034267934] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL > - Plugin timed out after 8 seconds > [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc > Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after > 2 seconds > [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] HOST > NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING > OK - Packet loss = 0%, RTA = 0.61 ms > [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc > Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response > time on port 135 > > [root at NMS var]# > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 21:39:53 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 15:39:53 -0400 Subject: What the... Message-ID: yeah, everything is set to 1. It seems (someone please correct me if i am wrong) that only state changes are logged in nagios.log. i have just got performance data working. funny, i half-heartedly tried to get this working about a week ago and gave up for more pressing issues (yes process_perfomance_data=1 and service/host_performance_commands where defined). Then, when i was poking around today, i noticed the link on the "Process Info" page to enable performance data. Hey now it works!!?? whatever. at least now i can see every check though. later, dean -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Thursday, October 10, 2002 3:32 PM To: Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] RE: What the... Your logic is right...service notification will never occur when the host also fails. You will only get host notifications. Also, can you include what your Log settings are in the nagios.cfg (log_initial_states, log_service_retries, etc.) May be part of the logging problem. Might want to make them all 1 for now to make sure everything gets logged, if they're not all set to 1 now. -Russell Bishop, Dean wrote: you know...now that i am paying attention, i don't get many service notifications. Hardly any as a matter of fact. Lots of Host notifications though. why would this be? i see services being checked. please, someone confirm for me: a service fails, host check is done, host fails, services are no longer checked for that host, so max_check_attempts for the services is never reached, no service notification is sent? almost all of my devices are either up or down. very rarely does just a service fail. services currently defined are pretty much just port-23 checks for switches and port 135 checks for windoze servers. later, dean -----Original Message----- From: Jolet, John [ mailto:John.Jolet at misyshealthcare.com ] Sent: Thursday, October 10, 2002 2:30 PM To: ' nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] RE: What the... Can you include the bit of the config that shows the parent-child relationships? -----O [Jolet, John] riginal Message----- From: Bishop, Dean [ mailto:dean.bishop at tcdsb.org ] Sent: Thursday, October 10, 2002 1:14 PM To: Bishop, Dean; ' nagios-users at lists.sourceforge.net ' Subject: [Nagios-users] RE: What the... First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: ' nagios-users at lists.sourceforge.net ' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Jolet at misyshealthcare.com Thu Oct 10 21:47:27 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Thu, 10 Oct 2002 15:47:27 -0400 Subject: What the... Message-ID: no, i think it's this way: service check fails, so host check is done...host check is failed so service NOTIFICATIONS are suppressed, not service CHECKS. as someone mentioned earlier, it's the service check coming back up that puts the host in an up state....i think. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Thursday, October 10, 2002 2:12 PM To: Jolet, John; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RE: What the... you know...now that i am paying attention, i don't get many service notifications. Hardly any as a matter of fact. Lots of Host notifications though. why would this be? i see services being checked. please, someone confirm for me: a service fails, host check is done, host fails, services are no longer checked for that host, so max_check_attempts for the services is never reached, no service notification is sent? almost all of my devices are either up or down. very rarely does just a service fail. services currently defined are pretty much just port-23 checks for switches and port 135 checks for windoze servers. later, dean -----Original Message----- From: Jolet, John [mailto:John.Jolet at misyshealthcare.com] Sent: Thursday, October 10, 2002 2:30 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RE: What the... Can you include the bit of the config that shows the parent-child relationships? -----O[Jolet, John] riginal Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Thursday, October 10, 2002 1:14 PM To: Bishop, Dean; 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: What the... First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: 'nagios-users at lists.sourceforge.net' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Oct 10 21:45:28 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 15:45:28 -0400 Subject: What the... Message-ID: yeah, i am thinking along the same lines right now. no, aggressive checks are not enabled. i just was reading about service_reaper. Perhaps someone can tell me a bit more about it but is it possible that, as we are presuming, service checks fail but the results aren't entered into the log until the reaper runs? What this means is that some other portion of Nagios knows about the service failure, causing the host checks to be initiated. i need clarification now though on these: If a service fails once of many possible attempts (max_checks>=2), then do the host checks run without interuption from any other checks? If a service fails once of many possible attempts (max_checks>=2), then are the remaining service checks run? If so, when? Immediately or on the next normal_check_interval?? thanks all, dean -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Thursday, October 10, 2002 3:28 PM To: Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] RE: What the... Here's what I think... The reason you see the two host checks before the host checks isn't that a service check didn't occur before the host check, but it wasn't logged. The service check occurred and came back with a non-OK. This means the service was in SOFT non-OK state. For some reason, nagios didn't log this (Here might be the real problem in all this - Ethan, would that service fail get logged if the host_check that followed also failed). My guess is that since the follow-up host checks (to see if the host is the problem, not the service) both failed, the initial service check fail didn't get into the log. But for the host check to even occur, the service had to be checked. Now at the next scheduled normal_check_interval, the service is again checked. If you have aggressive_host_checking on and the service failed again, I believe the host will also get checked again. BTW, are you using aggressive_host_checking? My educated guess in all this is that its not a check exection problem, but just the failure of the first service-check fail (the soft state not-OK) to get entered into the log since the host also failed. -Russell Bishop, Dean wrote: yes, this is interesting. honestly i haven't even touched servicedependencies. that being said, the snippet that i sent was a grep -n 3000 of the nagios.log (for testserver). On the second line you can see that the service is OK. There is no mention of the service until _after_ two host checks (two is my host max_check). Why was the host checked to begin with here? And why then is the service checked? Perhaps, as you suggest, as part of it's normal_check_interval....perhaps. i'm soooo confused. on the last few lines Nagios does what i would have expected. confused in configs, dean -----Original Message----- From: Russell Scibetti [ mailto:russell at quadrix.com ] Sent: Thursday, October 10, 2002 2:41 PM To: Bishop, Dean Cc: ' nagios-users at lists.sourceforge.net ' Subject: Re: [Nagios-users] RE: What the... The only time nagios will stop doing service checks at the normal_check_interval for that service is if that service has a servicedependency that's execution failure criteria is true. Otherwise, service checks will continue as planned. The way nagios knows that a host has come back up is if any service on that host has recovered to OK. While a host and its services are down, when a service check occurs, it won't go through all the retries (already in a hard state - no need to retry), but it will check the service once, Also, do you have aggressive_host_checking enabled in your nagios.cfg? The only reason I can guess that the host check is also occurring when the service check occurs is that you have that setting enabled. Otherwise a host will only get checked after the first service check failure (when the host is still up). Hope this helps. -Russell Bishop, Dean wrote: First, sorry bout the subject i realize that it is inappropriate. it does, however capture my initial response. We are in the midst of many nightmares concurrently: smoking servers, irreplaceable data lost, network latency, cold lunch, sore finger, you know the whole gambut at once. apologies to all. here is another entry from my logs. Each host is dependant on the previously numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7 who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc. why, once Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked on Marshall-McLuhan-0561SW2A_14-HS7? [1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITIC AL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRIT ICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL - Plugin timed out after 18 seconds [1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket timeout after 10 seconds -----Original Message----- From: Bishop, Dean Sent: Thursday, October 10, 2002 1:04 PM To: ' nagios-users at lists.sourceforge.net ' Subject: What the *&#( !! Importance: High Can someone explain this to me?? why in the world is the service for testserver01.tcdsb.org being checked after the host has been determined down? also why is the host being checked before the service?? [root at NMS var]# tail nagios.log -n 3000 |grep testserver01 [1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed to be up) [1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin timed out after 8 seconds [1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CR ITICAL - Plugin timed out after 8 seconds [1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 8 seconds [1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;CRITICAL;HARD;1;Socket timeout after 2 seconds [1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.61 ms [1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check 135;OK;HARD;1;TCP OK - 0 second response time on port 135 [root at NMS var]# -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjf at mind.net Thu Oct 10 21:48:02 2002 From: jjf at mind.net (John Fox) Date: Thu, 10 Oct 2002 12:48:02 -0700 Subject: Please help -- very confused about freshness checking and threshold Message-ID: <20021010124801.O681@mind.net> Hello, All, It appears to me that I've a massive misunderstanding about freshness checks and the freshness threshold. I have some scripts that I use for making and submitting passive checks results to my Nagios server. I run them every three minutes via cron, and I have set the freshness threshold to 3600. Despite the seeming overkill of this threshold, my services often go stale within just a few minutes of starting Nagios. A few minutes pass, and they then are updated. It flaps like this persistently. It seems quite clear to me at this point that I don't understand the freshness-checking mechanism, and I'd really appreciate some input from those who know the system better than I. Here is the template I'm using for these particular services: ---- # Diskcheck service definition template define service{ name disk-template ; Template 'name' - referenced in other service definitions active_checks_enabled 1 ; Active service checks are disabled passive_checks_enabled 1 ; Passive service checks are enabled parallelize_check 1 ; Active service checks should be parallelized (recommeneded) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 3600 ; Status should be updated every three minutes - this gives lots of wiggle room notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 check_period 24x7 notification_interval 3 notification_period 24x7 notification_options w,c,r,u contact_groups systems register 0 ; Don't register -- it's a template, dummy! } --- And here's a service definition that makes use of the template: --- define service{ use disk-template host_name host.domain.name service_description disk-/usr/local/etc check_command stale-service-alert } --- This has been driving me nuts for a few days now and I'd appreciate any clues as to what I've overlooked. Thanks in advance, John +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Thu Oct 10 22:05:17 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 10 Oct 2002 16:05:17 -0400 Subject: nagios-statd Message-ID: <5593DA408212D511B0910002A513501F01D28775@phsexch20.mgh.harvard.edu> Hi there, Has anyone worked with nagios-statd? If so, how do I set it up and configure it on the server and client? There are no instructions available. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From seth at hollen.org Thu Oct 10 22:19:42 2002 From: seth at hollen.org (Seth Hollen) Date: Thu, 10 Oct 2002 16:19:42 -0400 Subject: Almost there! In-Reply-To: References: Message-ID: >From tail /var/log/httpd/error_log [Thu Oct 10 16:16:47 2002] [error] [client 192.168.1.165] Directory index forbidden by rule: /var/www/html/ Why can't nagios get a response if everyone else can? I am stumped Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:41 AM To: Seth Hollen; Bishop, Dean; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! what is in your apache logs? /var/log/httpd/access_log and /var/log/httpd/error_log?? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 9:32 AM To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Oct 10 22:25:05 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 10 Oct 2002 15:25:05 -0500 Subject: Multiple nagios monitors in one machine Message-ID: I might be missing something here, but I'm reasonably certain that the binaries don't have any pathnames to config files hardcoded. Having said that, the only reason I can see that this 3rd instance would fail, is that the config file you're specifying on startup still has the pathname to the 'original' directory. Try to grep through the config files for this 3rd instance, for any occurrences of the 'original' directory. Failing that, do a 'strings' command on each of the binaries and grep for the 'original' directory. I suspect you won't find the pathnames hardcoded. :) As you mention in another e-mail, I'd be surprised if the gd libraries can't 'support' 3 instances of Nagios. jc > -----Original Message----- > From: Louie Cagasan [mailto:fireant at zpdee.net] > Sent: Thursday, October 10, 2002 8:52 AM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net; freddy_frouin at fluxus.net; > eljalforja at skycablenet.com; juvs at skycablenet.com; > agattud at skycablenet.com > Subject: RE: [Nagios-users] Multiple nagios monitors in one machine > > > Hi Jim and Freddy, > > I tried doing that by copying the missing cgi files statusmap.cgi, > trends.cgi and histogram.cgi but when I ran that instance of > nagios and > click on the statusmap, it says it can't find the ORIGINAL directory > these cgi files were originally compiled for. so it won't work. > > As for Freddy's comments, what I did was treat every > installation like a > new installation: deleting the source tree then getting the files from > the tarball but apparently, it can't locate the gd libraries > for these 3 > cgi files from /usr/lib or /usr/local/lib and /usr/include and > /usr/local/include. But the thing is: if it can't locate the gd > library, why was I able to install it in the first place? Go figure... > > Would Ethan Galstad have an answer for this you think? Hi Ethan! =) > > Thanks, > > Louie > > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > Louie, I don't know why you don't just manually copy a > working tree into the > > 3rd target directory, and manually search/replace pathnames > in the config > > files. > > > > jc > > > > > -----Original Message----- > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > To: Louie Cagasan > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Multiple nagios monitors in > one machine > > > > > > > > > maybe you've done some bad operation by the past in this > > > directory... did > > > you tryed to clean the config.cache file before reconfiguring > > > ? did you tryed to > > > delete the source tree and to get it again from the tgz > > > archive and to try to > > > recompile it ? are you using multiple users for each version > > > of nagios you plan > > > to deploy ? if yes, check env var for each users... > > > > > > 'hope this help, Freddy. > > > > > > On 09 Oct 2002 06:31:28 +0800 > > > Louie Cagasan wrote: > > > > > > > I'm trying to do this on just one machine, e.g., > > > > > > > > /opt/nagios/network1 > > > > /opt/nagios/network2 > > > > /opt/nagios/network3 > > > > > > > > or > > > > > > > > /opt/network1/nagios/ > > > > /opt/network2/nagios > > > > /opt/network3/nagios > > > > > > > > preferably the first one. I've successfully installed > and ran two > > > > monitors, with the first in the directory /opt/nagios > and another in > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > successful with doing a third. The configure error is > that it's not > > > > locating those gd,png, and jpg libraries. Which is > strange, since > > > > it worked for the first two. Does anybody know what > may be wrong? > > > > > > > > TIA, > > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > -- > > > Freddy Frouin > > > Responsable Supervision > > > Fluxus - British Telecom > > > 30, rue du Ch?teau des Rentiers > > > 75013 Paris > > > > > > T?l: +33 (0)1 44 97 70 00 > > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 22:27:54 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 16:27:54 -0400 Subject: Almost there! Message-ID: yes. this indicates, as someone mentioned today, that you need to specify a file to retrieve from the server. You said that you get the default apache page so you should be fine getting index.html. ./check_http -H localhost -u /index.html later, dean -- dream outloud -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 4:20 PM To: 'Bishop, Dean'; Seth Hollen; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! >From tail /var/log/httpd/error_log [Thu Oct 10 16:16:47 2002] [error] [client 192.168.1.165] Directory index forbidden by rule: /var/www/html/ Why can't nagios get a response if everyone else can? I am stumped Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:41 AM To: Seth Hollen; Bishop, Dean; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! what is in your apache logs? /var/log/httpd/access_log and /var/log/httpd/error_log?? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 9:32 AM To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! Yes root is in there, the only file I have password protected in apache is the nagios directory. I can type into a browser the ip address of my nagios server and it will comeup with the default apache webpage, and it's serving the nagios pages as I type this. I'm just trying to figure out why it reports that error message. Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop, Dean Sent: Thursday, October 10, 2002 9:24 AM To: Seth Hollen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! is "root" a user in your htpasswd file? -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Thursday, October 10, 2002 8:57 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Almost there! I'm really confused on this. This is what I get [root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# ./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]# Take Care, Seth Hollen seth at hollen.org 727-919-1598 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth Hollen Sent: Wednesday, October 09, 2002 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Almost there! Thanks to everyone for their help! My .cfg file problems turned out to be dure to whitespace before comments and .'s in hostnames I got nagios running but I am just trying ping and check_httpd on it's self. Check_httpd returns an error [root at nagios etc]# ../libexec/check_http 192.168.1.165 HTTP WARNING: HTTP/1.1 403 Forbidden It is running and seems to be running fine to me, could this be due to it being apache 2.0? Take Care, Seth Hollen seth at hollen.org 727-919-1598 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brandon at roguetrader.com Thu Oct 10 22:36:19 2002 From: brandon at roguetrader.com (Brandon Gillespie) Date: Thu, 10 Oct 2002 14:36:19 -0600 Subject: problem with configure script and libgd Message-ID: <3DA5E4C3.2050701@roguetrader.com> Ok, so even though it said to 'get over it' I couldn't, I have a valid GD install which I used for another application. It appears that with my configuration: nagios-1.0b6, gcc-3.2, libgd 1.8.4, the configure script is not making a valid executable. It is using the following source-code test: ---------------------------------- char gdImagePng(); int main() { gdImagePng() ; return 0; } ---------------------------------- Which exits with an error condition because gdImagePng requires two arguments, so the configure script presumes libgd doesn't work (wrong). A better test would be: ---------------------------------- #include int main() { gdImagePtr im; im = gdImageCreate(64, 64); gdImagePng(im, stderr) ; return 0; } ---------------------------------- But why do it this way at all? Wouldn't it be easier to just use 'nm' and see if the symbol exists in the library? -Brandon Gillespie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 23:01:00 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 17:01:00 -0400 Subject: performance information vs nagios -s Message-ID: Good morning, i am trying to squeeze everthing out of my config and noticed this. After modifying my configs i ran nagios -s and compared it with what was on the "Performance Info" link on my Nagios site. Why is the result so different? As far as i can tell, i have implemented all of the suggestions from the nagios -s. SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1408 Total hosts: 1400 Command check interval: -1 sec Check reaper interval: 2 sec Inter-check delay method: SMART Average check interval: 1020.000 sec Inter-check delay: 0.724 sec Interleave factor method: SMART Average services per host: 1.006 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1034281727 -> Thu Oct 10 16:28:47 2002 Last scheduled check: 1034282747 -> Thu Oct 10 16:45:47 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 3 Recommend value: 9 Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 68 (4.8%) <= 5 minutes: 400 (28.4%) <= 15 minutes: 1220 (86.7%) <= 1 hour: 1400 (99.5%) Since program start: 1400 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 6 sec 0.199 sec Check Latency: < 1 sec 3 sec 0.119 sec Percent State Change: 0.00% 0.00% 0.00% Passive Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% nagios.cfg log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 #global_host_event_handler=somecommand #global_service_event_handler=somecommand inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=2 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 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=process-host-perfdata service_perfdata_command=process-service-perfdata obsess_over_services=0 #ocsp_command=somecommand check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=euro admin_email=nagios admin_pager=pagenagios ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Oct 10 23:08:25 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 10 Oct 2002 17:08:25 -0400 Subject: service checks that don't fit into check_interval Message-ID: me again, so i noticed that i had 1400 service check and according to the "Performance Info" link on my Nagios site, i cannot fit them all into a 15 minute window. see below (let alone the 10 minute window i was using for my normal_check_interval). How then are the remaining services scheduled? As you can see all 1400 service checks _are_ performed within 1 hour. How is that?? Are they just jammed in as time permits? This becomes more important during failures. thanks for all the help today (and in advance for tomorrow), dean Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 74 (5.3%) <= 5 minutes: 397 (28.2%) <= 15 minutes: 1225 (87.1%) <= 1 hour: 1400 (99.5%) Since program start: 1400 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 5 sec 0.170 sec Check Latency: < 1 sec 3 sec 0.135 sec Percent State Change: 0.00% 0.00% 0.00% Passive Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dave.breiland at accelica.com Thu Oct 10 23:34:58 2002 From: dave.breiland at accelica.com (Dave Breiland) Date: Thu, 10 Oct 2002 14:34:58 -0700 Subject: check_radius problem Message-ID: <000001c270a4$e62e32d0$c404f70a@superhero> I am having problems with the check_radius module. I am running: netsaint-plugins-1.2.9-4 Command Entered: /usr/local/libexec/netsaint/check_radius radiususer password dc01 0 check-radius Error: Sending request. Warning: Received invalid reply digest from server. radrecv: Reply from host b60010a code=3, id=159, length=50. Received unknown attribute 80. Reply-Message = "Rejected\012\015". Access denied. Anyone know what is going on? Thanks, Dave Breiland dave.breiland at accelica.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3432 bytes Desc: not available URL: From brmm28 at yahoo.com Fri Oct 11 02:11:46 2002 From: brmm28 at yahoo.com (New User) Date: Thu, 10 Oct 2002 17:11:46 -0700 (PDT) Subject: Cisco Sub-interfaces Message-ID: <20021011001146.94682.qmail@web13106.mail.yahoo.com> I have Nagios up and working and I have configured the check_snmp plugin. I have Net-SNMP installed and working with the plugin. I am using NET-SNMP to get information about my Cisco routers. I can get information from serial 0 but I cannot get any information on the serial sub-interfaces like serial 0.1. The type of information I would like to get from the sub-interface is up/down and bandwidth util. If anyone knows how this can be done please let me know. If this is not the right forum to post this in so I apolgize in adavnce. --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireant at zpdee.net Fri Oct 11 03:08:21 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 11 Oct 2002 09:08:21 +0800 Subject: statusmap problem Message-ID: <1034298502.5419.2.camel@expedient.skycablenet.com> Two things here. It might be that nagios is not running, just the httpd. Or you don't have the statusmap.cgi. hth, Louie Date: Thu, 10 Oct 2002 13:40:39 -0400 (EDT) From: "Dominique Arpin" To: Subject: [Nagios-users] statusmap problem hi all, when i click on "status map" on the web interface, i have this error message: Error: Could not read host and service status information! but in my cgi.cfg file, i have: hostextinfo[bourbaki]=3D;;win40.gif;win40.jpg;win40.gd2;NT server 2000;;5000;100,50;3.5,2.0,5.5hostextinfo[darwin]=3D;;debian.gif;debian.jp= g;debian.gd2;Debian 3.0;;5000;100,50;3.5,2.0,5.5 serviceextinfo[darwin;PING]=3Dhttp://darwin?tracerouteto=3D$HOSTADDRESS$;= ;PING rateserviceextinfo[bourbaki;PING]=3Dhttp://bourbaki?tracerouteto=3D$HOSTA= DDRESS$;;PING rate did i miss something? tanx and excuse me for my english ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Fri Oct 11 03:13:43 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 11 Oct 2002 09:13:43 +0800 Subject: Multiple nagios monitors in one machine In-Reply-To: References: Message-ID: <1034298823.5419.7.camel@expedient.skycablenet.com> Jim, I've checked all the cfg files and there isn't any item pointing to any of the cgi files. So that's out. And like I said, when copying a statusmap.cgi from another instance/folder to the new one and run the new instance, I get the error message where it's pointing to the "other" directory. Incidentally, how do you do a strings command? hehe Louie On Fri, 2002-10-11 at 04:25, Carroll, Jim P [Contractor] wrote: > I might be missing something here, but I'm reasonably certain that the > binaries don't have any pathnames to config files hardcoded. Having said > that, the only reason I can see that this 3rd instance would fail, is that > the config file you're specifying on startup still has the pathname to the > 'original' directory. Try to grep through the config files for this 3rd > instance, for any occurrences of the 'original' directory. > > Failing that, do a 'strings' command on each of the binaries and grep for > the 'original' directory. I suspect you won't find the pathnames hardcoded. > :) > > As you mention in another e-mail, I'd be surprised if the gd libraries can't > 'support' 3 instances of Nagios. > > jc > > > -----Original Message----- > > From: Louie Cagasan [mailto:fireant at zpdee.net] > > Sent: Thursday, October 10, 2002 8:52 AM > > To: Carroll, Jim P [Contractor] > > Cc: nagios-users at lists.sourceforge.net; freddy_frouin at fluxus.net; > > eljalforja at skycablenet.com; juvs at skycablenet.com; > > agattud at skycablenet.com > > Subject: RE: [Nagios-users] Multiple nagios monitors in one machine > > > > > > Hi Jim and Freddy, > > > > I tried doing that by copying the missing cgi files statusmap.cgi, > > trends.cgi and histogram.cgi but when I ran that instance of > > nagios and > > click on the statusmap, it says it can't find the ORIGINAL directory > > these cgi files were originally compiled for. so it won't work. > > > > As for Freddy's comments, what I did was treat every > > installation like a > > new installation: deleting the source tree then getting the files from > > the tarball but apparently, it can't locate the gd libraries > > for these 3 > > cgi files from /usr/lib or /usr/local/lib and /usr/include and > > /usr/local/include. But the thing is: if it can't locate the gd > > library, why was I able to install it in the first place? Go figure... > > > > Would Ethan Galstad have an answer for this you think? Hi Ethan! =) > > > > Thanks, > > > > Louie > > > > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > > Louie, I don't know why you don't just manually copy a > > working tree into the > > > 3rd target directory, and manually search/replace pathnames > > in the config > > > files. > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > > To: Louie Cagasan > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Multiple nagios monitors in > > one machine > > > > > > > > > > > > maybe you've done some bad operation by the past in this > > > > directory... did > > > > you tryed to clean the config.cache file before reconfiguring > > > > ? did you tryed to > > > > delete the source tree and to get it again from the tgz > > > > archive and to try to > > > > recompile it ? are you using multiple users for each version > > > > of nagios you plan > > > > to deploy ? if yes, check env var for each users... > > > > > > > > 'hope this help, Freddy. > > > > > > > > On 09 Oct 2002 06:31:28 +0800 > > > > Louie Cagasan wrote: > > > > > > > > > I'm trying to do this on just one machine, e.g., > > > > > > > > > > /opt/nagios/network1 > > > > > /opt/nagios/network2 > > > > > /opt/nagios/network3 > > > > > > > > > > or > > > > > > > > > > /opt/network1/nagios/ > > > > > /opt/network2/nagios > > > > > /opt/network3/nagios > > > > > > > > > > preferably the first one. I've successfully installed > > and ran two > > > > > monitors, with the first in the directory /opt/nagios > > and another in > > > > > /opt/net2/nagios, with the statusmaps and all but I'm just not > > > > > successful with doing a third. The configure error is > > that it's not > > > > > locating those gd,png, and jpg libraries. Which is > > strange, since > > > > > it worked for the first two. Does anybody know what > > may be wrong? > > > > > > > > > > TIA, > > > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > -- > > > > Freddy Frouin > > > > Responsable Supervision > > > > Fluxus - British Telecom > > > > 30, rue du Ch?teau des Rentiers > > > > 75013 Paris > > > > > > > > T?l: +33 (0)1 44 97 70 00 > > > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jamie at bclnz.net Fri Oct 11 04:44:34 2002 From: jamie at bclnz.net (Jamie) Date: Fri, 11 Oct 2002 15:44:34 +1300 Subject: Nagios/Netsaint and Webmin. References: <1034298823.5419.7.camel@expedient.skycablenet.com> Message-ID: <00b601c270d0$22fd9db0$b58031ca@bcl977307> Hi All, Now I know that real men (sorry ladies) don't use a GUI, but has anyone have anything positive to say about the webmin gui for netsaint/nagios? Is anyone using it now for Nagios 1.0b6? Any Issues? -jb ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Fri Oct 11 05:08:38 2002 From: jragle at unm.edu (Jamin) Date: Thu, 10 Oct 2002 21:08:38 -0600 (MDT) Subject: Nagios/Netsaint and Webmin. In-Reply-To: <00b601c270d0$22fd9db0$b58031ca@bcl977307> References: <00b601c270d0$22fd9db0$b58031ca@bcl977307> Message-ID: I'm using a nagios/webmin setup right now just for the authentication and ssl layer. I wrote my own module which handles all the security and wrapper issues so it runs in webmin correctly. (ACLs get updated for what users can log in and the sort.) I am not using the Netsaint module for webmin at all though. If only Tim Niemueller would update his Netsaint module to Nagios, it would be awesome! to edit the config files via webmin would be a step up IMHO. That is the next thing Nagios really needs, integrated config file modification via the interface. Ok, maybe just one more thing that we want added to the list eh. On Fri, 11 Oct 2002, Jamie wrote: > Hi All, > > Now I know that real men (sorry ladies) don't use a GUI, but has anyone have > anything positive to say about the webmin gui for netsaint/nagios? > > Is anyone using it now for Nagios 1.0b6? Any Issues? > > -jb > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ---------------------------------------------------------------------- De sapienti viro facit ira virum cito stultum. (Werner) ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 11 05:46:42 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Oct 2002 23:46:42 -0400 (EDT) Subject: check_dhcp In-Reply-To: <3B9B6F9AD30D3040AD5541A1D005D98710DDA6@nc-mail2.in.nordcom.net> References: <3B9B6F9AD30D3040AD5541A1D005D98710DDA6@nc-mail2.in.nordcom.net> Message-ID: On Mon, 7 Oct 2002 Jens.Bergmann at nordCom.net wrote: > Hi, > > no matter which server-ip/-host i pass to check_dhcp i get an answer > from my real dhcp-cluster. with other words: i'm not able to make a > dedicated request to one server. (okay, i know that dhcp uses > broadcasts, but i thougth it would check the ip of the replying server). > > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ -t 5 > > jens > > -- > Jens Bergmann jens.bergmann at nordcom.net > Internetworking Voice: +49 421 2773 566 > Doetlinger Str. 6-8 Fax: +49 421 2773 573 > 28197 Bremen/Germany http://www.nordcom.net/ > -s checks for the IP address of the dhcp server that provided the response. e.g. - my dhcp server is 192.168.0.4 [root at calcutta contrib]# ./check_dhcp -s 192.168.0.4 -t 2 DHCP ok: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max lease time = 18000 sec. [root at calcutta contrib]# ./check_dhcp -s 192.168.0.5 -t 2 DHCP problem: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 18000 sec. -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 11 05:51:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Oct 2002 23:51:12 -0400 (EDT) Subject: Cisco Sub-interfaces In-Reply-To: <20021011001146.94682.qmail@web13106.mail.yahoo.com> References: <20021011001146.94682.qmail@web13106.mail.yahoo.com> Message-ID: On Thu, 10 Oct 2002, New User wrote: > > I have Nagios up and working and I have configured the check_snmp > plugin. I have Net-SNMP installed and working with the plugin. I am > using NET-SNMP to get information about my Cisco routers. I can get > information from serial 0 but I cannot get any information on the serial > sub-interfaces like serial 0.1. The type of information I would like to > get from the sub-interface is up/down and bandwidth util. > > If anyone knows how this can be done please let me know. > > If this is not the right forum to post this in so I apolgize in adavnce. > find out the ifIndex values for the sub-interfaces and treat them just like an interface. the only difference - ifxxErrors - and a couple of other counters will not necessarily be accurate for the subinterface - but will be for the interface. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 11 05:55:54 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Oct 2002 23:55:54 -0400 (EDT) Subject: Check_Time plugin and BST In-Reply-To: References: Message-ID: On Thu, 10 Oct 2002, Chris Losch wrote: > I'm having a problem with the Check_Time plugin, > > I am using the checkcommand to check our primary internal time server, which > synchronises itself with an Internet Time source, server for skew, > using the following. > --snip-- > command_line $USER1$/check_time -H $HOSTADDRESS$ -w 10 -c 30 -W 2 -C > 5 > --end snip-- > > Ignoring the warn and critical levels I have set, the skew is reported as ~ > 3600 second time difference (1 hour) > > The Redhat 7.3 Linux box I am running nagios on is currently on BST (British > Summer Time = GMT +1 for our Internation users) at the moment, and requires > that I put its time back an hour (to GMT) so that the time falls within the > specified period to give an 'ok' response. > > Presumably once we here go back to GMT this will then work 'as it says on > the tin' but surely either I am missing something here? Is everyone else > somehow fudging this to get an 'OK' response ? Is there something I need to > do on the Linux box? > > I have the Questions, does anyone have the answers.... ? > > (check_time is version 1.1.1.1) > > haven't touched the time protocol in ages - any chance you are running NTP? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Fri Oct 11 08:19:54 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Fri, 11 Oct 2002 08:19:54 +0200 Subject: SNMP? In-Reply-To: References: Message-ID: <02d801c270ee$378e5f80$cfdda8c0@JANJNWL105> > look at http://www.mibcentral.com/index.shtml Oh, excellent resource! Thankyou. However, when querying for "Toner" in the IBM section, I get no hits, surely the high end IBM's must be able to provide this, so the question is, does anyone know what OID to query in IBM Netwoek Printer 17 and IBM Infoprint 21? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ablazy at mediafusion.es Fri Oct 11 09:42:32 2002 From: ablazy at mediafusion.es (Aymeric BLAZY) Date: Fri, 11 Oct 2002 09:42:32 +0200 Subject: Monitoring Microsoft SQL servers and/or Sybase In-Reply-To: References: Message-ID: <5.1.0.14.0.20021011093922.0540dc90@62.37.232.5> Hi, From my point of view there is many way to monitor an SQL Server from Nagios point of view. Depending of the version of Sql Server you can also use SQL Server SNMPAgent + Microsoft SNMP Agent to monitor filegroup size, Sql Server Agent running etc etc .... I have implemented these tests on my Sql Server .. if someone interested. Regards, At 14:00 10/10/2002 -0400, Carlos Guevara wrote: >Check out http://sourceforge.net/mailarchive/message.php?msg_id=560790 . > >- Carlos > > >On Thu, 10 Oct 2002 11:08:40 -0400, "David Rippel" > wrote: > > >Greetings - > > > >I'd like a way to monitor MS SQL beyond checking for port 1433/TCP. I'm > aware that this issue has come up before in other mailing lists and > someone mentioned having a check for this. According to the thread it > appeared to be pending addition to the Netsaint contrib directory - but I > can't find it in netsaint or nagios' plugins contrib. Does anyone still > have this? > > > >I've found that Mon has a sybase.monitor - has anyone hacked this to > work with MS SQL/Nagios? > > > >I'm sure that FreeTDS and/or DBD::Sybase could be used in order to > create a custom check. I have FreeTDS working with SQL server, and I am > able to execute commands with sqsh.. I suppose a shell script could be > used in conjunction with sqsh to make a custom check... > > > >Unfortunately, my time is very limited and I cannot come up with an > efficient way to do this on my own. > > > >Any help would be greatly appreciated! > > > >Regards, > > > >David Rippel > >Internet Administrator > >Hillsborough County BOCC > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Fri Oct 11 09:41:55 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 11 Oct 2002 09:41:55 +0200 Subject: statusmap problem In-Reply-To: <1913.192.168.1.4.1034271639.squirrel@courriel.espacecourbe.com> References: <1913.192.168.1.4.1034271639.squirrel@courriel.espacecourbe.com> Message-ID: <20021011094155.47e397df.freddy.frouin@fluxus.net> when you've compiled nagios, which options did you give to the configure script concerning extinfo ? On Thu, 10 Oct 2002 13:40:39 -0400 (EDT) "Dominique Arpin" wrote: > hi all, > > when i click on "status map" on the web interface, i have this error > message: Error: Could not read host and service status information! > but in my cgi.cfg file, i have: > > hostextinfo[bourbaki]=;;win40.gif;win40.jpg;win40.gd2;NT server > 2000;;5000;100,50;3.5,2.0,5.5hostextinfo[darwin]=;;debian.gif;debian.jpg;debian.gd2;Debian > 3.0;;5000;100,50;3.5,2.0,5.5 > serviceextinfo[darwin;PING]=http://darwin?tracerouteto=$HOSTADDRESS$;;PING > rateserviceextinfo[bourbaki;PING]=http://bourbaki?tracerouteto=$HOSTADDRESS$;;PING > rate > did i miss something? > > tanx and excuse me for my english > > -- > Dominique Arpin_______________________[ espace > gestionnaire r?seau courbe ] > > http://www.espacecourbe.com/ > t?l?phone 514.933.9861 > t?l?copieur 514.933.9546 > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Steve_Loughran at scee.sony.co.uk Fri Oct 11 10:22:13 2002 From: Steve_Loughran at scee.sony.co.uk (Steve Loughran) Date: Fri, 11 Oct 2002 09:22:13 +0100 Subject: Slightly off topic question... Message-ID: <005e01c270ff$4d200270$f5c8dfc2@niltxp> Hi all Sorry for the slightly off topic post, but does anyone here send alerts via SMS that uses something like the Wavecom or Falcom SMS systems (rather than smsclient and a modem)? -- Steve ------------------------------------------------- Steve Loughran, Network Infrastructure Manager Sony Computer Entertainment Europe (Cambridge) Yamaha YZF1000R Thunderace ICQ#: 104426046 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stevelml1 at scee.sony.co.uk Fri Oct 11 10:25:06 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Fri, 11 Oct 2002 09:25:06 +0100 Subject: Slightly off topic post.... Message-ID: <007601c270ff$b4549a50$f5c8dfc2@niltxp> Hi all Sorry for the slightly off topic post, but does anyone here send alerts via SMS that uses something like the Wavecom or Falcom SMS systems (rather than smsclient and a modem)? -- Steve ------------------------------------------------- Steve Loughran, Network Infrastructure Manager Sony Computer Entertainment Europe (Cambridge) Yamaha YZF1000R Thunderace ICQ#: 104426046 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From hannu.liljemark at laurea.fi Fri Oct 11 10:45:03 2002 From: hannu.liljemark at laurea.fi (Hannu Liljemark) Date: Fri, 11 Oct 2002 11:45:03 +0300 Subject: CGI problems with PostgreSQL backend Message-ID: <20021011084503.GA16963@charisma.myip.org> > postgres[1416]: [69] FATAL 1: no PostgreSQL user name specified in startup packet turns out the problem was caused by nagat (the php-based management system for nagios) not wanting to finish the cgi.cfg with an empty line, which caused this problem. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From corinth at online.no Fri Oct 11 12:44:07 2002 From: corinth at online.no (Jens-Harald Johansen) Date: Fri, 11 Oct 2002 12:44:07 +0200 Subject: Availability reports Message-ID: <005801c27113$201e01f0$e20aa488@hda.hydro.com> Hi, I have a number of services I'd like to create an availabiliy report for and was wondering if it is possible to create availability reports based on service-groups, much like hostgroups ? jens:H The wisest man I ever knew taught me something I never forgot. Although I never forgot it, I never quite memorized it, either. So what I am left with is the memory of having learned something very wise that I can't quite remember. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kjetil at catchcom.com Fri Oct 11 14:59:28 2002 From: kjetil at catchcom.com (Kjetil Kvig) Date: Fri, 11 Oct 2002 14:59:28 +0200 Subject: SV: Status Information Field Message-ID: Is there any solution to this problem below? I tried editing the common/objects.h file below, but when compiling it failed... I am using Nagios to monitor some equipment (Riverstone routers and some other devices). What information i am interested in getting is the ifDescr value of all interfaces on this equipment. When i use the check_ifstatus plugin in the command line like this: check_ifstatus -C -H ...i get the full list of interfaces on the device. But when i make a new check command like this: define command{ command_name check_router_full command_line $USER1$/check_ifstatus -C -H $HOSTADDRESS$ } And use this check command in a service like this: define service{ use generic-servicew host_name router1 service_description Router no. 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_router_full } When the check_ifstatus output is displayed in the Service Detail menu, it doesnt display the whole list of interfaces....but stops in the middle. This is pretty annoying :( Solution of this problem is greatly wanted... By the way...is it possible to just display the interfaces that does not have AdminStatus - down? So when an interface that does not have AdminStatus down, actually goes down...an alarm is raised. The other alternative i have is to use the check_ifoperstatus plugin for each interface (meaning a LOT of manual configuration). Thanks, any help appreciated :) -Kjetil > -----Opprinnelig melding----- > Fra: Ewan Leith [mailto:ejl at man.fwltech.com] > Sendt: 10. september 2002 16:53 > Til: 'Jeffcoat, Al'; rpatl at gmx.at; nagios-users at lists.sourceforge.net > Emne: RE: [Nagios-users] Status Information Field > > > in the source code file common/objects.h there is the line: > > #define MAX_PLUGINOUTPUT_LENGTH 352 /* > max. length of > plugin > output */ > > > you could try upping that a bit, but it will probably > introduce all sorts of > nasty security holes. > > Ewan > > > -----Original Message----- > > From: Jeffcoat, Al [mailto:ajeffco at orhs.org] > > Sent: 10 September 2002 15:29 > > To: rpatl at gmx.at; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Status Information Field > > > > > > Hi, > > > > I'm having the same problem with the check_disk plug-in. It's > > truncating the data. > > > > No idea how to fix it, but just to say, you aren't alone ;) > > > > Al > > > > -----Original Message----- > > From: rpatl at gmx.at [mailto:rpatl at gmx.at] > > Sent: Tuesday, September 10, 2002 10:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Status Information Field > > > > Hi !! > > It's me again !! > > I've a problem with the status.cgi and the extinfo.cgi: > > If the status information is too long, it is cut off. For > instance, I > > monitor a switch with 24 ports and the plugin check_ifstatus > > returns the > > state of > > every port (down, up and dormant). > > Is the buffer too small or the table field ?? > > > > I hope you can help me !! > > Thanks in advance !! > > Patrick > > > > -- > > GMX - Die Kommunikationsplattform im Internet. > > http://www.gmx.net > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RippelD at hillsboroughcounty.org Fri Oct 11 14:59:24 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Fri, 11 Oct 2002 08:59:24 -0400 Subject: Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) Message-ID: Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring question. Secondly, now that I am really starting to dig Nagios, I have one big huge problem... How do you pronounce Nagios?! :) ... On a more serious note, does anyone have a good way to monitor WINS? Regards, David. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karapatakis at srel.edu Fri Oct 11 15:36:00 2002 From: karapatakis at srel.edu (Deno Karapatakis) Date: Fri, 11 Oct 2002 09:36:00 -0400 Subject: configuration problem on solaris 2.6 Message-ID: <3DA6D3C0.6080904@srel.edu> Newbie to the list and to Nagios, I'm trying to install/configure ver 1.0b5 on a Sparc 20 I'm taking the defaults on everything however I can not seem to compile the program. The config.log is listed below - - Any ideas configure:659: checking for a BSD compatible install configure:717: checking for gcc configure:830: checking whether the C compiler (gcc ) works configure:846: gcc -o conftest conftest.c 1>&5 ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 841 "configure" #include "confdefs.h -- Deno Karapatakis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Oct 11 15:30:42 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 11 Oct 2002 15:30:42 +0200 Subject: Status Information Field Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780340@storevis.datavis.se> Probably due to the limited length of plugin-output. Look at http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT. /FredrikW -----Original Message----- From: Kjetil Kvig [mailto:kjetil at catchcom.com] Sent: Fri 11-Oct-02 14:59 To: Nagios-list (E-post) Cc: Subject: SV: [Nagios-users] Status Information Field Is there any solution to this problem below? I tried editing the common/objects.h file below, but when compiling it failed... I am using Nagios to monitor some equipment (Riverstone routers and some other devices). What information i am interested in getting is the ifDescr value of all interfaces on this equipment. When i use the check_ifstatus plugin in the command line like this: check_ifstatus -C -H ...i get the full list of interfaces on the device. But when i make a new check command like this: define command{ command_name check_router_full command_line $USER1$/check_ifstatus -C -H $HOSTADDRESS$ } And use this check command in a service like this: define service{ use generic-servicew host_name router1 service_description Router no. 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_router_full } When the check_ifstatus output is displayed in the Service Detail menu, it doesnt display the whole list of interfaces....but stops in the middle. This is pretty annoying :( Solution of this problem is greatly wanted... By the way...is it possible to just display the interfaces that does not have AdminStatus - down? So when an interface that does not have AdminStatus down, actually goes down...an alarm is raised. The other alternative i have is to use the check_ifoperstatus plugin for each interface (meaning a LOT of manual configuration). Thanks, any help appreciated :) -Kjetil > -----Opprinnelig melding----- > Fra: Ewan Leith [mailto:ejl at man.fwltech.com] > Sendt: 10. september 2002 16:53 > Til: 'Jeffcoat, Al'; rpatl at gmx.at; nagios-users at lists.sourceforge.net > Emne: RE: [Nagios-users] Status Information Field > > > in the source code file common/objects.h there is the line: > > #define MAX_PLUGINOUTPUT_LENGTH 352 /* > max. length of > plugin > output */ > > > you could try upping that a bit, but it will probably > introduce all sorts of > nasty security holes. > > Ewan > > > -----Original Message----- > > From: Jeffcoat, Al [mailto:ajeffco at orhs.org] > > Sent: 10 September 2002 15:29 > > To: rpatl at gmx.at; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Status Information Field > > > > > > Hi, > > > > I'm having the same problem with the check_disk plug-in. It's > > truncating the data. > > > > No idea how to fix it, but just to say, you aren't alone ;) > > > > Al > > > > -----Original Message----- > > From: rpatl at gmx.at [mailto:rpatl at gmx.at] > > Sent: Tuesday, September 10, 2002 10:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Status Information Field > > > > Hi !! > > It's me again !! > > I've a problem with the status.cgi and the extinfo.cgi: > > If the status information is too long, it is cut off. For > instance, I > > monitor a switch with 24 ports and the plugin check_ifstatus > > returns the > > state of > > every port (down, up and dormant). > > Is the buffer too small or the table field ?? > > > > I hope you can help me !! > > Thanks in advance !! > > Patrick > > > > -- > > GMX - Die Kommunikationsplattform im Internet. > > http://www.gmx.net > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Fri Oct 11 15:38:14 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Fri, 11 Oct 2002 15:38:14 +0200 Subject: Cgi still reads from files and not from mySQL? Message-ID: <001f01c2712b$73d904d0$cfdda8c0@JANJNWL105> Well, nagios inputs the data into the DB alrightm, but the CGI does not read them, it still goes for the files. What might I have missed here? argus:/usr/local/nagios/etc# cat cgi.cfg | grep db # the program mode to active or standby. By default, *no one* xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=nagios xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=nagios xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=nagios xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=nagios argus:/usr/local/nagios/etc# cat resource.cfg | grep db xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=nagios xsddb_optimize_data=1 xsddb_optimize_interval=3600 xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=nagios xcddb_optimize_data=1 xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=nagios xdddb_optimize_data=1 xrddb_host=localhost xrddb_port=3306 xrddb_database=nagios xrddb_username=nagios xrddb_password=nagios xrddb_optimize_data=1 argus:/usr/local/nagios/etc# I seem to have all the settings there? ----- Jan Johansson IT-Coordinator NEW WAVE LOGISTICS Scandinavia AB Exportgatan 28, Box 4114 S-422 04 HISINGS BACKA, Sweden Phone: +46(0) 31 742 48 00 Direct: +46(0) 31 742 48 23 Fax: +46(0) 31 7424801 www.newwavelogistics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilcoxc at troycorp.com Fri Oct 11 15:41:39 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Fri, 11 Oct 2002 09:41:39 -0400 Subject: RedHat v8 Message-ID: <5F735AF7A501D411910600104B76901E01EA9760@POSTAL> Has anyone upgraded to RedHat version 8 yet? If they have, is Nagios still stable? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Losch at newham.gov.uk Fri Oct 11 15:43:21 2002 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Fri, 11 Oct 2002 14:43:21 +0100 Subject: Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) Message-ID: Pronouncing Nagios, I remember seeing a post which says something about the FAQ's which state 'say it how you want' As for WINS - Two things you could do, Check port 42 using check_tcp for connections - which will tell you if the service is up - but not necessarily if it is working as expected, or use check_snmp and OID .1.3.6.1.4.1.311.1.2.x for various statistics. (look at http://www.mibcentral.com/ for a full listing of things you can get out of it (great site - thanks to whoever pointed it out on this mailing-list)) I have yet to work out a way of testing the actual response received (I am not looking to write my own plugins at this time). -----Original Message----- From: David Rippel [mailto:RippelD at hillsboroughcounty.org] Sent: 11 October 2002 13:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring question. Secondly, now that I am really starting to dig Nagios, I have one big huge problem... How do you pronounce Nagios?! :) ... On a more serious note, does anyone have a good way to monitor WINS? Regards, David. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdeblend at gcc.dhl.com Fri Oct 11 16:08:22 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 11 Oct 2002 16:08:22 +0200 Subject: Best question ever asked on this list to date! (or maybe it'salready been asked too many times :P) References: Message-ID: <3DA6DB56.619BA378@gcc.dhl.com> see attached don't forget to enter your dc names in the plugin commands.cfg: command[check_wins]=$USER1$/check_wins.pl -W $HOSTADDRESS$ -D yourdomain David Rippel wrote: > > Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring question. > > Secondly, now that I am really starting to dig Nagios, I have one big huge problem... How do you pronounce Nagios?! :) > > ... On a more serious note, does anyone have a good way to monitor WINS? > > Regards, > > David. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- A non-text attachment was scrubbed... Name: check_wins.pl Type: application/x-perl Size: 7916 bytes Desc: not available URL: From seth at hollen.org Fri Oct 11 16:11:40 2002 From: seth at hollen.org (Seth Hollen) Date: Fri, 11 Oct 2002 10:11:40 -0400 Subject: RedHat v8 In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I installed rh8 then installed nagios (my first time) everything works except check_http, RH8 uses apache 2 which uses a different root directory than /home/httppd/ and there is no index.html file in it. I think nagios needs the index file to be there to work properly. ? ? Take Care, Seth Hollen seth at hollen.org 727-919-1598 - -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wilcox, Chris Sent: Friday, October 11, 2002 9:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RedHat v8 Has anyone upgraded to RedHat version 8 yet?? If they have, is Nagios still stable? ? Thanks. - --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 - --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 -----BEGIN PGP SIGNATURE----- Version: PGP 7.1.1 iQA/AwUBPabcHGuzNw0sdwQWEQIIVwCcDqtYwFZRgoBomjDsH7V57x4P7I4AoJxy l92EFeJ0wSN3GoGU9QPbq/OV =WFfP -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGPexch.htm.pgp Type: application/octet-stream Size: 2061 bytes Desc: not available URL: From nagios-list at thinlayer.co.uk Fri Oct 11 16:35:48 2002 From: nagios-list at thinlayer.co.uk (blokey bloke) Date: Fri, 11 Oct 2002 15:35:48 +0100 Subject: Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) References: Message-ID: <3DA6E1C4.20309@thinlayer.co.uk> David Rippel wrote: > Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring question. > > Secondly, now that I am really starting to dig Nagios, I have one big huge problem... How do you pronounce Nagios?! :) I have fondly come to pronounce it 'nachos' :?> the /real/ pronounciation illudes me too ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Oct 11 16:35:19 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 11 Oct 2002 10:35:19 -0400 Subject: Multiple nagios monitors in one machine References: <1034298823.5419.7.camel@expedient.skycablenet.com> Message-ID: <3DA6E1A7.8060803@quadrix.com> The nagios daemon doesn't have any hardcoded paths (you start it with 1 argument, the location of the nagios.cfg file). However, the CGI's do use a hardcoded path (look in common/locations.h) for where to find the cgi.cfg. For multiple instances of CGI's, you can either re-configure and remake every time, or use a patch that I made and sent out to the list previously. It takes advantage of environment variables you can set in the httpd.conf for each set/location of CGI's. If anyone wants, I can go back and repost the email I wrote and the patch. -Russell Louie Cagasan wrote: >Jim, > >I've checked all the cfg files and there isn't any item pointing to any >of the cgi files. So that's out. And like I said, when copying a >statusmap.cgi from another instance/folder to the new one and run the >new instance, I get the error message where it's pointing to the "other" >directory. > >Incidentally, how do you do a strings command? hehe > >Louie > >On Fri, 2002-10-11 at 04:25, Carroll, Jim P [Contractor] wrote: > >>I might be missing something here, but I'm reasonably certain that the >>binaries don't have any pathnames to config files hardcoded. Having said >>that, the only reason I can see that this 3rd instance would fail, is that >>the config file you're specifying on startup still has the pathname to the >>'original' directory. Try to grep through the config files for this 3rd >>instance, for any occurrences of the 'original' directory. >> >>Failing that, do a 'strings' command on each of the binaries and grep for >>the 'original' directory. I suspect you won't find the pathnames hardcoded. >>:) >> >>As you mention in another e-mail, I'd be surprised if the gd libraries can't >>'support' 3 instances of Nagios. >> >>jc >> >>>-----Original Message----- >>>From: Louie Cagasan [mailto:fireant at zpdee.net] >>>Sent: Thursday, October 10, 2002 8:52 AM >>>To: Carroll, Jim P [Contractor] >>>Cc: nagios-users at lists.sourceforge.net; freddy_frouin at fluxus.net; >>>eljalforja at skycablenet.com; juvs at skycablenet.com; >>>agattud at skycablenet.com >>>Subject: RE: [Nagios-users] Multiple nagios monitors in one machine >>> >>> >>>Hi Jim and Freddy, >>> >>>I tried doing that by copying the missing cgi files statusmap.cgi, >>>trends.cgi and histogram.cgi but when I ran that instance of >>>nagios and >>>click on the statusmap, it says it can't find the ORIGINAL directory >>>these cgi files were originally compiled for. so it won't work. >>> >>>As for Freddy's comments, what I did was treat every >>>installation like a >>>new installation: deleting the source tree then getting the files from >>>the tarball but apparently, it can't locate the gd libraries >>>for these 3 >>>cgi files from /usr/lib or /usr/local/lib and /usr/include and >>>/usr/local/include. But the thing is: if it can't locate the gd >>>library, why was I able to install it in the first place? Go figure... >>> >>>Would Ethan Galstad have an answer for this you think? Hi Ethan! =) >>> >>>Thanks, >>> >>>Louie >>> >>>On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: >>> >>>>Louie, I don't know why you don't just manually copy a >>>> >>>working tree into the >>> >>>>3rd target directory, and manually search/replace pathnames >>>> >>>in the config >>> >>>>files. >>>> >>>>jc >>>> >>>>>-----Original Message----- >>>>>From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] >>>>>Sent: Wednesday, October 09, 2002 2:17 AM >>>>>To: Louie Cagasan >>>>>Cc: nagios-users at lists.sourceforge.net >>>>>Subject: Re: [Nagios-users] Multiple nagios monitors in >>>>> >>>one machine >>> >>>>> >>>>>maybe you've done some bad operation by the past in this >>>>>directory... did >>>>>you tryed to clean the config.cache file before reconfiguring >>>>>? did you tryed to >>>>>delete the source tree and to get it again from the tgz >>>>>archive and to try to >>>>>recompile it ? are you using multiple users for each version >>>>>of nagios you plan >>>>>to deploy ? if yes, check env var for each users... >>>>> >>>>>'hope this help, Freddy. >>>>> >>>>>On 09 Oct 2002 06:31:28 +0800 >>>>>Louie Cagasan wrote: >>>>> >>>>>>I'm trying to do this on just one machine, e.g., >>>>>> >>>>>>/opt/nagios/network1 >>>>>>/opt/nagios/network2 >>>>>>/opt/nagios/network3 >>>>>> >>>>>>or >>>>>> >>>>>>/opt/network1/nagios/ >>>>>>/opt/network2/nagios >>>>>>/opt/network3/nagios >>>>>> >>>>>>preferably the first one. I've successfully installed >>>>>> >>>and ran two >>> >>>>>>monitors, with the first in the directory /opt/nagios >>>>>> >>>and another in >>> >>>>>>/opt/net2/nagios, with the statusmaps and all but I'm just not >>>>>>successful with doing a third. The configure error is >>>>>> >>>that it's not >>> >>>>>>locating those gd,png, and jpg libraries. Which is >>>>>> >>>strange, since >>> >>>>>>it worked for the first two. Does anybody know what >>>>>> >>>may be wrong? >>> >>>>>>TIA, >>>>>>Louie >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>>This sf.net email is sponsored by:ThinkGeek >>>>>>Welcome to geek heaven. >>>>>>http://thinkgeek.com/sf >>>>>>_______________________________________________ >>>>>>Nagios-users mailing list >>>>>>Nagios-users at lists.sourceforge.net >>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> >>>>> >>>>>-- >>>>>Freddy Frouin >>>>>Responsable Supervision >>>>>Fluxus - British Telecom >>>>>30, rue du Ch?teau des Rentiers >>>>>75013 Paris >>>>> >>>>>T?l: +33 (0)1 44 97 70 00 >>>>>Fax: +33 (0)1 44 97 70 07 >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This sf.net email is sponsored by:ThinkGeek >>>>>Welcome to geek heaven. >>>>>http://thinkgeek.com/sf >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> >>> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.moore at ibill.com Fri Oct 11 17:11:14 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Fri, 11 Oct 2002 11:11:14 -0400 Subject: Am I missing some docs? Message-ID: <7DC404391E19FF4B97028E7790C9C54A03563588@mail01.ibill.com> I have downloaded nagios and its plugin's. Printed out the manual, read it, got nagios installed. Now the fun part, various parts of my install are failing the "pre-flight". I can get my "nagios" webpage to appear. I don't know the dependecies between the services, hosts, groups and other config files. I don't see anywhere this is outlined. Is this "relationship" of edit config X, then add to config Y defined somewhere? What order is the adding of devices done? 1.hosts 2. services 3. dependencies 4. etc yes, I have read the docs, and the faq, and did a search using google for some insight... nothing so far has made the light bulb go "off" yet. thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From e!mullin at Confi-chek.com Fri Oct 11 17:18:18 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Fri, 11 Oct 2002 08:18:18 -0700 Subject: RedHat v8 Message-ID: Have you ever used Webmin? Within Webmin (www.webmin.com ) you can have a really nice interface into the system. The benefit here is an easy place in the configuration file apache uses to specify a default page. You are correct that if no default page is detected than it will default to the Apache page, however you can specify the name and types of pages it will use for default. Erik Mullinix -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Friday, October 11, 2002 7:58 AM To: Erik N. Mullinix Subject: RE: [Nagios-users] RedHat v8 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think the prob is apache 2.0 apparently doesn't need a default page. it if doesn't find one it pulls the standard new-apache webpage. I think the plugin is what needs the index.html not apache Take Care, Seth Hollen seth at hollen.org 727-919-1598 - -----Original Message----- From: Erik N. Mullinix [mailto:e!mullin at Confi-chek.com] Sent: Friday, October 11, 2002 10:40 AM To: Seth Hollen Subject: RE: [Nagios-users] RedHat v8 Remember you can set a default page to index.html (or anything you want) as a possible default page within Apache. Then take the default file and copy it to index.html. Erik Mullinix - -----Original Message----- From: Seth Hollen [mailto:seth at hollen.org] Sent: Friday, October 11, 2002 7:12 AM To: 'Wilcox, Chris'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RedHat v8 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I installed rh8 then installed nagios (my first time) everything works except check_http, RH8 uses apache 2 which uses a different root directory than /home/httppd/ and there is no index.html file in it. I think nagios needs the index file to be there to work properly. Take Care, Seth Hollen seth at hollen.org 727-919-1598 - - -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [HYPERLINK "mailto:nagios-users-admin at lists.sourceforge.net"mailto:nagios-users-a dmin at lists.sourceforge.net] On Behalf Of Wilcox, Chris Sent: Friday, October 11, 2002 9:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RedHat v8 Has anyone upgraded to RedHat version 8 yet? If they have, is Nagios still stable? Thanks. - - --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 - - --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (HYPERLINK "http://www.grisoft.com"http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 - -----BEGIN PGP SIGNATURE----- Version: PGP 7.1.1 iQA/AwUBPabcHGuzNw0sdwQWEQIIVwCcDqtYwFZRgoBomjDsH7V57x4P7I4AoJxy l92EFeJ0wSN3GoGU9QPbq/OV =WFfP - -----END PGP SIGNATURE----- - --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 - --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 -----BEGIN PGP SIGNATURE----- Version: PGP 7.1.1 iQA/AwUBPabm7WuzNw0sdwQWEQIcdQCdF/Fo0W4TBNYxgiLcI3fk44BSwWwAnAk/ BaM5uPS8EIRR46vZkyYSD88d =WFst -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri Oct 11 17:36:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 11 Oct 2002 10:36:00 -0500 Subject: Multiple nagios monitors in one machine Message-ID: strings statusmap.cgi | less or strings statusmap.cgi | grep /path/to/your/directory > -----Original Message----- > From: Louie Cagasan [mailto:fireant at zpdee.net] > Sent: Thursday, October 10, 2002 8:14 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Multiple nagios monitors in one machine > > > Jim, > > I've checked all the cfg files and there isn't any item > pointing to any > of the cgi files. So that's out. And like I said, when copying a > statusmap.cgi from another instance/folder to the new one and run the > new instance, I get the error message where it's pointing to > the "other" > directory. > > Incidentally, how do you do a strings command? hehe > > Louie > > On Fri, 2002-10-11 at 04:25, Carroll, Jim P [Contractor] wrote: > > I might be missing something here, but I'm reasonably > certain that the > > binaries don't have any pathnames to config files > hardcoded. Having said > > that, the only reason I can see that this 3rd instance > would fail, is that > > the config file you're specifying on startup still has the > pathname to the > > 'original' directory. Try to grep through the config files > for this 3rd > > instance, for any occurrences of the 'original' directory. > > > > Failing that, do a 'strings' command on each of the > binaries and grep for > > the 'original' directory. I suspect you won't find the > pathnames hardcoded. > > :) > > > > As you mention in another e-mail, I'd be surprised if the > gd libraries can't > > 'support' 3 instances of Nagios. > > > > jc > > > > > -----Original Message----- > > > From: Louie Cagasan [mailto:fireant at zpdee.net] > > > Sent: Thursday, October 10, 2002 8:52 AM > > > To: Carroll, Jim P [Contractor] > > > Cc: nagios-users at lists.sourceforge.net; freddy_frouin at fluxus.net; > > > eljalforja at skycablenet.com; juvs at skycablenet.com; > > > agattud at skycablenet.com > > > Subject: RE: [Nagios-users] Multiple nagios monitors in > one machine > > > > > > > > > Hi Jim and Freddy, > > > > > > I tried doing that by copying the missing cgi files statusmap.cgi, > > > trends.cgi and histogram.cgi but when I ran that instance of > > > nagios and > > > click on the statusmap, it says it can't find the > ORIGINAL directory > > > these cgi files were originally compiled for. so it won't work. > > > > > > As for Freddy's comments, what I did was treat every > > > installation like a > > > new installation: deleting the source tree then getting > the files from > > > the tarball but apparently, it can't locate the gd libraries > > > for these 3 > > > cgi files from /usr/lib or /usr/local/lib and /usr/include and > > > /usr/local/include. But the thing is: if it can't locate the gd > > > library, why was I able to install it in the first place? > Go figure... > > > > > > Would Ethan Galstad have an answer for this you think? Hi > Ethan! =) > > > > > > Thanks, > > > > > > Louie > > > > > > On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > > > > Louie, I don't know why you don't just manually copy a > > > working tree into the > > > > 3rd target directory, and manually search/replace pathnames > > > in the config > > > > files. > > > > > > > > jc > > > > > > > > > -----Original Message----- > > > > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > > > > Sent: Wednesday, October 09, 2002 2:17 AM > > > > > To: Louie Cagasan > > > > > Cc: nagios-users at lists.sourceforge.net > > > > > Subject: Re: [Nagios-users] Multiple nagios monitors in > > > one machine > > > > > > > > > > > > > > > maybe you've done some bad operation by the past in this > > > > > directory... did > > > > > you tryed to clean the config.cache file before reconfiguring > > > > > ? did you tryed to > > > > > delete the source tree and to get it again from the tgz > > > > > archive and to try to > > > > > recompile it ? are you using multiple users for each version > > > > > of nagios you plan > > > > > to deploy ? if yes, check env var for each users... > > > > > > > > > > 'hope this help, Freddy. > > > > > > > > > > On 09 Oct 2002 06:31:28 +0800 > > > > > Louie Cagasan wrote: > > > > > > > > > > > I'm trying to do this on just one machine, e.g., > > > > > > > > > > > > /opt/nagios/network1 > > > > > > /opt/nagios/network2 > > > > > > /opt/nagios/network3 > > > > > > > > > > > > or > > > > > > > > > > > > /opt/network1/nagios/ > > > > > > /opt/network2/nagios > > > > > > /opt/network3/nagios > > > > > > > > > > > > preferably the first one. I've successfully installed > > > and ran two > > > > > > monitors, with the first in the directory /opt/nagios > > > and another in > > > > > > /opt/net2/nagios, with the statusmaps and all but > I'm just not > > > > > > successful with doing a third. The configure error is > > > that it's not > > > > > > locating those gd,png, and jpg libraries. Which is > > > strange, since > > > > > > it worked for the first two. Does anybody know what > > > may be wrong? > > > > > > > > > > > > TIA, > > > > > > Louie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > -- > > > > > Freddy Frouin > > > > > Responsable Supervision > > > > > Fluxus - British Telecom > > > > > 30, rue du Ch?teau des Rentiers > > > > > 75013 Paris > > > > > > > > > > T?l: +33 (0)1 44 97 70 00 > > > > > Fax: +33 (0)1 44 97 70 07 > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Oct 11 17:44:49 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 11 Oct 2002 10:44:49 -0500 Subject: Check_Time plugin and BST Message-ID: Personally I'm not sure I'd bother with a check. Instead, I'd specify an odd number of NTP servers at the next stratum above me. ntpdate on boot, kick off ntpd, and forget about it. If you ponder the problem, what are you checking against? If the timeserver you're checking against is considered to be more accurate than the one that your NTP client is using, then why not specify that server? Why try to be smarter than the NTP protocol itself? Sounds like an exercise at trying to be too smart by half. It just seems to me to be a non-problem, or at least not one that can be easily resolved, short of joining the ISC and helping them work on the next version of NTP. ;) If time is truly critical, there are various hardware solutions which can be purchased which don't rely on an NTP server 'out there' on the net. Food for thought. jc > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, October 10, 2002 10:56 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Check_Time plugin and BST > > > On Thu, 10 Oct 2002, Chris Losch wrote: > > > I'm having a problem with the Check_Time plugin, > > > > I am using the checkcommand to check our primary internal > time server, which > > synchronises itself with an Internet Time source, server for skew, > > using the following. > > --snip-- > > command_line $USER1$/check_time -H $HOSTADDRESS$ -w > 10 -c 30 -W 2 -C > > 5 > > --end snip-- > > > > Ignoring the warn and critical levels I have set, the skew > is reported as ~ > > 3600 second time difference (1 hour) > > > > The Redhat 7.3 Linux box I am running nagios on is > currently on BST (British > > Summer Time = GMT +1 for our Internation users) at the > moment, and requires > > that I put its time back an hour (to GMT) so that the time > falls within the > > specified period to give an 'ok' response. > > > > Presumably once we here go back to GMT this will then work > 'as it says on > > the tin' but surely either I am missing something here? Is > everyone else > > somehow fudging this to get an 'OK' response ? Is there > something I need to > > do on the Linux box? > > > > I have the Questions, does anyone have the answers.... ? > > > > (check_time is version 1.1.1.1) > > > > > > > haven't touched the time protocol in ages - any chance you > are running > NTP? > > -- > -sg > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brandon at roguetrader.com Fri Oct 11 17:47:59 2002 From: brandon at roguetrader.com (Brandon Gillespie) Date: Fri, 11 Oct 2002 09:47:59 -0600 Subject: Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) References: <3DA6E1C4.20309@thinlayer.co.uk> Message-ID: <3DA6F2AF.50302@roguetrader.com> blokey bloke wrote: > > I have fondly come to pronounce it 'nachos' :?> > > the /real/ pronounciation illudes me too > I ended up settling with something similar to 'magius' like: nag-ee-oss -Brandon Gillespie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Oct 11 17:57:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 11 Oct 2002 10:57:06 -0500 Subject: Multiple nagios monitors in one machine Message-ID: I guess I get to eat my words. ;) That makes sense though. To a point. For example, sendmail typically looks for sendmail.cf at /etc/sendmail.cf. But you can specify the config file on the command line. It makes sense to me to be able to have a daemon default to a particular fully qualified pathname, but also to be able to specify any alternative (no matter how silly ;). I remember you sending that e-mail, Russell, now that you mention it. If I could blame lack of caffeine, I would. ;) jc -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Friday, October 11, 2002 9:35 AM To: Louie Cagasan Cc: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Multiple nagios monitors in one machine The nagios daemon doesn't have any hardcoded paths (you start it with 1 argument, the location of the nagios.cfg file). However, the CGI's do use a hardcoded path (look in common/locations.h) for where to find the cgi.cfg. For multiple instances of CGI's, you can either re-configure and remake every time, or use a patch that I made and sent out to the list previously. It takes advantage of environment variables you can set in the httpd.conf for each set/location of CGI's. If anyone wants, I can go back and repost the email I wrote and the patch. -Russell Louie Cagasan wrote: Jim, I've checked all the cfg files and there isn't any item pointing to any of the cgi files. So that's out. And like I said, when copying a statusmap.cgi from another instance/folder to the new one and run the new instance, I get the error message where it's pointing to the "other" directory. Incidentally, how do you do a strings command? hehe Louie On Fri, 2002-10-11 at 04:25, Carroll, Jim P [Contractor] wrote: I might be missing something here, but I'm reasonably certain that the binaries don't have any pathnames to config files hardcoded. Having said that, the only reason I can see that this 3rd instance would fail, is that the config file you're specifying on startup still has the pathname to the 'original' directory. Try to grep through the config files for this 3rd instance, for any occurrences of the 'original' directory. Failing that, do a 'strings' command on each of the binaries and grep for the 'original' directory. I suspect you won't find the pathnames hardcoded. :) As you mention in another e-mail, I'd be surprised if the gd libraries can't 'support' 3 instances of Nagios. jc -----Original Message----- From: Louie Cagasan [ mailto:firreant at zpdee.net ] Sent: Thursday, October 10, 2002 8:52 AM To: Carroll, Jim P [Contractor] Cc: nagios-users at lists.sourceforge.net ; freddy_frouin at fluxus.net ; eljalforja at skycablenet.com ; juvs at skycablenet.com ; agattud at skycablenet.com Subject: RE: [Nagios-users] Multiple nagios monitors in one machine Hi Jim and Freddy, I tried doing that by copying the missing cgi files statusmap.cgi, trends.cgi and hi stogram.cgi but when I ran that instance of nagios and click on the statusmap, it says it can't find the ORIGINAL directory these cgi files were originally compiled for. so it won't work. As for Freddy's comments, what I did was treat every installation like a new installation: deleting the source tree then getting the files from the tarball but apparently, it can't locate the gd libraries for these 3 cgi files from /usr/lib or /usr/local/lib and /usr/include and /usr/local/include. But the thing is: if it can't locate the gd library, why was I able to install it in the first place? Go figure... Would Ethan Galstad have an answer for this you think? Hi Ethan! =) Thanks, Louie On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: Louie, I don't know why you don't just manually copy a working tree into the 3rd target directory, and manually search/replace pathnames in the config files. jc -----Original Message----- From: Freddy Frouin [ maiilto:freddy.frouin at fluxus.net ] Sent: Wednesday, October 09, 2002 2:17 AM To: Louie Cagasan Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Multiple nagios monitors in one machine maybe you've done some bad operation by the past in this directory... did you tryed to clean the config.cache file before reconfiguring ? did you tryed to delete the source tree and to get it again from the tgz archive and to try to recompile it ? are you using multiple users for each version of nagios you plan to deploy ? if yes, check env var for each users... 'hope this help, Freddy. On 09 Oct 2002 06:31:28 +0800 Louie Cagasan wrote: I'm trying to do this on just one machine, e.g., /opt/nagios/network1 /opt/nagios/network2 /opt/nagios/network3 or /opt/network1/nagios/ /opt/network2/nagios /opt/network3/nagios preferably the first one. I've successfully installed and ran two monitors, with the first in the directory /opt/nagios and another in /opt/net2/nagios, with the statusmaps and all but I'm just not successful with doing a third. The configure error is that it's not locating those gd,png, and jpg libraries. Which is strange, since it worked for the first two. Does anybody know what may be wrong? TIA, Louie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heavven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris< T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeekWelcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri Oct 11 18:09:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 11 Oct 2002 11:09:50 -0500 Subject: Am I missing some docs? Message-ID: Are you sure you've read ALL the docs? There's quite a lot to read. I realize it's a bit of a Catch-22, but if you have Apache set up properly, you should be able to read the online docs that came with Nagios. Failing that, change to the /usr/local/nagios/share/docs directory (assuming you installed Nagios under /usr/local) and type "lynx index.html" (or "links index.html" if that's your cuppa). Not as pretty as a GUI, but it's all there. When I add a new device, I end up editing quite a few files. It goes something like: - hosts.cfg - hostextinfo.cfg - hostgroups.cfg - services.cfg This would be a typical add/change/delete. If I were to add another person to be notified, that's something else altogether. Sure, perhaps editing more than one file is more tedious than editing one monolithic file, but the definitions get to be a lot more streamlined. Compare this to taking a new database and normalizing it. You don't end up with one huge table. :^) I remember the first time I tried to fire up Nagios with the default config and the pre-flight check failed. "Argh," I thought. Yeah, learning to config Nagios wasn't as simple as learning how to cat a file, but at some point I got to 'critical mass' and had that 'Aha!' moment. I'm sure you will, too. Just be patient. :) Food for thought. jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 11, 2002 10:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Am I missing some docs? > > > I have downloaded nagios and its plugin's. Printed out the > manual, read it, > got nagios installed. Now the fun part, various parts of my > install are > failing the "pre-flight". I can get my "nagios" webpage to appear. > > I don't know the dependecies between the services, hosts, > groups and other > config files. I don't see anywhere this is outlined. Is this > "relationship" > of edit config X, then add to config Y defined somewhere? > > What order is the adding of devices done? > > 1.hosts > 2. services > 3. dependencies > 4. etc > > yes, I have read the docs, and the faq, and did a search > using google for > some insight... nothing so far has made the light bulb go "off" yet. > > > thanks > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Fri Oct 11 18:18:20 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Fri, 11 Oct 2002 12:18:20 -0400 Subject: Am I missing some docs? Message-ID: <7DC404391E19FF4B97028E7790C9C54A0356358A@mail01.ibill.com> The pdf file is around 199 pages, printed it all out. But it doesn't have a section on "Here is how you add a device, do 1, 2, 3." oh, it has lots of "pretty network diagrams", tons on Authentication and Authorz, freshness checks etc. Just a simple scenario of how to add a snmp device would be nice. The damn thing keeps bitching about not having any members in "hostgroups". I have "nagios" defined as group member. I am trying to start out with only 1 device, and can't even get nagios get past the hostgroups errors for the past 3 hours. thanks! -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, October 11, 2002 12:10 PM To: 'doug.moore at ibill.com'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Am I missing some docs? Are you sure you've read ALL the docs? There's quite a lot to read. I realize it's a bit of a Catch-22, but if you have Apache set up properly, you should be able to read the online docs that came with Nagios. Failing that, change to the /usr/local/nagios/share/docs directory (assuming you installed Nagios under /usr/local) and type "lynx index.html" (or "links index.html" if that's your cuppa). Not as pretty as a GUI, but it's all there. When I add a new device, I end up editing quite a few files. It goes something like: - hosts.cfg - hostextinfo.cfg - hostgroups.cfg - services.cfg This would be a typical add/change/delete. If I were to add another person to be notified, that's something else altogether. Sure, perhaps editing more than one file is more tedious than editing one monolithic file, but the definitions get to be a lot more streamlined. Compare this to taking a new database and normalizing it. You don't end up with one huge table. :^) I remember the first time I tried to fire up Nagios with the default config and the pre-flight check failed. "Argh," I thought. Yeah, learning to config Nagios wasn't as simple as learning how to cat a file, but at some point I got to 'critical mass' and had that 'Aha!' moment. I'm sure you will, too. Just be patient. :) Food for thought. jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 11, 2002 10:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Am I missing some docs? > > > I have downloaded nagios and its plugin's. Printed out the > manual, read it, > got nagios installed. Now the fun part, various parts of my > install are > failing the "pre-flight". I can get my "nagios" webpage to appear. > > I don't know the dependecies between the services, hosts, > groups and other > config files. I don't see anywhere this is outlined. Is this > "relationship" > of edit config X, then add to config Y defined somewhere? > > What order is the adding of devices done? > > 1.hosts > 2. services > 3. dependencies > 4. etc > > yes, I have read the docs, and the faq, and did a search > using google for > some insight... nothing so far has made the light bulb go "off" yet. > > > thanks > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 11 18:23:50 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 11 Oct 2002 12:23:50 -0400 Subject: Am I missing some docs? Message-ID: send your configs and error messages -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: Friday, October 11, 2002 12:18 PM To: jcarro10 at sprintspectrum.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Am I missing some docs? The pdf file is around 199 pages, printed it all out. But it doesn't have a section on "Here is how you add a device, do 1, 2, 3." oh, it has lots of "pretty network diagrams", tons on Authentication and Authorz, freshness checks etc. Just a simple scenario of how to add a snmp device would be nice. The damn thing keeps bitching about not having any members in "hostgroups". I have "nagios" defined as group member. I am trying to start out with only 1 device, and can't even get nagios get past the hostgroups errors for the past 3 hours. thanks! -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, October 11, 2002 12:10 PM To: 'doug.moore at ibill.com'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Am I missing some docs? Are you sure you've read ALL the docs? There's quite a lot to read. I realize it's a bit of a Catch-22, but if you have Apache set up properly, you should be able to read the online docs that came with Nagios. Failing that, change to the /usr/local/nagios/share/docs directory (assuming you installed Nagios under /usr/local) and type "lynx index.html" (or "links index.html" if that's your cuppa). Not as pretty as a GUI, but it's all there. When I add a new device, I end up editing quite a few files. It goes something like: - hosts.cfg - hostextinfo.cfg - hostgroups.cfg - services.cfg This would be a typical add/change/delete. If I were to add another person to be notified, that's something else altogether. Sure, perhaps editing more than one file is more tedious than editing one monolithic file, but the definitions get to be a lot more streamlined. Compare this to taking a new database and normalizing it. You don't end up with one huge table. :^) I remember the first time I tried to fire up Nagios with the default config and the pre-flight check failed. "Argh," I thought. Yeah, learning to config Nagios wasn't as simple as learning how to cat a file, but at some point I got to 'critical mass' and had that 'Aha!' moment. I'm sure you will, too. Just be patient. :) Food for thought. jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 11, 2002 10:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Am I missing some docs? > > > I have downloaded nagios and its plugin's. Printed out the > manual, read it, > got nagios installed. Now the fun part, various parts of my > install are > failing the "pre-flight". I can get my "nagios" webpage to appear. > > I don't know the dependecies between the services, hosts, > groups and other > config files. I don't see anywhere this is outlined. Is this > "relationship" > of edit config X, then add to config Y defined somewhere? > > What order is the adding of devices done? > > 1.hosts > 2. services > 3. dependencies > 4. etc > > yes, I have read the docs, and the faq, and did a search > using google for > some insight... nothing so far has made the light bulb go "off" yet. > > > thanks > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Fri Oct 11 18:45:21 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 11 Oct 2002 09:45:21 -0700 (PDT) Subject: Ntray errors? Message-ID: <20021011164521.97212.qmail@web21503.mail.yahoo.com> Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 sp6 boxes, which crash explorer.exe (can't read memory error) and 1 2000 box will open the nagios web page on the double click, but doesn't display any icons(no extended status available)..Only have the correct URL's and no options checked...The machines are locally connected so there's no proxy/security issuses.. --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Oct 11 18:47:29 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Oct 2002 12:47:29 -0400 (EDT) Subject: SNMP? In-Reply-To: <02d801c270ee$378e5f80$cfdda8c0@JANJNWL105> References: <02d801c270ee$378e5f80$cfdda8c0@JANJNWL105> Message-ID: On Fri, 11 Oct 2002, Jan Johansson wrote: > > look at http://www.mibcentral.com/index.shtml > > Oh, excellent resource! Thankyou. > > However, when querying for "Toner" in the IBM section, I get no hits, > surely the high end IBM's must be able to provide this, so the question > is, does anyone know what OID to query in IBM Netwoek Printer 17 and IBM > Infoprint 21? > Try the standard mib .. (prtMarkerSupplies table) below entry from a Xerox which does not give a value for amout of toner left- just an alert when toner is acutally low. bash$ snmpwalk -On netprint public prtMarkerSupplies .1.3.6.1.2.1.43.11.1.1.2.1.1 = 1 .1.3.6.1.2.1.43.11.1.1.3.1.1 = 0 .1.3.6.1.2.1.43.11.1.1.4.1.1 = supplyThatIsConsumed(3) .1.3.6.1.2.1.43.11.1.1.5.1.1 = toner(3) .1.3.6.1.2.1.43.11.1.1.6.1.1 = "Print Cartridge" .1.3.6.1.2.1.43.11.1.1.7.1.1 = 7 .1.3.6.1.2.1.43.11.1.1.8.1.1 = -2 .1.3.6.1.2.1.43.11.1.1.9.1.1 = -3 -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 11 19:05:49 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 11 Oct 2002 13:05:49 -0400 Subject: Ntray errors? Message-ID: i have tried it on a 2000 pro workstation and had similar results. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, October 11, 2002 12:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ntray errors? Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 sp6 boxes, which crash explorer.exe (can't read memory error) and 1 2000 box will open the nagios web page on the double click, but doesn't display any icons(no extended status available)..Only have the correct URL's and no options checked...The machines are locally connected so there's no proxy/security issuses.. _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Trace.McQuaig at usunwired.com Fri Oct 11 19:14:44 2002 From: Trace.McQuaig at usunwired.com (Trace McQuaig) Date: Fri, 11 Oct 2002 12:14:44 -0500 Subject: [netsaint] Monitoring services inWin2000 box with NSClient Message-ID: <19C21F9E0DE1914EA5E20E37D0E10A7B3E9933@usuexch02.usunwired.com> I haven't the slightest idea. I will however show you how to find out. From the remade.html that came with nescient: Services states Syntax: check_not -H -p -v SERVICE STATE [-d SHOWALL] -l [,,,...] * should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm * -d SHOWALL can be specified if you want to see all tested services including started ones. You can specify serveral services in one request. No blank should appear in the list ! If not all services are running, you get the faulty one(s) and a critical state. Example: ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l LanmanServer,Schedule ----------------- Note that the url supplied did not work for me. I searched on google for "Service Manager NT" The first result is this http://www.nttools-online.de/deutsch/srvmgr.htm . The website is not in english. However the program is. Just scroll to the bottom and click the link for "Download Service Manager NT". Unzip the file and open the executable. This program is very powerful when it comes to services. It has no safe gaurds when you click stop and such. Use caution when clicking buttons. At the top under the computer selection choose the machine you are trying to watch service on. The keyname is the name you need to use to watch your service. Good luck. I have tons of services monitored in this fashion. Trace McQuaig US Unwired Systems Engineer Unix Ninja MCSE Exchange A+ (o_ //\ "It is all fun and games 'till someone gets a virus." V_/_ All spelling errors are completely intentional. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Friday, October 11, 2002 7:04 AM To: 'Uriel Arag?n'; netsaint-users at lists.sourceforge.net Subject: RE: [netsaint] Monitoring services inWin2000 box with NSClient what service is RCServ.exe?? -----Original Message----- From: Uriel Arag?n [mailto:uaragon at kionetworks.com] Sent: Thursday, October 10, 2002 6:54 PM To: netsaint-users at lists.sourceforge.net Subject: [netsaint] Monitoring services inWin2000 box with NSClient Hello I want to monitoring some services from a Win 2000 box I?m using NSClient i have this line: #/usr/local/libexec/netsaint/check_nt -H 192.168.100.54 -p 1248 -v SERVICESTATE -l RCServ.exe but i got this error.. RCServ.exe: Unknown Could you help me, Uriel. -------------- next part -------------- An HTML attachment was scrubbed... URL: From troyc at communitech.net Fri Oct 11 19:16:53 2002 From: troyc at communitech.net (Troy Corbin) Date: Fri, 11 Oct 2002 12:16:53 -0500 (CDT) Subject: Ntray errors? In-Reply-To: References: Message-ID: i have a similar issue in that NTray just doesnt display status. -t On Fri, 11 Oct 2002, Bishop, Dean wrote: > i have tried it on a 2000 pro workstation and had similar results. > > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Friday, October 11, 2002 12:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ntray errors? > > > > Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 sp6 boxes, > which crash explorer.exe (can't read memory error) and 1 2000 box will open > the nagios web page on the double click, but doesn't display any icons(no > extended status available)..Only have the correct URL's and no options > checked...The machines are locally connected so there's no proxy/security > issuses.. > > > > > > > _____ > > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos, & > more > faith.yahoo.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dave.breiland at accelica.com Fri Oct 11 19:21:03 2002 From: dave.breiland at accelica.com (Dave Breiland) Date: Fri, 11 Oct 2002 10:21:03 -0700 Subject: check_radius problem In-Reply-To: <77F055FA968580429F4546414D8C10E70C2F9F@s102b.rhcci.net> References: <77F055FA968580429F4546414D8C10E70C2F9F@s102b.rhcci.net> Message-ID: <003c01c2714a$97a3acc0$c404f70a@superhero> The radius port is 0. It appears to be a bug with the Cisco SecureACS that we are running. I am investigating the possibility of using a different version. In the meantime, is there away to have "check_radius" accept the current error. or ignore it? Thanks for your help! Dave Breiland -----Original Message----- From: Richard Wu [mailto:Richard.Wu at fusepoint.com] Sent: Thursday, October 10, 2002 5:09 PM To: Dave Breiland Subject: RE: [Nagios-users] check_radius problem Hi Dave: The command format is like : check_radius username passwd servername nas_port_id secretkey Check the radius port, is it "0" ? Richard Wu -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dave Breiland Sent: Thursday, October 10, 2002 2:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_radius problem I am having problems with the check_radius module. I am running: netsaint-plugins-1.2.9-4 Command Entered: /usr/local/libexec/netsaint/check_radius radiususer password dc01 0 check-radius Error: Sending request. Warning: Received invalid reply digest from server. radrecv: Reply from host b60010a code=3, id=159, length=50. Received unknown attribute 80. Reply-Message = "Rejected\012\015". Access denied. Anyone know what is going on? Thanks, Dave Breiland dave.breiland at accelica.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Fri Oct 11 19:24:28 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 11 Oct 2002 10:24:28 -0700 (PDT) Subject: Ntray errors? In-Reply-To: References: Message-ID: <20021011172428.7050.qmail@web21503.mail.yahoo.com> Bummer, I'd really like to deploy it to the hlpedesk folks.. :( "Bishop, Dean" wrote:i have tried it on a 2000 pro workstation and had similar results.-----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, October 11, 2002 12:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ntray errors? Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 sp6 boxes, which crash explorer.exe (can't read memory error) and 1 2000 box will open the nagios web page on the double click, but doesn't display any icons(no extended status available)..Only have the correct URL's and no options checked...The machines are locally connected so there's no proxy/security issuses.. --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.geske at yoc.de Fri Oct 11 21:18:33 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Fri, 11 Oct 2002 21:18:33 +0200 Subject: Plugin 1.3-beta1 make all issue In-Reply-To: References: Message-ID: Garret, why don't you get the plugins from the ports tree? Works perfect for me. No need to manually configure, make, patch, etc - save time. Have fun Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Garrett Anestos Sent: Thursday, October 10, 2002 8:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin 1.3-beta1 make all issue Hello, I'm running FreeBSD 4.6.2... When I try to MAKE ALL on the Nagios plugins I get the following error... netsaint# make all Making all in plugins "/tmp/nagiosplug-1.3-beta1/plugins/Makefile", line 760: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /tmp/nagiosplug-1.3-beta1. I look in side the /tmp/nagiosplug-1.3-beta1/plugins/Makefile and the 760'th line is empty....look below... DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) **********************************Line 760 mostlyclean-depend: clean-depend: Any IDEAS? Thanks! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Fri Oct 11 21:30:37 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 11 Oct 2002 12:30:37 -0700 (PDT) Subject: Plugin 1.3-beta1 make all issue In-Reply-To: References: Message-ID: <20021011193037.41459.qmail@web21506.mail.yahoo.com> Better yet do a make all in the nagios port, installs all the snmp/extra stuff as well .. :) Daniel Geske wrote:Garret, why don't you get the plugins from the ports tree? Works perfect for me. No need to manually configure, make, patch, etc - save time. Have fun Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Garrett Anestos Sent: Thursday, October 10, 2002 8:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin 1.3-beta1 make all issue Hello, I'm running FreeBSD 4.6.2... When I try to MAKE ALL on the Nagios plugins I get the following error... netsaint# make all Making all in plugins "/tmp/nagiosplug-1.3-beta1/plugins/Makefile", line 760: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /tmp/nagiosplug-1.3-beta1. I look in side the /tmp/nagiosplug-1.3-beta1/plugins/Makefile and the 760'th line is empty....look below... DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) **********************************Line 760 mostlyclean-depend: clean-depend: Any IDEAS? Thanks! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens.bergmann at nordcom.net Fri Oct 11 21:32:18 2002 From: jens.bergmann at nordcom.net (Jens Bergmann) Date: Fri, 11 Oct 2002 21:32:18 +0200 Subject: Best question ever asked on this list to date! (or maybe it's already been asked too many times :P) References: Message-ID: <003a01c2715c$e9e36900$0e01a8c0@avalon> >Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring >question. naah-gee-ose - was on the list some days ago. jens ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RippelD at hillsboroughcounty.org Fri Oct 11 21:46:43 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Fri, 11 Oct 2002 15:46:43 -0400 Subject: Best question ever asked on this list to date! (or maybe it'salready been asked too many times :P) Message-ID: Did anyone happen to receive this without it getting stripped? It appears either the list server or our mail server mangled the attached perl script and removed all the carriage returns :( If anyone has this plugin in a working form - please send it out in an archive format (tar.gz, bz2, zip, whatever). It would be most appreciated! And.. I've been saying naah-gee-ose as suggested by Jens Bergmann thus far.. sounds about right. Where do people come up with these names? - David. >>> "Tom DE BLENDE" 10/11/02 10:08AM >>> see attached don't forget to enter your dc names in the plugin commands.cfg: command[check_wins]=$USER1$/check_wins.pl -W $HOSTADDRESS$ -D yourdomain David Rippel wrote: > > Ok, first of all, much thanks to everyone for the excellent response on my MS SQL monitoring question. > > Secondly, now that I am really starting to dig Nagios, I have one big huge problem... How do you pronounce Nagios?! :) > > ... On a more serious note, does anyone have a good way to monitor WINS? > > Regards, > > David. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Oct 11 21:54:58 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 11 Oct 2002 14:54:58 -0500 Subject: Am I missing some docs? Message-ID: Documenting some things becomes a bit of a slippery slope. That is, where do you draw the line? SNMP is itself a vast subject, and in the context of Nagios, requires things like net-snmp, among others. Regarding using "nagios" as a member of "hostgroups": Do you have a host defined called "nagios"? I know I don't. And I'm certainly not using any hostgroup called "hostgroup". That would be about as helpful as naming a computer "computer". :P I refer all to RFC1178: http://www.faqs.org/rfcs/rfc1178.html A hostgroup should have a logical name, like "dev-unix" or "prod-nt". Just some way of pigeonholing a group of similar systems. A member of that group should be referred to by the hostname you defined for it in hosts.cfg. You don't add an "SNMP device", per se; you define a service in services.cfg which references the host (defined in hosts.cfg) and a token (I'm not sure what Ethan prefers to call it) in checkcommands.cfg, which in turn references that actual command/binary/script on the local disk. (If you happen to be using NRPE, then that command would be check_nrpe, which in turn specifies a client host and another token/label in the remote host's nrpe.cfg, which in turn executes a command, with arguments.) Sound confusing? It takes a little getting used to, but hang in there, as it will eventually make sense. jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 11, 2002 11:18 AM > To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Am I missing some docs? > > > The pdf file is around 199 pages, printed it all out. But it > doesn't have a > section on "Here is how you add a device, do 1, 2, 3." > > oh, it has lots of "pretty network diagrams", tons on > Authentication and > Authorz, freshness checks etc. > > Just a simple scenario of how to add a snmp device would be nice. > > The damn thing keeps bitching about not having any members in > "hostgroups". > I have "nagios" defined as group member. > > I am trying to start out with only 1 device, and can't even > get nagios get > past the hostgroups errors for the past 3 hours. > > thanks! > > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Friday, October 11, 2002 12:10 PM > To: 'doug.moore at ibill.com'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Am I missing some docs? > > > Are you sure you've read ALL the docs? There's quite a lot to read. > > I realize it's a bit of a Catch-22, but if you have Apache > set up properly, > you should be able to read the online docs that came with > Nagios. Failing > that, change to the /usr/local/nagios/share/docs directory > (assuming you > installed Nagios under /usr/local) and type "lynx index.html" > (or "links > index.html" if that's your cuppa). Not as pretty as a GUI, > but it's all > there. > > When I add a new device, I end up editing quite a few files. It goes > something like: > > - hosts.cfg > - hostextinfo.cfg > - hostgroups.cfg > - services.cfg > > This would be a typical add/change/delete. If I were to add > another person > to be notified, that's something else altogether. > > Sure, perhaps editing more than one file is more tedious than > editing one > monolithic file, but the definitions get to be a lot more streamlined. > Compare this to taking a new database and normalizing it. > You don't end up > with one huge table. :^) > > I remember the first time I tried to fire up Nagios with the > default config > and the pre-flight check failed. "Argh," I thought. Yeah, > learning to > config Nagios wasn't as simple as learning how to cat a file, > but at some > point I got to 'critical mass' and had that 'Aha!' moment. > I'm sure you > will, too. Just be patient. :) > > Food for thought. > > jc > > > -----Original Message----- > > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > > Sent: Friday, October 11, 2002 10:11 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Am I missing some docs? > > > > > > I have downloaded nagios and its plugin's. Printed out the > > manual, read it, > > got nagios installed. Now the fun part, various parts of my > > install are > > failing the "pre-flight". I can get my "nagios" webpage to appear. > > > > I don't know the dependecies between the services, hosts, > > groups and other > > config files. I don't see anywhere this is outlined. Is this > > "relationship" > > of edit config X, then add to config Y defined somewhere? > > > > What order is the adding of devices done? > > > > 1.hosts > > 2. services > > 3. dependencies > > 4. etc > > > > yes, I have read the docs, and the faq, and did a search > > using google for > > some insight... nothing so far has made the light bulb go > "off" yet. > > > > > > thanks > > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > please notify > > the system manager. > > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From billy at gotwake.com Fri Oct 11 22:35:34 2002 From: billy at gotwake.com (Billy Glenn) Date: Fri, 11 Oct 2002 13:35:34 -0700 (PDT) Subject: Compiling SSL and LDAP plugins under Solaris Message-ID: Greetings, Nagios Users and Developers! I posted this same question a few months back, but received no responses - I guess I'm relatively alone in the world in running Nagios on Solaris, AND wanting to check LDAP and HTTPS resources. Here's the situation: I'm trying to configure/compile the check_ldap and check_http (with SSL) plugins, to no avail. Seems when I run /.configure, no matter WHAT combination of arguments I give it... it just WON'T find the required libraries for the two functions, as shown below: ... checking for main in -lldap... no configure: warning: Skipping LDAP plugin configure: warning: install LDAP libs to compile this plugin (see Requirements). ... checking for openssl... no checking for openssl/x509.h... yes checking for openssl/ssl.h... yes checking for openssl/rsa.h... yes checking for openssl/pem.h... yes checking for openssl/crypto.h... yes checking for openssl/err.h... yes ... I've tried every --with-openssl type argument I can come up with, and even copied libs around to where it appears configure is looking for them (.e.g. /usr/include/ldap, etc)... but I must confess, I'm not particularly familiar with all that autoconf macro magic found in the configure script. Can ANYONE help? I would be forever in your debt, and praise your name from the highest mountains. This is a real show-stopper for my installation, and I feel SO stupid - but stumped, none the less. For reference, I performed vanilla installs of OpenSSL and OpenLDAP - they are installed to the following locations: OpenSSL: /usr/local/ssl OpenLDAP: /usr/local (bin, lib, etc). After all my attempts at copying libraries around, ldap.h and lber.h (for example) can be found in the following locations: /usr/include/ldap/ldap.h /usr/local/include/ldap.h At any rate - just trying to provide any/all details I can think of. Any ideas/suggestions from the community? Thanks in advance for any assistance, Billy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Fri Oct 11 23:47:40 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 11 Oct 2002 14:47:40 -0700 Subject: Ntray errors? References: <20021011172428.7050.qmail@web21503.mail.yahoo.com> Message-ID: <3DA746FC.3020906@sbcglobal.net> Hello all, I'm using two instances of Ntray to monitor two different Nagios installations on Windows 2000 Pro. Ntray doesn't report status ("Extended Status unavailable etc") but the icons tell me if there is a problem (green=good, red=problem, exclamations point = unknown, etc). So for me, it has some things to be desired, but it is working. I currently have the two instances of ntray in my startup folder- however, sometimes only one starts up and I have to manually start the other. That's the only weirdness I've seen. Sean Jon Lyons wrote: > Bummer, I'd really like to deploy it to the hlpedesk folks.. :( > > */"Bishop, Dean" /* wrote: > > i have tried it on a 2000 pro workstation and had similar results. > > -----Original Message----- > *From:* Jon Lyons [mailto:jlyons30 at yahoo.com] > *Sent:* Friday, October 11, 2002 12:45 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Ntray errors? > > Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 > sp6 boxes, which crash explorer.exe (can't read memory error) > and 1 2000 box will open the nagios web page on the double > click, but doesn't display any icons(no extended status > available)..Only have the correct URL's and no options > checked...The machines are locally connected so there's no > proxy/security issuses.. > > > > > ------------------------------------------------------------------------ > Do you Yahoo!? > Faith Hill - Exclusive Performances, > Videos, & more > faith.yahoo.com > > > ------------------------------------------------------------------------ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos, > & more > faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From d.johannson at web.de Sat Oct 12 01:00:06 2002 From: d.johannson at web.de (Dirk Johannson) Date: Sat, 12 Oct 2002 01:00:06 +0200 Subject: Monitoring Compaq and Arcserve Message-ID: <200210112300.g9BN06X25580@mailgate5.cinetic.de> New on the list, so Hi to all first, and here's the question: I successfully set up Nagios for monitoring some standard services like pop3, imap, http... in a Linux/Windows environment. I also set up NSClient on my W2K-Servers and it works as well (disk and memory usage, CPU load...) So far - no problem! Now, here's the interesting part: Has anyone tried/realized monitoring Compaq Management Agents and/or CA Arcserve ? Yes, I know, there's a Win32 Compaq Insight Manager and Arcserve is able to notify by fax, mail, printer and so on, but I'd like to have an "All-in-one-Solution" based on Nagios to know all about my hard- and software. I read the docs and found a sample entry for checking "Compaq thermal condition", but I don't know how to put this into a running Nagios config. Further, I browsed through the Compaq MIBs and found 3555 entries - hard to handle... I read the docs an found that I have to use snmptrapd. I browsed through sourceforge and found a nice piece of software called snmptt, which can import MIBs, reads config files from HP Open View and is able to translate OIDs into human readable format. But I don't know how to put all these things together. Any ideas? Thanks in advance ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Sat Oct 12 01:37:45 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 11 Oct 2002 16:37:45 -0700 (PDT) Subject: Ntray errors?-Fixed In-Reply-To: <1034372960.20104.4.camel@shishio.robandsara.com> References: <1034372960.20104.4.camel@shishio.robandsara.com> Message-ID: <20021011233745.22681.qmail@web21506.mail.yahoo.com> Cool, I moved all the files to c:\ntray and all is working.. :) "Robert M. Wagner" wrote:On Fri, 2002-10-11 at 16:47, Sean Knox wrote: > Hello all, > > I'm using two instances of Ntray to monitor two different Nagios > installations on Windows 2000 Pro. Ntray doesn't report status > ("Extended Status unavailable etc") but the icons tell me if there is a > problem (green=good, red=problem, exclamations point = unknown, etc). So > for me, it has some things to be desired, but it is working. Yeah. The 'extended status' is waiting on some features to be added to Nagios itself. Right now, I'm doing a simple routine to parse the html generated by the 'status summary' page from Nagios. Ethan (Nagios guy) has promised me an XML interface to pull data from. At that point, I'll be able to tell the difference between scheduled outages and display information in the popup on what the outage actually is. > > I currently have the two instances of ntray in my startup folder- > however, sometimes only one starts up and I have to manually start the > other. That's the only weirdness I've seen. Honestly, I haven't tried that. I know I've got a couple of strange bugs floating around (like icons not showing up if it's not installed in C:\ntray), but I've been occupied a little bit lately (new baby born last week!).. I plan on a little bugfix release, but I'm pretty much planning a complete re-write once the XML interface is put into Nagios. I'll poke around a little to see if I can manage something with multiple instances of NTray. There may actually be some issues with Icons treading on each other, but I'm not sure about that. (just a guess) Rob > > Sean > > Jon Lyons wrote: > > > Bummer, I'd really like to deploy it to the hlpedesk folks.. :( > > > > */"Bishop, Dean" /* wrote: > > > > i have tried it on a 2000 pro workstation and had similar results. > > > > -----Original Message----- > > *From:* Jon Lyons [mailto:jlyons30 at yahoo.com] > > *Sent:* Friday, October 11, 2002 12:45 PM > > *To:* nagios-users at lists.sourceforge.net > > *Subject:* [Nagios-users] Ntray errors? > > > > Anyone using the Ntray system tray tool? I've tried 2 NT 4.0 > > sp6 boxes, which crash explorer.exe (can't read memory error) > > and 1 2000 box will open the nagios web page on the double > > click, but doesn't display any icons(no extended status > > available)..Only have the correct URL's and no options > > checked...The machines are locally connected so there's no > > proxy/security issuses.. > > > > > > > > > > > ------------------------------------------------------------------------ > > Do you Yahoo!? > > Faith Hill - Exclusive Performances, > > Videos, & more > > faith.yahoo.com > > > > > > ------------------------------------------------------------------------ > > Do you Yahoo!? > > Faith Hill - Exclusive Performances, Videos, > > & more > > faith.yahoo.com > > > > > --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.knox at sbcglobal.net Sat Oct 12 02:03:58 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 11 Oct 2002 17:03:58 -0700 Subject: Ntray errors?-Fixed References: <20021011233745.22681.qmail@web21506.mail.yahoo.com> Message-ID: <3DA766EE.9030601@sbcglobal.net> Heh, that threw me a for a little loop initially- you have to make sure your config.xml matches your actual environment before you start it up. Kudos to Rob for writing such a useful tool. Looking forward to that XML interface. :) Sean Jon Lyons wrote: > Cool, I moved all the files to c:\ntray and all is working.. :) > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Sat Oct 12 02:50:20 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Oct 2002 20:50:20 -0400 (EDT) Subject: Monitoring Compaq and Arcserve In-Reply-To: <200210112300.g9BN06X25580@mailgate5.cinetic.de> References: <200210112300.g9BN06X25580@mailgate5.cinetic.de> Message-ID: On Sat, 12 Oct 2002, Dirk Johannson wrote: > New on the list, so Hi to all first, > > and here's the question: > > I successfully set up Nagios for monitoring some standard services like > pop3, imap, http... in a Linux/Windows environment. > > I also set up NSClient on my W2K-Servers and it works as well (disk and memory usage, CPU load...) > > So far - no problem! > > Now, here's the interesting part: > > Has anyone tried/realized monitoring Compaq Management Agents and/or CA Arcserve ? > > Yes, I know, there's a Win32 Compaq Insight Manager and Arcserve is able > to notify by fax, mail, printer and so on, but I'd like to have an > "All-in-one-Solution" based on Nagios to know all about my hard- and > software. > > I read the docs and found a sample entry for checking "Compaq thermal > condition", but I don't know how to put this into a running Nagios > config. Further, I browsed through the Compaq MIBs and found 3555 > entries - hard to handle... > > I read the docs an found that I have to use snmptrapd. > > I browsed through sourceforge and found a nice piece of software called > snmptt, which can import MIBs, reads config files from HP Open View and > is able to translate OIDs into human readable format. > > But I don't know how to put all these things together. Any ideas? > > assuming you have enabled the Compaq Insight Manager and have net-snmp installed on the Nagios host, you sohould be able to use the check_compaq_thermal_condition as is. A lot of the other MIB entries in Insight are based on tables (eg. CPU with one row foreach CPU). Currently you have to use a particular instance - a row/column entry - using check_snmp and comare it against a warning/critical threshold. This means that you need the column OID and the instance number. You should be able to get the instance yu are interested in by running snmpwalk on the column oid. future versions of check_snmp are rumored to be able to support comparison across a column (when I get my ass in gear :) -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cquinn at excitenetwork.com Sat Oct 12 04:50:47 2002 From: cquinn at excitenetwork.com (Chris Quinn) Date: Fri, 11 Oct 2002 22:50:47 -0400 Subject: NSCA dies Message-ID: I have currently 3 dual 933 piii linux servers, one is the "master" that gets all of its results via NSCA, It runs beautifully for about an hour, then it dies, the only thing I see is that just before it dies it goes to about 3500 processes...OUCH :-(....the plugin servers are redhat 6.2 and redhat 7.1, they run fine, with the exception of rebooting about once a day, but that is for another day. The "master" server is redhat 7.2, This one never reboots but it just kills nsca after a while... If there have been any bug reports or anybody that had a similar problem that found a resolution, please respond.... This is a very common output that it gives, I believe it is OK but I am still putting it in here:-) End of connection or could not read request from client... Thank You, -Chris Quinn The ExciteNetwork -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Sat Oct 12 05:38:45 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 11 Oct 2002 20:38:45 -0700 (PDT) Subject: Ntray errors?-Fixed In-Reply-To: <3DA766EE.9030601@sbcglobal.net> References: <3DA766EE.9030601@sbcglobal.net> Message-ID: <20021012033845.38081.qmail@web21502.mail.yahoo.com> Yea, hopefully he'll get those read memory errors under control.. :) Sean Knox wrote:Heh, that threw me a for a little loop initially- you have to make sure your config.xml matches your actual environment before you start it up. Kudos to Rob for writing such a useful tool. Looking forward to that XML interface. :) Sean Jon Lyons wrote: > Cool, I moved all the files to c:\ntray and all is working.. :) > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at tcplan.net Sun Oct 13 16:45:11 2002 From: twelsh at tcplan.net (Tom Welsh) Date: Sun, 13 Oct 2002 14:45:11 +0000 Subject: probs configuring check_dns Message-ID: <20021013144511.30668.qmail@pod-163.dolphin-server.co.uk> Hi all, im slowly but surely adding checks to my nagios box an ive come over a problem i cant seem to get to the bottom of on check_dns. From the shell i can do .... #./check_dns -H www.tcplan.net -v DNS ok - 0 seconds response time, Address(es) is/are 80.87.131.163 which works fine. I have specified the following in my checkcommands.cfg and services.cfg respectivly CHECKCOMMANDS.cfg # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dns -H ns1.clara.net -s $HOSTADDRESS$ } SERVICES.CFG # Service definition for check_dns define service{ use generic-service ; Name of servic e template to use host_name web-server service_description check_dns is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups tcplan-support notification_interval 240 notification_period 24x7 notification_options c,r check_command check_tcp!$ARG1$ } but i get the following unknown problem shown in SERVICE STATUS..... Server port must be a positive integer. Can someone point out my obvious mistake coz i cant spot it and i've been looking now for over an hour. Cheers Tom Welsh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mloftis at wgops.com Sun Oct 13 17:33:40 2002 From: mloftis at wgops.com (Michael Loftis) Date: Sun, 13 Oct 2002 08:33:40 -0700 Subject: probs configuring check_dns In-Reply-To: <20021013144511.30668.qmail@pod-163.dolphin-server.co.uk> References: <20021013144511.30668.qmail@pod-163.dolphin-server.co.uk> Message-ID: <54597286.1034498020@[10.1.2.77]> Yah, that service command is using check_tcp, you wanted check_dns. --On Sunday, October 13, 2002 2:45 PM +0000 Tom Welsh wrote: > Hi all, > im slowly but surely adding checks to my nagios box an ive come over a > problem i cant seem to get to the bottom of on check_dns. From the shell > i can do .... ># ./check_dns -H www.tcplan.net -v > DNS ok - 0 seconds response time, Address(es) is/are 80.87.131.163 > which works fine. I have specified the following in my checkcommands.cfg > and services.cfg respectivly CHECKCOMMANDS.cfg ># 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H ns1.clara.net -s $HOSTADDRESS$ > } > SERVICES.CFG ># Service definition for check_dns > define service{ > use generic-service ; Name of > servic e template to use > host_name web-server > service_description check_dns > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups tcplan-support > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_tcp!$ARG1$ > } > but i get the following unknown problem shown in SERVICE STATUS..... > Server port must be a positive integer. > Can someone point out my obvious mistake coz i cant spot it and i've been > looking now for over an hour. Cheers > Tom Welsh > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stevelml1 at scee.sony.co.uk Sun Oct 13 17:32:14 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Sun, 13 Oct 2002 16:32:14 +0100 Subject: probs configuring check_dns References: <20021013144511.30668.qmail@pod-163.dolphin-server.co.uk> Message-ID: <08de01c272cd$b52aac10$ccfe10ac@niltxp> check the command that you are actually calling check_command check_tcp!$ARG1$ <<<< To: Sent: Sunday, October 13, 2002 3:45 PM Subject: [Nagios-users] probs configuring check_dns > Hi all, > > im slowly but surely adding checks to my nagios box an ive come over a > problem i cant seem to get to the bottom of on check_dns. From the shell i > can do .... > > #./check_dns -H www.tcplan.net -v > DNS ok - 0 seconds response time, Address(es) is/are 80.87.131.163 > > which works fine. I have specified the following in my checkcommands.cfg and > services.cfg respectivly > > CHECKCOMMANDS.cfg > # 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H ns1.clara.net -s $HOSTADDRESS$ > } > > SERVICES.CFG > # Service definition for check_dns > > define service{ > use generic-service ; Name of > servic > e template to use > host_name web-server > service_description check_dns > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups tcplan-support > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_tcp!$ARG1$ > } > > but i get the following unknown problem shown in SERVICE STATUS..... > > Server port must be a positive integer. > > Can someone point out my obvious mistake coz i cant spot it and i've been > looking now for over an hour. > > Cheers > > Tom Welsh > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at cerbernet.co.uk Sun Oct 13 21:23:35 2002 From: nagios at cerbernet.co.uk (Tony) Date: Sun, 13 Oct 2002 20:23:35 +0100 Subject: Nagios-users -- confirmation of subscription -- request 773025 In-Reply-To: References: Message-ID: <000201c272ee$06abcae0$1943453e@main> confirm 773025 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at cerbernet.co.uk Sun Oct 13 21:44:29 2002 From: nagios at cerbernet.co.uk (Tony) Date: Sun, 13 Oct 2002 20:44:29 +0100 Subject: (no subject) Message-ID: <000001c272f0$f7d27e80$1943453e@main> confirm 773025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwagon at connect.com.au Mon Oct 14 04:25:49 2002 From: dwagon at connect.com.au (Dougal Scott) Date: Mon, 14 Oct 2002 12:25:49 +1000 Subject: configuration problem on solaris 2.6 In-Reply-To: Message from Deno Karapatakis of 2002-Oct-11 9:36:0, <3DA6D3C0.6080904@srel.edu> References: <3DA6D3C0.6080904@srel.edu> Message-ID: <20021014022549.20B0A4ED95@koro.off.connect.com.au> > ld: fatal: file values-Xa.o: open failed: No such file or directory > ld: fatal: File processing errors. No output written to conftest > collect2: ld returned 1 exit status > configure: failed program was: You need to add the SUNWarc package which supplies the /usr/lib/values-Xa.o file. -- Dougal Scott Connect Internet Solutions dwagon at connect.com.au 9/114 Albert Rd Senior Systems Administrator South Melbourne, Australia, 3205 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris at lockwood.fsnet.co.uk Mon Oct 14 09:52:53 2002 From: Chris at lockwood.fsnet.co.uk (Chris at lockwood.fsnet.co.uk) Date: Mon, 14 Oct 2002 7:52:53 +0000 Subject: 3D World Message-ID: <20021014075253.ZLBA25864.fep08-svc.ttyl.com@localhost> I'm having problems with the 3D world configuration, everything else seems to work (excellent program). The 2D status map seems to take the coordinates I have inputted, but the 3D version is having non of it. At this point it may be worth mentioning that I did not use the: --with-template-objects argument when I compiled, however having said that the 2D Map works ok. I realize its not the end of the world but I'd really like to have full functionality, so I can show of to my manager :-) Thanks all Chris L _______________________________________________________________________ Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jan.johansson at nwl.se Mon Oct 14 10:53:17 2002 From: jan.johansson at nwl.se (Jan Johansson) Date: Mon, 14 Oct 2002 10:53:17 +0200 Subject: CGI and mySQL (again)? Message-ID: <006901c2735f$24490dd0$cfdda8c0@JANJNWL105> Can someone tell me how to verify the settings for the CGI? It still seems to read from files, and the main program is logging to mySQL? Enclosing my config info. nagios at argus:/usr/local/nagios/etc$ cat nagios.cfg resource.cfg cgi.cfg ######################################################################## ###### # # NAGIOS.CFG - Sample Main Config File for Nagios 1.0b6 # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 07-04-2002 # ######################################################################## ###### # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/usr/local/nagios/var/nagios.log # OBJECT CONFIGURATION FILE(S) # This is the configuration file in which you define hosts, host # groups, contacts, contact groups, services, etc. I guess it would # be better called an object definition file, but for historical # reasons it isn't. You can split object definitions into several # different config files by using multiple cfg_file statements here. # Nagios will read and process all the config files you define. # This can be very useful if you want to keep command definitions # separate from host and contact definitions... # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg # RESOURCE FILE # This is an optional resource file that contains $USERx$ macro # definitions. Multiple resource files can be specified by using # multiple resource_file definitions. The CGIs will not attempt to # read the contents of resource files, so information that is # considered to be sensitive (usernames, passwords, etc) can be # defined as macros in this file and restrictive permissions (600) # can be placed on this file. resource_file=/usr/local/nagios/etc/resource.cfg # STATUS FILE # This is where the current status of all monitored services and # hosts is stored. Its contents are read and processed by the CGIs. # The contentsof the status file are deleted every time Nagios # restarts. status_file=/usr/local/nagios/var/status.log # NAGIOS USER # This determines the effective user that Nagios should run as. # You can either supply a username or a UID. nagios_user=nagios # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. nagios_group=nagios # EXTERNAL COMMAND OPTION # This option allows you to specify whether or not Nagios should check # for external commands (in the command file defined below). By default # Nagios will *not* check for external commands, just to be on the # cautious side. If you want to be able to use the CGI command interface # you will have to enable this. Setting this value to 0 disables command # checking (the default), other values enable it. check_external_commands=0 # EXTERNAL COMMAND CHECK INTERVAL # This is the interval at which Nagios should check for external commands. # This value works of the interval_length you specify later. If you leave # that at its default value of 60 (seconds), a value of 1 here will cause # Nagios to check for external commands every minute. If you specify a # number followed by an "s" (i.e. 15s), this will be interpreted to mean # actual seconds rather than a multiple of the interval_length variable. # Note: In addition to reading the external command file at regularly # scheduled intervals, Nagios will also check for external commands after # event handlers are executed. # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. #command_check_interval=1 #command_check_interval=15s command_check_interval=-1 # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are submitted # by users, so it must be writeable by the user that the web server # is running as (usually 'nobody'). Permissions should be set at the # directory level instead of on the file, as the file is deleted every # time its contents are processed. command_file=/usr/local/nagios/var/rw/nagios.cmd # COMMENT FILE # This is the file that Nagios will use for storing host and service # comments. comment_file=/usr/local/nagios/var/comment.log # DOWNTIME FILE # This is the file that Nagios will use for storing host and service # downtime data. downtime_file=/usr/local/nagios/var/downtime.log # LOCK FILE # This is the lockfile that Nagios will use to store its PID number # in when it is running in daemon mode. lock_file=/usr/local/nagios/var/nagios.lock # TEMP FILE # This is a temporary file that is used as scratch space when Nagios # updates the status log, cleans the comment file, etc. This file # is created, used, and deleted throughout the time that Nagios is # running. temp_file=/usr/local/nagios/var/nagios.tmp # LOG ROTATION METHOD # This is the log rotation method that Nagios should use to rotate # the main log file. Values are as follows.. # n = None - don't rotate the log # h = Hourly rotation (top of the hour) # d = Daily rotation (midnight every day) # w = Weekly rotation (midnight on Saturday evening) # m = Monthly rotation (midnight last day of month) log_rotation_method=d # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/usr/local/nagios/var/archives # LOGGING OPTIONS # If you want messages logged to the syslog facility, as well as the # NetAlarm log file set this option to 1. If not, set it to 0. use_syslog=1 # NOTIFICATION LOGGING OPTION # If you don't want notifications to be logged, set this value to 0. # If notifications should be logged, set the value to 1. log_notifications=1 # SERVICE RETRY LOGGING OPTION # If you don't want service check retries to be logged, set this value # to 0. If retries should be logged, set the value to 1. log_service_retries=1 # HOST RETRY LOGGING OPTION # If you don't want host check retries to be logged, set this value to # 0. If retries should be logged, set the value to 1. log_host_retries=1 # EVENT HANDLER LOGGING OPTION # If you don't want host and service event handlers to be logged, set # this value to 0. If event handlers should be logged, set the value # to 1. log_event_handlers=1 # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or host is checked) # you can enable this option by setting this value to 1. If you # are not using an external application that does long term state # statistics reporting, you do not need to enable this option. In # this case, set the value to 0. log_initial_states=0 # EXTERNAL COMMANDS LOGGING OPTION # If you don't want Nagios to log external commands, set this value # to 0. If external commands should be logged, set this value to 1. # Note: This option does not include logging of passive service # checks - see the option below for controlling whether or not # passive checks are logged. log_external_commands=1 # PASSIVE SERVICE CHECKS LOGGING OPTION # If you don't want Nagios to log passive service checks, set this # value to 0. If passive service checks should be logged, set this # value to 1. log_passive_service_checks=1 # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host or service state change. # The global event handler is executed immediately prior to the event # handler that you have optionally specified in each host or # service definition. The command argument is the short name of a # command definition that you define in your host configuration file. # Read the HTML docs for more information. #global_host_event_handler=somecommand #global_service_event_handler=somecommand # INTER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" service checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all service checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! This is not a # good thing for production, but is useful when testing the # parallelization functionality. # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds inter_check_delay_method=s # SERVICE CHECK INTERLEAVE FACTOR # This variable determines how service checks are interleaved. # Interleaving the service checks allows for a more even # distribution of service checks and reduced load on remote # hosts. Setting this value to 1 is equivalent to how versions # of Nagios previous to 0.0.5 did service checks. Set this # value to s (smart) for automatic calculation of the interleave # factor unless you have a specific reason to change it. # s = Use "smart" interleave factor calculation # x = Use an interleave factor of x, where x is a # number greater than or equal to 1. service_interleave_factor=s # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 # SERVICE CHECK REAPER FREQUENCY # This is the frequency (in seconds!) that Nagios will process # the results of services that have been checked. service_reaper_frequency=10 # SLEEP TIME # This is the number of seconds to sleep between checking for system # events and service checks that need to be run. I would recommend # *not* changing this from its default value of 1 second. sleep_time=1 # TIMEOUT VALUES # These options control how much time Nagios will allow various # types of commands to execute before killing them off. Options # are available for controlling maximum time allotted for # service checks, host checks, event handlers, notifications, the # ocsp command, and performance data commands. All values are in # seconds. service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 # RETAIN STATE INFORMATION # This setting determines whether or not Nagios will save state # information for services and hosts before it shuts down. Upon # startup Nagios will reload all saved service and host state # information before starting to monitor. This is useful for # maintaining long-term data on state statistics, etc, but will # slow Nagios down a bit when it (re)starts. Since its only # a one-time penalty, I think its well worth the additional # startup delay. retain_state_information=1 # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/usr/local/nagios/var/status.sav # RETENTION DATA UPDATE INTERVAL # This setting determines how often (in minutes) that Nagios # will automatically save retention data during normal operation. # If you set this value to 0, Nagios will not save retention # data at regular interval, but it will still save retention # data before shutting down or restarting. If you have disabled # state retention, this option has no effect. retention_update_interval=60 # USE RETAINED PROGRAM STATE # This setting determines whether or not Nagios will set # program status variables based on the values saved in the # retention file. If you want to use retained program status # information, set this value to 1. If not, set this value # to 0. use_retained_program_state=0 # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 # AGRESSIVE HOST CHECKING OPTION # If you don't want to turn on agressive host checking features, set # this value to 0 (the default). Otherwise set this value to 1 to # enable the agressive check option. Read the docs for more info # on what agressive host check is or check out the source code in # base/checks.c use_agressive_host_checking=0 # SERVICE CHECK EXECUTION OPTION # This determines whether or not Nagios will actively execute # service checks when it initially starts. If this option is # disabled, checks are not actively made, but Nagios can still # receive and process passive check results that come in. Unless # you're implementing redundant hosts or have a special need for # disabling the execution of service checks, leave this enabled! # Values: 1 = enable checks, 0 = disable checks execute_service_checks=1 # PASSIVE CHECK ACCEPTANCE OPTION # This determines whether or not Nagios will accept passive # service checks results when it initially (re)starts. # Values: 1 = accept passive checks, 0 = reject passive checks accept_passive_service_checks=1 # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 # EVENT HANDLER USE OPTION # This determines whether or not Nagios will run any host or # service event handlers when it is initially (re)started. Unless # you're implementing redundant hosts, leave this option enabled. # Values: 1 = enable event handlers, 0 = disable event handlers enable_event_handlers=1 # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=0 # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS # These commands are run after every host and service check is # performed. These commands are executed only if the # enable_performance_data option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on performance data. #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata # OBSESS OVER SERVICE CHECKS OPTION # This determines whether or not Nagios will obsess over service # checks and run the ocsp_command defined below. Unless you're # planning on implementing distributed monitoring, do not enable # this option. Read the HTML docs for more information on # implementing distributed monitoring. # Values: 1 = obsess over services, 0 = do not obsess (default) obsess_over_services=0 # OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND # This is the command that is run for every service check that is # processed by Nagios. This command is executed only if the # obsess_over_service option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on implementing distributed monitoring. #ocsp_command=somecommand # ORPHANED SERVICE CHECK OPTION # This determines whether or not Nagios will periodically # check for orphaned services. Since service checks are not # rescheduled until the results of their previous execution # instance are processed, there exists a possibility that some # checks may never get rescheduled. This seems to be a rare # problem and should not happen under normal circumstances. # If you have problems with service checks never getting # rescheduled, you might want to try enabling this option. # Values: 1 = enable checks, 0 = disable checks check_for_orphaned_services=0 # SERVICE FRESHNESS CHECK OPTION # This option determines whether or not Nagios will periodically # check the "freshness" of service results. Enabling this option # is useful for ensuring passive checks are received in a timely # manner. # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # FRESHNESS CHECK INTERVAL # This setting determines how often (in seconds) Nagios will # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=60 # AGGREGATED STATUS UPDATES # This option determines whether or not Nagios will # aggregate updates of host, service, and program status # data. Normally, status data is updated immediately when # a change occurs. This can result in high CPU loads if # you are monitoring a lot of services. If you want Nagios # to only refresh status data every few seconds, disable # this option. # Values: 1 = enable aggregate updates, 0 = disable aggregate updates aggregate_status_updates=1 # AGGREGATED STATUS UPDATE INTERVAL # Combined with the aggregate_status_updates option, # this option determines the frequency (in seconds!) that # Nagios will periodically dump program, host, and # service status data. If you are not using aggregated # status data updates, this option has no effect. status_update_interval=15 # FLAP DETECTION OPTION # This option determines whether or not Nagios will try # and detect hosts and services that are "flapping". # Flapping occurs when a host or service changes between # states too frequently. When Nagios detects that a # host or service is flapping, it will temporarily supress # notifications for that host/service until it stops # flapping. Flap detection is very experimental, so read # the HTML documentation before enabling this feature! # Values: 1 = enable flap detection # 0 = disable flap detection (default) enable_flap_detection=0 # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES # Read the HTML documentation on flap detection for # an explanation of what this option does. This option # has no effect if flap detection is disabled. 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 OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=us # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> # ADMINISTRATOR EMAIL ADDRESS # The email address of the administrator of *this* machine (the one # doing the monitoring). Nagios never uses this value itself, but # you can access this value by using the $ADMINEMAIL$ macro in your # notification commands. admin_email=nagios # ADMINISTRATOR PAGER NUMBER/ADDRESS # The pager number/address for the administrator of *this* machine. # Nagios never uses this value itself, but you can access this # value by using the $ADMINPAGER$ macro in your notification # commands. admin_pager=pagenagios # EOF (End of file) ######################################################################## ### # # RESOURCE.CFG - Sample Resource File for Nagios 1.0b6 # # You can define $USERx$ macros in this file, which can in turn be used # in command definitions in your host config file(s). $USERx$ macros are # useful for storing sensitive information such as usernames, passwords, # etc. They are also handy for specifying the path to plugins and # event handlers - if you decide to move the plugins or event handlers to # a different directory in the future, you can just update one or two # $USERx$ macros, instead of modifying a lot of command definitions. # # The CGIs will not attempt to read the contents of resource files, so # you can set restrictive permissions (600 or 660) on them. # # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) # # Resource files may also be used to store configuration directives for # external data sources like MySQL... # ######################################################################## ### # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec # Sets $USER2$ to be the path to event handlers #$USER2$=/usr/local/nagios/libexec/eventhandlers # Store some usernames and passwords (hidden from the CGIs) #$USER3$=someuser #$USER4$=somepassword # DB STATUS DATA # Note: These config directives are only used if you compiled # in database support for status data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'programstatus', 'hoststatus', # and 'servicestatus' tables in the database. xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=nagios xsddb_optimize_data=1 xsddb_optimize_interval=3600 # DB COMMENT DATA # Note: These config directives are only used if you compiled # in database support for comment data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'hostcomments' and 'servicecomments' # tables in the database. xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=nagios xcddb_optimize_data=1 # DB DOWNTIME DATA # Note: These config directives are only used if you compiled # in database support for downtime data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'hostdowntime' and 'servicedowntime' # tables in the database. xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=nagios xdddb_optimize_data=1 # DB RETENTION DATA # Note: These config directives are only used if you compiled # in database support for retention data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'programretention', 'hostretention', # and 'serviceretention' tables in the database. xrddb_host=localhost xrddb_port=3306 xrddb_database=nagios xrddb_username=nagios xrddb_password=nagios xrddb_optimize_data=1 ################################################################# # # CGI.CFG - Sample CGI Configuration File for Nagios 1.0b6 # # Last Modified: 05-30-2002 # ################################################################# # MAIN CONFIGURATION FILE # This tells the CGIs where to find your main configuration file. # The CGIs will read the main and host config files for any other # data they might need. main_config_file=/usr/local/nagios/etc/nagios.cfg # PHYSICAL HTML PATH # This is the path where the HTML files for Nagios reside. This # value is used to locate the logo images needed by the statusmap # and statuswrl CGIs. physical_html_path=/usr/local/nagios/share # URL HTML PATH # This is the path portion of the URL that corresponds to the # physical location of the Nagios HTML files (as defined above). # This value is used by the CGIs to locate the online documentation # and graphics. If you access the Nagios pages with an URL like # http://www.myhost.com/nagios, this value should be '/nagios' # (without the quotes). url_html_path=/nagios # CONTEXT-SENSITIVE HELP # This option determines whether or not a context-sensitive # help icon will be displayed for most of the CGIs. # Values: 0 = disables context-sensitive help # 1 = enables context-sensitive help show_context_help=0 # NAGIOS PROCESS CHECK COMMAND # This is the full path and filename of the program used to check # the status of the Nagios process. It is used only by the CGIs # and is completely optional. However, if you don't use it, you'll # see warning messages in the CGIs about the Nagios process # not running and you won't be able to execute any commands from # the web interface. The program should follow the same rules # as plugins; the return codes are the same as for the plugins, # it should have timeout protection, it should output something # to STDIO, etc. # # Note: If you are using the check_nagios plugin here, the first # argument should be the physical path to the status log, the # second argument is the number of minutes that the status log # contents should be "fresher" than, and the third argument is the # string that should be matched from the output of the 'ps' # command in order to locate the running Nagios process. That # process string is going to vary depending on how you start # Nagios. Run the 'ps' command manually to see what the command # line entry for the Nagios process looks like. #nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' # AUTHENTICATION USAGE # This option controls whether or not the CGIs will use any # authentication when displaying host and service information, as # well as committing commands to Nagios for processing. # # Read the HTML documentation to learn how the authorization works! # # NOTE: It is a really *bad* idea to disable authorization, unless # you plan on removing the command CGI (cmd.cgi)! Failure to do # so will leave you wide open to kiddies messing with Nagios and # possibly hitting you with a denial of service attack by filling up # your drive by continuously writing to your command file! # # Setting this value to 0 will cause the CGIs to *not* use # authentication (bad idea), while any other value will make them # use the authentication functions (the default). use_authentication=0 # DEFAULT USER # Setting this variable will define a default user name that can # access pages without authentication. This allows people within a # secure domain (i.e., behind a firewall) to see the current status # without authenticating. You may want to use this to avoid basic # authentication if you are not using a sercure server since basic # authentication transmits passwords in the clear. # # Important: Do not define a default username unless you are # running a secure web server and are sure that everyone who has # access to the CGIs has been authenticated in some manner! If you # define this variable, anyone who has not authenticated to the web # server will inherit all rights you assign to this user! #default_user_name=guest # SYSTEM/PROCESS INFORMATION ACCESS # This option is a comma-delimited list of all usernames that # have access to viewing the Nagios process information as # provided by the Extended Information CGI (extinfo.cgi). By # default, *no one* has access to this unless you choose to # not use authorization. You may use an asterisk (*) to # authorize any user who has authenticated to the web server. #authorized_for_system_information=nagiosadmin,theboss,jdoe # CONFIGURATION INFORMATION ACCESS # This option is a comma-delimited list of all usernames that # can view ALL configuration information (hosts, commands, etc). # By default, users can only view configuration information # for the hosts and services they are contacts for. You may use # an asterisk (*) to authorize any user who has authenticated # to the web server. #authorized_for_configuration_information=nagiosadmin,jdoe # SYSTEM/PROCESS COMMAND ACCESS # This option is a comma-delimited list of all usernames that # can issue shutdown and restart commands to Nagios via the # command CGI (cmd.cgi). Users in this list can also change # the program mode to active or standby. By default, *no one* # has access to this unless you choose to not use authorization. # You may use an asterisk (*) to authorize any user who has # authenticated to the web server. #authorized_for_system_commands=nagiosadmin # GLOBAL HOST/SERVICE VIEW ACCESS # These two options are comma-delimited lists of all usernames that # can view information for all hosts and services that are being # monitored. By default, users can only view information # for hosts or services that they are contacts for (unless you # you choose to not use authorization). You may use an asterisk (*) # to authorize any user who has authenticated to the web server. #authorized_for_all_services=nagiosadmin,guest #authorized_for_all_hosts=nagiosadmin,guest # GLOBAL HOST/SERVICE COMMAND ACCESS # These two options are comma-delimited lists of all usernames that # can issue host or service related commands via the command # CGI (cmd.cgi) for all hosts and services that are being monitored. # By default, users can only issue commands for hosts or services # that they are contacts for (unless you you choose to not use # authorization). You may use an asterisk (*) to authorize any # user who has authenticated to the web server. #authorized_for_all_service_commands=nagiosadmin #authorized_for_all_host_commands=nagiosadmin # EXTENDED HOST INFORMATION # This is all entirely optional. If you don't enter any extended # information, nothing bad will happen - I promise... Its basically # just used to have pretty icons and such associated with your hosts. # This is especially nice when you're using the statusmap and # statuswrl CGIs. You can also specify an URL that links to a document # containing more information about the host (location details, contact # information, etc). # # hostextinfo[]=;;;;\ # ;,;,,; # # = Optional URL that points to a document of # some type containing information on the host. # The information (and the document type) can # be anything you want. Examples include details # on the physical location of the server, info # on how to contact the admins in case of an # emergency, etc. Relative URLs start in the # same path that is used to access the CGIs. # The link that is created for the host's notes # notes is found in the extinfo CGI. # Note: You may use the $HOSTNAME$ and # $HOSTADDRESS$ macros in this URL. # = A GIF, PNG, or JPG image to associate with # the host. This is used in the status and # extinfo CGIs. # = An image to use in the statuswrl CGI in the # VRML generation. Transparent images don't # work so great.. # = A GD2 format image used by the statusmap CGI # to represent the host. PNG images can be # converted to GD2 format by using the 'pngtogd2' # utility supplied with Boutell's gd library. # = ALT tag used with PNG, GIF, and GD2 images # in the status, statusmap, and extinfo CGIs # , = X and Y coordinates used when drawing the # host in the statusmap CGI. (0,0) is located # in the upper left corner of the screen and is # considered to be the origin. The coordinates # you supply here are used as the coords of the # upper left hand corner of host icon. Both # numbers should be positive integers. # ,, = X, Y, and Z coordinates used when drawing # the host in the statuswrl (VRML) CGI. All # numbers can be positive or negative (anywhere # in 3-D space). The coordinates are used to # determine the center of the host "cube" that # is drawn. Host "cubes" are drawn with a # height, width, and depth of 0.5 (meters). # # Note: All images must be placed in the /logos subdirectory under # the HTML images path (i.e. /usr/local/nagios/share/images/logos/). # This path is automatically determined by appending "/images/logos" # to the path specified by the 'physical_html_path' directive. #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;n ovell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2 ;NT Server 4.0;;; # EXTENDED SERVICE INFORMATION # This is all entirely optional. If you don't enter any extended # information, nothing bad will happen - I promise... Its basically # just used to have pretty icons and such associated with your services. # You can also specify an URL that links to a document containing more # information about the service (location details, contact information, # etc). # # serviceextinfo[;]=;;< image_alt> # # = Optional URL that points to a document of # some type containing information on the service. # The information (and the document type) can # be anything you want. Examples include details # on the physical location of the server, info # on how to contact the admins in case of an # emergency, etc. Relative URLs start in the # same path that is used to access the CGIs. # The link that is created for the service's # notes URL is found in the extinfo CGI. # Note: You may use the $HOSTNAME$, $HOSTADDRESS$, # and $SERVICEDESC$ macros in this URL. # = A GIF, PNG, or JPG image to associate with # the service. This is used in the status and # extinfo CGIs. # = ALT tag used with image # # Note: All images must be placed in the /logos subdirectory under # the HTML images path (i.e. /usr/local/nagios/share/images/logos/). # This path is automatically determined by appending "/images/logos" # to the path specified by the 'physical_html_path' directive. #serviceextinfo[es-eds;PING]=http://www.somewhere.com?tracerouteto=$HOST ADDRESS$;;PING rate #serviceextinfo[rosie;Security Alerts]=;security.gif;Security alerts # STATUSMAP BACKGROUND IMAGE # This option allows you to specify an image to be used as a # background in the statusmap CGI. It is assumed that the image # resides in the HTML images path (i.e. /usr/local/nagios/share/images). # This path is automatically determined by appending "/images" # to the path specified by the 'physical_html_path' directive. # Note: The image file must be in GD2 format! #statusmap_background_image=smbackground.gd2 # DEFAULT STATUSMAP LAYOUT METHOD # This option allows you to specify the default layout method # the statusmap CGI should use for drawing hosts. If you do # not use this option, the default is to use user-defined # coordinates. Valid options are as follows: # 0 = User-defined coordinates # 1 = Depth layers # 2 = Collapsed tree # 3 = Balanced tree # 4 = Circular # 5 = Circular (Marked Up) default_statusmap_layout=5 # DEFAULT STATUSWRL LAYOUT METHOD # This option allows you to specify the default layout method # the statuswrl (VRML) CGI should use for drawing hosts. If you # do not use this option, the default is to use user-defined # coordinates. Valid options are as follows: # 0 = User-defined coordinates # 2 = Collapsed tree # 3 = Balanced tree # 4 = Circular default_statuswrl_layout=4 # STATUSWRL INCLUDE # This option allows you to include your own objects in the # generated VRML world. It is assumed that the file # resides in the HTML path (i.e. /usr/local/nagios/share). #statuswrl_include=myworld.wrl # PING SYNTAX # This option determines what syntax should be used when # attempting to ping a host from the WAP interface (using # the statuswml CGI. You must include the full path to # the ping binary, along with all required options. The # $HOSTADDRESS$ macro is substituted with the address of # the host before the command is executed. ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ # REFRESH RATE # This option allows you to specify the refresh rate in seconds # of various CGIs (status, statusmap, extinfo, and outages). refresh_rate=90 # SOUND OPTIONS # These options allow you to specify an optional audio file # that should be played in your browser window when there are # problems on the network. The audio files are used only in # the status CGI. Only the sound for the most critical problem # will be played. Order of importance (higher to lower) is as # follows: unreachable hosts, down hosts, critical services, # warning services, and unknown services. If there are no # visible problems, the sound file optionally specified by # 'normal_sound' variable will be played. # # # = # # Note: All audio files must be placed in the /media subdirectory # under the HTML path (i.e. /usr/local/nagios/share/media/). #host_unreachable_sound=hostdown.wav #host_down_sound=hostdown.wav #service_critical_sound=critical.wav #service_warning_sound=warning.wav #service_unknown_sound=warning.wav #normal_sound=noproblem.wav # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=nagios # DB STATUS DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for status data! # The user you specify here only needs SELECT privileges on the # 'programstatus', 'hoststatus', and 'servicestatus' tables # in the database, as these values are only used by the CGIs. # The core program will read the directives you specify in # in a resource file. xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=nagios # DB COMMENT DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for comment data! # The user you specify here only needs SELECT privileges on the # 'hostcomments', and 'servicecomments' tables in the database, # as these values are only used by the CGIs. The core program # will read the directives you specify in a resource file. xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=nagios # DB DOWNTIME DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for downtime data! # The user you specify here only needs SELECT privileges on the # 'hostdowntime', and 'servicedowntime' tables in the database, # as these values are only used by the CGIs. The core program # will read the directives you specify in a resource file. xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=nagios nagios at argus:/usr/local/nagios/etc$ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Volker.Aust at premiere.de Mon Oct 14 12:05:21 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Mon, 14 Oct 2002 12:05:21 +0200 Subject: Monitoring Compaq and Arcserve Message-ID: Hi Dirk, I have wrote four plugins that read values from Compaq Insight Management Agents: - check_snmp_cpq_cpu reads the 5 (or 1, 30, 60) minute utilization average of all processors - check_snmp_cpq_fs reads the utilization of all filesystems - check_snmp_cpq_therm reads the thermal status - check_snmp_cpq_mem reads the memory utilization With the exception of check_snmp_cpq_mem (this seems to work only with NT and W2K CIM Agents) the plugins seems to work with NT/W2K, Netware and SCO CIM Agents. I have no chance to test the plugins against Linux or other OSes with CIM Agents (and my one-and-only SCO Agent is really old). They are almost BETA. I don't have published these plugins up to now because it seems that they induce an memory leak to Nagios (the Nagios process gets bigger and bigger and 'forgets' to execute active service checks (very strange)) when you compile Nagios with embedded perl. If you want to be a BETA-tester for the plugins (and have not compiled Nagios with embedded perl!) I can send to you the perl scripts (of course this offer applies to all Nagios users which wants to manage Compaq servers and wants to be BETA-tester)(Subhendu: or should I send the plugins to you and you include the scripts in the contrib?). What do you want to manage concerning Arcserve? AFAIK there is an example how you integrate snmptraps from Arcserve into Nagios with a passive check in the docs. -vol > -----Original Message----- > From: Dirk Johannson [mailto:d.johannson at web.de] > Sent: Saturday, October 12, 2002 1:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Compaq and Arcserve > > > New on the list, so Hi to all first, > > and here's the question: > > I successfully set up Nagios for monitoring some standard > services like pop3, imap, http... in a Linux/Windows environment. > > I also set up NSClient on my W2K-Servers and it works as well > (disk and memory usage, CPU load...) > > So far - no problem! > > Now, here's the interesting part: > > Has anyone tried/realized monitoring Compaq Management Agents > and/or CA Arcserve ? > > Yes, I know, there's a Win32 Compaq Insight Manager and > Arcserve is able to notify by fax, mail, printer and so on, > but I'd like to have an "All-in-one-Solution" based on Nagios > to know all about my hard- and software. > > I read the docs and found a sample entry for checking "Compaq > thermal condition", but I don't know how to put this into a > running Nagios config. Further, I browsed through the Compaq > MIBs and found 3555 entries - hard to handle... > > I read the docs an found that I have to use snmptrapd. > > I browsed through sourceforge and found a nice piece of > software called snmptt, which can import MIBs, reads config > files from HP Open View and is able to translate OIDs into > human readable format. > > But I don't know how to put all these things together. Any ideas? > > > Thanks in advance > ________________________________________________________________ > Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Mon Oct 14 12:56:25 2002 From: atul at mindsw.com (Atul Gosain) Date: Mon, 14 Oct 2002 16:26:25 +0530 Subject: RRD Tool integration Message-ID: <3DAAA2D9.6030807@mindsw.com> hi Hey what happened to RRD tool integration . Someone was going to provide some script to take the data from the rrd instead of executing the ping plugin. Thanks Atul. :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pspa at gp.novis.pt Mon Oct 14 16:03:36 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: 14 Oct 2002 14:03:36 +0000 Subject: Checking the integrity of a webpage Message-ID: <1034604216.3795.8.camel@voodoo.ip.pt> Hi all. Attached you'll find a plugin to check the integrity of a webpage. It's simple and a bit incomplete yet ... but it does the job (at least for me ...). If you have bug reports / corrections or suggestions, I'd be glad to hear :) Hugz all. -- Paulo Pinto Novis GSP pspa at gp.novis.pt -------------- next part -------------- A non-text attachment was scrubbed... Name: check_integrity.tar.gz Type: application/x-gzip Size: 3172 bytes Desc: not available URL: From Chris at lockwood.fsnet.co.uk Mon Oct 14 16:59:32 2002 From: Chris at lockwood.fsnet.co.uk (Chris at lockwood.fsnet.co.uk) Date: Mon, 14 Oct 2002 14:59:32 +0000 Subject: 3D WORLD Message-ID: <20021014145932.ZVNP25864.fep08-svc.ttyl.com@localhost> Ok So I have re-compiled Nagios using the: --with-template-object --with-template-extinfo and I have recompiled the CGI's, and yet I am still receiving the message "You have not supplied any 3-D drawing coordinates..." If I select a different layout say a 'Balanced-Tree', objects are displayed all over the place. Once I delete the entries in the hostextinfo.cfg (which are not suppost to exist, according the CGI) and re-display the status map, the objects are displayed in the way you would expect (balanced) I have removed all objects bar one from the config in the hopes it will make things easier to solve. However no Joy, with one Host Object & the Nagios Process being displayed I still get the same error message. I am getting a little sick... please tell me where I am going wrong. > > From: > Date: Mon 14/Oct/2002 07:52 GMT > To: nagios-users at lists.sourceforge.net > CC: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World > > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take the > coordinates I have inputted, but the 3D version is having non of it. > > At this point it may be worth mentioning that I did not use the: > > --with-template-objects > > argument when I compiled, however having said that the 2D Map works ok. > I realize its not the end of the world but I'd really like to have full > functionality, so I can show off to my manager :-) > > Thanks all > > Chris L > > > > _______________________________________________________________________ > Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! > For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 > > > _______________________________________________________________________ Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris at lockwood.fsnet.co.uk Mon Oct 14 17:07:01 2002 From: Chris at lockwood.fsnet.co.uk (Chris at lockwood.fsnet.co.uk) Date: Mon, 14 Oct 2002 15:07:01 +0000 Subject: 3D World Message-ID: <20021014150701.ZVTB25864.fep08-svc.ttyl.com@localhost> Ok So I have re-compiled Nagios using the: --with-template-object --with-template-extinfo and I have recompiled the CGI's, and yet I am still receiving the message "You have not supplied any 3-D drawing coordinates..." If I select a different layout say a 'Balanced-Tree', objects are displayed all over the place. Once I delete the entries in the hostextinfo.cfg (which are not suppost to exist, according the CGI) and re-display the status map, the objects are displayed in the way you would expect (balanced) I have removed all objects bar one from the config in the hopes it will make things easier to solve. However no Joy, with one Host Object & the Nagios Process being displayed I still get the same error message. I am getting a little sick... please tell me where I am going wrong. > > From: > Date: Mon 14/Oct/2002 07:52 GMT > To: nagios-users at lists.sourceforge.net > CC: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World > > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take the > coordinates I have inputted, but the 3D version is having non of it. > > At this point it may be worth mentioning that I did not use the: > > --with-template-objects > > argument when I compiled, however having said that the 2D Map works ok. > I realize its not the end of the world but I'd really like to have full > functionality, so I can show off to my manager :-) > > Thanks all > > Chris L > > > > _______________________________________________________________________ > Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! > For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 > > > _______________________________________________________________________ Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From esananselmo at albasoft.com Mon Oct 14 17:54:54 2002 From: esananselmo at albasoft.com (Eduard San Anselmo) Date: Mon, 14 Oct 2002 17:54:54 +0200 Subject: newbie question Message-ID: <3DAAE8CE.2010406@albasoft.com> Hi everyone, I've just read about Nagios and I still haven't got to play with it: before, I would like to make one question (I'm afraid it won't be the last, so take my apologies in advance): :Does Nagios support monitoring of binaries, based on their return values? Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 14 18:42:01 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 14 Oct 2002 09:42:01 -0700 (PDT) Subject: 3D World In-Reply-To: <20021014150701.ZVTB25864.fep08-svc.ttyl.com@localhost> References: <20021014150701.ZVTB25864.fep08-svc.ttyl.com@localhost> Message-ID: <20021014164201.86197.qmail@web21504.mail.yahoo.com> Don't feel bad, I have the same problem...However, I've noticed I can controll the z axis, while using the auto layout features(Balanced-Tree)..2d and everthing else works.... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!! } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D 3d_coords 5.8,10.5,-2.0 ; 3-D } Chris at lockwood.fsnet.co.uk wrote:Ok So I have re-compiled Nagios using the: --with-template-object --with-template-extinfo and I have recompiled the CGI's, and yet I am still receiving the message "You have not supplied any 3-D drawing coordinates..." If I select a different layout say a 'Balanced-Tree', objects are displayed all over the place. Once I delete the entries in the hostextinfo.cfg (which are not suppost to exist, according the CGI) and re-display the status map, the objects are displayed in the way you would expect (balanced) I have removed all objects bar one from the config in the hopes it will make things easier to solve. However no Joy, with one Host Object & the Nagios Process being displayed I still get the same error message. I am getting a little sick... please tell me where I am going wrong. > > From: > Date: Mon 14/Oct/2002 07:52 GMT > To: nagios-users at lists.sourceforge.net > CC: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World > > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take the > coordinates I have inputted, but the 3D version is having non of it. > > At this point it may be worth mentioning that I did not use the: > > --with-template-objects > > argument when I compiled, however having said that the 2D Map works ok. > I realize its not the end of the world but I'd really like to have full > functionality, so I can show off to my manager :-) > > Thanks all > > Chris L > > > > _______________________________________________________________________ > Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! > For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 > > > _______________________________________________________________________ Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Mon Oct 14 18:53:35 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 11:53:35 -0500 Subject: 3D World Message-ID: I never did get this working. The common response is "make sure you don't have dots in your hostnames", which I don't. VRML works, but Cortona does start; it comes up with "You have not supplied any 3-D drawing coordinates. Read the FAQs for more information on doing this." Not to say this can't be done, but I've largely given up on making it work (for now). I'll be migrating Nagios to another server, so maybe when I have a 'bare bones' config set up, I'll try the 3-D Status Map again, just to see whether it works at all. If I have an 'aha!' moment, I'll share it with everyone. ;) jc > -----Original Message----- > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > Sent: Monday, October 14, 2002 2:53 AM > To: nagios-users at lists.sourceforge.net > Cc: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World > > > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take the > coordinates I have inputted, but the 3D version is having non of it. > > At this point it may be worth mentioning that I did not use the: > > --with-template-objects > > argument when I compiled, however having said that the 2D Map > works ok. > I realize its not the end of the world but I'd really like to > have full > functionality, so I can show of to my manager :-) > > Thanks all > > Chris L > > > > ______________________________________________________________ > _________ > Freeserve AnyTime, only ?13.99 per month with one month's FREE trial! > For more information visit http://www.freeserve.com/time/ or > call free on 0800 970 8890 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Mon Oct 14 18:52:45 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 15 Oct 2002 00:52:45 +0800 Subject: Multiple nagios monitors in one machine In-Reply-To: <3DA6E1A7.8060803@quadrix.com> References: <1034298823.5419.7.camel@expedient.skycablenet.com> <3DA6E1A7.8060803@quadrix.com> Message-ID: <1034614366.9673.2.camel@expedient.skycablenet.com> Hi Russell, Thanks for the reply. Appreciate you reposting that patch of yours so I can test it here on my system. Thanks a million! On Fri, 2002-10-11 at 22:35, Russell Scibetti wrote: > The nagios daemon doesn't have any hardcoded paths (you start it with 1 > argument, the location of the nagios.cfg file). However, the CGI's do > use a hardcoded path (look in common/locations.h) for where to find the > cgi.cfg. > > For multiple instances of CGI's, you can either re-configure and remake > every time, or use a patch that I made and sent out to the list > previously. It takes advantage of environment variables you can set in > the httpd.conf for each set/location of CGI's. > > If anyone wants, I can go back and repost the email I wrote and the patch. > > -Russell > > Louie Cagasan wrote: > > >Jim, > > > >I've checked all the cfg files and there isn't any item pointing to any > >of the cgi files. So that's out. And like I said, when copying a > >statusmap.cgi from another instance/folder to the new one and run the > >new instance, I get the error message where it's pointing to the "other" > >directory. > > > >Incidentally, how do you do a strings command? hehe > > > >Louie > > > >On Fri, 2002-10-11 at 04:25, Carroll, Jim P [Contractor] wrote: > > > >>I might be missing something here, but I'm reasonably certain that the > >>binaries don't have any pathnames to config files hardcoded. Having said > >>that, the only reason I can see that this 3rd instance would fail, is that > >>the config file you're specifying on startup still has the pathname to the > >>'original' directory. Try to grep through the config files for this 3rd > >>instance, for any occurrences of the 'original' directory. > >> > >>Failing that, do a 'strings' command on each of the binaries and grep for > >>the 'original' directory. I suspect you won't find the pathnames hardcoded. > >>:) > >> > >>As you mention in another e-mail, I'd be surprised if the gd libraries can't > >>'support' 3 instances of Nagios. > >> > >>jc > >> > >>>-----Original Message----- > >>>From: Louie Cagasan [mailto:fireant at zpdee.net] > >>>Sent: Thursday, October 10, 2002 8:52 AM > >>>To: Carroll, Jim P [Contractor] > >>>Cc: nagios-users at lists.sourceforge.net; freddy_frouin at fluxus.net; > >>>eljalforja at skycablenet.com; juvs at skycablenet.com; > >>>agattud at skycablenet.com > >>>Subject: RE: [Nagios-users] Multiple nagios monitors in one machine > >>> > >>> > >>>Hi Jim and Freddy, > >>> > >>>I tried doing that by copying the missing cgi files statusmap.cgi, > >>>trends.cgi and histogram.cgi but when I ran that instance of > >>>nagios and > >>>click on the statusmap, it says it can't find the ORIGINAL directory > >>>these cgi files were originally compiled for. so it won't work. > >>> > >>>As for Freddy's comments, what I did was treat every > >>>installation like a > >>>new installation: deleting the source tree then getting the files from > >>>the tarball but apparently, it can't locate the gd libraries > >>>for these 3 > >>>cgi files from /usr/lib or /usr/local/lib and /usr/include and > >>>/usr/local/include. But the thing is: if it can't locate the gd > >>>library, why was I able to install it in the first place? Go figure... > >>> > >>>Would Ethan Galstad have an answer for this you think? Hi Ethan! =) > >>> > >>>Thanks, > >>> > >>>Louie > >>> > >>>On Wed, 2002-10-09 at 23:55, Carroll, Jim P [Contractor] wrote: > >>> > >>>>Louie, I don't know why you don't just manually copy a > >>>> > >>>working tree into the > >>> > >>>>3rd target directory, and manually search/replace pathnames > >>>> > >>>in the config > >>> > >>>>files. > >>>> > >>>>jc > >>>> > >>>>>-----Original Message----- > >>>>>From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > >>>>>Sent: Wednesday, October 09, 2002 2:17 AM > >>>>>To: Louie Cagasan > >>>>>Cc: nagios-users at lists.sourceforge.net > >>>>>Subject: Re: [Nagios-users] Multiple nagios monitors in > >>>>> > >>>one machine > >>> > >>>>> > >>>>>maybe you've done some bad operation by the past in this > >>>>>directory... did > >>>>>you tryed to clean the config.cache file before reconfiguring > >>>>>? did you tryed to > >>>>>delete the source tree and to get it again from the tgz > >>>>>archive and to try to > >>>>>recompile it ? are you using multiple users for each version > >>>>>of nagios you plan > >>>>>to deploy ? if yes, check env var for each users... > >>>>> > >>>>>'hope this help, Freddy. > >>>>> > >>>>>On 09 Oct 2002 06:31:28 +0800 > >>>>>Louie Cagasan wrote: > >>>>> > >>>>>>I'm trying to do this on just one machine, e.g., > >>>>>> > >>>>>>/opt/nagios/network1 > >>>>>>/opt/nagios/network2 > >>>>>>/opt/nagios/network3 > >>>>>> > >>>>>>or > >>>>>> > >>>>>>/opt/network1/nagios/ > >>>>>>/opt/network2/nagios > >>>>>>/opt/network3/nagios > >>>>>> > >>>>>>preferably the first one. I've successfully installed > >>>>>> > >>>and ran two > >>> > >>>>>>monitors, with the first in the directory /opt/nagios > >>>>>> > >>>and another in > >>> > >>>>>>/opt/net2/nagios, with the statusmaps and all but I'm just not > >>>>>>successful with doing a third. The configure error is > >>>>>> > >>>that it's not > >>> > >>>>>>locating those gd,png, and jpg libraries. Which is > >>>>>> > >>>strange, since > >>> > >>>>>>it worked for the first two. Does anybody know what > >>>>>> > >>>may be wrong? > >>> > >>>>>>TIA, > >>>>>>Louie > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>------------------------------------------------------- > >>>>>>This sf.net email is sponsored by:ThinkGeek > >>>>>>Welcome to geek heaven. > >>>>>>http://thinkgeek.com/sf > >>>>>>_______________________________________________ > >>>>>>Nagios-users mailing list > >>>>>>Nagios-users at lists.sourceforge.net > >>>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>> > >>>>> > >>>>>-- > >>>>>Freddy Frouin > >>>>>Responsable Supervision > >>>>>Fluxus - British Telecom > >>>>>30, rue du Ch?teau des Rentiers > >>>>>75013 Paris > >>>>> > >>>>>T?l: +33 (0)1 44 97 70 00 > >>>>>Fax: +33 (0)1 44 97 70 07 > >>>>> > >>>>> > >>>>>------------------------------------------------------- > >>>>>This sf.net email is sponsored by:ThinkGeek > >>>>>Welcome to geek heaven. > >>>>>http://thinkgeek.com/sf > >>>>>_______________________________________________ > >>>>>Nagios-users mailing list > >>>>>Nagios-users at lists.sourceforge.net > >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>> > >>> > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Mon Oct 14 19:04:37 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Mon, 14 Oct 2002 11:04:37 -0600 Subject: newbie question Message-ID: Yes, you can monitor binarys based on there output, that is basically how plugins work. Read the following pages, and this should give you an idea of what you need to do. http://nagios.sourceforge.net/docs/1_0/plugins.html http://nagios.sourceforge.net/docs/1_0/plugintheory.html http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Tony |---------+----------------------------------------> | | Eduard San Anselmo | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 10/14/2002 09:54 AM | | | | |---------+----------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] newbie question | >------------------------------------------------------------------------------------------------------------------------------| Hi everyone, I've just read about Nagios and I still haven't got to play with it: before, I would like to make one question (I'm afraid it won't be the last, so take my apologies in advance): :Does Nagios support monitoring of binaries, based on their return values? Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Mon Oct 14 19:03:03 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 15 Oct 2002 01:03:03 +0800 Subject: check_snmp problem on RedHat 8.0 Message-ID: <1034614983.8054.14.camel@expedient.skycablenet.com> Hi All, I recently upgraded to RedHat 8.0 and I'm having problems with the check_snmp plugin working on it. It keeps saying no data received from host. When manually trying snmpget I get the ff result: "MIBNAME/NUMBER" = "UNIT": "RESULT" I'm guessing nagios's problem with this is that it's reading the unit along with the result. Now, how do I suppress the unit from appearing so check_snmp can read the result properly? Do I need to configure snmp.conf somewhere or can I do something with the plugin to have it do what I need? Thanks. Louie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 14 19:01:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 12:01:20 -0500 Subject: RRD Tool integration Message-ID: I can't speak about RRDTool directly, but at some point I plan to take a crack at leveraging cacti (or another RRDTool-based solution). I'll share my solution once I've been there, done that. Off the cuff, I speculate that I'll be running the NRPE plugins from cacti. The only disadvantage I can see here is that each plugin worth tracking metrics will be run once from Nagios, once from cacti. Less than optimal, but I don't know the internals of Nagios well enough to approach this otherwise. If someone better versed on the Nagios internals (nagios.cmd, perhaps?) would care to make helpful suggestions when I cross that bridge, ping me now (off-list) just to say, "Hey, let me know when you're ready to give this a go; I should be able to spare a few cycles here and there." As usual, once I've cracked this nut, I'll share with the list. jc > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Monday, October 14, 2002 5:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RRD Tool integration > > > hi > > Hey what happened to RRD tool integration . Someone was going > to provide > some script to take the data from the rrd instead of > executing the ping > plugin. > > Thanks > Atul. > :) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 14 19:09:24 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 12:09:24 -0500 Subject: newbie question Message-ID: The answer is, "it depends". But I'm sure you expected that. ;) The Nagios plugins work on exactly that principle: return value 0, green light; return value 1; yellow/warning; return value 2; red/critical. This also works across NRPE, which is handy. If you're interested in writing a plugin (if that's where your question is coming from), then this is basically it. If you're hoping that Nagios will know what to do with a return value of, say, 17, then you'll have to write a wrapper script/program to do the translation. If you're trying to monitor a daemon and want to be notified (based on the daemon's return value on exit) with the appropriate value, you'd first have to figure out how to get that return value. Once you've figured that part out, the rest is easy. jc > -----Original Message----- > From: Eduard San Anselmo [mailto:esananselmo at albasoft.com] > Sent: Monday, October 14, 2002 10:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] newbie question > > > Hi everyone, I've just read about Nagios and I still haven't > got to play > with it: before, I would like to make one question (I'm > afraid it won't > be the last, so take my apologies in advance): :Does Nagios support > monitoring of binaries, based on their return values? > Thank you. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From whiatt at upstanding.com Mon Oct 14 20:48:05 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Mon, 14 Oct 2002 11:48:05 -0700 Subject: NAGIOS & Host downs Message-ID: <1363CF56CD255F448CEA231C4A63254B01CE5A@exch-be-01.upstanding.com> I have a few servers located in our datacenter across a WAN that I'm trying to monitor (Right now just SMTP/HTTP/DNS/FTP for a proof of concept). Nagios thinks the host is down. In a service detail, for the DNS services nagios states "CRITICAL - Plugin timed out after 10 seconds" and for the FTP/HTTP/SMTP services nagios states the "Socket timeout after 10 seconds" In a host-detail, the host is deemed as being down because of a plugin timeout after 10 seconds. In /var/log/messages I get the following: "HOST ALERT: fe-01;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds" Finally, it hits #5 and changes the state to a hard, and notifies me. At this point, the service plugins also fail. Now my question is this, what is Nagios doing and why does it think the host isn't up? I've used the ./check_ping plugin, and all the above plugins manually and I can make connections to the host. Any ideas? Thank You! william ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From frozendelight_0508 at yahoo.es Mon Oct 14 22:45:56 2002 From: frozendelight_0508 at yahoo.es (=?iso-8859-1?q?bheng=20qute?=) Date: Mon, 14 Oct 2002 21:45:56 +0100 (BST) Subject: No etc folder Message-ID: <20021014204556.18982.qmail@web40014.mail.yahoo.com> Hi. i just installed nagios in my linux 7.2. From the documentation, it says there that i should have 5 folders (bin, share, var, sbin, etc. however, i have only 4 and folder etc is missing. what could be the problem? pls. help. thanks. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Mon Oct 14 22:55:56 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Mon, 14 Oct 2002 20:55:56 +0000 Subject: config file Message-ID: could anyone send me there config file please. I am confused as of how to set one up. Andrew Meyer _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Mon Oct 14 23:00:56 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 14 Oct 2002 17:00:56 -0400 Subject: No etc folder Message-ID: <7DC404391E19FF4B97028E7790C9C54A03563592@mail01.ibill.com> I had the opposite, had "etc" but none of the others. my problem was I didn't do a make install-init, followed by a make install-config. did you do the following : make all make install make install-init make install-config (I am assuming you took the defaults and didn't change the cgi-bin or html directories) -----Original Message----- From: bheng qute [mailto:frozendelight_0508 at yahoo.es] Sent: Monday, October 14, 2002 4:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No etc folder Hi. i just installed nagios in my linux 7.2. From the documentation, it says there that i should have 5 folders (bin, share, var, sbin, etc. however, i have only 4 and folder etc is missing. what could be the problem? pls. help. thanks. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Mon Oct 14 23:22:20 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 14 Oct 2002 17:22:20 -0400 Subject: config file Message-ID: <7DC404391E19FF4B97028E7790C9C54A03563593@mail01.ibill.com> The final part of the install process creates samples for all the .cfg files located in /usr/local/nagios/etc did you run make all make install make install-init make install-config The "install-config" will make sample config files for all the .cfg files you need. Now, understanding how each are inter-related is another story!!! :) you need more than just the nagios.cfg file to get nagios to work. Almost every flipping .cfg file in the nagios etc directory is dependent on each other. Welcome to nagios, the *worst* documented network management program out there! :) Once you get past the install docs (which are ok), you have to rely on this list for the rest. There is no "here is how you add a device, follow the these steps... 1, 2, 3, 4 docs. Forget about finding a document on how each file in etc is dependent on each other and what step-by-step changes to make when adding devices/commands/services/hosts, etc.. It doesn't exist as far as I know. The guys on this list are great for support and answering questions! My advice, get nagios working with ONE device and service (ping is easy) and expand out from there. That only took me around 20 hrs!! -----Original Message----- From: Andrew Meyer [mailto:andrewm659 at hotmail.com] Sent: Monday, October 14, 2002 4:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] config file could anyone send me there config file please. I am confused as of how to set one up. Andrew Meyer ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Mon Oct 14 23:22:14 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 15 Oct 2002 05:22:14 +0800 Subject: 3D World Message-ID: <1034630535.7302.17.camel@expedient.skycablenet.com> Hi Jim/Chris, Try this one. I have this in my hostextinfo.cfg: Just make sure you declared this in your cgi.cfg, like: xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg or something like that, then below is the entries for your hostextinfo.cfg. define hostextinfo{ host_name NOCswitch vrml_image ng-switch40.png icon_image ng-switch40.gif vrml_image ng-switch40.jpg statusmap_image ng-switch40.gd2 2d_coords 200,400 3d_coords 50.0,100.0,50.0 } This works for me. And the "no dots" rule is, well, a rule. You can vary the values in the coords as well. hth. -------------------------------------------------------------------- I never did get this working. The common response is "make sure you = don't have dots in your hostnames", which I don't. VRML works, but Cortona does start; it comes up with "You have not = supplied any 3-D drawing coordinates. Read the FAQs for more information on = doing this." Not to say this can't be done, but I've largely given up on making it = work (for now). I'll be migrating Nagios to another server, so maybe when I have a = 'bare bones' config set up, I'll try the 3-D Status Map again, just to see = whether it works at all. If I have an 'aha!' moment, I'll share it with = everyone. ;) jc > -----Original Message----- > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > Sent: Monday, October 14, 2002 2:53 AM > To: nagios-users at lists.sourceforge.net > Cc: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World >=20 >=20 > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take = the > coordinates I have inputted, but the 3D version is having non of it. >=20 > At this point it may be worth mentioning that I did not use the: >=20 > --with-template-objects >=20 > argument when I compiled, however having said that the 2D Map=20 > works ok. > I realize its not the end of the world but I'd really like to=20 > have full > functionality, so I can show of to my manager :-) >=20 > Thanks all >=20 > Chris L >=20 >=20 >=20 > ____________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bkirsch at olosec.com Mon Oct 14 23:29:16 2002 From: bkirsch at olosec.com (Brian G. Kirsch) Date: Mon, 14 Oct 2002 14:29:16 -0700 (PDT) Subject: nrpe + plugins for SUNOS 5.8? Message-ID: <22518.1420836181$1034631461@news.gmane.org> Hi, Does anyone have complied nagios plugins for SUNOS 5.8 and also a compiled NRPE? Thanks in advance, Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 14 23:50:39 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 16:50:39 -0500 Subject: nrpe + plugins for SUNOS 5.8? Message-ID: Been there, done that. If you've got gcc from sunfreeware.com installed, and if you've followed the FAQ on Ethan's site, you shouldn't be having any problems. jc > -----Original Message----- > From: Brian G. Kirsch [mailto:bkirsch at olosec.com] > Sent: Monday, October 14, 2002 4:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? > > > Hi, > > Does anyone have complied nagios plugins for SUNOS 5.8 and > also a compiled > NRPE? > > Thanks in advance, > > Brian > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 00:05:19 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 17:05:19 -0500 Subject: 3D World Message-ID: Sorry, I didn't include enough info in my post. Let me elaborate. $ grep hostextinfo.cfg cgi.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg It's there. And now for a couple snippets from hostextinfo.cfg: define hostextinfo{ name solaris icon_image sun40.gif vrml_image sun40.jpg statusmap_image sun40.gd2 register 0 } define hostextinfo{ host_name itdmln01 use solaris 2d_coords 200,100 3d_coords 200.0,100.0,100.0 } The nifty icons work just fab. The 2D maps work just fine. It's just the 3D maps which fail. A couple of minor quibbles, though. You mention "xed_template_configfile=" and follow with "or something like that". I'm hopeful that you were being vague on the reference to the pathname, and not the keyword (which, according to the docs, should be "xedtemplate_configfile", not what you've listed). Secondly, you've got vrml_image listed twice within the same definition (albeit with different filenames). I'm reasonably certain that Nagios will only use one of them, but if that config works for you, all the more power to you. Thanks for the hints anyway; never hurts to go back and look again. :) jc > -----Original Message----- > From: Louie Cagasan [mailto:fireant at zpdee.net] > Sent: Monday, October 14, 2002 4:22 PM > To: Carroll, Jim P [Contractor] > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] 3D World > > > Hi Jim/Chris, > > Try this one. I have this in my hostextinfo.cfg: > Just make sure you declared this in your cgi.cfg, like: > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > or something like that, then below is the entries for your > hostextinfo.cfg. > > define hostextinfo{ > host_name NOCswitch > vrml_image ng-switch40.png > icon_image ng-switch40.gif > vrml_image ng-switch40.jpg > statusmap_image ng-switch40.gd2 > 2d_coords 200,400 > 3d_coords 50.0,100.0,50.0 > } > > This works for me. And the "no dots" rule is, > well, a rule. You can vary the values in the coords as well. > > hth. > -------------------------------------------------------------------- > > I never did get this working. The common response is "make sure you = > don't > have dots in your hostnames", which I don't. > > VRML works, but Cortona does start; it comes up with "You have not = > supplied > any 3-D drawing coordinates. Read the FAQs for more information on = > doing > this." > > Not to say this can't be done, but I've largely given up on > making it = > work > (for now). > > I'll be migrating Nagios to another server, so maybe when I have a = > 'bare > bones' config set up, I'll try the 3-D Status Map again, just to see = > whether > it works at all. If I have an 'aha!' moment, I'll share it with = > everyone. > ;) > > jc > > > -----Original Message----- > > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > > Sent: Monday, October 14, 2002 2:53 AM > > To: nagios-users at lists.sourceforge.net > > Cc: chris.lockwood at ckeurope.com > > Subject: [Nagios-users] 3D World > >=20 > >=20 > > I'm having problems with the 3D world configuration, everything else > > seems to work (excellent program). The 2D status map seems to take = > the > > coordinates I have inputted, but the 3D version is having non of it. > >=20 > > At this point it may be worth mentioning that I did not use the: > >=20 > > --with-template-objects > >=20 > > argument when I compiled, however having said that the 2D Map=20 > > works ok. > > I realize its not the end of the world but I'd really like to=20 > > have full > > functionality, so I can show of to my manager :-) > >=20 > > Thanks all > >=20 > > Chris L > >=20 > >=20 > >=20 > > ____________________________________________ > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 15 00:26:34 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 14 Oct 2002 15:26:34 -0700 (PDT) Subject: 3D World In-Reply-To: <1034630535.7302.17.camel@expedient.skycablenet.com> References: <1034630535.7302.17.camel@expedient.skycablenet.com> Message-ID: <20021014222634.63602.qmail@web21503.mail.yahoo.com> Are you sure it's working?? Did you change "default-statuswrl_layout=0" ?I bet you're still on auto(4).. :) My 2d maps work fine with my coords, but the 3d maps just give the error... Louie Cagasan wrote:Hi Jim/Chris, Try this one. I have this in my hostextinfo.cfg: Just make sure you declared this in your cgi.cfg, like: xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg or something like that, then below is the entries for your hostextinfo.cfg. define hostextinfo{ host_name NOCswitch vrml_image ng-switch40.png icon_image ng-switch40.gif vrml_image ng-switch40.jpg statusmap_image ng-switch40.gd2 2d_coords 200,400 3d_coords 50.0,100.0,50.0 } This works for me. And the "no dots" rule is, well, a rule. You can vary the values in the coords as well. hth. -------------------------------------------------------------------- I never did get this working. The common response is "make sure you = don't have dots in your hostnames", which I don't. VRML works, but Cortona does start; it comes up with "You have not = supplied any 3-D drawing coordinates. Read the FAQs for more information on = doing this." Not to say this can't be done, but I've largely given up on making it = work (for now). I'll be migrating Nagios to another server, so maybe when I have a = 'bare bones' config set up, I'll try the 3-D Status Map again, just to see = whether it works at all. If I have an 'aha!' moment, I'll share it with = everyone. ;) jc > -----Original Message----- > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > Sent: Monday, October 14, 2002 2:53 AM > To: nagios-users at lists.sourceforge.net > Cc: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World >=20 >=20 > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take = the > coordinates I have inputted, but the 3D version is having non of it. >=20 > At this point it may be worth mentioning that I did not use the: >=20 > --with-template-objects >=20 > argument when I compiled, however having said that the 2D Map=20 > works ok. > I realize its not the end of the world but I'd really like to=20 > have full > functionality, so I can show of to my manager :-) >=20 > Thanks all >=20 > Chris L >=20 >=20 >=20 > ____________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Tue Oct 15 00:29:25 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 14 Oct 2002 15:29:25 -0700 (PDT) Subject: config file In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A03563593@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A03563593@mail01.ibill.com> Message-ID: <20021014222925.7179.qmail@web21501.mail.yahoo.com> Hehehe.....At least I'm not alone.. >>expand out from there. That only took me around 20 hrs!! --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Oct 15 01:26:25 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Oct 2002 18:26:25 -0500 Subject: 3D World Message-ID: Verrrry interesting. Mine was set to "0", so I went through the ranks... 4... 3... 2... all of those work, no problem. This is where I say, "Hooray!" I'm puzzling why it doesn't work for user-defined co-ordinates, but this will likely make my job simpler. Thanks for the tip! jc -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Monday, October 14, 2002 5:27 PM To: Louie Cagasan; Carroll, Jim P [Contractor] Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] 3D World Are you sure it's working?? Did you change "default-statuswrl_layout=0" ?I bet you're still on auto(4).. :) My 2d maps work fine with my coords, but the 3d maps just give the error... Louie Cagasan wrote: Hi Jim/Chris, Try this one. I have this in my hostextinfo.cfg: Just make sure you declared this in your cgi.cfg, like: xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg or something like that, then below is the entries for your hostextinfo.cfg. define hostextinfo{ host_name NOCswitch vrml_image ng-switch40.png icon_image ng-switch40.gif vrml_image ng-switch40.jpg statusmap_image ng-switch40.gd2 2d_coords 200,400 3d_coords 50.0,100.0,50.0 } This works for me. And the "no dots" rule is, well, a rule. You can vary the values in the coords as well. hth. -------------------------------------------------------------------- I never did get this working. The common response is "make sure you = don't have dots in your hostnames", which I don't. VRML works, but Cortona does start; it comes! up with "You have not = supplied any 3-D drawing coordinates. Read the FAQs for more information on = doing this." Not to say this can't be done, but I've largely given up on making it = work (for now). I'll be migrating Nagios to another server, so maybe when I have a = 'bare bones' config set up, I'll try the 3-D Status Map again, just to see = whether it works at all. If I have an 'aha!' moment, I'll share it with = everyone. ;) jc > -----Original Message----- > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > Sent: Monday, October 14, 2002 2:53 AM > To: nagios-users at lists.sourceforge.net > Cc: chris.lockwood at ckeurope.com > Subject: [Nagios-users] 3D World >=20 >=20 > I'm having problems with the 3D world configuration, everything else > seems to work (excellent program). The 2D status map seems to take = the > coordinate! s I have inputted, but the 3D version is having non of it. >=20 > At this point it may be worth mentioning that I did not use the: >=20 > --with-template-objects >=20 > argument when I compiled, however having said that the 2D Map=20 > works ok. > I realize its not the end of the world but I'd really like to=20 > have full > functionality, so I can show of to my manager :-) >=20 > Thanks all >=20 > Chris L >=20 >=20 >=20 > ____________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmontiel at bolchile.cl Tue Oct 15 01:31:30 2002 From: mmontiel at bolchile.cl (Mauricio Montiel G.) Date: Mon, 14 Oct 2002 20:31:30 -0300 (CLST) Subject: nrpe + plugins for SUNOS 5.8? In-Reply-To: References: Message-ID: <2117.200.89.46.146.1034638290.squirrel@mail.bolchile.cl> Jim is right, but you also need to install gnu make from sunfreeware. After that it worked for me. -- Mauricio Montiel G. Carroll, Jim P [Contractor] > Been there, done that. If you've got gcc from sunfreeware.com > installed, and if you've followed the FAQ on Ethan's site, you shouldn't > be having any problems. > > jc > >> -----Original Message----- >> From: Brian G. Kirsch [mailto:bkirsch at olosec.com] >> Sent: Monday, October 14, 2002 4:29 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? >> >> >> Hi, >> >> Does anyone have complied nagios plugins for SUNOS 5.8 and >> also a compiled >> NRPE? >> >> Thanks in advance, >> >> Brian >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 15 02:21:41 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 14 Oct 2002 17:21:41 -0700 (PDT) Subject: 3D World In-Reply-To: References: Message-ID: <20021015002141.58151.qmail@web21510.mail.yahoo.com> Cool, now we're all stuck in the same place... :) --- "Carroll, Jim P [Contractor]" wrote: > Verrrry interesting. Mine was set to "0", so I went > through the ranks... > 4... 3... 2... all of those work, no problem. This > is where I say, > "Hooray!" I'm puzzling why it doesn't work for > user-defined co-ordinates, > but this will likely make my job simpler. > > Thanks for the tip! __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zakki at indosatcom.net Tue Oct 15 02:49:54 2002 From: zakki at indosatcom.net (Zakki A) Date: Tue, 15 Oct 2002 07:49:54 +0700 Subject: make sure the service is not running Message-ID: <00c301c273e4$ca041c80$0b65a8c0@INDOSATCOM.NET> hi ... i would like to make sure that a service is not running. for example is telnet. i want to make sure all host is using ssh and telnet is always down. how to do that ? zakki ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From japh at ip.pt Tue Oct 15 03:00:17 2002 From: japh at ip.pt (Paulo Pinto) Date: Tue, 15 Oct 2002 02:00:17 +0100 Subject: Service Dependencies "wildcarding" error ? Message-ID: <001901c273e6$3a422180$1500a8c0@powerstation> Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkirsch at olosec.com Tue Oct 15 03:20:18 2002 From: bkirsch at olosec.com (Brian G. Kirsch) Date: Mon, 14 Oct 2002 18:20:18 -0700 (PDT) Subject: nrpe + plugins for SUNOS 5.8? In-Reply-To: <2117.200.89.46.146.1034638290.squirrel@mail.bolchile.cl> References: <2117.200.89.46.146.1034638290.squirrel@mail.bolchile.cl> Message-ID: <19440.4734102593$1034645152@news.gmane.org> NRPE seems to config & install fine. The nagios plugins, on the other hand, seems to have a problem: after ./configure, I type make all and get the follwoing errors: Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /tmp/nagios/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Any thoughts? Thanks, Brian > Jim is right, but you also need to install gnu make from sunfreeware. > After that it worked for me. > > -- > Mauricio Montiel G. > > Carroll, Jim P [Contractor] >> Been there, done that. If you've got gcc from sunfreeware.com >> installed, and if you've followed the FAQ on Ethan's site, you >> shouldn't be having any problems. >> >> jc >> >>> -----Original Message----- >>> From: Brian G. Kirsch [mailto:bkirsch at olosec.com] >>> Sent: Monday, October 14, 2002 4:29 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? >>> >>> >>> Hi, >>> >>> Does anyone have complied nagios plugins for SUNOS 5.8 and >>> also a compiled >>> NRPE? >>> >>> Thanks in advance, >>> >>> Brian >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Brian Kirsch OLOSEC Network Security Solutions 164 Jefferson Dr. Unit J Menlo Park, CA 94025 Tel: + 1 650.330.1745 Fax: + 1 650.330.1694 Email: bkirsch at olosec.com url: http://www.olosec.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gecbr.suporte at gecapital.com Tue Oct 15 03:48:18 2002 From: gecbr.suporte at gecapital.com (suporte, gecbr (CAP, GCF)) Date: Mon, 14 Oct 2002 21:48:18 -0400 Subject: Notification period Message-ID: Hi, I need your help? The nagios be notify out of range, would like that nagios notification in range only. The reports(trends) need notification in range only. Example: ------------indeterminate-------|----------range notity 08:30A.M - 08:30P.M ------------|-----------indeterminate---------- donw,up and unreachable Can you send a example file configuration or explanation? Alberto Manastarla GeCapital (Brazil) Andr?/Alberto Help Desk - GE Capital ___________________________ Av. do Cafe, 277 - 3? andar - Torre B 04311-000 - Sao Paulo - SP - Brasil Tel: (55 11) 6847-7433 Fax: (55 11) 6847-7410 E-mail: gecbr.suporte at gecapital.com Esta mensagem pode conter informa??o confidencial e/ou privilegiada. Se voc? n?o for o destinat?rio ou a pessoa autorizada a receber esta mensagem, n?o pode usar, copiar ou divulgar as informa??es nela contidas ou tomar qualquer a??o baseada nessas informa??es. Se voc? recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua coopera??o. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmusone at shatterit.com Tue Oct 15 04:25:03 2002 From: mmusone at shatterit.com (Mark Musone) Date: Mon, 14 Oct 2002 22:25:03 -0400 Subject: RRD Tool integration In-Reply-To: References: Message-ID: <000001c273f2$1236b410$0a01a8c0@office> I'm not sure if this is what people are looking for, but I'm using the perfdata (kinda) with nagios and rrdtool Quite a bit..mostly from the ncsa passive checks...heres my scenario: 1. I have the perfdata command defined in the nagios.cfg file: host_perfdata_command=process-host-rrdperfdata service_perfdata_command=process-service-rrdperfdata 2. in the misccommands.cfg file, I define the specific commands: define command{ command_name process-host-rrdperfdata command_line /usr/local/nagios/bin/perfdata.sh "$HOSTNAME$" host "$PERFDATA$" "$OUTPUT$" } define command{ command_name process-service-rrdperfdata command_line /usr/local/nagios/bin/perfdata.sh "$HOSTNAME$" "$SERVICEDESC$" "$PERFDATA$" "$OUTPUT$" } 3. The perfdata.sh script is a VERY simple shell script to parse out the last part of the data, and to stuff it in an RRD: Note: a couple of things: The first argument is the hostname, followed by the service description (or the word host if it's host perfdata) I cleanse the service description to make it more filesystem friendly. Lastly, the perfdata is the last argument. I store all the RRDs as separate files in the form "host-description.rrd" I originally wanted just one rrd per host, and each service is simply a variable but it got more complicated Than I wanted to putz around with. Also, it gets confusing if you have a service that gives multiple perfdata information, for example load giving a 1 minute,5 minute, and 15 minute value. So right now I actually like the format for host-description. It's very easy to programatically get what you want, And it keeps the file sizes down. Note, although it was made to handle multiple perfdata variables/values, it currently does NOT. #!/bin/sh hostname=$1 desc=`echo $2 | tr -c -d [a-zA-Z0-9_]` perfdata=$3 if [ -n "$perfdata" ]; then if [ ! -e /root/rrdb/$hostname-$desc.rrd ]; then /usr/local/bin/rrdtool create /root/rrdb/$hostname-$desc.rrd --step 60 DS:$desc:GAUGE:600:U:U RRA:AVERAGE:0.5:1:6000 RRA:MIN:0.5:60:2400 RRA:MAX:0.5:60:2400 RRA:AVERAGE:0.5:60:2400 fi echo HOST:$hostname DESC:$desc:PREF:$perfdata:OUTPUT:$4>> /tmp/perf.out echo "/usr/local/bin/rrdtool update /root/rrdb/$hostname-$desc.rrd N:$perfdata" >> /tmp/perfrun.out #/usr/local/bin/rrdtool update /root/rrdb/$hostname.rrd -t $desc N:$perfdata /usr/local/bin/rrdtool update /root/rrdb/$hostname-$desc.rrd N:$perfdata fi MORE NOTES: A. one other VERY important thing: the perfdata it expectes is purely a single NUMBER that it stuffs into the rrd. It does NOT handle variable=value data. It expects something like this (taken from the nagios.log file): [1034647869] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;zev;CPU;0;load average: 0.00, 0.00, 0.00|0.00 [1034647869] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;zev;Disk1;0;DISK OK - [507180 kB (26%) free on /dev/sda1]|1374424 [1034647869] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;zev;Disk2;0;DISK OK - [11739460 kB (83%) free on /dev/sda3]|2354936 [1034647869] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;zev;Disk3;0;DISK OK - [16586568 kB (99%) free on /dev/sdb1]|156632 Notice, that after the | symbol on the output line is simply a number that I want logged. B. If the rrd does NOT exist it'll automatically create it and initialize it (yea!!) it's awesome simply putting in the perfdata command in the nagios.cfg file and minutes later seeing tens of rrd's automagically creating and updating :^) C. If there is NO perfdata, it simply ignores and exists. This way it works seemlessly with or without plugins with perfdata. Now, on the CLIENT end (again ,I use this mostly with nsca) I have a cron job that runs every 5 minutes to do the local checks and send it to the nagios server: 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/nagios/libexec/nagios_client.sh 1>/dev/null 2>/dev/null The nagios_client.sh is shell script that does the following: #!/bin/sh (rest=`/usr/local/nagios/libexec/check_load -w 1,2,3 -c 4,5,6 2>&1` ; load=`awk '{gsub("/"," "); print $2}' /proc/loadavg` ; echo -e "zev\tCPU\t$?\t$rest|$load" rest=`/usr/local/nagios/libexec/check_disk -w 10% -c 2% -p / 2>&1` ; disk=`df -k |grep sda1 |awk '{print $3}'`; echo -e "zev\tDisk1\t$?\t$rest|$disk" rest=`/usr/local/nagios/libexec/check_disk -w 10% -c 2% -p /local 2>&1` ; disk=`df -k |grep sda3 |awk '{print $3}'` ;echo -e "zev\tDisk2\t$?\t$rest|$disk" rest=`/usr/local/nagios/libexec/check_disk -w 10% -c 2% -p /var/lib/mysql 2>&1` ; disk=`df -k |grep sdb1 |awk '{print $3}'`; echo -e "zev\tDisk3\t$?\t$rest|$disk" rest=`/usr/local/nagios/libexec/check_procs -w 1: -c 1: -C mysqld -u mysql 2>&1` ; procs=`/usr/local/nagios/libexec/check_procs -w 1: -c 1: -C mysqld -u mysql| awk '{print $3}'` ;echo -e "zev\tMysql Proc\t$?\t$rest|$procs" rest=`/usr/local/nagios/libexec/check_procs -w 1: -c 1: -C postmaster -u postgres 2>&1` ; procs=`/usr/local/nagios/libexec/check_procs -w 1: -c 1: -C postmaster -u postgres | awk '{print $3}'` ;echo -e "zev\tPostgress Proc\t$?\t$rest|$procs" ) | /usr/local/nagios/libexec/send_nsca MY_NAGIOS_SERVER.COMPANY>COM -c /usr/local/nagios/libexec/send_nsca.cfg In a nutshell, it runs the plugin, and right now I'm simply munging the output and/or manually stuffing the output with the perfdata that I want..in this exmaple you see how I munge in disk utilization, cpu load (only doing 5 minute in perfdata), and process checks. There, everything is in the rrd...just use the normal stuff..attached is a little screenshot of what it looks like All graphed out on a web page...all courtesy of nagios and rrdtool!!! Thanks! :^) Hope this helps someone... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Monday, October 14, 2002 1:01 PM To: 'Atul Gosain'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RRD Tool integration I can't speak about RRDTool directly, but at some point I plan to take a crack at leveraging cacti (or another RRDTool-based solution). I'll share my solution once I've been there, done that. Off the cuff, I speculate that I'll be running the NRPE plugins from cacti. The only disadvantage I can see here is that each plugin worth tracking metrics will be run once from Nagios, once from cacti. Less than optimal, but I don't know the internals of Nagios well enough to approach this otherwise. If someone better versed on the Nagios internals (nagios.cmd, perhaps?) would care to make helpful suggestions when I cross that bridge, ping me now (off-list) just to say, "Hey, let me know when you're ready to give this a go; I should be able to spare a few cycles here and there." As usual, once I've cracked this nut, I'll share with the list. jc > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Monday, October 14, 2002 5:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RRD Tool integration > > > hi > > Hey what happened to RRD tool integration . Someone was going > to provide > some script to take the data from the rrd instead of > executing the ping > plugin. > > Thanks > Atul. > :) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- A non-text attachment was scrubbed... Name: rrdtool.GIF Type: image/gif Size: 226311 bytes Desc: not available URL: From g.vickers at qut.edu.au Tue Oct 15 04:41:25 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 15 Oct 2002 12:41:25 +1000 Subject: Origin of "nagios" Message-ID: <5.1.0.14.2.20021015123901.03643c80@imap.qut.edu.au> Okay, here is a question: Where does the word "nagios" come from? One of my co-workers wondered if it was vaguely Greek (anyone know any vague Greeks? (or is the greecians?)) This is obviously another question of deep and meaningful purpose that should go in the FAQ :) ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT Kelvin Grove Campus, CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Tue Oct 15 05:29:20 2002 From: fireant at zpdee.net (Louie Cagasan) Date: 15 Oct 2002 11:29:20 +0800 Subject: 3D World In-Reply-To: References: Message-ID: <1034652562.17040.23.camel@expedient.skycablenet.com> Well, from what I understand about it in the docs, the coords you specify for a node there don't exactly mean its position on the map, but something like the size of the icon you'll use for that node. And the layout there means how the nodes are "laid out" onscreen. Using user-defined layout in the status map doesn't work for me: I don't see all the nodes I specified. Oh well, as long as I see the whole map of my whole network, that's just fine with me. =) On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote: > Verrrry interesting. Mine was set to "0", so I went through the ranks... > 4... 3... 2... all of those work, no problem. This is where I say, > "Hooray!" I'm puzzling why it doesn't work for user-defined co-ordinates, > but this will likely make my job simpler. > > Thanks for the tip! > > jc > > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Monday, October 14, 2002 5:27 PM > To: Louie Cagasan; Carroll, Jim P [Contractor] > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] 3D World > > > > Are you sure it's working?? Did you change "default-statuswrl_layout=0" ?I > bet you're still on auto(4).. :) My 2d maps work fine with my coords, but > the 3d maps just give the error... > > > Louie Cagasan wrote: > > > Hi Jim/Chris, > > Try this one. I have this in my hostextinfo.cfg: > Just make sure you declared this in your cgi.cfg, like: > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > or something like that, then below is the entries for your > hostextinfo.cfg. > > define hostextinfo{ > host_name NOCswitch > vrml_image ng-switch40.png > icon_image ng-switch40.gif > vrml_image ng-switch40.jpg > statusmap_image ng-switch40.gd2 > 2d_coords 200,400 > 3d_coords 50.0,100.0,50.0 > } > > This works for me. And the "no dots" rule is, > well, a rule. You can vary the values in the coords as well. > > hth. > -------------------------------------------------------------------- > > I never did get this working. The common response is "make sure you = > don't > have dots in your hostnames", which I don't. > > VRML works, but Cortona does start; it comes! up with "You have not = > supplied > any 3-D drawing coordinates. Read the FAQs for more information on = > doing > this." > > Not to say this can't be done, but I've largely given up on making it = > work > (for now). > > I'll be migrating Nagios to another server, so maybe when I have a = > 'bare > bones' config set up, I'll try the 3-D Status Map again, just to see = > whether > it works at all. If I have an 'aha!' moment, I'll share it with = > everyone. > ;) > > jc > > > -----Original Message----- > > From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk] > > Sent: Monday, October 14, 2002 2:53 AM > > To: nagios-users at lists.sourceforge.net > > Cc: chris.lockwood at ckeurope.com > > Subject: [Nagios-users] 3D World > >=20 > >=20 > > I'm having problems with the 3D world configuration, everything else > > seems to work (excellent program). The 2D status map seems to take = > the > > coordinate! s I have inputted, but the 3D version is having non of it. > >=20 > > At this point it may be worth mentioning that I did not use the: > >=20 > > --with-template-objects > >=20 > > argument when I compiled, however having said that the 2D Map=20 > > works ok. > > I realize its not the end of the world but I'd really like to=20 > > have full > > functionality, so I can show of to my manager :-) > >=20 > > Thanks all > >=20 > > Chris L > >=20 > >=20 > >=20 > > ____________________________________________ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > _____ > > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos, & > more > faith.yahoo.com > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Shane_Seidel at gwf.com.au Tue Oct 15 05:30:25 2002 From: Shane_Seidel at gwf.com.au (Shane_Seidel at gwf.com.au) Date: Tue, 15 Oct 2002 14:30:25 +1100 Subject: Temptrax returns incorect data Message-ID: <4A256C53.0013D7CA.00@gisw900.gwf.com.au> All I am using a Temptrax 2000 digital thermometer and seeing incorrect data reported by Nagios. When run from the command line output seems correct. /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 2 Temp Ok: Sensor 2 = 21.6 Deg. C /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 1 Temp Warning: Sensor 1 = 25.1 Deg. C But Nagios reports:- Server Room Temp OK 13-09-2002 08:56:02 7d 18h 47m 6s 1/3 Temp Ok: Sensor 1 = -17.8 Deg. C Server Room Temp 2 OK 13-09-2002 08:57:37 7d 15h 22m 16s 1/3 Temp Ok: Sensor 2 = -17.8 Deg. C These values are still reported by Nagios even when the device is detatched from the server. I have been informed by the helpful people at Temptrax that a value of 0 deg farenheight is being reported. checkcommands.cfg is as follows:- command[check_temptrax]=/usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 1 -f 0 command[check_temptrax2]=/usr/local/nagios/libexec/./check_temptrax -w 25 -c 30 -S 2 -f 0 service.cfg is as follows:- service[nms-GWFIS-Monitoring-System]=Server Room Temp;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax service[nms-GWFIS-Monitoring-System]=Server Room Temp 2;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax2 #!/usr/bin/perl -w # # TempTrax plugin for Nagios # (c) 2001 Sensor Instruments Co., Inc. # 41 Terrill Park Drive # Concord, NH 03301 # http://www.temptrax.com # # use functions use Getopt::Long; # the serial port temptrax is connected to $temptrax_device = "/dev/ttyS0"; $temptrax_file = "/usr/local/nagios/libexec/temptrax"; # initialize vars $w=""; $c=""; $s="1"; $f="0"; $formattag="C"; $sensor1_celsius=""; $sensor2_celsius=""; $battery=""; # read options from command line &GetOptions("w=i" => \$w,"c=i" => \$c,"S=i" => \$s,"f=i" => \$f); # exit when there are no parameters set if ($w eq "" || $c eq "" || $s eq "" || $f eq "") { print "Invalid arguments supplied\n\n"; print "TempTrax plugin for Nagios\n"; print "Copyright (c) 2001-2002 Sensor Instruments Co., Inc.\n\n"; print " usage: check_temptrax [--help|--version]\n"; print " check_temptrax -w [warning temperature] -c [critical temperature] -S [1|2] -f [0|1]\n\n"; print " options:\n"; print " -S [1|2] : Sensor to read temp from. Default=1\n"; print " -f [0|1] : Temps specified in Celsius (0) or Farenheit (1). Default=0\n"; exit (3); } # check if the required c++ program exists if (!-e $temptrax_file) { print "The temptrax executable could not be found\n\n"; exit(0); } # split temperature and battery status ($sensor1, $sensor2, $battery) = split(/\r\n/, `$temptrax_file $temptrax_device`); # remove whitespaces from the returned temperatures $sensor1 =~ s/ //g; $sensor2 =~ s/ //g; # Convert Fahrenheit into Celsius $sensor1_celsius = sprintf("%.1f", (($sensor1-32)/9)*5); $sensor2_celsius = sprintf("%.1f", (($sensor2-32)/9)*5); # Convert thresholds into Celsius if they were specified in Farenheit #(for comparison) if ($f eq "1") { $w = sprintf("%.1f", (($c-32)/9)*5); $c = sprintf("%.1f", (($c-32)/9)*5); } # What value (Celsius or Farenheit) should be displayed to the user? if($f eq "1") { $temp=${"sensor$s"}; $formattag="F"; } else { $temp=${"sensor$s\_celsius"}; $formattag="C"; } # check temperature and choose exit code if (${"sensor$s\_celsius"} eq "-73.3") { print "Temp Unknown: Sensor $s not connected\n"; exit(3); } elsif (${"sensor$s\_celsius"} > $c && ${"sensor$s\_celsius"} ne "-73.3") { print "Temp Critical: Sensor $s = $temp Deg. $formattag\n"; exit(2); } elsif (${"sensor$s\_celsius"} > $w && ${"sensor$s\_celsius"} ne "-73.3") { print "Temp Warning: Sensor $s = $temp Deg. $formattag\n"; exit(1); } else { print "Temp Ok: Sensor $s = $temp Deg. $formattag\n"; exit(0); } Nagios is v 1.0b5 on Red Hat 7.3 and compiled with default options and the latest plugin / binary Can someone shed some light as to why this is occuring and how to fix the problem? Thank Shane ********************************************************************************************************************************************** This document is intended solely for the named addressee. The information contained in these pages is confidential and contains legally privileged information. The copying or distribution of these pages or any information contained therein by any person other than the addressee is strictly prohibited. If you have received this communication in error, please contact the sender and delete the email. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From martin.clifton at vu.edu.au Tue Oct 15 07:41:27 2002 From: martin.clifton at vu.edu.au (Martin Clifton) Date: Tue, 15 Oct 2002 15:41:27 +1000 Subject: notify-no-notifications Message-ID: <3DABAA87.4060506@vu.edu.au> Hi, There was a utility available with NetSaint, notify-no-notifications-0.3.pl, which one could run as a reminder as to whether notifications had been disabled for hosts or services. Does anyone know of an equivalent for Nagios, or of an alternative method of getting this infomation easily ? Regards, Martin Information Technology Services Victoria University Melbourne Australia ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From VanDerWesthuizenB at aforbes.co.za Tue Oct 15 08:27:52 2002 From: VanDerWesthuizenB at aforbes.co.za (Van Der Westhuizen Brian) Date: Tue, 15 Oct 2002 08:27:52 +0200 Subject: nrpe + plugins for SUNOS 5.8? Message-ID: <14AA054C41E6D5119CF800508BBBB64101745A51@AFJHB0EXCH1> sure ...if you have not been sorted out i can gzip them up and send them over direct to your email addy. Brian .....yea another Brian from south africa ... -----Original Message----- From: Brian G. Kirsch [mailto:bkirsch at olosec.com] Sent: 14 October 2002 11:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? Hi, Does anyone have complied nagios plugins for SUNOS 5.8 and also a compiled NRPE? Thanks in advance, Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users Confidentiality Warning ======================= The contents of this e-mail and any accompanying documentation are confidential and any use thereof, in what ever form, by anyone other than the addressee is strictly prohibited. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 15 08:47:46 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Oct 2002 02:47:46 -0400 (EDT) Subject: check_snmp problem on RedHat 8.0 In-Reply-To: <1034614983.8054.14.camel@expedient.skycablenet.com> References: <1034614983.8054.14.camel@expedient.skycablenet.com> Message-ID: could you post the version of the snmp rpm installed and also the output of the following commandline: snmpget -p 161 -m ALL -v 1 hostname -c community sysUptime.0 -sg On 15 Oct 2002, Louie Cagasan wrote: > Hi All, > > I recently upgraded to RedHat 8.0 and I'm having problems with the > check_snmp plugin working on it. It keeps saying no data received > from host. > > When manually trying snmpget I get the ff result: > "MIBNAME/NUMBER" = "UNIT": "RESULT" > > I'm guessing nagios's problem with this is that it's reading the unit > along with the result. > > Now, how do I suppress the unit from appearing so check_snmp can read > the result properly? > > Do I need to configure snmp.conf somewhere or can I do something with > the plugin to have it do what I need? > > Thanks. > > Louie > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Tue Oct 15 09:03:40 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 15 Oct 2002 09:03:40 +0200 Subject: make sure the service is not running In-Reply-To: <00c301c273e4$ca041c80$0b65a8c0@INDOSATCOM.NET> References: <00c301c273e4$ca041c80$0b65a8c0@INDOSATCOM.NET> Message-ID: <200210150903.40402@grinco.de> Am Dienstag, 15. Oktober 2002 02:49 schrieb Zakki A: > hi ... i would like to make sure that a service is not running. > for example is telnet. i want to make sure all host is using ssh and telnet > is always down. > how to do that ? try something like #!/bin/sh check_telnet .... err=$? case $err in 0) 1) exit 2; ;; 2) exit 0; ;; *) exit $err ;; esac ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 15 09:35:15 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 15 Oct 2002 09:35:15 +0200 Subject: RRD Tool integration; ANOUNCE! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780346@storevis.datavis.se> OK, its finally released. I made a prject on Sourceforge for my RRD Tool - Nagios integration. The project is called 'Apan' an can be found on www.sourceforge.net/projects/apan This is a _very_ early release, but give it a try, and give feedback to me.... -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Mon 14-Oct-02 19:01 To: 'Atul Gosain'; nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] RRD Tool integration I can't speak about RRDTool directly, but at some point I plan to take a crack at leveraging cacti (or another RRDTool-based solution). I'll share my solution once I've been there, done that. Off the cuff, I speculate that I'll be running the NRPE plugins from cacti. The only disadvantage I can see here is that each plugin worth tracking metrics will be run once from Nagios, once from cacti. Less than optimal, but I don't know the internals of Nagios well enough to approach this otherwise. If someone better versed on the Nagios internals (nagios.cmd, perhaps?) would care to make helpful suggestions when I cross that bridge, ping me now (off-list) just to say, "Hey, let me know when you're ready to give this a go; I should be able to spare a few cycles here and there." As usual, once I've cracked this nut, I'll share with the list. jc > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Monday, October 14, 2002 5:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RRD Tool integration > > > hi > > Hey what happened to RRD tool integration . Someone was going > to provide > some script to take the data from the rrd instead of > executing the ping > plugin. > > Thanks > Atul. > :) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From chris.lockwood at ckeurope.com Tue Oct 15 09:44:42 2002 From: chris.lockwood at ckeurope.com (chris.lockwood at ckeurope.com) Date: Tue, 15 Oct 2002 08:44:42 +0100 Subject: 3D World Message-ID: Thank you all very much for the support, I guess its just one of those things, it works for some but not for others. clearly it works for the designer!! http://nagios.sourceforge.net/images/screens/big/statuswrl.jpg But I'm sure that one of you will figure it out sooner or later and when you do I'll be interested as to your solution (probably a new Nagios version). Cheers Chris L ****************************************************************************** This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are soley those of the author and do not necessarily represent those of Calsonic Kansei Europe If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify Calsonic Kansei Europe on +44 (0) 1554 747000. ****************************************************************************** _____________________________________________________________________ This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From johannes.dagemark at wheelnetworks.com Tue Oct 15 10:11:15 2002 From: johannes.dagemark at wheelnetworks.com (Johannes Dagemark) Date: Tue, 15 Oct 2002 10:11:15 +0200 Subject: other value than nagios on --with-htmurl= Message-ID: <032601c27422$80ab5f60$8500a8c0@wheeljd> Hi all I tryed to configure nagios with a diffrent htmurl instead of nagios ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-g rp=nagios --with-command-user=nagios --with-command-grp=nagios --with-cgiurl=/no c/cgi-bin --with-htmurl=/noc --with-gd-lib=/usr but after the installation it seems like the css stylesheets and the status images is hard linked to /nagios this is how my apache access_log (some stuff cut out) looks after a click on the "Status Overview" [15/Oct/2002:10:05:56 +0200] "GET /noc/cgi-bin/status.cgi?hostgroup=all HTTP/1.1" 200 13129 [15/Oct/2002:10:05:56 +0200] "GET /nagios/stylesheets/status.css HTTP/1.1" 404 316 [15/Oct/2002:10:05:56 +0200] "GET /nagios/images/status2.gif HTTP/1.1" 404 312 [15/Oct/2002:10:05:56 +0200] "GET /nagios/images/extinfo.gif HTTP/1.1" 404 312 and the error_log [Tue Oct 15 10:08:28 2002] [error] [client x.x.x.x] File does not exist: /usr/local/apache/htdocs/nagios/stylesheets/status.css [Tue Oct 15 10:08:28 2002] [error] [client x.x.x.x] File does not exist: /usr/local/apache/htdocs/nagios/images/extinfo.gif [Tue Oct 15 10:08:28 2002] [error] [client x.x.x.x] File does not exist: /usr/local/apache/htdocs/nagios/images/status2.gif Have I missed something in my ./configure row? Regards Johannes Dagemark Wheel Networks AB ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jens.Bergmann at nordCom.net Tue Oct 15 10:17:14 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Tue, 15 Oct 2002 10:17:14 +0200 Subject: RRD Tool integration; ANOUNCE! Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDC0@nc-mail2.in.nordcom.net> maybe a typo in README? [...] Copy perf.cgi and generate.cgi to Nagios cgi-bin directory [...] the file is called apan.cgi? jens >-----Original Message----- >From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] >Sent: Tuesday, October 15, 2002 9:35 AM >To: Carroll, Jim P [Contractor]; Atul Gosain; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! > > >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give >feedback to me.... > > > >-----Original Message----- >From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >Sent: Mon 14-Oct-02 19:01 >To: 'Atul Gosain'; nagios-users at lists.sourceforge.net >Cc: >Subject: RE: [Nagios-users] RRD Tool integration > >I can't speak about RRDTool directly, but at some point I plan >to take a >crack at leveraging cacti (or another RRDTool-based solution). > I'll share >my solution once I've been there, done that. > >Off the cuff, I speculate that I'll be running the NRPE >plugins from cacti. >The only disadvantage I can see here is that each plugin worth tracking >metrics will be run once from Nagios, once from cacti. Less >than optimal, >but I don't know the internals of Nagios well enough to approach this >otherwise. > >If someone better versed on the Nagios internals (nagios.cmd, perhaps?) >would care to make helpful suggestions when I cross that >bridge, ping me now >(off-list) just to say, "Hey, let me know when you're ready to >give this a >go; I should be able to spare a few cycles here and there." > >As usual, once I've cracked this nut, I'll share with the list. > >jc > >> -----Original Message----- >> From: Atul Gosain [mailto:atul at mindsw.com] >> Sent: Monday, October 14, 2002 5:56 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD Tool integration >> >> >> hi >> >> Hey what happened to RRD tool integration . Someone was going >> to provide >> some script to take the data from the rrd instead of >> executing the ping >> plugin. >> >> Thanks >> Atul. >> :) >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 15 10:28:19 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 15 Oct 2002 10:28:19 +0200 Subject: RRD Tool integration; ANOUNCE! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780349@storevis.datavis.se> Yes, I changed the name to apan.cgi.... You have to change to apan.cgi in the serviceextinfo-definition too.... /FredrikW -----Original Message----- From: Jens.Bergmann at nordCom.net [mailto:Jens.Bergmann at nordCom.net] Sent: Tue 15-Oct-02 10:17 To: Fredrik W?nglund; jcarro10 at sprintspectrum.com; atul at mindsw.com; nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! maybe a typo in README? [...] Copy perf.cgi and generate.cgi to Nagios cgi-bin directory [...] the file is called apan.cgi? jens >-----Original Message----- >From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] >Sent: Tuesday, October 15, 2002 9:35 AM >To: Carroll, Jim P [Contractor]; Atul Gosain; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! > > >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give >feedback to me.... > > > >-----Original Message----- >From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >Sent: Mon 14-Oct-02 19:01 >To: 'Atul Gosain'; nagios-users at lists.sourceforge.net >Cc: >Subject: RE: [Nagios-users] RRD Tool integration > >I can't speak about RRDTool directly, but at some point I plan >to take a >crack at leveraging cacti (or another RRDTool-based solution). > I'll share >my solution once I've been there, done that. > >Off the cuff, I speculate that I'll be running the NRPE >plugins from cacti. >The only disadvantage I can see here is that each plugin worth tracking >metrics will be run once from Nagios, once from cacti. Less >than optimal, >but I don't know the internals of Nagios well enough to approach this >otherwise. > >If someone better versed on the Nagios internals (nagios.cmd, perhaps?) >would care to make helpful suggestions when I cross that >bridge, ping me now >(off-list) just to say, "Hey, let me know when you're ready to >give this a >go; I should be able to spare a few cycles here and there." > >As usual, once I've cracked this nut, I'll share with the list. > >jc > >> -----Original Message----- >> From: Atul Gosain [mailto:atul at mindsw.com] >> Sent: Monday, October 14, 2002 5:56 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD Tool integration >> >> >> hi >> >> Hey what happened to RRD tool integration . Someone was going >> to provide >> some script to take the data from the rrd instead of >> executing the ping >> plugin. >> >> Thanks >> Atul. >> :) >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marcus.hildenbrand at sap.com Tue Oct 15 12:43:26 2002 From: marcus.hildenbrand at sap.com (Marcus Hildenbrand) Date: Tue, 15 Oct 2002 12:43:26 +0200 Subject: Performanceproblems switching to faster server Message-ID: <3DABF14E.10506@sap.com> Our current produktive Nagios installation runs on a 4x700 MHz server with Suse Linux. We are doing an active monitoring of > 1.100 servers with > 5.500 services. Because of the known problems with slow CGI's on large configurations we decided to test our Nagios installation on a 2x2.4 GHz Suse Linux server hoping to get the CGI's faster. But we saw the opposite. For example the command "time /bin/nagios -v " gives the following response: 4x700 MHz server: .. .. Things look okay - No serious problems were detected during the pre-flight check real 0m1.866s user 0m1.820s sys 0m0.050s 2x2.4 GHz server: .. .. Things look okay - No serious problems were detected during the pre-flight check real 0m7.428s user 0m7.410s sys 0m0.020s Has anyone an idea why this is more than 3 times slower on the faster box? This problem also exists for the CGI's. Thanks Marcus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From info at lars-schenk.de Tue Oct 15 13:03:39 2002 From: info at lars-schenk.de (Lars Schenk) Date: Tue, 15 Oct 2002 13:03:39 +0200 Subject: CGI - 500 - Premature end of script headers Message-ID: <009c01c2743a$84c826b0$65010a0a@schenk8000> Hi group, nagios is running and working but _all_ the CGIs from the web-interface gave 500. i.e.: Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Premature end of script headers: /usr/local/nagios/sbin/status.cgi Premature end of script headers: /usr/local/nagios/sbin/statuswrl.cgi Premature end of script headers: /usr/local/nagios/sbin/outages.cgi ... FAQ @ http://www.nagios.org/faqs/viewfaq.php?faq_id=43 says to "Recompile the CGIs without debugging enabled and this problem should disappear." But I have not compiled with debug options - here's my configure: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios My httpd.conf is extended with -- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all --- nagios 1.0b6, SuSe 8.0 Apache/1.3.26 SuSE Linux 8.0 (i386) Kernel 2.4.18-4GB / i686 Any idea? Thanks in advance. ~ Lars Schenk mailto:info at lars-schenk.de ICQ: 64011254 MSN: schenk at sharedirect.com AIM: larsschenkde YAHOO: larsschenk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Tue Oct 15 14:08:56 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Tue, 15 Oct 2002 14:08:56 +0200 Subject: "Strange" Availability Report output Message-ID: <3DAC0558.8020103@conova.com> Hello!! I have problems to read the output of the Availability Report!! Can anyone tell me what the rows and columns in this table actually mean??? What does Unscheduled / Scheduled in the column Type/Reason mean?? To which time the columns "Total Time" and "Known Time" are relatet? ("Total Time" since Nagios is running or the time I request?) ("Known Time" the time I request which is covered with information from the logs?) What means the row "Undetermined", especially Insufficient Data ?? Nagios ot running seems not be the right value?? e.g if i request the report on a service from yesterday (where I know it was up all the time) I get this output!! Why is the column "Time" only 7h althoug the service was up 100% (I would expect 24h), and Nagios wasnt running for 16h ?????????? State Type / Reason Time % Total Time % Known Time OK Unscheduled 0d 7h 11m 41s 29.978% 100.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 7h 11m 41s 29.978% 100.000% 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 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 16h 48m 19s 70.022% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 16h 48m 19s 70.022% All Total 1d 0h 0m 0s 100.000% 100.000% The next table is not related to the one above!! What does in the column "Time OK" the values 36.284% (99.891%) mean??? This is a request over the last 7 days! State Breakdowns For Host Services: Service % Time OK % Time Warning % Time Unknown % Time Critical % Time Undetermined disk / 36.284% (99.891%) 0.000% (0.000%) 0.000% (0.000%) 0.040% (0.109%) 63.676% disk /opt 45.961% (99.806%) 0.000% (0.000%) 0.000% (0.000%) 0.089% (0.194%) 53.949% disk /usr 38.832% (69.725%) 0.000% (0.000%) 0.000% (0.000%) 16.861% (30.275%) 44.307% disk /var 28.971% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 71.029% It really need explanation, to be able to read it logically!! Please help me thanks wolfgang ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Tue Oct 15 14:27:08 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Tue, 15 Oct 2002 14:27:08 +0200 Subject: "Strange" Availability Report output Message-ID: <3DAC099C.1010507@conova.com> I have my question attached!! -------------- next part -------------- An embedded message was scrubbed... From: Moser Wolfgang Subject: "Strange" Availability Report output Date: Tue, 15 Oct 2002 14:08:56 +0200 Size: 3630 URL: From Marcus.Nilsson at Cannondale.com Tue Oct 15 15:09:26 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Tue, 15 Oct 2002 15:09:26 +0200 Subject: Running Nagios Automatically at System Boot. Message-ID: Hey all. I have installed Nagios 1.0b6 and have about 35 hosts that are being checked, everything works wonderful but I cant get Nagios to start automatically at system boot. The software is running on a Slackware 8.1 box. I have run the 'make install-init' command witch installs the startup script to /etc/rc.d/nagios. When I reboot, nothing happens. If I run the script from command line Nagios starts fine, but give me some errors: root at felix:/etc/rc.d# ./nagios start Starting network monitor: nagios /bin/bash: -l: unrecognized option Usage: /bin/bash [GNU long option] [option] ... /bin/bash [GNU long option] [option] script-file ... GNU long options: --debug --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --rcfile --restricted --verbose --version --wordexp Shell options: -irsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option PID TTY TIME CMD 4039 ? 00:00:00 nagios root at felix:/etc/rc.d# I realize that since Slackware uses BSD init the startup script might not work 'out of the box'. Can anyone give me a hint on how to modify the script? My Nagios installation is in default path /usr/local/nagios/ . Thanks Marcus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fred at tdkom.net Tue Oct 15 15:22:24 2002 From: fred at tdkom.net (Frederico Lichti) Date: Tue, 15 Oct 2002 10:22:24 -0300 Subject: help with check_mrtgtraf Message-ID: <5.1.0.14.2.20021015101021.00a8cdb8@pop3.tdkom.net> I?m using the check_mrtgtraf plugin and it?s working fine, but in my nagios services detail, the status of this service is always critical. How to change this? I using the -c and -w option.... this is my sintaxe line in services.cfg define service { use generic-service ; Name of service template to use host_name dizzy service_description TRAFEGO is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups tnl-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_traf!/var/www/htdocs/mrtg/dizzy_2.log!0,0!0,0 } in checkcommands.cfg define command { command_name check_traf command_line $USER1$/check_mrtgtraf -F $ARG1$ -c $ARG2$ -w $ARG3$ } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Garry.Cook at mactec.com Tue Oct 15 16:15:14 2002 From: Garry.Cook at mactec.com (Garry Cook) Date: Tue, 15 Oct 2002 08:15:14 -0600 Subject: Origin of "nagios" Message-ID: <186C7335CA35094D95611F4F61A63EAD44632C@gdn-exch1.mactec.com> Nagios Ain't Gonna Insist On Sainthood Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Monday, October 14, 2002 8:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Origin of "nagios" > > > Okay, here is a question: > > Where does the word "nagios" come from? One of my co-workers > wondered if it > was vaguely Greek (anyone know any vague Greeks? (or is the > greecians?)) > > This is obviously another question of deep and meaningful > purpose that > should go in the FAQ :) > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > Kelvin Grove Campus, CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 16:22:51 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 10:22:51 -0400 Subject: Problems with web permissions Message-ID: <7DC404391E19FF4B97028E7790C9C54A03563597@mail01.ibill.com> Trying to access the below items in the web interface Network outages comments sched downtime process info Scheduled Q Reporting-Event log Configs-View I get the dreaded "It appears as though you do not have permission to view the configuration information 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 don't know squat about Apache. I am running 1.3 with RedHat 7.3. Where do I start? 1st of all I DO get prompted for username and password when accessing the nagios site. I do have .htaccess files in the proper directories as per the docs Am running Nagios as "nagios" in another window for testing. My NsClient plugin is getting data from my Win2k box and logging it to nagios. suggestions? ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 16:29:07 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Oct 2002 09:29:07 -0500 Subject: 3D World Message-ID: >From the docs describing the 3d_coords directive: "This variable is used to define coordinates to use when drawing the host in the statuswrl CGI. Coordinates can be positive or negative real numbers. The origin for drawing is (0.0,0.0,0.0). For reference, the size of the host cubes drawn is 0.5 units on each side (text takes a little more space). The coordinates you specify here are used as the center of the host cube." Unless I missed something, this means that this specifies the X,Y,Z coordinates of the image, and that the size of the image is a constant. jc > -----Original Message----- > From: Louie Cagasan [mailto:fireant at zpdee.net] > Sent: Monday, October 14, 2002 10:29 PM > To: Carroll, Jim P [Contractor] > Cc: 'Jon Lyons'; chris_lockwood at ckeurope.com; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] 3D World > > > Well, from what I understand about it in the docs, the coords you > specify for a node there don't exactly mean its position on > the map, but > something like the size of the icon you'll use for that node. And the > layout there means how the nodes are "laid out" onscreen. > > Using user-defined layout in the status map doesn't work for > me: I don't > see all the nodes I specified. Oh well, as long as I see the whole map > of my whole network, that's just fine with me. =) > > > On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote: > > Verrrry interesting. Mine was set to "0", so I went > through the ranks... > > 4... 3... 2... all of those work, no problem. This is where I say, > > "Hooray!" I'm puzzling why it doesn't work for > user-defined co-ordinates, > > but this will likely make my job simpler. > > > > Thanks for the tip! > > > > jc > > > > -----Original Message----- > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > Sent: Monday, October 14, 2002 5:27 PM > > To: Louie Cagasan; Carroll, Jim P [Contractor] > > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] 3D World > > > > > > > > Are you sure it's working?? Did you change > "default-statuswrl_layout=0" ?I > > bet you're still on auto(4).. :) My 2d maps work fine with > my coords, but > > the 3d maps just give the error... > > > > > > Louie Cagasan wrote: > > > > > > Hi Jim/Chris, > > > > Try this one. I have this in my hostextinfo.cfg: > > Just make sure you declared this in your cgi.cfg, like: > > > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > > > or something like that, then below is the entries for your > > hostextinfo.cfg. > > > > define hostextinfo{ > > host_name NOCswitch > > vrml_image ng-switch40.png > > icon_image ng-switch40.gif > > vrml_image ng-switch40.jpg > > statusmap_image ng-switch40.gd2 > > 2d_coords 200,400 > > 3d_coords 50.0,100.0,50.0 > > } > > > > This works for me. And the "no dots" rule is, > > well, a rule. You can vary the values in the coords as well. > > > > hth. > > -------------------------------------------------------------------- > > > > I never did get this working. The common response is "make > sure you = > > don't > > have dots in your hostnames", which I don't. > > > > VRML works, but Cortona does start; it comes! up with "You > have not = > > supplied > > any 3-D drawing coordinates. Read the FAQs for more information on = > > doing > > this." > > > > Not to say this can't be done, but I've largely given up on > making it = > > work > > (for now). > > > > I'll be migrating Nagios to another server, so maybe when I have a = > > 'bare > > bones' config set up, I'll try the 3-D Status Map again, > just to see = > > whether > > it works at all. If I have an 'aha!' moment, I'll share it with = > > everyone. > > ;) > > > > jc > > > > > -----Original Message----- > > > From: Chris at lockwood.fsnet.co.uk > [mailto:Chris at lockwood.fsnet.co.uk] > > > Sent: Monday, October 14, 2002 2:53 AM > > > To: nagios-users at lists.sourceforge.net > > > Cc: chris.lockwood at ckeurope.com > > > Subject: [Nagios-users] 3D World > > >=20 > > >=20 > > > I'm having problems with the 3D world configuration, > everything else > > > seems to work (excellent program). The 2D status map > seems to take = > > the > > > coordinate! s I have inputted, but the 3D version is > having non of it. > > >=20 > > > At this point it may be worth mentioning that I did not use the: > > >=20 > > > --with-template-objects > > >=20 > > > argument when I compiled, however having said that the 2D Map=20 > > > works ok. > > > I realize its not the end of the world but I'd really like to=20 > > > have full > > > functionality, so I can show of to my manager :-) > > >=20 > > > Thanks all > > >=20 > > > Chris L > > >=20 > > >=20 > > >=20 > > > ____________________________________________ > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > _____ > > > > Do you Yahoo!? > > Faith Hill - Exclusive > Performances, Videos, & > > more > > faith.yahoo.com > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 16:35:20 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Oct 2002 09:35:20 -0500 Subject: notify-no-notifications Message-ID: Just for the sake of clarification.... You're looking for a feature to notify you that you're not being notified? jc > -----Original Message----- > From: Martin Clifton [mailto:martin.clifton at vu.edu.au] > Sent: Tuesday, October 15, 2002 12:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notify-no-notifications > > > Hi, > > There was a utility available with NetSaint, > notify-no-notifications-0.3.pl, which one could run as a > reminder as to > whether notifications had been disabled for hosts or services. > > Does anyone know of an equivalent for Nagios, or of an alternative > method of getting this infomation easily ? > > Regards, Martin > > Information Technology Services > Victoria University > Melbourne Australia > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jtinley at unirez.com Tue Oct 15 16:39:43 2002 From: jtinley at unirez.com (Jeremy Tinley) Date: Tue, 15 Oct 2002 09:39:43 -0500 Subject: Origin of "nagios" In-Reply-To: <5.1.0.14.2.20021015123901.03643c80@imap.qut.edu.au> References: <5.1.0.14.2.20021015123901.03643c80@imap.qut.edu.au> Message-ID: <001a01c27458$b36cef00$b201a8c0@unirez.com> I went googling, and I wish I could say I found the answer. Instead, all I found was some really cool gear. http://www.cafeshops.com/cp/store.aspx?s=nagios -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Vickers Sent: Monday, October 14, 2002 9:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Origin of "nagios" Okay, here is a question: Where does the word "nagios" come from? One of my co-workers wondered if it was vaguely Greek (anyone know any vague Greeks? (or is the greecians?)) This is obviously another question of deep and meaningful purpose that should go in the FAQ :) ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT Kelvin Grove Campus, CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 16:39:47 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Oct 2002 09:39:47 -0500 Subject: nrpe + plugins for SUNOS 5.8? Message-ID: This has become something of a FAQ. I'm wondering if Ethan would be willing for us to supply 2 tarballs per package (the original package, compiled but not installed, and a separate tarball with just the binaries) and host them on his site...? I'd be willing to create Solaris packages for them, if I thought that everyone would want them consistently installed in one location (eg, under /usr/local), but I'm not convinced that's the case. *shrug* If there's demand for this, I'll still do it. jc > -----Original Message----- > From: Van Der Westhuizen Brian > [mailto:VanDerWesthuizenB at aforbes.co.za] > Sent: Tuesday, October 15, 2002 1:28 AM > To: 'bkirsch at olosec.com'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nrpe + plugins for SUNOS 5.8? > > > sure ...if you have not been sorted out i can gzip them up > and send them > over direct to your email addy. > > > Brian .....yea another Brian from south africa ... > > -----Original Message----- > From: Brian G. Kirsch [mailto:bkirsch at olosec.com] > Sent: 14 October 2002 11:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? > > > Hi, > > Does anyone have complied nagios plugins for SUNOS 5.8 and > also a compiled > NRPE? > > Thanks in advance, > > Brian > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > Confidentiality Warning > ======================= > The contents of this e-mail and any accompanying documentation > are confidential and any use thereof, in what ever form, by anyone > other than the addressee is strictly prohibited. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 17:15:58 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 11:15:58 -0400 Subject: Update: Problems with web permissions all but 3 fixed Message-ID: <7DC404391E19FF4B97028E7790C9C54A03563599@mail01.ibill.com> ok, I did some adding to my cgi.cfg file and managed to get "permissions" to all but Network Outages Comments Downtime seems that nagios and "nagios admin" are not the same. I added "nagios" to everywhere I found "nagios admin" and all but 3 of the problems were fixed. -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: Tuesday, October 15, 2002 10:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with web permissions Trying to access the below items in the web interface Network outages comments sched downtime process info Scheduled Q Reporting-Event log Configs-View I get the dreaded "It appears as though you do not have permission to view the configuration information 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 don't know squat about Apache. I am running 1.3 with RedHat 7.3. Where do I start? 1st of all I DO get prompted for username and password when accessing the nagios site. I do have .htaccess files in the proper directories as per the docs Am running Nagios as "nagios" in another window for testing. My NsClient plugin is getting data from my Win2k box and logging it to nagios. suggestions? ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anoopa at hotmail.com Tue Oct 15 17:25:07 2002 From: anoopa at hotmail.com (Anoop Atre) Date: Tue, 15 Oct 2002 10:25:07 -0500 Subject: config file References: <7DC404391E19FF4B97028E7790C9C54A03563593@mail01.ibill.com> Message-ID: Ok I have to object to this, I don't think nagios is that badly documented. Atleast for the initial setup and then there is -h for the plugins. I installed it and had it up in at pretty much the speed with which I've setup other software (didn't even use rpms and I hear they work (mostly) pretty much out of the box) It just needs a little rtfm and stfw, not that I still need some help with certain things but on the whole nagios is not as bad as quite a few people make it out to be. No I am not an 'expert' of sorts, hells I don't even code as much : ) Ethan maybe you could setup the information on the origins of the damned word nagios on the main nagios page (maybe a click on the word it self brings up the info..what it means, where it's from, how do you pronounce it, etc) it's just funny how every week there is that same question again : ) I would highly recomend newbies (including moi) should read the following text put together by 'da man' (have to scroll down a bit. http://www.tuxedo.org/~esr/faqs/smart-questions.html ~ ps. doesn't mean I haven't asked 'dumb' questions on this list or on others : ) ----- Original Message ----- From: To: ; Sent: Monday, October 14, 2002 4:22 PM Subject: RE: [Nagios-users] config file > The final part of the install process creates samples for all the .cfg files > located in /usr/local/nagios/etc > > did you run > make all > make install > make install-init > make install-config > > The "install-config" will make sample config files for all the .cfg files > you need. Now, understanding how each are inter-related is another story!!! > :) > > you need more than just the nagios.cfg file to get nagios to work. Almost > every flipping .cfg file in the nagios etc directory is dependent on each > other. > > Welcome to nagios, the *worst* documented network management program out > there! :) > > > Once you get past the install docs (which are ok), you have to rely on this > list for the rest. There is no "here is how you add a device, follow the > these steps... 1, 2, 3, 4 docs. > > Forget about finding a document on how each file in etc is dependent on each > other and what step-by-step changes to make when adding > devices/commands/services/hosts, etc.. It doesn't exist as far as I know. > > The guys on this list are great for support and answering questions! > > My advice, get nagios working with ONE device and service (ping is easy) and > expand out from there. That only took me around 20 hrs!! > > > > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 14, 2002 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config file > > > could anyone send me there config file please. I am confused as of how to > set one up. > > Andrew Meyer > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 17:27:31 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 11:27:31 -0400 Subject: Pls Clarify 4 me.. disable service via webinterface Message-ID: <7DC404391E19FF4B97028E7790C9C54A0356359A@mail01.ibill.com> Why won't nagios all me to disable a service via the web interface? I have the following defined in my services.cfg define service{ use generic-service ; Name of service template to use host_name 10.148.21.25 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups laptopgrp notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } I use the web interface, in the service information page. I select to "disable checks of this service" which is "ping". Nagios responds... "Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!" Huh? Did I config something incorrect? If I can't disable a service, the why is being displayed as an option for me? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sandro at opservices.com.br Tue Oct 15 17:31:02 2002 From: sandro at opservices.com.br (Sandro Merg Vaz) Date: Tue, 15 Oct 2002 12:31:02 -0300 Subject: RES: Problems with web permissions In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A03563597@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A03563597@mail01.ibill.com> Message-ID: Take a look at CGI.CFG, and see what users you have defined in authorized_for_*.information. In the help file you can find the complete information at the "Configuring authorization for the CGIs" topic. Att., Sandro VAz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de doug.moore at ibill.com Enviada em: ter?a-feira, 15 de outubro de 2002 11:23 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Problems with web permissions Trying to access the below items in the web interface Network outages comments sched downtime process info Scheduled Q Reporting-Event log Configs-View I get the dreaded "It appears as though you do not have permission to view the configuration information 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 don't know squat about Apache. I am running 1.3 with RedHat 7.3. Where do I start? 1st of all I DO get prompted for username and password when accessing the nagios site. I do have .htaccess files in the proper directories as per the docs Am running Nagios as "nagios" in another window for testing. My NsClient plugin is getting data from my Win2k box and logging it to nagios. suggestions? ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jhp at addix.net Tue Oct 15 17:34:40 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Tue, 15 Oct 2002 17:34:40 +0200 Subject: Notification by SMS/Voice Message-ID: <20021015153440.GF17651@billgotchy.de> Hi .. I'm looking for documentations about notifications by SMS and/or voice. I hava a server with nagios 1.0b6 and ISDN Card. What do I need to send SMS or call a telephonenumber for some notifications? I tried to search with google, but I am afraid, that I do not have the right key-words :) .... Any hints? Thnx Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 17:48:48 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 11:48:48 -0400 Subject: Nagios is badly documented :( Message-ID: <7DC404391E19FF4B97028E7790C9C54A0356359B@mail01.ibill.com> yes, Nagios is poorly documented the common user. There needs to be a "paint-by-numbers" section on how to add services to nagios for one. How about a 1-2-3 to getting users proper authentication via the cgi.cfg file? How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state types and time periods. As it stands now, a newbie has to "sift" through pages and pages of documentation and config files to learn this. Trial and error... mostly error and trial. There is still no documentation of the relationship of the various cfg files. I for one still don't 100% understand how all these thing tie together. Nagios does have adequate install documentation but after that if falls very short. I realize that docs are the last thing anyone wants to do, but for a product as complicated as this, it really is going to have to produce them to survive in the long term. People learn by example, nagios is lacking severely in the example area for configuring major areas of the program. No, sorry the examples in the .cfg files don't count. Why? again, you don't know the dependencies between the cfg files. Yep, having a contact-group of novell-admins doesn't do much when it isn't documented where it appears and what it all effects. Not bashing the product, but just pointing out what every review of nagios states, Nagios has terrible documentation. -----Original Message----- From: Anoop Atre [mailto:anoopa at hotmail.com] Sent: Tuesday, October 15, 2002 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] config file Ok I have to object to this, I don't think nagios is that badly documented. Atleast for the initial setup and then there is -h for the plugins. I installed it and had it up in at pretty much the speed with which I've setup other software (didn't even use rpms and I hear they work (mostly) pretty much out of the box) It just needs a little rtfm and stfw, not that I still need some help with certain things but on the whole nagios is not as bad as quite a few people make it out to be. No I am not an 'expert' of sorts, hells I don't even code as much : ) Ethan maybe you could setup the information on the origins of the damned word nagios on the main nagios page (maybe a click on the word it self brings up the info..what it means, where it's from, how do you pronounce it, etc) it's just funny how every week there is that same question again : ) I would highly recomend newbies (including moi) should read the following text put together by 'da man' (have to scroll down a bit. http://www.tuxedo.org/~esr/faqs/smart-questions.html ~ ps. doesn't mean I haven't asked 'dumb' questions on this list or on others : ) ----- Original Message ----- From: To: ; Sent: Monday, October 14, 2002 4:22 PM Subject: RE: [Nagios-users] config file > The final part of the install process creates samples for all the .cfg files > located in /usr/local/nagios/etc > > did you run > make all > make install > make install-init > make install-config > > The "install-config" will make sample config files for all the .cfg files > you need. Now, understanding how each are inter-related is another story!!! > :) > > you need more than just the nagios.cfg file to get nagios to work. Almost > every flipping .cfg file in the nagios etc directory is dependent on each > other. > > Welcome to nagios, the *worst* documented network management program out > there! :) > > > Once you get past the install docs (which are ok), you have to rely on this > list for the rest. There is no "here is how you add a device, follow the > these steps... 1, 2, 3, 4 docs. > > Forget about finding a document on how each file in etc is dependent on each > other and what step-by-step changes to make when adding > devices/commands/services/hosts, etc.. It doesn't exist as far as I know. > > The guys on this list are great for support and answering questions! > > My advice, get nagios working with ONE device and service (ping is easy) and > expand out from there. That only took me around 20 hrs!! > > > > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 14, 2002 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config file > > > could anyone send me there config file please. I am confused as of how to > set one up. > > Andrew Meyer > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From John.Jolet at misyshealthcare.com Tue Oct 15 18:02:36 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Tue, 15 Oct 2002 12:02:36 -0400 Subject: Nagios is badly documented :( Message-ID: Interesting comment...I found the docuementation to be VERY complete...maybe too complete is the problem? Of course, I read it ALL before I started..... -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: Tuesday, October 15, 2002 10:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios is badly documented :( yes, Nagios is poorly documented the common user. There needs to be a "paint-by-numbers" section on how to add services to nagios for one. How about a 1-2-3 to getting users proper authentication via the cgi.cfg file? How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state types and time periods. As it stands now, a newbie has to "sift" through pages and pages of documentation and config files to learn this. Trial and error... mostly error and trial. There is still no documentation of the relationship of the various cfg files. I for one still don't 100% understand how all these thing tie together. Nagios does have adequate install documentation but after that if falls very short. I realize that docs are the last thing anyone wants to do, but for a product as complicated as this, it really is going to have to produce them to survive in the long term. People learn by example, nagios is lacking severely in the example area for configuring major areas of the program. No, sorry the examples in the .cfg files don't count. Why? again, you don't know the dependencies between the cfg files. Yep, having a contact-group of novell-admins doesn't do much when it isn't documented where it appears and what it all effects. Not bashing the product, but just pointing out what every review of nagios states, Nagios has terrible documentation. -----Original Message----- From: Anoop Atre [mailto:anoopa at hotmail.com] Sent: Tuesday, October 15, 2002 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] config file Ok I have to object to this, I don't think nagios is that badly documented. Atleast for the initial setup and then there is -h for the plugins. I installed it and had it up in at pretty much the speed with which I've setup other software (didn't even use rpms and I hear they work (mostly) pretty much out of the box) It just needs a little rtfm and stfw, not that I still need some help with certain things but on the whole nagios is not as bad as quite a few people make it out to be. No I am not an 'expert' of sorts, hells I don't even code as much : ) Ethan maybe you could setup the information on the origins of the damned word nagios on the main nagios page (maybe a click on the word it self brings up the info..what it means, where it's from, how do you pronounce it, etc) it's just funny how every week there is that same question again : ) I would highly recomend newbies (including moi) should read the following text put together by 'da man' (have to scroll down a bit. http://www.tuxedo.org/~esr/faqs/smart-questions.html ~ ps. doesn't mean I haven't asked 'dumb' questions on this list or on others : ) ----- Original Message ----- From: To: ; Sent: Monday, October 14, 2002 4:22 PM Subject: RE: [Nagios-users] config file > The final part of the install process creates samples for all the .cfg files > located in /usr/local/nagios/etc > > did you run > make all > make install > make install-init > make install-config > > The "install-config" will make sample config files for all the .cfg files > you need. Now, understanding how each are inter-related is another story!!! > :) > > you need more than just the nagios.cfg file to get nagios to work. Almost > every flipping .cfg file in the nagios etc directory is dependent on each > other. > > Welcome to nagios, the *worst* documented network management program out > there! :) > > > Once you get past the install docs (which are ok), you have to rely on this > list for the rest. There is no "here is how you add a device, follow the > these steps... 1, 2, 3, 4 docs. > > Forget about finding a document on how each file in etc is dependent on each > other and what step-by-step changes to make when adding > devices/commands/services/hosts, etc.. It doesn't exist as far as I know. > > The guys on this list are great for support and answering questions! > > My advice, get nagios working with ONE device and service (ping is easy) and > expand out from there. That only took me around 20 hrs!! > > > > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 14, 2002 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config file > > > could anyone send me there config file please. I am confused as of how to > set one up. > > Andrew Meyer > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 15 18:11:30 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Oct 2002 09:11:30 -0700 (PDT) Subject: Nagios is badly documented :( In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A0356359B@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A0356359B@mail01.ibill.com> Message-ID: <20021015161130.95649.qmail@web21506.mail.yahoo.com> Sounds like you just volunteered.... :) The squeaky wheel get the oil! I think a simple 2-3 host example could clear things up nicely for new users. Once you add a few hosts you begin to see how the config files interelate. doug.moore at ibill.com wrote:yes, Nagios is poorly documented the common user. There needs to be a "paint-by-numbers" section on how to add services to nagios for one. How about a 1-2-3 to getting users proper authentication via the cgi.cfg file? How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state types and time periods. As it stands now, a newbie has to "sift" through pages and pages of documentation and config files to learn this. Trial and error... mostly error and trial. There is still no documentation of the relationship of the various cfg files. I for one still don't 100% understand how all these thing tie together. Nagios does have adequate install documentation but after that if falls very short. I realize that docs are the last thing anyone wants to do, but for a product as complicated as this, it really is going to have to produce them to survive in the long term. People learn by example, nagios is lacking severely in the example area for configuring major areas of the program. No, sorry the examples in the .cfg files don't count. Why? again, you don't know the dependencies between the cfg files. Yep, having a contact-group of novell-admins doesn't do much when it isn't documented where it appears and what it all effects. Not bashing the product, but just pointing out what every review of nagios states, Nagios has terrible documentation. -----Original Message----- From: Anoop Atre [mailto:anoopa at hotmail.com] Sent: Tuesday, October 15, 2002 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] config file Ok I have to object to this, I don't think nagios is that badly documented. Atleast for the initial setup and then there is -h for the plugins. I installed it and had it up in at pretty much the speed with which I've setup other software (didn't even use rpms and I hear they work (mostly) pretty much out of the box) It just needs a little rtfm and stfw, not that I still need some help with certain things but on the whole nagios is not as bad as quite a few people make it out to be. No I am not an 'expert' of sorts, hells I don't even code as much : ) Ethan maybe you could setup the information on the origins of the damned word nagios on the main nagios page (maybe a click on the word it self brings up the info..what it means, where it's from, how do you pronounce it, etc) it's just funny how every week there is that same question again : ) I would highly recomend newbies (including moi) should read the following text put together by 'da man' (have to scroll down a bit. http://www.tuxedo.org/~esr/faqs/smart-questions.html ~ ps. doesn't mean I haven't asked 'dumb' questions on this list or on others : ) ----- Original Message ----- From: To: ; Sent: Monday, October 14, 2002 4:22 PM Subject: RE: [Nagios-users] config file > The final part of the install process creates samples for all the .cfg files > located in /usr/local/nagios/etc > > did you run > make all > make install > make install-init > make install-config > > The "install-config" will make sample config files for all the .cfg files > you need. Now, understanding how each are inter-related is another story!!! > :) > > you need more than just the nagios.cfg file to get nagios to work. Almost > every flipping .cfg file in the nagios etc directory is dependent on each > other. > > Welcome to nagios, the *worst* documented network management program out > there! :) > > > Once you get past the install docs (which are ok), you have to rely on this > list for the rest. There is no "here is how you add a device, follow the > these steps... 1, 2, 3, 4 docs. > > Forget about finding a document on how each file in etc is dependent on each > other and what step-by-step changes to make when adding > devices/commands/services/hosts, etc.. It doesn't exist as far as I know. > > The guys on this list are great for support and answering questions! > > My advice, get nagios working with ONE device and service (ping is easy) and > expand out from there. That only took me around 20 hrs!! > > > > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 14, 2002 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config file > > > could anyone send me there config file please. I am confused as of how to > set one up. > > Andrew Meyer > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Garry.Cook at mactec.com Tue Oct 15 18:15:10 2002 From: Garry.Cook at mactec.com (Garry Cook) Date: Tue, 15 Oct 2002 10:15:10 -0600 Subject: Nagios is badly documented :( Message-ID: <186C7335CA35094D95611F4F61A63EAD446332@gdn-exch1.mactec.com> The beautiful thing about Nagios is that it is an Open Source product. That means that you (yes YOU) can contribute. How about drawing up a draft of what you think the 1-2-3 documentation should look like. You may find that others are willing to help you once you have something started. Submit it to the list for comments. Maybe one day your contribution can become part of the distribution. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios > for one. How > about a 1-2-3 to getting users proper authentication via the > cgi.cfg file? > How about a 1-2-3 on how to setup nagios for Service Check > Scheduling, state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and > error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after > that if falls > very short. I realize that docs are the last thing anyone > wants to do, but > for a product as complicated as this, it really is going to > have to produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major > areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? > again, you don't > know the dependencies between the cfg files. Yep, having a > contact-group of > novell-admins doesn't do much when it isn't documented where > it appears and > what it all effects. > > Not bashing the product, but just pointing out what every > review of nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with > which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people > make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of > the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > > > The final part of the install process creates samples for > all the .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have > to rely on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > please notify > > the system manager. > > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Tue Oct 15 18:23:42 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 15 Oct 2002 10:23:42 -0600 (MDT) Subject: Nagios is badly documented :( In-Reply-To: References: Message-ID: I'm with you, John. I found no shortage of detailed documentation. WAY more than I'd ever expected to find for an open-source project like this one. For those of you who might have missed this, look at http://www.nagios.org/docs/. You have your choice of HTML docs online, or reading/printing a 199-page PDF document. Some products are too powerful to do what YOU want out of the box, so a small investment of your time is required to set it up. It's not hard -- the combination of the documentation, examples in the config files, and this list, make it a real snap, actually. > Interesting comment...I found the docuementation to be VERY complete...maybe > too complete is the problem? Of course, I read it ALL before I started..... > > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios for one. How > about a 1-2-3 to getting users proper authentication via the cgi.cfg file? > How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after that if falls > very short. I realize that docs are the last thing anyone wants to do, but > for a product as complicated as this, it really is going to have to produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? again, you don't > know the dependencies between the cfg files. Yep, having a contact-group of > novell-admins doesn't do much when it isn't documented where it appears and > what it all effects. > > Not bashing the product, but just pointing out what every review of nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > > > The final part of the install process creates samples for all the .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have to rely on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Tue Oct 15 18:40:38 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 15 Oct 2002 12:40:38 -0400 Subject: Nagios Documentation Message-ID: <5593DA408212D511B0910002A513501F01D28784@phsexch20.mgh.harvard.edu> Hi there, I found myself creating my own documentation as a supplement to the existing instruction. The procedure I created is based on my own experiences with installing the various components of the server and client programs. As such, it is subject to modification and improvement on a constant basis. I'm including as an attachment to this e-mail for your perusal. Comments and suggestions are welcome. Also, there are references to various appendices associated with the document. If you need to reference them, let me know. <> -------------- next part -------------- A non-text attachment was scrubbed... Name: Procedure for the Installation of the Nagios Network Monitoring Program.pdf Type: application/octet-stream Size: 148810 bytes Desc: not available URL: From RippelD at hillsboroughcounty.org Tue Oct 15 18:46:27 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Tue, 15 Oct 2002 12:46:27 -0400 Subject: Nagios is badly documented :( Message-ID: I have to agree with Jason & John on this one. The documentation is excellent for a piece of software as dynamic as Nagios. Nagios has been easier to implement and customize imho than expensive commercial products such as NetCool. It also doesn't hurt to have an excellent user list ;) - David. >>> Jason Marshall 10/15/02 12:23PM >>> I'm with you, John. I found no shortage of detailed documentation. WAY more than I'd ever expected to find for an open-source project like this one. For those of you who might have missed this, look at http://www.nagios.org/docs/. You have your choice of HTML docs online, or reading/printing a 199-page PDF document. Some products are too powerful to do what YOU want out of the box, so a small investment of your time is required to set it up. It's not hard -- the combination of the documentation, examples in the config files, and this list, make it a real snap, actually. > Interesting comment...I found the docuementation to be VERY complete...maybe > too complete is the problem? Of course, I read it ALL before I started..... > > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios for one. How > about a 1-2-3 to getting users proper authentication via the cgi.cfg file? > How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after that if falls > very short. I realize that docs are the last thing anyone wants to do, but > for a product as complicated as this, it really is going to have to produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? again, you don't > know the dependencies between the cfg files. Yep, having a contact-group of > novell-admins doesn't do much when it isn't documented where it appears and > what it all effects. > > Not bashing the product, but just pointing out what every review of nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > > > The final part of the install process creates samples for all the .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have to rely on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 18:47:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Oct 2002 11:47:06 -0500 Subject: Nagios is badly documented :( Message-ID: Then we will have to agree to disagree. I, for one, feel that the documentation for Nagios is extremely comprehensive. It might have me scratching my head here or there (eg, service dependencies), but there's nothing that a little trial-and-error won't reveal. Perhaps the only quibble I have on the documentation might be in terms of Nagios internals. *shrug* I'll grant you, the modular design of Nagios required a bit more thought to get it initially set up, and the initial pre-flight check with the default config files caused a handful of warnings and errors to spew forth which caused me some chagrin (hint: you can comment out just about everything in the sample config files; you might want to keep backup copies saved off in another directory for future reference). You also say that Nagios is poorly documented (for) "the common user)." Maybe I'm missing something, but Nagios appears (to me) to be targetted for installation by an experienced UNIX/Linux systems administrator, not the common user. One of the problems of the "paint-by-numbers" approach is that everyone ends up with the same picture. Want sample config files? They're there. Want more examples/suggestions? That's what this mailing list is for. Looking for help configuring Apache? That's not really what Nagios or this mailing list is about, but you might find someone willing to help you there. Looking for help configuring Sendmail so you can get your notifications? Again, that's not really what Nagios/this mailing list is about, but you might find someone (like myself) willing to help out. Nagios is vast, of that there is no doubt. If you feel you're qualified to do the installation, then by all means, hang in there; frustration is a sign that success is just around the corner. :) jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios > for one. How > about a 1-2-3 to getting users proper authentication via the > cgi.cfg file? > How about a 1-2-3 on how to setup nagios for Service Check > Scheduling, state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and > error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after > that if falls > very short. I realize that docs are the last thing anyone > wants to do, but > for a product as complicated as this, it really is going to > have to produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major > areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? > again, you don't > know the dependencies between the cfg files. Yep, having a > contact-group of > novell-admins doesn't do much when it isn't documented where > it appears and > what it all effects. > > Not bashing the product, but just pointing out what every > review of nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with > which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people > make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of > the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > > > The final part of the install process creates samples for > all the .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have > to rely on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > please notify > > the system manager. > > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From galimore at mac.com Tue Oct 15 19:02:35 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 15 Oct 2002 11:02:35 -0600 Subject: Nagios is badly documented :( In-Reply-To: References: Message-ID: I agree... I read all of the documentation also and it was very helpful. I have also found that most of the questions asked on this list are in the documentation... it does require a bit of effort though. - Terry On Tuesday, October 15, 2002, at 10:02 AM, Jolet, John wrote: > Interesting comment...I found the docuementation to be VERY > complete...maybe > too complete is the problem? Of course, I read it ALL before I > started..... > > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios for one. > How > about a 1-2-3 to getting users proper authentication via the cgi.cfg > file? > How about a 1-2-3 on how to setup nagios for Service Check Scheduling, > state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after that if > falls > very short. I realize that docs are the last thing anyone wants to > do, but > for a product as complicated as this, it really is going to have to > produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? again, you > don't > know the dependencies between the cfg files. Yep, having a > contact-group of > novell-admins doesn't do much when it isn't documented where it > appears and > what it all effects. > > Not bashing the product, but just pointing out what every review of > nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with which > I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of the > damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > >> The final part of the install process creates samples for all the .cfg > files >> located in /usr/local/nagios/etc >> >> did you run >> make all >> make install >> make install-init >> make install-config >> >> The "install-config" will make sample config files for all the .cfg > files >> you need. Now, understanding how each are inter-related is another > story!!! >> :) >> >> you need more than just the nagios.cfg file to get nagios to work. > Almost >> every flipping .cfg file in the nagios etc directory is dependent on > each >> other. >> >> Welcome to nagios, the *worst* documented network management program > out >> there! :) >> >> >> Once you get past the install docs (which are ok), you have to rely on > this >> list for the rest. There is no "here is how you add a device, follow > the >> these steps... 1, 2, 3, 4 docs. >> >> Forget about finding a document on how each file in etc is dependent > on each >> other and what step-by-step changes to make when adding >> devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. >> >> The guys on this list are great for support and answering questions! >> >> My advice, get nagios working with ONE device and service (ping is > easy) and >> expand out from there. That only took me around 20 hrs!! >> >> >> >> -----Original Message----- >> From: Andrew Meyer [mailto:andrewm659 at hotmail.com] >> Sent: Monday, October 14, 2002 4:56 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] config file >> >> >> could anyone send me there config file please. I am confused as of > how to >> set one up. >> >> Andrew Meyer >> >> >> >> ********************************************************************** >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they >> are addressed. If you have received this email in error please notify >> the system manager. >> ********************************************************************** >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 15 19:07:48 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 15 Oct 2002 13:07:48 -0400 Subject: just what can you do with a database? Message-ID: Good morning folks, i have seen lots o' people using the database option for Nagios. Frankly i just plainly don't know anything about databases and i am wondering how it is beneficial. So, are the databases used to store the configuration or the results? i am just about to jump in and find a way of determining just what is down at certain points of time. The way nagios works i can only determine if specified hosts or hostgroups are down. Basically i need more powerful reporting. Is this something that a database can provide me? Also can this be done without alot of database experience? i guess i am looking for a turn-key solution to my reporting. thanks in advance, dean -- dream outloud ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rstillings at returnbuy.com Tue Oct 15 19:06:27 2002 From: rstillings at returnbuy.com (Rick Stillings) Date: Tue, 15 Oct 2002 13:06:27 -0400 Subject: Nagios documentation Message-ID: <5.1.0.14.2.20021015125150.0344c8a0@mail.returnbuy.com> I have been monitoring this list for about 2 months now, having never posted a question or response. However I felt a need to respond to this thread about "documentation", and hopefully not get flamed for it. I have seen nothing but "helpful" responses to questions posted. And to the issue of documentation, by "open source" standards I believe it is excellent, the examples are the key to understanding how everything ties together. In fact I find Nagios much easier to configure than NetSaint. I also find the error checking when reloading (/etc/init.d/nagios reload) to be very helpful for when I left something out or "fat fingered" an entry. To the folks who post suggestions, please keep up the good work. thanks -rick Rick Stillings rstillings at returnbuy.com The world is a wonderous puzzle... everyone a piece and every piece fits every piece is alive making energy..... energy pulls the pieces together into a round ball Tara Nevins (Donna the Buffalo) "Family Picture" -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002 From ray at corpex.com Tue Oct 15 19:09:03 2002 From: ray at corpex.com (Raymond Brighenti) Date: Tue, 15 Oct 2002 18:09:03 +0100 Subject: Nagios is badly documented :( In-Reply-To: References: Message-ID: <5.1.1.6.0.20021015180435.029a04d0@pop3.mail.armourplate.net> I found this article which gets you up and running nicely without having to do too much reading of the docs to start off with. http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html Then once I'd completed it and had the basics up and going and had a start to understanding the ins and outs you hit the docs and with a bit of trial and error was plowing through the more advanced stuff. Have to agree, has to be one of the most comprehensive and configurable pieces of work I've come across! Ray At 11:47 15/10/2002 -0500, you wrote: >Then we will have to agree to disagree. I, for one, feel that the >documentation for Nagios is extremely comprehensive. It might have me >scratching my head here or there (eg, service dependencies), but there's >nothing that a little trial-and-error won't reveal. Perhaps the only >quibble I have on the documentation might be in terms of Nagios internals. >*shrug* > >I'll grant you, the modular design of Nagios required a bit more thought to >get it initially set up, and the initial pre-flight check with the default >config files caused a handful of warnings and errors to spew forth which >caused me some chagrin (hint: you can comment out just about everything in >the sample config files; you might want to keep backup copies saved off in >another directory for future reference). > >You also say that Nagios is poorly documented (for) "the common user)." >Maybe I'm missing something, but Nagios appears (to me) to be targetted for >installation by an experienced UNIX/Linux systems administrator, not the >common user. > >One of the problems of the "paint-by-numbers" approach is that everyone ends >up with the same picture. Want sample config files? They're there. Want >more examples/suggestions? That's what this mailing list is for. > >Looking for help configuring Apache? That's not really what Nagios or this >mailing list is about, but you might find someone willing to help you there. > >Looking for help configuring Sendmail so you can get your notifications? >Again, that's not really what Nagios/this mailing list is about, but you >might find someone (like myself) willing to help out. > >Nagios is vast, of that there is no doubt. If you feel you're qualified to >do the installation, then by all means, hang in there; frustration is a sign >that success is just around the corner. :) > >jc > > > -----Original Message----- > > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > > Sent: Tuesday, October 15, 2002 10:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios is badly documented :( > > > > > > yes, Nagios is poorly documented the common user. There needs to be a > > "paint-by-numbers" section on how to add services to nagios > > for one. How > > about a 1-2-3 to getting users proper authentication via the > > cgi.cfg file? > > How about a 1-2-3 on how to setup nagios for Service Check > > Scheduling, state > > types and time periods. > > > > As it stands now, a newbie has to "sift" through pages and pages of > > documentation and config files to learn this. Trial and > > error... mostly > > error and trial. > > > > There is still no documentation of the relationship of the various cfg > > files. I for one still don't 100% understand how all these thing tie > > together. > > > > Nagios does have adequate install documentation but after > > that if falls > > very short. I realize that docs are the last thing anyone > > wants to do, but > > for a product as complicated as this, it really is going to > > have to produce > > them to survive in the long term. People learn by example, nagios is > > lacking severely in the example area for configuring major > > areas of the > > program. > > > > No, sorry the examples in the .cfg files don't count. Why? > > again, you don't > > know the dependencies between the cfg files. Yep, having a > > contact-group of > > novell-admins doesn't do much when it isn't documented where > > it appears and > > what it all effects. > > > > Not bashing the product, but just pointing out what every > > review of nagios > > states, Nagios has terrible documentation. > > > > > > > > -----Original Message----- > > From: Anoop Atre [mailto:anoopa at hotmail.com] > > Sent: Tuesday, October 15, 2002 11:25 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] config file > > > > > > Ok I have to object to this, I don't think nagios is that badly > > documented. > > Atleast for the initial setup and then there is -h for the plugins. > > > > I installed it and had it up in at pretty much the speed with > > which I've > > setup > > other software (didn't even use rpms and I hear they work (mostly) > > pretty > > much out of the box) > > > > It just needs a little rtfm and stfw, not that I still need some help > > with certain things > > but on the whole nagios is not as bad as quite a few people > > make it out > > to be. > > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > > > Ethan maybe you could setup the information on the origins of > > the damned > > word nagios on the main nagios page (maybe a click on the word it self > > brings > > up the info..what it means, where it's from, how do you pronounce it, > > etc) > > it's just funny how every week there is that same question again : ) > > > > I would highly recomend newbies (including moi) should read the > > following text > > put together by 'da man' (have to scroll down a bit. > > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > > > ~ > > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > > others : ) > > > > ----- Original Message ----- > > From: > > To: ; > > Sent: Monday, October 14, 2002 4:22 PM > > Subject: RE: [Nagios-users] config file > > > > > > > The final part of the install process creates samples for > > all the .cfg > > files > > > located in /usr/local/nagios/etc > > > > > > did you run > > > make all > > > make install > > > make install-init > > > make install-config > > > > > > The "install-config" will make sample config files for all the .cfg > > files > > > you need. Now, understanding how each are inter-related is another > > story!!! > > > :) > > > > > > you need more than just the nagios.cfg file to get nagios to work. > > Almost > > > every flipping .cfg file in the nagios etc directory is dependent on > > each > > > other. > > > > > > Welcome to nagios, the *worst* documented network management program > > out > > > there! :) > > > > > > > > > Once you get past the install docs (which are ok), you have > > to rely on > > this > > > list for the rest. There is no "here is how you add a device, follow > > the > > > these steps... 1, 2, 3, 4 docs. > > > > > > Forget about finding a document on how each file in etc is dependent > > on each > > > other and what step-by-step changes to make when adding > > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > > know. > > > > > > The guys on this list are great for support and answering questions! > > > > > > My advice, get nagios working with ONE device and service (ping is > > easy) and > > > expand out from there. That only took me around 20 hrs!! > > > > > > > > > > > > -----Original Message----- > > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > > Sent: Monday, October 14, 2002 4:56 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] config file > > > > > > > > > could anyone send me there config file please. I am confused as of > > how to > > > set one up. > > > > > > Andrew Meyer > > > > > > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error > > please notify > > > the system manager. > > > > > ********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >______________________________________________________________________________ >This email has been checked for viruses by ArmourPlate, >http://www.armourplate.com, the multi-scanner anti-virus facility from Corpex. Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From michael.natale at incipient.com Tue Oct 15 19:36:38 2002 From: michael.natale at incipient.com (Michael Natale) Date: Tue, 15 Oct 2002 13:36:38 -0400 Subject: Nagios is badly documented :( Message-ID: I should preface my comments by saying that I am new to the Linux O/S and most of my 7+ years of expertise with computers/servers/networking is in the mickeysoft/cisco world. Having said that, I found the documentation to be very detailed -- more detailed than many programs I have tried to configure/install on Linux. For me, lack of detailed documentation aimed at the new Linux user is the primary reason why I stop attempting to configure an app or server running on Linux most of the time. For some projects, I just don't have time go look up the dozens of terms or acronyms I am unfamiliar with, so I find a different solution using familiar technology and solve my immediate problem. Moreover, (ducking here) some Linux user groups, lists, forums, software developers, whatever...seem to have a "well if you don't know you're just stupid and Im not going to waste MY precious time telling you anything bla bla bla" attitude. Fortunately no one connected with the Nagios project has had that attitude. With Nagios, I read the entire doc, and had it up and running, monitoring my infrastructure (including notifications) in a day or two of on/off work. There's still some kinks in my config, but I can iron those out over time. The app functions as it should with minimal effort on my part. Unfortunately for the Linux community as a whole, more widespread adoption of Linux as a viable O/S for the desktop or server farm is held up by "Mickeysoft-centric-IT" folks like me, who in reality, don't want to admit to ANYONE that they don't understand something about computers. We are used to being the answer guy/girls, so we stick with what they know and can solve our problems RIGHT NOW. BUT, we all know that B. Gates' Evil Empire makes software that is both ridiculously expensive and RIDDLED with bugs, so I don't think there's an IT professional out there who wouldn't switch away from it in the corporate workplace if there were more of a clear path from here to there. Especially for those of us who have just dabbled with Linux "on the side". Detailed documentation aimed at the non-linux-pro would solve that.... But I digress.... Thanks for a great app so far, -Michael ********************************** Message: 1 Date: Tue, 15 Oct 2002 12:46:27 -0400 From: "David Rippel" To: Subject: RE: [Nagios-users] Nagios is badly documented :( I have to agree with Jason & John on this one. The documentation is = excellent for a piece of software as dynamic as Nagios. Nagios has been = easier to implement and customize imho than expensive commercial products = such as NetCool. It also doesn't hurt to have an excellent user list ;) - David. >>> Jason Marshall 10/15/02 12:23PM >>> I'm with you, John. I found no shortage of detailed documentation. WAY more than I'd ever expected to find for an open-source project like this one. For those of you who might have missed this, look at http://www.nagios.org/docs/. You have your choice of HTML docs online, or reading/printing a 199-page PDF document. Some products are too powerful to do what YOU want out of the box, so a small investment of your time is required to set it up. It's not hard -- the combination of the documentation, examples in the config files, and this list, make it a real snap, actually. > Interesting comment...I found the docuementation to be VERY > complete...ma= ybe > too complete is the problem? Of course, I read it ALL before I = started..... >=20 > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com]=20 > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net=20 > Subject: [Nagios-users] Nagios is badly documented :( >=20 >=20 > yes, Nagios is poorly documented the common user. There needs to be a >"paint-by-numbers" section on how to add services to nagios for one. >How about a 1-2-3 to getting users proper authentication via the >cgi.cfg = file? > How about a 1-2-3 on how to setup nagios for Service Check Scheduling, > = state > types and time periods.=20 >=20 > As it stands now, a newbie has to "sift" through pages and pages of >documentation and config files to learn this. Trial and error... mostly >error and trial. =20 =20 > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together.=20 >=20 > Nagios does have adequate install documentation but after that if falls > very short. I realize that docs are the last thing anyone wants to do, = but > for a product as complicated as this, it really is going to have to = produce > them to survive in the long term. People learn by example, nagios is >lacking severely in the example area for configuring major areas of the >program. =20 =20 > No, sorry the examples in the .cfg files don't count. Why? again, you = don't > know the dependencies between the cfg files. Yep, having a > contact-group = of > novell-admins doesn't do much when it isn't documented where it > appears = and > what it all effects.=20 >=20 > Not bashing the product, but just pointing out what every review of = nagios > states, Nagios has terrible documentation. =20 >=20 >=20 >=20 > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com]=20 > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net=20 > Subject: Re: [Nagios-users] config file >=20 >=20 > Ok I have to object to this, I don't think nagios is that badly >documented. Atleast for the initial setup and then there is -h for the >plugins. =20 > I installed it and had it up in at pretty much the speed with which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) >=20 > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) >=20 > Ethan maybe you could setup the information on the origins of the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) >=20 > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html=20 >=20 > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) >=20 > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file >=20 >=20 > > The final part of the install process creates samples for all the > > .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have to rely > > on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com]=20 > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net=20 > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > ******************************************************************** > > ** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf=20 > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net=20 > > https://lists.sourceforge.net/lists/listinfo/nagios-users=20 > > >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 >_______________________________________________ > Nagios-users mailing list Nagios-users at lists.sourceforge.net=20 > https://lists.sourceforge.net/lists/listinfo/nagios-users=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net=20 > https://lists.sourceforge.net/lists/listinfo/nagios-users=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net=20 > https://lists.sourceforge.net/lists/listinfo/nagios-users=20 >=20 --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools:=20 Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf=20 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net=20 https://lists.sourceforge.net/lists/listinfo/nagios-users --__--__-- Message: 2 From: "Carroll, Jim P [Contractor]" To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios is badly documented :( Date: Tue, 15 Oct 2002 11:47:06 -0500 Then we will have to agree to disagree. I, for one, feel that the documentation for Nagios is extremely comprehensive. It might have me scratching my head here or there (eg, service dependencies), but there's nothing that a little trial-and-error won't reveal. Perhaps the only quibble I have on the documentation might be in terms of Nagios internals. *shrug* I'll grant you, the modular design of Nagios required a bit more thought to get it initially set up, and the initial pre-flight check with the default config files caused a handful of warnings and errors to spew forth which caused me some chagrin (hint: you can comment out just about everything in the sample config files; you might want to keep backup copies saved off in another directory for future reference). You also say that Nagios is poorly documented (for) "the common user)." Maybe I'm missing something, but Nagios appears (to me) to be targetted for installation by an experienced UNIX/Linux systems administrator, not the common user. One of the problems of the "paint-by-numbers" approach is that everyone ends up with the same picture. Want sample config files? They're there. Want more examples/suggestions? That's what this mailing list is for. Looking for help configuring Apache? That's not really what Nagios or this mailing list is about, but you might find someone willing to help you there. Looking for help configuring Sendmail so you can get your notifications? Again, that's not really what Nagios/this mailing list is about, but you might find someone (like myself) willing to help out. Nagios is vast, of that there is no doubt. If you feel you're qualified to do the installation, then by all means, hang in there; frustration is a sign that success is just around the corner. :) jc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios for one. > How about a 1-2-3 to getting users proper authentication via the > cgi.cfg file? > How about a 1-2-3 on how to setup nagios for Service Check > Scheduling, state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and error... > mostly error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after > that if falls > very short. I realize that docs are the last thing anyone > wants to do, but > for a product as complicated as this, it really is going to > have to produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major > areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? > again, you don't > know the dependencies between the cfg files. Yep, having a > contact-group of > novell-admins doesn't do much when it isn't documented where > it appears and > what it all effects. > > Not bashing the product, but just pointing out what every > review of nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. Atleast for the initial setup and then there is -h for the > plugins. > > I installed it and had it up in at pretty much the speed with > which I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things but on the whole nagios is not as bad as quite a > few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of > the damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > > > The final part of the install process creates samples for > all the .cfg > files > > located in /usr/local/nagios/etc > > > > did you run > > make all > > make install > > make install-init > > make install-config > > > > The "install-config" will make sample config files for all the .cfg > files > > you need. Now, understanding how each are inter-related is another > story!!! > > :) > > > > you need more than just the nagios.cfg file to get nagios to work. > Almost > > every flipping .cfg file in the nagios etc directory is dependent on > each > > other. > > > > Welcome to nagios, the *worst* documented network management program > out > > there! :) > > > > > > Once you get past the install docs (which are ok), you have > to rely on > this > > list for the rest. There is no "here is how you add a device, follow > the > > these steps... 1, 2, 3, 4 docs. > > > > Forget about finding a document on how each file in etc is dependent > on each > > other and what step-by-step changes to make when adding > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. > > > > The guys on this list are great for support and answering questions! > > > > My advice, get nagios working with ONE device and service (ping is > easy) and > > expand out from there. That only took me around 20 hrs!! > > > > > > > > -----Original Message----- > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > Sent: Monday, October 14, 2002 4:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] config file > > > > > > could anyone send me there config file please. I am confused as of > how to > > set one up. > > > > Andrew Meyer > > > > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > please notify > > the system manager. > > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > --__--__-- Message: 3 Date: Tue, 15 Oct 2002 11:02:35 -0600 Subject: Re: [Nagios-users] Nagios is badly documented :( From: Terry Simons To: nagios-users at lists.sourceforge.net I agree... I read all of the documentation also and it was very helpful. I have also found that most of the questions asked on this list are in the documentation... it does require a bit of effort though. - Terry On Tuesday, October 15, 2002, at 10:02 AM, Jolet, John wrote: > Interesting comment...I found the docuementation to be VERY > complete...maybe > too complete is the problem? Of course, I read it ALL before I > started..... > > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Tuesday, October 15, 2002 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios is badly documented :( > > > yes, Nagios is poorly documented the common user. There needs to be a > "paint-by-numbers" section on how to add services to nagios for one. > How > about a 1-2-3 to getting users proper authentication via the cgi.cfg > file? > How about a 1-2-3 on how to setup nagios for Service Check Scheduling, > state > types and time periods. > > As it stands now, a newbie has to "sift" through pages and pages of > documentation and config files to learn this. Trial and error... mostly > error and trial. > > There is still no documentation of the relationship of the various cfg > files. I for one still don't 100% understand how all these thing tie > together. > > Nagios does have adequate install documentation but after that if > falls > very short. I realize that docs are the last thing anyone wants to > do, but > for a product as complicated as this, it really is going to have to > produce > them to survive in the long term. People learn by example, nagios is > lacking severely in the example area for configuring major areas of the > program. > > No, sorry the examples in the .cfg files don't count. Why? again, you > don't > know the dependencies between the cfg files. Yep, having a > contact-group of > novell-admins doesn't do much when it isn't documented where it > appears and > what it all effects. > > Not bashing the product, but just pointing out what every review of > nagios > states, Nagios has terrible documentation. > > > > -----Original Message----- > From: Anoop Atre [mailto:anoopa at hotmail.com] > Sent: Tuesday, October 15, 2002 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] config file > > > Ok I have to object to this, I don't think nagios is that badly > documented. > Atleast for the initial setup and then there is -h for the plugins. > > I installed it and had it up in at pretty much the speed with which > I've > setup > other software (didn't even use rpms and I hear they work (mostly) > pretty > much out of the box) > > It just needs a little rtfm and stfw, not that I still need some help > with certain things > but on the whole nagios is not as bad as quite a few people make it out > to be. > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > Ethan maybe you could setup the information on the origins of the > damned > word nagios on the main nagios page (maybe a click on the word it self > brings > up the info..what it means, where it's from, how do you pronounce it, > etc) > it's just funny how every week there is that same question again : ) > > I would highly recomend newbies (including moi) should read the > following text > put together by 'da man' (have to scroll down a bit. > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > ~ > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > others : ) > > ----- Original Message ----- > From: > To: ; > Sent: Monday, October 14, 2002 4:22 PM > Subject: RE: [Nagios-users] config file > > >> The final part of the install process creates samples for all the cfg > files >> located in /usr/local/nagios/etc >> >> did you run >> make all >> make install >> make install-init >> make install-config >> >> The "install-config" will make sample config files for all the .cfg > files >> you need. Now, understanding how each are inter-related is another > story!!! >> :) >> >> you need more than just the nagios.cfg file to get nagios to work. > Almost >> every flipping .cfg file in the nagios etc directory is dependent on > each >> other. >> >> Welcome to nagios, the *worst* documented network management program > out >> there! :) >> >> >> Once you get past the install docs (which are ok), you have to rely on > this >> list for the rest. There is no "here is how you add a device, follow > the >> these steps... 1, 2, 3, 4 docs. >> >> Forget about finding a document on how each file in etc is dependent > on each >> other and what step-by-step changes to make when adding >> devices/commands/services/hosts, etc.. It doesn't exist as far as I > know. >> >> The guys on this list are great for support and answering questions! >> >> My advice, get nagios working with ONE device and service (ping is > easy) and >> expand out from there. That only took me around 20 hrs!! >> >> >> >> -----Original Message----- >> From: Andrew Meyer [mailto:andrewm659 at hotmail.com] >> Sent: Monday, October 14, 2002 4:56 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] config file >> >> >> could anyone send me there config file please. I am confused as of > how to >> set one up. >> >> Andrew Meyer >> >> >> >> ********************************************************************** >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they >> are addressed. If you have received this email in error please notify >> the system manager. >> ********************************************************************** >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users --__--__-- Message: 4 Date: Tue, 15 Oct 2002 18:09:03 +0100 To: nagios-users at lists.sourceforge.net From: Raymond Brighenti Subject: RE: [Nagios-users] Nagios is badly documented :( I found this article which gets you up and running nicely without having to do too much reading of the docs to start off with. http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html Then once I'd completed it and had the basics up and going and had a start to understanding the ins and outs you hit the docs and with a bit of trial and error was plowing through the more advanced stuff. Have to agree, has to be one of the most comprehensive and configurable pieces of work I've come across! Ray At 11:47 15/10/2002 -0500, you wrote: >Then we will have to agree to disagree. I, for one, feel that the >documentation for Nagios is extremely comprehensive. It might have me >scratching my head here or there (eg, service dependencies), but there's >nothing that a little trial-and-error won't reveal. Perhaps the only >quibble I have on the documentation might be in terms of Nagios internals. >*shrug* > >I'll grant you, the modular design of Nagios required a bit more thought to >get it initially set up, and the initial pre-flight check with the default >config files caused a handful of warnings and errors to spew forth which >caused me some chagrin (hint: you can comment out just about everything in >the sample config files; you might want to keep backup copies saved off in >another directory for future reference). > >You also say that Nagios is poorly documented (for) "the common user)." >Maybe I'm missing something, but Nagios appears (to me) to be targetted for >installation by an experienced UNIX/Linux systems administrator, not the >common user. > >One of the problems of the "paint-by-numbers" approach is that everyone ends >up with the same picture. Want sample config files? They're there. Want >more examples/suggestions? That's what this mailing list is for. > >Looking for help configuring Apache? That's not really what Nagios or this >mailing list is about, but you might find someone willing to help you there. > >Looking for help configuring Sendmail so you can get your notifications? >Again, that's not really what Nagios/this mailing list is about, but you >might find someone (like myself) willing to help out. > >Nagios is vast, of that there is no doubt. If you feel you're qualified to >do the installation, then by all means, hang in there; frustration is a sign >that success is just around the corner. :) > >jc > > > -----Original Message----- > > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > > Sent: Tuesday, October 15, 2002 10:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios is badly documented :( > > > > > > yes, Nagios is poorly documented the common user. There needs to be a > > "paint-by-numbers" section on how to add services to nagios > > for one. How > > about a 1-2-3 to getting users proper authentication via the > > cgi.cfg file? > > How about a 1-2-3 on how to setup nagios for Service Check > > Scheduling, state > > types and time periods. > > > > As it stands now, a newbie has to "sift" through pages and pages of > > documentation and config files to learn this. Trial and > > error... mostly > > error and trial. > > > > There is still no documentation of the relationship of the various cfg > > files. I for one still don't 100% understand how all these thing tie > > together. > > > > Nagios does have adequate install documentation but after > > that if falls > > very short. I realize that docs are the last thing anyone > > wants to do, but > > for a product as complicated as this, it really is going to > > have to produce > > them to survive in the long term. People learn by example, nagios is > > lacking severely in the example area for configuring major > > areas of the > > program. > > > > No, sorry the examples in the .cfg files don't count. Why? > > again, you don't > > know the dependencies between the cfg files. Yep, having a > > contact-group of > > novell-admins doesn't do much when it isn't documented where > > it appears and > > what it all effects. > > > > Not bashing the product, but just pointing out what every > > review of nagios > > states, Nagios has terrible documentation. > > > > > > > > -----Original Message----- > > From: Anoop Atre [mailto:anoopa at hotmail.com] > > Sent: Tuesday, October 15, 2002 11:25 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] config file > > > > > > Ok I have to object to this, I don't think nagios is that badly > > documented. > > Atleast for the initial setup and then there is -h for the plugins. > > > > I installed it and had it up in at pretty much the speed with > > which I've > > setup > > other software (didn't even use rpms and I hear they work (mostly) > > pretty > > much out of the box) > > > > It just needs a little rtfm and stfw, not that I still need some help > > with certain things > > but on the whole nagios is not as bad as quite a few people > > make it out > > to be. > > No I am not an 'expert' of sorts, hells I don't even code as much : ) > > > > Ethan maybe you could setup the information on the origins of > > the damned > > word nagios on the main nagios page (maybe a click on the word it self > > brings > > up the info..what it means, where it's from, how do you pronounce it, > > etc) > > it's just funny how every week there is that same question again : ) > > > > I would highly recomend newbies (including moi) should read the > > following text > > put together by 'da man' (have to scroll down a bit. > > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > > > ~ > > ps. doesn't mean I haven't asked 'dumb' questions on this list or on > > others : ) > > > > ----- Original Message ----- > > From: > > To: ; > > Sent: Monday, October 14, 2002 4:22 PM > > Subject: RE: [Nagios-users] config file > > > > > > > The final part of the install process creates samples for > > all the .cfg > > files > > > located in /usr/local/nagios/etc > > > > > > did you run > > > make all > > > make install > > > make install-init > > > make install-config > > > > > > The "install-config" will make sample config files for all the cfg > > files > > > you need. Now, understanding how each are inter-related is another > > story!!! > > > :) > > > > > > you need more than just the nagios.cfg file to get nagios to work. > > Almost > > > every flipping .cfg file in the nagios etc directory is dependent on > > each > > > other. > > > > > > Welcome to nagios, the *worst* documented network management program > > out > > > there! :) > > > > > > > > > Once you get past the install docs (which are ok), you have > > to rely on > > this > > > list for the rest. There is no "here is how you add a device, follow > > the > > > these steps... 1, 2, 3, 4 docs. > > > > > > Forget about finding a document on how each file in etc is dependent > > on each > > > other and what step-by-step changes to make when adding > > > devices/commands/services/hosts, etc.. It doesn't exist as far as I > > know. > > > > > > The guys on this list are great for support and answering questions! > > > > > > My advice, get nagios working with ONE device and service (ping is > > easy) and > > > expand out from there. That only took me around 20 hrs!! > > > > > > > > > > > > -----Original Message----- > > > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > > > Sent: Monday, October 14, 2002 4:56 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] config file > > > > > > > > > could anyone send me there config file please. I am confused as of > > how to > > > set one up. > > > > > > Andrew Meyer > > > > > > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error > > please notify > > > the system manager. > > > > > ********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >______________________________________________________________________________ >This email has been checked for viruses by ArmourPlate, >http://www.armourplate.com, the multi-scanner anti-virus facility from Corpex. Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 19:43:47 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 13:43:47 -0400 Subject: Paint-by-numbers Message-ID: <7DC404391E19FF4B97028E7790C9C54A0356359C@mail01.ibill.com> >You also say that Nagios is poorly documented (for) "the common user)." >Maybe I'm missing something, but Nagios appears (to me) to be targetted for >installation by an experienced UNIX/Linux systems administrator, not the >common user. But you have to admit, even the experienced admin guy scratches his head over it from time to time. >One of the problems of the "paint-by-numbers" approach is that everyone ends >up with the same picture. Want sample config files? They're there. Want >more examples/suggestions? That's what this mailing list is for. Paint-by-number for common tasks is a big "time saver". I for one don't want to be working 60hr weeks cause it is taking me hours and hours to get something "simple" configured that if I had a basic "blue print" would have cut the time by 1/2. If the paint-by-numbers method is not good, then all the user manuals written over the past 30+yrs are incorrect and should be scrapped. :) This list is fantastic. Without this list, it would be almost impossible for new Nagios users to get the product up and running in a somewhat timely fashion. >Looking for help configuring Apache? That's not really what Nagios or this >mailing list is about, but you might find someone willing to help you there. Would be great to have a "top 10" problems U might encounter installing nagios with Apache. I would consider this almost a must. without a web server Nagios is worthless. It shouldn't be a 700 page repeat of apache docs, but a happy medium >Looking for help configuring Sendmail so you can get your notifications? >Again, that's not really what Nagios/this mailing list is about, but you >might find someone (like myself) willing to help out. Again, having a "top 10" problems or providing a basic config as part of the docs or a supplemental doc would be a great time saver. Sendmail is probably used by 70%+ of users to send out notifications >Nagios is vast, of that there is no doubt. If you feel you're qualified to >do the installation, then by all means, hang in there; frustration is a sign >that success is just around the corner. :) You are correct, the amount of info supplied with Nagios is vast. But without more paint-by-numbers examples, new users to the product don't know what to ask for or how to ask it. They become frustrated and "give up". ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 15 20:03:12 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Oct 2002 11:03:12 -0700 (PDT) Subject: Nagios is badly documented :( In-Reply-To: <20021015161130.95649.qmail@web21506.mail.yahoo.com> References: <20021015161130.95649.qmail@web21506.mail.yahoo.com> Message-ID: <20021015180312.80403.qmail@web21509.mail.yahoo.com> Am I the only one that skipped reading the entire docs?!?!!? I opted for the error & trial approach. The documentation is good, but something like a quick & dirty ?how to a host/service? would've been very helpful.....Or is that in the current documentation? Jon Lyons wrote: doug.moore at ibill.com wrote: yes, Nagios is poorly documented the common user. There needs to be a "paint-by-numbers" section on how to add services to nagios for one. How about a 1-2-3 to getting users proper authentication via the cgi.cfg file? How about a 1-2-3 on how to setup nagios for Service Check Scheduling, state types and time periods. As it stands now, a newbie has to "sift" through pages and pages of documentation and config files to learn this. Trial and error... mostly error and trial. There is still no documentation of the relationship of the various cfg files. I for one still don't 100% understand how all these thing tie together. Nagios does have adequate install documentation but after that if falls very short. I realize that docs are the last thing anyone wants to do, but for a product as complicated as this, it really is going to have to produce them to survive in the long term. People learn by example, nagios is lacking severely in the example area for configuring major areas of the program. No, sorry the examples in the .cfg files don't count. Why? again, you don't know the dependencies between the cfg files. Yep, having a contact-group of novell-admins doesn't do much when it isn't documented where it appears and what it all effects. Not bashing the product, but just pointing out what every review of nagios states, Nagios has terrible documentation. -----Original Message----- From: Anoop Atre [mailto:anoopa at hotmail.com] Sent: Tuesday, October 15, 2002 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] config file Ok I have to object to this, I don't think nagios is that badly documented. Atleast for the initial setup and then there is -h for the plugins. I installed it and had it up in at pretty much the speed with which I've setup other software (didn't even use rpms and I hear they work (mostly) pretty much out of the box) It just needs a little rtfm and stfw, not that I still need some help with certain things but on the whole nagios is not as bad as quite a few people make it out to be. No I am not an 'expert' of sorts, hells I don't even code as much : ) Ethan maybe you could setup the information on the origins of the damned word nagios on the main nagios page (maybe a click on the word it self brings up the info..what it means, where it's from, how do you pronounce it, etc) it's just funny how every week there is that same question again : ) I would highly recomend newbies (including moi) should read the following text put together by 'da man' (have to scroll down a bit. http://www.tuxedo.org/~esr/faqs/smart-questions.html ~ ps. doesn't mean I haven't asked 'dumb' questions on this list or on others : ) ----- Original Message ----- From: To: ; Sent: Monday, October 14, 2002 4:22 PM Subject: RE: [Nagios-users] config file > The final part of the install process creates samples for all the .cfg files > located in /usr/local/nagios/etc > > did you run > make all > make install > make install-init > make install-config > > The "install-config" will make sample config files for all the .cfg files > you need. Now, understanding how each are inter-related is another story!!! > :) > > you need more than just the nagios.cfg file to get nagios to work. Almost > every flipping .cfg file in the nagios etc directory is dependent on each > other. > > Welcome to nagios, the *worst* documented network management program out > there! :) > > > Once you get past the install docs (which are ok), you have to rely on this > list for the rest. There is no "here is how you add a device, follow the > these steps... 1, 2, 3, 4 docs. > > Forget about finding a document on how each file in etc is dependent on each > other and what step-by-step changes to make when adding > devices/commands/services/hosts, etc.. It doesn't exist as far as I know. > > The guys on this list are great for support and answering questions! > > My advice, get nagios working with ONE device and service (ping is easy) and > expand out from there. That only took me around 20 hrs!! > > > > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 14, 2002 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config file > > > could anyone send me there config file please. I am confused as of how to > set one up. > > Andrew Meyer > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brmarkey at mysgo.com Tue Oct 15 20:19:22 2002 From: brmarkey at mysgo.com (Bruce Markey) Date: Tue, 15 Oct 2002 14:19:22 -0400 Subject: Paint-by-numbers References: <7DC404391E19FF4B97028E7790C9C54A0356359C@mail01.ibill.com> Message-ID: <001f01c27477$63371640$f1e8893f@ispinspiron> Just wanted to add my two cents.. As far as I was concerned, nagios has wonderful documentation, as it did when it was netsaint. The examples in the cfg files are usually all you need. As for relationships between them, well its very commen sense if you think about it, and look at the examples. As for the rest of the installation/config. A read through the manual and you'll have it. It gives you the commands to execute and everything. Maybe this is just me, but saying the docs are bad is a bit harsh. If you actually read them, and have a basic knowledge of the os you are working with, in this case linux, then I dont see the problem. Thanks Bruce Markey Network Engineer Spectrum Global Online ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Tue Oct 15 20:38:21 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 15 Oct 2002 20:38:21 +0200 Subject: Notification by SMS/Voice In-Reply-To: <20021015153440.GF17651@billgotchy.de> References: <20021015153440.GF17651@billgotchy.de> Message-ID: Jan, I put an FAQ on both SMS Notifications as well as on Notifications via Phone. You might wanna check them out. If you got any questions after reading the FAQs I will be glad to help (at least I'll try! :-)) Sincerely Daniel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jan-Hendrik Palic Sent: Tuesday, October 15, 2002 5:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification by SMS/Voice Hi .. I'm looking for documentations about notifications by SMS and/or voice. I hava a server with nagios 1.0b6 and ISDN Card. What do I need to send SMS or call a telephonenumber for some notifications? I tried to search with google, but I am afraid, that I do not have the right key-words :) .... Any hints? Thnx Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Tue Oct 15 20:51:01 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Tue, 15 Oct 2002 14:51:01 -0400 Subject: Paint-by-numbers Message-ID: <7DC404391E19FF4B97028E7790C9C54A0356359D@mail01.ibill.com> Basic install is not the problem, that only took me 10hrs. It is getting it to start monitoring stuff, that was another 10hrs for to get a simple "ping" test. People learn by example, detailed example. Reading a config file that has 15 or 20 entries that are not really documented that have links to other cfg files is not "by example". You don't hear a golf pro telling you to go "read the golf swing manual" and email him with questions if your swing doesn't work out. Nope, detailed example. Since we all can't have our own local "nagios golf pro" there to help us get our "swing" down, detailed examples are the best method. Having 30 people a week sending an email to the list asking the same question more about "how do i setup a service for X" isn't a good use of this lists resources when a detailed example would do the trick. If the amount of work put into the "how-to-install" was applied to configuring the services and other areas, then the docs would totally ROCK! Hey, it isn't just me, read a review of Nagios in Linux Mag or some other reviewers. If I had the time, I would do it, but since I am have to "error by trial" my way through nagios, my time is wasting! :) thanks -----Original Message----- From: Bruce Markey [mailto:brmarkey at mysgo.com] Sent: Tuesday, October 15, 2002 2:19 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Paint-by-numbers Just wanted to add my two cents.. As far as I was concerned, nagios has wonderful documentation, as it did when it was netsaint. The examples in the cfg files are usually all you need. As for relationships between them, well its very commen sense if you think about it, and look at the examples. As for the rest of the installation/config. A read through the manual and you'll have it. It gives you the commands to execute and everything. Maybe this is just me, but saying the docs are bad is a bit harsh. If you actually read them, and have a basic knowledge of the os you are working with, in this case linux, then I dont see the problem. Thanks Bruce Markey Network Engineer Spectrum Global Online ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 15 20:51:32 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Oct 2002 13:51:32 -0500 Subject: Paint-by-numbers Message-ID: My first comment is one of administrivia. Please do not change the Subject, as it breaks software which organizes mailing lists by subject thread. > >You also say that Nagios is poorly documented (for) "the > common user)." > >Maybe I'm missing something, but Nagios appears (to me) to > be targetted for > >installation by an experienced UNIX/Linux systems > administrator, not the > >common user. > > But you have to admit, even the experienced admin guy > scratches his head > over it > from time to time. I scratch my head because I'm doing "what if" scenarios in my head. And you know what the solution to this is? Just do it. > >One of the problems of the "paint-by-numbers" approach is > that everyone > ends > >up with the same picture. Want sample config files? > They're there. Want > >more examples/suggestions? That's what this mailing list is for. > > Paint-by-number for common tasks is a big "time saver". I for > one don't want > to be working 60hr weeks cause it is taking me hours and hours to get > something "simple" configured that if I had a basic "blue > print" would have > cut the time by 1/2. 1. The "blue print" here is called "documentation". It exists. And it works. 2. If you're working 60hr weeks to get a basic configuration of Nagios to work, perhaps you're in over your head. Even half of that, 30 hours, is far too much time to be spending on something as a rudimentary configuration of Nagios. > If the paint-by-numbers method is not good, then all the user manuals > written over the past 30+yrs are incorrect and should be scrapped. :) I've yet to see a paint-by-numbers manual in my 14 years as a UNIX systems administrator. You must be thinking about a book on how to paint by numbers. > This list is fantastic. Without this list, it would be almost > impossible for > new Nagios users to get the product up and running in a > somewhat timely > fashion. New Nagios users? Or new to UNIX/Linux systems administration? An executive in a company doesn't need to know the first thing about the Bourne/bash shell, but equipped with a web browser on a functional (and properly configured) computer, this executive could login to Nagios and browse. > >Looking for help configuring Apache? That's not really what > Nagios or this > >mailing list is about, but you might find someone willing to help you > there. > > Would be great to have a "top 10" problems U might encounter > installing > nagios with Apache. I would consider this almost a must. without a web > server Nagios is worthless. It shouldn't be a 700 page repeat > of apache > docs, but a happy medium Hint: http://www.apache.org/ > >Looking for help configuring Sendmail so you can get your > notifications? > >Again, that's not really what Nagios/this mailing list is > about, but you > >might find someone (like myself) willing to help out. > > Again, having a "top 10" problems or providing a basic config > as part of the > docs or a supplemental doc would be a great time saver. > Sendmail is probably > used by 70%+ of users to send out notifications Don't get me started on Sendmail. Or DNS/BIND. Or how to build a firewall. These are all subjects which take a modest amount of effort to understand and configure properly. If given a boilerplate example based on a number of assumptions, it will invariably lead the majority of newbies to "it didn't work/it broke/etc". Then you're back into the loop of "what's your configuration, what are you trying to do, etc." Many times a person will say what they're trying to accomplish at the micro level, while trying to obscure what they're trying to accomplish in the big picture. (I know, because I've caught myself doing this very thing.) In the final analysis, these examples that I suspect you're looking for will lead you to believe that it can only be done the one way. I urge you to go back and *slowly* read over the documentation. (I say this, because I know I'm the impatient type, when it comes to getting something as powerful as Nagios up and running; I tend to skim lightly over what the salient points appear to be, and if it doesn't work, drill down a bit at a time. Patience is a virtue.) As someone else has suggested, if you're not happy with the current documentation, you're more than welcome to write up your own and either offer it here, or ask Ethan to host it on his site. > >Nagios is vast, of that there is no doubt. If you feel > you're qualified to > >do the installation, then by all means, hang in there; > frustration is a > sign > >that success is just around the corner. :) > > You are correct, the amount of info supplied with Nagios is vast. But > without more paint-by-numbers examples, new users to the > product don't know > what to ask for or how to ask it. They become frustrated and > "give up". It sounds as if you have some statistics (of newcomers to Nagios) to back up your claim. Please share with the list. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Tue Oct 15 21:26:06 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Tue, 15 Oct 2002 13:26:06 -0600 Subject: Nagios is badly documented :( Message-ID: I also found the Nagios documentation to be quite extensive. Almost everyday I can read a section again and learn more from it or think of new items to monitor. Thanks for a great project. tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kmiller at inflow.com Tue Oct 15 21:55:20 2002 From: kmiller at inflow.com (Kevin Miller) Date: Tue, 15 Oct 2002 13:55:20 -0600 Subject: Change default homepage? Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA10@columbus.admin.corp.inflow.com> Is there a way to change the initial login page? Currently when I login it takes me to the title page where credits and release notes are listed. I would like it to take me to the status summary page. Also is there a way to get rid of the "host status totals" and "service status totals" at the top of the page? Thanks Kevin Miller Sr. Network Security Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Tue Oct 15 22:20:46 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 15 Oct 2002 16:20:46 -0400 Subject: Monitoring NFS Mounts Message-ID: <5593DA408212D511B0910002A513501F01D28787@phsexch20.mgh.harvard.edu> I don't know if this topic has been discussed, but is there a way to monitor NFS mounts on a system? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Tue Oct 15 22:23:33 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Tue, 15 Oct 2002 13:23:33 -0700 Subject: Confusing documentation about the defauilt format for hosts.cfg References: <003001c38d24$f414f8a0$4c05a8c0@PENDLETON> Message-ID: <3DAC7945.3060105@sbcglobal.net> Use the template style. It is *much* easier to work with and will save you extensive time when adding new hosts/objects/dependencies/etc. Sean Robert S. Galloway wrote: > I have just installed nagios 1.06b and am confused about one thing. > According to the documentation the default for the hosts.cfg file is > the old style. However, make install-config creates config files that > are based on the template style. So, my questions are which format > really is the default and do you still need to specify > -with-template-objects when you run configure? > > > > Thanks, > > > > Robert S. Galloway > > Chief Network Security Engineer > > IKANO Communications > > ...the Internet branding company > > Official Data Networking Services Provider for the > > Salt Lake Olympic Winter Games of 2002 > > securityguy at ikano.com > > 801-415-8089 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From RippelD at hillsboroughcounty.org Tue Oct 15 22:27:46 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Tue, 15 Oct 2002 16:27:46 -0400 Subject: Change default homepage? Message-ID: To answer your first question... Edit the file /usr/local/nagios/share/index.html: change to As for your second question, I'm too lazy to answer that one ;) Anyone? - David. >>> Kevin Miller 10/15/02 03:55PM >>> Is there a way to change the initial login page? Currently when I login it takes me to the title page where credits and release notes are listed. I would like it to take me to the status summary page. Also is there a way to get rid of the "host status totals" and "service status totals" at the top of the page? Thanks Kevin Miller Sr. Network Security Engineer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From GANESTOS at fisinc.com Tue Oct 15 22:32:22 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Tue, 15 Oct 2002 13:32:22 -0700 Subject: Pending Hosts Message-ID: Hello all- I'm running Nagios on FreeBSD 4.6.2. I'm having a minor issue with the new hosts I have added in....I'm only pinging them.... The issue I'm having is that it keeps telling me the status is pending and that I don't have enough information to determine host status yet. I have done a nagios.sh reload and restart and have also tried rebooting....just for NT sake. ;) No go. I'm sure there is a setting somewhere I'm missing....any help is appreciated. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lars-schenk.de Tue Oct 15 22:31:13 2002 From: info at lars-schenk.de (Lars Schenk) Date: Tue, 15 Oct 2002 22:31:13 +0200 Subject: More Infos: CGI - 500 - Premature end of script headers Message-ID: <011901c27489$cecf0310$65010a0a@schenk8000> Dear group, I've installed nagios 1.0b6 on a different linux box from the scratch and there is exaclty the same problem: nagios runs and allerts well - but all the CGIs (webinterface) result in 500 error status (Premature end of script headers). I've tested for example "tac.cgi" from the shell: #export REQUEST_METHOD=GET #./tac.cgi > tac.html this results in Cache-Control: no-store Pragma: no-cache Refresh: 90 Last-Modified: Tue, 15 Oct 2002 19:40:54 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html [...] normal HTML CODE [...] So I can't see a problem here - there seem's to be not Debug Output like a trobleshoter from the FAQ says - but what is the problem? I've used default values during install - so my cgi.cfg looks like this --- main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 #use_authentication=1 # I've tried both use_authentication=0 default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 --- I've read documentation and FAQ but can't fix the problem. I've googled and found an article http://groups.google.de/groups?q=Premature+end+of+script+Headers+Nagios& hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=aog0mq%2414qa%241%40FreeBSD.csie.NCTU.e du.tw&rnum=1 that reports problems with mod_php 4.2.3. I've mod_php 4.2.3 installed on one box - the other has an older version - but I've the same problem on both. Dear group - you're my last chance - please help... Regards Lars Schenk ICQ: 64011254 MSN: schenk at sharedirect.com AIM: larsschenkde YAHOO: larsschenk Phone: +49 (0)4502 8808561 Fax: +49 (0)721 151280929 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Lars Schenk Gesendet: Dienstag, 15. Oktober 2002 13:04 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] CGI - 500 - Premature end of script headers Hi group, nagios is running and working but _all_ the CGIs from the web-interface gave 500. i.e.: Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Premature end of script headers: /usr/local/nagios/sbin/status.cgi Premature end of script headers: /usr/local/nagios/sbin/statuswrl.cgi Premature end of script headers: /usr/local/nagios/sbin/outages.cgi ... FAQ @ http://www.nagios.org/faqs/viewfaq.php?faq_id=43 says to "Recompile the CGIs without debugging enabled and this problem should disappear." But I have not compiled with debug options - here's my configure: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios My httpd.conf is extended with -- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all --- nagios 1.0b6, SuSe 8.0 Apache/1.3.26 SuSE Linux 8.0 (i386) Kernel 2.4.18-4GB / i686 Any idea? Thanks in advance. ~ Lars Schenk mailto:info at lars-schenk.de ICQ: 64011254 MSN: schenk at sharedirect.com AIM: larsschenkde YAHOO: larsschenk ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ consolidator/osdn.cfm From RippelD at hillsboroughcounty.org Tue Oct 15 22:39:37 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Tue, 15 Oct 2002 16:39:37 -0400 Subject: Change default homepage? Message-ID: On second thought, I won't be getting out of the office in this weather.. bad storm here in Tampa, FL.. Anyway, to answer your second question: In the source, you will need to comment out two lines in cgi/status.c to accomplish this: Comment out (use /* at beginning of line, */ at end of line): at line 295: show_host_status_totals(); at line 302: show_service_status_totals(); Recompile (make clean; make; make install), etc... This should work. You may need to comment out the lines too if the table causes formatting problems. Hopefully this is enough to get you started on the right track. - David. >>> "David Rippel" 10/15/02 04:27PM >>> To answer your first question... Edit the file /usr/local/nagios/share/index.html: change to As for your second question, I'm too lazy to answer that one ;) Anyone? - David. >>> Kevin Miller 10/15/02 03:55PM >>> Is there a way to change the initial login page? Currently when I login it takes me to the title page where credits and release notes are listed. I would like it to take me to the status summary page. Also is there a way to get rid of the "host status totals" and "service status totals" at the top of the page? Thanks Kevin Miller Sr. Network Security Engineer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ consolidator/osdn.cfm From jlyons30 at yahoo.com Tue Oct 15 23:09:13 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Oct 2002 14:09:13 -0700 (PDT) Subject: More Infos: CGI - 500 - Premature end of script headers In-Reply-To: <011901c27489$cecf0310$65010a0a@schenk8000> References: <011901c27489$cecf0310$65010a0a@schenk8000> Message-ID: <20021015210913.92599.qmail@web21506.mail.yahoo.com> Have you tried using the sample config files? I had this type of error before and it was due to a typo in the config files(nagios doesn't seem to check very well), if you haven't had nagios up and running for the first time I'd start from scratch and use the sample files(ie, hosts.cgf-sample), without any changes to verify the cfgs are good. Just change the use_authentication=1 and verify all your paths/permissions. Larchenk wrote:Dear group, I've installed nagios 1.0b6 on a different linux box from the scratch and there is exaclty the same problem: nagios runs and allerts well - but all the CGIs (webinterface) result in 500 error status (Premature end of script headers). I've tested for example "tac.cgi" from the shell: #export REQUEST_METHOD=GET #./tac.cgi > tac.html this results in Cache-Control: no-store Pragma: no-cache Refresh: 90 Last-Modified: Tue, 15 Oct 2002 19:40:54 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html [...] normal HTML CODE [...] So I can't see a problem here - there seem's to be not Debug Output like a trobleshoter from the FAQ says - but what is the problem? I've used default values during install - so my cgi.cfg looks like this --- main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 #use_authentication=1 # I've tried both use_authentication=0 default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 --- I've read documentation and FAQ but can't fix the problem. I've googled and found an article http://groups.google.de/groups?q=Premature+end+of+script+Headers+Nagios& hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=aog0mq%2414qa%241%40FreeBSD.csie.NCTU.e du.tw&rnum=1 that reports problems with mod_php 4.2.3. I've mod_php 4.2.3 installed on one box - the other has an older version - but I've the same problem on both. Dear group - you're my last chance - please help... Regards Lars Schenk ICQ: 64011254 MSN: schenk at sharedirect.com AIM: larsschenkde YAHOO: larsschenk Phone: +49 (0)4502 8808561 Fax: +49 (0)721 151280929 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Lars Schenk Gesendet: Dienstag, 15. Oktober 2002 13:04 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] CGI - 500 - Premature end of script headers Hi group, nagios is running and working but _all_ the CGIs from the web-interface gave 500. i.e.: Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Premature end of script headers: /usr/local/nagios/sbin/status.cgi Premature end of script headers: /usr/local/nagios/sbin/statuswrl.cgi Premature end of script headers: /usr/local/nagios/sbin/outages.cgi ... FAQ @ http://www.nagios.org/faqs/viewfaq.php?faq_id=43 says to "Recompile the CGIs without debugging enabled and this problem should disappear." But I have not compiled with debug options - here's my configure: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios My httpd.conf is extended with -- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all --- nagios 1.0b6, SuSe 8.0 Apache/1.3.26 SuSE Linux 8.0 (i386) Kernel 2.4.18-4GB / i686 Any idea? Thanks in advance. ~ Lars Schenk mailto:info at lars-schenk.de ICQ: 64011254 MSN: schenk at sharedirect.com AIM: larsschenkde YAHOO: larsschenk ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Tue Oct 15 23:12:35 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Oct 2002 14:12:35 -0700 (PDT) Subject: RRD Tool integration; ANOUNCE! In-Reply-To: <3B9B6F9AD30D3040AD5541A1D005D98710DDC0@nc-mail2.in.nordcom.net> References: <3B9B6F9AD30D3040AD5541A1D005D98710DDC0@nc-mail2.in.nordcom.net> Message-ID: <20021015211235.28172.qmail@web21507.mail.yahoo.com> So perf.cgi is actually apan.cfg?!?!? Jens.Bergmann at nordCom.net wrote:maybe a typo in README? [...] Copy perf.cgi and generate.cgi to Nagios cgi-bin directory [...] the file is called apan.cgi? jens >-----Original Message----- >From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] >Sent: Tuesday, October 15, 2002 9:35 AM >To: Carroll, Jim P [Contractor]; Atul Gosain; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! > > >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give >feedback to me.... > > > >-----Original Message----- >From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >Sent: Mon 14-Oct-02 19:01 >To: 'Atul Gosain'; nagios-users at lists.sourceforge.net >Cc: >Subject: RE: [Nagios-users] RRD Tool integration > >I can't speak about RRDTool directly, but at some point I plan >to take a >crack at leveraging cacti (or another RRDTool-based solution). > I'll share >my solution once I've been there, done that. > >Off the cuff, I speculate that I'll be running the NRPE >plugins from cacti. >The only disadvantage I can see here is that each plugin worth tracking >metrics will be run once from Nagios, once from cacti. Less >than optimal, >but I don't know the internals of Nagios well enough to approach this >otherwise. > >If someone better versed on the Nagios internals (nagios.cmd, perhaps?) >would care to make helpful suggestions when I cross that >bridge, ping me now >(off-list) just to say, "Hey, let me know when you're ready to >give this a >go; I should be able to spare a few cycles here and there." > >As usual, once I've cracked this nut, I'll share with the list. > >jc > >> -----Original Message----- >> From: Atul Gosain [mailto:atul at mindsw.com] >> Sent: Monday, October 14, 2002 5:56 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD Tool integration >> >> >> hi >> >> Hey what happened to RRD tool integration . Someone was going >> to provide >> some script to take the data from the rrd instead of >> executing the ping >> plugin. >> >> Thanks >> Atul. >> :) >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jragle at unm.edu Tue Oct 15 23:15:48 2002 From: jragle at unm.edu (Jamin) Date: Tue, 15 Oct 2002 15:15:48 -0600 (MDT) Subject: Monitoring NFS Mounts In-Reply-To: <5593DA408212D511B0910002A513501F01D28787@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28787@phsexch20.mgh.harvard.edu> Message-ID: Possibly. If you can find out which udp ports the mounts are connected via, you could probably write a plugin. (or use the check_udp plugin) On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > I don't know if this topic has been discussed, but is there a way to monitor > NFS mounts on a system? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ---------------------------------------------------------------------- Ex vitio sapiens aleno emendat suum. -- Pub. Syrus ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ consolidator/osdn.cfm From jlyons30 at yahoo.com Tue Oct 15 23:17:26 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Oct 2002 14:17:26 -0700 (PDT) Subject: Pending Hosts In-Reply-To: References: Message-ID: <20021015211726.72802.qmail@web21502.mail.yahoo.com> Do all of your hosts have a service(services.cfg) associated with them? Garrett Anestos wrote: Hello all- I'm running Nagios on FreeBSD 4.6.2. I'm having a minor issue with the new hosts I have added in....I'm only pinging them.... The issue I'm having is that it keeps telling me the status is pending and that I don't have enough information to determine host status yet. I have done a nagios.sh reload and restart and have also tried rebooting....just for NT sake. ;) No go. I'm sure there is a setting somewhere I'm missing....any help is appreciated. Cheers! --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Oct 15 23:30:48 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 15 Oct 2002 16:30:48 -0500 Subject: Pending Hosts Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71669@mismail.ena.com> You must have at least one service defined for each host. It can be as simple a PING service, but it needs to be defined. Nagios _never_ checks the status of a host unless a service check for that host fails, hence the never ending PENDING state. -- Marc -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Tuesday, October 15, 2002 3:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Pending Hosts Hello all- I'm running Nagios on FreeBSD 4.6.2. I'm having a minor issue with the new hosts I have added in....I'm only pinging them.... The issue I'm having is that it keeps telling me the status is pending and that I don't have enough information to determine host status yet. I have done a nagios.sh reload and restart and have also tried rebooting....just for NT sake. ;) No go. I'm sure there is a setting somewhere I'm missing....any help is appreciated. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From lilesb at ijet.com Tue Oct 15 23:36:20 2002 From: lilesb at ijet.com (Bryan Liles) Date: 15 Oct 2002 17:36:20 -0400 Subject: nagios and solaris Message-ID: <1034717781.3110.11.camel@localhost.localdomain> Has anyone here compiled nagios + mysql + gd on solaris cleanly? I've been looking at this for a while, and I have some pointers: /configure --with-mysql-lib=/opt/mysql/lib/ --with-mysql-inc=/opt/mysql/include --prefix=/home/nagios --with-nagios-user=nagios --with-nagios-grp-nagios --with-mysql-xdata --with-gd=../gd-1.8.4/ - You don't need to actually install gd... download it, and extract it, compile it, and use the extraction directory - I've had much better luck compiling when I declare libs and libdirs at the the end of a gcc command line - When compiling the CGIs, I've had to manually add -lm, -lsocket, -lnls, and -lz for clean compiles. I have been maintaing a set of configure patches and Makefile.in patches to solve these problems, and I will release them to whomever asks. These files are most likely not compatible with any server beyond the ones I maintain, but you will get more mileage with Solaris 8 than with any other OS. Good Luck and Happy Nagiosin' ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From mpowell at ena.com Tue Oct 15 23:34:12 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 15 Oct 2002 16:34:12 -0500 Subject: Change default homepage? Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7166A@mismail.ena.com> There's an easier way to get rid of the host and service status totals. Add '&noheader' to the URL: http://my.nagios.com/cgi/status.cgi?hostgroup=all&style=summary&noheader -- Marc > -----Original Message----- > From: David Rippel [mailto:RippelD at hillsboroughcounty.org] > Sent: Tuesday, October 15, 2002 3:40 PM > To: kmiller at inflow.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Change default homepage? > > On second thought, I won't be getting out of the office in this weather.. > bad storm here in Tampa, FL.. > > Anyway, to answer your second question: > > In the source, you will need to comment out two lines in cgi/status.c to > accomplish this: > > Comment out (use /* at beginning of line, */ at end of line): > > at line 295: show_host_status_totals(); > at line 302: show_service_status_totals(); > > Recompile (make clean; make; make install), etc... This should work. You > may need to comment out the lines too if the table causes formatting > problems. Hopefully this is enough to get you started on the right track. > > - David. > > >>> "David Rippel" 10/15/02 04:27PM >>> > To answer your first question... > > Edit the file /usr/local/nagios/share/index.html: > > change > > to > > NAME="main"> > > As for your second question, I'm too lazy to answer that one ;) > > Anyone? > > - David. > > >>> Kevin Miller 10/15/02 03:55PM >>> > Is there a way to change the initial login page? Currently when I login > it > takes me to the title page where credits and release notes are listed. I > would like it to take me to the status summary page. > > Also is there a way to get rid of the "host status totals" and "service > status totals" at the top of the page? > > Thanks > > Kevin Miller > Sr. Network Security Engineer > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From GANESTOS at fisinc.com Wed Oct 16 00:01:45 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Tue, 15 Oct 2002 15:01:45 -0700 Subject: Pending Hosts Message-ID: That was the ticket! Thanks much! -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, October 15, 2002 2:31 PM To: Garrett Anestos; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Pending Hosts You must have at least one service defined for each host. It can be as simple a PING service, but it needs to be defined. Nagios _never_ checks the status of a host unless a service check for that host fails, hence the never ending PENDING state. -- Marc -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Tuesday, October 15, 2002 3:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Pending Hosts Hello all- I'm running Nagios on FreeBSD 4.6.2. I'm having a minor issue with the new hosts I have added in....I'm only pinging them.... The issue I'm having is that it keeps telling me the status is pending and that I don't have enough information to determine host status yet. I have done a nagios.sh reload and restart and have also tried rebooting....just for NT sake. ;) No go. I'm sure there is a setting somewhere I'm missing....any help is appreciated. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Wed Oct 16 00:54:28 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 15 Oct 2002 17:54:28 -0500 Subject: 3D World In-Reply-To: References: Message-ID: <3DAC5654.10316.1B2170A@localhost> There are some definite bugs in the CGI, which I must have created recently. These include: 1) User-defined layout always failed, regardless of whether coords were specified or not 2) Z-coordinate in auto-layout modes was incorrectly taken from user- supplied coords (if available) Fixes for both of these issues are now in CVS, so you might want to give that a try. On 15 Oct 2002 at 9:29, Carroll, Jim P [Contractor] wrote: > >From the docs describing the 3d_coords directive: > > "This variable is used to define coordinates to use when drawing the host in > the statuswrl CGI. Coordinates can be positive or negative real numbers. The > origin for drawing is (0.0,0.0,0.0). For reference, the size of the host > cubes drawn is 0.5 units on each side (text takes a little more space). The > coordinates you specify here are used as the center of the host cube." > > Unless I missed something, this means that this specifies the X,Y,Z > coordinates of the image, and that the size of the image is a constant. > > jc > > > -----Original Message----- > > From: Louie Cagasan [mailto:fireant at zpdee.net] > > Sent: Monday, October 14, 2002 10:29 PM > > To: Carroll, Jim P [Contractor] > > Cc: 'Jon Lyons'; chris_lockwood at ckeurope.com; > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] 3D World > > > > > > Well, from what I understand about it in the docs, the coords you > > specify for a node there don't exactly mean its position on > > the map, but > > something like the size of the icon you'll use for that node. And the > > layout there means how the nodes are "laid out" onscreen. > > > > Using user-defined layout in the status map doesn't work for > > me: I don't > > see all the nodes I specified. Oh well, as long as I see the whole map > > of my whole network, that's just fine with me. =) > > > > > > On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote: > > > Verrrry interesting. Mine was set to "0", so I went > > through the ranks... > > > 4... 3... 2... all of those work, no problem. This is where I say, > > > "Hooray!" I'm puzzling why it doesn't work for > > user-defined co-ordinates, > > > but this will likely make my job simpler. > > > > > > Thanks for the tip! > > > > > > jc > > > > > > -----Original Message----- > > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > > Sent: Monday, October 14, 2002 5:27 PM > > > To: Louie Cagasan; Carroll, Jim P [Contractor] > > > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] 3D World > > > > > > > > > > > > Are you sure it's working?? Did you change > > "default-statuswrl_layout=0" ?I > > > bet you're still on auto(4).. :) My 2d maps work fine with > > my coords, but > > > the 3d maps just give the error... > > > > > > > > > Louie Cagasan wrote: > > > > > > > > > Hi Jim/Chris, > > > > > > Try this one. I have this in my hostextinfo.cfg: > > > Just make sure you declared this in your cgi.cfg, like: > > > > > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > > > > > or something like that, then below is the entries for your > > > hostextinfo.cfg. > > > > > > define hostextinfo{ > > > host_name NOCswitch > > > vrml_image ng-switch40.png > > > icon_image ng-switch40.gif > > > vrml_image ng-switch40.jpg > > > statusmap_image ng-switch40.gd2 > > > 2d_coords 200,400 > > > 3d_coords 50.0,100.0,50.0 > > > } > > > > > > This works for me. And the "no dots" rule is, > > > well, a rule. You can vary the values in the coords as well. > > > > > > hth. > > > -------------------------------------------------------------------- > > > > > > I never did get this working. The common response is "make > > sure you = > > > don't > > > have dots in your hostnames", which I don't. > > > > > > VRML works, but Cortona does start; it comes! up with "You > > have not = > > > supplied > > > any 3-D drawing coordinates. Read the FAQs for more information on = > > > doing > > > this." > > > > > > Not to say this can't be done, but I've largely given up on > > making it = > > > work > > > (for now). > > > > > > I'll be migrating Nagios to another server, so maybe when I have a = > > > 'bare > > > bones' config set up, I'll try the 3-D Status Map again, > > just to see = > > > whether > > > it works at all. If I have an 'aha!' moment, I'll share it with = > > > everyone. > > > ;) > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Chris at lockwood.fsnet.co.uk > > [mailto:Chris at lockwood.fsnet.co.uk] > > > > Sent: Monday, October 14, 2002 2:53 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Cc: chris.lockwood at ckeurope.com > > > > Subject: [Nagios-users] 3D World > > > >=20 > > > >=20 > > > > I'm having problems with the 3D world configuration, > > everything else > > > > seems to work (excellent program). The 2D status map > > seems to take = > > > the > > > > coordinate! s I have inputted, but the 3D version is > > having non of it. > > > >=20 > > > > At this point it may be worth mentioning that I did not use the: > > > >=20 > > > > --with-template-objects > > > >=20 > > > > argument when I compiled, however having said that the 2D Map=20 > > > > works ok. > > > > I realize its not the end of the world but I'd really like to=20 > > > > have full > > > > functionality, so I can show of to my manager :-) > > > >=20 > > > > Thanks all > > > >=20 > > > > Chris L > > > >=20 > > > >=20 > > > >=20 > > > > ____________________________________________ > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > _____ > > > > > > Do you Yahoo!? > > > Faith Hill - Exclusive > > Performances, Videos, & > > > more > > > faith.yahoo.com > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From karl at debisschop.net Wed Oct 16 01:51:16 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 15 Oct 2002 19:51:16 -0400 Subject: nrpe + plugins for SUNOS 5.8? In-Reply-To: References: Message-ID: <1034725877.1088.10.camel@miles.debisschop.net> On Tue, 2002-10-15 at 10:39, Carroll, Jim P [Contractor] wrote: > This has become something of a FAQ. > > I'm wondering if Ethan would be willing for us to supply 2 tarballs per > package (the original package, compiled but not installed, and a separate > tarball with just the binaries) and host them on his site...? > > I'd be willing to create Solaris packages for them, if I thought that > everyone would want them consistently installed in one location (eg, under > /usr/local), but I'm not convinced that's the case. *shrug* If there's > demand for this, I'll still do it. There are solaris pkg script thingies with both nagios and nagiosplug. They could use some TLC, but they work (they build into /usr/local). Anyone who cares to comment is welcome to do so. They are in the CVS and in the tarballs. I will try to make and post them, on www.debisschop.net, for Solaris 2.7. This is a little harder than it used to be, because my emplyer's firewall nolonger allows outbound SSH or CVS. So I have to update the repository reemotely, then VPN it into the office :-( I will also move my nightly tar of netsaint plugins over to nagios. I expect this to happen in the next few days, maybe even tonight. But more binary builds is a good thing. > > jc > > > -----Original Message----- > > From: Van Der Westhuizen Brian > > [mailto:VanDerWesthuizenB at aforbes.co.za] > > Sent: Tuesday, October 15, 2002 1:28 AM > > To: 'bkirsch at olosec.com'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] nrpe + plugins for SUNOS 5.8? > > > > > > sure ...if you have not been sorted out i can gzip them up > > and send them > > over direct to your email addy. > > > > > > Brian .....yea another Brian from south africa ... > > > > -----Original Message----- > > From: Brian G. Kirsch [mailto:bkirsch at olosec.com] > > Sent: 14 October 2002 11:29 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nrpe + plugins for SUNOS 5.8? > > > > > > Hi, > > > > Does anyone have complied nagios plugins for SUNOS 5.8 and > > also a compiled > > NRPE? > > > > Thanks in advance, > > > > Brian > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Confidentiality Warning > > ======================= > > The contents of this e-mail and any accompanying documentation > > are confidential and any use thereof, in what ever form, by anyone > > other than the addressee is strictly prohibited. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From mwhite at ipmktg.com Wed Oct 16 02:37:45 2002 From: mwhite at ipmktg.com (White, Matthew) Date: Tue, 15 Oct 2002 20:37:45 -0400 Subject: problems compiling statusmap.cgi Message-ID: <3584AE3B4FE7D411BDB900B0D07963FA01B8D8EF@stamp.hostbyremote.com> I am having problems getting statusmap.cgi to compile under OpenBSD, all other cgi's compile except this one. I know it has something to do with the gd library, here is the results of the compilation. status# make statusmap.cgi gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi statusmap.c:2192: Undefined symbol `_gdImageCreateFromJpeg' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Stop in /home/matt/tmp/nagios/nagios-1.0b4/cgi (line 132 of Makefile). I have tried the following: Compiling the nagios-1.0b6 and nagios-1.0b4, with no luck. Tried compiling under OpenBSD 2.9 and 3.1, with no luck. Tried using different versions of the gd library, gd-1.8.3, gd-1.8.4 and gd-2.0.1, with no luck. I have a friend who is having the exact same problem, has anyone else seen this problem surface? Any help would be greatly appreciated. Thanks, /m@ /***************************************************** * * Matthew D. White * Sr. Systems Administrator * E2DB 91AF 798B D4B4 47C5 04D1 86F6 55BD E965 41D5 * *****************************************************/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Oct 16 03:34:08 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Oct 2002 21:34:08 -0400 (EDT) Subject: Monitoring NFS Mounts In-Reply-To: References: Message-ID: check_rpc -h NFS, nfslock, nis are all RPC programs -sg On Tue, 15 Oct 2002, Jamin wrote: > Possibly. If you can find out which udp ports the mounts are connected > via, you could probably write a plugin. (or use the check_udp plugin) > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > I don't know if this topic has been discussed, but is there a way to monitor > > NFS mounts on a system? > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------------------------------------------------------------------- > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From nagios at nagios.org Wed Oct 16 06:58:59 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 15 Oct 2002 23:58:59 -0500 Subject: Paint-by-numbers In-Reply-To: References: Message-ID: <3DACABC3.17450.2FFE07D@localhost> I might as well through my 2 cents into this little discussion. Here goes... To say that the Nagios docs are among the worst out there for open source network apps probably isn't true. Check out other monitoring apps on SourceForge and have a look at their documentation sometime. To say that it sucks for new users is probably very true though. Nagios has a high learning curve. I wrote about 95% of the current documentation and hated every second of it. In fact, the only thing I hate more than reading documentation is writing it. Writing 1-2-3 "paint by numbers" documentation would be nice for new users to have (if they read it), but I can't really be the one to do it. I'm so far removed from knowing what a newbie's perspective is that it wouldn't do me much good to try anyway. Developers don't usually write docs for end users because they (a) are too close to the product and (b) probably lack basic "grammir skillz" brought on by caffeine overdose and sleep deprivation. Both apply to me. If the documentation is lacking, people need to step up and contribute. That's how things get done. In this case, people who have just reached the "aha" stage of the learning curve should be writing the docs for newbies. Something to think about if you just got Nagios up and running... BTW, I do think "A Paint-By-Numbers Guide To Installing Nagios" is a great title for new documentation. :-) On 15 Oct 2002 at 13:51, Carroll, Jim P [Contractor] wrote: > My first comment is one of administrivia. Please do not change the Subject, > as it breaks software which organizes mailing lists by subject thread. > > > >You also say that Nagios is poorly documented (for) "the > > common user)." > > >Maybe I'm missing something, but Nagios appears (to me) to > > be targetted for > > >installation by an experienced UNIX/Linux systems > > administrator, not the > > >common user. > > > > But you have to admit, even the experienced admin guy > > scratches his head > > over it > > from time to time. > > I scratch my head because I'm doing "what if" scenarios in my head. And you > know what the solution to this is? Just do it. > > > >One of the problems of the "paint-by-numbers" approach is > > that everyone > > ends > > >up with the same picture. Want sample config files? > > They're there. Want > > >more examples/suggestions? That's what this mailing list is for. > > > > Paint-by-number for common tasks is a big "time saver". I for > > one don't want > > to be working 60hr weeks cause it is taking me hours and hours to get > > something "simple" configured that if I had a basic "blue > > print" would have > > cut the time by 1/2. > > 1. The "blue print" here is called "documentation". It exists. And it > works. > > 2. If you're working 60hr weeks to get a basic configuration of Nagios to > work, perhaps you're in over your head. Even half of that, 30 hours, is far > too much time to be spending on something as a rudimentary configuration of > Nagios. > > > If the paint-by-numbers method is not good, then all the user manuals > > written over the past 30+yrs are incorrect and should be scrapped. :) > > I've yet to see a paint-by-numbers manual in my 14 years as a UNIX systems > administrator. You must be thinking about a book on how to paint by > numbers. > > > This list is fantastic. Without this list, it would be almost > > impossible for > > new Nagios users to get the product up and running in a > > somewhat timely > > fashion. > > New Nagios users? Or new to UNIX/Linux systems administration? An > executive in a company doesn't need to know the first thing about the > Bourne/bash shell, but equipped with a web browser on a functional (and > properly configured) computer, this executive could login to Nagios and > browse. > > > >Looking for help configuring Apache? That's not really what > > Nagios or this > > >mailing list is about, but you might find someone willing to help you > > there. > > > > Would be great to have a "top 10" problems U might encounter > > installing > > nagios with Apache. I would consider this almost a must. without a web > > server Nagios is worthless. It shouldn't be a 700 page repeat > > of apache > > docs, but a happy medium > > Hint: http://www.apache.org/ > > > >Looking for help configuring Sendmail so you can get your > > notifications? > > >Again, that's not really what Nagios/this mailing list is > > about, but you > > >might find someone (like myself) willing to help out. > > > > Again, having a "top 10" problems or providing a basic config > > as part of the > > docs or a supplemental doc would be a great time saver. > > Sendmail is probably > > used by 70%+ of users to send out notifications > > Don't get me started on Sendmail. Or DNS/BIND. Or how to build a firewall. > These are all subjects which take a modest amount of effort to understand > and configure properly. If given a boilerplate example based on a number of > assumptions, it will invariably lead the majority of newbies to "it didn't > work/it broke/etc". Then you're back into the loop of "what's your > configuration, what are you trying to do, etc." Many times a person will > say what they're trying to accomplish at the micro level, while trying to > obscure what they're trying to accomplish in the big picture. (I know, > because I've caught myself doing this very thing.) In the final analysis, > these examples that I suspect you're looking for will lead you to believe > that it can only be done the one way. I urge you to go back and *slowly* > read over the documentation. (I say this, because I know I'm the impatient > type, when it comes to getting something as powerful as Nagios up and > running; I tend to skim lightly over what the salient points appear to be, > and if it doesn't work, drill down a bit at a time. Patience is a virtue.) > > As someone else has suggested, if you're not happy with the current > documentation, you're more than welcome to write up your own and either > offer it here, or ask Ethan to host it on his site. > > > >Nagios is vast, of that there is no doubt. If you feel > > you're qualified to > > >do the installation, then by all means, hang in there; > > frustration is a > > sign > > >that success is just around the corner. :) > > > > You are correct, the amount of info supplied with Nagios is vast. But > > without more paint-by-numbers examples, new users to the > > product don't know > > what to ask for or how to ask it. They become frustrated and > > "give up". > > It sounds as if you have some statistics (of newcomers to Nagios) to back up > your claim. Please share with the list. > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Fredrik.Wanglund at datavis.se Wed Oct 16 08:13:41 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 16 Oct 2002 08:13:41 +0200 Subject: Apan WAS: RE: RRD Tool integration; ANOUNCE! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278034C@storevis.datavis.se> No, there is two cgi's, apan.cgi and generate.cgi, and one config-file, apan.cfg. I've updated the package on sourceforge now so there should be at least four errors less..... I am also working on the docs at apan.sourceforge.net... /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Tue 15-Oct-02 23:12 To: Jens.Bergmann at nordCom.net; Fredrik W?nglund; jcarro10 at sprintspectrum.com; atul at mindsw.com; nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! So perf.cgi is actually apan.cfg?!?!? Jens.Bergmann at nordCom.net wrote:maybe a typo in README? [...] Copy perf.cgi and generate.cgi to Nagios cgi-bin directory [...] the file is called apan.cgi? jens >-----Original Message----- >From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] >Sent: Tuesday, October 15, 2002 9:35 AM >To: Carroll, Jim P [Contractor]; Atul Gosain; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RRD Tool integration; ANOUNCE! > > >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give >feedback to me.... > > > >-----Original Message----- >From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] >Sent: Mon 14-Oct-02 19:01 >To: 'Atul Gosain'; nagios-users at lists.sourceforge.net >Cc: >Subject: RE: [Nagios-users] RRD Tool integration > >I can't speak about RRDTool directly, but at some point I plan >to take a >crack at leveraging cacti (or another RRDTool-based solution). > I'll share >my solution once I've been there, done that. > >Off the cuff, I speculate that I'll be running the NRPE >plugins from cacti. >The only disadvantage I can see here is that each plugin worth tracking >metrics will be run once from Nagios, once from cacti. Less >than optimal, >but I don't know the internals of Nagios well enough to approach this >otherwise. > >If someone better versed on the Nagios internals (nagios.cmd, perhaps?) >would care to make helpful suggestions when I cross that >bridge, ping me now >(off-list) just to say, "Hey, let me know when you're ready to >give this a >go; I should be able to spare a few cycles here and there." > >As usual, once I've cracked this nut, I'll share with the list. > >jc > >> -----Original Message----- >> From: Atul Gosain [mailto:atul at mindsw.com] >> Sent: Monday, October 14, 2002 5:56 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD Tool integration >> >> >> hi >> >> Hey what happened to RRD tool integration . Someone was going >> to provide >> some script to take the data from the rrd instead of >> executing the ping >> plugin. >> >> Thanks >> Atul. >> :) >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Wibo.Lammerts at hmg.nl Wed Oct 16 09:23:34 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Wed, 16 Oct 2002 09:23:34 +0200 Subject: How do I define Parent- and Childhosts? Message-ID: Hi all, I am farely new to Nagios. My question probably is really simple. How do I define Parent- and Childhosts? TIA Wibo Lammerts Systems Engineering Holland Media Groep www.hmg.nl / www.rtl.nl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Stefan.Hanssen at baerum.kommune.no Wed Oct 16 10:00:54 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Wed, 16 Oct 2002 10:00:54 +0200 Subject: Hostgroup nesting ? Message-ID: Can you nest hostgroups ? If possible i want to create a hostgroup with certain members, and make the hostgroup member of another hostgroup. Possible ? Best regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From stevelml1 at scee.sony.co.uk Wed Oct 16 09:59:00 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Wed, 16 Oct 2002 08:59:00 +0100 Subject: How do I define Parent- and Childhosts? References: Message-ID: <023901c274e9$e3b2c0e0$f5c8dfc2@niltxp> You can only define parents, not childs. In hosts.cfg, you set the parent for the host ========== define host{ use generic-host ; Name of host template to use host_name host1 alias test host address 1.2.3.4 check_command check-host-alive parents router1 <<<******** max_check_attempts 3 notification_interval 60 notification_period 24x7 notification_options d,u,r } ----- Original Message ----- From: "Wibo Lammerts" To: Sent: Wednesday, October 16, 2002 8:23 AM Subject: [Nagios-users] How do I define Parent- and Childhosts? > > Hi all, > > I am farely new to Nagios. > > My question probably is really simple. How do I define > Parent- and Childhosts? > > TIA > > Wibo Lammerts > Systems Engineering > Holland Media Groep > www.hmg.nl / www.rtl.nl > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From VanDerWesthuizenB at aforbes.co.za Wed Oct 16 10:08:51 2002 From: VanDerWesthuizenB at aforbes.co.za (Van Der Westhuizen Brian) Date: Wed, 16 Oct 2002 10:08:51 +0200 Subject: How do I define Parent- and Childhosts? Message-ID: <14AA054C41E6D5119CF800508BBBB64101745A76@AFJHB0EXCH1> from the hosts.cfg file 'mcsprtsrv' host definition define host{ use generic-host ; Name of host template to use host_name mcsprtsrv alias Solaris Server #1 address 172.17.15.201 parents router-gray check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } 'router-gray' host definition define host{ use generic-host ; Name of host template to use host_name router-gray alias Router Gray address 172.17.0.1 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } Brian -----Original Message----- From: Wibo Lammerts [mailto:Wibo.Lammerts at hmg.nl] Sent: 16 October 2002 09:24 AM To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] How do I define Parent- and Childhosts? Hi all, I am farely new to Nagios. My question probably is really simple. How do I define Parent- and Childhosts? TIA Wibo Lammerts Systems Engineering Holland Media Groep www.hmg.nl / www.rtl.nl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users Confidentiality Warning ======================= The contents of this e-mail and any accompanying documentation are confidential and any use thereof, in what ever form, by anyone other than the addressee is strictly prohibited. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From lele at profim.florida.it Wed Oct 16 10:32:43 2002 From: lele at profim.florida.it (Emanuele Salvador) Date: Wed, 16 Oct 2002 10:32:43 +0200 Subject: Splitting config files Message-ID: Anyone knows if is it possible to split the main config files in different files (i.e. one for each subnet, or one for routers) using, for example, an #include statement? So it should be easier to maintain the Nagios configuration, I think. Thanks and regards, Emanuele Salvador A carrot is as close as a rabbit gets to a diamond. - Don Van Vliet - ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Fredrik.Wanglund at datavis.se Wed Oct 16 10:48:28 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 16 Oct 2002 10:48:28 +0200 Subject: Splitting config files Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278034F@storevis.datavis.se> Nagios doesn't care about how many files you are using as long as you inclue them all via 'cfg_file=' in nagios.cfg. /FredrikW -----Original Message----- From: Emanuele Salvador [mailto:lele at profim.florida.it] Sent: Wed 16-Oct-02 10:32 To: Nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Splitting config files Anyone knows if is it possible to split the main config files in different files (i.e. one for each subnet, or one for routers) using, for example, an #include statement? So it should be easier to maintain the Nagios configuration, I think. Thanks and regards, Emanuele Salvador A carrot is as close as a rabbit gets to a diamond. - Don Van Vliet - ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Marcus.Nilsson at Cannondale.com Wed Oct 16 10:47:31 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Wed, 16 Oct 2002 10:47:31 +0200 Subject: Pls Clarify 4 me.. disable service via webinte rface Message-ID: You have to enable external command checking; http://nagios.sourceforge.net/docs/1_0/extcommands.html Marcus -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: Tuesday, October 15, 2002 8:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Pls Clarify 4 me.. disable service via webinterface Why won't nagios all me to disable a service via the web interface? I have the following defined in my services.cfg define service{ use generic-service ; Name of service template to use host_name 10.148.21.25 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups laptopgrp notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } I use the web interface, in the service information page. I select to "disable checks of this service" which is "ping". Nagios responds... "Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!" Huh? Did I config something incorrect? If I can't disable a service, the why is being displayed as an option for me? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From alistair at berthengron.co.uk Wed Oct 16 11:20:54 2002 From: alistair at berthengron.co.uk (Alistair Hopkins) Date: Wed, 16 Oct 2002 10:20:54 +0100 Subject: Splitting config files In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278034F@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278034F@storevis.datavis.se> Message-ID: Also can include all config files in a specified directory ... very handy > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Fredrik > W?nglund > Sent: 16 October 2002 09:48 > To: Emanuele Salvador; Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Splitting config files > > > Nagios doesn't care about how many files you are using as long as > you inclue them all via 'cfg_file=' in nagios.cfg. > > > > /FredrikW > > > > -----Original Message----- > From: Emanuele Salvador [mailto:lele at profim.florida.it] > Sent: Wed 16-Oct-02 10:32 > To: Nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] Splitting config files > > Anyone knows if is it possible to split the main config files in > different files (i.e. one for each subnet, or one for routers) using, > for example, an #include statement? > So it should be easier to maintain the Nagios configuration, I think. > > Thanks and regards, > Emanuele Salvador > > > A carrot is as close as a rabbit gets to a diamond. > > - Don Van Vliet - > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From atul at mindsw.com Wed Oct 16 12:20:43 2002 From: atul at mindsw.com (Atul Gosain) Date: Wed, 16 Oct 2002 15:50:43 +0530 Subject: problem in executing apan Message-ID: <3DAD3D7B.2060703@mindsw.com> Hey I have been trying to execute apan from command line . I have done all the prerequisites for this, but still getting this problem. Can somebody explain? How do i define perf-definition for a service? ./apan.sh nt-disk 172.18.15.5 Disk-usage 23223 150 100 No perf-definition for service ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sergio-s-freire at ptinovacao.pt Wed Oct 16 12:09:13 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 16 Oct 2002 11:09:13 +0100 Subject: 3D World In-Reply-To: <3DAC5654.10316.1B2170A@localhost> References: <3DAC5654.10316.1B2170A@localhost> Message-ID: <1034762953.2409.17.camel@newyork.intra.cet.pt> Ethan, all, Im having problems with user-defined layout in statusmap so some questions arise: 1. The background image doesn't appear in full size - its cropped! in fact the statusmap always generates an image of 100 pixels wide. Why does the statusmap keep generating an image of that size, even if the background is not defined? 2. Why has the background to be in GD2 format?? Could'nt it be a GIF,JPEG or other? 3 How to convert a PNG to GD2 correctly?? Noone seems to explain this...When using pngtogd2 its required to specify the chunk size.. what value should i use? I just want to use a normal image as background... PS: I have already tried the updated statusmap from CVS but the errir described in point number 1 keeps existing... Regards, Sergio Freire On Tue, 2002-10-15 at 23:54, Ethan Galstad wrote: > There are some definite bugs in the CGI, which I must have created > recently. These include: > > 1) User-defined layout always failed, regardless of whether coords > were specified or not > 2) Z-coordinate in auto-layout modes was incorrectly taken from user- > supplied coords (if available) > > Fixes for both of these issues are now in CVS, so you might want to > give that a try. > > > > On 15 Oct 2002 at 9:29, Carroll, Jim P [Contractor] wrote: > > > >From the docs describing the 3d_coords directive: > > > > "This variable is used to define coordinates to use when drawing the host in > > the statuswrl CGI. Coordinates can be positive or negative real numbers. The > > origin for drawing is (0.0,0.0,0.0). For reference, the size of the host > > cubes drawn is 0.5 units on each side (text takes a little more space). The > > coordinates you specify here are used as the center of the host cube." > > > > Unless I missed something, this means that this specifies the X,Y,Z > > coordinates of the image, and that the size of the image is a constant. > > > > jc > > > > > -----Original Message----- > > > From: Louie Cagasan [mailto:fireant at zpdee.net] > > > Sent: Monday, October 14, 2002 10:29 PM > > > To: Carroll, Jim P [Contractor] > > > Cc: 'Jon Lyons'; chris_lockwood at ckeurope.com; > > > nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] 3D World > > > > > > > > > Well, from what I understand about it in the docs, the coords you > > > specify for a node there don't exactly mean its position on > > > the map, but > > > something like the size of the icon you'll use for that node. And the > > > layout there means how the nodes are "laid out" onscreen. > > > > > > Using user-defined layout in the status map doesn't work for > > > me: I don't > > > see all the nodes I specified. Oh well, as long as I see the whole map > > > of my whole network, that's just fine with me. =) > > > > > > > > > On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote: > > > > Verrrry interesting. Mine was set to "0", so I went > > > through the ranks... > > > > 4... 3... 2... all of those work, no problem. This is where I say, > > > > "Hooray!" I'm puzzling why it doesn't work for > > > user-defined co-ordinates, > > > > but this will likely make my job simpler. > > > > > > > > Thanks for the tip! > > > > > > > > jc > > > > > > > > -----Original Message----- > > > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > > > Sent: Monday, October 14, 2002 5:27 PM > > > > To: Louie Cagasan; Carroll, Jim P [Contractor] > > > > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] 3D World > > > > > > > > > > > > > > > > Are you sure it's working?? Did you change > > > "default-statuswrl_layout=0" ?I > > > > bet you're still on auto(4).. :) My 2d maps work fine with > > > my coords, but > > > > the 3d maps just give the error... > > > > > > > > > > > > Louie Cagasan wrote: > > > > > > > > > > > > Hi Jim/Chris, > > > > > > > > Try this one. I have this in my hostextinfo.cfg: > > > > Just make sure you declared this in your cgi.cfg, like: > > > > > > > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > > > > > > > or something like that, then below is the entries for your > > > > hostextinfo.cfg. > > > > > > > > define hostextinfo{ > > > > host_name NOCswitch > > > > vrml_image ng-switch40.png > > > > icon_image ng-switch40.gif > > > > vrml_image ng-switch40.jpg > > > > statusmap_image ng-switch40.gd2 > > > > 2d_coords 200,400 > > > > 3d_coords 50.0,100.0,50.0 > > > > } > > > > > > > > This works for me. And the "no dots" rule is, > > > > well, a rule. You can vary the values in the coords as well. > > > > > > > > hth. > > > > -------------------------------------------------------------------- > > > > > > > > I never did get this working. The common response is "make > > > sure you = > > > > don't > > > > have dots in your hostnames", which I don't. > > > > > > > > VRML works, but Cortona does start; it comes! up with "You > > > have not = > > > > supplied > > > > any 3-D drawing coordinates. Read the FAQs for more information on = > > > > doing > > > > this." > > > > > > > > Not to say this can't be done, but I've largely given up on > > > making it = > > > > work > > > > (for now). > > > > > > > > I'll be migrating Nagios to another server, so maybe when I have a = > > > > 'bare > > > > bones' config set up, I'll try the 3-D Status Map again, > > > just to see = > > > > whether > > > > it works at all. If I have an 'aha!' moment, I'll share it with = > > > > everyone. > > > > ;) > > > > > > > > jc > > > > > > > > > -----Original Message----- > > > > > From: Chris at lockwood.fsnet.co.uk > > > [mailto:Chris at lockwood.fsnet.co.uk] > > > > > Sent: Monday, October 14, 2002 2:53 AM > > > > > To: nagios-users at lists.sourceforge.net > > > > > Cc: chris.lockwood at ckeurope.com > > > > > Subject: [Nagios-users] 3D World > > > > >=20 > > > > >=20 > > > > > I'm having problems with the 3D world configuration, > > > everything else > > > > > seems to work (excellent program). The 2D status map > > > seems to take = > > > > the > > > > > coordinate! s I have inputted, but the 3D version is > > > having non of it. > > > > >=20 > > > > > At this point it may be worth mentioning that I did not use the: > > > > >=20 > > > > > --with-template-objects > > > > >=20 > > > > > argument when I compiled, however having said that the 2D Map=20 > > > > > works ok. > > > > > I realize its not the end of the world but I'd really like to=20 > > > > > have full > > > > > functionality, so I can show of to my manager :-) > > > > >=20 > > > > > Thanks all > > > > >=20 > > > > > Chris L > > > > >=20 > > > > >=20 > > > > >=20 > > > > > ____________________________________________ > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > _____ > > > > > > > > Do you Yahoo!? > > > > Faith Hill - Exclusive > > > Performances, Videos, & > > > > more > > > > faith.yahoo.com > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From lists.scott at themagicbox.net Wed Oct 16 12:32:37 2002 From: lists.scott at themagicbox.net (Scott) Date: Wed, 16 Oct 2002 20:32:37 +1000 Subject: Service Dependencies "wildcarding" error ? References: <001901c273e6$3a422180$1500a8c0@powerstation> Message-ID: <000f01c274ff$7e06e9e0$0500a8c0@earth> how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it? ----- Original Message ----- From: Paulo Pinto To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 15, 2002 11:00 AM Subject: [Nagios-users] Service Dependencies "wildcarding" error ? Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From japh at ip.pt Wed Oct 16 14:06:38 2002 From: japh at ip.pt (Paulo Pinto) Date: Wed, 16 Oct 2002 13:06:38 +0100 Subject: Service Dependencies "wildcarding" error ? References: <001901c273e6$3a422180$1500a8c0@powerstation> <000f01c274ff$7e06e9e0$0500a8c0@earth> Message-ID: <000a01c2750c$7b4e94c0$1500a8c0@powerstation> Hi. Imagine the following scenario: - 2 web servers, with 50 Vhosts each. - 1 Alteon webswitch, virtualizing the 50 Vhosts - Nagios is monitoring the 150 webservices. A failed service gets notified by SMS. Now, without service dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go down, you get 150SMS. WITH service dependencies, you can make your webtests depend on the RealServers status on the Alteon... if 1 webserver goes down, you get 1 SMS, if both go down you got 2 sms. That's why :-) Anyway, I've already seen in the changelog that wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see if it works :-) Hugz all. ----- Original Message ----- From: Scott To: Paulo Pinto ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 11:32 AM Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it? ----- Original Message ----- From: Paulo Pinto To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 15, 2002 11:00 AM Subject: [Nagios-users] Service Dependencies "wildcarding" error ? Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wibo.Lammerts at hmg.nl Wed Oct 16 14:48:47 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Wed, 16 Oct 2002 14:48:47 +0200 Subject: Setting up e-mail notifications. Message-ID: Hi all, What would be a good way to set up notification? Does anyone have experience with notification through ICQ / Messenger / Pager? Any pitfalls? TIA Wibo Lammerts Systems Engineering Holland Media Groep www.hmg.nl / www.rtl.nl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jhp at addix.net Wed Oct 16 15:01:47 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Wed, 16 Oct 2002 15:01:47 +0200 Subject: Setting up e-mail notifications. In-Reply-To: References: Message-ID: <20021016130147.GG17651@billgotchy.de> Hi ... On Wed, Oct 16, 2002 at 02:48:47PM +0200, Wibo Lammerts wrote: >What would be a good way to set up notification? Does anyone have experience >with notification through ICQ / Messenger / Pager? Any pitfalls? Email-Notification is easy to use. Use the standard config in $PATH_TO_NAGIOS_INSTALL/etc/checkconfig.cfg for notification-by-email. I cannot say anything about the others, but I am starting to play with them ;) Regards Jan ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jhp at addix.net Wed Oct 16 15:13:15 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Wed, 16 Oct 2002 15:13:15 +0200 Subject: Setting up e-mail notifications. In-Reply-To: <20021016130147.GG17651@billgotchy.de> References: <20021016130147.GG17651@billgotchy.de> Message-ID: <20021016131315.GH17651@billgotchy.de> On Wed, Oct 16, 2002 at 03:01:47PM +0200, Jan-Hendrik Palic wrote: >Hi ... > >On Wed, Oct 16, 2002 at 02:48:47PM +0200, Wibo Lammerts wrote: >>What would be a good way to set up notification? Does anyone have experience >>with notification through ICQ / Messenger / Pager? Any pitfalls? > >Email-Notification is easy to use. Use the standard config in >$PATH_TO_NAGIOS_INSTALL/etc/checkconfig.cfg for notification-by-email. I mean checkcommands.cfg ... sorry. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From ron at firelan.net Wed Oct 16 15:32:15 2002 From: ron at firelan.net (Ron Culler) Date: 16 Oct 2002 09:32:15 -0400 Subject: notification rules Message-ID: <1034775137.16465.15.camel@zenmaster.secdes.com> I use nagios's host-alive check (ping) to verify access to 300-400 devices. mostly outside our network. I would like to set nagios to email a notification after 2 fails and then again at a state change (ie host is back up). Currently I get multiple messages for the down state and the final up state message. Does anyone do this currently or know if its possible? I'm pretty sure that with escalations I can send other notifications (IM, Page, etc) if needed (down time duration to long). Ron ************************************************************************************************** The Firelan(tm) Virus Scanning Service has scanned this email for viruses, vandals and malicious content. http://www.firelan.net ************************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Stefan.Hanssen at baerum.kommune.no Wed Oct 16 15:36:24 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Wed, 16 Oct 2002 15:36:24 +0200 Subject: Citrix plugin Message-ID: I seem to be missing something in the script. Could someone verify the contents of my check_cit ? This is what my check_cit contains: #!/usr/bin/perl -w # $Id: check_cit,v 1.6 2002-10-03 16:16:44+10 anwsmh Exp anwsmh $ # $Log: check_cit,v $ # Revision 1.6 2002-10-03 16:16:44+10 anwsmh # Contributions from Mr Bas Rijniersce # 1 Decode unicode in application list if it looks as if the app list contains unicode # 2 Only stop receiving packets from the browser after the socket times out # (formerly would only read 2 packets and this was useless for more than 20 apps) # if -L option. # 3 Change meaning of -T and default value. Now this is the UDP packet timeout # value and is set to be 1 second. # # Revision 1.5 2002-10-01 19:26:07+10 anwsmh # Provide -L option to deal with long lists of published apps (use -T probably indicatedalso). # # Revision 1.4 2002-10-01 16:53:56+10 anwsmh # Roll version to accomodate # . -P no longer mandatory (either -P or -W will do) # . remove some redundant pack and unpacks after getting the # app list from the browser. # # Ed Rolison 15/06/02 # ed at ni... # If it doesn't work, please let me know, I've only had access to my # environment so I'm not 100% sure. # # If you want to mess around with this script, then please feel free # to do so. # However, if you add anything 'funky' then I'd really appreciate # hearing about it. # # Oh, and if you do ever make huge amounts of money out of it, cut me # in :) use strict ; use IO::Socket; use IO::Select; use FileHandle; use Getopt::Long ; use vars qw($opt_H $opt_B $opt_W $opt_T $debug @citrix_servers $crit_pub_apps $warn_pub_apps $long_list); use utils qw(%ERRORS &print_revision &support &usage); my $PROGNAME = 'check_citrix' ; sub print_help (); sub print_usage (); sub help (); sub version (); delete @ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; # You might have to change this... use constant PACKET_TIMEOUT => 1; # Number of seconds to wait for further UDP packets use constant TEST_COUNT => 2; # Number of datagrams sent without reply use constant BUFFER_SIZE => 1500; # buffer size used for 'recv' calls. use constant LONG_LIST => 0 ; # this is for if you have many published applications. # if you set it, it won't do any harm, but may slow the test # down a little. (Since it does a 'recv' twice instead of # once and therefore may have to wait for a timeout). use constant ICA_PORT => 1604; # what port ICA runs on. Unlikely to change. # End user config. Getopt::Long::Configure('bundling', 'no_ignore_case'); GetOptions ("V|version" => \&version, "h|help" => \&help, "d|debug" => \$debug, "B|broadcast_addr:s" => \$opt_B, "C|citrix_servers:s" => \@citrix_servers, "L|long_list" => \$long_list, "P|crit_pub_apps:s" => \$crit_pub_apps, "T|Packet_timeout:i" => \$opt_T, "W|warn_pub_apps:s" => \$warn_pub_apps, ) ; # configuration section my $broadcast_addr = $1 if $opt_B and $opt_B =~ m#(\d+\.\d+\.\d+\.\d+)# ; usage("Invalid broadcast address: $opt_B\n") if $opt_B and not defined($broadcast_addr) ; usage("You must provide either the names of citrix servers or the broadcast address of the subnet containing them\n") unless (@citrix_servers or $broadcast_addr) ; my @target = defined $broadcast_addr ? ($broadcast_addr) : @citrix_servers ; usage("You must provide the names of the published applications that the Citrix browser should be advertising\n") unless ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Frank.Michael at star21.de Wed Oct 16 15:41:25 2002 From: Frank.Michael at star21.de (Frank.Michael at star21.de) Date: Wed, 16 Oct 2002 15:41:25 +0200 Subject: AW: Setting up e-mail notifications. Message-ID: <15031E993E19FF469F1C94150465BA970BD1B7@DEFRA1MXVS02.de.adp.star21networks.net> i think you have to setup a contact in contacts.cfg and add this contact in a contactgroup.cfg and at least you add the group to your service.cfg! this is the way how email noticfication works at my nagios. # contact.cfg # 'michael email' contact definition define contact{ contact_name michael alias Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email frank.michael at star21.de } #contactgroup.cfg # 'nagios-admins' contact group definition define contactgroup{ contactgroup_name nagios-admins alias Nagios Administrators members michael } # service.cfg # Service definition 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 nagios-admins notification_interval 240 notification_period 24x7 notification_options c,r,u,w check_command check_ping!100.0,20%!500.0,60% } -----Urspr?ngliche Nachricht----- Von: Jan-Hendrik Palic [mailto:jhp at addix.net] Gesendet: Mittwoch, 16. Oktober 2002 15:13 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Setting up e-mail notifications. On Wed, Oct 16, 2002 at 03:01:47PM +0200, Jan-Hendrik Palic wrote: >Hi ... > >On Wed, Oct 16, 2002 at 02:48:47PM +0200, Wibo Lammerts wrote: >>What would be a good way to set up notification? Does anyone have experience >>with notification through ICQ / Messenger / Pager? Any pitfalls? > >Email-Notification is easy to use. Use the standard config in >$PATH_TO_NAGIOS_INSTALL/etc/checkconfig.cfg for notification-by-email. I mean checkcommands.cfg ... sorry. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users *********************************************************** Oktober-Aktion bei STAR 21 NETWORKS *********************************************************** INTERNET ACCESS 3 und 6 Mbit/s vier Wochen gratis STAR 21 NETWORKS bietet allen Kunden, die sich im Monat Oktober f?r 3 oder 6 Mbit/s INTERNET ACCESS von STAR 21 NETWORKS entscheiden, die ersten vier Wochen Nutzung gratis. Alle weiteren Infos zu dieser Aktion unter: www.star21networks.de , info at star21.de oder ueber unsere Service Hotline Tel. 0 800 - 1 00 73 40. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From andy at droidmcse.com Wed Oct 16 16:47:26 2002 From: andy at droidmcse.com (Andy Stein) Date: Wed, 16 Oct 2002 10:47:26 -0400 (EDT) Subject: External Commands not working anymore Message-ID: <2004.192.168.1.5.1034779646.squirrel@amber> Hey Gang! Nagios all of a sudden has decided to stop taking external commands from the web interface. This should be sufficient permissions [root at mnmslx11 rw]# ls -la total 8 drwxrws--- 2 nagios nagiocmd 4096 Oct 16 10:40 . drwxrwxr-x 4 nagios nagios 4096 Oct 16 10:45 .. prw-rw---- 1 nagios nagiocmd 0 Oct 16 10:40 nagios.cmd External commands is turned on in the nagios.cfg file check_external_commands=1 And lastly, nagios is running [root at mnmslx11 rw]# ps -ef | grep -c nagios 12 Anybody got any ideas??? Thanks! Andy ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 16:56:42 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 09:56:42 -0500 Subject: How do I define Parent- and Childhosts? Message-ID: On a related note, I've successfully implemented the 'parents' directive. But I'm curious about something. Does anyone know why it's 'parents' (plural) and not 'parent'? The plural implies support for more than one parent, but that would imply more than one path back to the Nagios server. That said, if there's more than one path, that would mean that both paths (in the case that there are 2 parents) would have to fail before the hosts which depend on those parents are considered blocked. Wild speculation on my part. Would anyone care to comment on this? Ethan, if you're not swamped, would you care to add your $0.02? :) jc > -----Original Message----- > From: Steve Loughran [mailto:stevelml1 at scee.sony.co.uk] > Sent: Wednesday, October 16, 2002 2:59 AM > To: Wibo Lammerts; Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How do I define Parent- and Childhosts? > > > You can only define parents, not childs. In hosts.cfg, you > set the parent > for the host > > ========== > > define host{ > use generic-host ; Name of host > template to use > > host_name host1 > alias test host > address 1.2.3.4 > check_command check-host-alive > parents router1 <<<******** > max_check_attempts 3 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > > ----- Original Message ----- > From: "Wibo Lammerts" > To: > Sent: Wednesday, October 16, 2002 8:23 AM > Subject: [Nagios-users] How do I define Parent- and Childhosts? > > > > > > Hi all, > > > > I am farely new to Nagios. > > > > My question probably is really simple. How do I define > > Parent- and Childhosts? > > > > TIA > > > > Wibo Lammerts > > Systems Engineering > > Holland Media Groep > > www.hmg.nl / www.rtl.nl > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From planett at hotmail.com Wed Oct 16 17:03:08 2002 From: planett at hotmail.com (Planett -) Date: Wed, 16 Oct 2002 15:03:08 +0000 Subject: TRAPS....NET-SNMP Message-ID: I am receveing Traps with Net-SNMP. How do I see this traps in the Nagios? I read the documentation and it's confused. I have installed the plugin (nsca), but i can't view this traps in the nagios. I use this to management swtiches and routers, not servers. Fernando _________________________________________________________________ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From mijakscht at vit.de Wed Oct 16 17:07:46 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Wed, 16 Oct 2002 17:07:46 +0200 Subject: Service dependencies.... Message-ID: Hi to all of you, it's me again ;-)) Is it possible to configure the service dependencies to get notifies of critical services only if the host is still pingable? Michael ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From atul at mindsw.com Wed Oct 16 17:09:43 2002 From: atul at mindsw.com (Atul Gosain) Date: Wed, 16 Oct 2002 20:39:43 +0530 Subject: apan problem Message-ID: <3DAD8137.3050905@mindsw.com> hi frederickW I have used apan for monitoring disk space and it gives beautifull graphs. Main reason for my using this will be for Ping services so that i can use the same data in smokeping graphs and mrtg too. U have given only the rrd file creation and line to be stored in apan for disk space . Please provide those for ping and other services also as im not so well versed with rrd. Thanks Atul. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From andy at droidmcse.com Wed Oct 16 17:23:58 2002 From: andy at droidmcse.com (Andy Stein) Date: Wed, 16 Oct 2002 11:23:58 -0400 (EDT) Subject: External Commands not working anymore In-Reply-To: <87273DB23407D511B8900008C7FA9233553CF2@EXCHANGE> References: <87273DB23407D511B8900008C7FA9233553CF2@EXCHANGE> Message-ID: <2048.192.168.1.5.1034781838.squirrel@amber> I guess I updated a group membership for nobody to not be a member of the nagioscmd group. Thanks! > What is the goup/user your Apache runs under ? > > If not nagios or nagioscmd ... Here is your problem :) > > > -----Original Message----- > From: Andy Stein [mailto:andy at droidmcse.com] > Sent: Wednesday, October 16, 2002 10:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] External Commands not working anymore > > > Hey Gang! > > Nagios all of a sudden has decided to stop taking external commands from > the web interface. > > This should be sufficient permissions > > [root at mnmslx11 rw]# ls -la > total 8 > drwxrws--- 2 nagios nagiocmd 4096 Oct 16 10:40 . > drwxrwxr-x 4 nagios nagios 4096 Oct 16 10:45 .. > prw-rw---- 1 nagios nagiocmd 0 Oct 16 10:40 nagios.cmd > > External commands is turned on in the nagios.cfg file > > check_external_commands=1 > > And lastly, nagios is running > > [root at mnmslx11 rw]# ps -ef | grep -c nagios > 12 > > Anybody got any ideas??? > > Thanks! > Andy > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to $1,000 > for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 17:26:26 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 10:26:26 -0500 Subject: Service Dependencies "wildcarding" error ? Message-ID: Paulo, that looks like an excellent scenario to streamline! At some point I'll be trying my hand at service dependencies. Here's the scenario I hope to streamline: - host1 is running NRPE - nrpe.cfg has several tests configured - most other hosts will be similarly configured with NRPE - some hosts will be running a superset of the NRPE definitions Risk in this scenario: if the NRPE daemon is down and Nagios starts checking those services, naturally it will fail for each and every NRPE service test defined. Goal: If NRPE is down, be notified that NRPE is down. Silence on all the NRPE tests. Actually, I wouldn't mind some input on one aspect of setting this up. I'm torn between making one of the NRPE tests the service depended on by the other NRPE tests (for a given host), versus just using check_tcp to verify that the NRPE daemon is up and listening. Thoughts anyone? jc -----Original Message----- From: Paulo Pinto [mailto:japh at ip.pt] Sent: Wednesday, October 16, 2002 7:07 AM To: Scott; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? Hi. Imagine the following scenario: - 2 web servers, with 50 Vhosts each. - 1 Alteon webswitch, virtualizing the 50 Vhosts - Nagios is monitoring the 150 webservices. A failed service gets notified by SMS. Now, without service dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go down, you get 150SMS. WITH service dependencies, you can make your webtests depend on the RealServers status on the Alteon... if 1 webserver goes down, you get 1 SMS, if both go down you got 2 sms. That's why :-) Anyway, I've already seen in the changelog that wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see if it works :-) Hugz all. ----- Original Message ----- From: Scott To: Paulo Pinto ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 11:32 AM Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it? ----- Original Message ----- From: Paulo Pinto To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 15, 2002 11:00 AM Subject: [Nagios-users] Service Dependencies "wildcarding" error ? Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gopinath_Pulyankote at affymetrix.com Wed Oct 16 17:41:37 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Wed, 16 Oct 2002 08:41:37 -0700 Subject: Where can I find check_wins.pl ? Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E784@ntex04.affymetrix.com> ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jlyons30 at yahoo.com Wed Oct 16 17:56:28 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 08:56:28 -0700 (PDT) Subject: apan problem In-Reply-To: <3DAD8137.3050905@mindsw.com> References: <3DAD8137.3050905@mindsw.com> Message-ID: <20021016155628.51565.qmail@web21504.mail.yahoo.com> yes, please do, I've only used mrtg, and haven't had a chance to look at rrd.. Atul Gosain wrote:hi frederickW I have used apan for monitoring disk space and it gives beautifull graphs. Main reason for my using this will be for Ping services so that i can use the same data in smokeping graphs and mrtg too. U have given only the rrd file creation and line to be stored in apan for disk space . Please provide those for ping and other services also as im not so well versed with rrd. Thanks Atul. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Wed Oct 16 18:01:51 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 11:01:51 -0500 Subject: Setting up e-mail notifications. Message-ID: My $0.02: - e-mail notification works quite well - pager notification works quite well - these are defined out-of-the-box in misccommands.cfg, which are in turn leveraged in contacts.cfg As far as sending alerts via ICQ/MSN/Yahoo Messenger/AIM, you basically have to figure out how to pass a message from the command line. I'm having a quick look at RH Linux 7.3 right now, and it includes micq, a command line interface to ICQ. I've not played with it, so YMMV. If it doesn't do exactly what you want, you might want to try wrapping it in an expect script. Other than that, you might want to browse Sourceforge or Freshmeat to see what possible AIM/ICQ/MSN/YM/etc programs exist which support input from the command line. (If I personally saw benefit to this approach, I'd be investigating it. But paging/SMS work fine for what I/we need. :) jc > -----Original Message----- > From: Frank.Michael at star21.de [mailto:Frank.Michael at star21.de] > Sent: Wednesday, October 16, 2002 8:41 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Setting up e-mail notifications. > > > i think you have to setup a contact in contacts.cfg and add > this contact > in a contactgroup.cfg and at least you add the group to your > service.cfg! this is the way how email noticfication works at > my nagios. > > > # contact.cfg > # 'michael email' contact definition > define contact{ > contact_name michael > alias Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email frank.michael at star21.de > } > > #contactgroup.cfg > # 'nagios-admins' contact group definition > define contactgroup{ > contactgroup_name nagios-admins > alias Nagios Administrators > members michael > } > # service.cfg > # Service definition > 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 nagios-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r,u,w > check_command check_ping!100.0,20%!500.0,60% > } > > -----Urspr?ngliche Nachricht----- > Von: Jan-Hendrik Palic [mailto:jhp at addix.net] > Gesendet: Mittwoch, 16. Oktober 2002 15:13 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Setting up e-mail notifications. > > > On Wed, Oct 16, 2002 at 03:01:47PM +0200, Jan-Hendrik Palic wrote: > >Hi ... > > > >On Wed, Oct 16, 2002 at 02:48:47PM +0200, Wibo Lammerts wrote: > >>What would be a good way to set up notification? Does anyone have > experience > >>with notification through ICQ / Messenger / Pager? Any pitfalls? > > > >Email-Notification is easy to use. Use the standard config in > >$PATH_TO_NAGIOS_INSTALL/etc/checkconfig.cfg for > notification-by-email. > > I mean checkcommands.cfg ... sorry. > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > *********************************************************** > Oktober-Aktion bei STAR 21 NETWORKS > *********************************************************** > > INTERNET ACCESS 3 und 6 Mbit/s vier Wochen gratis > > STAR 21 NETWORKS bietet allen Kunden, die sich im Monat > Oktober f?r 3 oder 6 Mbit/s INTERNET ACCESS von > STAR 21 NETWORKS entscheiden, die ersten vier Wochen > Nutzung gratis. > > Alle weiteren Infos zu dieser Aktion unter: > www.star21networks.de , info at star21.de > oder ueber > unsere Service Hotline Tel. 0 800 - 1 00 73 40. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From dean.bishop at tcdsb.org Wed Oct 16 18:12:40 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 16 Oct 2002 12:12:40 -0400 Subject: Where can I find check_wins.pl ? Message-ID: -----Original Message----- From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] Sent: Wednesday, October 16, 2002 11:42 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Where can I find check_wins.pl ? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- A non-text attachment was scrubbed... Name: check_wins.zip Type: application/octet-stream Size: 3038 bytes Desc: not available URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 16 18:26:08 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Oct 2002 12:26:08 -0400 Subject: Checking Samba Message-ID: <5593DA408212D511B0910002A513501F01D28789@phsexch20.mgh.harvard.edu> HI there, Which plug-in, if any, will check if the Samba daemon is running on a UNIX system? Thanks. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From AHKAPLAN at PARTNERS.ORG Wed Oct 16 18:28:48 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Oct 2002 12:28:48 -0400 Subject: Checking Samba Message-ID: <5593DA408212D511B0910002A513501F01D2878A@phsexch20.mgh.harvard.edu> NEVER MIND........ -----Original Message----- From: Kaplan, Andrew H. Sent: Wednesday, October 16, 2002 12:26 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Samba HI there, Which plug-in, if any, will check if the Samba daemon is running on a UNIX system? Thanks. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From AHKAPLAN at PARTNERS.ORG Wed Oct 16 18:42:05 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Oct 2002 12:42:05 -0400 Subject: Monitoring NFS Mounts Message-ID: <5593DA408212D511B0910002A513501F01D2878B@phsexch20.mgh.harvard.edu> What I'm looking to do is monitor the disk space usage of the NFS mounts. Will the check_rpc plug-in used in conjunction with the check_disk plug-in do the trick? -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Tuesday, October 15, 2002 9:34 PM To: Jamin Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring NFS Mounts check_rpc -h NFS, nfslock, nis are all RPC programs -sg On Tue, 15 Oct 2002, Jamin wrote: > Possibly. If you can find out which udp ports the mounts are connected > via, you could probably write a plugin. (or use the check_udp plugin) > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > I don't know if this topic has been discussed, but is there a way to monitor > > NFS mounts on a system? > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------------------------------------------------------------------- > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From lilesb at ijet.com Wed Oct 16 19:22:57 2002 From: lilesb at ijet.com (Bryan Liles) Date: 16 Oct 2002 13:22:57 -0400 Subject: Paint-by-numbers In-Reply-To: <3DACABC3.17450.2FFE07D@localhost> References: <3DACABC3.17450.2FFE07D@localhost> Message-ID: <1034788978.11946.58.camel@localhost.localdomain> First before I say anything, I would like to thank everyone for all the time spent contributing code, generating documentation, and answering questions on netsaint/nagios lists. Systems/Network monitoring is a complex task. It is very easy to say that I want to monitor "host A". The bigger more complex question is: What do I mean when I say that I want to monitor "host A"? Until you understand the concepts of systems/network monitoring, and importance of dependencies, and the importance of understanding what you are trying to monitor, you will never "get it". Nagios is a great product for simple network management. The facilities of data collection, presentation, and notification are great. Does this mean that Nagios is the end all to network management? No, there are other commercial and open sourced applications out there made by the likes of HP, CA, IBM and others that might be more to your liking. So, why do I think Nagios is so good? Well in my eyes, the best management systems will just be a shell that will allow me to use my own plugins. Plus, I get the source with Nagios. I can change the look and feel other web interface. I can have nagios issue alerts straight my DCL setup that will then generate a Work Order for the problem. When the system detects this Work Order, it will determine if it can fix it, if not, I will get alerted. If I don't repsond, my backups and my management will be notified. Does your Nagios setup look this? Probably not. Nagios is 100% customized for my situation, and it works like a champ. What do I suggest for new users? The first thing that I will suggest is research. Before you download and attempt to configure Nagios, please understand the project you are trying to undertake. Sure, you want to monitor "host A", but what does "host A" do? Is it a mail server, DNS server, web server, application server, or a combination of the previously mentioned or something totally different. How does "host A" interact with "host B", and "host C", and "router D"? I might even suggest buying a book on network management, so you can understand the philosophies and the best practice approaches to your problems. After you have an idea of what you are trying to monitor, you can slowly move forward in your attempt to configure Nagios to your liking. The Nagios mailing list archives and the Nagios website documentation may be a bit sparse to a new user trying to build a configuration for the first time. Please take time to read them anyways, because most of the time, your answer will already answered in the Nagios documentation or in the mailing list archives. I will say again that Nagios is a great product. It beat our an opposing bid at my place of employment from a competitor using big name products from Concorde and HP. With a bit of knowledge of what you are trying to manage, and the best set of tools you would use to manage it with, Nagios will run like a charm. Thank you for reading my rant. On Wed, 2002-10-16 at 00:58, Ethan Galstad wrote: > I might as well through my 2 cents into this little discussion. Here > goes... > > To say that the Nagios docs are among the worst out there for open > source network apps probably isn't true. Check out other monitoring > apps on SourceForge and have a look at their documentation sometime. > To say that it sucks for new users is probably very true though. > Nagios has a high learning curve. > > I wrote about 95% of the current documentation and hated every second > of it. In fact, the only thing I hate more than reading > documentation is writing it. Writing 1-2-3 "paint by numbers" > documentation would be nice for new users to have (if they read it), > but I can't really be the one to do it. I'm so far removed from > knowing what a newbie's perspective is that it wouldn't do me much > good to try anyway. Developers don't usually write docs for end > users because they (a) are too close to the product and (b) probably > lack basic "grammir skillz" brought on by caffeine overdose and sleep > deprivation. Both apply to me. > > If the documentation is lacking, people need to step up and > contribute. That's how things get done. In this case, people who > have just reached the "aha" stage of the learning curve should be > writing the docs for newbies. Something to think about if you just > got Nagios up and running... > > BTW, I do think "A Paint-By-Numbers Guide To Installing Nagios" is a > great title for new documentation. :-) > > > > On 15 Oct 2002 at 13:51, Carroll, Jim P [Contractor] wrote: > > > My first comment is one of administrivia. Please do not change the Subject, > > as it breaks software which organizes mailing lists by subject thread. > > > > > >You also say that Nagios is poorly documented (for) "the > > > common user)." > > > >Maybe I'm missing something, but Nagios appears (to me) to > > > be targetted for > > > >installation by an experienced UNIX/Linux systems > > > administrator, not the > > > >common user. > > > > > > But you have to admit, even the experienced admin guy > > > scratches his head > > > over it > > > from time to time. > > > > I scratch my head because I'm doing "what if" scenarios in my head. And you > > know what the solution to this is? Just do it. > > > > > >One of the problems of the "paint-by-numbers" approach is > > > that everyone > > > ends > > > >up with the same picture. Want sample config files? > > > They're there. Want > > > >more examples/suggestions? That's what this mailing list is for. > > > > > > Paint-by-number for common tasks is a big "time saver". I for > > > one don't want > > > to be working 60hr weeks cause it is taking me hours and hours to get > > > something "simple" configured that if I had a basic "blue > > > print" would have > > > cut the time by 1/2. > > > > 1. The "blue print" here is called "documentation". It exists. And it > > works. > > > > 2. If you're working 60hr weeks to get a basic configuration of Nagios to > > work, perhaps you're in over your head. Even half of that, 30 hours, is far > > too much time to be spending on something as a rudimentary configuration of > > Nagios. > > > > > If the paint-by-numbers method is not good, then all the user manuals > > > written over the past 30+yrs are incorrect and should be scrapped. :) > > > > I've yet to see a paint-by-numbers manual in my 14 years as a UNIX systems > > administrator. You must be thinking about a book on how to paint by > > numbers. > > > > > This list is fantastic. Without this list, it would be almost > > > impossible for > > > new Nagios users to get the product up and running in a > > > somewhat timely > > > fashion. > > > > New Nagios users? Or new to UNIX/Linux systems administration? An > > executive in a company doesn't need to know the first thing about the > > Bourne/bash shell, but equipped with a web browser on a functional (and > > properly configured) computer, this executive could login to Nagios and > > browse. > > > > > >Looking for help configuring Apache? That's not really what > > > Nagios or this > > > >mailing list is about, but you might find someone willing to help you > > > there. > > > > > > Would be great to have a "top 10" problems U might encounter > > > installing > > > nagios with Apache. I would consider this almost a must. without a web > > > server Nagios is worthless. It shouldn't be a 700 page repeat > > > of apache > > > docs, but a happy medium > > > > Hint: http://www.apache.org/ > > > > > >Looking for help configuring Sendmail so you can get your > > > notifications? > > > >Again, that's not really what Nagios/this mailing list is > > > about, but you > > > >might find someone (like myself) willing to help out. > > > > > > Again, having a "top 10" problems or providing a basic config > > > as part of the > > > docs or a supplemental doc would be a great time saver. > > > Sendmail is probably > > > used by 70%+ of users to send out notifications > > > > Don't get me started on Sendmail. Or DNS/BIND. Or how to build a firewall. > > These are all subjects which take a modest amount of effort to understand > > and configure properly. If given a boilerplate example based on a number of > > assumptions, it will invariably lead the majority of newbies to "it didn't > > work/it broke/etc". Then you're back into the loop of "what's your > > configuration, what are you trying to do, etc." Many times a person will > > say what they're trying to accomplish at the micro level, while trying to > > obscure what they're trying to accomplish in the big picture. (I know, > > because I've caught myself doing this very thing.) In the final analysis, > > these examples that I suspect you're looking for will lead you to believe > > that it can only be done the one way. I urge you to go back and *slowly* > > read over the documentation. (I say this, because I know I'm the impatient > > type, when it comes to getting something as powerful as Nagios up and > > running; I tend to skim lightly over what the salient points appear to be, > > and if it doesn't work, drill down a bit at a time. Patience is a virtue.) > > > > As someone else has suggested, if you're not happy with the current > > documentation, you're more than welcome to write up your own and either > > offer it here, or ask Ethan to host it on his site. > > > > > >Nagios is vast, of that there is no doubt. If you feel > > > you're qualified to > > > >do the installation, then by all means, hang in there; > > > frustration is a > > > sign > > > >that success is just around the corner. :) > > > > > > You are correct, the amount of info supplied with Nagios is vast. But > > > without more paint-by-numbers examples, new users to the > > > product don't know > > > what to ask for or how to ask it. They become frustrated and > > > "give up". > > > > It sounds as if you have some statistics (of newcomers to Nagios) to back up > > your claim. Please share with the list. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anoopa at hotmail.com Wed Oct 16 19:27:56 2002 From: anoopa at hotmail.com (Anoop Atre) Date: Wed, 16 Oct 2002 12:27:56 -0500 Subject: Checking Samba References: <5593DA408212D511B0910002A513501F01D28789@phsexch20.mgh.harvard.edu> Message-ID: The way I do it is with a tcp port check define service { host_name THIS_HOST service_description netbios-ssn-tcp-139 check_command check_tcp!139 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 5 notification_period 24x7 notification_options c,r contact_groups linux-admins } been using tcp port checks for many services including samba, mysql, imaps I don't think it's as good as checking for the sevices themselves but it does the job for now. ~ ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sergio-s-freire at ptinovacao.pt Wed Oct 16 19:28:59 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 16 Oct 2002 18:28:59 +0100 Subject: status map userlayout problems In-Reply-To: <3DAC5654.10316.1B2170A@localhost> References: <3DAC5654.10316.1B2170A@localhost> Message-ID: <1034789339.5160.7.camel@newyork.intra.cet.pt> Hi everyone! There is a problem in the generated image from statusmap.cgi: the max width and max height are always the same. If i change the parameter "canvas_width" it works fine for values less or equal than 100. If i use for example, canvas_width=400 it creates an image with width 100. The link i use is: http://mypc/nagios/cgi-bin/statusmap.cgi?host=all&createimage&canvas_width=100&layout=0 Any idea? I know that it must be a problem of statusmap.c.... Regards, Sergio Freire ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From doug.moore at ibill.com Wed Oct 16 19:44:07 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Wed, 16 Oct 2002 13:44:07 -0400 Subject: Any Nagat users out there? Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635A7@mail01.ibill.com> Anybody using Nagat with Nagios? http://sourceforge.net/projects/nagat I have it up and running and all "seems" ok. But need to know if anyone here has used it with many services and hosts. Prblms? Toss it, its junk? comments please I also notice it doesn't seem to put my "contact_group" info into the services.cfg file even though it shows up as an already defined field. fyi, it will overwrite all your cfg files, so backup all .cfg files if you plan to use it! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 19:45:52 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 12:45:52 -0500 Subject: Checking Samba Message-ID: >From "./check_procs -h": [snip] -C, --command=COMMAND Only scan for exact matches to the named COMMAND. [end snip] > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Wednesday, October 16, 2002 11:26 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking Samba > > > HI there, > > Which plug-in, if any, will check if the Samba daemon is > running on a UNIX > system? Thanks. > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From japh at ip.pt Wed Oct 16 20:06:06 2002 From: japh at ip.pt (Paulo Pinto) Date: Wed, 16 Oct 2002 19:06:06 +0100 Subject: Service Dependencies "wildcarding" error ? References: Message-ID: <000a01c2753e$b2fccf90$1500a8c0@powerstation> Ok, my mistake. I've just upgraded from 1.0b5 to 1.0b6 and the wildcards on service dependencies work as expected. To Jim Carroll: If you want to be ... hmm .. a bit paranoid about the tests, I'd suggest you to run something like NSClient (windows) or netsaint_statd (*nix) on the client machines and then check for the availability of your NRPE daemon (using check_named_proc or similar). On the other hand, to make things a *LOT* easier, just choose one of your NRPE checked services, nominate it as your 'master' service and make all the other NRPE checked services dependent of it. At least, if the daemon fails, you'll get only one notification. I wouldn't go for check_tcp ... I personally don't like the idea :) (sometimes, a returned banner isn't a proof that the service is healthy ... ) Hugz all. ----- Original Message ----- From: Carroll, Jim P [Contractor] To: 'Paulo Pinto' ; Scott ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 4:26 PM Subject: RE: [Nagios-users] Service Dependencies "wildcarding" error ? Paulo, that looks like an excellent scenario to streamline! At some point I'll be trying my hand at service dependencies. Here's the scenario I hope to streamline: - host1 is running NRPE - nrpe.cfg has several tests configured - most other hosts will be similarly configured with NRPE - some hosts will be running a superset of the NRPE definitions Risk in this scenario: if the NRPE daemon is down and Nagios starts checking those services, naturally it will fail for each and every NRPE service test defined. Goal: If NRPE is down, be notified that NRPE is down. Silence on all the NRPE tests. Actually, I wouldn't mind some input on one aspect of setting this up. I'm torn between making one of the NRPE tests the service depended on by the other NRPE tests (for a given host), versus just using check_tcp to verify that the NRPE daemon is up and listening. Thoughts anyone? jc -----Original Message----- From: Paulo Pinto [mailto:japh at ip.pt] Sent: Wednesday, October 16, 2002 7:07 AM To: Scott; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? Hi. Imagine the following scenario: - 2 web servers, with 50 Vhosts each. - 1 Alteon webswitch, virtualizing the 50 Vhosts - Nagios is monitoring the 150 webservices. A failed service gets notified by SMS. Now, without service dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go down, you get 150SMS. WITH service dependencies, you can make your webtests depend on the RealServers status on the Alteon... if 1 webserver goes down, you get 1 SMS, if both go down you got 2 sms. That's why :-) Anyway, I've already seen in the changelog that wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see if it works :-) Hugz all. ----- Original Message ----- From: Scott To: Paulo Pinto ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 11:32 AM Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it? ----- Original Message ----- From: Paulo Pinto To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 15, 2002 11:00 AM Subject: [Nagios-users] Service Dependencies "wildcarding" error ? Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.moore at ibill.com Wed Oct 16 20:19:04 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Wed, 16 Oct 2002 14:19:04 -0400 Subject: Any Nagat users out there? Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635A9@mail01.ibill.com> Not built-into the program from what I can tell. you would have to define the access levels via apache. Nagat is just php code that allows a more "friendly" interface for adding info to the config files. Makes it easy on those who don't "vim/vi". :) Also it holds all the nagios cfg info in a master file. So regen of any .cfg file is easy to accomplish. I am having some problems with Nagat properly putting in my "contact_groups" info. Posting to their user forum as I type this. hope this helps. -----Original Message----- From: Theo Hollenberg [mailto:thollenberg at planet.nl] Sent: Wednesday, October 16, 2002 1:53 PM To: doug.moore at ibill.com Subject: RE: [Nagios-users] Any Nagat users out there? I'm planning on giving it a try. Does Nagat support multiple access levels? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of doug.moore at ibill.com Sent: woensdag 16 oktober 2002 19:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any Nagat users out there? Anybody using Nagat with Nagios? http://sourceforge.net/projects/nagat I have it up and running and all "seems" ok. But need to know if anyone here has used it with many services and hosts. Prblms? Toss it, its junk? comments please I also notice it doesn't seem to put my "contact_group" info into the services.cfg file even though it shows up as an already defined field. fyi, it will overwrite all your cfg files, so backup all .cfg files if you plan to use it! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 20:21:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 13:21:06 -0500 Subject: Monitoring NFS Mounts Message-ID: Ah, now we're getting to the crux of the problem. :) [soapbox] I'm not trying to give you a hard time; I'm trying to illustrate to others that it's best to present the macro view of the problem rather than the micro view of the problem. By the same token, it's not helpful if one throws their entire problem over the fence, hoping that the list will solve their problems magically. [end soapbox] Options as I see it: - check_disk + NRPE - check_disk + NSCA - Nagios statd - check_disk + have Nagios server NFS mount remote host There are probably other approaches. I'd personally lean towards the first option. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Wednesday, October 16, 2002 11:42 AM > To: 'Subhendu Ghosh' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Monitoring NFS Mounts > > > What I'm looking to do is monitor the disk space usage of the > NFS mounts. > Will the check_rpc plug-in used in conjunction with the > check_disk plug-in > do the trick? > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, October 15, 2002 9:34 PM > To: Jamin > Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring NFS Mounts > > > check_rpc -h > > NFS, nfslock, nis are all RPC programs > > -sg > > On Tue, 15 Oct 2002, Jamin wrote: > > > Possibly. If you can find out which udp ports the mounts > are connected > > via, you could probably write a plugin. (or use the > check_udp plugin) > > > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > > > I don't know if this topic has been discussed, but is > there a way to > monitor > > > NFS mounts on a system? > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ---------------------------------------------------------------------- > > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > > > > ---------------------------------------------------------------------- > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 20:36:57 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 13:36:57 -0500 Subject: Paint-by-numbers Message-ID: You've brought up a couple of excellent points which I'd like to address. 1. Writing docs is often a thankless task. I know I've tried my hand at it, and tried to 'remove' myself far enough to ask myself what a newbie to the things I've had my hands all over would want to know. The deeper you get into the technology, the harder it is to recall everything that you wanted to put in the docs. 2. Spelling/grammar boo-boos. It's been a while since I've scoured the Nagios docs, but I do recall finding a couple mistakes here and there. Assuming I find them, what's the best process for me to submit corrections? Honestly, the Nagios documentation is one thing which *really* impressed me. The impressive features had a little bit to do with it, too. ;) jc > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Tuesday, October 15, 2002 11:59 PM > To: nagios-users > Subject: Re: [Nagios-users] RE: Paint-by-numbers > > > I might as well through my 2 cents into this little discussion. Here > goes... > > To say that the Nagios docs are among the worst out there for open > source network apps probably isn't true. Check out other monitoring > apps on SourceForge and have a look at their documentation sometime. > To say that it sucks for new users is probably very true though. > Nagios has a high learning curve. > > I wrote about 95% of the current documentation and hated every second > of it. In fact, the only thing I hate more than reading > documentation is writing it. Writing 1-2-3 "paint by numbers" > documentation would be nice for new users to have (if they read it), > but I can't really be the one to do it. I'm so far removed from > knowing what a newbie's perspective is that it wouldn't do me much > good to try anyway. Developers don't usually write docs for end > users because they (a) are too close to the product and (b) probably > lack basic "grammir skillz" brought on by caffeine overdose and sleep > deprivation. Both apply to me. > > If the documentation is lacking, people need to step up and > contribute. That's how things get done. In this case, people who > have just reached the "aha" stage of the learning curve should be > writing the docs for newbies. Something to think about if you just > got Nagios up and running... > > BTW, I do think "A Paint-By-Numbers Guide To Installing Nagios" is a > great title for new documentation. :-) > > > > On 15 Oct 2002 at 13:51, Carroll, Jim P [Contractor] wrote: > > > My first comment is one of administrivia. Please do not > change the Subject, > > as it breaks software which organizes mailing lists by > subject thread. > > > > > >You also say that Nagios is poorly documented (for) "the > > > common user)." > > > >Maybe I'm missing something, but Nagios appears (to me) to > > > be targetted for > > > >installation by an experienced UNIX/Linux systems > > > administrator, not the > > > >common user. > > > > > > But you have to admit, even the experienced admin guy > > > scratches his head > > > over it > > > from time to time. > > > > I scratch my head because I'm doing "what if" scenarios in > my head. And you > > know what the solution to this is? Just do it. > > > > > >One of the problems of the "paint-by-numbers" approach is > > > that everyone > > > ends > > > >up with the same picture. Want sample config files? > > > They're there. Want > > > >more examples/suggestions? That's what this mailing list is for. > > > > > > Paint-by-number for common tasks is a big "time saver". I for > > > one don't want > > > to be working 60hr weeks cause it is taking me hours and > hours to get > > > something "simple" configured that if I had a basic "blue > > > print" would have > > > cut the time by 1/2. > > > > 1. The "blue print" here is called "documentation". It > exists. And it > > works. > > > > 2. If you're working 60hr weeks to get a basic > configuration of Nagios to > > work, perhaps you're in over your head. Even half of that, > 30 hours, is far > > too much time to be spending on something as a rudimentary > configuration of > > Nagios. > > > > > If the paint-by-numbers method is not good, then all the > user manuals > > > written over the past 30+yrs are incorrect and should be > scrapped. :) > > > > I've yet to see a paint-by-numbers manual in my 14 years as > a UNIX systems > > administrator. You must be thinking about a book on how to paint by > > numbers. > > > > > This list is fantastic. Without this list, it would be almost > > > impossible for > > > new Nagios users to get the product up and running in a > > > somewhat timely > > > fashion. > > > > New Nagios users? Or new to UNIX/Linux systems administration? An > > executive in a company doesn't need to know the first thing > about the > > Bourne/bash shell, but equipped with a web browser on a > functional (and > > properly configured) computer, this executive could login > to Nagios and > > browse. > > > > > >Looking for help configuring Apache? That's not really what > > > Nagios or this > > > >mailing list is about, but you might find someone > willing to help you > > > there. > > > > > > Would be great to have a "top 10" problems U might encounter > > > installing > > > nagios with Apache. I would consider this almost a must. > without a web > > > server Nagios is worthless. It shouldn't be a 700 page repeat > > > of apache > > > docs, but a happy medium > > > > Hint: http://www.apache.org/ > > > > > >Looking for help configuring Sendmail so you can get your > > > notifications? > > > >Again, that's not really what Nagios/this mailing list is > > > about, but you > > > >might find someone (like myself) willing to help out. > > > > > > Again, having a "top 10" problems or providing a basic config > > > as part of the > > > docs or a supplemental doc would be a great time saver. > > > Sendmail is probably > > > used by 70%+ of users to send out notifications > > > > Don't get me started on Sendmail. Or DNS/BIND. Or how to > build a firewall. > > These are all subjects which take a modest amount of effort > to understand > > and configure properly. If given a boilerplate example > based on a number of > > assumptions, it will invariably lead the majority of > newbies to "it didn't > > work/it broke/etc". Then you're back into the loop of "what's your > > configuration, what are you trying to do, etc." Many times > a person will > > say what they're trying to accomplish at the micro level, > while trying to > > obscure what they're trying to accomplish in the big > picture. (I know, > > because I've caught myself doing this very thing.) In the > final analysis, > > these examples that I suspect you're looking for will lead > you to believe > > that it can only be done the one way. I urge you to go > back and *slowly* > > read over the documentation. (I say this, because I know > I'm the impatient > > type, when it comes to getting something as powerful as > Nagios up and > > running; I tend to skim lightly over what the salient > points appear to be, > > and if it doesn't work, drill down a bit at a time. > Patience is a virtue.) > > > > As someone else has suggested, if you're not happy with the current > > documentation, you're more than welcome to write up your > own and either > > offer it here, or ask Ethan to host it on his site. > > > > > >Nagios is vast, of that there is no doubt. If you feel > > > you're qualified to > > > >do the installation, then by all means, hang in there; > > > frustration is a > > > sign > > > >that success is just around the corner. :) > > > > > > You are correct, the amount of info supplied with Nagios > is vast. But > > > without more paint-by-numbers examples, new users to the > > > product don't know > > > what to ask for or how to ask it. They become frustrated and > > > "give up". > > > > It sounds as if you have some statistics (of newcomers to > Nagios) to back up > > your claim. Please share with the list. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Deborah.Ellis at bea.com Wed Oct 16 20:33:04 2002 From: Deborah.Ellis at bea.com (Deborah Ellis) Date: Wed, 16 Oct 2002 14:33:04 -0400 Subject: [Fwd: nrpe error] Message-ID: <3DADB0E0.85AE66EC@beasys.com> Deborah Ellis wrote: > Hi, > I am having problems with nrpe. I have nagios running on linux 7.1 and would like to monitor things such as disks, users load and processes on an AIX box. I compiled nrpe on the AIX box and made all > the file additions as per the README file, i.e inetd.conf, /etc/services. I restarted inetd. I also made the necessary modifications to the checkcommand.cfg and services.cfg file on the nagios host > machine. I started the nrpe daemon on the remote machine, /sbin/nrpe -d /usr/local/nagios/nrpe.cfg. However I keep getting errors on the remote machine: > sh:/usr/local/nagios/libexec/check_load:0403-006 Execute permission denied > I also get the following error on the nagios host machine: > xec/check_load 5 10 15 20 25 30 > I do not get the requested information from the remote machine, just end of the command from the nrpe.cfg file on the remote machine. > Do I need to compile nagiosplugins on the remote machine? I just copied the plugins from the nagios host machine onto /usr/local/nagios/libexec directory. I am missing some important piece to this > puzzle. > > I would appreciate any help that I can receive on the problem. Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: Deborah.Ellis.vcf Type: text/x-vcard Size: 180 bytes Desc: Card for Deborah Ellis URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 16 21:26:11 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Oct 2002 15:26:11 -0400 Subject: Getting the icons to work on the Map Message-ID: <5593DA408212D511B0910002A513501F01D28790@phsexch20.mgh.harvard.edu> Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 21:29:11 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 14:29:11 -0500 Subject: Service Dependencies "wildcarding" error ? Message-ID: Hmm. Alright, my response: - if I were to install netsaint_statd, that would a) increase the complexity of the installations, b) check for the existence of the NRPE daemon without validating whether the daemon is even listening to the port - increasing complexity where we don't have root on a number of our hosts, as well as requiring yet another firewall rule to be pushed... I'm not too keen on that - I'm a big fan of the KISS principle - assuming I stick with the KISS principle, then sticking with the NRPE paradigm across all platforms (which includes NSClient for Windows) will improve the happiness quotient at the end of the day But you're making some good arguments in favour of sticking with one NRPE as the 'master' service for that host. I don't mind using check_tcp, because it at least validates that *something* is listening on the desired port. I was just now thinking about creating a dummy test which always returns 0 (eg, /bin/true), but then again, it's a bit silly to repeatedly test for that. (Or is it?) Now I just need to decide which of the many monitored NRPE services should be The One. Perhaps the better solution is to make a request that a future release of NRPE allow for a rudimentary handshake verification, a built-in test, if you will...? The test could be called check_null. After some more pondering, a variation on this theme would involve /bin/echo, thusly (in nrpe.cfg): command[check_serial]=/bin/echo "42" This could serve the function of 'master'. It could also serve as a way of tracking which version (or date-last-modified) of nrpe.cfg that you have on that host. Food for thought. Don't mind me, I'm just thinking out loud. :) jc -----Original Message----- From: Paulo Pinto [mailto:japh at ip.pt] Sent: Wednesday, October 16, 2002 1:06 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? Ok, my mistake. I've just upgraded from 1.0b5 to 1.0b6 and the wildcards on service dependencies work as expected. To Jim Carroll: If you want to be ... hmm .. a bit paranoid about the tests, I'd suggest you to run something like NSClient (windows) or netsaint_statd (*nix) on the client machines and then check for the availability of your NRPE daemon (using check_named_proc or similar). On the other hand, to make things a *LOT* easier, just choose one of your NRPE checked services, nominate it as your 'master' service and make all the other NRPE checked services dependent of it. At least, if the daemon fails, you'll get only one notification. I wouldn't go for check_tcp ... I personally don't like the idea :) (sometimes, a returned banner isn't a proof that the service is healthy ... ) Hugz all. ----- Original Message ----- From: Carroll, Jim P [Contractor] To: 'Paulo Pinto' ; Scott ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 4:26 PM Subject: RE: [Nagios-users] Service Dependencies "wildcarding" error ? Paulo, that looks like an excellent scenario to streamline! At some point I'll be trying my hand at service dependencies. Here's the scenario I hope to streamline: - host1 is running NRPE - nrpe.cfg has several tests configured - most other hosts will be similarly configured with NRPE - some hosts will be running a superset of the NRPE definitions Risk in this scenario: if the NRPE daemon is down and Nagios starts checking those services, naturally it will fail for each and every NRPE service test defined. Goal: If NRPE is down, be notified that NRPE is down. Silence on all the NRPE tests. Actually, I wouldn't mind some input on one aspect of setting this up. I'm torn between making one of the NRPE tests the service depended on by the other NRPE tests (for a given host), versus just using check_tcp to verify that the NRPE daemon is up and listening. Thoughts anyone? jc -----Original Message----- From: Paulo Pinto [mailto:japh at ip.pt] Sent: Wednesday, October 16, 2002 7:07 AM To: Scott; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? Hi. Imagine the following scenario: - 2 web servers, with 50 Vhosts each. - 1 Alteon webswitch, virtualizing the 50 Vhosts - Nagios is monitoring the 150 webservices. A failed service gets notified by SMS. Now, without service dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go down, you get 150SMS. WITH service dependencies, you can make your webtests depend on the RealServers status on the Alteon... if 1 webserver goes down, you get 1 SMS, if both go down you got 2 sms. That's why :-) Anyway, I've already seen in the changelog that wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see if it works :-) Hugz all. ----- Original Message ----- From: Scott To: Paulo Pinto ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 16, 2002 11:32 AM Subject: Re: [Nagios-users] Service Dependencies "wildcarding" error ? how canb a service be dependant on all services like this? wouldnt you just have a host dependancy and be done with it? ----- Original Message ----- From: Paulo Pinto To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 15, 2002 11:00 AM Subject: [Nagios-users] Service Dependencies "wildcarding" error ? Hi all. I'm trying to setup service dependencies. In my case, I want ALL services in host A to be dependent of service SERVICE on host B. So, I've configured dependencies.cfg like this: define servicedependency{ host_name HOST-B service_description SERVICE dependent_host_name HOST-A dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } Guess what: $ /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg (...) Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! Error: Dependent service specified in service dependency for service '*' on host 'HOST-A' is not defined anywhere! (...) I'm using Nagios 1.0b5, btw Any hints ? Hugz, Japh -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 16 21:36:42 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 12:36:42 -0700 (PDT) Subject: Getting the icons to work on the Map In-Reply-To: <5593DA408212D511B0910002A513501F01D28790@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28790@phsexch20.mgh.harvard.edu> Message-ID: <20021016193642.2698.qmail@web21502.mail.yahoo.com> Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote:Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 16 21:35:11 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 12:35:11 -0700 (PDT) Subject: Paint-by-numbers In-Reply-To: References: Message-ID: <20021016193511.79919.qmail@web21510.mail.yahoo.com> Yes all good points, but if we can get someone to a write a basic 1-2-3 it'll greatly help the new users. The Documention is great once you have a good base of how things are added/created/polled... Basically the FAQ page needs more information added to it, and it'd be nice if it was able to search the docs for specific commands for syntax and stuff. I'd take a stab at it, but I don't know how to read... :) "Carroll, Jim P [Contractor]" wrote:You've brought up a couple of excellent points which I'd like to address. 1. Writing docs is often a thankless task. I know I've tried my hand at it, and tried to 'remove' myself far enough to ask myself what a newbie to the things I've had my hands all over would want to know. The deeper you get into the technology, the harder it is to recall everything that you wanted to put in the docs. 2. Spelling/grammar boo-boos. It's been a while since I've scoured the Nagios docs, but I do recall finding a couple mistakes here and there. Assuming I find them, what's the best process for me to submit corrections? Honestly, the Nagios documentation is one thing which *really* impressed me. The impressive features had a little bit to do with it, too. ;) jc > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Tuesday, October 15, 2002 11:59 PM > To: nagios-users > Subject: Re: [Nagios-users] RE: Paint-by-numbers > > > I might as well through my 2 cents into this little discussion. Here > goes... > > To say that the Nagios docs are among the worst out there for open > source network apps probably isn't true. Check out other monitoring > apps on SourceForge and have a look at their documentation sometime. > To say that it sucks for new users is probably very true though. > Nagios has a high learning curve. > > I wrote about 95% of the current documentation and hated every second > of it. In fact, the only thing I hate more than reading > documentation is writing it. Writing 1-2-3 "paint by numbers" > documentation would be nice for new users to have (if they read it), > but I can't really be the one to do it. I'm so far removed from > knowing what a newbie's perspective is that it wouldn't do me much > good to try anyway. Developers don't usually write docs for end > users because they (a) are too close to the product and (b) probably > lack basic "grammir skillz" brought on by caffeine overdose and sleep > deprivation. Both apply to me. > > If the documentation is lacking, people need to step up and > contribute. That's how things get done. In this case, people who > have just reached the "aha" stage of the learning curve should be > writing the docs for newbies. Something to think about if you just > got Nagios up and running... > > BTW, I do think "A Paint-By-Numbers Guide To Installing Nagios" is a > great title for new documentation. :-) > > > > On 15 Oct 2002 at 13:51, Carroll, Jim P [Contractor] wrote: > > > My first comment is one of administrivia. Please do not > change the Subject, > > as it breaks software which organizes mailing lists by > subject thread. > > > > > >You also say that Nagios is poorly documented (for) "the > > > common user)." > > > >Maybe I'm missing something, but Nagios appears (to me) to > > > be targetted for > > > >installation by an experienced UNIX/Linux systems > > > administrator, not the > > > >common user. > > > > > > But you have to admit, even the experienced admin guy > > > scratches his head > > > over it > > > from time to time. > > > > I scratch my head because I'm doing "what if" scenarios in > my head. And you > > know what the solution to this is? Just do it. > > > > > >One of the problems of the "paint-by-numbers" approach is > > > that everyone > > > ends > > > >up with the same picture. Want sample config files? > > > They're there. Want > > > >more examples/suggestions? That's what this mailing list is for. > > > > > > Paint-by-number for common tasks is a big "time saver". I for > > > one don't want > > > to be working 60hr weeks cause it is taking me hours and > hours to get > > > something "simple" configured that if I had a basic "blue > > > print" would have > > > cut the time by 1/2. > > > > 1. The "blue print" here is called "documentation". It > exists. And it > > works. > > > > 2. If you're working 60hr weeks to get a basic > configuration of Nagios to > > work, perhaps you're in over your head. Even half of that, > 30 hours, is far > > too much time to be spending on something as a rudimentary > configuration of > > Nagios. > > > > > If the paint-by-numbers method is not good, then all the > user manuals > > > written over the past 30+yrs are incorrect and should be > scrapped. :) > > > > I've yet to see a paint-by-numbers manual in my 14 years as > a UNIX systems > > administrator. You must be thinking about a book on how to paint by > > numbers. > > > > > This list is fantastic. Without this list, it would be almost > > > impossible for > > > new Nagios users to get the product up and running in a > > > somewhat timely > > > fashion. > > > > New Nagios users? Or new to UNIX/Linux systems administration? An > > executive in a company doesn't need to know the first thing > about the > > Bourne/bash shell, but equipped with a web browser on a > functional (and > > properly configured) computer, this executive could login > to Nagios and > > browse. > > > > > >Looking for help configuring Apache? That's not really what > > > Nagios or this > > > >mailing list is about, but you might find someone > willing to help you > > > there. > > > > > > Would be great to have a "top 10" problems U might encounter > > > installing > > > nagios with Apache. I would consider this almost a must. > without a web > > > server Nagios is worthless. It shouldn't be a 700 page repeat > > > of apache > > > docs, but a happy medium > > > > Hint: http://www.apache.org/ > > > > > >Looking for help configuring Sendmail so you can get your > > > notifications? > > > >Again, that's not really what Nagios/this mailing list is > > > about, but you > > > >might find someone (like myself) willing to help out. > > > > > > Again, having a "top 10" problems or providing a basic config > > > as part of the > > > docs or a supplemental doc would be a great time saver. > > > Sendmail is probably > > > used by 70%+ of users to send out notifications > > > > Don't get me started on Sendmail. Or DNS/BIND. Or how to > build a firewall. > > These are all subjects which take a modest amount of effort > to understand > > and configure properly. If given a boilerplate example > based on a number of > > assumptions, it will invariably lead the majority of > newbies to "it didn't > > work/it broke/etc". Then you're back into the loop of "what's your > > configuration, what are you trying to do, etc." Many times > a person will > > say what they're trying to accomplish at the micro level, > while trying to > > obscure what they're trying to accomplish in the big > picture. (I know, > > because I've caught myself doing this very thing.) In the > final analysis, > > these examples that I suspect you're looking for will lead > you to believe > > that it can only be done the one way. I urge you to go > back and *slowly* > > read over the documentation. (I say this, because I know > I'm the impatient > > type, when it comes to getting something as powerful as > Nagios up and > > running; I tend to skim lightly over what the salient > points appear to be, > > and if it doesn't work, drill down a bit at a time. > Patience is a virtue.) > > > > As someone else has suggested, if you're not happy with the current > > documentation, you're more than welcome to write up your > own and either > > offer it here, or ask Ethan to host it on his site. > > > > > >Nagios is vast, of that there is no doubt. If you feel > > > you're qualified to > > > >do the installation, then by all means, hang in there; > > > frustration is a > > > sign > > > >that success is just around the corner. :) > > > > > > You are correct, the amount of info supplied with Nagios > is vast. But > > > without more paint-by-numbers examples, new users to the > > > product don't know > > > what to ask for or how to ask it. They become frustrated and > > > "give up". > > > > It sounds as if you have some statistics (of newcomers to > Nagios) to back up > > your claim. Please share with the list. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Wed Oct 16 21:48:53 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Oct 2002 15:48:53 -0400 Subject: Getting the icons to work on the Map Message-ID: <5593DA408212D511B0910002A513501F01D28791@phsexch20.mgh.harvard.edu> No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then used the TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with the email. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 3:37 PM To: Kaplan, Andrew H. Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting the icons to work on the Map Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote: Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Untitled.txt URL: From jens.bergmann at nordcom.net Wed Oct 16 21:31:57 2002 From: jens.bergmann at nordcom.net (Jens Bergmann) Date: Wed, 16 Oct 2002 21:31:57 +0200 Subject: Citrix plugin References: Message-ID: <005101c2754c$91a48dc0$0b01a8c0@homebase> Stefan Hanssen wrote: > # $Log: check_cit,v $ > # Revision 1.6 2002-10-03 16:16:44+10 anwsmh old version ... get 1.7 (see attached file) Jens -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_cit.txt URL: From jlyons30 at yahoo.com Wed Oct 16 22:07:51 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 13:07:51 -0700 (PDT) Subject: Getting the icons to work on the Map In-Reply-To: <5593DA408212D511B0910002A513501F01D28791@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28791@phsexch20.mgh.harvard.edu> Message-ID: <20021016200751.57678.qmail@web21504.mail.yahoo.com> I have in my cfg.cgi file; nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg and in hostextinfo.cfg I use templates since I have lots of devices... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D drawing coordinate 3d_coords 20.0,7.0,0.0 ; 3-D drawing coordinates } "Kaplan, Andrew H." wrote:No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then usedthe TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with theemail. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 3:37 PM To: Kaplan, Andrew H. Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting the icons to work on the Map Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote: Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.comFrom: root [root at ahk] Sent: Wednesday, October 16, 2002 11:47 AM To: Kaplan, Andrew H. define hostextinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,19 } define hostexinfo{ host_name icon_image win40.png icon_image_alt Windows vrml_image win40.png statusmap_image win40.gd2 2d_coords 200,18 } define hostexinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,17 } --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary.Every at ingramentertainment.com Wed Oct 16 22:04:18 2002 From: Gary.Every at ingramentertainment.com (Gary.Every at ingramentertainment.com) Date: Wed, 16 Oct 2002 15:04:18 -0500 Subject: Paint-by-numbers Message-ID: <309419457839D4119E0D00508B6DFE0B0828E0BF@iei-lavergne.mdf.lvrgn.nexus> Let's put this thread to bed. If you don't think the documentation is up-to-snuff, quit whining, spend one tenth the hours that Ethan has put into this project, and write the documentation yourself, then submit it for approval. With your discerning eye, I'm sure you can easily make a reasonably deep, very configurable Open Source Project (which, by the way is working very well in many installations of varying sizes) simple for Joe Blow-wanna-be-administrator that's too lazy to read more than the INSTALL and README files from the distribution tar-ball, and expect something that explicitly states that plug-ins and custom configuration are pre-requisites to the software working in the first place, to work out-of-the-box. There are literally hundreds to thousands of companies/corporations using this software. If you want a paint-by-numbers hand-holding, HP OpenView has installation and support contracts you can purchase. Also, at $195/hour, you can call M$oft and get support - oh, wait, I guess you can't!!! Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 "Pay It Forward" mailto:gary.every at ingramentertainment.com http://accessingram.com -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 2:35 PM To: Carroll, Jim P [Contractor]; 'Ethan Galstad'; nagios-users Subject: RE: [Nagios-users] RE: Paint-by-numbers Yes all good points, but if we can get someone to a write a basic 1-2-3 it'll greatly help the new users. The Documention is great once you have a good base of how things are added/created/polled... Basically the FAQ page needs more information added to it, and it'd be nice if it was able to search the docs for specific commands for syntax and stuff. I'd take a stab at it, but I don't know how to read... :) "Carroll, Jim P [Contractor]" wrote: You've brought up a couple of excellent points which I'd like to address. 1. Writing docs is often a thankless task. I know I've tried my hand at it, and tried to 'remove' myself far enough to ask myself what a newbie to the things I've had my hands all over would want to know. The deeper you get into the technology, the harder it is to recall everything that you wanted to put in the docs. 2. Spelling/grammar boo-boos. It's been a while since I've scoured the Nagios docs, but I do recall finding a couple mistakes here and there. Assuming I find them, what's the best process for me to submit corrections? Honestly, the Nagios documentation is one thing which *really* impressed me. The impressive features had a little bit to do with it, too. ;) jc > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] ! > Sent: Tuesday, October 15, 2002 11:59 PM > To: nagios-users > Subject: Re: [Nagios-users] RE: Paint-by-numbers > > > I might as well through my 2 cents into this little discussion. Here > goes... > > To say that the Nagios docs are among the worst out there for open > source network apps probably isn't true. Check out other monitoring > apps on SourceForge and have a look at their documentation sometime. > To say that it sucks for new users is probably very true though. > Nagios has a high learning curve. > > I wrote about 95% of the current documentation and hated every second > of it. In fact, the only thing I hate more than reading > documentation is writing it. Writing 1-2-3 "paint by numbers" > documentation would be nice for new users to have (if they read it), > but I can't really be the one to do it. I'm so far removed from > knowing wh! at a newbie's perspective is that it wouldn't do me much > good to try anyway. Developers don't usually write docs for end > users because they (a) are too close to the product and (b) probably > lack basic "grammir skillz" brought on by caffeine overdose and sleep > deprivation. Both apply to me. > > If the documentation is lacking, people need to step up and > contribute. That's how things get done. In this case, people who > have just reached the "aha" stage of the learning curve should be > writing the docs for newbies. Something to think about if you just > got Nagios up and running... > > BTW, I do think "A Paint-By-Numbers Guide To Installing Nagios" is a > great title for new documentation. :-) > > > > On 15 Oct 2002 at 13:51, Carroll, Jim P [Contractor] wrote: > > > My first comment is one of administrivia. Please do not > chang! e the Subject, > > as it breaks software which organizes mailing lists by > subject thread. > > > > > >You also say that Nagios is poorly documented (for) "the > > > common user)." > > > >Maybe I'm missing something, but Nagios appears (to me) to > > > be targetted for > > > >installation by an experienced UNIX/Linux systems > > > administrator, not the > > > >common user. > > > > > > But you have to admit, even the experienced admin guy > > > scratches his head > > > over it > > > from time to time. > > > > I scratch my head because I'm doing "what if" scenarios in > my head. And you > > know what the solution to this is? Just do it. > > > > > >One of the problems of the "paint-by-numbers" approach is > > > that every! one > > > ends > > > >up with the same picture. Want sample config files? > > > They're there. Want > > > >more examples/suggestions? That's what this mailing list is for. > > > > > > Paint-by-number for common tasks is a big "time saver". I for > > > one don't want > > > to be working 60hr weeks cause it is taking me hours and > hours to get > > > something "simple" configured that if I had a basic "blue > > > print" would have > > > cut the time by 1/2. > > > > 1. The "blue print" here is called "documentation". It > exists. And it > > works. > > > > 2. If you're working 60hr weeks to get a basic > configuration of Nagios to > > work, perhaps you're in over your head. Even half of that, > 30 hours, is far > > too much time to be spending on ! something as a rudimentary > configuration of > > Nagios. > > > > > If the paint-by-numbers method is not good, then all the > user manuals > > > written over the past 30+yrs are incorrect and should be > scrapped. :) > > > > I've yet to see a paint-by-numbers manual in my 14 years as > a UNIX systems > > administrator. You must be thinking about a book on how to paint by > > numbers. > > > > > This list is fantastic. Without this list, it would be almost > > > impossible for > > > new Nagios users to get the product up and running in a > > > somewhat timely > > > fashion. > > > > New Nagios users? Or new to UNIX/Linux systems administration? An > > executive in a company doesn't need to know the first thing > about the > > Bourne/bash shell, but equippe! d with a web browser on a > functional (and > > properly configured) computer, this executive could login > to Nagios and > > browse. > > > > > >Looking for help configuring Apache? That's not really what > > > Nagios or this > > > >mailing list is about, but you might find someone > willing to help you > > > there. > > > > > > Would be great to have a "top 10" problems U might encounter > > > installing > > > nagios with Apache. I would consider this almost a must. > without a web > > > server Nagios is worthless. It shouldn't be a 700 page repeat > > > of apache > > > docs, but a happy medium > > > > Hint: http://www.apache.org/ > > > > > >Looking for help configuring Sendmail so you can get your > > > notifications? &g! t; > > >Again, that's not really what Nagios/this mailing list is > > > about, but you > > > >might find someone (like myself) willing to help out. > > > > > > Again, having a "top 10" problems or providing a basic config > > > as part of the > > > docs or a supplemental doc would be a great time saver. > > > Sendmail is probably > > > used by 70%+ of users to send out notifications > > > > Don't get me started on Sendmail. Or DNS/BIND. Or how to > build a firewall. > > These are all subjects which take a modest amount of effort > to understand > > and configure properly. If given a boilerplate example > based on a number of > > assumptions, it will invariably lead the majority of > newbies to "it didn't > > work/it broke/etc". Then you're back into the loop of "what's your > &! gt; configuration, what are you trying to do, etc." Many times > a person will > > say what they're trying to accomplish at the micro level, > while trying to > > obscure what they're trying to accomplish in the big > picture. (I know, > > because I've caught myself doing this very thing.) In the > final analysis, > > these examples that I suspect you're looking for will lead > you to believe > > that it can only be done the one way. I urge you to go > back and *slowly* > > read over the documentation. (I say this, because I know > I'm the impatient > > type, when it comes to getting something as powerful as > Nagios up and > > running; I tend to skim lightly over what the salient > points appear to be, > > and if it doesn't work, drill down a bit at a time. > Patience is a virtue.) > > > > As someone else h! as suggested, if you're not happy with the current > > documentation, you're more than welcome to write up your > own and either > > offer it here, or ask Ethan to host it on his site. > > > > > >Nagios is vast, of that there is no doubt. If you feel > > > you're qualified to > > > >do the installation, then by all means, hang in there; > > > frustration is a > > > sign > > > >that success is just around the corner. :) > > > > > > You are correct, the amount of info supplied with Nagios > is vast. But > > > without more paint-by-numbers examples, new users to the > > > product don't know > > > what to ask for or how to ask it. They become frustrated and > > > "give up". > > > > It sounds as if you have some statistics (of newcomers to > Nagios) to back ! up > > your claim. Please share with the list. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v?> http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SMorilla at tipoiti.com Wed Oct 16 22:16:30 2002 From: SMorilla at tipoiti.com (Sergio Morilla) Date: Wed, 16 Oct 2002 17:16:30 -0300 Subject: SNMP how to? check_snmp plugin Message-ID: <7B73CD345A317D4D965ED9F3D1B5070705B5AD@bue-mail.tipoiti.com> I have this configuration in hosts.cfg define host{ use generic-host ; Name of host template to use host_name VG6425BUE alias VG6425BUE address 192.168.1.254 check_command check_snmp -H 192.168.1.254 -C public -o ifOperStatus.1 max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } When I run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I got Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 3 services. Checking hosts... Error: Host check command 'check_snmp -H 192.168.1.254 -C public -o ifOperStatus.1' specified for host 'VG6425BUE' is not defined anywhere! Checked 3 hosts. Checking host groups... Checked 3 host groups. Checking contacts... If i do ./check_snmp -H 192.168.1.254 -o ifOperStatus.1 SNMP OK - up(1) I works OK!! Why is it not recognizing the plugin??? Should I set up anything else for this to run?? Thanks Sergio D. Morilla Sistemas Tipoiti SATIC San Mart?n 647 Piso 2 Tel. : +54 11 4314-4482 C1004AAM - Buenos Aires Fax : +54 11 4508-6425 Argentina e-mail smorilla at tipoiti.com ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jlyons30 at yahoo.com Wed Oct 16 22:32:02 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 13:32:02 -0700 (PDT) Subject: Getting the icons to work on the Map In-Reply-To: <5593DA408212D511B0910002A513501F01D28792@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28792@phsexch20.mgh.harvard.edu> Message-ID: <20021016203202.15242.qmail@web21505.mail.yahoo.com> Sorry, it's in the cfg.cgi file, I've been doing 3-d coordinates(100+ to go..ugh!) all day and my brain is mush. "Kaplan, Andrew H." wrote:Jon, Did you mean the cgi.cfg file as opposed to the cfg.cgi file? I have the former, but not the latter file.-----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:08 PM To: Kaplan, Andrew H. Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Getting the icons to work on the Map I have in my cfg.cgi file; nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg and in hostextinfo.cfg I use templates since I have lots of devices... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D drawing coordinate 3d_coords 20.0,7.0,0.0 ; 3-D drawing coordinates } "Kaplan, Andrew H." wrote: No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then usedthe TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with theemail. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 3:37 PM To: Kaplan, Andrew H. Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting the icons to work on the Map Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote: Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.comFrom: root [root at ahk] Sent: Wednesday, October 16, 2002 11:47 AM To: Kaplan, Andrew H. define hostextinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,19 } define hostexinfo{ host_name icon_image win40.png icon_image_alt Windows vrml_image win40.png statusmap_image win40.gd2 2d_coords 200,18 } define hostexinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,17 } --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 16 22:42:07 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Oct 2002 13:42:07 -0700 (PDT) Subject: Getting the icons to work on the Map In-Reply-To: <5593DA408212D511B0910002A513501F01D28794@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28794@phsexch20.mgh.harvard.edu> Message-ID: <20021016204207.87700.qmail@web21509.mail.yahoo.com> No just change the path statement to whatever you path is to hostextinfo.cfg..I'm using FreeBSD 4.2 so the paths are all funky... :) "Kaplan, Andrew H." wrote:Thanks for the update Jon. As far as the file locations are concerned, my machine does not have a nagios directory or the hostextinfo.cfg and serviceextinfo.cfgfiles under /usr/local/etc. Can the directory be made via the mkdir command and the files created via the touch command or is there something else I need to do? -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:32 PM To: Kaplan, Andrew H. Cc: Subject: RE: [Nagios-users] Getting the icons to work on the Map Sorry, it's in the cfg.cgi file, I've been doing 3-d coordinates(100+ to go..ugh!) all day and my brain is mush. "Kaplan, Andrew H." wrote: Jon, Did you mean the cgi.cfg file as opposed to the cfg.cgi file? I have the former, but not the latter file.-----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:08 PM To: Kaplan, Andrew H. Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Getting the icons to work on the Map I have in my cfg.cgi file; nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg and in hostextinfo.cfg I use templates since I have lots of devices... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D drawing coordinate 3d_coords 20.0,7.0,0.0 ; 3-D drawing coordinates } "Kaplan, Andrew H." wrote: No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then usedthe TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with theemail. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 3:37 PM To: Kaplan, Andrew H. Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting the icons to work on the Map Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote: Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.comFrom: root [root at ahk] Sent: Wednesday, October 16, 2002 11:47 AM To: Kaplan, Andrew H. define hostextinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,19 } define hostexinfo{ host_name icon_image win40.png icon_image_alt Windows vrml_image win40.png statusmap_image win40.gd2 2d_coords 200,18 } define hostexinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,17 } --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie at bclnz.net Wed Oct 16 23:00:39 2002 From: jamie at bclnz.net (Jamie) Date: Thu, 17 Oct 2002 10:00:39 +1300 Subject: 3D World References: <3DAC5654.10316.1B2170A@localhost> <1034762953.2409.17.camel@newyork.intra.cet.pt> Message-ID: <000401c27557$16d6b6d0$b58031ca@bcl977307> Hi, 3. How to convert a PNG to GD2 correctly?? Noone seems to explain this...When using pngtogd2 its required to specify the chunk size.. what value should i use? I just want to use a normal image as background... -> I just use (for example) png2gd2 router.png router.gd2 0 2 (i.e 0 chunk size uncompressed) jamie ----- Original Message ----- From: "Sergio Freire" To: "Ethan Galstad" Cc: "nagios-users" Sent: Wednesday, October 16, 2002 11:09 PM Subject: RE: [Nagios-users] 3D World > Ethan, all, > > Im having problems with user-defined layout in statusmap so some > questions arise: > > 1. The background image doesn't appear in full size - its cropped! in > fact the statusmap always generates an image of 100 pixels wide. Why > does the statusmap keep generating an image of that size, even if the > background is not defined? > 2. Why has the background to be in GD2 format?? Could'nt it be a > GIF,JPEG or other? > 3 How to convert a PNG to GD2 correctly?? Noone seems to explain > this...When using pngtogd2 its required to specify the chunk size.. what > value should i use? I just want to use a normal image as background... > > PS: I have already tried the updated statusmap from CVS but the errir > described in point number 1 keeps existing... > > Regards, > Sergio Freire > > > On Tue, 2002-10-15 at 23:54, Ethan Galstad wrote: > > There are some definite bugs in the CGI, which I must have created > > recently. These include: > > > > 1) User-defined layout always failed, regardless of whether coords > > were specified or not > > 2) Z-coordinate in auto-layout modes was incorrectly taken from user- > > supplied coords (if available) > > > > Fixes for both of these issues are now in CVS, so you might want to > > give that a try. > > > > > > > > On 15 Oct 2002 at 9:29, Carroll, Jim P [Contractor] wrote: > > > > > >From the docs describing the 3d_coords directive: > > > > > > "This variable is used to define coordinates to use when drawing the host in > > > the statuswrl CGI. Coordinates can be positive or negative real numbers. The > > > origin for drawing is (0.0,0.0,0.0). For reference, the size of the host > > > cubes drawn is 0.5 units on each side (text takes a little more space). The > > > coordinates you specify here are used as the center of the host cube." > > > > > > Unless I missed something, this means that this specifies the X,Y,Z > > > coordinates of the image, and that the size of the image is a constant. > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Louie Cagasan [mailto:fireant at zpdee.net] > > > > Sent: Monday, October 14, 2002 10:29 PM > > > > To: Carroll, Jim P [Contractor] > > > > Cc: 'Jon Lyons'; chris_lockwood at ckeurope.com; > > > > nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] 3D World > > > > > > > > > > > > Well, from what I understand about it in the docs, the coords you > > > > specify for a node there don't exactly mean its position on > > > > the map, but > > > > something like the size of the icon you'll use for that node. And the > > > > layout there means how the nodes are "laid out" onscreen. > > > > > > > > Using user-defined layout in the status map doesn't work for > > > > me: I don't > > > > see all the nodes I specified. Oh well, as long as I see the whole map > > > > of my whole network, that's just fine with me. =) > > > > > > > > > > > > On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote: > > > > > Verrrry interesting. Mine was set to "0", so I went > > > > through the ranks... > > > > > 4... 3... 2... all of those work, no problem. This is where I say, > > > > > "Hooray!" I'm puzzling why it doesn't work for > > > > user-defined co-ordinates, > > > > > but this will likely make my job simpler. > > > > > > > > > > Thanks for the tip! > > > > > > > > > > jc > > > > > > > > > > -----Original Message----- > > > > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > > > > Sent: Monday, October 14, 2002 5:27 PM > > > > > To: Louie Cagasan; Carroll, Jim P [Contractor] > > > > > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net > > > > > Subject: RE: [Nagios-users] 3D World > > > > > > > > > > > > > > > > > > > > Are you sure it's working?? Did you change > > > > "default-statuswrl_layout=0" ?I > > > > > bet you're still on auto(4).. :) My 2d maps work fine with > > > > my coords, but > > > > > the 3d maps just give the error... > > > > > > > > > > > > > > > Louie Cagasan wrote: > > > > > > > > > > > > > > > Hi Jim/Chris, > > > > > > > > > > Try this one. I have this in my hostextinfo.cfg: > > > > > Just make sure you declared this in your cgi.cfg, like: > > > > > > > > > > xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg > > > > > > > > > > or something like that, then below is the entries for your > > > > > hostextinfo.cfg. > > > > > > > > > > define hostextinfo{ > > > > > host_name NOCswitch > > > > > vrml_image ng-switch40.png > > > > > icon_image ng-switch40.gif > > > > > vrml_image ng-switch40.jpg > > > > > statusmap_image ng-switch40.gd2 > > > > > 2d_coords 200,400 > > > > > 3d_coords 50.0,100.0,50.0 > > > > > } > > > > > > > > > > This works for me. And the "no dots" rule is, > > > > > well, a rule. You can vary the values in the coords as well. > > > > > > > > > > hth. > > > > > -------------------------------------------------------------------- > > > > > > > > > > I never did get this working. The common response is "make > > > > sure you = > > > > > don't > > > > > have dots in your hostnames", which I don't. > > > > > > > > > > VRML works, but Cortona does start; it comes! up with "You > > > > have not = > > > > > supplied > > > > > any 3-D drawing coordinates. Read the FAQs for more information on = > > > > > doing > > > > > this." > > > > > > > > > > Not to say this can't be done, but I've largely given up on > > > > making it = > > > > > work > > > > > (for now). > > > > > > > > > > I'll be migrating Nagios to another server, so maybe when I have a = > > > > > 'bare > > > > > bones' config set up, I'll try the 3-D Status Map again, > > > > just to see = > > > > > whether > > > > > it works at all. If I have an 'aha!' moment, I'll share it with = > > > > > everyone. > > > > > ;) > > > > > > > > > > jc > > > > > > > > > > > -----Original Message----- > > > > > > From: Chris at lockwood.fsnet.co.uk > > > > [mailto:Chris at lockwood.fsnet.co.uk] > > > > > > Sent: Monday, October 14, 2002 2:53 AM > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > Cc: chris.lockwood at ckeurope.com > > > > > > Subject: [Nagios-users] 3D World > > > > > >=20 > > > > > >=20 > > > > > > I'm having problems with the 3D world configuration, > > > > everything else > > > > > > seems to work (excellent program). The 2D status map > > > > seems to take = > > > > > the > > > > > > coordinate! s I have inputted, but the 3D version is > > > > having non of it. > > > > > >=20 > > > > > > At this point it may be worth mentioning that I did not use the: > > > > > >=20 > > > > > > --with-template-objects > > > > > >=20 > > > > > > argument when I compiled, however having said that the 2D Map=20 > > > > > > works ok. > > > > > > I realize its not the end of the world but I'd really like to=20 > > > > > > have full > > > > > > functionality, so I can show of to my manager :-) > > > > > >=20 > > > > > > Thanks all > > > > > >=20 > > > > > > Chris L > > > > > >=20 > > > > > >=20 > > > > > >=20 > > > > > > ____________________________________________ > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > > > > > > > > > _____ > > > > > > > > > > Do you Yahoo!? > > > > > Faith Hill - Exclusive > > > > Performances, Videos, & > > > > > more > > > > > faith.yahoo.com > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > Ethan Galstad, > > Nagios Developer > > --- > > Email: nagios at nagios.org > > Website: http://www.nagios.org > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anders at jblinux.net Wed Oct 16 23:03:11 2002 From: anders at jblinux.net (Anders Nerheim) Date: 16 Oct 2002 23:03:11 +0200 Subject: SNMP how to? check_snmp plugin In-Reply-To: <7B73CD345A317D4D965ED9F3D1B5070705B5AD@bue-mail.tipoiti.com> References: <7B73CD345A317D4D965ED9F3D1B5070705B5AD@bue-mail.tipoiti.com> Message-ID: <1034802191.3610.10.camel@aten> have you added check_snmp to your checkcommands.cfg? like define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o $ARG1$ } > I have this configuration in hosts.cfg > > define host{ > use generic-host ; Name of host template to use > > host_name VG6425BUE > alias VG6425BUE > address 192.168.1.254 > check_command check_snmp -H 192.168.1.254 -C public -o ifOperStatus.1 > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > When I run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > I got > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 3 services. > Checking hosts... > Error: Host check command 'check_snmp -H 192.168.1.254 -C public -o ifOperStatus.1' specified for host 'VG6425BUE' is not defined anywhere! > Checked 3 hosts. > Checking host groups... > Checked 3 host groups. > Checking contacts... > > If i do > > ./check_snmp -H 192.168.1.254 -o ifOperStatus.1 > SNMP OK - up(1) > > I works OK!! > > Why is it not recognizing the plugin??? Should I set up anything else for this to run?? > > Thanks > > Sergio D. Morilla > Sistemas > > Tipoiti SATIC > San Mart?n 647 Piso 2 Tel. : +54 11 4314-4482 > C1004AAM - Buenos Aires Fax : +54 11 4508-6425 > Argentina e-mail smorilla at tipoiti.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From SMorilla at tipoiti.com Wed Oct 16 23:17:56 2002 From: SMorilla at tipoiti.com (Sergio Morilla) Date: Wed, 16 Oct 2002 18:17:56 -0300 Subject: SNMP how to? check_snmp plugin Message-ID: <7B73CD345A317D4D965ED9F3D1B507072B03AB@bue-mail.tipoiti.com> I?ve done so, but the error persists. Thanks > -----Mensaje original----- > De: Anders Nerheim [mailto:anders at jblinux.net] > Enviado el: Wednesday, October 16, 2002 18:03 > Para: Sergio Morilla > CC: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] SNMP how to? check_snmp plugin > > > have you added check_snmp to your checkcommands.cfg? > like > > > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ > -C public -o > $ARG1$ > } > > > > > I have this configuration in hosts.cfg > > > > define host{ > > use generic-host ; > Name of host template to use > > > > host_name VG6425BUE > > alias VG6425BUE > > address 192.168.1.254 > > check_command check_snmp -H 192.168.1.254 > -C public -o ifOperStatus.1 > > max_check_attempts 20 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > When I run /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > > > I got > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 3 services. > > Checking hosts... > > Error: Host check command 'check_snmp -H 192.168.1.254 -C > public -o ifOperStatus.1' specified for host 'VG6425BUE' is > not defined anywhere! > > Checked 3 hosts. > > Checking host groups... > > Checked 3 host groups. > > Checking contacts... > > > > If i do > > > > ./check_snmp -H 192.168.1.254 -o ifOperStatus.1 > > SNMP OK - up(1) > > > > I works OK!! > > > > Why is it not recognizing the plugin??? Should I set up > anything else for this to run?? > > > > Thanks > > > > Sergio D. Morilla > > Sistemas > > > > Tipoiti SATIC > > San Mart?n 647 Piso 2 Tel. : +54 11 4314-4482 > > C1004AAM - Buenos Aires Fax : +54 11 4508-6425 > > Argentina e-mail > smorilla at tipoiti.com > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anders at jblinux.net Wed Oct 16 23:25:52 2002 From: anders at jblinux.net (Anders Nerheim) Date: 16 Oct 2002 23:25:52 +0200 Subject: SNMP how to? check_snmp plugin In-Reply-To: <7B73CD345A317D4D965ED9F3D1B507072B03AB@bue-mail.tipoiti.com> References: <7B73CD345A317D4D965ED9F3D1B507072B03AB@bue-mail.tipoiti.com> Message-ID: <1034803553.3610.13.camel@aten> send me your checkcommands.cfg hosts.cfg services.cfg On Wed, 2002-10-16 at 23:17, Sergio Morilla wrote: > I?ve done so, but the error persists. > > Thanks > > > -----Mensaje original----- > > De: Anders Nerheim [mailto:anders at jblinux.net] > > Enviado el: Wednesday, October 16, 2002 18:03 > > Para: Sergio Morilla > > CC: nagios-users at lists.sourceforge.net > > Asunto: Re: [Nagios-users] SNMP how to? check_snmp plugin > > > > > > have you added check_snmp to your checkcommands.cfg? > > like > > > > > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ > > -C public -o > > $ARG1$ > > } > > > > > > > > > I have this configuration in hosts.cfg > > > > > > define host{ > > > use generic-host ; > > Name of host template to use > > > > > > host_name VG6425BUE > > > alias VG6425BUE > > > address 192.168.1.254 > > > check_command check_snmp -H 192.168.1.254 > > -C public -o ifOperStatus.1 > > > max_check_attempts 20 > > > notification_interval 60 > > > notification_period 24x7 > > > notification_options d,u,r > > > } > > > > > > When I run /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg > > > > > > I got > > > Reading configuration data... > > > > > > Running pre-flight check on configuration data... > > > > > > Checking services... > > > Checked 3 services. > > > Checking hosts... > > > Error: Host check command 'check_snmp -H 192.168.1.254 -C > > public -o ifOperStatus.1' specified for host 'VG6425BUE' is > > not defined anywhere! > > > Checked 3 hosts. > > > Checking host groups... > > > Checked 3 host groups. > > > Checking contacts... > > > > > > If i do > > > > > > ./check_snmp -H 192.168.1.254 -o ifOperStatus.1 > > > SNMP OK - up(1) > > > > > > I works OK!! > > > > > > Why is it not recognizing the plugin??? Should I set up > > anything else for this to run?? > > > > > > Thanks > > > > > > Sergio D. Morilla > > > Sistemas > > > > > > Tipoiti SATIC > > > San Mart?n 647 Piso 2 Tel. : +54 11 4314-4482 > > > C1004AAM - Buenos Aires Fax : +54 11 4508-6425 > > > Argentina e-mail > > smorilla at tipoiti.com > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From George.Miscioscia at Ticketmaster.com Wed Oct 16 23:38:04 2002 From: George.Miscioscia at Ticketmaster.com (George Miscioscia) Date: Wed, 16 Oct 2002 14:38:04 -0700 Subject: check_snmp plugin for redhat linux Message-ID: I have searched all over and cannot locate the check_snmp plugin for redhat. Can someone pleasse point me in the right direction? thanks in advance. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Wed Oct 16 23:50:01 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Oct 2002 16:50:01 -0500 Subject: SNMP how to? check_snmp plugin Message-ID: Don't define check_snmp in hosts.cfg, use the out-of-the-box check-host-alive, unless the host you're trying to monitor doesn't permit ICMP (ping) traffic through. Remember that hosts.cfg is for defining the hosts you want to monitor, and services.cfg is for defining the services you want to monitor. You don't define a service in hosts.cfg. (As a general rule, but if you're not trying to work around firewall rules, this won't be an issue for you.) Next, create the appropriate entry in services.cfg for this host. The check_command line should look something like: check_command check_snmp!ifOperStatus.1 The details of configuring this entry are left as an exercise to the reader. ;) jc > -----Original Message----- > From: Sergio Morilla [mailto:SMorilla at tipoiti.com] > Sent: Wednesday, October 16, 2002 4:18 PM > To: Anders Nerheim > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP how to? check_snmp plugin > > > I?ve done so, but the error persists. > > Thanks > > > -----Mensaje original----- > > De: Anders Nerheim [mailto:anders at jblinux.net] > > Enviado el: Wednesday, October 16, 2002 18:03 > > Para: Sergio Morilla > > CC: nagios-users at lists.sourceforge.net > > Asunto: Re: [Nagios-users] SNMP how to? check_snmp plugin > > > > > > have you added check_snmp to your checkcommands.cfg? > > like > > > > > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ > > -C public -o > > $ARG1$ > > } > > > > > > > > > I have this configuration in hosts.cfg > > > > > > define host{ > > > use generic-host ; > > Name of host template to use > > > > > > host_name VG6425BUE > > > alias VG6425BUE > > > address 192.168.1.254 > > > check_command check_snmp -H 192.168.1.254 > > -C public -o ifOperStatus.1 > > > max_check_attempts 20 > > > notification_interval 60 > > > notification_period 24x7 > > > notification_options d,u,r > > > } > > > > > > When I run /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg > > > > > > I got > > > Reading configuration data... > > > > > > Running pre-flight check on configuration data... > > > > > > Checking services... > > > Checked 3 services. > > > Checking hosts... > > > Error: Host check command 'check_snmp -H 192.168.1.254 -C > > public -o ifOperStatus.1' specified for host 'VG6425BUE' is > > not defined anywhere! > > > Checked 3 hosts. > > > Checking host groups... > > > Checked 3 host groups. > > > Checking contacts... > > > > > > If i do > > > > > > ./check_snmp -H 192.168.1.254 -o ifOperStatus.1 > > > SNMP OK - up(1) > > > > > > I works OK!! > > > > > > Why is it not recognizing the plugin??? Should I set up > > anything else for this to run?? > > > > > > Thanks > > > > > > Sergio D. Morilla > > > Sistemas > > > > > > Tipoiti SATIC > > > San Mart?n 647 Piso 2 Tel. : +54 11 4314-4482 > > > C1004AAM - Buenos Aires Fax : +54 11 4508-6425 > > > Argentina e-mail > > smorilla at tipoiti.com > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anders at jblinux.net Thu Oct 17 00:15:01 2002 From: anders at jblinux.net (Anders Nerheim) Date: 17 Oct 2002 00:15:01 +0200 Subject: check_snmp plugin for redhat linux In-Reply-To: References: Message-ID: <1034806501.3610.27.camel@aten> it's in the plugin package. sure you got ucd-snmp & Net::SNMP? what does the configure script in the nagiosplug dir say about 'snmp' when you run it? On Wed, 2002-10-16 at 23:38, George Miscioscia wrote: > I have searched all over and cannot locate the check_snmp plugin for redhat. > Can someone pleasse point me in the right direction? > > thanks in advance. > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From lnogueira at omstelecom.com.br Wed Oct 16 21:53:10 2002 From: lnogueira at omstelecom.com.br (Luiz Gustavo Rohwedder Nogueira) Date: 16 Oct 2002 17:53:10 -0200 Subject: TRAPS....NET-SNMP In-Reply-To: References: Message-ID: <1034797994.906.23.camel@adelaide.omstel.com.br> I have the same problem. I need to manage some switches and routers, and I want to receive alerts when this machines send any trap to my Nagios machine. I'm able to receive the traps, but I don't know how to put this into Nagios. Unfortunately, from the example in the documentation I've got I little confused. If anybody has already done this, I would appreciate your help. Thanks, Luiz Gustavo Em Qua, 2002-10-16 ?s 13:03, Planett - escreveu: > > I am receveing Traps with Net-SNMP. How do I see this traps in the Nagios? > I read the documentation and it's confused. I have installed the plugin > (nsca), but i can't view > this traps in the nagios. > I use this to management swtiches and routers, not servers. > > > Fernando > > > > _________________________________________________________________ > MSN Messenger: converse com os seus amigos online. > http://messenger.msn.com.br > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From sghosh at sghosh.org Thu Oct 17 00:42:53 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Oct 2002 18:42:53 -0400 (EDT) Subject: Monitoring NFS Mounts In-Reply-To: <5593DA408212D511B0910002A513501F01D2878B@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D2878B@phsexch20.mgh.harvard.edu> Message-ID: check_disk on a system (NFS client or server). If both client and server are remote from the nagios host, then you need nrpe or another remote execution method. -sg On Wed, 16 Oct 2002, Kaplan, Andrew H. wrote: > What I'm looking to do is monitor the disk space usage of the NFS mounts. > Will the check_rpc plug-in used in conjunction with the check_disk plug-in > do the trick? > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, October 15, 2002 9:34 PM > To: Jamin > Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring NFS Mounts > > > check_rpc -h > > NFS, nfslock, nis are all RPC programs > > -sg > > On Tue, 15 Oct 2002, Jamin wrote: > > > Possibly. If you can find out which udp ports the mounts are connected > > via, you could probably write a plugin. (or use the check_udp plugin) > > > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > > > I don't know if this topic has been discussed, but is there a way to > monitor > > > NFS mounts on a system? > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ---------------------------------------------------------------------- > > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > > > ---------------------------------------------------------------------- > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > > consolidator/osdn.cfm > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From George.Miscioscia at Ticketmaster.com Thu Oct 17 00:58:20 2002 From: George.Miscioscia at Ticketmaster.com (George Miscioscia) Date: Wed, 16 Oct 2002 15:58:20 -0700 Subject: check_snmp plugin for redhat linux Message-ID: I had net-snmp installed but not ucd-snmp. After the reconfig, it's there. Thanks! -----Original Message----- From: Anders Nerheim [mailto:anders at jblinux.net] Sent: Wednesday, October 16, 2002 3:15 PM To: George Miscioscia Cc: Nagios-Users (E-mail) Subject: Re: [Nagios-users] check_snmp plugin for redhat linux it's in the plugin package. sure you got ucd-snmp & Net::SNMP? what does the configure script in the nagiosplug dir say about 'snmp' when you run it? On Wed, 2002-10-16 at 23:38, George Miscioscia wrote: > I have searched all over and cannot locate the check_snmp plugin for redhat. > Can someone pleasse point me in the right direction? > > thanks in advance. > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From carlos at datacolo.com Thu Oct 17 01:56:03 2002 From: carlos at datacolo.com (Carlos Rego) Date: Wed, 16 Oct 2002 19:56:03 -0400 Subject: Premature end of script headers: Message-ID: Hi I have installed nagios on a linux servers runnign H-Sphere (Suexec enabled) when i try to check on a Monitoring Script .. I get (example) Premature end of script headers: /hsphere/local/home/wwwuser/nagios.datacolo.com/sbin/status.cgi that' s it .. no other error msg's .. I try changing the permissions to 755 due to suexec, but same error .. any ideas ? :( -- Carlos Rego, carlos at datacolo.com on 10/16/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From carlos at datacolo.com Thu Oct 17 03:29:30 2002 From: carlos at datacolo.com (Carlos Rego) Date: Wed, 16 Oct 2002 21:29:30 -0400 Subject: Problems Using MYSQL DB Message-ID: When I start Nagios, I get the following in the LOG file [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1034817387] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! but I DO have those settings set in th cgi.cfg xsddb_host=localhost xsddb_port=3306 xsddb_username=nagios xsddb_password=xxxxx xsddb_database=nagios and I commented out status_file=/ in the main file .. what can I be doign wrong ? :( .. when I go to Nagios it says "Error: Could not read host and service status information!" (I assuem it's related) -- Carlos Rego, carlos at datacolo.com on 10/16/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jduraisw at smtp.aed.org Wed Oct 16 23:06:01 2002 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Wed, 16 Oct 2002 17:06:01 -0400 Subject: help Message-ID: I am getting the following error, could you please tell me a work around. Thanks John [root at gold nagiosplug-1.3-beta1]# make all cd . && /usr/bin/aclocal cd . && /usr/bin/automake --gnu Makefile automake: configure.in: `AM_INIT_AUTOMAKE' must be used automake: your implementation of AM_INIT_AUTOMAKE comes from an automake: old Automake version. You should recreate aclocal.m4 automake: with aclocal and run automake again. make: *** [Makefile.in] Error 1 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sghosh at sghosh.org Thu Oct 17 04:26:02 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Oct 2002 22:26:02 -0400 (EDT) Subject: TRAPS....NET-SNMP In-Reply-To: <1034797994.906.23.camel@adelaide.omstel.com.br> References: <1034797994.906.23.camel@adelaide.omstel.com.br> Message-ID: It depends on the trap type that you are interested in. For link/up downtraps you may want a single passive service check specially for routers unless you also have active checks on a per interface basis. link up/down traps for switches are generally a bad idea if they are end distribution switches that users are plugged into. You might want to look at the newRoot or topologyChange traps from Spanning Tree for switches. -sg On 16 Oct 2002, Luiz Gustavo Rohwedder Nogueira wrote: > I have the same problem. I need to manage some switches and routers, and > I want to receive alerts when this machines send any trap to my Nagios > machine. I'm able to receive the traps, but I don't know how to put this > into Nagios. > Unfortunately, from the example in the documentation I've got I little > confused. > If anybody has already done this, I would appreciate your help. > > Thanks, > > Luiz Gustavo > > Em Qua, 2002-10-16 ?s 13:03, Planett - escreveu: > > > > I am receveing Traps with Net-SNMP. How do I see this traps in the Nagios? > > I read the documentation and it's confused. I have installed the plugin > > (nsca), but i can't view > > this traps in the nagios. > > I use this to management swtiches and routers, not servers. > > > > > > Fernando > > > > > > > > _________________________________________________________________ > > MSN Messenger: converse com os seus amigos online. > > http://messenger.msn.com.br > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From karl at debisschop.net Thu Oct 17 06:49:05 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 17 Oct 2002 00:49:05 -0400 Subject: help In-Reply-To: References: Message-ID: <1034830146.1089.20.camel@miles.debisschop.net> On Wed, 2002-10-16 at 17:06, John Duraiswamy wrote: > I am getting the following error, could you please tell me a work > around. > > Thanks > John > > > > [root at gold nagiosplug-1.3-beta1]# make all > cd . && /usr/bin/aclocal > cd . && /usr/bin/automake --gnu Makefile > automake: configure.in: `AM_INIT_AUTOMAKE' must be used > automake: your implementation of AM_INIT_AUTOMAKE comes from an > automake: old Automake version. You should recreate aclocal.m4 > automake: with aclocal and run automake again. > make: *** [Makefile.in] Error 1 You should recreate aclocal.m4 with aclocal and run automake again All you typically need to do is cd ~/nagiosplug (or wherever your CVS module is written) and type 'aclocal', just like the message says. As far as I can figure, aclocal should not have been part of the CVS tree, and was removed (yesterday). Let us know if that doesn't work. -- Karl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From whiatt at upstanding.com Thu Oct 17 07:43:14 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Wed, 16 Oct 2002 22:43:14 -0700 Subject: MRTG/Nagios Intergration Message-ID: <1363CF56CD255F448CEA231C4A63254B010575@exch-be-01.upstanding.com> Hi all! I'm in the process of integrating Nagios with MRTG. My goal is to have Nagios supply MRTG with the necessary information, and then MRTG will create a graph from that. First off here's my questions: 1) Is anybody doing this today? If so, can you provide some hints and/or configuration files? 2) Would RRDTOOL be better for this purpose? (I know absolutely NOTHING about RRDTOOL or the RRDtool database format) Thanks william ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From rico at noris.net Thu Oct 17 08:40:43 2002 From: rico at noris.net (Rico Gloeckner) Date: Thu, 17 Oct 2002 08:40:43 +0200 Subject: Setting up e-mail notifications. In-Reply-To: ; from jcarro10@sprintspectrum.com on Wed, Oct 16, 2002 at 11:01:51AM -0500 References: Message-ID: <20021017084042.A5088@noris.de> On Wed, Oct 16, 2002 at 11:01:51AM -0500, Carroll, Jim P [Contractor] wrote: > I'm having a quick look at RH Linux 7.3 right now, and it includes micq, a > command line interface to ICQ. I've not played with it, so YMMV. If it > doesn't do exactly what you want, you might want to try wrapping it in an > expect script. > > Other than that, you might want to browse Sourceforge or Freshmeat to see > what possible AIM/ICQ/MSN/YM/etc programs exist which support input from the > command line. (If I personally saw benefit to this approach, I'd be > investigating it. But paging/SMS work fine for what I/we need. :) Personally, i wouldnt trust ICQ or any other IM since they send Messages unencrypted and via a server which is not controlled by me. My personal Preference would be to use Jabber; set up an own jabberd (http://www.jabber.org/admin/adminguide.html), use one of the very basic HighLevel Libs (Net::Jabber for example) and code a simple Program which just sends the Message (feel free to use as Prototype) or even better, use Headline Support. Advantages: Jabber was designed for more then IM, so you have way more Possibilities to develop good Frontends for it; User->Server Encryption can be enabled; You can easily install your own Jabber-Server, making it unreachable for the world; There are already Dozens of Clients for every Platform, the Coders dont need to rev-engineer the Protocol. I actually would already have written something for plugging Nagios into Jabber, but i didnt have any time until yet. ;-( -rg (aka ) ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Stefan.Hanssen at baerum.kommune.no Thu Oct 17 09:09:43 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Thu, 17 Oct 2002 09:09:43 +0200 Subject: Nagios host up, but all services critical ? Message-ID: A comm.link just fell down, and a server nagios monitors failed all checks. But in Tactical overview the host was UP ? But all services failed..... What is the criteria for listing a host as down ? Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Stefan.Hanssen at baerum.kommune.no Thu Oct 17 09:27:05 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Thu, 17 Oct 2002 09:27:05 +0200 Subject: Another check_snmp question. Message-ID: I get the following error trying to run check_snmp [nagios at monitor libexec]$ ./check_snmp --? ./check_snmp: /bin: is a directory ./check_snmp: check_breeze: command not found ./check_snmp: check_breeze: command not found ./check_snmp: check_breeze: command not found ./check_snmp: check_breeze: command not found ./check_snmp: check_breeze: command not found ./check_snmp: line 7: syntax error near unexpected token `(c' ./check_snmp: line 7: ` * Copyright (c) 1999 Ethan Galstad (nagios at nagios.org)' [nagios at monitor libexec]$ I have verified i have check_breeze, and i also have ucd-snmp installed. ucd-snmp-4.2.4-3 ucd-snmp-utils-4.2.4-3 I get this error trying to run check_breeze [nagios at monitor libexec]$ ./check_breeze Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 50. Execution of ./check_breeze aborted due to compilation errors. [nagios at monitor libexec]$ Anyone got a clue as to what i have done wrong ? Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sean.knox at sbcglobal.net Thu Oct 17 11:23:27 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 17 Oct 2002 02:23:27 -0700 Subject: RRD Tool integration; ANOUNCE! References: <9EA0F1554816EB499A4B1136B80E8DE2780346@storevis.datavis.se> Message-ID: <3DAE818F.9030906@sbcglobal.net> Hi Fredrik, I believe I followed the README directions (well obviously not, or I wouldn't be writing this :)), however the apan service check reports "No perf-definition for service." What did I miss? Sean Fredrik W?nglund wrote: >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give feedback to me.... > > > >- > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sergio-s-freire at ptinovacao.pt Thu Oct 17 11:20:59 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 17 Oct 2002 10:20:59 +0100 Subject: Setting up e-mail notifications. In-Reply-To: <20021017084042.A5088@noris.de> References: <20021017084042.A5088@noris.de> Message-ID: <1034846459.7701.13.camel@newyork.intra.cet.pt> Hello. I have made one plugin for IM notification using Jabber so you can be notified in MSN,ICQ,AIM,etc.. Where to should i post it? into the plugins mailing list? Regards, Sergio Freire On Thu, 2002-10-17 at 07:40, Rico Gloeckner wrote: > On Wed, Oct 16, 2002 at 11:01:51AM -0500, Carroll, Jim P [Contractor] wrote: > > I'm having a quick look at RH Linux 7.3 right now, and it includes micq, a > > command line interface to ICQ. I've not played with it, so YMMV. If it > > doesn't do exactly what you want, you might want to try wrapping it in an > > expect script. > > > > Other than that, you might want to browse Sourceforge or Freshmeat to see > > what possible AIM/ICQ/MSN/YM/etc programs exist which support input from the > > command line. (If I personally saw benefit to this approach, I'd be > > investigating it. But paging/SMS work fine for what I/we need. :) > > Personally, i wouldnt trust ICQ or any other IM since they send Messages > unencrypted and via a server which is not controlled by me. > > My personal Preference would be to use Jabber; set up an own jabberd > (http://www.jabber.org/admin/adminguide.html), use one of the very basic > HighLevel Libs (Net::Jabber for example) and code a simple Program > which just sends the Message (feel free to use as > Prototype) or even better, use Headline Support. > > Advantages: Jabber was designed for more then IM, so you have way more > Possibilities to develop good Frontends for it; User->Server Encryption > can be enabled; You can easily install your own Jabber-Server, making it > unreachable for the world; There are already Dozens of Clients for every > Platform, the Coders dont need to rev-engineer the Protocol. > > I actually would already have written something for plugging Nagios into > Jabber, but i didnt have any time until yet. ;-( > > > -rg > (aka ) > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From rico at noris.net Thu Oct 17 11:34:38 2002 From: rico at noris.net (Rico Gloeckner) Date: Thu, 17 Oct 2002 11:34:38 +0200 Subject: Setting up e-mail notifications. In-Reply-To: <1034846459.7701.13.camel@newyork.intra.cet.pt>; from sergio-s-freire@ptinovacao.pt on Thu, Oct 17, 2002 at 10:20:59AM +0100 References: <20021017084042.A5088@noris.de> <1034846459.7701.13.camel@newyork.intra.cet.pt> Message-ID: <20021017113438.E5088@noris.de> On Thu, Oct 17, 2002 at 10:20:59AM +0100, Sergio Freire wrote: > I have made one plugin for IM notification using Jabber so you can be > notified in MSN,ICQ,AIM,etc.. > Where to should i post it? into the plugins mailing list? Cool :-)) Can you put it on a HTTP/FTP Site and post the URL here? I guess, if you give it Ethan, he will be willing to put it in Nagios contrib/, too. -rg ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Fredrik.Wanglund at datavis.se Thu Oct 17 12:04:48 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 17 Oct 2002 12:04:48 +0200 Subject: MRTG/Nagios Intergration Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780354@storevis.datavis.se> I am working on a project 'Apan' that integrates RRD-Tool with Nagios The project can be fount at apan.sourceforge.net. /FredrikW -----Original Message----- From: Hiatt, William [mailto:whiatt at upstanding.com] Sent: Thu 17-Oct-02 07:43 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] MRTG/Nagios Intergration Hi all! I'm in the process of integrating Nagios with MRTG. My goal is to have Nagios supply MRTG with the necessary information, and then MRTG will create a graph from that. First off here's my questions: 1) Is anybody doing this today? If so, can you provide some hints and/or configuration files? 2) Would RRDTOOL be better for this purpose? (I know absolutely NOTHING about RRDTOOL or the RRDtool database format) Thanks william ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Fredrik.Wanglund at datavis.se Thu Oct 17 12:07:07 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 17 Oct 2002 12:07:07 +0200 Subject: RRD Tool integration; ANOUNCE! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780355@storevis.datavis.se> I am working on the docs at apan.sourceforge.net!!! I am sorry, but I have been out at one of our customers for two days, but now I'm back at my office and I will update the homepage as soon as possible... /FredrikW -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: Thu 17-Oct-02 11:23 To: Fredrik W?nglund Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RRD Tool integration; ANOUNCE! Hi Fredrik, I believe I followed the README directions (well obviously not, or I wouldn't be writing this :)), however the apan service check reports "No perf-definition for service." What did I miss? Sean Fredrik W?nglund wrote: >OK, its finally released. > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. >The project is called 'Apan' an can be found on > >www.sourceforge.net/projects/apan > >This is a _very_ early release, but give it a try, and give feedback to me.... > > > >- > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Fredrik.Wanglund at datavis.se Thu Oct 17 12:47:16 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 17 Oct 2002 12:47:16 +0200 Subject: Monitoring NFS Mounts Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780356@storevis.datavis.se> A have used nagios-statd for a while, and it works perfect for me. As a bonus you can use it for remote monitoring of other things too... /FredrikW -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Wed 16-Oct-02 20:21 To: 'Kaplan, Andrew H.'; 'Subhendu Ghosh' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Monitoring NFS Mounts Ah, now we're getting to the crux of the problem. :) [soapbox] I'm not trying to give you a hard time; I'm trying to illustrate to others that it's best to present the macro view of the problem rather than the micro view of the problem. By the same token, it's not helpful if one throws their entire problem over the fence, hoping that the list will solve their problems magically. [end soapbox] Options as I see it: - check_disk + NRPE - check_disk + NSCA - Nagios statd - check_disk + have Nagios server NFS mount remote host There are probably other approaches. I'd personally lean towards the first option. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Wednesday, October 16, 2002 11:42 AM > To: 'Subhendu Ghosh' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Monitoring NFS Mounts > > > What I'm looking to do is monitor the disk space usage of the > NFS mounts. > Will the check_rpc plug-in used in conjunction with the > check_disk plug-in > do the trick? > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, October 15, 2002 9:34 PM > To: Jamin > Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring NFS Mounts > > > check_rpc -h > > NFS, nfslock, nis are all RPC programs > > -sg > > On Tue, 15 Oct 2002, Jamin wrote: > > > Possibly. If you can find out which udp ports the mounts > are connected > > via, you could probably write a plugin. (or use the > check_udp plugin) > > > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > > > I don't know if this topic has been discussed, but is > there a way to > monitor > > > NFS mounts on a system? > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ---------------------------------------------------------------------- > > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > > > > ---------------------------------------------------------------------- > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Grae.Noble at newcastle.edu.au Thu Oct 17 13:54:29 2002 From: Grae.Noble at newcastle.edu.au (Grae Noble) Date: Thu, 17 Oct 2002 21:54:29 +1000 Subject: Where can I find check_wins.pl ? Message-ID: Hi All, is it just me or is anyone else having difficulty getting this file out of the zip in a usable format? The linefeeds seem to be stripped. Grae Noble Communication and Information Services, University Services Division University of Newcastle, NSW Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 Grae.Noble at newcastle.edu.au Room: CT216 >>> "Bishop, Dean" 10/17/02 02:12am >>> -----Original Message----- From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] Sent: Wednesday, October 16, 2002 11:42 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Where can I find check_wins.pl ? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From RippelD at hillsboroughcounty.org Thu Oct 17 14:03:53 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Thu, 17 Oct 2002 08:03:53 -0400 Subject: Where can I find check_wins.pl ? Message-ID: Attached version is fixed. >>> Grae Noble 10/17/02 07:54AM >>> Hi All, is it just me or is anyone else having difficulty getting this file out of the zip in a usable format? The linefeeds seem to be stripped. Grae Noble Communication and Information Services, University Services Division University of Newcastle, NSW Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 Grae.Noble at newcastle.edu.au Room: CT216 >>> "Bishop, Dean" 10/17/02 02:12am >>> -----Original Message----- From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] Sent: Wednesday, October 16, 2002 11:42 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Where can I find check_wins.pl ? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- A non-text attachment was scrubbed... Name: check_wins.tar Type: application/x-tar Size: 10240 bytes Desc: not available URL: From Marcus.Nilsson at Cannondale.com Thu Oct 17 14:19:56 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Thu, 17 Oct 2002 14:19:56 +0200 Subject: Missing check_dns, check_dhcp and check_hpjd plugins. Message-ID: Hi Where can I get the following plugins; check_dns, check_dhcp and check_hpjd ? >From what I can see they are not included in the nagiosplug-1.3-beta1.tar.gz package. I have searched google and source forge but cannot seem to find them. Thanks Marcus ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From RippelD at hillsboroughcounty.org Thu Oct 17 14:32:47 2002 From: RippelD at hillsboroughcounty.org (David Rippel) Date: Thu, 17 Oct 2002 08:32:47 -0400 Subject: Missing check_dns, check_dhcp and check_hpjd plugins. Message-ID: check_dns check_hpjd are under nagiosplug-1.3-beta1/plugins/ check_dhcp is under nagiosplug-1.3-beta1/contrib/ Check your output of ./configure more carefully - are you missing some of the prerequisites to compile these modules? It will usually warn you if this is the case. - David. >>> Marcus Nilsson 10/17/02 08:19AM >>> Hi Where can I get the following plugins; check_dns, check_dhcp and check_hpjd ? >From what I can see they are not included in the nagiosplug-1.3-beta1.tar.gz package. I have searched google and source forge but cannot seem to find them. Thanks Marcus ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sghosh at sghosh.org Thu Oct 17 16:35:09 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Oct 2002 10:35:09 -0400 (EDT) Subject: Another check_snmp question. In-Reply-To: References: Message-ID: On Thu, 17 Oct 2002, Stefan Hanssen wrote: > I get the following error trying to run check_snmp > > [nagios at monitor libexec]$ ./check_snmp --? > ./check_snmp: /bin: is a directory > ./check_snmp: check_breeze: command not found > ./check_snmp: check_breeze: command not found > ./check_snmp: check_breeze: command not found > ./check_snmp: check_breeze: command not found > ./check_snmp: check_breeze: command not found > ./check_snmp: line 7: syntax error near unexpected token `(c' > ./check_snmp: line 7: ` * Copyright (c) 1999 Ethan Galstad (nagios at nagios.org)' > [nagios at monitor libexec]$ > > > I have verified i have check_breeze, and i also have ucd-snmp installed. > ucd-snmp-4.2.4-3 > ucd-snmp-utils-4.2.4-3 > > I get this error trying to run check_breeze > > [nagios at monitor libexec]$ ./check_breeze > Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. > Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. > Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. > Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. > Global symbol "$opt_C" requires explicit package name at ./check_breeze line 50. > Execution of ./check_breeze aborted due to compilation errors. > [nagios at monitor libexec]$ > > > Anyone got a clue as to what i have done wrong ? > > Regards > > Stefan Hanssen > Looks like a misconfiguation or files being mangled. check_breeze is a perl script and check_snmp is compiled C program. There are no links between the two. They both make use of snmpget from the ucd-snmp/net-snmp rpms -- -sg ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From russell at quadrix.com Thu Oct 17 16:38:29 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 17 Oct 2002 10:38:29 -0400 Subject: Multiple Nagios Instances - CGI Patch for Nagios 1.0b6] Message-ID: <3DAECB65.6010400@quadrix.com> It was requested in the thread about Multiple instances of nagios that I repost the patch I made for having multiple instances of the CGI's without recompiling every time, so here it is. -Russell -------- Original Message -------- Subject: CGI Patch for Nagios 1.0b6 Date: Fri, 20 Sep 2002 11:52:09 -0400 From: Russell Scibetti Organization: Quadrix Solutions Inc. To: nagios-devel at lists.sourceforge.net, nagios-users at lists.sourceforge.net I previously submitted a patch file for Nagios1.0b3 that would allow for the CGI's to be truly portable, as in no need to reconfigure or remake whenever you wanted to move them or have multiple instances of the CGI's on the same box. What I did was added a method to the cgiutils.c class to get the location of the cgi.cfg file from an environment variable, NAGIOS_CGI_CONFIG. If there is no environment variable set, then it will do what Nagios currently does and use the hard-coded value in the locations.h file (created with you ran ./configure). The patch never made it to the 1.0b6 release, so I recreated it and attached it to this email. It's easy to run. All you have to do is, before you do a make (after ./configure), copy this patch file into the /nagios-1.0b6/cgi directory and type patch -p1 < nagios1.0b6-cgi.patch and it will edit the cgi's properly. Then to set the environment variable, you need to edit your httpd.conf. I know how to do this for Apache (you need version 1.3.7 or higher). Inside the Directory entry you made for the /nagios/cgi-bin path you add the line: SetEnv NAGIOS_CGI_CONFIG /usr/local/nagios/etc/cgi.cfg Obviously change the value to be wherever your cgi.cfg is located. So if you ahve multiple set of CGI's running on one box (like we do here), for each different Directory entry, set the environment variable appropriately and all the CGI's will work fine. This is the only hardcoded reference the CGI's use. Inside cgi.cfg is the location of the main cfg file (nagios.cfg), and the cgi's parse the rest of the information they need from there. Just make sure that you have all your directory and file settings set properly in the config files. I'd really like to see this change added to the distribution. It allows for CGI portability and it is completely backward compatible. If someone can let me know how I can go about having this added to the normal Nagios distribution, I'd really appreciate it. Thanks. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios1.0b6-cgi-1.patch URL: From Wibo.Lammerts at hmg.nl Thu Oct 17 17:31:21 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Thu, 17 Oct 2002 17:31:21 +0200 Subject: Request Message-ID: Hi all, I have a hard time getting the pictures in the status maps to work, so can can someone post his/hers cgi.cfg file so that I can see what I am doing wrong? TIA Wibo Lammerts Systems Engineering Holland Media Groep www.hmg.nl / www.rtl.nl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From dean.bishop at tcdsb.org Thu Oct 17 17:37:06 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 17 Oct 2002 11:37:06 -0400 Subject: Nagios check flow process Message-ID: k, so i am just preparing to brief the I.T. department here and created the attached flow chart. Any amendments?? thanks dean -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-process.jpg Type: image/jpeg Size: 87165 bytes Desc: not available URL: From MichaelS at mbasys.co.uk Thu Oct 17 17:50:15 2002 From: MichaelS at mbasys.co.uk (Michael Skelton) Date: Thu, 17 Oct 2002 16:50:15 +0100 Subject: Host Dependencies Message-ID: Hi all. I'm fairly new to Nagios, but so far I've managed to configure everything by reading the documentation and through a bit of trial and error. I have now hit my first and probably not my last problem. I am monitoring a fully meshed network, i.e. switch 3 connects to switch 1 and switch 2 to get to switch 4. Therefore if switch 1 fails switch 3 can still connect to switch 4 through switch 2. I want to configure host dependencies so switch 3 depends on switch 1 and switch 2. If switch 1 or switch 2 fail I still wish to receive notifications from switch 3 however if switch 1 and switch 2 fail I do not wish to receive notifications from switch 3. My question is will the host definition below do the job? define hostdependency{ host_name switch1,switch2 dependent_host_name switch3 notification_failure_criteria d,u } Thanks in advance. Mick --------------------------------------------------------- This email and any files transmitted with it are intended solely for the addressee(s) and may be legally privileged and/or confidential. If you have received this email in error please destroy it and contact the sender, via our switchboard on +44 (0)1962 841494 or via return e-mail. You should not copy, forward or use the contents, attachments or information in any way. Any unauthorised use or disclosure may be unlawful. MBA Systems gives no warranty as to the accuracy or completeness of this email after it is sent over the Internet and accepts no responsibility for changes made after it was sent. Any opinion expressed in this email may be personal to the author and may not necessarily reflect the opinions of MBA Systems or its affiliates. They may also be subject to change without notice. ---------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sean.knox at sbcglobal.net Thu Oct 17 18:03:48 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 17 Oct 2002 09:03:48 -0700 Subject: Request References: Message-ID: <3DAEDF64.6080400@sbcglobal.net> Hi Wibo, First, check out http://nagios.sourceforge.net/docs/1_0/xedtemplate.html. I missed that doc. section my first time around. It explains everything I'm going to tell you. In your cgi.cfg, you specify where your extended host and service info files are, e.g. xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg In hostextinfo.cfg, you define your extended host info. Here's a template and a extended host definition: # Debian GNU/Linux Extended Host Info Template. define hostextinfo{ name debian icon_image /hosticons/debian.png icon_image_alt Debian GNU/Linux vrml_image /hosticons/debian.png statusmap_image /hosticons/debian.png gd2_image /hosticons/debian.png register 0 ; DO NOT REGISTER THIS } Remember that the path to yours icons is /share/images/logos. I added a hosticons directory under logos to organize things. Now, the actual host information: # Debian servers define hostextinfo{ use debian host_name mail,www,mar,luna,t1,t2 } Note that I am missing some extended host information entries, such as notes_url, 2d_coords, and 3d_coords. I don't use them at the moment, so they're not listed. Adding icons to services is done the same way. Hope this helps! Big thanks to Jon Lyons for helping me initially. :) Sean Wibo Lammerts wrote: >Hi all, > >I have a hard time getting the pictures in the status maps to work, so can >can someone post his/hers cgi.cfg file so that I can see what I am doing >wrong? > >TIA > >Wibo Lammerts >Systems Engineering >Holland Media Groep >www.hmg.nl / www.rtl.nl > > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From chris at lockwood.fsnet.co.uk Thu Oct 17 18:00:59 2002 From: chris at lockwood.fsnet.co.uk (Chris) Date: Thu, 17 Oct 2002 17:00:59 +0100 Subject: Request References: Message-ID: <004b01c275f6$62c53090$6b074d51@home> Are you using the template method for your extended host info? ----- Original Message ----- From: "Wibo Lammerts" To: Sent: Thursday, October 17, 2002 4:31 PM Subject: [Nagios-users] Request > Hi all, > > I have a hard time getting the pictures in the status maps to work, so can > can someone post his/hers cgi.cfg file so that I can see what I am doing > wrong? > > TIA > > Wibo Lammerts > Systems Engineering > Holland Media Groep > www.hmg.nl / www.rtl.nl > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anders at digitalraadgivning.no Thu Oct 17 18:01:02 2002 From: anders at digitalraadgivning.no (Anders Grue Nerheim) Date: 17 Oct 2002 18:01:02 +0200 Subject: Nagios check flow process In-Reply-To: References: Message-ID: <1034870462.1649.1.camel@aten> you could make a small box about nagios' feature to do stuff when thing's are non OK, like restarting the httpd etc.. could also add stuff about nrpe and nsca, maybe a redundant nagios setup as well.. just my thoughts :) On Thu, 2002-10-17 at 17:37, Bishop, Dean wrote: > k, so i am just preparing to brief the I.T. department here and created the > attached flow chart. > > Any amendments?? > > thanks > dean > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Thu Oct 17 18:16:56 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Oct 2002 11:16:56 -0500 Subject: Monitoring NFS Mounts Message-ID: I should probably be reading the docs on nagios-statd (again) to try and figure this one out for myself, but you sound like a proponent of this approach, so let me tap you with a few questions: - If you only have non-root access to a Unix host, can you successfully install and configure nagios-statd? (You may assume that you've already successfully done the binary build.) - I seem to recall that it requires Python to be installed on the target host. While I personally don't have an issue with that, I know I'll meet resistance on this point from my peers (especially on hosts where we don't have root access). Is Python an absolute prerequisite? - What sort of support is there for logfile watching? The classic need to sift through the likes of /var/log/messages (/var/adm/messages) for "err", "warn" and the like, without wholesale copying of the current logfile and doing a diff against the previously copied logfile...? (Hint: I rather enjoy the way Perl uses seek/tell.) jc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Thursday, October 17, 2002 5:47 AM > To: Carroll, Jim P [Contractor]; Kaplan, Andrew H.; Subhendu Ghosh > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Monitoring NFS Mounts > > > A have used nagios-statd for a while, and it works perfect > for me. As a bonus you can use it for remote monitoring of > other things too... > > > /FredrikW > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Wed 16-Oct-02 20:21 > To: 'Kaplan, Andrew H.'; 'Subhendu Ghosh' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Monitoring NFS Mounts > > Ah, now we're getting to the crux of the problem. :) > > [soapbox] > I'm not trying to give you a hard time; I'm trying to > illustrate to others > that it's best to present the macro view of the problem > rather than the > micro view of the problem. By the same token, it's not helpful if one > throws their entire problem over the fence, hoping that the > list will solve > their problems magically. > [end soapbox] > > Options as I see it: > > - check_disk + NRPE > - check_disk + NSCA > - Nagios statd > - check_disk + have Nagios server NFS mount remote host > > There are probably other approaches. I'd personally lean > towards the first > option. > > jc > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Wednesday, October 16, 2002 11:42 AM > > To: 'Subhendu Ghosh' > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Monitoring NFS Mounts > > > > > > What I'm looking to do is monitor the disk space usage of the > > NFS mounts. > > Will the check_rpc plug-in used in conjunction with the > > check_disk plug-in > > do the trick? > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Tuesday, October 15, 2002 9:34 PM > > To: Jamin > > Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitoring NFS Mounts > > > > > > check_rpc -h > > > > NFS, nfslock, nis are all RPC programs > > > > -sg > > > > On Tue, 15 Oct 2002, Jamin wrote: > > > > > Possibly. If you can find out which udp ports the mounts > > are connected > > > via, you could probably write a plugin. (or use the > > check_udp plugin) > > > > > > On Tue, 15 Oct 2002, Kaplan, Andrew H. wrote: > > > > > > > I don't know if this topic has been discussed, but is > > there a way to > > monitor > > > > NFS mounts on a system? > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > > http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.via verio.com/ > consolidator/osdn.cfm > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From stevelml1 at scee.sony.co.uk Thu Oct 17 18:17:54 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 17 Oct 2002 17:17:54 +0100 Subject: *service* check status in statumap.cgi ? Message-ID: <00e101c275f8$bf7b6730$f5c8dfc2@niltxp> Hi all Unless I am being partcularly dumb today, is it true that the state of the hosts displayed in statusmap.cgi is only taken from the *host* checks (host-alive) for the hosts? If so (and I think it is), is there anyway of getting statusmap.cgi to display warnings and critical *service* checks on the map? Please dont flame me if I have it completely wrong, its been a long hard day and my brain started shutting down about an hour ago :( -- Steve ------------------------------------------------- Steve Loughran, Network Infrastructure Manager Sony Computer Entertainment Europe (Cambridge) Yamaha YZF1000R Thunderace ICQ#: 104426046 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From dean.bishop at tcdsb.org Thu Oct 17 18:20:41 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 17 Oct 2002 12:20:41 -0400 Subject: Nagios check flow process Message-ID: yeah, you are quite right. my setup is pretty simple. Perhaps i will do this when i can scratch together a couple of minutes. later, dean -----Original Message----- From: Anders Grue Nerheim [mailto:anders at digitalraadgivning.no] Sent: Thursday, October 17, 2002 12:01 PM To: Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Nagios check flow process you could make a small box about nagios' feature to do stuff when thing's are non OK, like restarting the httpd etc.. could also add stuff about nrpe and nsca, maybe a redundant nagios setup as well.. just my thoughts :) On Thu, 2002-10-17 at 17:37, Bishop, Dean wrote: > k, so i am just preparing to brief the I.T. department here and created the > attached flow chart. > > Any amendments?? > > thanks > dean > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Thu Oct 17 18:23:37 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Oct 2002 11:23:37 -0500 Subject: Nagios check flow process Message-ID: This appears to be a good overview of the logic behind the scenes. Of course, you could throw all sorts of other details in there, but for giving the rest of your team a quick overview, this actually looks pretty nice. For anyone who wants more detail, there's always the documentation. ;) jc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Thursday, October 17, 2002 10:37 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagios check flow process > > > k, so i am just preparing to brief the I.T. department here > and created the > attached flow chart. > > Any amendments?? > > thanks > dean > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From festr at wana.cz Thu Oct 17 18:31:05 2002 From: festr at wana.cz (Martin vit) Date: Thu, 17 Oct 2002 18:31:05 +0200 Subject: nagios - incorrect time in service detail Message-ID: <200210171831.AA37290016@wana.cz> hi, i have problem with showing time in service detail - last check. The time is 4hour back. My timezone and time is correct. What can be wrong? i'm using nagios 1.06b with latest postgre. Time in nagios.log is correct. (sorry for my english :) ) festr ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From anders at jblinux.net Thu Oct 17 18:17:46 2002 From: anders at jblinux.net (Anders Nerheim) Date: 17 Oct 2002 18:17:46 +0200 Subject: *service* check status in statumap.cgi ? In-Reply-To: <00e101c275f8$bf7b6730$f5c8dfc2@niltxp> References: <00e101c275f8$bf7b6730$f5c8dfc2@niltxp> Message-ID: <1034871466.1649.4.camel@aten> if you hold your mouse over the host there will pop an icky javascript dialog box up, saying stuff like 5 OK, 1 crit etc.. On Thu, 2002-10-17 at 18:17, Steve Loughran wrote: > Hi all > > Unless I am being partcularly dumb today, is it true that the state of the > hosts displayed in statusmap.cgi is only taken from the *host* checks > (host-alive) for the hosts? If so (and I think it is), is there anyway of > getting statusmap.cgi to display warnings and critical *service* checks on > the map? > > Please dont flame me if I have it completely wrong, its been a long hard day > and my brain started shutting down about an hour ago :( > > -- > > Steve > > ------------------------------------------------- > Steve Loughran, Network Infrastructure Manager > Sony Computer Entertainment Europe (Cambridge) > Yamaha YZF1000R Thunderace > ICQ#: 104426046 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jarbas.peixoto at go.previdenciasocial.gov.br Thu Oct 17 18:36:38 2002 From: jarbas.peixoto at go.previdenciasocial.gov.br (Jarbas Peixoto Junior - DATAPREVGO) Date: Thu, 17 Oct 2002 13:36:38 -0300 Subject: RES: Problems Using MYSQL DB Message-ID: <1FB989AF9F823B4F98C87228D6A87DACF9DF64@wtrjo097> I was this same problem, but the solucion are: ----------------------------------- My problem was: the file " resource.cfg " was with the configurations for access to MySQL in white, that is, it was not configured. Reading the documentation again verified that had made a mistake with the file " cgi.cfg ". Correcting the problem Nagios worked perfectly. ----------------------------------- -----Mensagem original----- De: Carlos Rego [mailto:carlos at datacolo.com] Enviada em: quarta-feira, 16 de outubro de 2002 22:30 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Problems Using MYSQL DB When I start Nagios, I get the following in the LOG file [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1034817387] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! but I DO have those settings set in th cgi.cfg xsddb_host=localhost xsddb_port=3306 xsddb_username=nagios xsddb_password=xxxxx xsddb_database=nagios and I commented out status_file=/ in the main file .. what can I be doign wrong ? :( .. when I go to Nagios it says "Error: Could not read host and service status information!" (I assuem it's related) -- Carlos Rego, carlos at datacolo.com on 10/16/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From stevelml1 at scee.sony.co.uk Thu Oct 17 18:34:49 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 17 Oct 2002 17:34:49 +0100 Subject: *service* check status in statumap.cgi ? References: <00e101c275f8$bf7b6730$f5c8dfc2@niltxp> <1034871466.1649.4.camel@aten> Message-ID: <011801c275fb$1c84edf0$f5c8dfc2@niltxp> mmm.... ok, but I was looking for something that would be more obvious just by looking at the map, like changing the background color of the hosts (like when they are down or unreachable), so you can just leave the statusmap refreshing on a monitor in the corner of the IT/MIS room. Steve > if you hold your mouse over the host there will pop an icky javascript > dialog box up, saying stuff like 5 OK, 1 crit etc.. > > On Thu, 2002-10-17 at 18:17, Steve Loughran wrote: > > Hi all > > > > Unless I am being partcularly dumb today, is it true that the state of the > > hosts displayed in statusmap.cgi is only taken from the *host* checks > > (host-alive) for the hosts? If so (and I think it is), is there anyway of > > getting statusmap.cgi to display warnings and critical *service* checks on > > the map? > > > > Please dont flame me if I have it completely wrong, its been a long hard day > > and my brain started shutting down about an hour ago :( > > > > -- > > > > Steve > > > > ------------------------------------------------- > > Steve Loughran, Network Infrastructure Manager > > Sony Computer Entertainment Europe (Cambridge) > > Yamaha YZF1000R Thunderace > > ICQ#: 104426046 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From carlos at datacolo.com Thu Oct 17 18:44:13 2002 From: carlos at datacolo.com (Carlos Rego) Date: Thu, 17 Oct 2002 12:44:13 -0400 Subject: Creating GD Images Message-ID: I have create a new set of Images as PNG .. is there a way to export to GD from photoshop ? or how can I make these into gd2 images ? :) -- Carlos Rego, carlos at datacolo.com on 10/17/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From AHKAPLAN at PARTNERS.ORG Thu Oct 17 18:37:32 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Oct 2002 12:37:32 -0400 Subject: Getting the icons to work on the Map Message-ID: <5593DA408212D511B0910002A513501F01D28799@phsexch20.mgh.harvard.edu> Hi John, I followed your instructions, but I am not getting any icons on the map display. I'm enclosing the cgi, hostextinfo and xedtemplate files for your perusal. Thanks. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:42 PM To: Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting the icons to work on the Map No just change the path statement to whatever you path is to hostextinfo.cfg..I'm using FreeBSD 4.2 so the paths are all funky... :) "Kaplan, Andrew H." wrote: Thanks for the update Jon. As far as the file locations are concerned, my machine does not have a nagios directory or the hostextinfo.cfg and serviceextinfo.cfg files under /usr/local/etc. Can the directory be made via the mkdir command and the files created via the touch command or is there something else I need to do? -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:32 PM To: Kaplan, Andrew H. Cc: Subject: RE: [Nagios-users] Getting the icons to work on the Map Sorry, it's in the cfg.cgi file, I've been doing 3-d coordinates(100+ to go..ugh!) all day and my brain is mush. "Kaplan, Andrew H." wrote: Jon, Did you mean the cgi.cfg file as opposed to the cfg.cgi file? I have the former, but not the latter file. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:08 PM To: Kaplan, Andrew H. Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Getting the icons to work on the Map I have in my cfg.cgi file; nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg nagios.cfg:xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg and in hostextinfo.cfg I use templates since I have lots of devices... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D drawing coordinate 3d_coords 20.0,7.0,0.0 ; 3-D drawing coordinates } "Kaplan, Andrew H." wrote: No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then used the TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with the email. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 3:37 PM To: Kaplan, Andrew H. Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting the icons to work on the Map Did you add each of the hosts to the hostextinfo.cfg file? "Kaplan, Andrew H." wrote: Hi there, I have downloaded the icons and installed them in the appropriate directory. The first machine being monitored has an icon associated with it, but the remaining machines continue to show the question marks. Has anyone else had this problem? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com From: root [root at ahk] Sent: Wednesday, October 16, 2002 11:47 AM To: Kaplan, Andrew H. define hostextinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,19 } define hostexinfo{ host_name icon_image win40.png icon_image_alt Windows vrml_image win40.png statusmap_image win40.gd2 2d_coords 200,18 } define hostexinfo{ host_name icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 200,17 } _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cgi.cfg.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hostextinfo.cfg.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: xedtemplate.cfg.txt URL: From Nolan.Martin at co.travis.tx.us Thu Oct 17 18:43:28 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 17 Oct 2002 11:43:28 -0500 Subject: Downtime Author varies between screens Message-ID: I noticed recently that when I schedule downtime for a host, the Author of the downtime posting varies depending on what screen is viewed. If I look at the host screen for the affected host, the downtime author is listed as the Nagios Process: 10-17-2002 11:22:05 (Nagios Process) This host has been scheduled for downtime starting between 10-17-2002 11:21:52 and 10-17-2002 13:21:52 for a period of 1 hours and 30 minutes. Notifications for the host will not be sent out during that time period. 12 No But, if I look at the Downtime web page, the Author correctly lists my user account name: SERVER_NAME 10-17-2002 11:22:04 martinn Upgrade 10-17-2002 11:21:52 10-17-2002 13:21:52 No 0d 1h 30m 0s I see this on both my production system and my test system. Nolan ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Nolan.Martin at co.travis.tx.us Thu Oct 17 18:52:14 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 17 Oct 2002 11:52:14 -0500 Subject: Downtime Author varies between screens Message-ID: Forget to list my system information. Both systems are running Nagios 1.0b5 on Red Hat Linux 7.3. >>> "Nolan Martin" 10/17/02 11:43AM >>> I noticed recently that when I schedule downtime for a host, the Author of the downtime posting varies depending on what screen is viewed. If I look at the host screen for the affected host, the downtime author is listed as the Nagios Process: 10-17-2002 11:22:05 (Nagios Process) This host has been scheduled for downtime starting between 10-17-2002 11:21:52 and 10-17-2002 13:21:52 for a period of 1 hours and 30 minutes. Notifications for the host will not be sent out during that time period. 12 No But, if I look at the Downtime web page, the Author correctly lists my user account name: SERVER_NAME 10-17-2002 11:22:04 martinn Upgrade 10-17-2002 11:21:52 10-17-2002 13:21:52 No 0d 1h 30m 0s I see this on both my production system and my test system. Nolan ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Nolan.Martin at co.travis.tx.us Thu Oct 17 19:06:38 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 17 Oct 2002 12:06:38 -0500 Subject: Flexible Downtime not working... Message-ID: Having another issue with downtime scheduling. In the past, I have always used fixed downtime scheduling and it has worked fine. I have tried recently to schedule some devices for flexible downtime and am not seeing it work properly. I schedule the device for 1 hr 30 minutes down time starting immediately. The server goes down 5 minutes later. Yet, notifications are still sent out. Checking the host web page, the host does not show that the server is in a scheduled downtime and no downtime alert is generated or seen in the alert history. Looking at the bottom of the host web page as well as the Downtime web page, Nagios shows that the server is scheduled for downtime during the specified time frame. If I turn around and schedule it as fixed downtime, everything works properly. Looking at the alert history, a downtime alert is generated. Looking at the host web page, the server shows that it is within a scheduled downtime period. Again, I have tested this on both a production and a test system and both show the same results. Both systems are Nagios 1.0b5 on Red Hat Linux 7.3. Thanks. Nolan ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Robert.Wagner at wausaubenefits.com Thu Oct 17 19:32:25 2002 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Thu, 17 Oct 2002 12:32:25 -0500 Subject: NTray: Volunteers? Message-ID: Heya folks! Rob (the NTray guy) here! I'm looking for a couple of people to do some testing on a new version of NTray (call yourself beta-testers). I just figure it would be nice to have a couple of people besides myself test out a new version before I make a public release. I'd be particularly interested in having people who had problems in the past do some testing. Please send me a private reply to let me know if you're interested! Rob Wagner PS - The new release has: -A nearly complete re-write -The ability to run from any folder on your hard drive (no more C:\NTray woes) -Specific designs towards allowing multiple instances of NTray to run at a time. -Other things that I can't think of right now... ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Nolan.Martin at co.travis.tx.us Thu Oct 17 19:56:11 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 17 Oct 2002 12:56:11 -0500 Subject: Nagios check flow process Message-ID: Might want to incorporate the logic/process of checking parent devices to determine if the host is really down or "just" unreachable due to a parent host actually being down. Nolan >>> "Bishop, Dean" 10/17/02 10:37AM >>> k, so i am just preparing to brief the I.T. department here and created the attached flow chart. Any amendments?? thanks dean ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jens.bergmann at nordcom.net Thu Oct 17 20:06:36 2002 From: jens.bergmann at nordcom.net (Jens Bergmann) Date: Thu, 17 Oct 2002 20:06:36 +0200 Subject: Nagios check flow process References: Message-ID: <005601c27608$267d0a60$0b01a8c0@homebase> Bishop, Dean wrote: > k, so i am just preparing to brief the I.T. department here and > created the attached flow chart. > > Any amendments?? if you extend this to have parents/external commands included this should imho go to the docs ;) Jens ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From AHKAPLAN at PARTNERS.ORG Thu Oct 17 20:17:55 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Oct 2002 14:17:55 -0400 Subject: Compiling a single plug-in Message-ID: <5593DA408212D511B0910002A513501F01D2879A@phsexch20.mgh.harvard.edu> Hi there, For some reason, the check_hpjd plugin did not compile on my machine. Is there a way to compile that, and only that, plug-in? Thanks. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Gopinath_Pulyankote at affymetrix.com Thu Oct 17 20:38:58 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 17 Oct 2002 11:38:58 -0700 Subject: How to pass parameters to Check_wins.pl Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E796@ntex04.affymetrix.com> Hi, How do I pass multiple CONTROLLERS parameter ( -C $ARG2$) with the check_wins.pl plug in? When I add more than one in the check_commad line, it fails with the following error. I am able to run them with just one at a time 10-17-2002 11:18:06] SERVICE ALERT: msdc00;WINS Service;CRITICAL;HARD;3;Failed. WINS "msdc00" failed to resolve "MSDC01,MSDC00", the domain controller(s) of "MYDOMAIN". Got "name_query failed to find name MSDC01,MSDC03#20" Also I noticed that from the command line it just checks the first value & ignores all others. We have multiple domains, hence don't want to change the MYDCS values from the default. Thanks in advance. Here's my config files: Services.cfg:- ----------------------- define service { host_name msdc00,msdc01 service_description WINS Service check_command check_wins!MYDOMAIN!MSDC01,MSDC00 use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options c,r contact_groups nt-admins } ---------------------- checkcommands.cfg --------------------- # 'check_wins.pl' command definition define command{ command_name check_wins command_line $USER1$/check_wins.pl -W $HOSTADDRESS$ -D $ARG1$ -C $ARG2$ } --------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Gopinath_Pulyankote at affymetrix.com Thu Oct 17 20:47:41 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 17 Oct 2002 11:47:41 -0700 Subject: Compiling a single plug-in Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E798@ntex04.affymetrix.com> I have the problem with check_dhcp. This one didn't compile, didn't see any errors while running configure -G -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Thursday, October 17, 2002 11:18 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Compiling a single plug-in Hi there, For some reason, the check_hpjd plugin did not compile on my machine. Is there a way to compile that, and only that, plug-in? Thanks. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jlyons30 at yahoo.com Thu Oct 17 21:19:05 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Thu, 17 Oct 2002 12:19:05 -0700 (PDT) Subject: Getting the icons to work on the Map In-Reply-To: <5593DA408212D511B0910002A513501F01D28799@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28799@phsexch20.mgh.harvard.edu> Message-ID: <20021017191905.87874.qmail@web21502.mail.yahoo.com> Did you compile nagios with --with-template-objects & --with-template-extinfo? Second, you have hostextinfo & serviceextinfo(about 5-6 times) listed mulitple times in your cgi.cgi file, remove all of them and make sure there's only(see below); change the path to where ever your hostsextinfo.cfg & serviceextinfo.cfg files are located... xedtemplate_config_file=/CHANGE/ME/To/THE/COrrect/PATH/hostextinfo.cfg xedtemplate_config_file=/CHANGE/ME/To/THE/COrrect/PATHserviceextinfo.cfg Remove this crap and anyother hostextinfo crap in the cgi.cfg hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;novell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; hostextinfo[rosie]=/ hostextinfo[]=;< ----- Hi John, I followed your instructions, but I am not getting any icons on the map display. I'm enclosing the cgi, hostextinfo and xedtemplate files for your perusal. Thanks. --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Oct 17 21:27:29 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Oct 2002 15:27:29 -0400 (EDT) Subject: Compiling a single plug-in In-Reply-To: <48F1F432BF75D6118FAC0002B325BE3636E798@ntex04.affymetrix.com> References: <48F1F432BF75D6118FAC0002B325BE3636E798@ntex04.affymetrix.com> Message-ID: if check_hpjd did not compile check_snmp is probably not there either. both depend on snmpget command for ucd-snmp/net-snmp package. check_dhcp is in the contrib directory and those are usually not compiled by default. gcc -o check_dhcp check_dhcp.c On Thu, 17 Oct 2002, Pulyankote, Gopinath wrote: > I have the problem with check_dhcp. This one didn't compile, didn't see any > errors while running configure > -G > > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, October 17, 2002 11:18 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling a single plug-in > > > Hi there, > > For some reason, the check_hpjd plugin did not compile on my machine. Is > there a way to compile that, and only that, plug-in? Thanks. > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Thu Oct 17 21:33:04 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Oct 2002 14:33:04 -0500 Subject: Q: How to contribute to documentation effort Message-ID: I was wondering if anyone could tell me how I could contribute to the Nagios project, at least as far as tweaking the documentation (eg, grammar/spelling tweaks, other enhancements) is concerned...? (Hopefully others who are interested in having all-encompassing, airtight docs will be interested in how to collaborate as well.) jc ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From AHKAPLAN at PARTNERS.ORG Thu Oct 17 21:52:13 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Oct 2002 15:52:13 -0400 Subject: Compiling a single plug-in Message-ID: <5593DA408212D511B0910002A513501F01D2879D@phsexch20.mgh.harvard.edu> I tried to compile the check_snmp and check_hpjd plugins using the gcc -o command. When I tried to do so I got the following error message in both cases: PATH_TO_SNMPGET undeclared (first use in this function) What can I do to correct this problem? Thanks. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, October 17, 2002 3:27 PM To: Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Compiling a single plug-in if check_hpjd did not compile check_snmp is probably not there either. both depend on snmpget command for ucd-snmp/net-snmp package. check_dhcp is in the contrib directory and those are usually not compiled by default. gcc -o check_dhcp check_dhcp.c On Thu, 17 Oct 2002, Pulyankote, Gopinath wrote: > I have the problem with check_dhcp. This one didn't compile, didn't see any > errors while running configure > -G > > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, October 17, 2002 11:18 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling a single plug-in > > > Hi there, > > For some reason, the check_hpjd plugin did not compile on my machine. Is > there a way to compile that, and only that, plug-in? Thanks. > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sghosh at sghosh.org Thu Oct 17 22:18:39 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Oct 2002 16:18:39 -0400 (EDT) Subject: Compiling a single plug-in In-Reply-To: <5593DA408212D511B0910002A513501F01D2879D@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D2879D@phsexch20.mgh.harvard.edu> Message-ID: for check_snmp and check_hpjd rm config.cache, configure, make there are some local dependencies for common functions from utils.c. so a simple gcc won't do. -sg On Thu, 17 Oct 2002, Kaplan, Andrew H. wrote: > I tried to compile the check_snmp and check_hpjd plugins using the gcc -o > command. > When I tried to do so I got the following error message in both cases: > > PATH_TO_SNMPGET undeclared (first use in this function) > > What can I do to correct this problem? Thanks. > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, October 17, 2002 3:27 PM > To: Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Compiling a single plug-in > > > > if check_hpjd did not compile check_snmp is probably not there either. > both depend on snmpget command for ucd-snmp/net-snmp package. > > > > check_dhcp is in the contrib directory and those are usually not compiled > by default. > > gcc -o check_dhcp check_dhcp.c > > > > > On Thu, 17 Oct 2002, Pulyankote, Gopinath wrote: > > > I have the problem with check_dhcp. This one didn't compile, didn't see > any > > errors while running configure > > -G > > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Thursday, October 17, 2002 11:18 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Compiling a single plug-in > > > > > > Hi there, > > > > For some reason, the check_hpjd plugin did not compile on my machine. Is > > there a way to compile that, and only that, plug-in? Thanks. > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sghosh at sghosh.org Thu Oct 17 22:22:16 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Oct 2002 16:22:16 -0400 (EDT) Subject: Q: How to contribute to documentation effort In-Reply-To: References: Message-ID: I usually send in "diff -u3" for the each page that need corrections. On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > I was wondering if anyone could tell me how I could contribute to the Nagios > project, at least as far as tweaking the documentation (eg, grammar/spelling > tweaks, other enhancements) is concerned...? > > (Hopefully others who are interested in having all-encompassing, airtight > docs will be interested in how to collaborate as well.) > > jc > -- -sg ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Thu Oct 17 22:36:37 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Oct 2002 15:36:37 -0500 Subject: Q: How to contribute to documentation effort Message-ID: Just e-mail them to Ethan...? > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, October 17, 2002 3:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Q: How to contribute to > documentation effort > > > > I usually send in "diff -u3" for the each page that need corrections. > > > > On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > > > I was wondering if anyone could tell me how I could > contribute to the Nagios > > project, at least as far as tweaking the documentation (eg, > grammar/spelling > > tweaks, other enhancements) is concerned...? > > > > (Hopefully others who are interested in having > all-encompassing, airtight > > docs will be interested in how to collaborate as well.) > > > > jc > > > > -- > > -sg > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Stefan.Hanssen at baerum.kommune.no Thu Oct 17 22:54:17 2002 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Thu, 17 Oct 2002 22:54:17 +0200 Subject: Uhm... strange notification sent.. Message-ID: I am not wuite sure what i have done, if i have done something... But anyways, the e-mail notifications beeing sent look like this: Subject: ** PROBLEM alert - Bekk/ is ** Message: ***** Nagios ***** Notification Type: PROBLEM Service: Host: Bekk Address: 193.161.83.2 State: Date/Time: Thu Oct 17 20:25:33 CEST 2002 Additional Info: CRITICAL - Plugin timed out after 6 seconds The status info and check name should be there right ? And also state info.. Anyone got a clue as to what i can do ? Best Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From nagios at nagios.org Fri Oct 18 00:34:59 2002 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 17 Oct 2002 17:34:59 -0500 Subject: Q: How to contribute to documentation effort In-Reply-To: References: Message-ID: <3DAEF4C3.30956.1AF1219@localhost> I'd prefer that they be sent to the nagios-devel list, as that provides a means of peer review. Sometimes I don't apply patches until the next version, so posting to the list gives other users a chance to try the patch out if they want. On 17 Oct 2002 at 15:36, Carroll, Jim P [Contractor] wrote: > Just e-mail them to Ethan...? > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Thursday, October 17, 2002 3:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Q: How to contribute to > > documentation effort > > > > > > > > I usually send in "diff -u3" for the each page that need corrections. > > > > > > > > On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > > > > > I was wondering if anyone could tell me how I could > > contribute to the Nagios > > > project, at least as far as tweaking the documentation (eg, > > grammar/spelling > > > tweaks, other enhancements) is concerned...? > > > > > > (Hopefully others who are interested in having > > all-encompassing, airtight > > > docs will be interested in how to collaborate as well.) > > > > > > jc > > > > > > > -- > > > > -sg > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From sandro at opservices.com.br Fri Oct 18 01:01:05 2002 From: sandro at opservices.com.br (Sandro Merg Vaz) Date: Thu, 17 Oct 2002 20:01:05 -0300 Subject: check_running_proc (not check_procs) Message-ID: Nagiosmates: I?m deploying a Nagios solution to monitor some Linuxes and one important point is to check the presence of some process (like named,snmpd, sshd, crond, etc.). But the existing check_procs plugin just warns me if there are MORE than the -w specified option. But I just want to know if there is at least one process instance running, being warned if there is NO process running. It would be like this, using check_procs sintax: ./check_running_proc -C process_command It would return just OK or CRITICAL. If some of you have any idea (instead of advising me to write my own plugin, which is the next step), please let me know. TIA. Sandro Vaz HYPERLINK "mailto:sandro at opservices.com.br"sandro at opservices.com.br ******************************** InterOp Corp. OpServices Division (+55) 51 3216-7000 HYPERLINK "http://www.interop.com.br"http://www.interop.com.br ******************************** --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul_kenn at yahoo.com Fri Oct 18 01:11:39 2002 From: paul_kenn at yahoo.com (Paul Kenniston) Date: Thu, 17 Oct 2002 16:11:39 -0700 (PDT) Subject: TRAPS....NET-SNMP In-Reply-To: <1034797994.906.23.camel@adelaide.omstel.com.br> References: <1034797994.906.23.camel@adelaide.omstel.com.br> Message-ID: <20021017231139.56324.qmail@web13502.mail.yahoo.com> Today we're doing this in a very simple manner by using the check_log plug-in to query on the various text inserted into our syslog daemon by snmptrapd. So, install net-snmp, configure it to dump traps to your syslog, configure check_log to essentially grep for the data. Mind you, this is a simple approach that may not work for everyone and at some point we'll probably use the traphandler function. But anyway, it would get you functional... Paul --- Luiz Gustavo Rohwedder Nogueira wrote: > I have the same problem. I need to manage some > switches and routers, and > I want to receive alerts when this machines send any > trap to my Nagios > machine. I'm able to receive the traps, but I don't > know how to put this > into Nagios. > Unfortunately, from the example in the documentation > I've got I little > confused. > If anybody has already done this, I would appreciate > your help. > > Thanks, > > Luiz Gustavo > > Em Qua, 2002-10-16 ?s 13:03, Planett - escreveu: > > > > I am receveing Traps with Net-SNMP. How do I see > this traps in the Nagios? > > I read the documentation and it's confused. I have > installed the plugin > > (nsca), but i can't view > > this traps in the nagios. > > I use this to management swtiches and routers, > not servers. > > > > > > Fernando > > > > > > > > > _________________________________________________________________ > > MSN Messenger: converse com os seus amigos online. > > > http://messenger.msn.com.br > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will > pay you up to > > $1,000 for every account that you consolidate with > us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From carlos at datacolo.com Fri Oct 18 01:24:03 2002 From: carlos at datacolo.com (Carlos Rego) Date: Thu, 17 Oct 2002 19:24:03 -0400 Subject: Availability Reports (Using DataBase) Message-ID: I am using all options available to store in the database (mySQL) .. in the reports (availability, stat details, etc) it is unable to see the host was up (it gives me undetermined instead) is this a bug ? or am I doing something wrong :( ? -- Carlos Rego, carlos at datacolo.com on 10/17/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Gopinath_Pulyankote at affymetrix.com Fri Oct 18 01:33:16 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 17 Oct 2002 16:33:16 -0700 Subject: Uhm... strange notification sent.. Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E79B@ntex04.affymetrix.com> Check you contacts.cfg file. Have you put host-notify-by-email instead of notify-by-email for service notifications for that host? -G -----Original Message----- From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] Sent: Thursday, October 17, 2002 1:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Uhm... strange notification sent.. I am not wuite sure what i have done, if i have done something... But anyways, the e-mail notifications beeing sent look like this: Subject: ** PROBLEM alert - Bekk/ is ** Message: ***** Nagios ***** Notification Type: PROBLEM Service: Host: Bekk Address: 193.161.83.2 State: Date/Time: Thu Oct 17 20:25:33 CEST 2002 Additional Info: CRITICAL - Plugin timed out after 6 seconds The status info and check name should be there right ? And also state info.. Anyone got a clue as to what i can do ? Best Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jcarro10 at sprintspectrum.com Fri Oct 18 01:44:45 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Oct 2002 18:44:45 -0500 Subject: check_running_proc (not check_procs) Message-ID: As per the last 3 lines of "./check_procs -h": [quote] RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If specified 'max:min', a warning status will be generated if the count is inside the specified range [end quote] So, you would want to do something like: ./check_proc -w 1: -c 1: -C process_command jc -----Original Message----- From: Sandro Merg Vaz [mailto:sandro at opservices.com.br] Sent: Thursday, October 17, 2002 6:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_running_proc (not check_procs) Nagiosmates: I?m deploying a Nagios solution to monitor some Linuxes and one important point is to check the presence of some process (like named,snmpd, sshd, crond, etc.). But the existing check_procs plugin just warns me if there are MORE than the -w specified option. But I just want to know if there is at least one process instance running, being warned if there is NO process running. It would be like this, using check_procs sintax: ./check_running_proc -C process_command It would return just OK or CRITICAL. If some of you have any idea (instead of advising me to write my own plugin, which is the next step), please let me know. TIA. Sandro Vaz sandro at opservices.com.br ******************************** InterOp Corp. OpServices Division (+55) 51 3216-7000 http://www.interop.com.br ******************************** --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gopinath_Pulyankote at affymetrix.com Fri Oct 18 01:39:05 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 17 Oct 2002 16:39:05 -0700 Subject: TRAPS....NET-SNMP Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E79C@ntex04.affymetrix.com> Paul, Can you please post the details of your check_log configuration. Thanks -G -----Original Message----- From: Paul Kenniston [mailto:paul_kenn at yahoo.com] Sent: Thursday, October 17, 2002 4:12 PM To: Luiz Gustavo Rohwedder Nogueira; Planett - Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] TRAPS....NET-SNMP Today we're doing this in a very simple manner by using the check_log plug-in to query on the various text inserted into our syslog daemon by snmptrapd. So, install net-snmp, configure it to dump traps to your syslog, configure check_log to essentially grep for the data. Mind you, this is a simple approach that may not work for everyone and at some point we'll probably use the traphandler function. But anyway, it would get you functional... Paul --- Luiz Gustavo Rohwedder Nogueira wrote: > I have the same problem. I need to manage some > switches and routers, and > I want to receive alerts when this machines send any > trap to my Nagios > machine. I'm able to receive the traps, but I don't > know how to put this > into Nagios. > Unfortunately, from the example in the documentation > I've got I little > confused. > If anybody has already done this, I would appreciate > your help. > > Thanks, > > Luiz Gustavo > > Em Qua, 2002-10-16 ?s 13:03, Planett - escreveu: > > > > I am receveing Traps with Net-SNMP. How do I see > this traps in the Nagios? > > I read the documentation and it's confused. I have > installed the plugin > > (nsca), but i can't view > > this traps in the nagios. > > I use this to management swtiches and routers, > not servers. > > > > > > Fernando > > > > > > > > > _________________________________________________________________ > > MSN Messenger: converse com os seus amigos online. > > > http://messenger.msn.com.br > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will > pay you up to > > $1,000 for every account that you consolidate with > us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From nagios at nagios.org Fri Oct 18 02:05:23 2002 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 17 Oct 2002 19:05:23 -0500 Subject: Flexible Downtime not working... In-Reply-To: References: Message-ID: <3DAF09F3.5620.201DACC@localhost> Good bug report. Fix should be in CVS shortly... On 17 Oct 2002 at 12:06, Nolan Martin wrote: > Having another issue with downtime scheduling. In the past, I have > always used fixed downtime scheduling and it has worked fine. > > I have tried recently to schedule some devices for flexible downtime > and am not seeing it work properly. I schedule the device for 1 hr 30 > minutes down time starting immediately. The server goes down 5 minutes > later. Yet, notifications are still sent out. > > Checking the host web page, the host does not show that the server is > in a scheduled downtime and no downtime alert is generated or seen in > the alert history. Looking at the bottom of the host web page as well > as the Downtime web page, Nagios shows that the server is scheduled for > downtime during the specified time frame. > > If I turn around and schedule it as fixed downtime, everything works > properly. Looking at the alert history, a downtime alert is generated. > Looking at the host web page, the server shows that it is within a > scheduled downtime period. > > Again, I have tested this on both a production and a test system and > both show the same results. Both systems are Nagios 1.0b5 on Red Hat > Linux 7.3. > > Thanks. > > Nolan > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From jamie at bclnz.net Fri Oct 18 02:22:43 2002 From: jamie at bclnz.net (Jamie) Date: Fri, 18 Oct 2002 13:22:43 +1300 Subject: Creating GD Images References: Message-ID: <006f01c2763c$7aa5b270$b58031ca@bcl977307> load it on your linux box. if you've installed the gd lib, there will be a utility called pngtogd2.... jb ----- Original Message ----- From: "Carlos Rego" To: Sent: Friday, October 18, 2002 5:44 AM Subject: [Nagios-users] Creating GD Images I have create a new set of Images as PNG .. is there a way to export to GD from photoshop ? or how can I make these into gd2 images ? :) -- Carlos Rego, carlos at datacolo.com on 10/17/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From Gopinath_Pulyankote at affymetrix.com Fri Oct 18 03:29:49 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 17 Oct 2002 18:29:49 -0700 Subject: Feature request: Hostgroup nesting ? Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7A2@ntex04.affymetrix.com> I too am looking for that option. -G -----Original Message----- From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] Sent: Wednesday, October 16, 2002 1:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostgroup nesting ? Can you nest hostgroups ? If possible i want to create a hostgroup with certain members, and make the hostgroup member of another hostgroup. Possible ? Best regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From carlos at datacolo.com Fri Oct 18 05:59:58 2002 From: carlos at datacolo.com (Carlos Rego) Date: Thu, 17 Oct 2002 23:59:58 -0400 Subject: How does Load and Processes (check) work ? Message-ID: I have check_local_procs!150!200 and check_local_load on the load I get "Warning threshold must be float or float triplet! " on the processed I get "Usage: " both show as "unknown" status .. can somebody point me to where I can learn how those two commands work (since I seem to be working them wrong) :D -- Carlos Rego, carlos at datacolo.com on 10/17/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From info at datacolo.com Fri Oct 18 06:06:18 2002 From: info at datacolo.com (DataColo) Date: Fri, 18 Oct 2002 00:06:18 -0400 Subject: Availability Reports (Using DataBase) In-Reply-To: References: Message-ID: please ignore this, I found that setting log_initial_states=1 made it work :) -- DataColo, info at datacolo.com on 10/18/2002 On Thu, 17 Oct 2002 19:24:03 -0400, Carlos Rego wrote: >I am using all options available to store in the database (mySQL) .. >in the reports (availability, stat details, etc) it is unable to see >the host was up (it gives me undetermined instead) > >is this a bug ? or am I doing something wrong :( ? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From karl at debisschop.net Fri Oct 18 06:27:25 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 18 Oct 2002 00:27:25 -0400 Subject: Compiling a single plug-in In-Reply-To: <5593DA408212D511B0910002A513501F01D2879A@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D2879A@phsexch20.mgh.harvard.edu> Message-ID: <1034915246.1123.9.camel@miles.debisschop.net> On Thu, 2002-10-17 at 14:17, Kaplan, Andrew H. wrote: > Hi there, > > For some reason, the check_hpjd plugin did not compile on my machine. Is > there a way to compile that, and only that, plug-in? Thanks. cd ~/.../nagiosplug make plugins/check_hpjd -- Karl ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm From karl at debisschop.net Fri Oct 18 06:35:59 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 18 Oct 2002 00:35:59 -0400 Subject: check_running_proc (not check_procs) In-Reply-To: References: Message-ID: <1034915760.1513.15.camel@miles.debisschop.net> On Thu, 2002-10-17 at 19:01, Sandro Merg Vaz wrote: > Nagiosmates: > > I?m deploying a Nagios solution to monitor some Linuxes and one > important point is to check the presence of some process (like > named,snmpd, sshd, crond, etc.). But the existing check_procs plugin > just warns me if there are MORE than the -w specified option. But I just > want to know if there is at least one process instance running, being > warned if there is NO process running. > > It would be like this, using check_procs sintax: > ./check_running_proc -C process_command check_procs -C xterm -w 1: -c 1: If I understand your request, it's already there. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Fri Oct 18 06:47:52 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 18 Oct 2002 00:47:52 -0400 Subject: How does Load and Processes (check) work ? In-Reply-To: References: Message-ID: <1034916473.1513.21.camel@miles.debisschop.net> On Thu, 2002-10-17 at 23:59, Carlos Rego wrote: > I have > > check_local_procs!150!200 define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ \ -c $ARG2$ -s $ARG3$ } so requires 3 args -- you forgot the state(s) you are scanning for. define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } > > and > > check_local_load > > on the load I get "Warning threshold must be float or float triplet! " ./plugins/check_load -w 1,2,3 -c 2,3,4 The numbers are the triplet you see when you run 'uptime' Apparently the ability to specify only one value (which would apply to all three pairs of the triplet) is broken. I'll try and patch that in CVS, if I can find the bug. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pascal.wessel at media-online.ch Fri Oct 18 07:56:59 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Fri, 18 Oct 2002 07:56:59 +0200 Subject: Creating GD Images In-Reply-To: References: Message-ID: <000b01c2766b$2c5e7000$bd28bb0a@mediaonline.ch> Hello, just a quick response to your post. Indeed the pngtogd2 binary will do the trick on any descent Linux box. I'm running Nagios on Debian (almost Woddy) and I spent some time searching for the package where pngtogd2 was in... This is the reason of my post. On a Debian, just do a: apt-cache search libgd-tools && apt-get install libgd-tools (I presume the Debian apt /etc/apt/sources.list is configured properly to either use the CD rom set or Internet Debian mirrors.) Have a nice day. Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carlos Rego Sent: jeudi, 17. octobre 2002 18:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Creating GD Images I have create a new set of Images as PNG .. is there a way to export to GD from photoshop ? or how can I make these into gd2 images ? :) -- Carlos Rego, carlos at datacolo.com on 10/17/2002 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Fri Oct 18 09:12:42 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Fri, 18 Oct 2002 15:12:42 +0800 Subject: postfix and cyrus message queues monitoring Message-ID: <000801c27675$c02b4e70$52624eca@skyinet.net> Hi All, I'd like to find out if anybody of you has done these in nagios? I'd sure need to know how you did it, since I was told that these items can't be monitored by just bare snmp. tia, Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Marcus.Nilsson at Cannondale.com Fri Oct 18 09:24:49 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Fri, 18 Oct 2002 09:24:49 +0200 Subject: Compiling a single plug-in Message-ID: I had the same problem. You dont have net-snmp installed. Get it from http://sourceforge.net/project/showfiles.php?group_id=12694 Marcus -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Thursday, October 17, 2002 12:52 PM To: 'Subhendu Ghosh' Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Compiling a single plug-in I tried to compile the check_snmp and check_hpjd plugins using the gcc -o command. When I tried to do so I got the following error message in both cases: PATH_TO_SNMPGET undeclared (first use in this function) What can I do to correct this problem? Thanks. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, October 17, 2002 3:27 PM To: Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Compiling a single plug-in if check_hpjd did not compile check_snmp is probably not there either. both depend on snmpget command for ucd-snmp/net-snmp package. check_dhcp is in the contrib directory and those are usually not compiled by default. gcc -o check_dhcp check_dhcp.c On Thu, 17 Oct 2002, Pulyankote, Gopinath wrote: > I have the problem with check_dhcp. This one didn't compile, didn't see any > errors while running configure > -G > > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, October 17, 2002 11:18 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling a single plug-in > > > Hi there, > > For some reason, the check_hpjd plugin did not compile on my machine. Is > there a way to compile that, and only that, plug-in? Thanks. > > -- ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Frank.Michael at star21.de Fri Oct 18 09:56:39 2002 From: Frank.Michael at star21.de (Frank.Michael at star21.de) Date: Fri, 18 Oct 2002 09:56:39 +0200 Subject: AW: check_running_proc (not check_procs) Message-ID: <15031E993E19FF469F1C94150465BA97077251@DEFRA1MXVS02.de.adp.star21networks.net> hi, you also have to put the command in single quotes ./check_procs -C '/usr/local/nagios/bin/nagios' -w 1: -c 1: -----Urspr?ngliche Nachricht----- Von: Karl DeBisschop [mailto:karl at debisschop.net] Gesendet: Freitag, 18. Oktober 2002 06:36 An: Sandro Merg Vaz Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] check_running_proc (not check_procs) On Thu, 2002-10-17 at 19:01, Sandro Merg Vaz wrote: > Nagiosmates: > > I?m deploying a Nagios solution to monitor some Linuxes and one > important point is to check the presence of some process (like > named,snmpd, sshd, crond, etc.). But the existing check_procs plugin > just warns me if there are MORE than the -w specified option. But I just > want to know if there is at least one process instance running, being > warned if there is NO process running. > > It would be like this, using check_procs sintax: > ./check_running_proc -C process_command check_procs -C xterm -w 1: -c 1: If I understand your request, it's already there. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users *********************************************************** Oktober-Aktion bei STAR 21 NETWORKS *********************************************************** INTERNET ACCESS 3 und 6 Mbit/s vier Wochen gratis STAR 21 NETWORKS bietet allen Kunden, die sich im Monat Oktober f?r 3 oder 6 Mbit/s INTERNET ACCESS von STAR 21 NETWORKS entscheiden, die ersten vier Wochen Nutzung gratis. Alle weiteren Infos zu dieser Aktion unter: www.star21networks.de , info at star21.de oder ueber unsere Service Hotline Tel. 0 800 - 1 00 73 40. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Wibo.Lammerts at hmg.nl Fri Oct 18 10:23:18 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Fri, 18 Oct 2002 10:23:18 +0200 Subject: Request Message-ID: Hi all, A big thanx to those who responded. I used Sean's template method and that works. I have another question: all these logos come in 4 diffrent filetypes. What file should I use for what part of Nagios? Not all the icons are showing... TIA Wibo Lammerts Systems Engineering Holland Media Groep www.hmg.nl / www.rtl.nl -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: donderdag 17 oktober 2002 18:04 To: Wibo Lammerts Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Request Hi Wibo, First, check out http://nagios.sourceforge.net/docs/1_0/xedtemplate.html. I missed that doc. section my first time around. It explains everything I'm going to tell you. In your cgi.cfg, you specify where your extended host and service info files are, e.g. xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg In hostextinfo.cfg, you define your extended host info. Here's a template and a extended host definition: # Debian GNU/Linux Extended Host Info Template. define hostextinfo{ name debian icon_image /hosticons/debian.png icon_image_alt Debian GNU/Linux vrml_image /hosticons/debian.png statusmap_image /hosticons/debian.png gd2_image /hosticons/debian.png register 0 ; DO NOT REGISTER THIS } Remember that the path to yours icons is /share/images/logos. I added a hosticons directory under logos to organize things. Now, the actual host information: # Debian servers define hostextinfo{ use debian host_name mail,www,mar,luna,t1,t2 } Note that I am missing some extended host information entries, such as notes_url, 2d_coords, and 3d_coords. I don't use them at the moment, so they're not listed. Adding icons to services is done the same way. Hope this helps! Big thanks to Jon Lyons for helping me initially. :) Sean Wibo Lammerts wrote: >Hi all, > >I have a hard time getting the pictures in the status maps to work, so can >can someone post his/hers cgi.cfg file so that I can see what I am doing >wrong? > >TIA > >Wibo Lammerts >Systems Engineering >Holland Media Groep >www.hmg.nl / www.rtl.nl > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cliff at edsamail.com Fri Oct 18 11:11:27 2002 From: cliff at edsamail.com (cliff) Date: Fri, 18 Oct 2002 17:11:27 +0800 Subject: Question installing nagios Message-ID: <004101c27686$56d9ba40$4f64a8c0@edsamail.com> Hi! Just want to ask, after installation of latest nagios, I only got 4 subdirectories for nagios...The one missing is /etc under nagios...anyone encountered this problem? Thanks in advance Cliff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jens.Bergmann at nordCom.net Fri Oct 18 11:22:48 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Fri, 18 Oct 2002 11:22:48 +0200 Subject: Question installing nagios Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DDD3@nc-mail2.in.nordcom.net> Hi Cliff, refer to: http://nagios.sourceforge.net/docs/1_0/config.html you did a "make install-config"? jens -----Original Message----- From: cliff [mailto:cliff at edsamail.com] Sent: Friday, October 18, 2002 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question installing nagios Hi! Just want to ask, after installation of latest nagios, I only got 4 subdirectories for nagios...The one missing is /etc under nagios...anyone encountered this problem? Thanks in advance Cliff -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkothandan at yahoo.com Fri Oct 18 11:40:35 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Fri, 18 Oct 2002 02:40:35 -0700 (PDT) Subject: Configuring windows disk drive free space Message-ID: <20021018094035.41575.qmail@web40405.mail.yahoo.com> Dear sir Iam able to see all unix O/S filesystem except system filesystem such as root,dev,etc and also not able to see windows Nt and windows 2000 disk free space please guide as how to do Thanks kothandan --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.wessel at media-online.ch Fri Oct 18 12:10:40 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Fri, 18 Oct 2002 12:10:40 +0200 Subject: Configuring windows disk drive free space In-Reply-To: <20021018094035.41575.qmail@web40405.mail.yahoo.com> References: <20021018094035.41575.qmail@web40405.mail.yahoo.com> Message-ID: <002301c2768e$9c7608d0$bd28bb0a@mediaonline.ch> Concerning the *nix part: are /dev, /root, /etc filesystems or "just" regular directories ? Think.. Concerning the windows part: I made some tests myself with snmpdf against some W2K Servers from my Linux Debian box. Works fine. It should not be a big problem to have this from within nagios, look at check_disk_smb or even check_snmp if you know the snmp read community of the Windows box (wich defaults to "public"). check_disk_smb -h to have the big picture Have a nice day, Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of mkothandan kothandan Sent: vendredi, 18. octobre 2002 11:41 To: nagios-users at lists.sourceforge.net Cc: nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Configuring windows disk drive free space Dear sir Iam able to see all unix O/S filesystem except system filesystem such as root,dev,etc and also not able to see windows Nt and windows 2000 disk free space please guide as how to do Thanks kothandan _____ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Fri Oct 18 15:52:21 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 18 Oct 2002 09:52:21 -0400 Subject: Extended info from nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A02012145@exnadetmbx3.ams.gblxint.com> All, We have developed a method of getting extended info back from nrpe without hacking (although it was tempting) any of the nagios or nagios plugin code. I'll warn you now, it ain't pretty but it works. We use it to get the output of things like: ps, top, metastat and others. Synopsis: On the host running Nagios (local host) we have a cgi script called remote_info.cgi On the host running the nrpe daemon (remote host) we have a script called get_info The remote_info.cgi (ok we added a link to the side bar) runs check_nrpe normally, for example: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_ps The nrpe daemon on the remote host runs the get_ps command which is defined as follows: command[get_ps]=/usr/local/nagios/libexec/get_info -c 'bin/ps -few' Therefore when the nrpe daemon is asked to run "get_ps" it actually runs get_info which in turn will run ps. Why have the output of ps (or top, metastat or whatever) run through the get_info script, because the nrpe daemon returns up to 1k of data or until the first new line character (it uses an fgets and the code limits it to 1k). That's why the output of the nrpe daemon is limited to one line. So, get_info runs ps (or top, metastat or whatever) and stores the output of ps in memory. Then get_info replaces the new line characters with ~'s and then gets the size of the output. If output is less than 1k, get_info appends and EOF to the output, then it prints it to STDOUT and then exits. The remote_info.cgi script receives the output, finds the EOF, htmlizes it, prints it and exits. Here's the tricky part, if the output from the process is greater than 1k, get_info writes the output to a file (text1), then prints the first 1k (first appending text1 to the end) to STDOUT remembering where it is in the file by writing it's position to a file (text1_marker) and then exits. The remote_info.cgi script receives the output, does not find an EOF, so it executes a get_text1 command: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_text1 defined as follows in the nrpe.cfg on the remote: command[get_text1]=/usr/local/nagios/get_info -t text1 get_info then opens the marker file (text1_marker) reads in the position it left off at, then it opens the text file (text1) seeks to the position and reads in the data. If it's less than 1k it sends it with an EOF appended, if not it repeats the above process until all the data is sent. Once all the data is received by remote_info.cgi it htmlizes it, prints it and exits. I did warn you that it wasn't pretty. But, it does work very well, without hacking nrpe and with out compromising security. Why do all this? Why not simply ssh to the box etc. The idea is that anyone can go to the nagios site and have a suite of diagnostic tools available to them. Dan P.S. If you are interested in the code for remote_info.cgi and get_info let me know and I'll email it to you. Sincerely, Daniel G. Rusch ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cliff at edsamail.com Fri Oct 18 16:02:48 2002 From: cliff at edsamail.com (cliff) Date: Fri, 18 Oct 2002 22:02:48 +0800 Subject: question again Message-ID: <001401c276af$0ab6c620$4f64a8c0@edsamail.com> Hi all!!! After installation and some configuration, i tried restarting Nagios with the -v option and it seems got an error.. Error: Cannot open config directory '/usr/local/nagios/etc/misccommands.cfg' for reading I checked the directory and it at /etc/misccommands.cfg and it is there. I hope someone could help..Just a newbie! Cliff -------------- next part -------------- An HTML attachment was scrubbed... URL: From dshurett at gahost.com Fri Oct 18 16:06:28 2002 From: dshurett at gahost.com (Danny Shurett) Date: Fri, 18 Oct 2002 10:06:28 -0400 Subject: question again References: <001401c276af$0ab6c620$4f64a8c0@edsamail.com> Message-ID: <018301c276af$9113e630$6401a8c0@dancpuman> check permissions on the file, make sure it is readable by the user that nagios runs as. ----- Original Message ----- From: cliff To: nagios-users at lists.sourceforge.net Sent: Friday, October 18, 2002 10:02 AM Subject: [Nagios-users] question again Hi all!!! After installation and some configuration, i tried restarting Nagios with the -v option and it seems got an error.. Error: Cannot open config directory '/usr/local/nagios/etc/misccommands.cfg' for reading I checked the directory and it at /etc/misccommands.cfg and it is there. I hope someone could help..Just a newbie! Cliff -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Fri Oct 18 16:12:50 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 18 Oct 2002 10:12:50 -0400 Subject: question again Message-ID: Nagios is looking for the file in "/usr/local/nagios/etc" you state that the file in "/etc" move the file and it will be found. later, dean -----Original Message----- From: cliff [mailto:cliff at edsamail.com] Sent: Friday, October 18, 2002 10:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] question again Hi all!!! After installation and some configuration, i tried restarting Nagios with the -v option and it seems got an error.. Error: Cannot open config directory '/usr/local/nagios/etc/misccommands.cfg' for reading I checked the directory and it at /etc/misccommands.cfg and it is there. I hope someone could help..Just a newbie! Cliff -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Oct 18 16:14:14 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 18 Oct 2002 10:14:14 -0400 (EDT) Subject: question again In-Reply-To: <001401c276af$0ab6c620$4f64a8c0@edsamail.com> References: <001401c276af$0ab6c620$4f64a8c0@edsamail.com> Message-ID: The directories don't seem to match - if they do, check the file permissions. On Fri, 18 Oct 2002, cliff wrote: > Hi all!!! > > After installation and some configuration, i tried restarting Nagios > with the -v option and it seems got an error.. > > Error: Cannot open config directory > '/usr/local/nagios/etc/misccommands.cfg' for reading > > I checked the directory and it at /etc/misccommands.cfg and it is there. > I hope someone could help..Just a newbie! > > Cliff > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Fri Oct 18 16:29:32 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 18 Oct 2002 10:29:32 -0400 Subject: Ucd-snmp Message-ID: <5593DA408212D511B0910002A513501F01D287A3@phsexch20.mgh.harvard.edu> Is Ucd-snmp part of the net-snmp package or is it a separate product that can be downloaded from the Internet? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From John.Jolet at misyshealthcare.com Fri Oct 18 16:31:47 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Fri, 18 Oct 2002 10:31:47 -0400 Subject: Extended info from nrpe Message-ID: anybody know why nrpe won't return more than 1 line of data? Is it for nagios reasons, or some other reason? Anyone know the history behind that? -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Friday, October 18, 2002 8:52 AM To: Nagios-User (E-mail) Subject: [Nagios-users] Extended info from nrpe All, We have developed a method of getting extended info back from nrpe without hacking (although it was tempting) any of the nagios or nagios plugin code. I'll warn you now, it ain't pretty but it works. We use it to get the output of things like: ps, top, metastat and others. Synopsis: On the host running Nagios (local host) we have a cgi script called remote_info.cgi On the host running the nrpe daemon (remote host) we have a script called get_info The remote_info.cgi (ok we added a link to the side bar) runs check_nrpe normally, for example: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_ps The nrpe daemon on the remote host runs the get_ps command which is defined as follows: command[get_ps]=/usr/local/nagios/libexec/get_info -c 'bin/ps -few' Therefore when the nrpe daemon is asked to run "get_ps" it actually runs get_info which in turn will run ps. Why have the output of ps (or top, metastat or whatever) run through the get_info script, because the nrpe daemon returns up to 1k of data or until the first new line character (it uses an fgets and the code limits it to 1k). That's why the output of the nrpe daemon is limited to one line. So, get_info runs ps (or top, metastat or whatever) and stores the output of ps in memory. Then get_info replaces the new line characters with ~'s and then gets the size of the output. If output is less than 1k, get_info appends and EOF to the output, then it prints it to STDOUT and then exits. The remote_info.cgi script receives the output, finds the EOF, htmlizes it, prints it and exits. Here's the tricky part, if the output from the process is greater than 1k, get_info writes the output to a file (text1), then prints the first 1k (first appending text1 to the end) to STDOUT remembering where it is in the file by writing it's position to a file (text1_marker) and then exits. The remote_info.cgi script receives the output, does not find an EOF, so it executes a get_text1 command: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_text1 defined as follows in the nrpe.cfg on the remote: command[get_text1]=/usr/local/nagios/get_info -t text1 get_info then opens the marker file (text1_marker) reads in the position it left off at, then it opens the text file (text1) seeks to the position and reads in the data. If it's less than 1k it sends it with an EOF appended, if not it repeats the above process until all the data is sent. Once all the data is received by remote_info.cgi it htmlizes it, prints it and exits. I did warn you that it wasn't pretty. But, it does work very well, without hacking nrpe and with out compromising security. Why do all this? Why not simply ssh to the box etc. The idea is that anyone can go to the nagios site and have a suite of diagnostic tools available to them. Dan P.S. If you are interested in the code for remote_info.cgi and get_info let me know and I'll email it to you. Sincerely, Daniel G. Rusch ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kmiller at inflow.com Fri Oct 18 16:27:27 2002 From: kmiller at inflow.com (Kevin Miller) Date: Fri, 18 Oct 2002 08:27:27 -0600 Subject: Feature request: Hostgroup nesting ? Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA31@columbus.admin.corp.inflow.com> Same here, it would be very usefull -----Original Message----- From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] Sent: Thursday, October 17, 2002 7:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Feature request: Hostgroup nesting ? I too am looking for that option. -G -----Original Message----- From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] Sent: Wednesday, October 16, 2002 1:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostgroup nesting ? Can you nest hostgroups ? If possible i want to create a hostgroup with certain members, and make the hostgroup member of another hostgroup. Possible ? Best regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Fri Oct 18 16:58:11 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 18 Oct 2002 10:58:11 -0400 Subject: Timeout when checking printer status Message-ID: <5593DA408212D511B0910002A513501F01D287A5@phsexch20.mgh.harvard.edu> Hi there, I am consistently getting a timeout message for a printer even though I know the printer is up and running. I installed the check_hpjd plugin and have confirmed that net-snmp as well asucd-snmp are installed on the Nagios server. Any idea? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sandro at opservices.com.br Fri Oct 18 17:19:17 2002 From: sandro at opservices.com.br (Sandro Merg Vaz) Date: Fri, 18 Oct 2002 12:19:17 -0300 Subject: RES: Question installing nagios In-Reply-To: <004101c27686$56d9ba40$4f64a8c0@edsamail.com> References: <004101c27686$56d9ba40$4f64a8c0@edsamail.com> Message-ID: If you don?t use tthe command "make install-config", the etc is not create, and the sample-config filed also. No problem. Just create manually, create your *.CFG, apply the permissions, and the show could begin... After probably you?ll spend much time to put Nagios running (believe me...). Att., Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de cliff Enviada em: sexta-feira, 18 de outubro de 2002 06:11 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Question installing nagios Hi! Just want to ask, after installation of latest nagios, I only got 4 subdirectories for nagios...The one missing is /etc under nagios...anyone encountered this problem? Thanks in advance Cliff --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.wessel at media-online.ch Fri Oct 18 17:33:45 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Fri, 18 Oct 2002 17:33:45 +0200 Subject: Ucd-snmp In-Reply-To: <5593DA408212D511B0910002A513501F01D287A3@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D287A3@phsexch20.mgh.harvard.edu> Message-ID: <003701c276bb$bf6d52d0$bd28bb0a@mediaonline.ch> Maybe I'm wrong...but I have to say your question is not that clear. I explain why I'm confused. Perl package Net::SNMP versus ucd-snmp. They are not the same. But I'm pretty sure your concern is about the snmp protocol, not the Perl module... Then www.google.com and search "what is ucd-snmp"... Results: ~47100 pages... I jumped on the first one. http://net-snmp.sourceforge.net/ Read the 2 first lines... ---snip--- Welcome To The NET-SNMP Home Page (Previously known as "ucd-snmp") ---snip--- Hope it helps ;-) Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: vendredi, 18. octobre 2002 16:30 To: 'Subhendu Ghosh' Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ucd-snmp Is Ucd-snmp part of the net-snmp package or is it a separate product that can be downloaded from the Internet? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Oct 18 17:33:19 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 18 Oct 2002 11:33:19 -0400 Subject: Ucd-snmp References: <5593DA408212D511B0910002A513501F01D287A3@phsexch20.mgh.harvard.edu> Message-ID: <3DB029BF.1080606@quadrix.com> UCD-snmp and net-snmp are the same thing, just different versions. the ucd version is everything up to version 4.* (ucd stands for U. of California - Davis, I think). Then they decided to make a more generic name, net-snmp, which takes over at version 5.* The check_snmp for Nagios currently only works with ucd-snmp, I believe. -Russell Kaplan, Andrew H. wrote: >Is Ucd-snmp part of the net-snmp package or is it a separate product that can be >downloaded from the Internet? > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Fri Oct 18 17:38:57 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 18 Oct 2002 11:38:57 -0400 Subject: Extended info from nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A02012146@exnadetmbx3.ams.gblxint.com> Sorry, I don't the know the reason/history. I looked at the code and found the fgets and was very tempted to hack that, but discretion is the better part of ...... -----Original Message----- From: Jolet, John [mailto:John.Jolet at misyshealthcare.com] Sent: Friday, October 18, 2002 9:32 AM To: Nagios-User (E-mail) Subject: RE: [Nagios-users] Extended info from nrpe anybody know why nrpe won't return more than 1 line of data? Is it for nagios reasons, or some other reason? Anyone know the history behind that? -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Friday, October 18, 2002 8:52 AM To: Nagios-User (E-mail) Subject: [Nagios-users] Extended info from nrpe All, We have developed a method of getting extended info back from nrpe without hacking (although it was tempting) any of the nagios or nagios plugin code. I'll warn you now, it ain't pretty but it works. We use it to get the output of things like: ps, top, metastat and others. Synopsis: On the host running Nagios (local host) we have a cgi script called remote_info.cgi On the host running the nrpe daemon (remote host) we have a script called get_info The remote_info.cgi (ok we added a link to the side bar) runs check_nrpe normally, for example: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_ps The nrpe daemon on the remote host runs the get_ps command which is defined as follows: command[get_ps]=/usr/local/nagios/libexec/get_info -c 'bin/ps -few' Therefore when the nrpe daemon is asked to run "get_ps" it actually runs get_info which in turn will run ps. Why have the output of ps (or top, metastat or whatever) run through the get_info script, because the nrpe daemon returns up to 1k of data or until the first new line character (it uses an fgets and the code limits it to 1k). That's why the output of the nrpe daemon is limited to one line. So, get_info runs ps (or top, metastat or whatever) and stores the output of ps in memory. Then get_info replaces the new line characters with ~'s and then gets the size of the output. If output is less than 1k, get_info appends and EOF to the output, then it prints it to STDOUT and then exits. The remote_info.cgi script receives the output, finds the EOF, htmlizes it, prints it and exits. Here's the tricky part, if the output from the process is greater than 1k, get_info writes the output to a file (text1), then prints the first 1k (first appending text1 to the end) to STDOUT remembering where it is in the file by writing it's position to a file (text1_marker) and then exits. The remote_info.cgi script receives the output, does not find an EOF, so it executes a get_text1 command: /usr/local/nagios/libexec/check_nrpe somehost.somewhere.com -p 5666 -c get_text1 defined as follows in the nrpe.cfg on the remote: command[get_text1]=/usr/local/nagios/get_info -t text1 get_info then opens the marker file (text1_marker) reads in the position it left off at, then it opens the text file (text1) seeks to the position and reads in the data. If it's less than 1k it sends it with an EOF appended, if not it repeats the above process until all the data is sent. Once all the data is received by remote_info.cgi it htmlizes it, prints it and exits. I did warn you that it wasn't pretty. But, it does work very well, without hacking nrpe and with out compromising security. Why do all this? Why not simply ssh to the box etc. The idea is that anyone can go to the nagios site and have a suite of diagnostic tools available to them. Dan P.S. If you are interested in the code for remote_info.cgi and get_info let me know and I'll email it to you. Sincerely, Daniel G. Rusch ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Fri Oct 18 18:57:11 2002 From: jragle at unm.edu (Jamin) Date: Fri, 18 Oct 2002 10:57:11 -0600 (MDT) Subject: Q: How to contribute to documentation effort In-Reply-To: References: Message-ID: Maybe a documentation sub-project would be worth starting like the SDL folks... On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > Just e-mail them to Ethan...? > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Thursday, October 17, 2002 3:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Q: How to contribute to > > documentation effort > > > > > > > > I usually send in "diff -u3" for the each page that need corrections. > > > > > > > > On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > > > > > I was wondering if anyone could tell me how I could > > contribute to the Nagios > > > project, at least as far as tweaking the documentation (eg, > > grammar/spelling > > > tweaks, other enhancements) is concerned...? > > > > > > (Hopefully others who are interested in having > > all-encompassing, airtight > > > docs will be interested in how to collaborate as well.) > > > > > > jc > > > > > > > -- > > > > -sg > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ---------------------------------------------------------------------- Ex vitio sapiens aleno emendat suum. -- Pub. Syrus ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Fri Oct 18 18:59:43 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 18 Oct 2002 12:59:43 -0400 Subject: Code for Extended info Message-ID: <0DA06E553C3BD511823500508BB8965A02012147@exnadetmbx3.ams.gblxint.com> Attached is the code for the two scripts to get extended info from nrpe. Please note: These are beta scripts. They work, but they have not been tested thoroughly. They come with ABSOLUTELY NO WARRANTY. You may redistribute copies of them under the terms of the GNU General Public License. If you make changes please let me know, so I can review the changes and possibly incorparate them into the next revision. Sincerely, Daniel G. Rusch -------------- next part -------------- A non-text attachment was scrubbed... Name: get_info Type: application/octet-stream Size: 7116 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: remote_info.cgi Type: application/octet-stream Size: 2945 bytes Desc: not available URL: From Larry.Wade at ind.alcatel.com Fri Oct 18 19:12:26 2002 From: Larry.Wade at ind.alcatel.com (Larry Wade) Date: Fri, 18 Oct 2002 10:12:26 -0700 Subject: Total Number of Hosts Message-ID: <3DB040FA.1090700@alcatel.com> Is there a limit as to the number of hosts Nagios can handle? I seem to be hitting a roadblock at 230. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 18 19:30:28 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 18 Oct 2002 13:30:28 -0400 Subject: Total Number of Hosts Message-ID: don't think so. i have 1400 or so and i have seen others with 3 times that many. what indication do you get? -----Original Message----- From: Larry Wade [mailto:Larry.Wade at ind.alcatel.com] Sent: Friday, October 18, 2002 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Total Number of Hosts Is there a limit as to the number of hosts Nagios can handle? I seem to be hitting a roadblock at 230. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Oct 18 19:30:14 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 18 Oct 2002 12:30:14 -0500 Subject: Total Number of Hosts Message-ID: What kind of "roadblock" are you hitting? Latency in polling? Polling does not complete within x minutes? How many services are you checking for these 230 hosts? What types of services/plugins? Nolan >>> "Larry Wade" 10/18/02 12:12PM >>> Is there a limit as to the number of hosts Nagios can handle? I seem to be hitting a roadblock at 230. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 18 19:35:07 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 18 Oct 2002 13:35:07 -0400 (EDT) Subject: Total Number of Hosts In-Reply-To: <3DB040FA.1090700@alcatel.com> References: <3DB040FA.1090700@alcatel.com> Message-ID: On Fri, 18 Oct 2002, Larry Wade wrote: > Is there a limit as to the number of hosts Nagios can handle? I seem to > be hitting a roadblock at 230. > No - people have reported high thousands for hosts. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Oct 18 19:37:27 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 18 Oct 2002 13:37:27 -0400 (EDT) Subject: Q: How to contribute to documentation effort In-Reply-To: References: Message-ID: A sub-project isn't any different than having a doc/ dir and submitting patches against it. I like having one CVS module / tarball to install . -sg On Fri, 18 Oct 2002, Jamin wrote: > Maybe a documentation sub-project would be worth starting like the SDL > folks... > > On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > > > Just e-mail them to Ethan...? > > > > > -----Original Message----- > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > Sent: Thursday, October 17, 2002 3:22 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Q: How to contribute to > > > documentation effort > > > > > > > > > > > > I usually send in "diff -u3" for the each page that need corrections. > > > > > > > > > > > > On Thu, 17 Oct 2002, Carroll, Jim P [Contractor] wrote: > > > > > > > I was wondering if anyone could tell me how I could > > > contribute to the Nagios > > > > project, at least as far as tweaking the documentation (eg, > > > grammar/spelling > > > > tweaks, other enhancements) is concerned...? > > > > > > > > (Hopefully others who are interested in having > > > all-encompassing, airtight > > > > docs will be interested in how to collaborate as well.) > > > > > > > > jc > > > > > > > > > > -- > > > > > > -sg > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------------------------------------------------------------------- > Ex vitio sapiens aleno emendat suum. -- Pub. Syrus > > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Fri Oct 18 19:38:53 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Fri, 18 Oct 2002 17:38:53 +0000 Subject: Windows host checking Message-ID: Is there anything to do windows host checking/monitoring like there was for netsaint? If so, what would be the best thing to use? For Windows clients and for nagios? Andrew Meyer _________________________________________________________________ Surf the Web without missing calls!?Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Fri Oct 18 19:40:28 2002 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Oct 2002 12:40:28 -0500 Subject: Total Number of Hosts Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F716E8@mismail.ena.com> There is a limit on the number of hosts you can have in a hostgroup effectively. I believe that the MAX_HOSTS_INPUT_BUFFER size is defaulted to 8192 bytes. I've had to increase that substantially in xoddefault.c to accommodate hostgroups with several hundreds of hosts. Marc > -----Original Message----- > From: Larry Wade [mailto:Larry.Wade at ind.alcatel.com] > Sent: Friday, October 18, 2002 12:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Total Number of Hosts > > Is there a limit as to the number of hosts Nagios can handle? I seem to > be hitting a roadblock at 230. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Fri Oct 18 19:50:31 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 18 Oct 2002 10:50:31 -0700 Subject: Windows host checking References: Message-ID: <3DB049E7.4090504@sbcglobal.net> We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are pretty happy with it. SNMP is also another viable method (we don't like the security problems inherent with SNMP, and opted to use nsclient encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). http://nsclient.ready2run.nl/ Runs as a WinNT/Win2K service. -Sean Andrew Meyer wrote: > Is there anything to do windows host checking/monitoring like there > was for netsaint? If so, what would be the best thing to use? For > Windows clients and for nagios? > > > Andrew Meyer > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From John.Jolet at misyshealthcare.com Fri Oct 18 19:47:28 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Fri, 18 Oct 2002 13:47:28 -0400 Subject: Total Number of Hosts Message-ID: kinda depends on the hardware, doesn't it? -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Friday, October 18, 2002 12:30 PM To: 'Larry Wade'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Total Number of Hosts don't think so. i have 1400 or so and i have seen others with 3 times that many. what indication do you get? -----Original Message----- From: Larry Wade [mailto:Larry.Wade at ind.alcatel.com] Sent: Friday, October 18, 2002 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Total Number of Hosts Is there a limit as to the number of hosts Nagios can handle? I seem to be hitting a roadblock at 230. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dbestetti at interop.com.br Fri Oct 18 19:54:55 2002 From: dbestetti at interop.com.br (Dario B. Bestetti) Date: Fri, 18 Oct 2002 14:54:55 -0300 Subject: RRD Tool integration; ANOUNCE! In-Reply-To: <3DAE818F.9030906@sbcglobal.net> References: <3DAE818F.9030906@sbcglobal.net> Message-ID: <00a001c276cf$77445530$8101a8c0@ucbrpoa.uccorp.net> I have the same problem. Any tip ? []s Dario. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Sean Knox > Sent: quinta-feira, 17 de outubro de 2002 06:23 > To: Fredrik W?nglund > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RRD Tool integration; ANOUNCE! > > > Hi Fredrik, > > I believe I followed the README directions (well > obviously not, or I > wouldn't be writing this :)), however the apan service check > reports "No > perf-definition for service." What did I miss? > > Sean > > > Fredrik W?nglund wrote: > > >OK, its finally released. > > > >I made a prject on Sourceforge for my RRD Tool - Nagios integration. > >The project is called 'Apan' an can be found on > > > >www.sourceforge.net/projects/apan > > > >This is a _very_ early release, but give it a try, and give > feedback to > >me.... > > > > > > > >- > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up > to $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;> v? > http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Fri Oct 18 19:54:45 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Fri, 18 Oct 2002 17:54:45 +0000 Subject: multiple protocol checks Message-ID: In the hosts.cfg file when i set up a host to be checked by nagios, and i wanted it to check for several thing like ping, tcp, udp, ssh and http how do i seperate each check_command? With a space? or a comma? Andrew Meyer _________________________________________________________________ Get a speedy connection with MSN Broadband.? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stuart.Hirst at wymas.nhs.uk Fri Oct 18 19:55:48 2002 From: Stuart.Hirst at wymas.nhs.uk (Stuart Hirst) Date: Fri, 18 Oct 2002 18:55:48 +0100 Subject: NSClient timeout override Message-ID: I am using Nagios with NSClient for Windows to check available disk space but don't care if someone turns off the workstation. Thr problem is that when the workstation is down the check-nt plugin returns a critical timeout which a hard non-OK status within Nagios. Does anyone know how to override this so that an OK state is maintained when the plugin times out Thanks for any suggestions in advance. This is an email from West Yorkshire Metropolitan Ambulance Service. This message may contain information that is confidential. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and either return or destroy the original message. West Yorkshire Metropolitan Ambulance Service accept no responsibility for any changes made to this message after it has been sent by the original author. The views or opinions contained herein do not necessarily represent the views of West Yorkshire Metropolitan Ambulance Service. This email or any of its attachments may contain data that falls within the scope of the Data Protection Acts. You must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. Sent from my BlackBerry Wireless Handheld ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Fri Oct 18 20:04:23 2002 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Oct 2002 13:04:23 -0500 Subject: multiple protocol checks Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F716ED@mismail.ena.com> Create multiple service definitions: # Host definition define host { use generic-host host_name tnsch-cecil-b-rigsby-es-cache-bledsoe-tn alias cecil-b-rigsby-es-cache address ip.address.remov.ed check_command check-host-alive } #Service definition define service { use generic-service host_name tnsch-cecil-b-rigsby-es-cache-bledsoe-tn service_description PING contact_groups tnops,nateng-oncall-network-apps check_command check_ping } #Service definition define service { use generic-service host_name tnsch-cecil-b-rigsby-es-cache-bledsoe-tn service_description CACHING contact_groups tnops,nateng-oncall-network-apps check_command check_caching } -- Marc > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Friday, October 18, 2002 12:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple protocol checks > > In the hosts.cfg file when i set up a host to be checked by nagios, and i > wanted it to check for several thing like ping, tcp, udp, ssh and http how > do i seperate each check_command? With a space? or a comma? > > Andrew Meyer > > > > > > _________________________________________________________________ > Get a speedy connection with MSN Broadband.? Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Richard.Wu at fusepoint.com Fri Oct 18 20:30:27 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Fri, 18 Oct 2002 11:30:27 -0700 Subject: plugin time out on Solaris8 for large number of check_by_ssh Message-ID: <77F055FA968580429F4546414D8C10E707FC26@s102b.rhcci.net> Hi,friends: MY nagios running well for small number of check_by_ssh checks while running into "plugin timeout after 10 seconds" after putting large number of such checks(around 150 running on a Netra t1). Any one has a trick for this ? Thanks in advanc! Richard Wu Email:richard.wu at fusepoint.com Web : www.fusepoint.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 18 20:35:31 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 18 Oct 2002 14:35:31 -0400 Subject: nsclient and exchange - any problems? Message-ID: Good morning, i am about to install NSClient on the exchange 5.5 sp4 servers here and would like to know if anyone has had problems (or not). The servers are running NT4.0. i have 3 mail servers and one connector server. Is anyone using a similar configuration?? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RLAdams at Kelsey-Seybold.com Fri Oct 18 20:47:15 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Fri, 18 Oct 2002 13:47:15 -0500 Subject: Windows host checking In-Reply-To: <3DB049E7.4090504@sbcglobal.net> References: <3DB049E7.4090504@sbcglobal.net> Message-ID: <23282.9584660523$1034967367@news.gmane.org> NSClient over ssh? Kewl! I was thinking stunnel... However, I must say, that I use _alot_ of SNMP... The newest UCD_SNMP for Linux and other UNIX hosts, with HostMIB enabled, and the stock Win2k SNMP Service (that has some HostMIB support). This lets me monitor running processes and disk space on both Windoze and Linux with the same plugins! I don't have to have one set for Linux, and a different set for Windoze. Russell On Fri, Oct 18, 2002 at 10:50:31AM -0700, Sean Knox wrote: > We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are > pretty happy with it. SNMP is also another viable method (we don't like > the security problems inherent with SNMP, and opted to use nsclient > encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). > > http://nsclient.ready2run.nl/ > > Runs as a WinNT/Win2K service. > > -Sean > > > Andrew Meyer wrote: > > >Is there anything to do windows host checking/monitoring like there > >was for netsaint? If so, what would be the best thing to use? For > >Windows clients and for nagios? > > > > > >Andrew Meyer > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Fri Oct 18 21:07:18 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Fri, 18 Oct 2002 19:07:18 +0000 Subject: nagios.lock file Message-ID: for some reason now, i can't get nagios to start. it claims it can't find the lock file, but when i try to do a touch nagios.lock and start it, it still doesn' work. Any suggestions? Andrew Meyer _________________________________________________________________ Unlimited Internet access for only $21.95/month.? Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Larry.Wade at ind.alcatel.com Fri Oct 18 21:13:47 2002 From: Larry.Wade at ind.alcatel.com (Larry Wade) Date: Fri, 18 Oct 2002 12:13:47 -0700 Subject: Total Number of Hosts Message-ID: <3DB05D6B.9030608@alcatel.com> Thank you all for your help. It was a syntax error. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Oct 18 21:16:45 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 18 Oct 2002 15:16:45 -0400 Subject: reading configs real-time?? Message-ID: Good morning, i was wondering if anyone else has experienced this and/or had an explaination. When i open the config files and start modifying them while Nagios is running, i often get errors on the web page stating that i don't have permission to see the configs. It seems like the files are open and locked. i was under the impression that the files were not read except during the startup. Guess i am wrong. so can i safely assume that the config's are not cached in memory at startup and that Nagios actually reads the configs to get information on what to check next?? this doesn't see very efficient. Am i understanding wrong?? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Fri Oct 18 21:31:48 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 18 Oct 2002 14:31:48 -0500 (CDT) Subject: nsclient and exchange - any problems? In-Reply-To: References: Message-ID: <3832.192.168.1.9.1034969508.squirrel@xyzzy.homeip.net> Hi Dean, I configured a setup pretty close to that about a year ago without problems. NT4 (SP6), Exchange 5.5 (SP2) and NSClient 1.04.2, with Nagios 1.0a5. Of course, make sure you have a clean backup for CYA purposes. :) - Mike > Good morning, > > i am about to install NSClient on the exchange 5.5 sp4 servers here > and would like to know if anyone has had problems (or not). The servers are > running NT4.0. i have 3 mail servers and one connector server. Is anyone > using a similar configuration?? > > thanks, > dean -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Oct 18 21:35:16 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 18 Oct 2002 14:35:16 -0500 Subject: reading configs real-time?? Message-ID: I have experienced the same results. It seems the only file - that I have seen - that you can modify on the fly is the hostextinfo.cfg (for icon associations). The FAQs touch on this, in terms of adding hosts or services without restarting. That same authorization logic issue seems to apply to this situation. I agree though that it would be nice if you could make the changes to the existing files while Nagios is still running. I plan to duplicate the existing files, make modifications, stop Nagios, replace the files and reload Nagios. I would think, however, that you should be able to modify the files offline, replace the existing files with the modified files, and simply reload Nagios, forcing it to pull in the new configuration information. Like you said though, not the most efficient process. Perhaps other suggestions? Nolan >>> "Bishop, Dean" 10/18/02 02:16PM >>> Good morning, i was wondering if anyone else has experienced this and/or had an explaination. When i open the config files and start modifying them while Nagios is running, i often get errors on the web page stating that i don't have permission to see the configs. It seems like the files are open and locked. i was under the impression that the files were not read except during the startup. Guess i am wrong. so can i safely assume that the config's are not cached in memory at startup and that Nagios actually reads the configs to get information on what to check next?? this doesn't see very efficient. Am i understanding wrong?? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From steven.grzywinski at superior-group.com Fri Oct 18 21:45:27 2002 From: steven.grzywinski at superior-group.com (steven.grzywinski at superior-group.com) Date: Fri, 18 Oct 2002 15:45:27 -0400 Subject: WAP, Reverse Proxy and Apache Message-ID: I'm trying to set up WAP access to nagios using a reverse proxy... I've been able to connect via WAP and get the inital screen.. but once I choose a menu choice, like Quick Stats, I get a 404 Not Found error... and I'm sure it's because I never done this before and I'm missing a piece of the puzzle... If anyone has this working could you share your configuration... Using the mod_proxy module only with Apache 1.3.22 ProxyRequests on ProxyPass /ng/ http://nagios.superior-group.com/nagios/cgi-bin/statuswml.cgi ProxyPassReverse /ng/ http://nagios.superior-group.com/nagios/ The error I'm getting is: The requested URL /nagios/cgi-bin/statuswml.cgistatuswml.cgi was not found on server... I've tried playing with the ProxyPassReverse line but to no avail... any help would be appreciated.... steven grzywinski, mgr. corp. technology superior technology group superior group inc. radnor, pa phone 610.964.2042??? fax 610.964.2001 w: www.superior-group.com e: steven.grzywinski at superior-group.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From riek at de.alcove.com Fri Oct 18 21:53:54 2002 From: riek at de.alcove.com (Daniel Riek) Date: Fri, 18 Oct 2002 21:53:54 +0200 Subject: Args for host_check commands Message-ID: <20021018195354.GA28164@de.alcove.com> Hi, we have a environment here, where wee needed the possibility to pass an arg to a host check command in the same way as with service checks (command!ARG1...). Here is a (very) little patch, that makes that possible. Regards, Daniel -- Daniel Riek - http://www.alcove.com/de/ * Technical Manager - Tel.: +49 (0)2 28 / 9 08 69 85 * ALCOVE Deutschland GmbH - Fax: +49 (0)2 28 / 9 08 69 84 * Liberating Software - Mobil: +49 (0)1 71 / 2 80 08 79 --------------------- --- base/config.c.orig Fri Oct 18 21:44:36 2002 +++ base/config.c Fri Oct 18 21:44:53 2002 @@ -1476,7 +1476,7 @@ /* hosts that don't have check commands defined shouldn't ever be checked... */ if(temp_host->host_check_command!=NULL){ - temp_command=find_command(temp_host->host_check_command,NULL); + temp_command=find_command(my_strtok(temp_host->host_check_command,"!"),NULL); if(temp_command==NULL){ snprintf(temp_buffer,sizeof(temp_buffer),"Error: Host check command '%s' specified for host '%s' is not defined anywhere!",temp_host->host_check_command,temp_host->name); temp_buffer[sizeof(temp_buffer)-1]='\x0'; -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 240 bytes Desc: not available URL: From doug.moore at ibill.com Fri Oct 18 22:05:24 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Fri, 18 Oct 2002 16:05:24 -0400 Subject: Sound options Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635B2@mail01.ibill.com> is there anyway to make the notifications repeat over and over till acknowledged or for the sound to play 3 or 4 times? I know that host_unreachable_sound=hostdown.wav host_down_sound=hostdown.wav service_critical_sound=critical.wav service_warning_sound=warning.wav service_unknown_sound=warning.wav normal_sound=noproblem.wav all are played only when the browser is refreshed, with by default is 90 seconds correct. One work-around that I know of is to make the sounds "longer" by doing a copy/paste of the 1 second sound so it becomes around 10seconds. Suggestions? I need to for my late shift to be "awakened" from a deep sleep if a device goes down. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Fri Oct 18 22:19:19 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Fri, 18 Oct 2002 16:19:19 -0400 Subject: Critical Status not clearing in web interface Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635B3@mail01.ibill.com> For some reason, the SMTP check I have enabled and is currently "checking" is still a "critical" red/down. I used the web-interface to disable checks for the service. Next I proceeded to re-able checks for the Snmp service. Nagios is checking the snmp service successfully, but the "critical" is not clearing from the Services Detail webpage or any other webpage. what am I missing here? I have over 20mins of "ok" checks that the snmp service is up and "ok" but yet there is a "critical" red thru out the system. thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Oct 18 23:02:44 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 18 Oct 2002 17:02:44 -0400 Subject: nagios.lock file References: Message-ID: <3DB076F4.3080904@quadrix.com> It's not that it can't find nagios.lock. When you try to start nagios, after it runs the nagios program in your bin directory, it looks to make sure the lock file was created (i.e. - Nagios is actually running). If the program failed, you'll get this error since Nagios isn't running (no lock file). Two things to try... 1. use the ./bin/nagios -v etc/nagios.cfg to check your configs. If you have any errors in your .cfg files, then you won't be able to start Nagios. 2. if the -v works ok, make sure all your paths to files are correct. I had a problem once where my paths in the nagios.cfg were incorrect, but the -v sanity check came back ok because all my object definitions (the etc/*.cfg) were correct. -Russell Scibetti Andrew Meyer wrote: > for some reason now, i can't get nagios to start. it claims it can't > find the lock file, but when i try to do a touch nagios.lock and start > it, it still doesn' work. > Any suggestions? > > Andrew Meyer > > > > > > _________________________________________________________________ > Unlimited Internet access for only $21.95/month. Try MSN! > http://resourcecenter.msn.com/access/plans/2monthsfree.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Fri Oct 18 23:21:43 2002 From: jragle at unm.edu (Jamin) Date: Fri, 18 Oct 2002 15:21:43 -0600 (MDT) Subject: Critical Status not clearing in web interface In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A035635B3@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A035635B3@mail01.ibill.com> Message-ID: I still have a similar error in that mine is in a "warning" state even when I run the check_snmp by hand I get the "OK" and the program return code is 0 (zero). (found by a "echo $?") Somewhere, nagios seems to be interpreting the return value as a "1" or something... right now, a warning is still better than a critical. =\ Any suggestions to figure out whats going on? On Fri, 18 Oct 2002 doug.moore at ibill.com wrote: > For some reason, the SMTP check I have enabled and is currently "checking" > is still a "critical" red/down. > > I used the web-interface to disable checks for the service. Next I > proceeded to re-able checks for the Snmp service. Nagios is checking the > snmp service successfully, but the "critical" is not clearing from the > Services Detail webpage or any other webpage. > > what am I missing here? I have over 20mins of "ok" checks that the snmp > service is up and "ok" but yet there is a "critical" red thru out the > system. > > thanks > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ---------------------------------------------------------------------- It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed. The hands acquire shaking. The shaking becomes a warning. It is by caffeine alone I set my mind in motion. -Influenced by Dune ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Fri Oct 18 23:32:52 2002 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Oct 2002 16:32:52 -0500 Subject: reading configs real-time?? Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F716F7@mismail.ena.com> The nagios daemon only reads the config files on startup and not again. The CGI's, however need to read them for _every_ page that's displayed. That's because each CGI called starts, reads the configs, sends the html it's supposed to and then dies. It's just the nature of the HTTP protocol. Nagios would need to be written to support SpeedyCGI or some other CGI caching daemon which I believe is being looked at for an undetermined future release. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Friday, October 18, 2002 2:17 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] reading configs real-time?? > > Good morning, > > i was wondering if anyone else has experienced this and/or had an > explaination. > > When i open the config files and start modifying them while Nagios is > running, i often get errors on the web page stating that i don't have > permission to see the configs. It seems like the files are open and > locked. > > i was under the impression that the files were not read except during the > startup. Guess i am wrong. > > so can i safely assume that the config's are not cached in memory at > startup > and that Nagios actually reads the configs to get information on what to > check next?? > > this doesn't see very efficient. Am i understanding wrong?? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From mpowell at ena.com Fri Oct 18 23:37:10 2002 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Oct 2002 16:37:10 -0500 Subject: Critical Status not clearing in web interface Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F716F9@mismail.ena.com> SMTP or SNMP? If it's SMTP, search the archives and you'll find your solution. There is a patch to check_smtp to send a "\r\n" after the QUIT instead of just "\r" I believe... -- Marc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 18, 2002 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Critical Status not clearing in web interface > > For some reason, the SMTP check I have enabled and is currently "checking" > is still a "critical" red/down. > > I used the web-interface to disable checks for the service. Next I > proceeded to re-able checks for the Snmp service. Nagios is checking the > snmp service successfully, but the "critical" is not clearing from the > Services Detail webpage or any other webpage. > > what am I missing here? I have over 20mins of "ok" checks that the snmp > service is up and "ok" but yet there is a "critical" red thru out the > system. > > thanks > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From whiatt at upstanding.com Sat Oct 19 00:23:25 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Fri, 18 Oct 2002 15:23:25 -0700 Subject: NSCLIENT output Message-ID: <1363CF56CD255F448CEA231C4A63254B010576@exch-be-01.upstanding.com> Is there a way to parse the output from NSCLIENT on the CPU load information: CPU Load (5 min. 0) and get it to just display just the number?? I.E. I want to pipe this over to MRTG but have been unable to write a shells cript to take that 0 out and give it to me? I tried using the processor performance counter, but I would constantly get 99.98% back, even when the box had no load! For processor though, I do prefer using NSCLIETN's output Thanks william -------------- next part -------------- An HTML attachment was scrubbed... URL: From whiatt at upstanding.com Sat Oct 19 00:24:18 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Fri, 18 Oct 2002 15:24:18 -0700 Subject: Parsing NSCLIENT Output/Performance Counters Message-ID: <1363CF56CD255F448CEA231C4A63254B010577@exch-be-01.upstanding.com> Is there a way to parse the output from NSCLIENT on the CPU load information: CPU Load (5 min. 0) and get it to just display just the number?? I.E. I want to pipe this over to MRTG but have been unable to write a shells cript to take that 0 out and give it to me? I tried using the processor performance counter, but I would constantly get 99.98% back, even when the box had no load! For processor though, I do prefer using NSCLIETN's output Thanks william ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From troyc at communitech.net Sat Oct 19 01:49:28 2002 From: troyc at communitech.net (Troy Corbin) Date: Fri, 18 Oct 2002 18:49:28 -0500 (CDT) Subject: Critical Status not clearing in web interface In-Reply-To: References: Message-ID: i have a similar issue with the check_ifstatus plugin... it will detect a router interface has dropped, the interface will come back up, but still alerts that its down. my only fix for this has been to stop the nagios process, edit the status.sav file by hand, and remote the offending router, then restart the process. what a pain! -t On Fri, 18 Oct 2002, Jamin wrote: > I still have a similar error in that mine is in a "warning" state even > when I run the check_snmp by hand I get the "OK" and the program return > code is 0 (zero). (found by a "echo $?") > > Somewhere, nagios seems to be interpreting the return value as a "1" or > something... > > right now, a warning is still better than a critical. =\ > Any suggestions to figure out whats going on? > > On Fri, 18 Oct 2002 doug.moore at ibill.com wrote: > > > For some reason, the SMTP check I have enabled and is currently "checking" > > is still a "critical" red/down. > > > > I used the web-interface to disable checks for the service. Next I > > proceeded to re-able checks for the Snmp service. Nagios is checking the > > snmp service successfully, but the "critical" is not clearing from the > > Services Detail webpage or any other webpage. > > > > what am I missing here? I have over 20mins of "ok" checks that the snmp > > service is up and "ok" but yet there is a "critical" red thru out the > > system. > > > > thanks > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------------------------------------------------------------------- > It is by caffeine alone I set my mind in motion. > It is by the beans of Java that thoughts acquire speed. > The hands acquire shaking. > The shaking becomes a warning. > It is by caffeine alone I set my mind in motion. -Influenced by Dune > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From mmcclure at pneservices.com Sat Oct 19 03:21:05 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 18 Oct 2002 20:21:05 -0500 (CDT) Subject: Parsing NSCLIENT Output/Performance Counters In-Reply-To: <1363CF56CD255F448CEA231C4A63254B010577@exch-be-01.upstanding.com> References: <1363CF56CD255F448CEA231C4A63254B010577@exch-be-01.upstanding.com> Message-ID: <4754.192.168.1.9.1034990465.squirrel@xyzzy.homeip.net> I wrote this one about a year ago. NSClient output might have changed since then, so tweak as needed. > Is there a way to parse the output from NSCLIENT on the CPU load > information: CPU Load (5 min. 0) and get it to just display just the > number?? I.E. I want to pipe this over to MRTG but have been unable to > write a shells cript to take that 0 out and give it to me? > > I tried using the processor performance counter, but I would constantly > get 99.98% back, even when the box had no load! For processor though, I > do prefer using NSCLIETN's output > > Thanks > william > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 -------------- next part -------------- A non-text attachment was scrubbed... Name: parse-nt-host-status.pl Type: application/octet-stream Size: 1770 bytes Desc: not available URL: From mmcclure at pneservices.com Sat Oct 19 03:53:20 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 18 Oct 2002 20:53:20 -0500 (CDT) Subject: Parsing NSCLIENT Output/Performance Counters In-Reply-To: <4754.192.168.1.9.1034990465.squirrel@xyzzy.homeip.net> References: <1363CF56CD255F448CEA231C4A63254B010577@exch-be-01.upstanding.com> <4754.192.168.1.9.1034990465.squirrel@xyzzy.homeip.net> Message-ID: <4886.192.168.1.9.1034992400.squirrel@xyzzy.homeip.net> Sorry, I should explain this a little better. It's meant to be run from cron, with status.log piped to it. A 5 minute interval should work. It builds/updates one file per host as "$dir/host", and one file per disk monitored as "$dir/disk-disks-". The host files are 4 lines. The first is 10-minute CPU load. The second is uptime in minutes. The third and fourth are memory used and memory free, respectively. The disk files are 2 lines, percent used and percent free. Doing it this way makes it pretty easy to suck in the data to Cricket. I haven't touched MRTG for a long time, so don't know how difficult that would be. > I wrote this one about a year ago. NSClient output might have changed since then, > so tweak as needed. > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From carlos at datacolo.com Sat Oct 19 07:18:42 2002 From: carlos at datacolo.com (Carlos Rego) Date: Sat, 19 Oct 2002 01:18:42 -0400 Subject: PING OK - WARNING: failed to install socket filter Message-ID: PING OK - WARNING: failed to install socket filter I am getting this in most of my servers ping check .. others are repotign right (like: PING OK - Packet loss = 0%, RTA = 0.28 ms ) anybody ever saw this ? -- Carlos Rego, carlos at datacolo.com on 10/19/2002 ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From festr at wana.cz Sat Oct 19 13:39:32 2002 From: festr at wana.cz (Martin Vit) Date: Sat, 19 Oct 2002 13:39:32 +0200 Subject: incorrect time Message-ID: <014c01c27764$32641550$0200a8c0@festrpc> Hi i'm using nagios 1.06b with postgre and RH6.2, and time of last check is 4hours back. That bad time is stored in postgre database. Anyone know, how can i fix this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Fri Oct 18 22:24:29 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 18 Oct 2002 16:24:29 -0400 Subject: reading configs real-time?? Message-ID: Good morning, If i am not mistaken Ethan is working on real-time updates for v2.0. it doesn't really bother me that to restart nagios after making changes, but it does suprise me that Nagios has to parse the config file from the hdd while it is running. i just assumed that the configs would be read into memory and then information pulled from RAM rather than having to hit the hdd. bon fin de semaine, dean -----Original Message----- From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] Sent: Friday, October 18, 2002 3:35 PM To: nagios-users at lists.sourceforge.net; dean.bishop at tcdsb.org Subject: Re: [Nagios-users] reading configs real-time?? I have experienced the same results. It seems the only file - that I have seen - that you can modify on the fly is the hostextinfo.cfg (for icon associations). The FAQs touch on this, in terms of adding hosts or services without restarting. That same authorization logic issue seems to apply to this situation. I agree though that it would be nice if you could make the changes to the existing files while Nagios is still running. I plan to duplicate the existing files, make modifications, stop Nagios, replace the files and reload Nagios. I would think, however, that you should be able to modify the files offline, replace the existing files with the modified files, and simply reload Nagios, forcing it to pull in the new configuration information. Like you said though, not the most efficient process. Perhaps other suggestions? Nolan >>> "Bishop, Dean" 10/18/02 02:16PM >>> Good morning, i was wondering if anyone else has experienced this and/or had an explaination. When i open the config files and start modifying them while Nagios is running, i often get errors on the web page stating that i don't have permission to see the configs. It seems like the files are open and locked. i was under the impression that the files were not read except during the startup. Guess i am wrong. so can i safely assume that the config's are not cached in memory at startup and that Nagios actually reads the configs to get information on what to check next?? this doesn't see very efficient. Am i understanding wrong?? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From snanda at cadence.com Sun Oct 20 02:29:30 2002 From: snanda at cadence.com (Sanjay Nanda) Date: Sat, 19 Oct 2002 17:29:30 -0700 Subject: Problem runnning trends.cgi/statusmap.cgi/histogram.cgi Message-ID: <3DB1F8EA.1537DB68@cadence.com> Greetings To All, I have complied and installed Nagios 1.0b6 on solaris 7 machine and it is working great. However I am not able to run trends.cgi/histogram.cgi/statusmap.cgi which generate graphs. I have installed all the required libraries like - lgd -lz -lm -lpng -ljpeg When I click on link for these scripts on web site, apache error logs show me this: ld.so.1: histogram.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:13:46 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/histogram.cgi ld.so.1: trends.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:17:12 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/trends.cgi ld.so.1: statusmap.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:18:29 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/statusmap.cgi Any help is appreciated. Thanks -Sanjay ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From frozendelight_0508 at yahoo.es Sun Oct 20 06:42:16 2002 From: frozendelight_0508 at yahoo.es (=?iso-8859-1?q?bheng=20qute?=) Date: Sun, 20 Oct 2002 05:42:16 +0100 (BST) Subject: No commands.cfg Message-ID: <20021020044216.27480.qmail@web40007.mail.yahoo.com> hi, i am running the pre-flight check. got this error, Error: cannot open config file '/usr/local/nagios/etc/commands.cfg' for reading! i've checked my cfg files and there is no commands.cfg. need again your help. pls... thanks. frozen __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From karl at debisschop.net Sun Oct 20 14:22:46 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 20 Oct 2002 08:22:46 -0400 Subject: [Nagios-users] Problems with check_sshd In-Reply-To: <5D8D9455134FD211AE4900A0C9DED11E0773F5E0@indy1ntm.herff-jones.com> References: <5D8D9455134FD211AE4900A0C9DED11E0773F5E0@indy1ntm.herff-jones.com> Message-ID: <1035116567.1180.6.camel@miles.debisschop.net> On Mon, 2002-06-10 at 11:56, Furnish, Trever G wrote: > IMHO there should be an option within openssh to supress this type of > message in the logs without supressing others, such as incorrect or > completed logins, but the openssh developers seem to feel differently... > Perhaps if more people ask or someone submits a patch to a recent build...? I think the OpenSSH developers would correctly consider half-open connections to be a valid security issue that they should not suppress. If you keep your chekcs infrequent, your log space will not be an issue. And half-decent log filtering software should be able to ignore this in the warnings. Incidentally, in theory I do know ho to prevent this. But it is not trivial to implement, as it requires negitiating protocols etc. I do not expect to have the time to do it in the near future. A rather different approach, maybe worthwhile, would be a be a wrapper around ScanSSH? > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, June 10, 2002 10:28 AM > To: Matthias Eichler > Cc: nagios-users at lists.sourceforge.net; > netsaint-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with check_sshd > > > currently there is no patch to prevent the message. The easiest way would > be to provide a full login and disconnect to the remote system. > Contributions welcome. > > -sg > > On Mon, 10 Jun 2002, Matthias Eichler wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Am Montag, 10. Juni 2002 15:32 schrieb Subhendu Ghosh: > > > > thats clear to me so far. the question is: > > how may I change the check_sshd plugin that it is doing these > > checks so smart, that we do not get an syslog error... > > > > matt > > > > > This happens because check_sshd disconnects before sending any login > > > information. > > > > > > check_sshd is only checking that the sshd server is up and running - > > > providing a login prompt. It does not complete the login process. > > > > > > -sg > > > > > > On Mon, 10 Jun 2002, Matthias Eichler wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Hi List, > > > > > > > > some question to check_sshd (i know, this is nagios-users and > > > > netsaint-us= ers): > > > > > > > > When we check the ssh-server on our boxes we got some fatal-error > > > > in the syslog of the server which was checked: > > > > > > > > - - ---cut--- > > > > sshd: fatal: Read from socket failed: Connection > reset > > > > = by=20 > > > > peer > > > > - - ---cut--- > > > > > > > > As we have some alert system for syslog all these messages get printed > > > > out (and are blowing up our logfiles). > > > > > > > > Does anybody knows anything about this error!?!? > > > > > > > > Best regards & thanks in advance for your help, > > > > > > > > Matthias Eichler > > > > > > > > - -- > > > > Mit freundlichen Gr??en, > > > > AME Aigner Media & Entertainment GmbH > > > > > > > > Matthias Eichler > > > > Leiter Technik | Technical Director > > > > _____________________________________ > > > > > > > > AME Aigner Media & Entertainment GmbH > > > > Bavariaring 8 D-80336 Muenchen > > > > > > > > Tel: [+49] ?89.427.05-330 > > > > Fax: [+49] ?89.427.05-199 > > > > > > > > http://ame.de Mail: me at ame.de > > > > _____________________________________ > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.0.6 (GNU/Linux) > > > > Comment: For info see http://www.gnupg.org > > > > > > > > iD8DBQE9BGNJbojCIP+wwC4RAh/aAJ9PTs+GPSRAVTjZeIIi4tIXym669QCfeHf9 > > > > SfOxh5+5ge/0UgoTlWy/EoU= > > > > =K/jf > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > _______________________________________________________________ > > > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > > August 25-28 in Las Vegas - > > > > http://devcon.sprintpcs.com/adp/index.cfm?source > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > - -- > > Mit freundlichen Gr??en, > > AME Aigner Media & Entertainment GmbH > > > > Matthias Eichler > > Leiter Technik | Technical Director > > _____________________________________ > > > > AME Aigner Media & Entertainment GmbH > > Bavariaring 8 D-80336 Muenchen > > > > Tel: [+49] ?89.427.05-330 > > Fax: [+49] ?89.427.05-199 > > > > http://ame.de Mail: me at ame.de > > _____________________________________ > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.6 (GNU/Linux) > > Comment: For info see http://www.gnupg.org > > > > iD8DBQE9BLNwbojCIP+wwC4RAjicAJ4jPga+V3EjynXTFwRkUddKVJu0ogCbB0xW > > EiYAczj5tTaVqNqCuYX/Ra4= > > =8rkk > > -----END PGP SIGNATURE----- > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Netsaint-users mailing list > Netsaint-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/netsaint-users ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From festr at wana.cz Sun Oct 20 15:23:31 2002 From: festr at wana.cz (Martin Vit) Date: Sun, 20 Oct 2002 15:23:31 +0200 Subject: WRONG TIMESTAMP in postgresql Message-ID: <003c01c2783b$e42b4600$0200a8c0@festrpc> hi i cannot find why i have bad time in postgre timestamp... i'm using nagios 1.06b with postgresql 7.2 (redhat 6.2 with CEST time (europe-prague UTC+2) dump in table "servicestatus" (time is 15:18) host1 UP 2002-10-20 11:19:36+02 2002-10-20 11:19:08+02 2002-10-19 11:38:12+02 0 80148 0 0 1969-12-31 23:00:00+01 0 1 1 1 PING OK - Packet loss = 0%, RTA = 13.35 ms 0 1 0 0 1 1 status.cgi: host1 PING WARNING 10-20-2002 11:17:55 0d 4h 0m 8s 2/3 PING WARNING - Packet loss = 20%, RTA = 43.82 ms so time is 4hours back in postgre, other timing is right (log, sheduling, notification....) anyone could help? or is it wrong inserting ? ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From rm-rpms at gmx.net Sun Oct 20 16:22:08 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Sun, 20 Oct 2002 11:22:08 -0300 Subject: WRONG TIMESTAMP in postgresql In-Reply-To: <003c01c2783b$e42b4600$0200a8c0@festrpc> References: <003c01c2783b$e42b4600$0200a8c0@festrpc> Message-ID: <3DB291E0.65.A1BB64@localhost> On 20 Oct 2002 at 15:23, Martin Vit wrote about "[Nagios-users] WRONG TIMESTAMP in postgresql": > hi i cannot find why i have bad time in postgre timestamp... > > i'm using nagios 1.06b with postgresql 7.2 (redhat 6.2 with CEST time > (europe-prague UTC+2) > > dump in table "servicestatus" (time is 15:18) > > host1 UP 2002-10-20 11:19:36+02 2002-10-20 11:19:08+02 > 2002-10-19 11:38:12+02 0 80148 0 > 0 1969-12-31 23:00:00+01 0 1 1 1 > PING > OK - Packet loss = 0%, RTA = 13.35 ms 0 > 1 0 0 1 1 > > status.cgi: > host1 PING WARNING 10-20-2002 11:17:55 0d 4h 0m 8s 2/3 PING WARNING - > Packet loss = 20%, RTA = 43.82 ms > > so time is 4hours back in postgre, other timing is right (log, > sheduling, notification....) > > anyone could help? or is it wrong inserting ? > I had tought on asking you if you time zone has a 2 hours offset from UTC (seeing your 4 hours offset problem). I have no exepriences using Nagios plyus PostgreSQL but this anecdote could help you. Two years ago I configured a mail server at work. By that time my country was considering switching from our usual time zone of 3 hours to the west of Greenwich to a zone located 4 hours in the same direction. Red Hat Linux 6.2 (the OS/distribution I was using) shipped then with all the cities of the country in the new zone. As the plans of switchg were then canceleld by the government, I had to select a no-name time zone from the tool privided by the OS because no one of the named-after-cities zones were useful to me: I selected UTC-3 After a few day I had reports of user that the mails they received had an offset of 6 hours compared to the real time. Then I read some doc, and learned thet the POSIX way of naming my timezone is UTC+3 while the old Unix way was -3. I was using the old syntax and Red Hat Linux (and I supopose all the currentLinux/Unix) support the POSIX way. Correcting that solved the problem. Maybe you are in a similar situation? be it a system-wide time configuration or a time configuration of one of the pieces of software at play HTH - Ramiro ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From fireant at skycablenet.com Sun Oct 20 18:59:46 2002 From: fireant at skycablenet.com (Christopher Louie Cagasan) Date: Mon, 21 Oct 2002 00:59:46 +0800 Subject: Nagios-users digest, Vol 1 #1003 - 1 msg References: Message-ID: <003701c2785a$1817d500$52624eca@skyinet.net> Yes you need to compile it on the host machine. =) Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. ----- Original Message ----- From: To: Sent: Thursday, October 17, 2002 3:10 AM Subject: Nagios-users digest, Vol 1 #1003 - 1 msg > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. [Fwd: nrpe error] (Deborah Ellis) > > --__--__-- > > Message: 1 > Date: Wed, 16 Oct 2002 14:33:04 -0400 > From: Deborah Ellis > Organization: Bea > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [Fwd: nrpe error] > > This is a multi-part message in MIME format. > --------------B09B0892DEA61FA45D88B1D6 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Deborah Ellis wrote: > > > Hi, > > I am having problems with nrpe. I have nagios running on linux 7.1 and would like to monitor things such as disks, users load and processes on an AIX box. I compiled nrpe on the AIX box and made all > > the file additions as per the README file, i.e inetd.conf, /etc/services. I restarted inetd. I also made the necessary modifications to the checkcommand.cfg and services.cfg file on the nagios host > > machine. I started the nrpe daemon on the remote machine, /sbin/nrpe -d /usr/local/nagios/nrpe.cfg. However I keep getting errors on the remote machine: > > sh:/usr/local/nagios/libexec/check_load:0403-006 Execute permission denied > > I also get the following error on the nagios host machine: > > xec/check_load 5 10 15 20 25 30 > > I do not get the requested information from the remote machine, just end of the command from the nrpe.cfg file on the remote machine. > > Do I need to compile nagiosplugins on the remote machine? I just copied the plugins from the nagios host machine onto /usr/local/nagios/libexec directory. I am missing some important piece to this > > puzzle. > > > > I would appreciate any help that I can receive on the problem. Thanks > > --------------B09B0892DEA61FA45D88B1D6 > Content-Type: text/x-vcard; charset=us-ascii; > name="Deborah.Ellis.vcf" > Content-Transfer-Encoding: 7bit > Content-Description: Card for Deborah Ellis > Content-Disposition: attachment; > filename="Deborah.Ellis.vcf" > > begin:vcard > n:Ellis;Deborah > x-mozilla-html:FALSE > org:BEA Systems > adr:;;;;;; > version:2.1 > email;internet:dellis at bea.com > title:Sys Admin > x-mozilla-cpt:;0 > fn:Deborah Ellis > end:vcard > > --------------B09B0892DEA61FA45D88B1D6-- > > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From carlos at datacolo.com Sun Oct 20 19:05:25 2002 From: carlos at datacolo.com (Carlos Rego) Date: Sun, 20 Oct 2002 13:05:25 -0400 Subject: Suggestion: Alerts Message-ID: I have my alerts to check every 5 minutes and report every 10 minutes (checking every 1 minute if the host or service is down) The reason for myself for the 10 minute gap between the alerts is if the host goes down, I don't' need my pager ringing every minute telling me it's down while I drive to the NOC but I realised now that, if the host comes back up (while it's checking in the minute intervals) I wont' know until the 10 minute gap is over. It would be nice if the SAME message would be restrain to be sent over and over, but a change on a down service to UP, should send a notification right away :) (hope I made sence, sorry, English is not my native language) -- Carlos Rego, carlos at datacolo.com on 10/20/2002 ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From sghosh at sghosh.org Mon Oct 21 02:22:33 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 20 Oct 2002 20:22:33 -0400 (EDT) Subject: Critical Status not clearing in web interface In-Reply-To: References: Message-ID: check_ifstatus should always detect the status of the router. can you post a parse of the relevant log entries and os/version info? PS - the warning state should be fixed in CVS. -sg On Fri, 18 Oct 2002, Troy Corbin wrote: > i have a similar issue with the check_ifstatus plugin... it will detect a > router interface has dropped, the interface will come back up, but still > alerts that its down. > > my only fix for this has been to stop the nagios process, edit the > status.sav file by hand, and remote the offending router, then restart the > process. > > what a pain! > > -t > > > On Fri, 18 Oct 2002, Jamin wrote: > > > I still have a similar error in that mine is in a "warning" state even > > when I run the check_snmp by hand I get the "OK" and the program return > > code is 0 (zero). (found by a "echo $?") > > > > Somewhere, nagios seems to be interpreting the return value as a "1" or > > something... > > > > right now, a warning is still better than a critical. =\ > > Any suggestions to figure out whats going on? > > > > On Fri, 18 Oct 2002 doug.moore at ibill.com wrote: > > > > > For some reason, the SMTP check I have enabled and is currently "checking" > > > is still a "critical" red/down. > > > > > > I used the web-interface to disable checks for the service. Next I > > > proceeded to re-able checks for the Snmp service. Nagios is checking the > > > snmp service successfully, but the "critical" is not clearing from the > > > Services Detail webpage or any other webpage. > > > > > > what am I missing here? I have over 20mins of "ok" checks that the snmp > > > service is up and "ok" but yet there is a "critical" red thru out the > > > system. > > > > > > thanks > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error please notify > > > the system manager. > > > ********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ---------------------------------------------------------------------- > > It is by caffeine alone I set my mind in motion. > > It is by the beans of Java that thoughts acquire speed. > > The hands acquire shaking. > > The shaking becomes a warning. > > > It is by caffeine alone I set my mind in motion. -Influenced by Dune > > ---------------------------------------------------------------------- > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From jlyons30 at yahoo.com Mon Oct 21 04:59:04 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Sun, 20 Oct 2002 19:59:04 -0700 (PDT) Subject: Problem runnning trends.cgi/statusmap.cgi/histogram.cgi In-Reply-To: <3DB1F8EA.1537DB68@cadence.com> References: <3DB1F8EA.1537DB68@cadence.com> Message-ID: <20021021025904.3178.qmail@web21502.mail.yahoo.com> Had the same error with 2.6, gave up after a few days, switched to Freebsd...Hopefully someone else can help... Sanjay Nanda wrote:Greetings To All, I have complied and installed Nagios 1.0b6 on solaris 7 machine and it is working great. However I am not able to run trends.cgi/histogram.cgi/statusmap.cgi which generate graphs. I have installed all the required libraries like - lgd -lz -lm -lpng -ljpeg When I click on link for these scripts on web site, apache error logs show me this: ld.so.1: histogram.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:13:46 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/histogram.cgi ld.so.1: trends.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:17:12 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/trends.cgi ld.so.1: statusmap.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:18:29 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/statusmap.cgi Any help is appreciated. Thanks -Sanjay ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ----- Jon Lyons Black Honda F3 #800 --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Mon Oct 21 05:32:30 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 20 Oct 2002 23:32:30 -0400 Subject: Nagios-users digest, Vol 1 #1003 - 1 msg In-Reply-To: <003701c2785a$1817d500$52624eca@skyinet.net> References: <003701c2785a$1817d500$52624eca@skyinet.net> Message-ID: <1035171151.15136.11.camel@miles.debisschop.net> On Sun, 2002-10-20 at 12:59, Christopher Louie Cagasan wrote: > Yes you need to compile it on the host machine. =) More accuartely, you need to compile it on a machine of the same architecture and OS as the host machine, then install it. Because compilers are sometimes used for propagating worms, my company has a fairly strict policy against installing them on hosts that are not severly firewalled. -- Karl > Christopher Louie Cagasan > Network Operations Center > Skycablenet, Inc. > > > ----- Original Message ----- > From: > To: > Sent: Thursday, October 17, 2002 3:10 AM > Subject: Nagios-users digest, Vol 1 #1003 - 1 msg > > > > Send Nagios-users mailing list submissions to > > nagios-users at lists.sourceforge.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > or, via email, send a message with subject or body 'help' to > > nagios-users-request at lists.sourceforge.net > > > > You can reach the person managing the list at > > nagios-users-admin at lists.sourceforge.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Nagios-users digest..." > > > > > > Today's Topics: > > > > 1. [Fwd: nrpe error] (Deborah Ellis) > > > > --__--__-- > > > > Message: 1 > > Date: Wed, 16 Oct 2002 14:33:04 -0400 > > From: Deborah Ellis > > Organization: Bea > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] [Fwd: nrpe error] > > > > This is a multi-part message in MIME format. > > --------------B09B0892DEA61FA45D88B1D6 > > Content-Type: text/plain; charset=us-ascii > > Content-Transfer-Encoding: 7bit > > > > Deborah Ellis wrote: > > > > > Hi, > > > I am having problems with nrpe. I have nagios running on linux 7.1 and > would like to monitor things such as disks, users load and processes on an > AIX box. I compiled nrpe on the AIX box and made all > > > the file additions as per the README file, i.e inetd.conf, > /etc/services. I restarted inetd. I also made the necessary modifications > to the checkcommand.cfg and services.cfg file on the nagios host > > > machine. I started the nrpe daemon on the remote machine, /sbin/nrpe -d > /usr/local/nagios/nrpe.cfg. However I keep getting errors on the remote > machine: > > > sh:/usr/local/nagios/libexec/check_load:0403-006 Execute permission > denied > > > I also get the following error on the nagios host machine: > > > xec/check_load 5 10 15 20 25 30 > > > I do not get the requested information from the remote machine, just end > of the command from the nrpe.cfg file on the remote machine. > > > Do I need to compile nagiosplugins on the remote machine? I just copied > the plugins from the nagios host machine onto /usr/local/nagios/libexec > directory. I am missing some important piece to this > > > puzzle. > > > > > > I would appreciate any help that I can receive on the problem. Thanks > > > > --------------B09B0892DEA61FA45D88B1D6 > > Content-Type: text/x-vcard; charset=us-ascii; > > name="Deborah.Ellis.vcf" > > Content-Transfer-Encoding: 7bit > > Content-Description: Card for Deborah Ellis > > Content-Disposition: attachment; > > filename="Deborah.Ellis.vcf" > > > > begin:vcard > > n:Ellis;Deborah > > x-mozilla-html:FALSE > > org:BEA Systems > > adr:;;;;;; > > version:2.1 > > email;internet:dellis at bea.com > > title:Sys Admin > > x-mozilla-cpt:;0 > > fn:Deborah Ellis > > end:vcard > > > > --------------B09B0892DEA61FA45D88B1D6-- > > > > > > > > > > --__--__-- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > End of Nagios-users Digest > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From Grae.Noble at newcastle.edu.au Mon Oct 21 06:15:32 2002 From: Grae.Noble at newcastle.edu.au (Grae Noble) Date: Mon, 21 Oct 2002 14:15:32 +1000 Subject: Problem runnningtrends.cgi/statusmap.cgi/histogram.cgi Message-ID: Hi, Where is libz.so? Is its location included in the LD_LIBRARY_PATH for the apache startup script? (you may need to add it) Also, does the user apache is running as have access to this file? ( su to that user and run "file path_to_where_it_is/libz.so" should tell you). Grae Noble Communication and Information Services, University Services Division University of Newcastle, NSW Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 Grae.Noble at newcastle.edu.au Room: CT216 >>> Jon Lyons 10/21/02 12:59pm >>> Had the same error with 2.6, gave up after a few days, switched to Freebsd...Hopefully someone else can help... Sanjay Nanda wrote:Greetings To All, I have complied and installed Nagios 1.0b6 on solaris 7 machine and it is working great. However I am not able to run trends.cgi/histogram.cgi/statusmap.cgi which generate graphs. I have installed all the required libraries like - lgd -lz -lm -lpng -ljpeg When I click on link for these scripts on web site, apache error logs show me this: ld.so.1: histogram.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:13:46 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/histogram.cgi ld.so.1: trends.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:17:12 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/trends.cgi ld.so.1: statusmap.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:18:29 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/statusmap.cgi Any help is appreciated. Thanks -Sanjay ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ----- Jon Lyons Black Honda F3 #800 --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD From karl at debisschop.net Mon Oct 21 06:44:21 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 21 Oct 2002 00:44:21 -0400 Subject: Problem runnningtrends.cgi/statusmap.cgi/histogram.cgi In-Reply-To: References: Message-ID: <1035175462.15136.20.camel@miles.debisschop.net> On Mon, 2002-10-21 at 00:15, Grae Noble wrote: > Hi, > Where is libz.so? Is its location included in the LD_LIBRARY_PATH for the apache startup script? (you may need to add it) > Also, does the user apache is running as have access to this file? ( su to that user and run "file path_to_where_it_is/libz.so" should tell you). IIRC, on solaris 7, LD_LIBRARY_PATH is the wrong concept. At build time you define LD_RUN_PATH to include the directories that should be searched. Look at mkpackage in the nagios CVS tree. I wrote it while netsaint was the active project, but it should still work for nagios, or very close (I'll gladly accept any patches to make it work). (mkpackage is specific to solaris as far as I know, but if other platforms use a similar packaging structure and it can be extended, let me know) -- Karl > > > Grae Noble > Communication and Information Services, University Services Division > University of Newcastle, NSW > Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 > Grae.Noble at newcastle.edu.au > Room: CT216 > > > >>> Jon Lyons 10/21/02 12:59pm >>> > > Had the same error with 2.6, gave up after a few days, switched to Freebsd...Hopefully someone else can help... > Sanjay Nanda wrote:Greetings To All, > > > I have complied and installed Nagios 1.0b6 on solaris 7 machine and it > is working great. However I am not able to run > trends.cgi/histogram.cgi/statusmap.cgi which generate graphs. I have > installed all the required libraries like - lgd -lz -lm -lpng -ljpeg > > When I click on link for these scripts on web site, apache error logs > show me this: > > ld.so.1: histogram.cgi: fatal: libz.so: open failed: No such file or > directory > [Sat Oct 19 17:13:46 2002] [error] [client 158.140.44.57] Premature end > of script headers: /usr1/nagios/sbin/histogram.cgi > ld.so.1: trends.cgi: fatal: libz.so: open failed: No such file or > directory > [Sat Oct 19 17:17:12 2002] [error] [client 158.140.44.57] Premature end > of script headers: /usr1/nagios/sbin/trends.cgi > ld.so.1: statusmap.cgi: fatal: libz.so: open failed: No such file or > directory > [Sat Oct 19 17:18:29 2002] [error] [client 158.140.44.57] Premature end > of script headers: /usr1/nagios/sbin/statusmap.cgi > > > Any help is appreciated. > > Thanks > -Sanjay > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ----- > > Jon Lyons > Black Honda F3 #800 > > > --------------------------------- > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Oct 21 08:20:42 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 21 Oct 2002 08:20:42 +0200 Subject: Parsing NSCLIENT Output/Performance Counters Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780369@storevis.datavis.se> Look at Apan, apan.sourceforge.net. The program is still under construction, but I will finish the docs during the next days. If you want to monitor other parameters, post a request to me.. /FredrikW -----Original Message----- From: Hiatt, William [mailto:whiatt at upstanding.com] Sent: Sat 19-Oct-02 00:24 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Parsing NSCLIENT Output/Performance Counters Is there a way to parse the output from NSCLIENT on the CPU load information: CPU Load (5 min. 0) and get it to just display just the number?? I.E. I want to pipe this over to MRTG but have been unable to write a shells cript to take that 0 out and give it to me? I tried using the processor performance counter, but I would constantly get 99.98% back, even when the box had no load! For processor though, I do prefer using NSCLIETN's output Thanks william ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From VanDerWesthuizenB at aforbes.co.za Mon Oct 21 08:25:55 2002 From: VanDerWesthuizenB at aforbes.co.za (Van Der Westhuizen Brian) Date: Mon, 21 Oct 2002 08:25:55 +0200 Subject: Problem runnning trends.cgi/statusmap.cgi/hist ogram.cgi Message-ID: <14AA054C41E6D5119CF800508BBBB64101745AC5@AFJHB0EXCH1> i had the same problem under sol 8. how i fixed it ...wich i suppose is not the correct way but anyway ... linked all the libs which show'd up in the apache error_log to /usr/lib from /usr/local/lib .... Brian -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: 21 October 2002 04:59 AM To: snanda at cadence.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem runnning trends.cgi/statusmap.cgi/histogram.cgi Had the same error with 2.6, gave up after a few days, switched to Freebsd...Hopefully someone else can help... Sanjay Nanda wrote: Greetings To All, I have complied and installed Nagios 1.0b6 on solaris 7 machine and it is working great. However I am not able to run trends.cgi/histogram.cgi/statusmap.cgi which generate graphs. I have installed all the required libraries like - lgd -lz -lm -lpng -ljpeg When I click on link for these scripts on web site, apache error logs show me this: ld.so.1: histogram.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:13:46 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/histogram.cgi ld.so.1: trends.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:17:12 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/trends.cgi ld.so.1: statusmap.cgi: fatal: libz.so: open failed: No such file or directory [Sat Oct 19 17:18:29 2002] [error] [client 158.140.44.57] Premature end of script headers: /usr1/nagios/sbin/statusmap.cgi Any help is appreciated. Thanks -Sanjay ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ----- Jon Lyons Black Honda F3 #800 _____ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site Confidentiality Warning ======================= The contents of this e-mail and any accompanying documentation are confidential and any use thereof, in what ever form, by anyone other than the addressee is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From w.moser at conova.com Fri Oct 18 00:55:48 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Fri, 18 Oct 2002 00:55:48 +0200 Subject: Reschedule Checks Message-ID: <3DAF3FF4.6040707@conova.com> Hello! I had a strange situation with nagios which I can't explain to myself. It makes me a bit insecure about nagios, may anyone can allay my worries. I am using Nagios 1.05b, till now I haven't the full structure of the network implemented. That means no parent hosts and service dependencies are taken into account. Last Friday 18.10.2002 a switch went down and of course all hosts connected to it! A lot of notifications are sent out (sms storm!!), so far so good. But the problem was that a lot of service checks and host checks are scheduled for the next check anytime on 18.10.2002 which is far over!!! Today 21.10.2002, after the weekend, are still a lot of service and hostchecks scheduled for anytime on the 18.10.2002. Does this mean that this service or hosts are never checked again???? What could have happend?? I am a bit clueless! I again red the check scheduling rules and came to the conclusion, this situation shouldn't appear!! Please give me an idea where the mistake was, nagios, myself, a restart of nagios at the wrong time, whatever!!! thanks Wolfgang PS: After a restart of Nagios all checks are schedueled with the right time!! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Mon Oct 21 09:49:11 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Mon, 21 Oct 2002 09:49:11 +0200 Subject: NSCLIENT output References: <1363CF56CD255F448CEA231C4A63254B010576@exch-be-01.upstanding.com> Message-ID: <3DB3B177.610B3B6B@gcc.dhl.com> Hi William, I use a simple shell script to graph CPU usage in MRTG. I do the same for lots of things by the way: memory usage, sql connections, oracle backlog,... hell, I even graph the Warcraft III levels and scores of me and some of my colleagues with it :-) This is what I use for CPU load: [root at netsaint logging]# cat cleanload.sh #!/bin/sh hostname=$1 uptime=`/usr/local/netsaint/libexec/check_nt -H $1 -p 1248 -v UPTIME | cut -d: -f2` stat=`/usr/local/netsaint/libexec/check_nt -H $1 -p 1248 -v CPULOAD -l 5,80,95,60,80,95,1440,80,95 | cut -d\% -f1 | awk '{print $5}'` if [ "$stat" = "out" ]; then stat=0 fi if [ "$stat" = "" ]; then stat=0 fi if [ "$stat" = "seconds" ]; then stat=0 fi echo $stat echo $stat echo $uptime echo $hostname In mrtg.cfg this is: ### System: servername Target[servername]:`/usr/local/netsaint/logging/cleanload.sh servername` MaxBytes[servername]: 100 AbsMax[servername]: 2500 Options[servername]: gauge, unknaszero, withzeroes WithPeak[servername]: w Title[servername]: System load stats for servername BodyTag[servername]: PageTop[servername]:

Load for servername

Legend1[servername]: system load average ( % ) Legend2[servername]: Legend3[servername]: maximal 5 minute system load average (% ) Legend4[servername]: LegendI[servername]: load LegendO[servername]: YLegend[servername]: loadavg (%) ShortLegend[servername]: / 100 Hope it helps. Kind regards, Tom > "Hiatt, William" wrote: > > Is there a way to parse the output from NSCLIENT on the CPU load > information: CPU Load (5 min. 0) and get it to just display just the > number?? I.E. I want to pipe this over to MRTG but have been unable > to write a shells cript to take that 0 out and give it to me? > > I tried using the processor performance counter, but I would > constantly get 99.98% back, even when the box had no load! For > processor though, I do prefer using NSCLIETN's output > > Thanks > william ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Wibo.Lammerts at hmg.nl Mon Oct 21 09:51:15 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Mon, 21 Oct 2002 09:51:15 +0200 Subject: Nagios plugin for NetWare Message-ID: Good morning all, Could someone point me into the direction of where to find the plugin for NetWare? TIA Wibo Lammerts ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Wibo.Lammerts at hmg.nl Mon Oct 21 13:04:51 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Mon, 21 Oct 2002 13:04:51 +0200 Subject: Nagios vs MRTG for NetWare Message-ID: Ok, I am confused. On the Nagios FAQ it says that there is a plugin for Netware. But the file I have downloaded is actually a plug in for MRTG? And yet while i look at the screenshots of nagios at the nagios homepage, I see a screenshot of nagios pulling info from NetWare boxes? http://nagios.sourceforge.net/images/screens/big/status-grid.jpg Or it could be that I just don't understand... :-) Any input / info is appreciated. TIA W ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From d.pavani at cineca.it Mon Oct 21 13:32:31 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Mon, 21 Oct 2002 13:32:31 +0200 Subject: NSclient and win 2000 Message-ID: <3DB3E5CF.40604@cineca.it> Do NSClient works on win2000? Is there any client that does the same on 2000 or XP? Thanks. -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti phone:+39 0516171411 / 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ericryoung at yahoo.com Mon Oct 21 13:44:12 2002 From: ericryoung at yahoo.com (Eric Young) Date: Mon, 21 Oct 2002 04:44:12 -0700 (PDT) Subject: a question on hierarchical recovery notifications Message-ID: <20021021114412.41532.qmail@web14006.mail.yahoo.com> I haven't been able to figure this one out yet. Hopefully you can help. I'm considering putting Nagios on our network but just ran into a problem on Friday. I 'faked' a major network failure by essentially turning on ipchains to block all icmp from my Nagios host. I was testing about 150 hosts with 1 router as the parent of all. I set notifications on the 'children' to only 'd,r' (after getting many notifications for 'unreachable' on my first attempt) When I turned on my new ipchains rule, the network went down as expected and I only received notification for the router. Woohoo! Now, here's the problem. I left it like that for a while and when I brought it back up (ie: simulating the routers return to life), I got not only an up notification for the router but quite a few 'recovery' pages for the child nodes. So, in the case of major failure like this, I'd rather not get pages for things that were never really down (ie: they were just unreachable) but I don't know of a way to set it so that if a node was only unreachable and had a parent that was down, that I don't get pages for that node (I guess unless it had been checked again for the correct numbers of times). Any suggestions? Am I missing something? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Mon Oct 21 14:02:25 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Mon, 21 Oct 2002 14:02:25 +0200 Subject: NSclient and win 2000 References: <3DB3E5CF.40604@cineca.it> Message-ID: <3DB3ECD1.51CF6257@gcc.dhl.com> http://nsclient.ready2run.nl/products.htm NSClient: Netsaint Windows Client - is a plug-in used by Netsaint to monitor all kind of information on a Windows NT, 2000 or XP server. Denis Pavani wrote: > > Do NSClient works on win2000? > Is there any client that does the same on 2000 or XP? > > Thanks. > -- > ************************************************************************ > Denis Pavani > > CINECA - Comunicazioni e Sistemi Distribuiti > > phone:+39 0516171411 / 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Kaufmanm at gtc.edu Mon Oct 21 14:09:11 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Mon, 21 Oct 2002 07:09:11 -0500 Subject: Nagios vs MRTG for NetWare Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D606@gtc.edu> It was written for use with MRTG. The NLM just checks counters on the netware server and reports back whatever counter is requested. So, any program can use that information. Nagios can use the information anyway you want. For example I wrote a plugin that checks if the time on the server in the tree is in sync. Think of the nlm as a quick way to get SNMP data. -----Original Message----- From: Wibo Lammerts [mailto:Wibo.Lammerts at hmg.nl] Sent: Monday, October 21, 2002 6:05 AM To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios vs MRTG for NetWare Ok, I am confused. On the Nagios FAQ it says that there is a plugin for Netware. But the file I have downloaded is actually a plug in for MRTG? And yet while i look at the screenshots of nagios at the nagios homepage, I see a screenshot of nagios pulling info from NetWare boxes? http://nagios.sourceforge.net/images/screens/big/status-grid.jpg Or it could be that I just don't understand... :-) Any input / info is appreciated. TIA W ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 21 14:47:44 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 21 Oct 2002 08:47:44 -0400 Subject: Suggestion: Alerts Message-ID: yeah, this is built in already in a couple of ways. first, if the Nagios box is available you can simply "Acknowledge" the alert. You could do this either from the web interface or from a ssh session by piping the appropriate command into the external command file. second, you could set notifications to only be sent once on state changes. You do this by setting the notification interval to zero. personally, i have mine set to one hour just so i don't forget about anything. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service later, dean -- dream outloud -----Original Message----- From: Carlos Rego [mailto:carlos at datacolo.com] Sent: Sunday, October 20, 2002 1:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Suggestion: Alerts I have my alerts to check every 5 minutes and report every 10 minutes (checking every 1 minute if the host or service is down) The reason for myself for the 10 minute gap between the alerts is if the host goes down, I don't' need my pager ringing every minute telling me it's down while I drive to the NOC but I realised now that, if the host comes back up (while it's checking in the minute intervals) I wont' know until the 10 minute gap is over. It would be nice if the SAME message would be restrain to be sent over and over, but a change on a down service to UP, should send a notification right away :) (hope I made sence, sorry, English is not my native language) -- Carlos Rego, carlos at datacolo.com on 10/20/2002 ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Mon Oct 21 14:48:04 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 21 Oct 2002 08:48:04 -0400 Subject: Quest: 50 servers, monitor 4 services =xxx entries in host.cfg Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635B4@mail01.ibill.com> If I have 50 servers that I need to monitor 4 services on each server, that is 200 entries in the host.cfg file... correct? One host per service (4) X 50 servers=200 entries. At present, it is not possible to associate multiple "hosts" to a single service is there? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 21 15:08:58 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 21 Oct 2002 09:08:58 -0400 Subject: Timeout when checking printer status Message-ID: <5593DA408212D511B0910002A513501F01D287A7@phsexch20.mgh.harvard.edu> > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, October 18, 2002 10:58 AM > To: nagios-users at lists.sourceforge.net > Subject: Timeout when checking printer status > > Hi there, > > I am consistently getting a timeout message for a printer even though I know > the printer is up and running. > I installed the check_hpjd plugin and have confirmed that net-snmp as well > asucd-snmp are installed on the > Nagios server. Any idea? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jared.brick at convergia.net Mon Oct 21 15:15:38 2002 From: jared.brick at convergia.net (Jared Brick) Date: 21 Oct 2002 09:15:38 -0400 Subject: Windows host checking In-Reply-To: <20021018184715.GP28455@soja.ksnet.com.> References: <3DB049E7.4090504@sbcglobal.net> <20021018184715.GP28455@soja.ksnet.com.> Message-ID: <1035206138.31877.6.camel@jared.convergia.net> Is it possible to add HostMIB's to a Windows NT 4.0 system? I keep hearing how bad SNMP support is on Windows NT, but this functionality would help me greatly as I'm already doing process monitoring with nagios with Windows 2000. I apologize if this is a little offtopic. Jared On Fri, 2002-10-18 at 14:47, Russell Adams wrote: > NSClient over ssh? Kewl! I was thinking stunnel... > > However, I must say, that I use _alot_ of SNMP... The newest UCD_SNMP > for Linux and other UNIX hosts, with HostMIB enabled, and the stock > Win2k SNMP Service (that has some HostMIB support). This lets me > monitor running processes and disk space on both Windoze and Linux > with the same plugins! I don't have to have one set for Linux, and a > different set for Windoze. > > Russell > > On Fri, Oct 18, 2002 at 10:50:31AM -0700, Sean Knox wrote: > > We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are > > pretty happy with it. SNMP is also another viable method (we don't like > > the security problems inherent with SNMP, and opted to use nsclient > > encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). > > > > http://nsclient.ready2run.nl/ > > > > Runs as a WinNT/Win2K service. > > > > -Sean > > > > > > Andrew Meyer wrote: > > > > >Is there anything to do windows host checking/monitoring like there > > >was for netsaint? If so, what would be the best thing to use? For > > >Windows clients and for nagios? > > > > > > > > >Andrew Meyer > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Oct 21 15:16:29 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 21 Oct 2002 15:16:29 +0200 Subject: Quest: 50 servers, monitor 4 services =xxx entries in host.cfg Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278036D@storevis.datavis.se> Yes, there is at least two ways; 1) host_name barbar,sheriff,pistol,raket 2) hostgroup_name unix-boxes /FredrikW -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: Mon 21-Oct-02 14:48 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Quest: 50 servers, monitor 4 services =xxx entries in host.cfg If I have 50 servers that I need to monitor 4 services on each server, that is 200 entries in the host.cfg file... correct? One host per service (4) X 50 servers=200 entries. At present, it is not possible to associate multiple "hosts" to a single service is there? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From doug.moore at ibill.com Mon Oct 21 15:40:59 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 21 Oct 2002 09:40:59 -0400 Subject: Critical Status not clearing in web interface Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635B5@mail01.ibill.com> did search for "smtp patch", zero matches also searched for smtp \r\n, no matches I am running latest plugins thanks -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, October 18, 2002 5:37 PM To: doug.moore at ibill.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Critical Status not clearing in web interface SMTP or SNMP? If it's SMTP, search the archives and you'll find your solution. There is a patch to check_smtp to send a "\r\n" after the QUIT instead of just "\r" I believe... -- Marc > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Friday, October 18, 2002 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Critical Status not clearing in web interface > > For some reason, the SMTP check I have enabled and is currently "checking" > is still a "critical" red/down. > > I used the web-interface to disable checks for the service. Next I > proceeded to re-able checks for the Snmp service. Nagios is checking the > snmp service successfully, but the "critical" is not clearing from the > Services Detail webpage or any other webpage. > > what am I missing here? I have over 20mins of "ok" checks that the snmp > service is up and "ok" but yet there is a "critical" red thru out the > system. > > thanks > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sergio-s-freire at ptinovacao.pt Mon Oct 21 15:33:45 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 21 Oct 2002 14:33:45 +0100 Subject: Setting up e-mail notifications. In-Reply-To: References: Message-ID: <1035207225.7702.45.camel@newyork.intra.cet.pt> Attached goes the plugin to send notifications as instant messages. You need to download perl module Net::Jabber from search.cspan.org. Can anyone put this on the CVS? Comments are appreciated. Regards, Sergio Freire On Mon, 2002-10-21 at 13:28, peter riegersperger wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi sergio! > > did you publish your notification plugin yet? i'm very much > interested in it because it's a "must have" for us, and the last > thing i need for my nagios install before i can call it productive. > > i browsed the plugins-list and the cvs directory, but didn't find > anything. > > i would really appreciate it if you could provide me with a means to > aquire it. > > thanks, > > rick > > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Sergio Freire > > Sent: Thursday, October 17, 2002 11:21 AM > > To: Rico Gloeckner > > Cc: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Setting up e-mail notifications. > > > > > > Hello. > > I have made one plugin for IM notification using Jabber so you can > > be notified in MSN,ICQ,AIM,etc.. > > Where to should i post it? into the plugins mailing list? > > Regards, > > Sergio Freire > > > > On Thu, 2002-10-17 at 07:40, Rico Gloeckner wrote: > > > On Wed, Oct 16, 2002 at 11:01:51AM -0500, Carroll, Jim P > > [Contractor] wrote: > > > > I'm having a quick look at RH Linux 7.3 right now, and it > > includes micq, a > > > > command line interface to ICQ. I've not played with it, so > > YMMV. If it > > > > doesn't do exactly what you want, you might want to try > > wrapping it in an > > > > expect script. > > > > > > > > Other than that, you might want to browse Sourceforge or > > Freshmeat to see > > > > what possible AIM/ICQ/MSN/YM/etc programs exist which support > > input from the > > > > command line. (If I personally saw benefit to this approach, > > > > I'd be investigating it. But paging/SMS work fine for what > > > > I/we need. :) > > > > > > Personally, i wouldnt trust ICQ or any other IM since they send > > > Messages unencrypted and via a server which is not controlled by > > > me. > > > > > > My personal Preference would be to use Jabber; set up an own > > > jabberd (http://www.jabber.org/admin/adminguide.html), use one of > > > the very basic HighLevel Libs (Net::Jabber for example) and code > > > a simple Program which just sends the Message (feel free to use > > > as Prototype) or even better, use Headline > > > Support. > > > > > > Advantages: Jabber was designed for more then IM, so you have way > > > more Possibilities to develop good Frontends for it; User->Server > > > Encryption can be enabled; You can easily install your own > > > Jabber-Server, making it unreachable for the world; There are > > > already Dozens of Clients for every Platform, the Coders dont > > > need to rev-engineer the Protocol. > > > > > > I actually would already have written something for plugging > > > Nagios into Jabber, but i didnt have any time until yet. ;-( > > > > > > > > > -rg > > > (aka ) > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > Comment: public key available at http://home.subnet.at/rick/pgp/ > > iQA/AwUBPbPkyyDD9/SWDsvSEQJbBACg37hKamVx/0jHAUdsuFE9hmuAZtwAn2Vv > gvNYSukTgI1sFsY338TgMwiH > =azjk > -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: sendim Type: text/x-perl Size: 1980 bytes Desc: not available URL: From sghosh at sghosh.org Mon Oct 21 15:44:31 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Oct 2002 09:44:31 -0400 (EDT) Subject: No commands.cfg In-Reply-To: <20021020044216.27480.qmail@web40007.mail.yahoo.com> References: <20021020044216.27480.qmail@web40007.mail.yahoo.com> Message-ID: On Sun, 20 Oct 2002, bheng qute wrote: > hi, > > i am running the pre-flight check. got this error, > > Error: cannot open config file > '/usr/local/nagios/etc/commands.cfg' for reading! > > i've checked my cfg files and there is no > commands.cfg. > > need again your help. pls... thanks. > > > frozen > > commands.cfg is distributed with the plugins. Nagios usually comes with checkcommands.cfg and miscommands.cfg -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Frank.Michael at star21.de Mon Oct 21 16:03:20 2002 From: Frank.Michael at star21.de (Frank.Michael at star21.de) Date: Mon, 21 Oct 2002 16:03:20 +0200 Subject: AW: Quest: 50 servers, monitor 4 services =xxx entries in host.cfg Message-ID: <15031E993E19FF469F1C94150465BA97077256@DEFRA1MXVS02.de.adp.star21networks.net> i think 50 entries in hosts.cfg, at least one entry in hostgroups.cfg and 4 entries in services.cfg should work. -----Urspr?ngliche Nachricht----- Von: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Gesendet: Montag, 21. Oktober 2002 14:48 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Quest: 50 servers, monitor 4 services =xxx entries in host.cfg If I have 50 servers that I need to monitor 4 services on each server, that is 200 entries in the host.cfg file... correct? One host per service (4) X 50 servers=200 entries. At present, it is not possible to associate multiple "hosts" to a single service is there? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users *********************************************************** Oktober-Aktion bei STAR 21 NETWORKS *********************************************************** INTERNET ACCESS 3 und 6 Mbit/s vier Wochen gratis STAR 21 NETWORKS bietet allen Kunden, die sich im Monat Oktober f?r 3 oder 6 Mbit/s INTERNET ACCESS von STAR 21 NETWORKS entscheiden, die ersten vier Wochen Nutzung gratis. Alle weiteren Infos zu dieser Aktion unter: www.star21networks.de , info at star21.de oder ueber unsere Service Hotline Tel. 0 800 - 1 00 73 40. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 21 16:08:15 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Oct 2002 10:08:15 -0400 (EDT) Subject: Windows host checking In-Reply-To: <1035206138.31877.6.camel@jared.convergia.net> References: <1035206138.31877.6.camel@jared.convergia.net> Message-ID: No opensource software that I know of... you might want to look at some commercial snmp agent implementations for NT 4.0 -sg On 21 Oct 2002, Jared Brick wrote: > Is it possible to add HostMIB's to a Windows NT 4.0 system? I keep > hearing how bad SNMP support is on Windows NT, but this functionality > would help me greatly as I'm already doing process monitoring with > nagios with Windows 2000. > > I apologize if this is a little offtopic. > > Jared > > On Fri, 2002-10-18 at 14:47, Russell Adams wrote: > > NSClient over ssh? Kewl! I was thinking stunnel... > > > > However, I must say, that I use _alot_ of SNMP... The newest UCD_SNMP > > for Linux and other UNIX hosts, with HostMIB enabled, and the stock > > Win2k SNMP Service (that has some HostMIB support). This lets me > > monitor running processes and disk space on both Windoze and Linux > > with the same plugins! I don't have to have one set for Linux, and a > > different set for Windoze. > > > > Russell > > > > On Fri, Oct 18, 2002 at 10:50:31AM -0700, Sean Knox wrote: > > > We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are > > > pretty happy with it. SNMP is also another viable method (we don't like > > > the security problems inherent with SNMP, and opted to use nsclient > > > encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). > > > > > > http://nsclient.ready2run.nl/ > > > > > > Runs as a WinNT/Win2K service. > > > > > > -Sean > > > > > > > > > Andrew Meyer wrote: > > > > > > >Is there anything to do windows host checking/monitoring like there > > > >was for netsaint? If so, what would be the best thing to use? For > > > >Windows clients and for nagios? > > > > > > > > > > > >Andrew Meyer > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 21 16:06:25 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Oct 2002 10:06:25 -0400 (EDT) Subject: Timeout when checking printer status In-Reply-To: <5593DA408212D511B0910002A513501F01D287A7@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D287A7@phsexch20.mgh.harvard.edu> Message-ID: can you run "snmpwalk printer community 1.3.6.1.4.1" ? -sg On Mon, 21 Oct 2002, Kaplan, Andrew H. wrote: > > > > -----Original Message----- > > From: Kaplan, Andrew H. > > Sent: Friday, October 18, 2002 10:58 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Timeout when checking printer status > > > > Hi there, > > > > I am consistently getting a timeout message for a printer even though I know > > the printer is up and running. > > I installed the check_hpjd plugin and have confirmed that net-snmp as well > > asucd-snmp are installed on the > > Nagios server. Any idea? Thanks. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 21 16:10:53 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Oct 2002 10:10:53 -0400 (EDT) Subject: Critical Status not clearing in web interface In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A035635B5@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A035635B5@mail01.ibill.com> Message-ID: CVS check_smtp.c #define SMTP_QUIT "QUIT\r\n" On Mon, 21 Oct 2002 doug.moore at ibill.com wrote: > > did search for "smtp patch", zero matches > > also searched for smtp \r\n, no matches > > I am running latest plugins > > thanks > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, October 18, 2002 5:37 PM > To: doug.moore at ibill.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Critical Status not clearing in web > interface > > > SMTP or SNMP? If it's SMTP, search the archives and you'll find your > solution. There is a patch to check_smtp to send a "\r\n" after the QUIT > instead of just "\r" I believe... > > -- > Marc > > > -----Original Message----- > > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > > Sent: Friday, October 18, 2002 3:19 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Critical Status not clearing in web interface > > > > For some reason, the SMTP check I have enabled and is currently > "checking" > > is still a "critical" red/down. > > > > I used the web-interface to disable checks for the service. Next I > > proceeded to re-able checks for the Snmp service. Nagios is checking > the > > snmp service successfully, but the "critical" is not clearing from the > > Services Detail webpage or any other webpage. > > > > what am I missing here? I have over 20mins of "ok" checks that the > snmp > > service is up and "ok" but yet there is a "critical" red thru out the > > system. > > > > thanks > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From CTIEXCH-SA at emp.ctc.net Mon Oct 21 16:27:50 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Mon, 21 Oct 2002 10:27:50 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-21\10-27-50.43853 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From chet at rcn.com Mon Oct 21 16:27:27 2002 From: chet at rcn.com (Chet Luther) Date: Mon, 21 Oct 2002 10:27:27 -0400 Subject: Perl module for parsing Nagios configs? Message-ID: <049d01c2790d$fbc2f970$8918970a@spg.va> Group, Before I go to the trouble of writing a Perl config file parser for Nagios, I thought I'd check to see if anyone else already has one they'd be willing to send my way. Something that can take multiple files and parse then into a single data structure would be preferrable. If I don't get anything, I'll be sure to share my module with anyone who wants it. Thanks, Chet Luther chet at rcn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pascal.wessel at media-online.ch Mon Oct 21 16:48:15 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Mon, 21 Oct 2002 16:48:15 +0200 Subject: Perl module for parsing Nagios configs? In-Reply-To: <049d01c2790d$fbc2f970$8918970a@spg.va> References: <049d01c2790d$fbc2f970$8918970a@spg.va> Message-ID: <002401c27910$e2ed10e0$bd28bb0a@mediaonline.ch> Hi list, No sure it's what you need, but do you know nagat ? http://sourceforge.net/projects/nagat It's PHP, but it could help. Warm regards, Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chet Luther Sent: lundi, 21. octobre 2002 16:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perl module for parsing Nagios configs? Group, Before I go to the trouble of writing a Perl config file parser for Nagios, I thought I'd check to see if anyone else already has one they'd be willing to send my way. Something that can take multiple files and parse then into a single data structure would be preferrable. If I don't get anything, I'll be sure to share my module with anyone who wants it. Thanks, Chet Luther chet at rcn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RLAdams at Kelsey-Seybold.com Mon Oct 21 16:49:59 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 21 Oct 2002 09:49:59 -0500 Subject: Windows host checking In-Reply-To: <1035206138.31877.6.camel@jared.convergia.net> References: <3DB049E7.4090504@sbcglobal.net> <20021018184715.GP28455@soja.ksnet.com.> <1035206138.31877.6.camel@jared.convergia.net> Message-ID: <36077.383804559$1035212445@news.gmane.org> See this site: http://www.wtcs.org/snmp4tpc/ The author maintains an SNMP patch for Windoze NT 3/4 that has extended functionality. It includes a new MIB called PERFMIB. It is not HostMIB though, but I've found it works ok. Russell On Mon, Oct 21, 2002 at 09:15:38AM -0400, Jared Brick wrote: > Is it possible to add HostMIB's to a Windows NT 4.0 system? I keep > hearing how bad SNMP support is on Windows NT, but this functionality > would help me greatly as I'm already doing process monitoring with > nagios with Windows 2000. > > I apologize if this is a little offtopic. > > Jared > > On Fri, 2002-10-18 at 14:47, Russell Adams wrote: > > NSClient over ssh? Kewl! I was thinking stunnel... > > > > However, I must say, that I use _alot_ of SNMP... The newest UCD_SNMP > > for Linux and other UNIX hosts, with HostMIB enabled, and the stock > > Win2k SNMP Service (that has some HostMIB support). This lets me > > monitor running processes and disk space on both Windoze and Linux > > with the same plugins! I don't have to have one set for Linux, and a > > different set for Windoze. > > > > Russell > > > > On Fri, Oct 18, 2002 at 10:50:31AM -0700, Sean Knox wrote: > > > We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are > > > pretty happy with it. SNMP is also another viable method (we don't like > > > the security problems inherent with SNMP, and opted to use nsclient > > > encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). > > > > > > http://nsclient.ready2run.nl/ > > > > > > Runs as a WinNT/Win2K service. > > > > > > -Sean > > > > > > > > > Andrew Meyer wrote: > > > > > > >Is there anything to do windows host checking/monitoring like there > > > >was for netsaint? If so, what would be the best thing to use? For > > > >Windows clients and for nagios? > > > > > > > > > > > >Andrew Meyer > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From CTIEXCH-SA at emp.ctc.net Mon Oct 21 16:53:31 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Mon, 21 Oct 2002 10:53:31 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-21\10-53-30.44649 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sergio-s-freire at ptinovacao.pt Mon Oct 21 16:49:38 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 21 Oct 2002 15:49:38 +0100 Subject: updated statusmap CGI source file Message-ID: <1035211778.7702.64.camel@newyork.intra.cet.pt> Hi everyone. Please find attached an updated contribution on statusmap.cgi source file. Major changes: - the size of the image created is the maximum of (2d coordinates of all hosts, background image). Until now the background was not taken in account in this calculation so you could have a cropped image... - the user supplied layout was changed to take in account the size of the statusmap image (until now it had DEFAULT_NODE_WIDTH and DEFAULT_NODE_HEIGHT in account for the calculation of the target's, circular arc's, map area, and text drawing). This is now a more realistic situation because the actual size of the statusmap image of the hosts are used to calculate the positioning of the target, highlight selection and map shape area of the html. - Also, the draw_host_text() now is called with the correct coordinates so the text is centered vertically and horizontally in the host image (whatever size it has!) - The highlighted host with circular drawings is now correclty displayed! Until now, other hosts could be drawn on top of these drawings. Now, the circular drawings are displayed after all hosts are drawn. Could anyone update this file (if you agree...) in the CVS? Please feel free to comment any aspect. Regards, Sergio Freire -------------- next part -------------- A non-text attachment was scrubbed... Name: statusmap.c Type: text/x-c Size: 98316 bytes Desc: not available URL: From jcarro10 at sprintspectrum.com Mon Oct 21 17:00:52 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 21 Oct 2002 10:00:52 -0500 Subject: Setting up e-mail notifications. Message-ID: A brief comment (and this is WAY off the charter of the list, so if you're not curious about Jabber, hit Delete now ;). I tried late last week to set up my own Jabber environment, just to test it out. (The idea of running an internal messaging server for keeping team members across various floors in the loop is appealing.) Managed to build jabberd on Linux, no probs. Did the config as stated in the docs (we're behind a strict firewall). Snarfed Exodus for Windows and tried to connect to the server. Tried to create a new account. Got this error: "An error occurred trying to register your new account. This server may not allow open registration." As near as I can tell, I'm permitting open registration. I would have done some Googling at the time, but this was a really low priority. If something springs to mind, send it my way. (BTW, there's nothing obvious in the logfiles to indicate more clearly what the problem is.) jc > -----Original Message----- > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > Sent: Monday, October 21, 2002 8:34 AM > To: peter riegersperger > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Setting up e-mail notifications. > > > Attached goes the plugin to send notifications as instant messages. > You need to download perl module Net::Jabber from search.cspan.org. > Can anyone put this on the CVS? > Comments are appreciated. > Regards, > Sergio Freire > > On Mon, 2002-10-21 at 13:28, peter riegersperger wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > hi sergio! > > > > did you publish your notification plugin yet? i'm very much > > interested in it because it's a "must have" for us, and the last > > thing i need for my nagios install before i can call it productive. > > > > i browsed the plugins-list and the cvs directory, but didn't find > > anything. > > > > i would really appreciate it if you could provide me with a means to > > aquire it. > > > > thanks, > > > > rick > > > > > > > > |- > > | peter riegersperger > > |- > > | subnet > > | platform for media art and experimental technologies > > |- > > | http://www.subnet.at/ > > |- > > | muehlbacherhofweg 5 // 5020 salzburg // austria > > |- > > | fon/fax +43/662/842 897 > > |- > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > > Sergio Freire > > > Sent: Thursday, October 17, 2002 11:21 AM > > > To: Rico Gloeckner > > > Cc: Carroll, Jim P [Contractor]; > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Setting up e-mail notifications. > > > > > > > > > Hello. > > > I have made one plugin for IM notification using Jabber so you can > > > be notified in MSN,ICQ,AIM,etc.. > > > Where to should i post it? into the plugins mailing list? > > > Regards, > > > Sergio Freire > > > > > > On Thu, 2002-10-17 at 07:40, Rico Gloeckner wrote: > > > > On Wed, Oct 16, 2002 at 11:01:51AM -0500, Carroll, Jim P > > > [Contractor] wrote: > > > > > I'm having a quick look at RH Linux 7.3 right now, and it > > > includes micq, a > > > > > command line interface to ICQ. I've not played with it, so > > > YMMV. If it > > > > > doesn't do exactly what you want, you might want to try > > > wrapping it in an > > > > > expect script. > > > > > > > > > > Other than that, you might want to browse Sourceforge or > > > Freshmeat to see > > > > > what possible AIM/ICQ/MSN/YM/etc programs exist which support > > > input from the > > > > > command line. (If I personally saw benefit to this approach, > > > > > I'd be investigating it. But paging/SMS work fine for what > > > > > I/we need. :) > > > > > > > > Personally, i wouldnt trust ICQ or any other IM since they send > > > > Messages unencrypted and via a server which is not controlled by > > > > me. > > > > > > > > My personal Preference would be to use Jabber; set up an own > > > > jabberd (http://www.jabber.org/admin/adminguide.html), > use one of > > > > the very basic HighLevel Libs (Net::Jabber for example) and code > > > > a simple Program which just sends the Message (feel free to use > > > > as Prototype) or even better, > use Headline > > > > Support. > > > > > > > > Advantages: Jabber was designed for more then IM, so > you have way > > > > more Possibilities to develop good Frontends for it; > User->Server > > > > Encryption can be enabled; You can easily install your own > > > > Jabber-Server, making it unreachable for the world; There are > > > > already Dozens of Clients for every Platform, the Coders dont > > > > need to rev-engineer the Protocol. > > > > > > > > I actually would already have written something for plugging > > > > Nagios into Jabber, but i didnt have any time until yet. ;-( > > > > > > > > > > > > -rg > > > > (aka ) > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > > $1,000 for every account that you consolidate with us. > > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > > http://www.viaverio.com/consolidator/osdn.cfm > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up to > > > $1,000 for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGPfreeware 6.5.8 for non-commercial use > Comment: public key available at http://home.subnet.at/rick/pgp/ > > iQA/AwUBPbPkyyDD9/SWDsvSEQJbBACg37hKamVx/0jHAUdsuFE9hmuAZtwAn2Vv > gvNYSukTgI1sFsY338TgMwiH > =azjk > -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cpuetz at onpoint.com Mon Oct 21 17:00:28 2002 From: cpuetz at onpoint.com (Christoph Puetz) Date: Mon, 21 Oct 2002 09:00:28 -0600 Subject: Authentication question Message-ID: <03bb01c27912$994edd90$6101a8c0@onpoint.tfdenver.local> Hello I just installed NAGIOS and are at the point to set authentication. http://nagios.sourceforge.net/docs/1_0/cgiauth.html Is this step necessary at all to successfully run Nagios? In my environment I would not really need authentication ...! If I would skip the authentication process - will I need still need to set the cgi permissions or can I manually chmod the cgi files? I am on Red Hat 8.0. The local installed web site is already up and running but I have not configured anything yet. Thanks! Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.moore at ibill.com Mon Oct 21 17:04:24 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 21 Oct 2002 11:04:24 -0400 Subject: Perl module for parsing Nagios configs? Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635B6@mail01.ibill.com> Pascal what success have you had with Nagat? I had to give up on it. it wasn't stable enough for me to deploy into a production environment. There are over 26 bugs listed in its bug-track I think. Some of the bugs are show stoppers. But if you know PHP, which I don't, it might be just the solution. It is a fantastic 1st attempt to "php" nagios config files. -----Original Message----- From: Pascal Wessel [mailto:pascal.wessel at media-online.ch] Sent: Monday, October 21, 2002 10:48 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perl module for parsing Nagios configs? Hi list, No sure it's what you need, but do you know nagat ? http://sourceforge.net/projects/nagat It's PHP, but it could help. Warm regards, Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chet Luther Sent: lundi, 21. octobre 2002 16:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perl module for parsing Nagios configs? Group, Before I go to the trouble of writing a Perl config file parser for Nagios, I thought I'd check to see if anyone else already has one they'd be willing to send my way. Something that can take multiple files and parse then into a single data structure would be preferrable. If I don't get anything, I'll be sure to share my module with anyone who wants it. Thanks, Chet Luther chet at rcn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 21 17:19:55 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 21 Oct 2002 11:19:55 -0400 Subject: Timeout when checking printer status Message-ID: <5593DA408212D511B0910002A513501F01D287A8@phsexch20.mgh.harvard.edu> Hi Stefan, Thanks for your e-mail. The version of net-snmp/ucd-snmp is 5.0.6. I can check the appropriate website for a 4.2.x version. The question I have is, will the earlier version coexist with the newer one, or will it overwrite it? -----Original Message----- From: Stefan Beck [mailto:stefan.beck at it-software-solutions.de] Sent: Monday, October 21, 2002 9:36 AM To: Kaplan, Andrew H. Subject: Re: [Nagios-users] Timeout when checking printer status Hi, which ucd-snmp (resp. net-snmp) version are you using. I saw the same problem with version 5.x where 4.2.x worked fine. regards Stefan Kaplan, Andrew H. wrote: > > > -----Original Message----- > >From: Kaplan, Andrew H. > >Sent: Friday, October 18, 2002 10:58 AM > >To: nagios-users at lists.sourceforge.net > >Subject: Timeout when checking printer status > > > >Hi there, > > > >I am consistently getting a timeout message for a printer even though > I know > >the printer is up and running. > >I installed the check_hpjd plugin and have confirmed that net-snmp as > well > >asucd-snmp are installed on the > >Nagios server. Any idea? Thanks. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > . > -- Mit freundlichen Gr?ssen Stefan Beck Senior Consultant IT Software Solutions stefan.beck at it-software-solutions.de +49 171 7172182 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From troyc at communitech.net Mon Oct 21 17:24:54 2002 From: troyc at communitech.net (Troy Corbin) Date: Mon, 21 Oct 2002 10:24:54 -0500 (CDT) Subject: Critical Status not clearing in web interface In-Reply-To: References: Message-ID: subhendu- here is the info as requested: from check_ifstatus plugin- %./check_ifstatus -c blahbl00 xx.xx.xx.xx Use of uninitialized value in sprintf at ./check_ifstatus line 148. Use of uninitialized value in sprintf at ./check_ifstatus line 148. CRITICAL: host 'xx.xx.xx.xx', interfaces up: 9, down: 4, dormant: 0
Serial2/1:21: down ->
Serial2/1:21-Bearer Channel: down ->
Serial2/1:22: down ->
Serial2/1:22-Bearer Channel: down ->
from status.log- %grep xx.xx.xx.xx status.log [1035213661] HOST;xx.xx.xx.xx;DOWN;1035213458;1035035966;0;2222035;0;0;1035212926;146;1;1;1;1;0;0.00;0;1;0;CRITICAL - Plugin timed out after 10 seconds [1035213661] SERVICE;xx.xx.xx.xx;Interfaces;CRITICAL;1/1;HARD;1035213458;1035213758;ACTIVE;1;1;1;1030033734;1;CRITICAL;0;0;0;4235482;1030033734;1;1;0;60;1;0;0.00;0;1;1;1;(Service Check Timed Out) actually, i think the issue is due to the 10 second timeout... the circuit right now to this location is maxed out, and actually takes about 40 seconds to complete the check_ifstatus if done manually. but... the host check should still negate the fact that the plugin timed out right? %ping 10.202.0.78 PING 10.202.0.78 (10.202.0.78): 56 data bytes 64 bytes from 10.202.0.78: icmp_seq=0 ttl=253 time=344.687 ms 64 bytes from 10.202.0.78: icmp_seq=1 ttl=253 time=340.061 ms thanks, t On Sun, 20 Oct 2002, Subhendu Ghosh wrote: > > check_ifstatus should always detect the status of the router. > > can you post a parse of the relevant log entries and os/version info? > > PS - the warning state should be fixed in CVS. > > -sg > > > On Fri, 18 Oct 2002, Troy Corbin wrote: > > > i have a similar issue with the check_ifstatus plugin... it will detect a > > router interface has dropped, the interface will come back up, but still > > alerts that its down. > > > > my only fix for this has been to stop the nagios process, edit the > > status.sav file by hand, and remote the offending router, then restart the > > process. > > > > what a pain! > > > > -t > > > > > > On Fri, 18 Oct 2002, Jamin wrote: > > > > > I still have a similar error in that mine is in a "warning" state even > > > when I run the check_snmp by hand I get the "OK" and the program return > > > code is 0 (zero). (found by a "echo $?") > > > > > > Somewhere, nagios seems to be interpreting the return value as a "1" or > > > something... > > > > > > right now, a warning is still better than a critical. =\ > > > Any suggestions to figure out whats going on? > > > > > > On Fri, 18 Oct 2002 doug.moore at ibill.com wrote: > > > > > > > For some reason, the SMTP check I have enabled and is currently "checking" > > > > is still a "critical" red/down. > > > > > > > > I used the web-interface to disable checks for the service. Next I > > > > proceeded to re-able checks for the Snmp service. Nagios is checking the > > > > snmp service successfully, but the "critical" is not clearing from the > > > > Services Detail webpage or any other webpage. > > > > > > > > what am I missing here? I have over 20mins of "ok" checks that the snmp > > > > service is up and "ok" but yet there is a "critical" red thru out the > > > > system. > > > > > > > > thanks > > > > > > > > > > > > ********************************************************************** > > > > This email and any files transmitted with it are confidential and > > > > intended solely for the use of the individual or entity to whom they > > > > are addressed. If you have received this email in error please notify > > > > the system manager. > > > > ********************************************************************** > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ---------------------------------------------------------------------- > > > It is by caffeine alone I set my mind in motion. > > > It is by the beans of Java that thoughts acquire speed. > > > The hands acquire shaking. > > > The shaking becomes a warning. > > > > > It is by caffeine alone I set my mind in motion. -Influenced by Dune > > > ---------------------------------------------------------------------- > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: > > Access Your PC Securely with GoToMyPC. Try Free Now > > https://www.gotomypc.com/s/OSND/DD > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 21 17:26:32 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 21 Oct 2002 11:26:32 -0400 Subject: Windows host checking Message-ID: <5593DA408212D511B0910002A513501F01D287AA@phsexch20.mgh.harvard.edu> One such product would be Hewlett-Packard's OpenView utility. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Monday, October 21, 2002 10:08 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Windows host checking No opensource software that I know of... you might want to look at some commercial snmp agent implementations for NT 4.0 -sg On 21 Oct 2002, Jared Brick wrote: > Is it possible to add HostMIB's to a Windows NT 4.0 system? I keep > hearing how bad SNMP support is on Windows NT, but this functionality > would help me greatly as I'm already doing process monitoring with > nagios with Windows 2000. > > I apologize if this is a little offtopic. > > Jared > > On Fri, 2002-10-18 at 14:47, Russell Adams wrote: > > NSClient over ssh? Kewl! I was thinking stunnel... > > > > However, I must say, that I use _alot_ of SNMP... The newest UCD_SNMP > > for Linux and other UNIX hosts, with HostMIB enabled, and the stock > > Win2k SNMP Service (that has some HostMIB support). This lets me > > monitor running processes and disk space on both Windoze and Linux > > with the same plugins! I don't have to have one set for Linux, and a > > different set for Windoze. > > > > Russell > > > > On Fri, Oct 18, 2002 at 10:50:31AM -0700, Sean Knox wrote: > > > We use NSClient over ssh (cygwin) to monitor Windows 2000 hosts and are > > > pretty happy with it. SNMP is also another viable method (we don't like > > > the security problems inherent with SNMP, and opted to use nsclient > > > encrypted over ssh. oh, and working with Windows + SNMP is a pain anyway). > > > > > > http://nsclient.ready2run.nl/ > > > > > > Runs as a WinNT/Win2K service. > > > > > > -Sean > > > > > > > > > Andrew Meyer wrote: > > > > > > >Is there anything to do windows host checking/monitoring like there > > > >was for netsaint? If so, what would be the best thing to use? For > > > >Windows clients and for nagios? > > > > > > > > > > > >Andrew Meyer > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mike at omnipod.com Mon Oct 21 17:35:35 2002 From: mike at omnipod.com (Mike Culbertson) Date: Mon, 21 Oct 2002 11:35:35 -0400 Subject: fork() problem? Message-ID: <007401c27917$7fd465b0$8119fea9@omnipodintern> I am running Nagios on a P4 1.4 running RedHat 7.3, and also at another location on a Sun Ultra 10 running Debian Sparc/Linux. The versions are 1.0b6 and 1.0b5 respectvely. The problem I am encountering is that on the RedHat box, when I set max_concurrent_checks to 0, nagios appears to start forking infinitely (so to speak), I believe at the same rate that it is receiving passive checks (approx 1 new fork every 1-3 minutes). The only reason I referenced the Sparc machine is because it does not suffer from this same problem, although it too accepts passive checks and shares an identical nagios.cfg as well as identical build options. I found a simple fix to be to set max_concurrent_checks to a static number, and the forked processes stay within this boundary. I am still can't figure out, though, why the forks seem to run rampant when not restrained. What might the condition be that prevents the forks from completing? Not being much of a c coder, stracing isn't showing me much I can work with but I'll be happy to attach logs on request. Thanks in advance. Mike Culbertson -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.wessel at media-online.ch Mon Oct 21 17:36:06 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Mon, 21 Oct 2002 17:36:06 +0200 Subject: Perl module for parsing Nagios configs? In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A035635B6@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A035635B6@mail01.ibill.com> Message-ID: <002a01c27917$92851880$bd28bb0a@mediaonline.ch> Doug, Yes you are right to point that nagat is not that perfect. I made some tests when I started my beta run with nagios 1.0b6 (in fact I'm a nagios primer :-) and I stopped using nagat for several reasons: 1) some bugs 2) all the comments I had to a cfg file are removed, not fair for my collegues. 3) lots of parameters showed up and my goals was just having nagios running. All these parms confused me. I switched back to vi What I'm doing to edit my config files is: ($NAGIOS_ROOT=/usr/local/nagios) did a cp -pr $NAGIOSROOT/etc $NAGIOSROOT/stage && cd $NAGIOSROOT/stage... and vi a lot. Then played with $NAGIOSROOT/bin/nagios -v $NAGIOSROOT/stage/nagios.cfg $NAGIOSROOT/stage/nagios.cfg modified to fit my stage directory structure, like the following: log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/stage/checkcommands.cfg cfg_file=/usr/local/nagios/stage/misccommands.cfg cfg_file=/usr/local/nagios/stage/contactgroups.cfg cfg_file=/usr/local/nagios/stage/contacts.cfg cfg_file=/usr/local/nagios/stage/dependencies.cfg cfg_file=/usr/local/nagios/stage/escalations.cfg cfg_file=/usr/local/nagios/stage/hostgroups.cfg cfg_file=/usr/local/nagios/stage/hosts.cfg cfg_file=/usr/local/nagios/stage/services.cfg cfg_file=/usr/local/nagios/stage/timeperiods.cfg resource_file=/usr/local/nagios/stage/resource.cfg If I don't have error during the validation step of my stage tree, I just copy the modified files to the real etc directory. I think I'll script this once a day (once I understand nagios - lol) Thus I think I'll test nagat once a day. When I'll feel more confident with nagios, I'll for sure dig into nagat. At first I'd better look at escalations and dependencies. ... So much to do, so little time ... Have a nice day, Pascal -----Original Message----- From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] Sent: lundi, 21. octobre 2002 17:04 To: pascal.wessel at media-online.ch; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perl module for parsing Nagios configs? Pascal what success have you had with Nagat? I had to give up on it. it wasn't stable enough for me to deploy into a production environment. There are over 26 bugs listed in its bug-track I think. Some of the bugs are show stoppers. But if you know PHP, which I don't, it might be just the solution. It is a fantastic 1st attempt to "php" nagios config files. -----Original Message----- From: Pascal Wessel [mailto:pascal.wessel at media-online.ch] Sent: Monday, October 21, 2002 10:48 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perl module for parsing Nagios configs? Hi list, No sure it's what you need, but do you know nagat ? http://sourceforge.net/projects/nagat It's PHP, but it could help. Warm regards, Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chet Luther Sent: lundi, 21. octobre 2002 16:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perl module for parsing Nagios configs? Group, Before I go to the trouble of writing a Perl config file parser for Nagios, I thought I'd check to see if anyone else already has one they'd be willing to send my way. Something that can take multiple files and parse then into a single data structure would be preferrable. If I don't get anything, I'll be sure to share my module with anyone who wants it. Thanks, Chet Luther chet at rcn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean at techtarget.com Mon Oct 21 18:04:49 2002 From: sean at techtarget.com (Sean Lutner) Date: 21 Oct 2002 12:04:49 -0400 Subject: Images using wrong path? Message-ID: <1035216293.20673.25.camel@localhost.localdomain> I'm in the process of upgrading from my netsaint installation to Nagios. I've compiled Nagios with the following options. ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ --with/htmurl= and the plugins with the following ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ I've converted my netsaint configs and nagios is running and working, however all the images are not loading. All images called from a cgi are not woroking and appear to be called with the wrong path. Here is a snippet from my apache logs. [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found or unable to stat: /apps/nagios/sbin/up.gif [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found or unable to stat: /apps/nagios/sbin/down.gif My images are in /apps/nagios/share/images. Any ideas why this is happening would be greatly appreciated. I can also provide further configs if needed. Thanks Sean -- Sean Lutner Senior Systems & Network Administrator TechTarget, Inc. 117 Kendrick St, Suite 800 Needham, MA 02494 P: 781-657-1337 F: 781-657-1100 E: sean at techtarget.com W: http://www.techtarget.com "Imagination is more important than knowledge." -- Albert Einstein ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 21 19:24:09 2002 From: jsm at inpro.net (Jeff McKeon) Date: 21 Oct 2002 13:24:09 -0400 Subject: plugin install error 1 Message-ID: <1035221049.1023.19.camel@localhost.localdomain> Redhat 8.0 system, default desktop install Nagios base installed, no problem. When I issue the "make all" command for the plugins, at the end of the run I receive this error.. config.status: creating Makefile Making all in plugins make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' Makefile:655: *** missing separator. Stop. make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 I've searched the FAQ's and docs but found no reference. ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k? http://www.sun.com/javavote From sean.knox at sbcglobal.net Mon Oct 21 20:23:27 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Mon, 21 Oct 2002 11:23:27 -0700 Subject: Authentication question References: <03bb01c27912$994edd90$6101a8c0@onpoint.tfdenver.local> Message-ID: <3DB4461F.5050301@sbcglobal.net> Nagios can run without cgi authentication. Sean Christoph Puetz wrote: > Hello > > I just installed NAGIOS and are at the point to set authentication. > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > Is this step necessary at all to successfully run Nagios? In my > environment I would not really need authentication ...! > > If I would skip the authentication process - will I need still need to > set the cgi permissions or can I manually chmod the cgi files? > > I am on Red Hat 8.0. The local installed web site is already up and > running but I have not configured anything yet. > > Thanks! > > Chris ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k? http://www.sun.com/javavote From lilesb at ijet.com Mon Oct 21 20:21:10 2002 From: lilesb at ijet.com (Bryan Liles) Date: 21 Oct 2002 14:21:10 -0400 Subject: Quest: 50 servers, monitor 4 services =xxx entries in host.cfg In-Reply-To: <7DC404391E19FF4B97028E7790C9C54A035635B4@mail01.ibill.com> References: <7DC404391E19FF4B97028E7790C9C54A035635B4@mail01.ibill.com> Message-ID: <1035224470.23230.16.camel@westport.ijetcorp.com> Actually, http://nagios.sourceforge.net/docs/1_0/templatetricks.html On Mon, 2002-10-21 at 08:48, doug.moore at ibill.com wrote: > If I have 50 servers that I need to monitor 4 services on each server, that > is 200 entries in the host.cfg file... correct? One host per service (4) X > 50 servers=200 entries. > > At present, it is not possible to associate multiple "hosts" to a single > service is there? > > thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k? http://www.sun.com/javavote From CTIEXCH-SA at emp.ctc.net Mon Oct 21 21:14:09 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Mon, 21 Oct 2002 15:14:09 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-21\15-14-09.50747 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k? http://www.sun.com/javavote From doug.moore at ibill.com Mon Oct 21 21:27:02 2002 From: doug.moore at ibill.com (doug.moore at ibill.com) Date: Mon, 21 Oct 2002 15:27:02 -0400 Subject: How do I:compile single plugin..check_smtp Message-ID: <7DC404391E19FF4B97028E7790C9C54A035635BA@mail01.ibill.com> I need version 1.5 of check_smtp. I currently have version 1.1.1.1 can someone give me the command-line to compile this single plugin. Got the code from CVS. Copied the check_smtp.c to the /nagiosplug-1.3-beta1/plugins directory Tried a gcc check_smtp.c -o check_smtp15 while in ../../plugins directory and got below errors. [root at nagios01 plugins]# gcc check_smtp.c -o check_smtp15 /tmp/ccNFU3bp.o: In function `main': /tmp/ccNFU3bp.o(.text+0x166): undefined reference to `socket_timeout_alarm_handler' /tmp/ccNFU3bp.o(.text+0x1a9): undefined reference to `my_tcp_connect' /tmp/ccNFU3bp.o(.text+0x1e8): undefined reference to `strip' /tmp/ccNFU3bp.o: In function `process_arguments': /tmp/ccNFU3bp.o(.text+0x630): undefined reference to `is_option' /tmp/ccNFU3bp.o(.text+0x659): undefined reference to `is_host' /tmp/ccNFU3bp.o(.text+0x6b0): undefined reference to `strscpy' /tmp/ccNFU3bp.o(.text+0x6d2): undefined reference to `strscpy' /tmp/ccNFU3bp.o: In function `call_getopt': /tmp/ccNFU3bp.o(.text+0x78e): undefined reference to `is_host' /tmp/ccNFU3bp.o(.text+0x7d6): undefined reference to `is_intpos' /tmp/ccNFU3bp.o(.text+0x84e): undefined reference to `is_intnonneg' /tmp/ccNFU3bp.o(.text+0x8ae): undefined reference to `is_intnonneg' /tmp/ccNFU3bp.o(.text+0x91e): undefined reference to `is_intnonneg' /tmp/ccNFU3bp.o(.text+0x97a): undefined reference to `print_revision' /tmp/ccNFU3bp.o: In function `print_help': /tmp/ccNFU3bp.o(.text+0x9e4): undefined reference to `print_revision' /tmp/ccNFU3bp.o(.text+0xa17): undefined reference to `support' collect2: ld returned 1 exit status >>>>>>> If someone has an already compiled version, could they email it to me? thanks ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k? http://www.sun.com/javavote From jcarro10 at sprintspectrum.com Mon Oct 21 21:52:02 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 21 Oct 2002 14:52:02 -0500 Subject: How do I:compile single plugin..check_smtp Message-ID: How about 'make'? > -----Original Message----- > From: doug.moore at ibill.com [mailto:doug.moore at ibill.com] > Sent: Monday, October 21, 2002 2:27 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I:compile single plugin..check_smtp > > > I need version 1.5 of check_smtp. I currently have version 1.1.1.1 can > someone give me the command-line to compile this single > plugin. Got the code > from CVS. > > Copied the check_smtp.c to the /nagiosplug-1.3-beta1/plugins > directory Tried > a > > gcc check_smtp.c -o check_smtp15 > > while in ../../plugins directory > and got below errors. > > [root at nagios01 plugins]# gcc check_smtp.c -o check_smtp15 > /tmp/ccNFU3bp.o: In function `main': > /tmp/ccNFU3bp.o(.text+0x166): undefined reference to > `socket_timeout_alarm_handler' > /tmp/ccNFU3bp.o(.text+0x1a9): undefined reference to `my_tcp_connect' > /tmp/ccNFU3bp.o(.text+0x1e8): undefined reference to `strip' > /tmp/ccNFU3bp.o: In function `process_arguments': > /tmp/ccNFU3bp.o(.text+0x630): undefined reference to `is_option' > /tmp/ccNFU3bp.o(.text+0x659): undefined reference to `is_host' > /tmp/ccNFU3bp.o(.text+0x6b0): undefined reference to `strscpy' > /tmp/ccNFU3bp.o(.text+0x6d2): undefined reference to `strscpy' > /tmp/ccNFU3bp.o: In function `call_getopt': > /tmp/ccNFU3bp.o(.text+0x78e): undefined reference to `is_host' > /tmp/ccNFU3bp.o(.text+0x7d6): undefined reference to `is_intpos' > /tmp/ccNFU3bp.o(.text+0x84e): undefined reference to `is_intnonneg' > /tmp/ccNFU3bp.o(.text+0x8ae): undefined reference to `is_intnonneg' > /tmp/ccNFU3bp.o(.text+0x91e): undefined reference to `is_intnonneg' > /tmp/ccNFU3bp.o(.text+0x97a): undefined reference to `print_revision' > /tmp/ccNFU3bp.o: In function `print_help': > /tmp/ccNFU3bp.o(.text+0x9e4): undefined reference to `print_revision' > /tmp/ccNFU3bp.o(.text+0xa17): undefined reference to `support' > collect2: ld returned 1 exit status > >>>>>>> > > If someone has an already compiled version, could they email it to me? > > thanks > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From chet at rcn.com Mon Oct 21 21:55:46 2002 From: chet at rcn.com (Chet Luther) Date: Mon, 21 Oct 2002 15:55:46 -0400 Subject: Perl module for parsing Nagios configs? References: <049d01c2790d$fbc2f970$8918970a@spg.va> Message-ID: <052501c2793b$d8c0caa0$8918970a@spg.va> It's me again, I was in a bit of a hurry, so I went ahead and put together the Perl config file parsing module mentioned below. I'm attaching it to this message in case anyone else out there has a use for it. The documentation is in POD format in the module. Chet Luther chet at rcn.com > Group, > Before I go to the trouble of writing a Perl config file parser for > Nagios, I thought I'd check to see if anyone else already has one they'd be > willing to send my way. Something that can take multiple files and parse > then into a single data structure would be preferrable. If I don't get > anything, I'll be sure to share my module with anyone who wants it. -------------- next part -------------- A non-text attachment was scrubbed... Name: Parser.pm Type: application/octet-stream Size: 3696 bytes Desc: not available URL: From lilesb at ijet.com Mon Oct 21 22:23:02 2002 From: lilesb at ijet.com (Bryan Liles) Date: 21 Oct 2002 16:23:02 -0400 Subject: Perl module for parsing Nagios configs? In-Reply-To: <052501c2793b$d8c0caa0$8918970a@spg.va> References: <049d01c2790d$fbc2f970$8918970a@spg.va> <052501c2793b$d8c0caa0$8918970a@spg.va> Message-ID: <1035231782.23370.173.camel@westport.ijetcorp.com> Nice script. I prefer cfg_dir, coulda posted a diff, but I reformatted your code :) my @xod_dirs = (); foreach my $line (@cfg_file) { if ($line =~ /^xodtemplate_config_file=/) { push(@xod_files, (split(/=/, $line))[1]); } if ($line =~ /^cfg_file=/) { push(@xod_files, (split(/=/, $line))[1]); } if ($line =~ /^cfg_dir=/) { push(@xod_dirs, (split(/=/, $line))[1]); } } foreach my $dir (@cfg_file) { opendir(DIR, $dir) or die "unable to open $dir: $!"; while (defined(my $file = readdir(DIR))) { next if $file =~ /^\.\.?$/; if ($file =~ /cfg$/) { push (@xod_files, $file); } } } On Mon, 2002-10-21 at 15:55, Chet Luther wrote: > It's me again, > I was in a bit of a hurry, so I went ahead and put together the Perl > config file parsing module mentioned below. I'm attaching it to this > message in case anyone else out there has a use for it. The documentation > is in POD format in the module. > > Chet Luther > chet at rcn.com > > > > Group, > > Before I go to the trouble of writing a Perl config file parser for > > Nagios, I thought I'd check to see if anyone else already has one they'd > be > > willing to send my way. Something that can take multiple files and parse > > then into a single data structure would be preferrable. If I don't get > > anything, I'll be sure to share my module with anyone who wants it. -- Bryan Liles ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From kmiller at inflow.com Mon Oct 21 22:14:15 2002 From: kmiller at inflow.com (Kevin Miller) Date: Mon, 21 Oct 2002 14:14:15 -0600 Subject: Host Check Clarification Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA43@columbus.admin.corp.inflow.com> Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.mcavoy at megawheels.com Mon Oct 21 22:32:42 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 21 Oct 2002 16:32:42 -0400 Subject: Problems with a service and hostgroups Message-ID: <1035232365.13023.8.camel@tech03> Hello, I'm getting somewhat of an odd error: when I configure a service to use a hostgroup_name, and that hostgroup contains more than one server I get "Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'service description' on 'hostname' when only 1 host exists in the hostgroup all is well. Also when I do multiple host_name entries it works without a hitch (which is not practical, with all the hosts needed). Any ideas where to look? -------------- 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 mmontiel at bolchile.cl Mon Oct 21 23:38:09 2002 From: mmontiel at bolchile.cl (Mauricio Montiel G.) Date: Mon, 21 Oct 2002 17:38:09 -0400 Subject: Can I nest services configuration file? Message-ID: <001801c2794a$273daf50$2d900cc8@MMONTIEL> Hi, I'm adding hosts and services to my nagios installation. The question is: Can I nest dot-cfg files? I would like to create different service configuration files for each kind of device in my network. Thanks in advance, Mauricio Montiel G. ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From mike at omnipod.com Mon Oct 21 22:40:52 2002 From: mike at omnipod.com (Mike Culbertson) Date: Mon, 21 Oct 2002 16:40:52 -0400 Subject: Fw: fork() problem? Message-ID: <021301c27942$25935450$8119fea9@omnipodintern> Update on this. I was little hasty in saying that setting the max_concurrent_checks restrained the forking. I see now that, even when the var is set at 10, I now have 29 nagios procs running (my initial assumption that this var controlled forking is incorrect, sorry): [root at machine nagios]# ps -ef | grep nagios | wc -l 29 [root at machine nagios]# Also to clarify, I have taken into account the system being busy (it is). But after a weekend of unattended running, there were 1968 nagios procs waiting for me this morning, which I am assuming probably isn't normal :) Thanks again. Mike C -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Mon Oct 21 23:03:05 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 21 Oct 2002 17:03:05 -0400 Subject: Host Check Clarification Message-ID: i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From dean.bishop at tcdsb.org Mon Oct 21 23:05:40 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 21 Oct 2002 17:05:40 -0400 Subject: host Non-OK, does it get pounded? Message-ID: Good morning, So, i understand that if a service is Non-Ok, then the host gets pounded until max attempts and then the service is rescheduled using its normal_check_interval and that the service notifications are squelched. What happens during the subsequent service checks though? On the next normally scheduled service check, if the host is still Non-OK, then does the host get pounded again?? thanks dean ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From RLAdams at Kelsey-Seybold.com Mon Oct 21 23:15:56 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 21 Oct 2002 16:15:56 -0500 Subject: Perl module for parsing Nagios configs? In-Reply-To: <1035231782.23370.173.camel@westport.ijetcorp.com> References: <049d01c2790d$fbc2f970$8918970a@spg.va> <052501c2793b$d8c0caa0$8918970a@spg.va> <1035231782.23370.173.camel@westport.ijetcorp.com> Message-ID: <42771.2566256107$1035235207@news.gmane.org> I was thinking of feeding Netsaint/Nagios configs into Graphviz to visually explore the host/service data... think the doxygen source code graphs... This would help enable that. Very nice gentlemen! Russell On Mon, Oct 21, 2002 at 04:23:02PM -0400, Bryan Liles wrote: > Nice script. I prefer cfg_dir, coulda posted a diff, but I reformatted > your code :) > > my @xod_dirs = (); > > foreach my $line (@cfg_file) { > if ($line =~ /^xodtemplate_config_file=/) { > push(@xod_files, (split(/=/, $line))[1]); > } > > if ($line =~ /^cfg_file=/) { > push(@xod_files, (split(/=/, $line))[1]); > } > > if ($line =~ /^cfg_dir=/) { > push(@xod_dirs, (split(/=/, $line))[1]); > } > } > > foreach my $dir (@cfg_file) { > opendir(DIR, $dir) or die "unable to open $dir: $!"; > while (defined(my $file = readdir(DIR))) { > next if $file =~ /^\.\.?$/; > if ($file =~ /cfg$/) { > push (@xod_files, $file); > } > } > } > > On Mon, 2002-10-21 at 15:55, Chet Luther wrote: > > It's me again, > > I was in a bit of a hurry, so I went ahead and put together the Perl > > config file parsing module mentioned below. I'm attaching it to this > > message in case anyone else out there has a use for it. The documentation > > is in POD format in the module. > > > > Chet Luther > > chet at rcn.com > > > > > > > Group, > > > Before I go to the trouble of writing a Perl config file parser for > > > Nagios, I thought I'd check to see if anyone else already has one they'd > > be > > > willing to send my way. Something that can take multiple files and parse > > > then into a single data structure would be preferrable. If I don't get > > > anything, I'll be sure to share my module with anyone who wants it. > -- > Bryan Liles > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From jlyons30 at yahoo.com Mon Oct 21 22:46:48 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 21 Oct 2002 13:46:48 -0700 (PDT) Subject: Apan Help.... :( In-Reply-To: <1035232365.13023.8.camel@tech03> References: <1035232365.13023.8.camel@tech03> Message-ID: <20021021204648.1221.qmail@web21507.mail.yahoo.com> Hi, has anyone had success with apan & check_ping? I can see the apan.cgi page, no graphics yet, but it does have the weekly/monthly/headings, but the one host running the apan service states no output, and I get the errors below; /usr/local/share/nagios/apan/plugs/disk: 14: Syntax error: Bad substitution I've attached my apan.cfg(uploaded as cft.txt) and I've edited all the apan files to point to my correct directories, running on Freebsd the paths are funky..ie /usr/local/share/nagio /usr/local/libexec/nagios/ etc.etc.etc.. ===== ----- Jon Lyons Black Honda F3 #800 __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cfg.txt URL: From russell at quadrix.com Mon Oct 21 23:49:59 2002 From: russell at quadrix.com (Russell Scibetti) Date: Mon, 21 Oct 2002 17:49:59 -0400 Subject: host Non-OK, does it get pounded? References: Message-ID: <3DB47687.4020706@quadrix.com> From what I know, the host will only get hit again is you have use_aggressive_host_checks turned on in nagios.cfg. Otherwise, the host checks will not occur again (neither will the service check retries). A host will come back "UP" when any of its services return to an OK state. -Russell Bishop, Dean wrote: >Good morning, > > So, i understand that if a service is Non-Ok, then the host gets pounded >until max attempts and then the service is rescheduled using its >normal_check_interval and that the service notifications are squelched. > > What happens during the subsequent service checks though? On the next >normally scheduled service check, if the host is still Non-OK, then does the >host get pounded again?? > >thanks >dean > > >------------------------------------------------------- >This sf.net emial is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From r.m.koperdraad at wanadoo.nl Mon Oct 21 23:48:56 2002 From: r.m.koperdraad at wanadoo.nl (Ron Koperdraad) Date: Mon, 21 Oct 2002 23:48:56 +0200 Subject: nagios can't loggin to PostgreSQL Message-ID: <003001c2794b$a8368a90$0f00a8c0@w2kworkstation> I have installed Nagios 1.0b6 with the compile option "--with-pgsql-xdata". within PostgreSQL version 7.2.1 I've created the database nagios with the tables as described in the documentation, I created the user nagios gave him a password and set the appropriate rights. Nagios and PostgreSQL are installed on the same machine using Redhat 7.3. if I start nagios I get the message Error: Could not connect to PostgreSQL database ' ' on host ' ' using username ' ' and password ' ' I get this message for Status data, Retention data, comment data and downtime date in the resource.cfg the name of the database the port en the username/password are defined as the should be. Form a windows machine use access a can access the database. Ron K -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Wu at fusepoint.com Tue Oct 22 00:16:55 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Mon, 21 Oct 2002 15:16:55 -0700 Subject: Fw: fork() problem? Message-ID: <77F055FA968580429F4546414D8C10E70C2FCB@s102b.rhcci.net> Hi, mike: If you want the nagios to be run in parallel, set the value to 0, look at the nagios.cfg comments on the max_concurrent_checks. Here is the contnet: # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 Richard Wu -----Original Message----- From: Mike Culbertson [mailto:mike at omnipod.com] Sent: Monday, October 21, 2002 1:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fw: fork() problem? Update on this. I was little hasty in saying that setting the max_concurrent_checks restrained the forking. I see now that, even when the var is set at 10, I now have 29 nagios procs running (my initial assumption that this var controlled forking is incorrect, sorry): [root at machine nagios]# ps -ef | grep nagios | wc -l 29 [root at machine nagios]# Also to clarify, I have taken into account the system being busy (it is). But after a weekend of unattended running, there were 1968 nagios procs waiting for me this morning, which I am assuming probably isn't normal :) Thanks again. Mike C -------------- next part -------------- An HTML attachment was scrubbed... URL: From cquinn at excitenetwork.com Tue Oct 22 00:57:01 2002 From: cquinn at excitenetwork.com (Chris Quinn) Date: Mon, 21 Oct 2002 18:57:01 -0400 Subject: cfg help Message-ID: I saw this issue once before, and I was just wondering if anything was ever created for this, I am monitoring over 500 machines each with an average of 4 services, I want to create cfgdir, but I don't want to break up, all of my hosts and services one by one, does anyone have a convertcfg type script that seperates all of hosts/services into separate files? Any help would be greatly appreciated... Thanks You ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From snanda at cadence.com Tue Oct 22 01:18:42 2002 From: snanda at cadence.com (Sanjay Nanda) Date: Mon, 21 Oct 2002 16:18:42 -0700 Subject: Problem runnning trends.cgi/statusmap.cgi/histogram.cgi References: <14AA054C41E6D5119CF800508BBBB64101745AC5@AFJHB0EXCH1> Message-ID: <3DB48B52.48D3B77@cadence.com> Hi Brian, Thanks for your help, it worked with your solution !! Regards -Sanjay Nanda ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From Tony at frazznet.com Tue Oct 22 01:41:59 2002 From: Tony at frazznet.com (Tony) Date: Mon, 21 Oct 2002 19:41:59 -0400 Subject: (no subject) Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F5F2@jupiter.avsconsulting.net> Hello all, I am running Nagios Version 1.0b6. When I look at the Availability Report, it lists most the hosts at 100 % Time Undetermined. does anyone know why this happens and how to get it to accurately determine that time? Thanks -Tony ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From lists at sancho2k.net Tue Oct 22 04:03:38 2002 From: lists at sancho2k.net (Sancho2k Lists) Date: Mon, 21 Oct 2002 20:03:38 -0600 Subject: Can I nest services configuration file? References: <001801c2794a$273daf50$2d900cc8@MMONTIEL> Message-ID: <3DB4B1FA.4060908@sancho2k.net> Mauricio Montiel G. wrote: > Hi, > I'm adding hosts and services to my nagios installation. The question > is: Can I nest dot-cfg files? > I would like to create different service configuration files for each > kind of device in my network. > > Thanks in advance, > > Mauricio Montiel G. Seems as long as you define the config files that you are going to use in nagios.cfg, you can have as many as you want (as long as they contain legitimate configs): From nagios.cfg: -------------------- [...] # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg [...] --------------------- Darren Spruell > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote From mike at omnipod.com Tue Oct 22 05:20:02 2002 From: mike at omnipod.com (Mike Culbertson) Date: Mon, 21 Oct 2002 23:20:02 -0400 Subject: Fw: fork() problem? In-Reply-To: <77F055FA968580429F4546414D8C10E70C2FCB@s102b.rhcci.net> References: <77F055FA968580429F4546414D8C10E70C2FCB@s102b.rhcci.net> Message-ID: <002301c27979$ea594d80$0301a8c0@proton> That was my assumption to begin with. At the time when I left nagios unattended and returned to find 1900+ nagios processes, max_concurrent_checks was and had been set to 0. The other box I run exhibits none of this behavior though it is configured differently. I have a hunch that this may have something to do with my passive service checks (performed using NSCA), as nscd forks somewhat congruently (although in far smaller quantity) with nagios. I'm thinking maybe something is wrong with the build running on linux.or maybe this is something specific to 1.0b6? I haven't been able to roll back to 1.0b5 yet to see if it acts differently (nor do I really want to). I suppose the question is what would cause a child process to not complete its task and just sit there? I should also point out that despite the huge number of forked procs, nagios did not cease to function, and there were no zombie procs. Thanks for the input. Mike C -----Original Message----- From: Richard Wu [mailto:Richard.Wu at fusepoint.com] Sent: Monday, October 21, 2002 6:17 PM To: Mike Culbertson Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Fw: fork() problem? Hi, mike: If you want the nagios to be run in parallel, set the value to 0, look at the nagios.cfg comments on the max_concurrent_checks. Here is the contnet: # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 Richard Wu -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Tue Oct 22 10:23:06 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 22 Oct 2002 04:23:06 -0400 Subject: plugin install error 1 In-Reply-To: <1035221049.1023.19.camel@localhost.localdomain> References: <1035221049.1023.19.camel@localhost.localdomain> Message-ID: <1035274988.8359.1.camel@toaster> On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > Redhat 8.0 system, default desktop install > > Nagios base installed, no problem. > > When I issue the "make all" command for the plugins, at the end of the > run I receive this error.. > > config.status: creating Makefile > Making all in plugins > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > Makefile:655: *** missing separator. Stop. > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > make: *** [all-recursive] Error 1 Not sure when it crept in, or if it's always been there. But there was a bug in plugins/Makefile.am -- missing some tabs. I committed the fix recently. Try updating CVS. -- Karl ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From mijakscht at vit.de Tue Oct 22 11:05:46 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 22 Oct 2002 11:05:46 +0200 Subject: Check 3 times then notify... Message-ID: Hi, can I tell nagios to check critical services three times before a notification gets sent out? So if the first check fails, nagios should check the service (or host) two more times and only if all three tests fail the service is critical and a notification gets sent out?? Any help is appreciated ;-) Michael ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From d.pavani at cineca.it Tue Oct 22 11:18:44 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Tue, 22 Oct 2002 11:18:44 +0200 Subject: Check 3 times then notify... References: Message-ID: <3DB517F4.2040903@cineca.it> In the service, put max_check_attempts 3 After the first critical you enter in a "soft" critical state, after 3 in a "hard" state and you get notified. Here it works :) Bye Michael Jakscht wrote: > > Hi, > > can I tell nagios to check critical services three times before a > notification gets sent out? > So if the first check fails, nagios should check the service (or host) two > more times and only if all three tests fail the service is critical and a > notification gets sent out?? > > Any help is appreciated ;-) > > Michael > > > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti phone:+39 0516171411 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From sergio-s-freire at ptinovacao.pt Tue Oct 22 11:22:37 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 22 Oct 2002 10:22:37 +0100 Subject: updated statusmap CGI compiling tip In-Reply-To: <48F1F432BF75D6118FAC0002B325BE3636E7B2@ntex04.affymetrix.com> References: <48F1F432BF75D6118FAC0002B325BE3636E7B2@ntex04.affymetrix.com> Message-ID: <1035278557.7702.77.camel@newyork.intra.cet.pt> The makefile that i have from CVS doesn't compile statusmap.c! Someone took it off of the makefile. Anwyay, here goes an updated Makefile for the CGI directory. However, i compile it from the command line due to an issue that i have with the GD libraries, so i include the full path of this library in the command line... I use: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o ../xdata/xedtemplate.c -o statusmap.cgi I ask again, if anyone could update this statusmap.c and Makefile in the CVS? Thanks in advance. Any more questions feel free to contact me. Regards, Sergio On Mon, 2002-10-21 at 22:30, Pulyankote, Gopinath wrote: > Hi, > How does one compile this? > I moved the orig statusmap.c & copied this to the cgi directory, > Did a make clean, ./configure and make cgis. It complied and created all > other files except statusmap.cgi > Any clues? > Thanks > -G > > -----Original Message----- > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > Sent: Monday, October 21, 2002 7:50 AM > To: nagios-users at lists.sourceforge.net > Cc: nagios at nagios.org > Subject: [Nagios-users] updated statusmap CGI source file > > > Hi everyone. > Please find attached an updated contribution on statusmap.cgi source > file. > Major changes: > - the size of the image created is the maximum of (2d coordinates of > all hosts, background image). Until now the background was not taken in > account in this calculation so you could have a cropped image... > - the user supplied layout was changed to take in account the size > of > the statusmap image (until now it had DEFAULT_NODE_WIDTH and > DEFAULT_NODE_HEIGHT in account for the calculation of the target's, > circular arc's, map area, and text drawing). This is now a more > realistic situation because the actual size of the statusmap image of > the hosts are used to calculate the positioning of the target, highlight > selection and map shape area of the html. > - Also, the draw_host_text() now is called with the correct > coordinates > so the text is centered vertically and horizontally in the host image > (whatever size it has!) > - The highlighted host with circular drawings is now correclty > displayed! Until now, other hosts could be drawn on top of these > drawings. Now, the circular drawings are displayed after all hosts are > drawn. > > Could anyone update this file (if you agree...) in the CVS? > Please feel free to comment any aspect. > Regards, > Sergio Freire -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile Type: text/x-makefile Size: 5032 bytes Desc: not available URL: From Rvdmerwe at mhg.co.za Tue Oct 22 13:14:42 2002 From: Rvdmerwe at mhg.co.za (Rabie van der Merwe) Date: Tue, 22 Oct 2002 13:14:42 +0200 Subject: Need help to change check_nt to report UNKNOWN state instead of W ARNING Message-ID: <39B69D20AF5DD611BA7F00306E1E8F2EB035A3@cptexc02.bankmed.co.za> I'm not shure I am going down the right path here but... What I am after is to get check_nt in conjunction with pNSClient to report a UNKNOWN state when it cannot connect or retrieve any data from a host instead of a WARNING state. Regards Rabie ********************************************************************** ------ NOTICE ------ This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Metropolitan Health Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message. ********************************************************************** ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From riek at de.alcove.com Tue Oct 22 13:29:13 2002 From: riek at de.alcove.com (Daniel Riek) Date: Tue, 22 Oct 2002 13:29:13 +0200 Subject: interval_length < 60 secs? Message-ID: <20021022112913.GB6728@de.alcove.com> Hi, we are using nagios in connection with heartbeat in an environment, where we would like to have a very short interval between checks on certain services. It should be about 10 or 15 seconds... The only way to reach this is to set the "interval_length" in nagios.cfg to 15 seconds, as far as I understand. But there is a comment in the example file, that says: "# INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary..." So I'd like to know, if anyone ever tried a shorter interval? Regards, Daniel -- Daniel Riek - http://www.alcove.com/de/ * Technical Manager - Tel.: +49 (0)2 28 / 9 08 69 85 * ALCOVE Deutschland GmbH - Fax: +49 (0)2 28 / 9 08 69 84 * Liberating Software - Mobil: +49 (0)1 71 / 2 80 08 79 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From jsm at inpro.net Tue Oct 22 13:46:12 2002 From: jsm at inpro.net (Jeff McKeon) Date: 22 Oct 2002 07:46:12 -0400 Subject: plugin install error 1 In-Reply-To: <1035274988.8359.1.camel@toaster> References: <1035221049.1023.19.camel@localhost.localdomain> <1035274988.8359.1.camel@toaster> Message-ID: <1035287172.2900.3.camel@localhost.localdomain> Karl, Thanks for the reply. I'm currently have CVS 1.11.2-5 installed. I think this is the latest, am I wrong? On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > Redhat 8.0 system, default desktop install > > > > Nagios base installed, no problem. > > > > When I issue the "make all" command for the plugins, at the end of the > > run I receive this error.. > > > > config.status: creating Makefile > > Making all in plugins > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > Makefile:655: *** missing separator. Stop. > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > make: *** [all-recursive] Error 1 > > Not sure when it crept in, or if it's always been there. But there was a > bug in plugins/Makefile.am -- missing some tabs. > > I committed the fix recently. Try updating CVS. > > -- > Karl > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From dean.bishop at tcdsb.org Tue Oct 22 14:01:33 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 08:01:33 -0400 Subject: cfg help Message-ID: sounds like you are using the old, non-template based configs (ala netsaint). If this is the case then there is a tool in the contrib directory of Nagios source called "convertcfg" that will do this for you. later, dean -----Original Message----- From: Chris Quinn [mailto:cquinn at excitenetwork.com] Sent: Monday, October 21, 2002 6:57 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] cfg help I saw this issue once before, and I was just wondering if anything was ever created for this, I am monitoring over 500 machines each with an average of 4 services, I want to create cfgdir, but I don't want to break up, all of my hosts and services one by one, does anyone have a convertcfg type script that seperates all of hosts/services into separate files? Any help would be greatly appreciated... Thanks You ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From dean.bishop at tcdsb.org Tue Oct 22 14:05:52 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 08:05:52 -0400 Subject: Host Check Clarification Message-ID: The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From dean.bishop at tcdsb.org Tue Oct 22 14:07:59 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 08:07:59 -0400 Subject: Check 3 times then notify... Message-ID: yep. use the max_check_attempts option in your service definition. later, dean -----Original Message----- From: Michael Jakscht [mailto:mijakscht at vit.de] Sent: Tuesday, October 22, 2002 5:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check 3 times then notify... Hi, can I tell nagios to check critical services three times before a notification gets sent out? So if the first check fails, nagios should check the service (or host) two more times and only if all three tests fail the service is critical and a notification gets sent out?? Any help is appreciated ;-) Michael ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From ericryoung at yahoo.com Tue Oct 22 15:08:14 2002 From: ericryoung at yahoo.com (Eric Young) Date: Tue, 22 Oct 2002 06:08:14 -0700 (PDT) Subject: question on parallelization Message-ID: <20021022130814.17231.qmail@web14008.mail.yahoo.com> I'm using nagios on RH 7.3 with no DB backend stuff. Perhaps I'm confused on something but I don't seem to be getting any parallelization (yes, it IS turned on). I have about 140 hosts for which I have defined a service that basically runs check_ping every 60 seconds. Therefore, I would expect to have multiple pings running on my machine at once (maybe 2 at a time?) While I haven't checked, during normal operation, I seem to get great response time on these. I have 135 or so of the nodes with a common parent (ie: a router). When I 'fake' a down state for the router I do get a notify as I expect and the child nodes do get marked off slowly. Some other nodes that actually should go down when I do this don't notify for quite a while. It LOOKS like there is only 1 ping running at a time on my machine (though I have from 90-130 nagios processes running). Since each ping has a timeout that takes a bit, detection of other down hosts is very slow. The final question is, if things are parallelized and my pings are piling up (I'll sometimes see more than 30 minute old service checks in the process queue on the web interface) then why doesn't nagios launch more pings? I have read the 'scheduling' documentation and it doesn't seem to answer this question. Have I given you enough information? Am I missing something? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote From sghosh at sghosh.org Tue Oct 22 15:47:04 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Oct 2002 09:47:04 -0400 (EDT) Subject: plugin install error 1 In-Reply-To: <1035287172.2900.3.camel@localhost.localdomain> References: <1035287172.2900.3.camel@localhost.localdomain> Message-ID: I think Karl meant getting the latest code from TVS :) See the instructions for anonymous CVS access http://sourceforge.net/cvs/?group_id=29880 (where modulename is nagiosplug) It will create a new directory for called nagiosplug. cd nagiosplug; ./tools/setup; then run ./configure as usual. -sg On 22 Oct 2002, Jeff McKeon wrote: > Karl, > > Thanks for the reply. > > I'm currently have CVS 1.11.2-5 installed. I think this is the latest, > am I wrong? > > On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > > Redhat 8.0 system, default desktop install > > > > > > Nagios base installed, no problem. > > > > > > When I issue the "make all" command for the plugins, at the end of the > > > run I receive this error.. > > > > > > config.status: creating Makefile > > > Making all in plugins > > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > Makefile:655: *** missing separator. Stop. > > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > make: *** [all-recursive] Error 1 > > > > Not sure when it crept in, or if it's always been there. But there was a > > bug in plugins/Makefile.am -- missing some tabs. > > > > I committed the fix recently. Try updating CVS. > > > > -- > > Karl > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future of > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > http://www.sun.com/javavote > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From mpowell at ena.com Tue Oct 22 16:11:05 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 22 Oct 2002 09:11:05 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7177C@mismail.ena.com> log_initial_states=1 in your nagios.cfg file and/or on Step 3 of the report creation, Assume Initial States: Yes and First Assumed State: Host Up. Nagios never checks the status of a host until a service on the host has failed. It would appear that for the majority of your hosts, that has not been the case. The log_inital_states option will log an OK state (host assumed to be up) for all hosts on restart, assuming a service check returned OK as well. -- Marc > -----Original Message----- > From: Tony [mailto:Tony at frazznet.com] > Sent: Monday, October 21, 2002 6:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > Hello all, > > I am running Nagios Version 1.0b6. When I look at the Availability > Report, it lists most the hosts at 100 % Time Undetermined. does anyone > know why this happens and how to get it to accurately determine that time? > > Thanks > -Tony > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javav ot > e > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jsm at inpro.net Tue Oct 22 16:16:15 2002 From: jsm at inpro.net (Jeff McKeon) Date: 22 Oct 2002 10:16:15 -0400 Subject: plugin install error 1 In-Reply-To: References: Message-ID: <1035296175.2847.47.camel@localhost.localdomain> SG, Thanks for the response... Well, got to the point of running the ./tools/setup and this was what I got... ************snip********************* [jsm at localhost nagiosplug]$ ./tools/setup configure.in:11: required file `plugins/config.h.in' not found WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `plugins/config.h.in' is created chmod: failed to get attributes of `debian/rules': No such file or directory *************snip******************** something tells me this isn't what should have happened... The install notes were right about one thing... This will be a long tedious process! :o) On Tue, 2002-10-22 at 09:47, Subhendu Ghosh wrote: > > I think Karl meant getting the latest code from TVS :) > > See the instructions for anonymous CVS access > http://sourceforge.net/cvs/?group_id=29880 > > (where modulename is nagiosplug) > > It will create a new directory for called nagiosplug. > cd nagiosplug; > ./tools/setup; > > then run ./configure as usual. > > -sg > > > On 22 Oct 2002, Jeff McKeon wrote: > > > Karl, > > > > Thanks for the reply. > > > > I'm currently have CVS 1.11.2-5 installed. I think this is the latest, > > am I wrong? > > > > On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > > > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > > > Redhat 8.0 system, default desktop install > > > > > > > > Nagios base installed, no problem. > > > > > > > > When I issue the "make all" command for the plugins, at the end of the > > > > run I receive this error.. > > > > > > > > config.status: creating Makefile > > > > Making all in plugins > > > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > > Makefile:655: *** missing separator. Stop. > > > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > > make: *** [all-recursive] Error 1 > > > > > > Not sure when it crept in, or if it's always been there. But there was a > > > bug in plugins/Makefile.am -- missing some tabs. > > > > > > I committed the fix recently. Try updating CVS. > > > > > > -- > > > Karl > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net emial is sponsored by: Influence the future of > > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > > http://www.sun.com/javavote > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future of > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > http://www.sun.com/javavote > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From sghosh at sghosh.org Tue Oct 22 16:30:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Oct 2002 10:30:12 -0400 (EDT) Subject: plugin install error 1 In-Reply-To: <1035296175.2847.47.camel@localhost.localdomain> References: <1035296175.2847.47.camel@localhost.localdomain> Message-ID: We are in the middle of a cleanup. The error below can be safely ignored. go ahead an run ./configure -sg On 22 Oct 2002, Jeff McKeon wrote: > SG, > > Thanks for the response... > > Well, got to the point of running the ./tools/setup and this was what I > got... > > ************snip********************* > > [jsm at localhost nagiosplug]$ ./tools/setup > configure.in:11: required file `plugins/config.h.in' not found > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' > WARNING: and `config.h.top', to define templates for `config.h.in' > WARNING: is deprecated and discouraged. > > WARNING: Using the third argument of `AC_DEFINE' and > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without > WARNING: `acconfig.h': > > WARNING: AC_DEFINE([NEED_MAIN], 1, > WARNING: [Define if a function `main' is needed.]) > > WARNING: More sophisticated templates can also be produced, see the > WARNING: documentation. > autoheader: `plugins/config.h.in' is created > chmod: failed to get attributes of `debian/rules': No such file or > directory > > *************snip******************** > > something tells me this isn't what should have happened... > > The install notes were right about one thing... This will be a long > tedious process! :o) > > On Tue, 2002-10-22 at 09:47, Subhendu Ghosh wrote: > > > > I think Karl meant getting the latest code from TVS :) > > > > See the instructions for anonymous CVS access > > http://sourceforge.net/cvs/?group_id=29880 > > > > (where modulename is nagiosplug) > > > > It will create a new directory for called nagiosplug. > > cd nagiosplug; > > ./tools/setup; > > > > then run ./configure as usual. > > > > -sg > > > > > > On 22 Oct 2002, Jeff McKeon wrote: > > > > > Karl, > > > > > > Thanks for the reply. > > > > > > I'm currently have CVS 1.11.2-5 installed. I think this is the latest, > > > am I wrong? > > > > > > On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > > > > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > > > > Redhat 8.0 system, default desktop install > > > > > > > > > > Nagios base installed, no problem. > > > > > > > > > > When I issue the "make all" command for the plugins, at the end of the > > > > > run I receive this error.. > > > > > > > > > > config.status: creating Makefile > > > > > Making all in plugins > > > > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > > > Makefile:655: *** missing separator. Stop. > > > > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > > > make: *** [all-recursive] Error 1 > > > > > > > > Not sure when it crept in, or if it's always been there. But there was a > > > > bug in plugins/Makefile.am -- missing some tabs. > > > > > > > > I committed the fix recently. Try updating CVS. > > > > > > > > -- > > > > Karl > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net emial is sponsored by: Influence the future of > > > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > > > http://www.sun.com/javavote > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net emial is sponsored by: Influence the future of > > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > > http://www.sun.com/javavote > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From ericryoung at yahoo.com Tue Oct 22 16:34:27 2002 From: ericryoung at yahoo.com (Eric Young) Date: Tue, 22 Oct 2002 07:34:27 -0700 (PDT) Subject: 'extra' notifications when dealing with parent-child relationships Message-ID: <20021022143427.66137.qmail@web14004.mail.yahoo.com> I'm posting this here first assuming that I have made a mistake (since I'm new to nagios & all) rather than posting it to devel, where bugs normally go (which I think this may be) I'm still dealing with the same 'setup' as in my other posts (140 or so nodes, 135 with a single parent, faking that parent going down by using ipchains rules to block ALL ICMP). I'd love to get this working as I'm liking nagios except in this darn 'huge network failure' state that I'm simulating. Here's my next question: Is there some way to specify to a 'child' that it should not send out 'down' up notifications if a parent has 'recently' returned to service. In my situation, when I deactivate my ipchains rule such that ICMP should go through successfully, I do get a successful up notification for the parent router. HOWEVER, I will often receive a notification that one of the children is 'down' pretty much immediately followed by an 'up' notification for that same node. My attempts to test this show that it is likely a timing issue, in that the node for which I receive this notification was in the midst of a 'ping' test when I brought ICMP access back up. I would guess (from skimming the code) that the 'ping' that is going on is run, doesn't do well and then the service check code checks to make sure that the parent is up BEFORE sending notification (which I would expect). In this small timeframe, the parent just came up but the ping to the child failed. Therefore, we get an extra notification that doesn't accurately reflect the network activity it is reporting. So, am I missing something or is there NOT a way to say 'if my parent just returned to service 10 seconds ago, try that check one more time'? I think it would be useful (and not too much more code). It would seem you could add a host or service config item something like: parent_up_for: # of seconds. I think you might then have to add a field to the host structure that would track the 'last down time' (in UNIX seconds) such that a child could check their parent. Any idears/flames? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jsm at inpro.net Tue Oct 22 16:31:32 2002 From: jsm at inpro.net (Jeff McKeon) Date: 22 Oct 2002 10:31:32 -0400 Subject: plugin install error 1 In-Reply-To: <1035274988.8359.1.camel@toaster> References: <1035221049.1023.19.camel@localhost.localdomain> <1035274988.8359.1.camel@toaster> Message-ID: <1035297092.2900.52.camel@localhost.localdomain> did the cvs upgrade as instructed by SG, but when I ran "make all" this is what i get... [root at localhost nagiosplug-1.3-beta1]# make all Making all in plugins make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' Makefile:655: *** missing separator. Stop. make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 [root at localhost nagiosplug-1.3-beta1]# On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > Redhat 8.0 system, default desktop install > > > > Nagios base installed, no problem. > > > > When I issue the "make all" command for the plugins, at the end of the > > run I receive this error.. > > > > config.status: creating Makefile > > Making all in plugins > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > Makefile:655: *** missing separator. Stop. > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > make: *** [all-recursive] Error 1 > > Not sure when it crept in, or if it's always been there. But there was a > bug in plugins/Makefile.am -- missing some tabs. > > I committed the fix recently. Try updating CVS. > > -- > Karl > ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From bjorn.ekengren at itsalive.com Tue Oct 22 17:13:42 2002 From: bjorn.ekengren at itsalive.com (=?iso-8859-1?Q?Bj=F6rn_Ekengren?=) Date: Tue, 22 Oct 2002 17:13:42 +0200 Subject: Scheduled availability reports Message-ID: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F44@test01.itsalive.com> Hello, I wonder if there is any possibility to generate weekly reports that are sent in an email ? The only way I have found to do this is to make Nagios use a database and then make a separate program that polls the database and generates the reports and send the mails. This is IMHO not a very elegant solution but implementing it into Nagios would mean alot more than just writing a plugin and I am not a C programmer. Has anybody else had this problem ? --regards /Bjorn -------------- next part -------------- An HTML attachment was scrubbed... URL: From lilesb at ijet.com Tue Oct 22 17:30:58 2002 From: lilesb at ijet.com (Bryan Liles) Date: 22 Oct 2002 11:30:58 -0400 Subject: Scheduled availability reports In-Reply-To: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F44@test01.itsalive.com> References: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F44@test01.itsalive.com> Message-ID: <1035300659.22222.8.camel@dhcppc0> I'm working on this now. I am working on tying in the graphs generated from rrdtool, and nagios's availabitlity report On Tue, 2002-10-22 at 11:13, Bj?rn Ekengren wrote: > Hello, > I wonder if there is any possibility to generate weekly reports that are > sent in an email ? The only way I have found to do this is to make > Nagios use a database and then make a separate program that polls the > database and generates the reports and send the mails. This is IMHO not > a very elegant solution but implementing it into Nagios would mean alot > more than just writing a plugin and I am not a C programmer. Has anybody > else had this problem ? > > --regards > > /Bjorn ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From kmiller at inflow.com Tue Oct 22 17:00:37 2002 From: kmiller at inflow.com (Kevin Miller) Date: Tue, 22 Oct 2002 09:00:37 -0600 Subject: Host Check Clarification Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA4A@columbus.admin.corp.inflow.com> Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From chet at rcn.com Tue Oct 22 17:34:55 2002 From: chet at rcn.com (Chet Luther) Date: Tue, 22 Oct 2002 11:34:55 -0400 Subject: Scheduled availability reports References: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F44@test01.itsalive.com> Message-ID: <002b01c279e0$928d6390$8918970a@spg.va> Bjorn, I have a small script that queries the Nagios avail.cgi and builds an HTML table of availability per hostgroup broken down into last 24 hours, last 7 days, last 30 days and last 365 days. You could email the output of this script out with a cron job to achive the desired results. The script is attached for anyone who wants it. Hope this is of some help, Chet Luther chet at rcn.com Hello, I wonder if there is any possibility to generate weekly reports that are sent in an email ? The only way I have found to do this is to make Nagios use a database and then make a separate program that polls the database and generates the reports and send the mails. This is IMHO not a very elegant solution but implementing it into Nagios would mean alot more than just writing a plugin and I am not a C programmer. Has anybody else had this problem ? --regards /Bjorn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: avail-stats.pl Type: application/octet-stream Size: 5754 bytes Desc: not available URL: From dean.bishop at tcdsb.org Tue Oct 22 17:38:17 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 11:38:17 -0400 Subject: Host Check Clarification Message-ID: Yep, you are quite right. i missed that in my explaination. attached is a flowchart i did for a presentation that should clear things up. if not, let me know. later, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:01 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-process.gif Type: image/gif Size: 18995 bytes Desc: not available URL: From kmiller at inflow.com Tue Oct 22 17:51:28 2002 From: kmiller at inflow.com (Kevin Miller) Date: Tue, 22 Oct 2002 09:51:28 -0600 Subject: Host Check Clarification Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA4B@columbus.admin.corp.inflow.com> So there really is no way to keep from being notified on temporary network outages? This seems to me to be a very important oversight in the development of Nagios. If hosts could be setup with retry_check_intervals this problem would be solved. Possibly host checks could occur after each service check which already support retry_check_intervals...Once the retry_check_inteval expires, both the host and service could be assumed to be down. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 9:38 AM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Yep, you are quite right. i missed that in my explaination. attached is a flowchart i did for a presentation that should clear things up. if not, let me know. later, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:01 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From Darren.Gamble at sjrb.ca Tue Oct 22 18:14:07 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Tue, 22 Oct 2002 10:14:07 -0600 Subject: Host Check Clarification Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB5C6@shawmail02> Good day, > So there really is no way to keep from being notified on > temporary network > outages? This seems to me to be a very important oversight in the > development of Nagios. Yes, there are several methods. You could use "max_check_attempts" in the host declaration to do this, by setting the figure higher. Nagios will retry the host longer, in the hopes that the host will become reachable again. You can also reduce the number of notifications by configuring parents, which are designed for exactly this sort of thing. And further to that, you can configure escalations to do something special with the first X notifications and something different afterwards. HTH, ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From dean.bishop at tcdsb.org Tue Oct 22 18:15:53 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 12:15:53 -0400 Subject: Host Check Clarification Message-ID: no, there is a max_check_attempts option. you could increase this and/or change the check_command to something that is a bit less sensitive. what sort of time is involved in "temporarily unavailable"? please glance at the documentation. -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:51 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification So there really is no way to keep from being notified on temporary network outages? This seems to me to be a very important oversight in the development of Nagios. If hosts could be setup with retry_check_intervals this problem would be solved. Possibly host checks could occur after each service check which already support retry_check_intervals...Once the retry_check_inteval expires, both the host and service could be assumed to be down. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 9:38 AM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Yep, you are quite right. i missed that in my explaination. attached is a flowchart i did for a presentation that should clear things up. if not, let me know. later, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:01 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From dean.bishop at tcdsb.org Tue Oct 22 18:18:26 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 22 Oct 2002 12:18:26 -0400 Subject: Host Check Clarification Message-ID: whoops, meant to send the link http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host this helps explain. you could try just increasing the number of pings sent during the check_host_alive. just a thought, dean -----Original Message----- From: Bishop, Dean Sent: Tuesday, October 22, 2002 12:16 PM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification no, there is a max_check_attempts option. you could increase this and/or change the check_command to something that is a bit less sensitive. what sort of time is involved in "temporarily unavailable"? please glance at the documentation. -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:51 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification So there really is no way to keep from being notified on temporary network outages? This seems to me to be a very important oversight in the development of Nagios. If hosts could be setup with retry_check_intervals this problem would be solved. Possibly host checks could occur after each service check which already support retry_check_intervals...Once the retry_check_inteval expires, both the host and service could be assumed to be down. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 9:38 AM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Yep, you are quite right. i missed that in my explaination. attached is a flowchart i did for a presentation that should clear things up. if not, let me know. later, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:01 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From sean.mcavoy at megawheels.com Tue Oct 22 18:31:12 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 22 Oct 2002 12:31:12 -0400 Subject: Hostgroups and Services Message-ID: <1035304275.16587.12.camel@tech03> Hello, Should I be able to embed hostgroup_name inside of a service (in place of host_name)? I seem to be getting an error when I do this (Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'service description' on 'hostname'). -Sean -------------- 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 kmiller at inflow.com Tue Oct 22 18:42:48 2002 From: kmiller at inflow.com (Kevin Miller) Date: Tue, 22 Oct 2002 10:42:48 -0600 Subject: Host Check Clarification Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA4C@columbus.admin.corp.inflow.com> I have already been experimenting with the max_check_attempts over the past week. I initially had it set to 3 but now modified it to 10. It is better now but still not ideal. The outage times that I am trying to work with range from 1 to 4 mins. In response to Darren, All devices that I am monitoring do have parent devices defined and this does help to limit the number of notifications. I have already thought about the multiple notification option using notification_interval and escalations but doing this is not ideal in all situations. I think that the best answer might be disabling host notifications and adding a ping service check. With this I could rely on purely service notifications which can be controlled properly. Does anyone agree with me that hosts checks should be able to be controlled differently? -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 10:16 AM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification no, there is a max_check_attempts option. you could increase this and/or change the check_command to something that is a bit less sensitive. what sort of time is involved in "temporarily unavailable"? please glance at the documentation. -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:51 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification So there really is no way to keep from being notified on temporary network outages? This seems to me to be a very important oversight in the development of Nagios. If hosts could be setup with retry_check_intervals this problem would be solved. Possibly host checks could occur after each service check which already support retry_check_intervals...Once the retry_check_inteval expires, both the host and service could be assumed to be down. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 9:38 AM To: 'Kevin Miller'; Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Yep, you are quite right. i missed that in my explaination. attached is a flowchart i did for a presentation that should clear things up. if not, let me know. later, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Tuesday, October 22, 2002 11:01 AM To: 'Bishop, Dean'; Kevin Miller Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification Though Nagios should work as you explain it, I believe that it works differently. In the documentation it states: http://nagios.sourceforge.net/docs/1_0/statetypes.html >>"Hard States >>Hard states occur for services in the following situations (hard host >>states are discussed later)... >>When a service check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>service definition. This is a hard error state. >>When a service recovers from a hard error state. This is considered to be >>a hard recovery. >>When a service check results in a non-OK state and its corresponding host >>is either DOWN or UNREACHABLE. This is an exception to the general >>monitoring logic, but makes perfect sense. If the host isn't up why should >>we try and recheck the service? >>Hard states occur for hosts in the following situations... >>When a host check results in a non-OK state and it has been (re)checked >>the number of times specified by the option in the >>host definition. This is a hard error state. >>When a host recovers from a hard error state. This is considered to be a >>hard recovery." >From this, it looks to me like Nagios ignores the retry_check_interval if the host is down. The retry_check_interval is only used for services as long as the host appears to be up. Please let me know if I am missing something. If Nagios is really working the way that I am thinking, that is not good, host checks should have similar behavior to service checks. -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Tuesday, October 22, 2002 6:06 AM To: 'Kevin Miller' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Host Check Clarification The way to do this is to use the retry_check_interval and max_check_attempts. upon failure (this applies to both services and hosts) the normal_check_interval is not used. Rather the retry_check_interval is used. The host/service will not become hard Non-OK until/unless max_check_attempts is reached without getting an OK result. so to avoid notifications for temporary outages, retry [max_check_attempts] times every [retry_check_interval] minutes. hope this helps, dean -----Original Message----- From: Kevin Miller [mailto:kmiller at inflow.com] Sent: Monday, October 21, 2002 6:53 PM To: 'Bishop, Dean' Subject: RE: [Nagios-users] Host Check Clarification Thanks, that is what I assumed. What I am actually looking for is a way to suppress host down alerts from notifying me so quickly. I am monitoring hosts across the internet and therefore cannot control everything. Very often there will be a temporary routing problem that will clear up after 1 or 2 mins. I would like nagios to keep trying for a few mins before paging me. Any ideas? Thanks -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Monday, October 21, 2002 3:03 PM To: 'Kevin Miller '; 'nagios-users at lists.sourceforge.net ' Subject: RE: [Nagios-users] Host Check Clarification i am away from my docs right now but here is how it works. if the a service check, any service check (this would include the first of many) returns a Non-OK status, then the host is checked. if the host checks OK, then the services are scheduled for check using the service's check_retry_interval. If the service stays Non-OK until max_attempts, then the service notification is sent. if the host check is Non-OK, then the host is pounded. If it stays Non-OK until max_attempts (for the host) then the host notification is sent. under both of these circumstances the service is now rescheduled at its normal_check_interval. the difference is that if the host is down, then service notifications are squelched. later, dean -----Original Message----- From: Kevin Miller To: nagios-users at lists.sourceforge.net Sent: 10/21/2002 4:14 PM Subject: [Nagios-users] Host Check Clarification Looking for some clarification on Nagios Host checking. I am monitoring the SSH service on multiple hosts, from what I understand when the SSH service check has problems, Nagios then tries to do a Host check. >From the documentation "One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. " The documentation states that Nagios dedicates all resources to checking this host and then sends a notification that the host is down. The part that seems a little strange to me is that often I will get a Host Down notification while Nagios is still doing test 1 out of 3 for the SSH service. I have my max_attempts set to 10 for each host, what is the interval between these attempts?. Is there anyway to tell Nagios to perform host checks that are a certain interval apart (just like in service checks) before sending a notification? Thanks ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jcoleman at lrn.com Tue Oct 22 19:06:23 2002 From: jcoleman at lrn.com (Jason Coleman) Date: Tue, 22 Oct 2002 10:06:23 -0700 Subject: Directories Missing Message-ID: <8A4F07369400D511B1890060CF204C2A031BEB25@lrnex01.corp.lrn.com> I seem to be missing the /etc directory after installing nagios. Any reason why this is happening? Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From russell at quadrix.com Tue Oct 22 19:19:16 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 22 Oct 2002 13:19:16 -0400 Subject: Directories Missing References: <8A4F07369400D511B1890060CF204C2A031BEB25@lrnex01.corp.lrn.com> Message-ID: <3DB58894.8090007@quadrix.com> You need to do make install-config. That will add the etc directory with sample configs. -Russell Jason Coleman wrote: >I seem to be missing the /etc directory after installing nagios. Any reason >why this is happening? > >Jason Coleman >Systems Administrator >LRN - The Legal Knowledge Company >Inter Office:5381 >jcoleman at lrn.com > > >------------------------------------------------------- >This sf.net emial is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From russell at quadrix.com Tue Oct 22 19:20:20 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 22 Oct 2002 13:20:20 -0400 Subject: Hostgroups and Services References: <1035304275.16587.12.camel@tech03> Message-ID: <3DB588D4.7090205@quadrix.com> Yes, you can use hostgroup_name instead of host_name (one or the other). Email out the entire definition that Nagios is reporting an error on. Maybe there's another error causing the problem. -Russell Sean McAvoy wrote: >Hello, >Should I be able to embed hostgroup_name inside of a service (in place >of host_name)? I seem to be getting an error when I do this (Invalid >max_attempts, check_interval, retry_interval, or >notification_interval value for service 'service description' on >'hostname'). > >-Sean > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jsm at inpro.net Tue Oct 22 19:13:23 2002 From: jsm at inpro.net (Jeff McKeon) Date: 22 Oct 2002 13:13:23 -0400 Subject: Directories Missing In-Reply-To: <8A4F07369400D511B1890060CF204C2A031BEB25@lrnex01.corp.lrn.com> References: <8A4F07369400D511B1890060CF204C2A031BEB25@lrnex01.corp.lrn.com> Message-ID: <1035306803.8077.58.camel@localhost.localdomain> Check the FAQ's, the answer is in there... On Tue, 2002-10-22 at 13:06, Jason Coleman wrote: > I seem to be missing the /etc directory after installing nagios. Any reason > why this is happening? > > Jason Coleman > Systems Administrator > LRN - The Legal Knowledge Company > Inter Office:5381 > jcoleman at lrn.com > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jcoleman at lrn.com Tue Oct 22 20:05:31 2002 From: jcoleman at lrn.com (Jason Coleman) Date: Tue, 22 Oct 2002 11:05:31 -0700 Subject: Nagios Permissions Message-ID: <8A4F07369400D511B1890060CF204C2A031BEB28@lrnex01.corp.lrn.com> I am sure that this is a permissions problem, but I am not sure where to make the change. When I pull the page nagios page up on my web server, I get the following error: You don't have permission to access /cgi-bin/nagios/ on this server. Any help would be much appreciated. Thank you. Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From Richard.Wu at fusepoint.com Tue Oct 22 20:12:36 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Tue, 22 Oct 2002 11:12:36 -0700 Subject: Fw: fork() problem? Message-ID: <77F055FA968580429F4546414D8C10E707FC2B@s102b.rhcci.net> I believe most of them are plugin checks, not the main daemon. Have you got a lot of plugin time out , how many service check you are having on that box and what's the frequency? Richard Wu -----Original Message----- From: Mike Culbertson [mailto:mike at omnipod.com] Sent: Monday, October 21, 2002 8:20 PM To: Richard Wu Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Fw: fork() problem? That was my assumption to begin with. At the time when I left nagios unattended and returned to find 1900+ nagios processes, max_concurrent_checks was and had been set to 0. The other box I run exhibits none of this behavior though it is configured differently. I have a hunch that this may have something to do with my passive service checks (performed using NSCA), as nscd forks somewhat congruently (although in far smaller quantity) with nagios. I'm thinking maybe something is wrong with the build running on linux...or maybe this is something specific to 1.0b6? I haven't been able to roll back to 1.0b5 yet to see if it acts differently (nor do I really want to). I suppose the question is what would cause a child process to not complete its task and just sit there? I should also point out that despite the huge number of forked procs, nagios did not cease to function, and there were no zombie procs. Thanks for the input. Mike C -----Original Message----- From: Richard Wu [mailto:Richard.Wu at fusepoint.com] Sent: Monday, October 21, 2002 6:17 PM To: Mike Culbertson Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Fw: fork() problem? Hi, mike: If you want the nagios to be run in parallel, set the value to 0, look at the nagios.cfg comments on the max_concurrent_checks. Here is the contnet: # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 Richard Wu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gopinath_Pulyankote at affymetrix.com Tue Oct 22 20:29:05 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Tue, 22 Oct 2002 11:29:05 -0700 Subject: updated statusmap CGI compiling tip Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7BD@ntex04.affymetrix.com> Sergio, I tried compiling it from the command line. It failed with the following error messages. Any ideas? bash-2.05a$ gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o ../xdata/xedtemplate.c -o statusmap.cgi /tmp/ccNJsgOI.o: In function `calculate_circular_layer_coords': /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2897: undefined reference to `sin' /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2898: undefined reference to `sin' /tmp/ccNJsgOI.o: In function `draw_circular_layer_markup': /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2990: undefined reference to `sin' /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2991: undefined reference to `sin' /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2992: undefined reference to `sin' /tmp/ccNJsgOI.o:/opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2993: more undefined references to `sin' follow /usr/lib/libgd.so: undefined reference to `uncompress' /usr/lib/libgd.so: undefined reference to `sqrt' /usr/lib/libgd.so: undefined reference to `FT_Init_FreeType' /usr/lib/libgd.so: undefined reference to `jpeg_read_scanlines' /usr/lib/libgd.so: undefined reference to `jpeg_simple_progression' /usr/lib/libgd.so: undefined reference to `FT_Load_Glyph' /usr/lib/libgd.so: undefined reference to `FT_Done_Face' /usr/lib/libgd.so: undefined reference to `png_get_rowbytes' /usr/lib/libgd.so: undefined reference to `png_set_strip_16' /usr/lib/libgd.so: undefined reference to `floor' /usr/lib/libgd.so: undefined reference to `png_create_read_struct' /usr/lib/libgd.so: undefined reference to `FT_Get_Kerning' /usr/lib/libgd.so: undefined reference to `FT_Get_Char_Index' /usr/lib/libgd.so: undefined reference to `png_set_sig_bytes' /usr/lib/libgd.so: undefined reference to `jpeg_set_defaults' /usr/lib/libgd.so: undefined reference to `png_set_read_fn' /usr/lib/libgd.so: undefined reference to `png_set_packing' /usr/lib/libgd.so: undefined reference to `FT_Get_Glyph' /usr/lib/libgd.so: undefined reference to `png_get_io_ptr' /usr/lib/libgd.so: undefined reference to `jpeg_start_decompress' /usr/lib/libgd.so: undefined reference to `jpeg_destroy' /usr/lib/libgd.so: undefined reference to `png_set_IHDR' /usr/lib/libgd.so: undefined reference to `jpeg_write_marker' /usr/lib/libgd.so: undefined reference to `png_set_tRNS' /usr/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap' /usr/lib/libgd.so: undefined reference to `png_get_valid' /usr/lib/libgd.so: undefined reference to `jpeg_destroy_decompress' /usr/lib/libgd.so: undefined reference to `jpeg_std_error' /usr/lib/libgd.so: undefined reference to `jpeg_CreateDecompress' /usr/lib/libgd.so: undefined reference to `png_create_write_struct' /usr/lib/libgd.so: undefined reference to `cos' /usr/lib/libgd.so: undefined reference to `png_get_error_ptr' /usr/lib/libgd.so: undefined reference to `atan2' /usr/lib/libgd.so: undefined reference to `png_write_info' /usr/lib/libgd.so: undefined reference to `png_set_PLTE' /usr/lib/libgd.so: undefined reference to `FT_Set_Char_Size' /usr/lib/libgd.so: undefined reference to `png_get_PLTE' /usr/lib/libgd.so: undefined reference to `jpeg_read_header' /usr/lib/libgd.so: undefined reference to `jpeg_start_compress' /usr/lib/libgd.so: undefined reference to `png_write_end' /usr/lib/libgd.so: undefined reference to `jpeg_destroy_compress' /usr/lib/libgd.so: undefined reference to `png_get_IHDR' /usr/lib/libgd.so: undefined reference to `png_set_write_fn' /usr/lib/libgd.so: undefined reference to `jpeg_finish_decompress' /usr/lib/libgd.so: undefined reference to `jpeg_resync_to_restart' /usr/lib/libgd.so: undefined reference to `jpeg_CreateCompress' /usr/lib/libgd.so: undefined reference to `FT_Done_Glyph' /usr/lib/libgd.so: undefined reference to `png_read_info' /usr/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox' /usr/lib/libgd.so: undefined reference to `jpeg_finish_compress' /usr/lib/libgd.so: undefined reference to `png_destroy_read_struct' /usr/lib/libgd.so: undefined reference to `png_check_sig' /usr/lib/libgd.so: undefined reference to `png_write_image' /usr/lib/libgd.so: undefined reference to `png_read_update_info' /usr/lib/libgd.so: undefined reference to `png_read_image' /usr/lib/libgd.so: undefined reference to `png_get_tRNS' /usr/lib/libgd.so: undefined reference to `FT_New_Face' /usr/lib/libgd.so: undefined reference to `png_create_info_struct' /usr/lib/libgd.so: undefined reference to `compress' /usr/lib/libgd.so: undefined reference to `jpeg_set_quality' /usr/lib/libgd.so: undefined reference to `FT_Glyph_Transform' /usr/lib/libgd.so: undefined reference to `jpeg_write_scanlines' /usr/lib/libgd.so: undefined reference to `png_destroy_write_struct' /usr/lib/libgd.so: undefined reference to `png_read_end' collect2: ld returned 1 exit status -----Original Message----- From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] Sent: Tuesday, October 22, 2002 2:23 AM To: Pulyankote, Gopinath Cc: nagios-users at lists.sourceforge.net Subject: updated statusmap CGI compiling tip The makefile that i have from CVS doesn't compile statusmap.c! Someone took it off of the makefile. Anwyay, here goes an updated Makefile for the CGI directory. However, i compile it from the command line due to an issue that i have with the GD libraries, so i include the full path of this library in the command line... I use: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o ../xdata/xedtemplate.c -o statusmap.cgi I ask again, if anyone could update this statusmap.c and Makefile in the CVS? Thanks in advance. Any more questions feel free to contact me. Regards, Sergio On Mon, 2002-10-21 at 22:30, Pulyankote, Gopinath wrote: > Hi, > How does one compile this? > I moved the orig statusmap.c & copied this to the cgi directory, > Did a make clean, ./configure and make cgis. It complied and created all > other files except statusmap.cgi > Any clues? > Thanks > -G > > -----Original Message----- > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > Sent: Monday, October 21, 2002 7:50 AM > To: nagios-users at lists.sourceforge.net > Cc: nagios at nagios.org > Subject: [Nagios-users] updated statusmap CGI source file > > > Hi everyone. > Please find attached an updated contribution on statusmap.cgi source > file. > Major changes: > - the size of the image created is the maximum of (2d coordinates of > all hosts, background image). Until now the background was not taken in > account in this calculation so you could have a cropped image... > - the user supplied layout was changed to take in account the size > of > the statusmap image (until now it had DEFAULT_NODE_WIDTH and > DEFAULT_NODE_HEIGHT in account for the calculation of the target's, > circular arc's, map area, and text drawing). This is now a more > realistic situation because the actual size of the statusmap image of > the hosts are used to calculate the positioning of the target, highlight > selection and map shape area of the html. > - Also, the draw_host_text() now is called with the correct > coordinates > so the text is centered vertically and horizontally in the host image > (whatever size it has!) > - The highlighted host with circular drawings is now correclty > displayed! Until now, other hosts could be drawn on top of these > drawings. Now, the circular drawings are displayed after all hosts are > drawn. > > Could anyone update this file (if you agree...) in the CVS? > Please feel free to comment any aspect. > Regards, > Sergio Freire ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From russell at quadrix.com Tue Oct 22 20:57:13 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 22 Oct 2002 14:57:13 -0400 Subject: Hostgroups and Services References: <1035304275.16587.12.camel@tech03> <3DB588D4.7090205@quadrix.com> <1035308122.16587.17.camel@tech03> Message-ID: <3DB59F89.1050206@quadrix.com> You have no notification_interval in the service definition. Try adding it and see if it works. Russell Sean McAvoy wrote: >Okay, here it is >The error: >Reading configuration data... > >Error: Invalid max_attempts, check_interval, retry_interval, or >notification_interval value for service 'Dealer FTP service' on host >'drive.wilmits' > >Error: Could not register service (config file >'/etc/nagios/services-dealers.cfg', line 25) > >The config: > >define service{ > name dealer-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 2 > contact_groups technical-support > check_period 24x7 > notification_period 24x7 > notification_options c,r,u ; test > register 0 > } > >define service{ > use dealer-service > hostgroup_name testgroup > service_description Dealer FTP service > check_command check_ftp > } > >and the hostgroup.cfg entry: >define hostgroup{ > hostgroup_name testgroup > alias This is a test group > contact_groups technical-support > members drive.wilmits,drive.jackmac > } > >Is that enough? > >On Tue, 2002-10-22 at 13:20, Russell Scibetti wrote: > >>Yes, you can use hostgroup_name instead of host_name (one or the other). >> Email out the entire definition that Nagios is reporting an error on. >> Maybe there's another error causing the problem. >> >>-Russell >> >>Sean McAvoy wrote: >> >>>Hello, >>>Should I be able to embed hostgroup_name inside of a service (in place >>>of host_name)? I seem to be getting an error when I do this (Invalid >>>max_attempts, check_interval, retry_interval, or >>>notification_interval value for service 'service description' on >>>'hostname'). >>> >>>-Sean >>> >>-- >>Russell Scibetti >>Quadrix Solutions, Inc. >>http://www.quadrix.com >>(732) 235-2335, ext. 7038 >> >> >> -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From AHKAPLAN at PARTNERS.ORG Tue Oct 22 21:42:00 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 22 Oct 2002 15:42:00 -0400 Subject: FW: 3d Map Message-ID: <5593DA408212D511B0910002A513501F01D287B4@phsexch20.mgh.harvard.edu> -----Original Message----- From: Kaplan, Andrew H. Sent: Tuesday, October 22, 2002 1:16 PM To: 'Jon Lyons' Subject: RE: 3d Map Hi Jon, I started configuring the information for the 3D status map. I went to the CVS site and downloaded the source file for the newer version of statuswrl.cgi. I went through compiling the file and then copied it to the sbin directory under Nagios. I also installed the Cortona plug-in for Internet Explorer. After that I went through the motions of modifying the hostextinfo.cfg file. Shown below is the configuration of the first host that I wanted to test out. # Bugzilla definition define hostextinfo{ host_name bugzilla.mgh.harvard.edu icon_image linux40.jpg icon_image_alt Linux vrml_image linux40.jpg statusmap_image linux40.jpg gd2_image linux40.jpg register 1 3d_coords 20.0,7.0,0.0 ; 3-D Drawing Coordinates } When I restarted Nagios and attempted to access the 3D map display, I got to the 3-D map screen but no images appeared. Also, the Cortona console appeared with the following message: name expected File: http://nagios/cgi-bin/nagios/statuswrl.cgi?host=all Line: 229 Column: 24 I'm guessing that something went wrong with the compiling of the cgi file, but I'm not positive on that. What do you think? -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Monday, October 21, 2002 4:53 PM To: Kaplan, Andrew H. Subject: Re: 3d Map Search the archives, here's an e-mail that should get you rolling(check the paths!), you'll need to get the new statuswrml.c(think thats the name) from the CVS download and compile it for the userdefined 3d coordinates to work...Otherwise the auto layout features work fine. --------- sorry, it's in the cfg.cgi file, I've been doing 3-d coordinates(100+ to go..ugh!) all day and my brain is mush. "Kaplan, Andrew H." wrote: Jon, Did you mean the cgi.cfg file as opposed to the cfg.cgi file? I have the former, but not the latter file. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, October 16, 2002 4:08 PM To: Kaplan, Andrew H. Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Getting the icons to work on the Map I have in my cfg.cgi file; xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg and in hostextinfo.cfg I use templates since I have lots of devices... define hostextinfo{ name baystack450 icon_image baystack450.jpg icon_image_alt Bay Stack 450 notes_url http://www.ebay.com vrml_image baystack450.jpg statusmap_image baystack450.jpg gd2_image baystack450.jpg register 0 ; DO NOT REGISTER THIS } define hostextinfo{ use baystack450 host_name 1b6-n-qnetsw01 2d_coords 0,150 ; 2-D drawing coordinate 3d_coords 20.0,7.0,0.0 ; 3-D drawing coordinates } "Kaplan, Andrew H." wrote: No, I didn't. I went to the cgi.cfg file and added the hostextinfo and xedtemplate lines to the EXTENDED HOST INFORMATION section. I then used the TOUCH command to create the xedtemplate.cfg file, and then edited the file to include three servers within it. I'm including a copy of the file with the email. --- "Kaplan, Andrew H." wrote: > Hi Jon, > > sorry to bother you... > > I am getting ready to set up the 3d status map and I > was wondering what > steps you took to get yours set up? Thanks. __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From Gopinath_Pulyankote at affymetrix.com Tue Oct 22 21:55:25 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Tue, 22 Oct 2002 12:55:25 -0700 Subject: Check_fping returns only Warning when a host is unreachable Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7BF@ntex04.affymetrix.com> Hi, Why does the check_fping return a warning, instead of critical, when the host is unreachable, while check_ping reports correctly? I recently changed my configs to use fping instead of ping to improve performance. Should I switch back to ping? bash-2.05a$ ../libexec/check_fping -H 10.12.1.254 -w 300.0,80% -c 500.0,100% FPING WARNING - 10.12.1.254 bash-2.05a$ bash-2.05a$ /usr/sbin/fping 10.12.1.254 10.12.1.254 is unreachable bash-2.05a$ bash-2.05a$ ../libexec/check_ping -H 10.12.1.254 -w 300,80% -c 500,100% CRITICAL - Plugin timed out after 10 seconds bash-2.05a$ -G ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From josh.larsen at monitoredsecurity.com Tue Oct 22 22:20:18 2002 From: josh.larsen at monitoredsecurity.com (Josh Larsen, Monitored Security) Date: Tue, 22 Oct 2002 20:20:18 -0000 Subject: question on parallelization Message-ID: <41E3B5A08CC6954FB377C2F736996ADC402391@SOC01MAIL.be.soc01.monitoredsecurity.com> If I recall, parallelization only occurs on _service_ checks. If you force a _host_ down state, you will force Nagios to start doing host checks (remember host checks only get executed when service checks for that host fail), which do not get parallelized (is that a word?). In other words, ping checks are bad for host checks due to the latency and long timeout which you mention. I typically use a TCP port check as the host check. In many instances my host check is actually the same check as the service check -- redundant, but I don't have a need to differentiate. I'm not exactly sure what you mean by "fake a down state". In any case make sure you take into account the differences between host checks and service checks. HTH. -----Original Message----- From: Eric Young [mailto:ericryoung at yahoo.com] Sent: Tuesday, October 22, 2002 1:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] question on parallelization I'm using nagios on RH 7.3 with no DB backend stuff. Perhaps I'm confused on something but I don't seem to be getting any parallelization (yes, it IS turned on). I have about 140 hosts for which I have defined a service that basically runs check_ping every 60 seconds. Therefore, I would expect to have multiple pings running on my machine at once (maybe 2 at a time?) While I haven't checked, during normal operation, I seem to get great response time on these. I have 135 or so of the nodes with a common parent (ie: a router). When I 'fake' a down state for the router I do get a notify as I expect and the child nodes do get marked off slowly. Some other nodes that actually should go down when I do this don't notify for quite a while. It LOOKS like there is only 1 ping running at a time on my machine (though I have from 90-130 nagios processes running). Since each ping has a timeout that takes a bit, detection of other down hosts is very slow. The final question is, if things are parallelized and my pings are piling up (I'll sometimes see more than 30 minute old service checks in the process queue on the web interface) then why doesn't nagios launch more pings? I have read the 'scheduling' documentation and it doesn't seem to answer this question. Have I given you enough information? Am I missing something? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jcarro10 at sprintspectrum.com Tue Oct 22 22:29:56 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 22 Oct 2002 15:29:56 -0500 Subject: FW: 3d Map Message-ID: Two things: 1) Don't use hostnames with dots in them. 2) For the time being, don't both with 3d_coords. In cgi.cfg, set default_statuswrl_layout to *anything* but 0 (ie, set it to one of the other values listed, 2, 3, or 4). Make those changes, restart nagios, and see what happens. (Sidebar: I believe Ethan is working on correcting at least item #2.) jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Tuesday, October 22, 2002 2:42 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: 3d Map > > > > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Tuesday, October 22, 2002 1:16 PM > To: 'Jon Lyons' > Subject: RE: 3d Map > > > Hi Jon, > > I started configuring the information for the 3D status map. > I went to the > CVS site and downloaded the source file > for the newer version of statuswrl.cgi. I went through > compiling the file > and then copied it to the sbin > directory under Nagios. I also installed the Cortona plug-in > for Internet > Explorer. After that I went through the > motions of modifying the hostextinfo.cfg file. Shown below is the > configuration of the first host that I wanted > to test out. > > # Bugzilla definition > define hostextinfo{ > host_name bugzilla.mgh.harvard.edu > icon_image linux40.jpg > icon_image_alt Linux > vrml_image linux40.jpg > statusmap_image linux40.jpg > gd2_image linux40.jpg > register 1 > 3d_coords 20.0,7.0,0.0 ; 3-D Drawing > Coordinates > } > > When I restarted Nagios and attempted to access the 3D map > display, I got to > the 3-D map screen but no images appeared. > Also, the Cortona console appeared with the following message: > > name expected > File: http://nagios/cgi-bin/nagios/statuswrl.cgi?host=all > Line: 229 > Column: 24 > > I'm guessing that something went wrong with the compiling of > the cgi file, > but I'm not positive on that. What do you think? > > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Monday, October 21, 2002 4:53 PM > To: Kaplan, Andrew H. > Subject: Re: 3d Map > > > > Search the archives, here's an e-mail that should get > you rolling(check the paths!), you'll need to get the > new statuswrml.c(think thats the name) from the CVS > download and compile it for the userdefined 3d > coordinates to work...Otherwise the auto layout > features work fine. > > --------- > sorry, it's in the cfg.cgi file, I've been doing 3-d > coordinates(100+ to go..ugh!) all day and my brain is > mush. > > "Kaplan, Andrew H." wrote: > Jon, > > Did you mean the cgi.cfg file as opposed to the > cfg.cgi file? I have the former, but not the latter > file. > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Wednesday, October 16, 2002 4:08 PM > To: Kaplan, Andrew H. > Cc: 'Nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Getting the icons to work > on the Map > > I have in my cfg.cgi file; > > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg > > xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg > > and in hostextinfo.cfg I use templates since I have > lots of devices... > > define hostextinfo{ > name baystack450 > icon_image baystack450.jpg > icon_image_alt Bay Stack 450 > notes_url http://www.ebay.com > vrml_image baystack450.jpg > statusmap_image baystack450.jpg > gd2_image baystack450.jpg > register 0 > ; DO NOT REGISTER THIS > } > > define hostextinfo{ > use baystack450 > host_name 1b6-n-qnetsw01 > 2d_coords 0,150 > ; 2-D drawing coordinate > 3d_coords 20.0,7.0,0.0 > ; 3-D drawing coordinates > } > > "Kaplan, Andrew H." wrote: > No, I didn't. I went to the cgi.cfg file and added the > hostextinfo and xedtemplate lines to the EXTENDED HOST > INFORMATION section. I then used > the TOUCH command to create the xedtemplate.cfg file, > and then edited the file to include three servers > within it. I'm including a copy of the file with the > email. > > > > --- "Kaplan, Andrew H." wrote: > > Hi Jon, > > > > sorry to bother you... > > > > I am getting ready to set up the 3d status map and I > > was wondering what > > steps you took to get yours set up? Thanks. > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun .com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From Nolan.Martin at co.travis.tx.us Tue Oct 22 22:40:34 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 22 Oct 2002 15:40:34 -0500 Subject: FW: 3d Map Message-ID: I've read on this list a few times about the dot limitation in terms of hostnames, but I have not read where that limitation stems from. Can anyone shed some light on that for me? Thanks. Nolan >>> "Carroll, Jim P [Contractor]" 10/22/02 03:29PM >>> Two things: 1) Don't use hostnames with dots in them. 2) For the time being, don't both with 3d_coords. In cgi.cfg, set default_statuswrl_layout to *anything* but 0 (ie, set it to one of the other values listed, 2, 3, or 4). Make those changes, restart nagios, and see what happens. (Sidebar: I believe Ethan is working on correcting at least item #2.) jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Tuesday, October 22, 2002 2:42 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: 3d Map > > > > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Tuesday, October 22, 2002 1:16 PM > To: 'Jon Lyons' > Subject: RE: 3d Map > > > Hi Jon, > > I started configuring the information for the 3D status map. > I went to the > CVS site and downloaded the source file > for the newer version of statuswrl.cgi. I went through > compiling the file > and then copied it to the sbin > directory under Nagios. I also installed the Cortona plug-in > for Internet > Explorer. After that I went through the > motions of modifying the hostextinfo.cfg file. Shown below is the > configuration of the first host that I wanted > to test out. > > # Bugzilla definition > define hostextinfo{ > host_name bugzilla.mgh.harvard.edu > icon_image linux40.jpg > icon_image_alt Linux > vrml_image linux40.jpg > statusmap_image linux40.jpg > gd2_image linux40.jpg > register 1 > 3d_coords 20.0,7.0,0.0 ; 3-D Drawing > Coordinates > } > > When I restarted Nagios and attempted to access the 3D map > display, I got to > the 3-D map screen but no images appeared. > Also, the Cortona console appeared with the following message: > > name expected > File: http://nagios/cgi-bin/nagios/statuswrl.cgi?host=all > Line: 229 > Column: 24 > > I'm guessing that something went wrong with the compiling of > the cgi file, > but I'm not positive on that. What do you think? > > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Monday, October 21, 2002 4:53 PM > To: Kaplan, Andrew H. > Subject: Re: 3d Map > > > > Search the archives, here's an e-mail that should get > you rolling(check the paths!), you'll need to get the > new statuswrml.c(think thats the name) from the CVS > download and compile it for the userdefined 3d > coordinates to work...Otherwise the auto layout > features work fine. > > --------- > sorry, it's in the cfg.cgi file, I've been doing 3-d > coordinates(100+ to go..ugh!) all day and my brain is > mush. > > "Kaplan, Andrew H." wrote: > Jon, > > Did you mean the cgi.cfg file as opposed to the > cfg.cgi file? I have the former, but not the latter > file. > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Wednesday, October 16, 2002 4:08 PM > To: Kaplan, Andrew H. > Cc: 'Nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Getting the icons to work > on the Map > > I have in my cfg.cgi file; > > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg > > xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg > > and in hostextinfo.cfg I use templates since I have > lots of devices... > > define hostextinfo{ > name baystack450 > icon_image baystack450.jpg > icon_image_alt Bay Stack 450 > notes_url http://www.ebay.com > vrml_image baystack450.jpg > statusmap_image baystack450.jpg > gd2_image baystack450.jpg > register 0 > ; DO NOT REGISTER THIS > } > > define hostextinfo{ > use baystack450 > host_name 1b6-n-qnetsw01 > 2d_coords 0,150 > ; 2-D drawing coordinate > 3d_coords 20.0,7.0,0.0 > ; 3-D drawing coordinates > } > > "Kaplan, Andrew H." wrote: > No, I didn't. I went to the cgi.cfg file and added the > hostextinfo and xedtemplate lines to the EXTENDED HOST > INFORMATION section. I then used > the TOUCH command to create the xedtemplate.cfg file, > and then edited the file to include three servers > within it. I'm including a copy of the file with the > email. > > > > --- "Kaplan, Andrew H." wrote: > > Hi Jon, > > > > sorry to bother you... > > > > I am getting ready to set up the 3d status map and I > > was wondering what > > steps you took to get yours set up? Thanks. > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun .com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jeff.rendl at ifsna.com Tue Oct 22 23:10:05 2002 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Tue, 22 Oct 2002 16:10:05 -0500 Subject: GD/CGI Problem with Redhat 8.0 Message-ID: <372E1E73DFD59941A76494F0219A2574043581BA@mkemail.namerica.corpnet.ifsworld.com> When I run ./configure, it doesn't find the GD libraries even if I specify the --with-gd-blah-blah lines. I did search the archives, but it referenced an older version of Redhat and files I couldn't "locate". What files is it looking for specifically? Does Redhat put them in a different place? I got everything else working, but I can't do the trends scripts (or anything graphically related). I know GD (and the other support libraries) are there because GD works good with PHP. It's 1.8.4. It's basically a clean install of V8.0 Redhat. PS: I'm a Linux Newbie, but I struggled a good long time before posting this message. PSS: It's 1.0B6 of Nagios, everything installed in the default locations (because I don't know a better place). -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From rm-rpms at gmx.net Tue Oct 22 23:50:43 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Tue, 22 Oct 2002 18:50:43 -0300 Subject: GD/CGI Problem with Redhat 8.0 In-Reply-To: <372E1E73DFD59941A76494F0219A2574043581BA@mkemail.namerica.corpnet.ifsworld.com> References: <372E1E73DFD59941A76494F0219A2574043581BA@mkemail.namerica.corpnet.ifsworld.com> Message-ID: <3DB59E03.22909.1314D4E@localhost> On 22 Oct 2002 at 16:10, Jeff Rendl wrote about "[Nagios-users] GD/CGI Problem with Redhat 8.0": > When I run ./configure, it doesn't find the GD libraries even if I > specify the --with-gd-blah-blah lines. I did search the archives, but > it referenced an older version of Redhat and files I couldn't "locate". > > What files is it looking for specifically? Does Redhat put them in a > different place? I got everything else working, but I can't do the > trends scripts (or anything graphically related). Make sure you have the gd-devel RPm package installed besides the gd one. > > I know GD (and the other support libraries) are there because GD works > good with PHP. It's 1.8.4. It's basically a clean install of V8.0 > Redhat. So you are using binaries of these pieces of code (I mean you didn't compile them), in that case the 'missing GD development files' problem would never manifest itself with these programs; but it serves to assure you the installation of the GD runtime is ok. - R ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jlyons30 at yahoo.com Tue Oct 22 23:03:33 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 14:03:33 -0700 (PDT) Subject: FW: 3d Map In-Reply-To: References: Message-ID: <20021022210333.3526.qmail@web21507.mail.yahoo.com> Ahhh...forgot about the dots... :) > 1) Don't use hostnames with dots in them. > > __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From will at ilm.com Wed Oct 23 00:10:04 2002 From: will at ilm.com (Will Melick) Date: Tue, 22 Oct 2002 15:10:04 -0700 Subject: CGI strangeness? Message-ID: Hopefully I'm just doing something wrong here, but I'm having monitored hosts pop in and out of the lists of all hosts and within hostgroups on the web page. I've double-checked my hostgroups.cfg and services.cfg and things are fine there. Sometimes they'll show up correctly, sometime I get "no matching hosts" and "no matching services." If I click the CGI buttons on the sidebar, they eventually pop back in correctly, but then go away again. Anyone else ever see this? Is it CGI weirdness? The nagios process seems to be fine (zero errors and warnings wiht the -v check...and I've manually checked my .cfg files again and again). Thanks much, Will Melick Network Engineering ILM ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From phil at ipom.com Wed Oct 23 01:07:52 2002 From: phil at ipom.com (Phil Dibowitz) Date: Tue, 22 Oct 2002 16:07:52 -0700 Subject: Odd Plugin Problems Message-ID: <3DB5DA48.3060207@ipom.com> Nagios Users, I've just attempted to upgrade from Netsaint to the new Nagios system. I like many of the changes I've read about. Anyway, I'm having a very strange problem. Many of my service checks are reporting (Return code of 127 is out of bounds - plugin may be missing) BUT, for example, my check_httpd, which is reporting that for MOST of the times it's called, in a few isntances it's working fine. Additionally my PING service is reporting that error just a few times, but most of the time is reporting 'was not set'. So... I'm at a loss here. I ran Netsaint for a while and never ran into these problems. Any help would be appreciated. -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jlyons30 at yahoo.com Wed Oct 23 01:49:49 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 16:49:49 -0700 (PDT) Subject: CGI strangeness? In-Reply-To: References: Message-ID: <20021022234949.34878.qmail@web21501.mail.yahoo.com> Yepper, Have you been making chages to you services/hosts files while nagios is running? I ended up rebooting the machine and everything was Ok, but killing the nagios process did nothing.... Will Melick wrote:Hopefully I'm just doing something wrong here, but I'm having monitored hosts pop in and out of the lists of all hosts and within hostgroups on the web page. I've double-checked my hostgroups.cfg and services.cfg and things are fine there. Sometimes they'll show up correctly, sometime I get "no matching hosts" and "no matching services." If I click the CGI buttons on the sidebar, they eventually pop back in correctly, but then go away again. Anyone else ever see this? Is it CGI weirdness? The nagios process seems to be fine (zero errors and warnings wiht the -v check...and I've manually checked my .cfg files again and again). Thanks much, Will Melick Network Engineering ILM ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Wed Oct 23 02:03:06 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 22 Oct 2002 19:03:06 -0500 Subject: FW: 3d Map In-Reply-To: References: Message-ID: <3DB5A0EA.9915.5D63A2@localhost> Fix for #1 just made it into CVS. Fix for #2 was in CVS last week. On 22 Oct 2002 at 15:29, Carroll, Jim P [Contractor] wrote: > Two things: > > 1) Don't use hostnames with dots in them. > > 2) For the time being, don't both with 3d_coords. In cgi.cfg, set > default_statuswrl_layout to *anything* but 0 (ie, set it to one of the other > values listed, 2, 3, or 4). > > Make those changes, restart nagios, and see what happens. > > (Sidebar: I believe Ethan is working on correcting at least item #2.) > > jc > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Tuesday, October 22, 2002 2:42 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] FW: 3d Map > > > > > > > > > > -----Original Message----- > > From: Kaplan, Andrew H. > > Sent: Tuesday, October 22, 2002 1:16 PM > > To: 'Jon Lyons' > > Subject: RE: 3d Map > > > > > > Hi Jon, > > > > I started configuring the information for the 3D status map. > > I went to the > > CVS site and downloaded the source file > > for the newer version of statuswrl.cgi. I went through > > compiling the file > > and then copied it to the sbin > > directory under Nagios. I also installed the Cortona plug-in > > for Internet > > Explorer. After that I went through the > > motions of modifying the hostextinfo.cfg file. Shown below is the > > configuration of the first host that I wanted > > to test out. > > > > # Bugzilla definition > > define hostextinfo{ > > host_name bugzilla.mgh.harvard.edu > > icon_image linux40.jpg > > icon_image_alt Linux > > vrml_image linux40.jpg > > statusmap_image linux40.jpg > > gd2_image linux40.jpg > > register 1 > > 3d_coords 20.0,7.0,0.0 ; 3-D Drawing > > Coordinates > > } > > > > When I restarted Nagios and attempted to access the 3D map > > display, I got to > > the 3-D map screen but no images appeared. > > Also, the Cortona console appeared with the following message: > > > > name expected > > File: http://nagios/cgi-bin/nagios/statuswrl.cgi?host=all > > Line: 229 > > Column: 24 > > > > I'm guessing that something went wrong with the compiling of > > the cgi file, > > but I'm not positive on that. What do you think? > > > > -----Original Message----- > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > Sent: Monday, October 21, 2002 4:53 PM > > To: Kaplan, Andrew H. > > Subject: Re: 3d Map > > > > > > > > Search the archives, here's an e-mail that should get > > you rolling(check the paths!), you'll need to get the > > new statuswrml.c(think thats the name) from the CVS > > download and compile it for the userdefined 3d > > coordinates to work...Otherwise the auto layout > > features work fine. > > > > --------- > > sorry, it's in the cfg.cgi file, I've been doing 3-d > > coordinates(100+ to go..ugh!) all day and my brain is > > mush. > > > > "Kaplan, Andrew H." wrote: > > Jon, > > > > Did you mean the cgi.cfg file as opposed to the > > cfg.cgi file? I have the former, but not the latter > > file. > > -----Original Message----- > > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > > Sent: Wednesday, October 16, 2002 4:08 PM > > To: Kaplan, Andrew H. > > Cc: 'Nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] Getting the icons to work > > on the Map > > > > I have in my cfg.cgi file; > > > > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg > > > > xedtemplate_config_file=/usr/local/etc/nagios/serviceextinfo.cfg > > > > and in hostextinfo.cfg I use templates since I have > > lots of devices... > > > > define hostextinfo{ > > name baystack450 > > icon_image baystack450.jpg > > icon_image_alt Bay Stack 450 > > notes_url http://www.ebay.com > > vrml_image baystack450.jpg > > statusmap_image baystack450.jpg > > gd2_image baystack450.jpg > > register 0 > > ; DO NOT REGISTER THIS > > } > > > > define hostextinfo{ > > use baystack450 > > host_name 1b6-n-qnetsw01 > > 2d_coords 0,150 > > ; 2-D drawing coordinate > > 3d_coords 20.0,7.0,0.0 > > ; 3-D drawing coordinates > > } > > > > "Kaplan, Andrew H." wrote: > > No, I didn't. I went to the cgi.cfg file and added the > > hostextinfo and xedtemplate lines to the EXTENDED HOST > > INFORMATION section. I then used > > the TOUCH command to create the xedtemplate.cfg file, > > and then edited the file to include three servers > > within it. I'm including a copy of the file with the > > email. > > > > > > > > --- "Kaplan, Andrew H." wrote: > > > Hi Jon, > > > > > > sorry to bother you... > > > > > > I am getting ready to set up the 3d status map and I > > > was wondering what > > > steps you took to get yours set up? Thanks. > > > > > > __________________________________________________ > > Do you Yahoo!? > > Y! Web Hosting - Let the expert host your web site > > http://webhosting.yahoo.com/ > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun > .com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From nagios at nagios.org Wed Oct 23 02:13:46 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 22 Oct 2002 19:13:46 -0500 Subject: updated statusmap CGI compiling tip In-Reply-To: <1035278557.7702.77.camel@newyork.intra.cet.pt> References: <48F1F432BF75D6118FAC0002B325BE3636E7B2@ntex04.affymetrix.com> Message-ID: <3DB5A36A.21947.6728E2@localhost> I am reviewing the patch and will post it to CVS soon. The statusmap CGI only gets added to the Makefile if the gd libraries are detected when you run the configure script. On 22 Oct 2002 at 10:22, Sergio Freire wrote: > The makefile that i have from CVS doesn't compile statusmap.c! > Someone took it off of the makefile. > Anwyay, here goes an updated Makefile for the CGI directory. > However, i compile it from the command line due to an issue that i have > with the GD libraries, so i include the full path of this library in the > command line... > I use: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o > ../xdata/xedtemplate.c -o statusmap.cgi > > I ask again, if anyone could update this statusmap.c and Makefile in the > CVS? Thanks in advance. > Any more questions feel free to contact me. > Regards, > Sergio > > > On Mon, 2002-10-21 at 22:30, Pulyankote, Gopinath wrote: > > Hi, > > How does one compile this? > > I moved the orig statusmap.c & copied this to the cgi directory, > > Did a make clean, ./configure and make cgis. It complied and created all > > other files except statusmap.cgi > > Any clues? > > Thanks > > -G > > > > -----Original Message----- > > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > > Sent: Monday, October 21, 2002 7:50 AM > > To: nagios-users at lists.sourceforge.net > > Cc: nagios at nagios.org > > Subject: [Nagios-users] updated statusmap CGI source file > > > > > > Hi everyone. > > Please find attached an updated contribution on statusmap.cgi source > > file. > > Major changes: > > - the size of the image created is the maximum of (2d coordinates of > > all hosts, background image). Until now the background was not taken in > > account in this calculation so you could have a cropped image... > > - the user supplied layout was changed to take in account the size > > of > > the statusmap image (until now it had DEFAULT_NODE_WIDTH and > > DEFAULT_NODE_HEIGHT in account for the calculation of the target's, > > circular arc's, map area, and text drawing). This is now a more > > realistic situation because the actual size of the statusmap image of > > the hosts are used to calculate the positioning of the target, highlight > > selection and map shape area of the html. > > - Also, the draw_host_text() now is called with the correct > > coordinates > > so the text is centered vertically and horizontally in the host image > > (whatever size it has!) > > - The highlighted host with circular drawings is now correclty > > displayed! Until now, other hosts could be drawn on top of these > > drawings. Now, the circular drawings are displayed after all hosts are > > drawn. > > > > Could anyone update this file (if you agree...) in the CVS? > > Please feel free to comment any aspect. > > Regards, > > Sergio Freire > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From will at ilm.com Wed Oct 23 02:26:04 2002 From: will at ilm.com (Will Melick) Date: Tue, 22 Oct 2002 17:26:04 -0700 Subject: CGI strangeness? In-Reply-To: <20021022234949.34878.qmail@web21501.mail.yahoo.com> References: <20021022234949.34878.qmail@web21501.mail.yahoo.com> Message-ID: Thanks...the reboot seems to have cleared it. I was tweaking files and doing a 'sudo /etc/init.d/nagios restart' but I guess that's a bad thing to do in the current release. Now I know. --- Will Melick Network Engineering ILM On Tue, 22 Oct 2002, Jon Lyons wrote: > > Yepper, Have you been making chages to you services/hosts files while nagios is running? I ended up rebooting the machine and everything was Ok, but killing the nagios process did nothing.... ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jjf at mind.net Wed Oct 23 02:47:19 2002 From: jjf at mind.net (John Fox) Date: Tue, 22 Oct 2002 17:47:19 -0700 Subject: Requesting method of sending only a single notification for warnings Message-ID: <20021022174719.B88887@mind.net> Thanks again to all who have helped me out thus far in my Excellent Nagios Adventure. I have another query now! We're currently using PONG to monitor our systems, and one of the things we like about it is that we only get one (1) notification when a service enters a 'WARNING' state. I'd hoped to use Nagios' service notification escalations in order to emulate this behavior, but unfortunately for me, no distinction seems to be made between WARNING and CRITICAL messages. Has anybody else had a similar desire? Is there an as yet unknown-to-me method for causing Nagios to send only a single notification upon a service entering a WARNING state? Any thoughts are most welcome! Thank you, -- John +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jjf at mind.net Tue Oct 22 19:35:51 2002 From: jjf at mind.net (John Fox) Date: Tue, 22 Oct 2002 10:35:51 -0700 Subject: Question: How to send only 1 warning notification Message-ID: <20021022103550.I681@mind.net> Thanks again to all who have helped me out thus far in my Excellent Nagios Adventure. I have another query now! We're currently using PONG to monitor our systems, and one of the things we like about it is that we only get one (1) notification when a service enters a 'WARNING' state. I'd hoped to use Nagios' service notification escalations in order to emulate this behavior, but unfortunately for me, no distinction seems to be made between WARNING and CRITICAL messages. Has anybody else had a similar desire? Is there an as yet unknown-to-me method for doing this? Any thoughts are most welcome! Thank you, John +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jcoleman at lrn.com Wed Oct 23 04:05:30 2002 From: jcoleman at lrn.com (Jason Coleman) Date: Tue, 22 Oct 2002 19:05:30 -0700 Subject: HTML Files Message-ID: <8A4F07369400D511B1890060CF204C2A031BEB37@lrnex01.corp.lrn.com> Stupid question. I am looking at the main web page. I can see the home page and the documentation, but the monitoring, reporting, and configuring pages all display that the page cannot be found. Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From guevara1 at attbi.com Wed Oct 23 05:05:26 2002 From: guevara1 at attbi.com (Carlos Guevara) Date: Tue, 22 Oct 2002 23:05:26 -0400 Subject: Apple Message-ID: Hi All, Is anyone using Nagios to monitor Apples? Any info would be greatly appreciated. Thanks. - Carlos ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jasmine.chua at securecirt.com Wed Oct 23 05:20:25 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Wed, 23 Oct 2002 11:20:25 +0800 Subject: nsca - check_nrpe: received 0 bytes. are we allow to connect to host? Message-ID: <200210231120.34946.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -- Dear Nagios users, I am trying to configure a distributed monitoring nagios to send_nsca to the central server. When i run the central nagios, nsca seems to be working at first......... processing the service check results of the data. But after some time... the data becomes unknown again, and in the central /var/log/messages it says ... :check_nrpe: received 0 bytes. are we allow to connect to host? Can someone tell me why is it working at first and not working later? I have checked the allow_host address in nsca.cfg to make sure that the IP of the distributed monitoring server is already there.. so they should be able to connect to host. Central server's port 5667 is found to be listening the distributed server was found to be waiting for the central server to say it finished receiving all the data. Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9thV9NgvTa7Hj2AURAhxwAJ9JtsysXeULQsidiCHX/XJEwv9o+gCgv2Ux dEiWlJVrLZvHKf3Pa4mOZwE= =46/5 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From jlyons30 at yahoo.com Wed Oct 23 05:22:11 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 20:22:11 -0700 (PDT) Subject: CGI strangeness? In-Reply-To: References: Message-ID: <20021023032211.993.qmail@web21505.mail.yahoo.com> Yea, I learned that one the hard way, 3+ hours, thought I was going crazy! Will Melick wrote:Thanks...the reboot seems to have cleared it. I was tweaking files and doing a 'sudo /etc/init.d/nagios restart' but I guess that's a bad thing to do in the current release. Now I know. --- Will Melick Network Engineering ILM On Tue, 22 Oct 2002, Jon Lyons wrote: > > Yepper, Have you been making chages to you services/hosts files while nagios is running? I ended up rebooting the machine and everything was Ok, but killing the nagios process did nothing.... --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 23 05:19:36 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 20:19:36 -0700 (PDT) Subject: CGI strangeness? In-Reply-To: References: Message-ID: <20021023031936.21084.qmail@web21507.mail.yahoo.com> Yepper, Have you been making chages to you services/hosts files while nagios is running? I ended up rebooting the machine and everything was Ok, but killing the nagios process did nothing.... Will Melick wrote:Hopefully I'm just doing something wrong here, but I'm having monitored hosts pop in and out of the lists of all hosts and within hostgroups on the web page. I've double-checked my hostgroups.cfg and services.cfg and things are fine there. Sometimes they'll show up correctly, sometime I get "no matching hosts" and "no matching services." If I click the CGI buttons on the sidebar, they eventually pop back in correctly, but then go away again. Anyone else ever see this? Is it CGI weirdness? The nagios process seems to be fine (zero errors and warnings wiht the -v check...and I've manually checked my .cfg files again and again). Thanks much, Will Melick Network Engineering ILM ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 23 05:25:39 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 20:25:39 -0700 (PDT) Subject: HTML Files In-Reply-To: <8A4F07369400D511B1890060CF204C2A031BEB37@lrnex01.corp.lrn.com> References: <8A4F07369400D511B1890060CF204C2A031BEB37@lrnex01.corp.lrn.com> Message-ID: <20021023032539.29165.qmail@web21503.mail.yahoo.com> Make sure your paths to /nagios/cgi-bin is where I would start, check the httpd-error logs for more info... http://nagios.sourceforge.net/docs/1_0/installweb.html ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Jason Coleman wrote:Stupid question. I am looking at the main web page. I can see the home page and the documentation, but the monitoring, reporting, and configuring pages all display that the page cannot be found. Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Wed Oct 23 05:29:50 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 22 Oct 2002 20:29:50 -0700 (PDT) Subject: Apple In-Reply-To: References: Message-ID: <20021023032950.21946.qmail@web21510.mail.yahoo.com> Sure, buy the temperature monitor (http://www.nagios.org/products/) place it next to your apples, bannas, pears etc..etc... :) The newer MaxOs run a version of FreeBSD(??!?!) maybe you can modify one of the plugins? Or just use ping.. Carlos Guevara wrote:Hi All, Is anyone using Nagios to monitor Apples? Any info would be greatly appreciated. Thanks. - Carlos ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Oct 23 06:02:02 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Oct 2002 00:02:02 -0400 (EDT) Subject: Scheduled availability reports In-Reply-To: <002b01c279e0$928d6390$8918970a@spg.va> References: <002b01c279e0$928d6390$8918970a@spg.va> Message-ID: If there is an interest I would like to add a contrib-reporting scripts directory to the plugins for scripts like these? -sg On Tue, 22 Oct 2002, Chet Luther wrote: > Bjorn, > I have a small script that queries the Nagios avail.cgi and builds > an HTML table of availability per hostgroup broken down into last 24 > hours, last 7 days, last 30 days and last 365 days. You could email the > output of this script out with a cron job to achive the desired results. > The script is attached for anyone who wants it. > > Hope this is of some help, > > Chet Luther > chet at rcn.com > Hello, > I wonder if there is any possibility to generate weekly reports that > are sent in an email ? The only way I have found to do this is to make > Nagios use a database and then make a separate program that polls the > database and generates the reports and send the mails. This is IMHO not > a very elegant solution but implementing it into Nagios would mean alot > more than just writing a plugin and I am not a C programmer. Has anybody > else had this problem ? > > --regards > > /Bjorn > -- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote From sean.mcavoy at megawheels.com Tue Oct 22 19:35:22 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 22 Oct 2002 13:35:22 -0400 Subject: Hostgroups and Services In-Reply-To: <3DB588D4.7090205@quadrix.com> References: <1035304275.16587.12.camel@tech03> <3DB588D4.7090205@quadrix.com> Message-ID: <1035308122.16587.17.camel@tech03> Okay, here it is The error: Reading configuration data... Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Dealer FTP service' on host 'drive.wilmits' Error: Could not register service (config file '/etc/nagios/services-dealers.cfg', line 25) The config: define service{ name dealer-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 3 retry_check_interval 2 contact_groups technical-support check_period 24x7 notification_period 24x7 notification_options c,r,u ; test register 0 } define service{ use dealer-service hostgroup_name testgroup service_description Dealer FTP service check_command check_ftp } and the hostgroup.cfg entry: define hostgroup{ hostgroup_name testgroup alias This is a test group contact_groups technical-support members drive.wilmits,drive.jackmac } Is that enough? On Tue, 2002-10-22 at 13:20, Russell Scibetti wrote: > Yes, you can use hostgroup_name instead of host_name (one or the other). > Email out the entire definition that Nagios is reporting an error on. > Maybe there's another error causing the problem. > > -Russell > > Sean McAvoy wrote: > > >Hello, > >Should I be able to embed hostgroup_name inside of a service (in place > >of host_name)? I seem to be getting an error when I do this (Invalid > >max_attempts, check_interval, retry_interval, or > >notification_interval value for service 'service description' on > >'hostname'). > > > >-Sean > > > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > > -- Sean McAvoy Network Analyst Megawheels Technologies Inc. Phone: 416.360.8211 Fax: 416.360.1403 Cell: 416.616.6599 -------------- 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 tdeblend at gcc.dhl.com Wed Oct 23 09:08:17 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 23 Oct 2002 09:08:17 +0200 Subject: Scheduled availability reports References: Message-ID: <3DB64AE1.3A3F62BE@gcc.dhl.com> Great idea! Although it is a pain for us techy guys, management do tends to get very excited from nice graphs and figures (SLA being the buzz word)... Subhendu Ghosh wrote: > > If there is an interest I would like to add a contrib-reporting scripts > directory to the plugins for scripts like these? > > -sg > > On Tue, 22 Oct 2002, Chet Luther wrote: > > > Bjorn, > > I have a small script that queries the Nagios avail.cgi and builds > > an HTML table of availability per hostgroup broken down into last 24 > > hours, last 7 days, last 30 days and last 365 days. You could email the > > output of this script out with a cron job to achive the desired results. > > The script is attached for anyone who wants it. > > > > Hope this is of some help, > > > > Chet Luther > > chet at rcn.com > > Hello, > > I wonder if there is any possibility to generate weekly reports that > > are sent in an email ? The only way I have found to do this is to make > > Nagios use a database and then make a separate program that polls the > > database and generates the reports and send the mails. This is IMHO not > > a very elegant solution but implementing it into Nagios would mean alot > > more than just writing a plugin and I am not a C programmer. Has anybody > > else had this problem ? > > > > --regards > > > > /Bjorn > > > ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From tdeblend at gcc.dhl.com Wed Oct 23 09:10:57 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 23 Oct 2002 09:10:57 +0200 Subject: 'Host assumed to be up' problem References: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> Message-ID: <3DB64B81.54A354A9@gcc.dhl.com> This is standard behavior. Nagios will not check a host if all services are OK. So as long as all services are OK, it just assumes the host is up. > Jason Lim wrote: > > Hi, > > I am running Nagios version 1.0b6 on apache2. > > I would like to check why I have got many hosts that show (Host > assumed to be up) Status Information under the Host Detail. But the > status information on the Service Detail show ping OK, etc... > > Any advise is appreciated. > > Thanks, > > Regards, > Jason ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From magnus.pettersson at eds.com Wed Oct 23 10:01:06 2002 From: magnus.pettersson at eds.com (Pettersson, Magnus) Date: Wed, 23 Oct 2002 09:01:06 +0100 Subject: Scheduled availability reports Message-ID: <5917FD47436E784D8B08F132F0AC506151E2C5@sessm201.sthlm.se.eds.com> Cool.. Please keep us updated. /magnus -----Original Message----- From: Bryan Liles [mailto:lilesb at ijet.com] Sent: 22 October 2002 17:31 To: Bj?rn Ekengren Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Scheduled availability reports I'm working on this now. I am working on tying in the graphs generated from rrdtool, and nagios's availabitlity report On Tue, 2002-10-22 at 11:13, Bj?rn Ekengren wrote: > Hello, > I wonder if there is any possibility to generate weekly reports that are > sent in an email ? The only way I have found to do this is to make > Nagios use a database and then make a separate program that polls the > database and generates the reports and send the mails. This is IMHO not > a very elegant solution but implementing it into Nagios would mean alot > more than just writing a plugin and I am not a C programmer. Has anybody > else had this problem ? > > --regards > > /Bjorn ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From sergio-s-freire at ptinovacao.pt Wed Oct 23 10:03:21 2002 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: 23 Oct 2002 09:03:21 +0100 Subject: updated statusmap CGI compiling tip In-Reply-To: <48F1F432BF75D6118FAC0002B325BE3636E7BD@ntex04.affymetrix.com> References: <48F1F432BF75D6118FAC0002B325BE3636E7BD@ntex04.affymetrix.com> Message-ID: <1035360201.28927.11.camel@newyork.intra.cet.pt> Hi! Yes, that is normal if the library libgd is not installed or if you pointed the wrong path! First check if its installed: $ rpm -qa gd (you should see something like gd-1.8.4-4) Then check where is /usr/lib/libgd.so ... and use that path in the gcc command line. Regards, SErgio Freire On Tue, 2002-10-22 at 19:29, Pulyankote, Gopinath wrote: > Sergio, > I tried compiling it from the command line. It failed with the following > error messages. Any ideas? > > bash-2.05a$ gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o > cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o > ../xdata/xedtemplate.c -o statusmap.cgi > /tmp/ccNJsgOI.o: In function `calculate_circular_layer_coords': > /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2897: undefined reference to > `sin' > /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2898: undefined reference to > `sin' > /tmp/ccNJsgOI.o: In function `draw_circular_layer_markup': > /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2990: undefined reference to > `sin' > /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2991: undefined reference to > `sin' > /opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2992: undefined reference to > `sin' > /tmp/ccNJsgOI.o:/opt/src/nagios/nagios-1.0b6/cgi/statusmap.c:2993: more > undefined references to `sin' follow > /usr/lib/libgd.so: undefined reference to `uncompress' > /usr/lib/libgd.so: undefined reference to `sqrt' > /usr/lib/libgd.so: undefined reference to `FT_Init_FreeType' > /usr/lib/libgd.so: undefined reference to `jpeg_read_scanlines' > /usr/lib/libgd.so: undefined reference to `jpeg_simple_progression' > /usr/lib/libgd.so: undefined reference to `FT_Load_Glyph' > /usr/lib/libgd.so: undefined reference to `FT_Done_Face' > /usr/lib/libgd.so: undefined reference to `png_get_rowbytes' > /usr/lib/libgd.so: undefined reference to `png_set_strip_16' > /usr/lib/libgd.so: undefined reference to `floor' > /usr/lib/libgd.so: undefined reference to `png_create_read_struct' > /usr/lib/libgd.so: undefined reference to `FT_Get_Kerning' > /usr/lib/libgd.so: undefined reference to `FT_Get_Char_Index' > /usr/lib/libgd.so: undefined reference to `png_set_sig_bytes' > /usr/lib/libgd.so: undefined reference to `jpeg_set_defaults' > /usr/lib/libgd.so: undefined reference to `png_set_read_fn' > /usr/lib/libgd.so: undefined reference to `png_set_packing' > /usr/lib/libgd.so: undefined reference to `FT_Get_Glyph' > /usr/lib/libgd.so: undefined reference to `png_get_io_ptr' > /usr/lib/libgd.so: undefined reference to `jpeg_start_decompress' > /usr/lib/libgd.so: undefined reference to `jpeg_destroy' > /usr/lib/libgd.so: undefined reference to `png_set_IHDR' > /usr/lib/libgd.so: undefined reference to `jpeg_write_marker' > /usr/lib/libgd.so: undefined reference to `png_set_tRNS' > /usr/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap' > /usr/lib/libgd.so: undefined reference to `png_get_valid' > /usr/lib/libgd.so: undefined reference to `jpeg_destroy_decompress' > /usr/lib/libgd.so: undefined reference to `jpeg_std_error' > /usr/lib/libgd.so: undefined reference to `jpeg_CreateDecompress' > /usr/lib/libgd.so: undefined reference to `png_create_write_struct' > /usr/lib/libgd.so: undefined reference to `cos' > /usr/lib/libgd.so: undefined reference to `png_get_error_ptr' > /usr/lib/libgd.so: undefined reference to `atan2' > /usr/lib/libgd.so: undefined reference to `png_write_info' > /usr/lib/libgd.so: undefined reference to `png_set_PLTE' > /usr/lib/libgd.so: undefined reference to `FT_Set_Char_Size' > /usr/lib/libgd.so: undefined reference to `png_get_PLTE' > /usr/lib/libgd.so: undefined reference to `jpeg_read_header' > /usr/lib/libgd.so: undefined reference to `jpeg_start_compress' > /usr/lib/libgd.so: undefined reference to `png_write_end' > /usr/lib/libgd.so: undefined reference to `jpeg_destroy_compress' > /usr/lib/libgd.so: undefined reference to `png_get_IHDR' > /usr/lib/libgd.so: undefined reference to `png_set_write_fn' > /usr/lib/libgd.so: undefined reference to `jpeg_finish_decompress' > /usr/lib/libgd.so: undefined reference to `jpeg_resync_to_restart' > /usr/lib/libgd.so: undefined reference to `jpeg_CreateCompress' > /usr/lib/libgd.so: undefined reference to `FT_Done_Glyph' > /usr/lib/libgd.so: undefined reference to `png_read_info' > /usr/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox' > /usr/lib/libgd.so: undefined reference to `jpeg_finish_compress' > /usr/lib/libgd.so: undefined reference to `png_destroy_read_struct' > /usr/lib/libgd.so: undefined reference to `png_check_sig' > /usr/lib/libgd.so: undefined reference to `png_write_image' > /usr/lib/libgd.so: undefined reference to `png_read_update_info' > /usr/lib/libgd.so: undefined reference to `png_read_image' > /usr/lib/libgd.so: undefined reference to `png_get_tRNS' > /usr/lib/libgd.so: undefined reference to `FT_New_Face' > /usr/lib/libgd.so: undefined reference to `png_create_info_struct' > /usr/lib/libgd.so: undefined reference to `compress' > /usr/lib/libgd.so: undefined reference to `jpeg_set_quality' > /usr/lib/libgd.so: undefined reference to `FT_Glyph_Transform' > /usr/lib/libgd.so: undefined reference to `jpeg_write_scanlines' > /usr/lib/libgd.so: undefined reference to `png_destroy_write_struct' > /usr/lib/libgd.so: undefined reference to `png_read_end' > collect2: ld returned 1 exit status > > -----Original Message----- > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > Sent: Tuesday, October 22, 2002 2:23 AM > To: Pulyankote, Gopinath > Cc: nagios-users at lists.sourceforge.net > Subject: updated statusmap CGI compiling tip > > > The makefile that i have from CVS doesn't compile statusmap.c! > Someone took it off of the makefile. > Anwyay, here goes an updated Makefile for the CGI directory. > However, i compile it from the command line due to an issue that i have > with the GD libraries, so i include the full path of this library in the > command line... > I use: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c /usr/lib/libgd.so edata.o > ../xdata/xedtemplate.c -o statusmap.cgi > > I ask again, if anyone could update this statusmap.c and Makefile in the > CVS? Thanks in advance. > Any more questions feel free to contact me. > Regards, > Sergio > > > On Mon, 2002-10-21 at 22:30, Pulyankote, Gopinath wrote: > > Hi, > > How does one compile this? > > I moved the orig statusmap.c & copied this to the cgi directory, > > Did a make clean, ./configure and make cgis. It complied and created all > > other files except statusmap.cgi > > Any clues? > > Thanks > > -G > > > > -----Original Message----- > > From: Sergio Freire [mailto:sergio-s-freire at ptinovacao.pt] > > Sent: Monday, October 21, 2002 7:50 AM > > To: nagios-users at lists.sourceforge.net > > Cc: nagios at nagios.org > > Subject: [Nagios-users] updated statusmap CGI source file > > > > > > Hi everyone. > > Please find attached an updated contribution on statusmap.cgi source > > file. > > Major changes: > > - the size of the image created is the maximum of (2d coordinates of > > all hosts, background image). Until now the background was not taken in > > account in this calculation so you could have a cropped image... > > - the user supplied layout was changed to take in account the size > > of > > the statusmap image (until now it had DEFAULT_NODE_WIDTH and > > DEFAULT_NODE_HEIGHT in account for the calculation of the target's, > > circular arc's, map area, and text drawing). This is now a more > > realistic situation because the actual size of the statusmap image of > > the hosts are used to calculate the positioning of the target, highlight > > selection and map shape area of the html. > > - Also, the draw_host_text() now is called with the correct > > coordinates > > so the text is centered vertically and horizontally in the host image > > (whatever size it has!) > > - The highlighted host with circular drawings is now correclty > > displayed! Until now, other hosts could be drawn on top of these > > drawings. Now, the circular drawings are displayed after all hosts are > > drawn. > > > > Could anyone update this file (if you agree...) in the CVS? > > Please feel free to comment any aspect. > > Regards, > > Sergio Freire ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From sean.knox at sbcglobal.net Wed Oct 23 10:40:26 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Wed, 23 Oct 2002 01:40:26 -0700 Subject: Apple References: <20021023032950.21946.qmail@web21510.mail.yahoo.com> Message-ID: <3DB6607A.7010800@sbcglobal.net> Regarding Mac OS 9 and below, you may be out of luck...hopefully there is some SNMP suite available to help monitoring. Regarding OS X, however... Beneath the Apple Aqua interface lies a BSD core. Check out the Fink Project, which aims to modify open source UNIX software to run on Mac OS X. A cursory search shows that net-snmp (ucd-snmp) has been ported to OS X. Sean Jon Lyons wrote: > Sure, buy the temperature monitor (http://www.nagios.org/products/) > place it next to your apples, bannas, pears etc..etc... :) The newer > MaxOs run a version of FreeBSD(??!?!) maybe you can modify one of the > plugins? Or just use ping.. > > */Carlos Guevara /* wrote: > > Hi All, > > Is anyone using Nagios to monitor Apples? > > Any info would be greatly appreciated. > > Thanks. > > - Carlos > ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From Wibo.Lammerts at hmg.nl Wed Oct 23 10:36:47 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Wed, 23 Oct 2002 10:36:47 +0200 Subject: Can Nagios monitor Sybase? Message-ID: Goodmorning, Is it possible for Nagios to monitor Sybase databases on Sun machines? Besides check-host-alive of course. Time for coffee, Wibo Lammerts HMG ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From tdeblend at gcc.dhl.com Wed Oct 23 10:47:25 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 23 Oct 2002 10:47:25 +0200 Subject: Can Nagios monitor Sybase? References: Message-ID: <3DB6621D.7993088C@gcc.dhl.com> It can, if you write your own scripts. Just install freetds and sqsh to connect to your Sybase server from a command prompt and write a shell/perl script that parses the output and translates it into Nagios exit codes. Wibo Lammerts wrote: > > Goodmorning, > > Is it possible for Nagios to monitor Sybase databases on Sun machines? > Besides check-host-alive of course. > > Time for coffee, > > Wibo Lammerts > HMG > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From mijakscht at vit.de Wed Oct 23 11:11:27 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Wed, 23 Oct 2002 11:11:27 +0200 Subject: interval_length < 60 secs? Message-ID: Hi Daniel, we're running really good with an interval_length of 10 seconds while checking for about 350 services and about 50 hosts. Everything is fine ;-) The host nagios is running on is an older Pentium III with 600 MHz and 512MB RAM. > The only way to reach this is to set the "interval_length" in nagios.cfg > to 15 seconds, as far as I understand. But there is a comment in the > > # This is the seconds per unit interval as used in the > # host/contact/service configuration files. Setting this to 60 means > # that each interval is one minute long (60 seconds). Other settings > # have not been tested much, so your mileage is likely to vary..." > > So I'd like to know, if anyone ever tried a shorter interval? So here it works ok. Hope I could help you. Michael ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From becks at itereu.de Wed Oct 23 11:34:43 2002 From: becks at itereu.de (Stefan Beck) Date: Wed, 23 Oct 2002 11:34:43 +0200 Subject: Apple Message-ID: <3DB66D33.1080902@itereu.de> Mac OSX or classic? If you are using OSX, nagios_statd (http://www.twoevils.org/html/files.php) would surely be easy to adapt since it is perl/python. If you only want to do an "atalk ping" use aecho. regards Stefan ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From karl at debisschop.net Wed Oct 23 12:25:46 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Oct 2002 06:25:46 -0400 Subject: plugin install error 1 In-Reply-To: <1035287172.2900.3.camel@localhost.localdomain> References: <1035221049.1023.19.camel@localhost.localdomain> <1035274988.8359.1.camel@toaster> <1035287172.2900.3.camel@localhost.localdomain> Message-ID: <1035368747.1091.1.camel@miles.debisschop.net> On Tue, 2002-10-22 at 07:46, Jeff McKeon wrote: > Karl, > > Thanks for the reply. > > I'm currently have CVS 1.11.2-5 installed. I think this is the latest, > am I wrong? > > On Tue, 2002-10-22 at 04:23, Karl DeBisschop wrote: > > On Mon, 2002-10-21 at 13:24, Jeff McKeon wrote: > > > Redhat 8.0 system, default desktop install > > > > > > Nagios base installed, no problem. > > > > > > When I issue the "make all" command for the plugins, at the end of the > > > run I receive this error.. > > > > > > config.status: creating Makefile > > > Making all in plugins > > > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > Makefile:655: *** missing separator. Stop. > > > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > > > make: *** [all-recursive] Error 1 > > > > Not sure when it crept in, or if it's always been there. But there was a > > bug in plugins/Makefile.am -- missing some tabs. > > > > I committed the fix recently. Try updating CVS. I guess I was unclear. I meant, try updating you CVS module from nagiosplud (ie.e, get the very most sources). -- Karl ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From karl at debisschop.net Wed Oct 23 12:32:11 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Oct 2002 06:32:11 -0400 Subject: plugin install error 1 In-Reply-To: <1035296175.2847.47.camel@localhost.localdomain> References: <1035296175.2847.47.camel@localhost.localdomain> Message-ID: <1035369132.1439.8.camel@miles.debisschop.net> On Tue, 2002-10-22 at 10:16, Jeff McKeon wrote: > SG, > > Thanks for the response... > > Well, got to the point of running the ./tools/setup and this was what I > got... > > ************snip********************* > > [jsm at localhost nagiosplug]$ ./tools/setup > configure.in:11: required file `plugins/config.h.in' not found > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' > WARNING: and `config.h.top', to define templates for `config.h.in' > WARNING: is deprecated and discouraged. > > WARNING: Using the third argument of `AC_DEFINE' and > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without > WARNING: `acconfig.h': > > WARNING: AC_DEFINE([NEED_MAIN], 1, > WARNING: [Define if a function `main' is needed.]) > > WARNING: More sophisticated templates can also be produced, see the > WARNING: documentation. > autoheader: `plugins/config.h.in' is created > chmod: failed to get attributes of `debian/rules': No such file or > directory > > *************snip******************** > > something tells me this isn't what should have happened... Actually, all is fine upto that point. The WARNING from automake merely indicate that we have some files in CVS to supprot older versions, even though the code is rewriiten to the newest version. debin rules you can just ignore because you're not making a debial package. So just go ahead and configure, then make. -- Karl ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jsm at inpro.net Wed Oct 23 13:32:39 2002 From: jsm at inpro.net (Jeff McKeon) Date: 23 Oct 2002 07:32:39 -0400 Subject: plugin install error 1 In-Reply-To: <1035369132.1439.8.camel@miles.debisschop.net> References: <1035296175.2847.47.camel@localhost.localdomain> <1035369132.1439.8.camel@miles.debisschop.net> Message-ID: <1035372764.10157.4.camel@localhost.localdomain> On Wed, 2002-10-23 at 06:32, Karl DeBisschop wrote: > > Actually, all is fine upto that point. > > The WARNING from automake merely indicate that we have some files in CVS > to supprot older versions, even though the code is rewriiten to the > newest version. > > debin rules you can just ignore because you're not making a debial > package. > > So just go ahead and configure, then make. > > -- > Karl > Karl, Again, thanks for the response. Ran ./configure and Make All. ./configure seemed to go fine however the "make all" bombed. below is the complete event cut from my terminal. [root at localhost nagiosplug-1.3-beta1]# ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/cgi-bin/nagios checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for aclocal... /usr/bin/aclocal checking for automake... /usr/bin/automake checking for autoconf... /usr/bin/autoconf checking for autoheader... /usr/bin/autoheader checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for gawk... gawk checking for python... /usr/bin/python checking for perl... /usr/bin/perl checking for sh... /bin/sh checking for hostname... /bin/hostname checking for basename... /bin/basename checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" configure: WARNING: install PostgreSQL libs to compile this plugin (see Requirements). checking for rc_read_config in -lradiusclient... no configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see Requirements). checking for main in -lldap... yes configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see Requirements). checking for openssl... /usr/bin/openssl checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for CRYPTO_lock in -lcrypto... yes checking for main in -lssl... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for getopt_long... yes checking for getopt_long_only... yes checking for vsnprintf... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for type of socket size... int checking for ps... /bin/ps ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args' checking for df... /bin/df " df syntax... /bin/df -Pk" checking for ping... /bin/ping ping syntax... /bin/ping -n -U -c checking for nslookup... /usr/bin/nslookup checking "nslookup syntax"... "/usr/bin/nslookup -sil" checking for host... /usr/bin/host checking "host syntax"... "/usr/bin/host" checking for uptime... /usr/bin/uptime checking for rpcinfo... no checking for ntpdate... no checking for ntpdc... no checking for xntpdc... no ** Install NTP programs (http://www.ntp.org) if you want to monitor time synchronization checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... /usr/bin/smbclient checking for who... /usr/bin/who checking for snmpget... /usr/bin/snmpget checking for snmpgetnext... /usr/bin/snmpgetnext ** Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins checking for quakestat... no checking for qstat... no ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... /usr/bin/ssh found /proc/meminfo checking for dig... /usr/bin/dig yes configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating plugins/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating command.cfg config.status: creating test.pl config.status: creating plugins/config.h config.status: creating plugins/common.h config.status: plugins/common.h is unchanged config.status: creating plugins/version.h config.status: plugins/version.h is unchanged config.status: creating plugins/netutils.h config.status: plugins/netutils.h is unchanged config.status: creating plugins/utils.h config.status: plugins/utils.h is unchanged config.status: creating plugins/popen.h config.status: plugins/popen.h is unchanged config.status: executing default commands [root at localhost nagiosplug-1.3-beta1]# make all Making all in plugins make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' Makefile:655: *** missing separator. Stop. make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 [root at localhost nagiosplug-1.3-beta1]# > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From sghosh at sghosh.org Wed Oct 23 14:17:27 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Oct 2002 08:17:27 -0400 (EDT) Subject: plugin install error 1 In-Reply-To: <1035372764.10157.4.camel@localhost.localdomain> References: <1035372764.10157.4.camel@localhost.localdomain> Message-ID: I just ran the CVS nagiosplug thru RH 8.0. Other than some autoconf warnings about deprecated features everything compiled cleanly. my make -v (on RH8.0) [sghosh at sendlab01 nagiosplug]$ make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i386-redhat-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to . -sg On 23 Oct 2002, Jeff McKeon wrote: > > > On Wed, 2002-10-23 at 06:32, Karl DeBisschop wrote: > > > > Actually, all is fine upto that point. > > > > The WARNING from automake merely indicate that we have some files in CVS > > to supprot older versions, even though the code is rewriiten to the > > newest version. > > > > debin rules you can just ignore because you're not making a debial > > package. > > > > So just go ahead and configure, then make. > > > > -- > > Karl > > > > Karl, > > Again, thanks for the response. Ran ./configure and Make All. > ./configure seemed to go fine however the "make all" bombed. below is > the complete event cut from my terminal. > > [root at localhost nagiosplug-1.3-beta1]# ./configure > --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-cgiurl=/cgi-bin/nagios > checking for a BSD-compatible install... /usr/bin/install -c > checking for ranlib... ranlib > checking for aclocal... /usr/bin/aclocal > checking for automake... /usr/bin/automake > checking for autoconf... /usr/bin/autoconf > checking for autoheader... /usr/bin/autoheader > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking whether make sets ${MAKE}... yes > checking for gawk... gawk > checking for python... /usr/bin/python > checking for perl... /usr/bin/perl > checking for sh... /bin/sh > checking for hostname... /bin/hostname > checking for basename... /bin/basename > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for getloadavg... yes > checking for pstat_getdynamic... no > checking for kstat_open in -lkstat... no > checking for getloadavg... yes > checking whether getloadavg requires setgid... no > checking for main in -ldce... no > checking for main in -lnsl... yes > checking for socket in -lsocket... no > checking for main in -lresolv... yes > checking for main in -lcrypt... yes > checking for PQsetdbLogin in -lpq... no > configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) > configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" > configure: WARNING: install PostgreSQL libs to compile this plugin (see > Requirements). > checking for rc_read_config in -lradiusclient... no > configure: WARNING: Skipping radius plugin > configure: WARNING: install radius libs to compile this plugin (see > Requirements). > checking for main in -lldap... yes > configure: WARNING: Skipping mysql plugin > configure: WARNING: install mysql client libs to compile this plugin > (see Requirements). > checking for openssl... /usr/bin/openssl > checking openssl/x509.h usability... yes > checking openssl/x509.h presence... yes > checking for openssl/x509.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/rsa.h usability... yes > checking openssl/rsa.h presence... yes > checking for openssl/rsa.h... yes > checking openssl/pem.h usability... yes > checking openssl/pem.h presence... yes > checking for openssl/pem.h... yes > checking openssl/crypto.h usability... yes > checking openssl/crypto.h presence... yes > checking for openssl/crypto.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking for CRYPTO_lock in -lcrypto... yes > checking for main in -lssl... yes > checking for ANSI C header files... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking signal.h usability... yes > checking signal.h presence... yes > checking for signal.h... yes > checking for strings.h... (cached) yes > checking for string.h... (cached) yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for unistd.h... (cached) yes > checking uio.h usability... no > checking uio.h presence... no > checking for uio.h... no > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking for sys/types.h... (cached) yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/loadavg.h usability... no > checking sys/loadavg.h presence... no > checking for sys/loadavg.h... no > checking for gcc option to accept ANSI C... none needed > checking for an ANSI C-conforming const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for getopt_long... yes > checking for getopt_long_only... yes > checking for vsnprintf... yes > checking for select... yes > checking for socket... yes > checking for strdup... yes > checking for strstr... yes > checking for strtod... yes > checking for strtol... yes > checking for strtoul... yes > checking for type of socket size... int > checking for ps... /bin/ps > ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args' > checking for df... /bin/df > " df syntax... /bin/df -Pk" > checking for ping... /bin/ping > ping syntax... /bin/ping -n -U -c > checking for nslookup... /usr/bin/nslookup > checking "nslookup syntax"... "/usr/bin/nslookup -sil" > checking for host... /usr/bin/host > checking "host syntax"... "/usr/bin/host" > checking for uptime... /usr/bin/uptime > checking for rpcinfo... no > checking for ntpdate... no > checking for ntpdc... no > checking for xntpdc... no > ** Install NTP programs (http://www.ntp.org) if you want to monitor time > synchronization > checking for lmstat... no > ** Get lmstat from Globetrotter Software to monitor flexlm licenses > checking for smbclient... /usr/bin/smbclient > checking for who... /usr/bin/who > checking for snmpget... /usr/bin/snmpget > checking for snmpgetnext... /usr/bin/snmpgetnext > ** Tried /usr/bin/perl - install Net::SNMP perl module if you want to > use the perl snmp plugins > checking for quakestat... no > checking for qstat... no > ** Get qstat from http://www.activesw.com/people/steve/qstat.html in > order to make check_game plugin > checking for fping... no > ** Get fping from http://www.fping.com in order to make check_fping > plugin > checking for ssh... /usr/bin/ssh > found /proc/meminfo > checking for dig... /usr/bin/dig > yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating subst > config.status: creating plugins/Makefile > config.status: creating plugins-scripts/Makefile > config.status: creating plugins-scripts/subst > config.status: creating plugins-scripts/utils.pm > config.status: creating plugins-scripts/utils.sh > config.status: creating command.cfg > config.status: creating test.pl > config.status: creating plugins/config.h > config.status: creating plugins/common.h > config.status: plugins/common.h is unchanged > config.status: creating plugins/version.h > config.status: plugins/version.h is unchanged > config.status: creating plugins/netutils.h > config.status: plugins/netutils.h is unchanged > config.status: creating plugins/utils.h > config.status: plugins/utils.h is unchanged > config.status: creating plugins/popen.h > config.status: plugins/popen.h is unchanged > config.status: executing default commands > > [root at localhost nagiosplug-1.3-beta1]# make all > Making all in plugins > make[1]: Entering directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > Makefile:655: *** missing separator. Stop. > make[1]: Leaving directory `/home/jsm/nagiosplug-1.3-beta1/plugins' > make: *** [all-recursive] Error 1 > [root at localhost nagiosplug-1.3-beta1]# > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jsm at inpro.net Wed Oct 23 14:23:05 2002 From: jsm at inpro.net (Jeff McKeon) Date: 23 Oct 2002 08:23:05 -0400 Subject: plugin install error 1 In-Reply-To: References: Message-ID: <1035375785.10157.8.camel@localhost.localdomain> On Wed, 2002-10-23 at 08:17, Subhendu Ghosh wrote: > > I just ran the CVS nagiosplug thru RH 8.0. > > Other than some autoconf warnings about deprecated features everything > compiled cleanly. > > my make -v (on RH8.0) > [sghosh at sendlab01 nagiosplug]$ make -v > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > Built for i386-redhat-linux-gnu > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 > Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > Report bugs to . > > -sg > here's mine, looks like the same... should I just delete all files and start over ya think? [root at localhost nagiosplug-1.3-beta1]# make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i386-redhat-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to . ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From dean.bishop at tcdsb.org Wed Oct 23 16:34:42 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 23 Oct 2002 10:34:42 -0400 Subject: Scheduled availability reports Message-ID: Good morning, yeah, this would be a really good idea. i believe that the last couple of days has been a good indicator of the level of interest/need for more ways of creating reports. later, dean -- dream outloud -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, October 23, 2002 12:02 AM To: Chet Luther Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Scheduled availability reports If there is an interest I would like to add a contrib-reporting scripts directory to the plugins for scripts like these? -sg On Tue, 22 Oct 2002, Chet Luther wrote: > Bjorn, > I have a small script that queries the Nagios avail.cgi and builds > an HTML table of availability per hostgroup broken down into last 24 > hours, last 7 days, last 30 days and last 365 days. You could email the > output of this script out with a cron job to achive the desired results. > The script is attached for anyone who wants it. > > Hope this is of some help, > > Chet Luther > chet at rcn.com > Hello, > I wonder if there is any possibility to generate weekly reports that > are sent in an email ? The only way I have found to do this is to make > Nagios use a database and then make a separate program that polls the > database and generates the reports and send the mails. This is IMHO not > a very elegant solution but implementing it into Nagios would mean alot > more than just writing a plugin and I am not a C programmer. Has anybody > else had this problem ? > > --regards > > /Bjorn > -- ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From sghosh at sghosh.org Wed Oct 23 17:15:52 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Oct 2002 11:15:52 -0400 (EDT) Subject: plugin install error 1 In-Reply-To: <1035375785.10157.8.camel@localhost.localdomain> References: <1035375785.10157.8.camel@localhost.localdomain> Message-ID: try from a clean download. -sg On 23 Oct 2002, Jeff McKeon wrote: > On Wed, 2002-10-23 at 08:17, Subhendu Ghosh wrote: > > > > I just ran the CVS nagiosplug thru RH 8.0. > > > > Other than some autoconf warnings about deprecated features everything > > compiled cleanly. > > > > my make -v (on RH8.0) > > [sghosh at sendlab01 nagiosplug]$ make -v > > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > > Built for i386-redhat-linux-gnu > > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 > > Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. > > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > > PARTICULAR PURPOSE. > > > > Report bugs to . > > > > -sg > > > here's mine, looks like the same... > > should I just delete all files and start over ya think? > > [root at localhost nagiosplug-1.3-beta1]# make -v > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > Built for i386-redhat-linux-gnu > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 > Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > Report bugs to . > > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From josh.larsen at monitoredsecurity.com Wed Oct 23 17:49:33 2002 From: josh.larsen at monitoredsecurity.com (Josh Larsen, Monitored Security) Date: Wed, 23 Oct 2002 15:49:33 -0000 Subject: Odd notification behavior Message-ID: <41E3B5A08CC6954FB377C2F736996ADC402395@SOC01MAIL.be.soc01.monitoredsecurity.com> I'm seeing some wierd behavior with some of my service notifications. Here's the scenario: a service check has been failing for some time, with notifications going out every hour (like they're supposed to). Then, all of a sudden the alerts stopped going out. The service hasn't been acknowledged, the host is still up. You can see from the information below that the service is still being checked, and the last notification was almost 6 hours ago. There are escalations for this service too, but they are supposed to go to infinity. This is happening on multiple service checks with no apparent pattern. Any ideas or suggestions? Thanks. -------------------------------------------- Current Status: CRITICAL Status Information: last log 27d 2h 59m 35s ago! (1556k) Current Attempt: 2/2 State Type: HARD Last Check Type: ACTIVE Last Check Time: 10-23-2002 15:37:35 Status Data Age: 0d 0h 4m 23s Next Scheduled Active Check: 10-23-2002 15:42:35 Latency: < 1 second Check Duration: < 1 second Last State Change: 10-21-2002 12:20:19 Current State Duration: 2d 3h 21m 39s Last Service Notification: 10-23-2002 09:45:08 Current Notification Number: 14 Is This Service Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 10-23-2002 15:41:48 ------------------------------------------------------------ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From ray at corpex.com Wed Oct 23 18:16:20 2002 From: ray at corpex.com (Raymond Brighenti) Date: Wed, 23 Oct 2002 17:16:20 +0100 Subject: check_log gives 215: Syntax error: EOF in backquote substitution In-Reply-To: References: <1035375785.10157.8.camel@localhost.localdomain> Message-ID: <5.1.1.6.0.20021023171337.02c88030@pop3.mail.armourplate.net> Hi all, Trying to use check_log plugin but it always responds with 215: Syntax error: EOF in backquote substitution Tried this on several machines, all FreeBSD but some in the 3 branch while others in 4. Any ideas? Cheers Ray Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From anoopa at hotmail.com Wed Oct 23 18:25:34 2002 From: anoopa at hotmail.com (Anoop Atre) Date: Wed, 23 Oct 2002 11:25:34 -0500 Subject: CGI strangeness? References: <20021023032211.993.qmail@web21505.mail.yahoo.com> Message-ID: I did notice that nagios was spawning new processes every time I did a nagios restart but wasn't killing the old ones. Once I killed all the nagios processes running and started a new one all was good. You don't have to reboot a linux machine people!!! : ) ~ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From mriedel at neuearbeit.de Wed Oct 23 18:26:09 2002 From: mriedel at neuearbeit.de (Marko Riedel) Date: Wed, 23 Oct 2002 18:26:09 +0200 (CEST) Subject: cgi.cfg Message-ID: <15798.52641.704948.315506@linuxsexi.nasttg> Hi there, I have the following entry in cgi.cfg hostextinfo[3com-s1]=;router40.gif;;router40.gd2;Linux box; and get ls -l /usr/local/nagios/share/images/logos/router40.g* -rw-rw-rw- 1 nagios nagios 2389 Oct 23 18:09 /usr/local/nagios/share/images/logos/router40.gd2 -rw-rw-rw- 1 nagios nagios 1556 Oct 23 18:09 /usr/local/nagios/share/images/logos/router40.gif Unfortunately the router is always displayed as a question mark by the statusmap CGI. What am I missing? 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: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From kmiller at inflow.com Wed Oct 23 19:17:07 2002 From: kmiller at inflow.com (Kevin Miller) Date: Wed, 23 Oct 2002 11:17:07 -0600 Subject: Host Check Priority Message-ID: <33367934AB40D41190D10008C7C9CE0001C0BA51@columbus.admin.corp.inflow.com> When a service fails and host checks begin, I have read in the documentation that all other checks stop while the host check for the suspect host is performed. If I have max_check_attempts set to 18 and the ping check times out after 10 seconds, the host checks should retry for 3 minutes before notifying me. During this 3 minute period are all checks disabled even while the plugin is waiting for the timeout? If so I will have to figure out another way to do this. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbestetti at interop.com.br Wed Oct 23 19:57:31 2002 From: dbestetti at interop.com.br (Dario B. Bestetti) Date: Wed, 23 Oct 2002 14:57:31 -0300 Subject: Scheduled availability reports In-Reply-To: References: Message-ID: <004201c27abd$fc7e2bd0$34fda8c0@ucbrpoa.uccorp.net> Definitely YES !!!!! > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Subhendu Ghosh > Sent: quarta-feira, 23 de outubro de 2002 01:02 > To: Chet Luther > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Scheduled availability reports > > > > If there is an interest I would like to add a > contrib-reporting scripts directory to the plugins for > scripts like these? > > -sg > > On Tue, 22 Oct 2002, Chet Luther wrote: > > > Bjorn, > > I have a small script that queries the Nagios avail.cgi > and builds > > an HTML table of availability per hostgroup broken down > into last 24 > > hours, last 7 days, last 30 days and last 365 days. You > could email > > the output of this script out with a cron job to achive the > desired results. > > The script is attached for anyone who wants it. > > > > Hope this is of some help, > > > > Chet Luther > > chet at rcn.com > > Hello, > > I wonder if there is any possibility to generate weekly > reports that > > are sent in an email ? The only way I have found to do this > is to make > > Nagios use a database and then make a separate program that > polls the > > database and generates the reports and send the mails. This is IMHO > > not a very elegant solution but implementing it into Nagios > would mean > > alot more than just writing a plugin and I am not a C > programmer. Has > > anybody else had this problem ? > > > > --regards > > > > /Bjorn > > > > -- > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun .com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ---------- Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou instituicoes acima indicadas e pode conter informacoes confidenciais, particulares ou privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser recebida por erro, por favor, providencie sua exclusao do sistema, notificando o remetente imediatamente. Eventual erro de transmissao desta mensagem em nenhuma hipotese constituira renuncia a confidencialidade ou a qualquer direito ou prerrogativa dai decorrente. "This message is intended only for the named person's and/or entity's use and may contain confidential, proprietary or legally privileged information, which shall not be used, disclosed, changed, printed or copied, in whole or in part, by not intended recipients. If this message is received by error, please delete it from your system and notify the sender, immediately. No confidentiality or privilege is waived by any mistransmission." ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jlyons30 at yahoo.com Wed Oct 23 18:42:57 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 23 Oct 2002 09:42:57 -0700 (PDT) Subject: CGI strangeness? In-Reply-To: References: Message-ID: <20021023164257.44683.qmail@web21502.mail.yahoo.com> Yes, but when you've driven yourself crazy with hosts appearing & disappearing things can got out of hand.. :) Anoop Atre wrote:I did notice that nagios was spawning new processes every time I did a nagios restart but wasn't killing the old ones. Once I killed all the nagios processes running and started a new one all was good. You don't have to reboot a linux machine people!!! : ) ~ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From dshurett at gahost.com Wed Oct 23 21:02:47 2002 From: dshurett at gahost.com (Danny Shurett) Date: Wed, 23 Oct 2002 15:02:47 -0400 Subject: Scheduled availability reports References: <004201c27abd$fc7e2bd0$34fda8c0@ucbrpoa.uccorp.net> Message-ID: <019e01c27ac6$c72d1910$6401a8c0@dancpuman> Ditto! ----- Original Message ----- From: "Dario B. Bestetti" To: Sent: Wednesday, October 23, 2002 1:57 PM Subject: RE: [Nagios-users] Scheduled availability reports > Definitely YES !!!!! > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Subhendu Ghosh > > Sent: quarta-feira, 23 de outubro de 2002 01:02 > > To: Chet Luther > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Scheduled availability reports > > > > > > > > If there is an interest I would like to add a > > contrib-reporting scripts directory to the plugins for > > scripts like these? > > > > -sg > > > > On Tue, 22 Oct 2002, Chet Luther wrote: > > > > > Bjorn, > > > I have a small script that queries the Nagios avail.cgi > > and builds > > > an HTML table of availability per hostgroup broken down > > into last 24 > > > hours, last 7 days, last 30 days and last 365 days. You > > could email > > > the output of this script out with a cron job to achive the > > desired results. > > > The script is attached for anyone who wants it. > > > > > > Hope this is of some help, > > > > > > Chet Luther > > > chet at rcn.com > > > Hello, > > > I wonder if there is any possibility to generate weekly > > reports that > > > are sent in an email ? The only way I have found to do this > > is to make > > > Nagios use a database and then make a separate program that > > polls the > > > database and generates the reports and send the mails. This is IMHO > > > not a very elegant solution but implementing it into Nagios > > would mean > > > alot more than just writing a plugin and I am not a C > > programmer. Has > > > anybody else had this problem ? > > > > > > --regards > > > > > > /Bjorn > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun > .com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ---------- > Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou instituicoes acima indicadas e pode conter informacoes confidenciais, particulares ou privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser recebida por erro, por favor, providencie sua exclusao do sistema, notificando o remetente imediatamente. Eventual erro de transmissao desta mensagem em nenhuma hipotese constituira renuncia a confidencialidade ou a qualquer direito ou prerrogativa dai decorrente. > > "This message is intended only for the named person's and/or entity's use and may contain confidential, proprietary or legally privileged information, which shall not be used, disclosed, changed, printed or copied, in whole or in part, by not intended recipients. If this message is received by error, please delete it from your system and notify the sender, immediately. No confidentiality or privilege is waived by any mistransmission." > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jared.brick at convergia.net Wed Oct 23 21:13:11 2002 From: jared.brick at convergia.net (Jared Brick) Date: 23 Oct 2002 15:13:11 -0400 Subject: Radius client Message-ID: <1035400392.4687.97.camel@jared.convergia.net> Hello, I am trying to configure Nagios to monitor our radius servers. However, I am not familiar with Radius itself and am not sure what I should be asking from the individual who maintains the Radius servers. Specifically the username/password combo, I (falsely) assumed that it needed a user for that system but it is fails. If anyone has any advice it would be appreciated. Thanks, Jared ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From AHKAPLAN at PARTNERS.ORG Wed Oct 23 21:25:07 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 23 Oct 2002 15:25:07 -0400 Subject: Changing the fonts on the 3d Status map Message-ID: <5593DA408212D511B0910002A513501F01D287BA@phsexch20.mgh.harvard.edu> Hi there, Is there a way to change the fonts and their colors on the 3D status map? ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From AHKAPLAN at PARTNERS.ORG Wed Oct 23 21:34:50 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 23 Oct 2002 15:34:50 -0400 Subject: Problem with statusmap.cgi Message-ID: <5593DA408212D511B0910002A513501F01D287BB@phsexch20.mgh.harvard.edu> Hi there, I got the following error message when I tried to view the Status Map (2-D version) Premature end of script header: statusmap.cgi Error 500. What gives? ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From lilesb at ijet.com Wed Oct 23 21:39:29 2002 From: lilesb at ijet.com (Bryan Liles) Date: 23 Oct 2002 15:39:29 -0400 Subject: [Fwd: [Nagiosplug-devel] NOCPulse] Message-ID: <1035401968.26906.29.camel@westport.ijetcorp.com> This product has some nice output, plus built in inventory management. In short, I like most of the interface, and most of the data it provides. Have a look at the screenshots off www.nocpulse.com. Hey Ethan, how about making the output a generic query/status plugin that could specifically be used to create customized interfaces. Or maybe I could do it, once I can figure out what exactly I am looking for. -- Bryan Liles -------------- next part -------------- An embedded message was scrubbed... From: ABostick at mydoconline.com Subject: [Nagiosplug-devel] NOCPulse Date: Wed, 23 Oct 2002 14:00:24 -0500 Size: 3647 URL: From Meinholz at bmpcoe.org Wed Oct 23 21:44:04 2002 From: Meinholz at bmpcoe.org (Lloyd Meinholz) Date: Wed, 23 Oct 2002 15:44:04 -0400 Subject: notify with qmail and gentoo problem Message-ID: <515A91294CBCD211B7C500508B8B2BC4C2C65C@nemesis.bmpcoe.org> I can't seem to get my notify-by-email to work. I am using Nagios 1.0 b6, Gentoo Linux and qmail as my MTA. I can send mail locally through either qmail-inject or mutt, so I think that configuration is correct. I'm not sure that it matters but I'm also using gcc 3.2 and /usr/bin/printf 2.0.15. I can't get the notify-by-email to work from the command line by typing what I think is the /usr/bin/printf line, but I'm not too sure what I'm doing there anyway. Has anyone had any issues with notify-by-email and qmail??? Thanks for any help, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at ipom.com Wed Oct 23 21:56:33 2002 From: phil at ipom.com (Phil Dibowitz) Date: Wed, 23 Oct 2002 12:56:33 -0700 Subject: Plugins working sporatically Message-ID: <3DB6FEF1.4080501@ipom.com> Hey all... a repost from a few days ago... still haven't gotten anywhere: I've just attempted to upgrade from Netsaint to the new Nagios system. I like many of the changes I've read about. Anyway, I'm having a very strange problem. Many of my service checks are reporting (Return code of 127 is out of bounds - plugin may be missing) BUT, for example, my check_httpd, which is reporting that for MOST of the times it's called, in a few isntances it's working fine. Additionally my PING service is reporting that error just a few times, but most of the time is reporting 'was not set'. So... I'm at a loss here. I ran Netsaint for a while and never ran into these problems. Any help would be appreciated. -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From tagreen at mhsnetworks.net Wed Oct 23 22:09:35 2002 From: tagreen at mhsnetworks.net (Todd A. Green) Date: 23 Oct 2002 15:09:35 -0500 Subject: [Fwd: [Nagiosplug-devel] NOCPulse] In-Reply-To: <1035401968.26906.29.camel@westport.ijetcorp.com> References: <1035401968.26906.29.camel@westport.ijetcorp.com> Message-ID: <1035403776.3962.87.camel@desktop> I remember these folks from 2000. Back then they lifted most of their functionality from Netsaint. When I met with them and asked about their use of Netsaint plugins they soft-pedaled any influence that Netsaint had on their product. Maybe their tune has changed. On Wed, 2002-10-23 at 14:39, Bryan Liles wrote: > This product has some nice output, plus built in inventory management. > In short, I like most of the interface, and most of the data it > provides. Have a look at the screenshots off www.nocpulse.com. > > Hey Ethan, how about making the output a generic query/status plugin > that could specifically be used to create customized interfaces. Or > maybe I could do it, once I can figure out what exactly I am looking > for. > > > -- > Bryan Liles > ---- > > From: ABostick at mydoconline.com > To: nagiosplug-devel at lists.sourceforge.net > Subject: [Nagiosplug-devel] NOCPulse > Date: 23 Oct 2002 14:00:24 -0500 > > I do not know if anyone caught this, but RedHat this week purchased a > company called NOCPulse that writes software to "manage many servers as > one". So I had to see this was about and after looking at the screen shots, > I'm thinking "This is nagios or at least the nagios plugins..." > > The service check names and result codes are identical to Netsaint / Nagios > but from what I can tell I do not think they are open source... > > Any one else know what this is about as I'm curious about RedHat "buying" > software which is already free... > > Aaron > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > Nagiosplug-devel mailing list > Nagiosplug-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From lilesb at ijet.com Wed Oct 23 22:11:46 2002 From: lilesb at ijet.com (Bryan Liles) Date: 23 Oct 2002 16:11:46 -0400 Subject: [Fwd: [Nagiosplug-devel] NOCPulse] In-Reply-To: <1035403776.3962.87.camel@desktop> References: <1035401968.26906.29.camel@westport.ijetcorp.com> <1035403776.3962.87.camel@desktop> Message-ID: <1035403906.9928.4.camel@westport.ijetcorp.com> I don't know, it does bear resemblance to nagios. I still wouldn't say it is/isn't a good product. I think it would be great for some organizations if there a "super" Nagios with much more functionality out of the box such as inventory management, canned reporting and the like. Maybe someone could form a company around this, and sell the installation, configuration, and maintanence of Super Nagios as their product. On Wed, 2002-10-23 at 16:09, Todd A. Green wrote: > I remember these folks from 2000. Back then they lifted most of their > functionality from Netsaint. When I met with them and asked about their > use of Netsaint plugins they soft-pedaled any influence that Netsaint > had on their product. > > Maybe their tune has changed. > > On Wed, 2002-10-23 at 14:39, Bryan Liles wrote: > > This product has some nice output, plus built in inventory management. > > In short, I like most of the interface, and most of the data it > > provides. Have a look at the screenshots off www.nocpulse.com. > > > > Hey Ethan, how about making the output a generic query/status plugin > > that could specifically be used to create customized interfaces. Or > > maybe I could do it, once I can figure out what exactly I am looking > > for. > > > > > > -- > > Bryan Liles > > ---- > > > > > From: ABostick at mydoconline.com > > To: nagiosplug-devel at lists.sourceforge.net > > Subject: [Nagiosplug-devel] NOCPulse > > Date: 23 Oct 2002 14:00:24 -0500 > > > > I do not know if anyone caught this, but RedHat this week purchased a > > company called NOCPulse that writes software to "manage many servers as > > one". So I had to see this was about and after looking at the screen shots, > > I'm thinking "This is nagios or at least the nagios plugins..." > > > > The service check names and result codes are identical to Netsaint / Nagios > > but from what I can tell I do not think they are open source... > > > > Any one else know what this is about as I'm curious about RedHat "buying" > > software which is already free... > > > > Aaron > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > _______________________________________________ > > Nagiosplug-devel mailing list > > Nagiosplug-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel -- Bryan Liles ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From cquinn at excitenetwork.com Wed Oct 23 22:29:07 2002 From: cquinn at excitenetwork.com (Chris Quinn) Date: Wed, 23 Oct 2002 16:29:07 -0400 Subject: cfg help Message-ID: Sorry for the confusion, I am using the new Template based cfg's, but I want to create a Dir with all the hosts as different files, eg: /usr/local/nagios/etc/hosts/host1.cfg, host2.cfg, I have gigantic hosts and services configs and I want them to be broken down into a lot of smaller files... again sorry for the misleading first message:-/ ............................................................................ sounds like you are using the old, non-template based configs (ala netsaint). If this is the case then there is a tool in the contrib directory of Nagios source called "convertcfg" that will do this for you. later, dean -----Original Message----- From: Chris Quinn [mailto:cquinn at excitenetwork.com] Sent: Monday, October 21, 2002 6:57 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] I saw this issue once before, and I was just wondering if anything was ever created for this, I am monitoring over 500 machines each with an average of 4 services, I want to create cfgdir, but I don't want to break up, all of my hosts and services one by one, does anyone have a convertcfg type script that seperates all of hosts/services into separate files? Any help would be greatly appreciated... Thanks You ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jason_lim at modusmedia.com Wed Oct 23 07:34:19 2002 From: jason_lim at modusmedia.com (Jason Lim) Date: Wed, 23 Oct 2002 13:34:19 +0800 Subject: 'Host assumed to be up' problem Message-ID: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> Hi, I am running Nagios version 1.0b6 on apache2. I would like to check why I have got many hosts that show (Host assumed to be up) Status Information under the Host Detail. But the status information on the Service Detail show ping OK, etc... Any advise is appreciated. Thanks, Regards, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.mcavoy at megawheels.com Wed Oct 23 22:49:00 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 23 Oct 2002 16:49:00 -0400 Subject: Debian 3.0 (woody) packages Message-ID: <1035406142.23338.370.camel@tech03> Hello, I have been fighting to get some packages (either rpm->deb via alien, or port the sid packages to woody). Has anyone else attempted this with luck, of if not what were the problems? How have other Debian (3.0 woody) used nagios. Comments appreciated. Thanks -- Sean McAvoy Network Analyst Megawheels Technologies Inc. Phone: 416.360.8211 Fax: 416.360.1403 Cell: 416.616.6599 -------------- 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 jnichols at pbp.net Wed Oct 23 23:33:15 2002 From: jnichols at pbp.net (Jonathan Nichols) Date: Wed, 23 Oct 2002 14:33:15 -0700 (PDT) Subject: Apple In-Reply-To: References: Message-ID: > > Hi All, > > Is anyone using Nagios to monitor Apples? > > Any info would be greatly appreciated. > > Thanks. Yup. I'm monitoring a Mac OS X Server and a Mac OS X workstation. It's really not hard. Just use check_ping or use check_tcp on port 548 (afp services) - but you'll have to enable file sharing over tcp/ip (good idea anyway) and leave file sharing on. Upgrading to Mac OS X is a good idea anyway. :-) ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jeff.rendl at ifsna.com Wed Oct 23 23:47:05 2002 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Wed, 23 Oct 2002 16:47:05 -0500 Subject: GD/CGI Problem with Redhat 8.0 Message-ID: <372E1E73DFD59941A76494F0219A2574043581C4@mkemail.namerica.corpnet.ifsworld.com> Thanks! The problem was I was missing a bunch of the devel stuff. It's oddly placed in "X Development" in the Package Manager. I just really didn't think to look there for these tools. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at sancho2k.net Thu Oct 24 00:02:46 2002 From: lists at sancho2k.net (Sancho2k Lists) Date: Wed, 23 Oct 2002 16:02:46 -0600 (MDT) Subject: notify with qmail and gentoo problem In-Reply-To: <515A91294CBCD211B7C500508B8B2BC4C2C65C@nemesis.bmpcoe.org> References: <515A91294CBCD211B7C500508B8B2BC4C2C65C@nemesis.bmpcoe.org> Message-ID: <30576.12.160.33.128.1035410566.squirrel@mail.sancho2k.net> Lloyd Meinholz said: > I can't seem to get my notify-by-email to work. I am using Nagios > 1.0 b6, Gentoo Linux and qmail as my MTA. I can send mail locally > through either qmail-inject or mutt, so I think that configuration > is correct. I'm not sure that it matters but I'm also using gcc 3.2 > and /usr/bin/printf 2.0.15. I can't get the notify-by-email to work > from the command line by typing what I think is the /usr/bin/printf > line, but I'm not too sure what I'm doing there anyway. > > Has anyone had any issues with notify-by-email and qmail??? Thanks > for any help, None, using 1.03 of qmail. What do your logs show you when the delivery is failing? > > Lloyd -- Darren Spruell www.sancho2k.net ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From Gopinath_Pulyankote at affymetrix.com Thu Oct 24 00:49:32 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Wed, 23 Oct 2002 15:49:32 -0700 Subject: Check_fping returns only Warning when a host i s unreachable/down Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7D7@ntex04.affymetrix.com> Reposting again, since I didn't get any response on this. Hi, Why does the check_fping return a warning, instead of critical, when the host is unreachable, while check_ping reports correctly? I recently changed my configs to use fping instead of ping to improve performance. Should I switch back to ping? bash-2.05a$ ../libexec/check_fping -H 10.12.1.254 -w 300.0,80% -c 500.0,100% FPING WARNING - 10.12.1.254 bash-2.05a$ bash-2.05a$ /usr/sbin/fping 10.12.1.254 10.12.1.254 is unreachable bash-2.05a$ bash-2.05a$ ../libexec/check_ping -H 10.12.1.254 -w 300,80% -c 500,100% CRITICAL - Plugin timed out after 10 seconds bash-2.05a$ -G ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From karl at debisschop.net Thu Oct 24 02:18:26 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Oct 2002 20:18:26 -0400 Subject: check_log gives 215: Syntax error: EOF in backquote substitution In-Reply-To: <5.1.1.6.0.20021023171337.02c88030@pop3.mail.armourplate.net> References: <1035375785.10157.8.camel@localhost.localdomain> <5.1.1.6.0.20021023171337.02c88030@pop3.mail.armourplate.net> Message-ID: <1035418708.15689.1.camel@toaster> On Wed, 2002-10-23 at 12:16, Raymond Brighenti wrote: > Hi all, > > Trying to use check_log plugin but it always responds with 215: Syntax > error: EOF in backquote substitution > > Tried this on several machines, all FreeBSD but some in the 3 branch while > others in 4. > > Any ideas? Was this from the current CVS? There are some bug fixes in the last several weeks (or was it months?) Anyway, please indicate your version. -- Karl ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From atlev at mail.flyingcroc.net Thu Oct 24 02:29:53 2002 From: atlev at mail.flyingcroc.net (Atle Veka) Date: Wed, 23 Oct 2002 17:29:53 -0700 (PDT) Subject: 'Host assumed to be up' problem In-Reply-To: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> References: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> Message-ID: <20021023172754.Y92291-100000@gilliam.users.flyingcroc.net> The nature of Nagios is that host checks aren't executed unless necessary (when a service fails HARD). So, when the log gets rotated it would have to parse the log for when a host check was done last. If all services are up and running it can safely assume the host to be up :) Atle - Flying Crocodile Inc, Unix Systems Administrator On Wed, 23 Oct 2002, Jason Lim wrote: > Hi, > > I am running Nagios version 1.0b6 on apache2. > > I would like to check why I have got many hosts that show (Host assumed to > be up) Status Information under the Host Detail. But the status information > on the Service Detail show ping OK, etc... > > Any advise is appreciated. > > Thanks, > > Regards, > Jason ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jcoleman at lrn.com Thu Oct 24 04:25:17 2002 From: jcoleman at lrn.com (Jason Coleman) Date: Wed, 23 Oct 2002 19:25:17 -0700 Subject: CGI Files Message-ID: <8A4F07369400D511B1890060CF204C2A031BEB51@lrnex01.corp.lrn.com> Not sure why this is happening and I have looked all over trying to figure out where the glitch is. Nagios prompts me to authenticate when trying to select a cgi in the browser, but never brings up the page. It keeps prompting me for a password as if the user name or password that I am entering is incorrect. I know that they are correct though. Any hints? Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From g.vickers at qut.edu.au Thu Oct 24 04:23:45 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 24 Oct 2002 12:23:45 +1000 Subject: Debian 3.0 (woody) packages In-Reply-To: <1035406142.23338.370.camel@tech03> References: <1035406142.23338.370.camel@tech03> Message-ID: <5.1.0.14.2.20021024121149.00ad0e20@imap.qut.edu.au> Sean, Under Debian, if your sources.list contains unstable, you can just apt-get install nagios-text (currently 1.0b5-21 - Thanks Turbo!) and you will be underway. If you are running stable, put the following in your /etc/apt/sources file: #cat /etc/apt/sources.list deb http://ftp.au.debian.org/debian unstable main contrib non-free deb http://ftp.us.debian.org/debian unstable main contrib non-free deb http://ftp.au.debian.org/debian-non-US unstable/non-US main contrib non-free And the following in your /etc/apt/preferences file: #cat /etc/apt/preferences Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release a=unstable Pin-Priority: -10 That way when you do apt-get upgrade you will only get the stable package updated, NOT the unstable packages (the pin-priority -10 sets the unstable packages to never-automatically-update). To install nagios from unstable, do this: apt-get -t unstable install nagios-text and you are off - note that nagios will not be updated from the unstable dist unless you issue the above command again. Have fun, Greg At 06:49 24/10/2002, Sean McAvoy wrote: >Hello, >I have been fighting to get some packages (either rpm->deb via alien, or >port the sid packages to woody). Has anyone else attempted this with >luck, of if not what were the problems? How have other Debian (3.0 >woody) used nagios. Comments appreciated. >Thanks > > >-- >Sean McAvoy >Network Analyst >Megawheels Technologies Inc. >Phone: 416.360.8211 >Fax: 416.360.1403 >Cell: 416.616.6599 ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From sean.mcavoy at megawheels.com Thu Oct 24 04:57:34 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 23 Oct 2002 22:57:34 -0400 Subject: Debian 3.0 (woody) packages In-Reply-To: <5.1.0.14.2.20021024121149.00ad0e20@imap.qut.edu.au> References: <5.1.0.14.2.20021024121149.00ad0e20@imap.qut.edu.au> Message-ID: <1035428255.30533.2.camel@hal> Hello, the problem with that is that it then needs to install a newer libc6, which I would like to avoid. On Wed, 2002-10-23 at 22:23, Greg Vickers wrote: > Sean, > Under Debian, if your sources.list contains unstable, you can just apt-get > install nagios-text (currently 1.0b5-21 - Thanks Turbo!) and you will be > underway. > > If you are running stable, put the following in your /etc/apt/sources file: > > #cat /etc/apt/sources.list > deb http://ftp.au.debian.org/debian unstable main contrib non-free > deb http://ftp.us.debian.org/debian unstable main contrib non-free > deb http://ftp.au.debian.org/debian-non-US unstable/non-US main contrib > non-free > > And the following in your /etc/apt/preferences file: > > #cat /etc/apt/preferences > Package: * > Pin: release a=stable > Pin-Priority: 900 > > Package: * > Pin: release a=unstable > Pin-Priority: -10 > > > That way when you do apt-get upgrade you will only get the stable package > updated, NOT the unstable packages (the pin-priority -10 sets the unstable > packages to never-automatically-update). > > To install nagios from unstable, do this: > apt-get -t unstable install nagios-text > > and you are off - note that nagios will not be updated from the unstable > dist unless you issue the above command again. > > Have fun, > Greg > > At 06:49 24/10/2002, Sean McAvoy wrote: > >Hello, > >I have been fighting to get some packages (either rpm->deb via alien, or > >port the sid packages to woody). Has anyone else attempted this with > >luck, of if not what were the problems? How have other Debian (3.0 > >woody) used nagios. Comments appreciated. > >Thanks > > > > > >-- > >Sean McAvoy > >Network Analyst > >Megawheels Technologies Inc. > >Phone: 416.360.8211 > >Fax: 416.360.1403 > >Cell: 416.616.6599 > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From g.vickers at qut.edu.au Thu Oct 24 04:53:30 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 24 Oct 2002 12:53:30 +1000 Subject: Testing for 2k boxes joining the domain Message-ID: <5.1.0.14.2.20021024124624.03400928@imap.qut.edu.au> Hi all, Just a question: how could you use Nagios to test wether a 2k computer has successfully joined the domain? We have lecture theatre computers that automagically log on when they start up. If there is (god forbid) and network problem or something else that stops them joining the domain, they will do a local login. Is there a service that runs after they successfully join the domain? i.e. so that we can actively check that they have joined the domain. Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From jlyons30 at yahoo.com Thu Oct 24 06:07:43 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 23 Oct 2002 21:07:43 -0700 (PDT) Subject: CGI Files In-Reply-To: <8A4F07369400D511B1890060CF204C2A031BEB51@lrnex01.corp.lrn.com> References: <8A4F07369400D511B1890060CF204C2A031BEB51@lrnex01.corp.lrn.com> Message-ID: <20021024040743.37967.qmail@web21506.mail.yahoo.com> Did you check your .htaccess file and make sure & make sure the paths are correct? Correct username/password? Caps? If you're using apache check the apache website faq....Do you have; ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Jason Coleman wrote:Not sure why this is happening and I have looked all over trying to figure out where the glitch is. Nagios prompts me to authenticate when trying to select a cgi in the browser, but never brings up the page. It keeps prompting me for a password as if the user name or password that I am entering is incorrect. I know that they are correct though. Any hints? Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.knox at sbcglobal.net Thu Oct 24 07:26:27 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Wed, 23 Oct 2002 22:26:27 -0700 Subject: Debian 3.0 (woody) packages References: <5.1.0.14.2.20021024121149.00ad0e20@imap.qut.edu.au> Message-ID: <3DB78483.10503@sbcglobal.net> Greg, I didn't know about the /etc/apt/preferences trick...very useful! However, as Sean M. points out, to install nagios-text from unstable, you have to install an unstable version of libc6, which *many* programs are dependent upon. It is never wise to install unstable libs on a production box. I believe the only option at this point, aside from introducting unstable packages on your machine, is to install all components in one location, modify httpd.conf accordingly, and note any other modifications made. -sk Greg Vickers wrote: > Sean, > Under Debian, if your sources.list contains unstable, you can just > apt-get install nagios-text (currently 1.0b5-21 - Thanks Turbo!) and > you will be underway. > > If you are running stable, put the following in your /etc/apt/sources > file: > > #cat /etc/apt/sources.list > deb http://ftp.au.debian.org/debian unstable main contrib non-free > deb http://ftp.us.debian.org/debian unstable main contrib non-free > deb http://ftp.au.debian.org/debian-non-US unstable/non-US main > contrib non-free > > And the following in your /etc/apt/preferences file: > > #cat /etc/apt/preferences > Package: * > Pin: release a=stable > Pin-Priority: 900 > > Package: * > Pin: release a=unstable > Pin-Priority: -10 > > > That way when you do apt-get upgrade you will only get the stable > package updated, NOT the unstable packages (the pin-priority -10 sets > the unstable packages to never-automatically-update). > > To install nagios from unstable, do this: > apt-get -t unstable install nagios-text > > and you are off - note that nagios will not be updated from the > unstable dist unless you issue the above command again. > > Have fun, > Greg > > At 06:49 24/10/2002, Sean McAvoy wrote: > >> Hello, >> I have been fighting to get some packages (either rpm->deb via alien, or >> port the sid packages to woody). Has anyone else attempted this with >> luck, of if not what were the problems? How have other Debian (3.0 >> woody) used nagios. Comments appreciated. >> Thanks >> >> >> -- >> Sean McAvoy >> Network Analyst >> Megawheels Technologies Inc. >> Phone: 416.360.8211 >> Fax: 416.360.1403 >> Cell: 416.616.6599 > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future of Java(TM) > technology. Join the Java Community Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From hale_india at yahoo.com Thu Oct 24 08:15:41 2002 From: hale_india at yahoo.com (andleg) Date: Thu, 24 Oct 2002 08:15:41 +0200 Subject: cinik Message-ID: <3DB7900D.72FBE21@yahoo.com> Does anybody else get this type of program started : apache 15431 0.0 0.8 2252 768 ? S Oct23 0:00 /tmp/.socket2/.cinik 12.98.201.243 I am running linux redhat 7.3. When I make a locate on cinik I find a lot of copy on a lot of place of .cinik. This program copy itself in a lot of place and add a line in apache cron to restart itself. The Ip adress it call is different very often. When I trace it I arrive on some att dsl line (may be he jump from one to another) That look like a virus but I am sure of nothing. Andre Legendre ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From troyc at communitech.net Thu Oct 24 07:37:09 2002 From: troyc at communitech.net (Troy Corbin) Date: Thu, 24 Oct 2002 00:37:09 -0500 (CDT) Subject: cinik In-Reply-To: <3DB7900D.72FBE21@yahoo.com> References: <3DB7900D.72FBE21@yahoo.com> Message-ID: you are infected with the Slapper worm: http://vil.nai.com/vil/content/v_99711.htm remove your machine from the network AT ONCE! -t On Thu, 24 Oct 2002, andleg wrote: > Does anybody else get this type of program started : > apache 15431 0.0 0.8 2252 768 ? S Oct23 0:00 > /tmp/.socket2/.cinik 12.98.201.243 > > I am running linux redhat 7.3. > When I make a locate on cinik I find a lot of copy on a lot of place of > .cinik. > > This program copy itself in a lot of place and add a line in apache cron > to restart itself. The Ip adress it call is different very often. > When I trace it I arrive on some att dsl line (may be he jump from one > to another) > > That look like a virus but I am sure of nothing. > > Andre Legendre > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From hale_india at yahoo.com Thu Oct 24 09:24:32 2002 From: hale_india at yahoo.com (andleg) Date: Thu, 24 Oct 2002 09:24:32 +0200 Subject: cinik References: Message-ID: <3DB7A030.E983408@yahoo.com> I made it first, but I want other guys know to control on them side. Plus I want to stop that. Andre Legendre Troy Corbin a ?crit : > you are infected with the Slapper worm: > > http://vil.nai.com/vil/content/v_99711.htm > > remove your machine from the network AT ONCE! > > -t > > On Thu, 24 Oct 2002, andleg wrote: > > > Does anybody else get this type of program started : > > apache 15431 0.0 0.8 2252 768 ? S Oct23 0:00 > > /tmp/.socket2/.cinik 12.98.201.243 > > > > I am running linux redhat 7.3. > > When I make a locate on cinik I find a lot of copy on a lot of place of > > .cinik. > > > > This program copy itself in a lot of place and add a line in apache cron > > to restart itself. The Ip adress it call is different very often. > > When I trace it I arrive on some att dsl line (may be he jump from one > > to another) > > > > That look like a virus but I am sure of nothing. > > > > Andre Legendre > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From michael.smedeus at consultant.saab.se Thu Oct 24 09:00:31 2002 From: michael.smedeus at consultant.saab.se (Michael Smedeus) Date: Thu, 24 Oct 2002 09:00:31 +0200 Subject: RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0b6 - RedHat 7.3 References: Message-ID: <3DB79A8F.9020206@consultant.saab.se> Hi A few days ago I sent an RFA. to the netsaint-users with this problem. Now I have reproduced the same bahavior in Nagios 1.0b6. Anyone have an idee what might cause that nagios/netsaint creates a large number of miltiple processes? > Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a > replacement for an old RH7.2 one. > When running Netsaint on the new machine with an exact copy of all > config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 subprocesses. > > I'm curios about this if it's normal on a RH7.3 box with more than one > netsaint process? I have never seen this before starting from RH6.1-7.2 > until now and I belive that the normal behavior i just one process running. > > Some more facts: > Netsaint performs alright on the new machine > The main process is started by the standard daemon-init script and both > machines sitting on the very same network segment. > > > Regards Michael Smed?us ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From tdeblend at gcc.dhl.com Thu Oct 24 09:16:45 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 24 Oct 2002 09:16:45 +0200 Subject: RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0b6 - RedHat7.3 References: <3DB79A8F.9020206@consultant.saab.se> Message-ID: <3DB79E5D.7A9DF686@gcc.dhl.com> This behaviour is by design. Those processes are forked service/host checks. Michael Smedeus wrote: > > Hi > > A few days ago I sent an RFA. to the netsaint-users with this problem. > Now I have reproduced the same bahavior in Nagios 1.0b6. Anyone have an > idee what might cause that nagios/netsaint creates a large number of > miltiple processes? > > > Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a > > replacement for an old RH7.2 one. > > When running Netsaint on the new machine with an exact copy of all > > config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 > subprocesses. > > > > I'm curios about this if it's normal on a RH7.3 box with more than one > > netsaint process? I have never seen this before starting from RH6.1-7.2 > > until now and I belive that the normal behavior i just one process > running. > > > > Some more facts: > > Netsaint performs alright on the new machine > > The main process is started by the standard daemon-init script and both > > machines sitting on the very same network segment. > > > > > > > > Regards > > Michael Smed?us > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From andrewh at suretyit.com.au Thu Oct 24 09:27:58 2002 From: andrewh at suretyit.com.au (Andrew Hatfield) Date: Thu, 24 Oct 2002 17:27:58 +1000 Subject: VRML Status Page Stopped Working Message-ID: <313612D13E9AD311A2510080C8F97907B153A2@dunk.int.singtech.com.au> The VRML status page was working fine yesterday. When I came in to work this morning I now get the error : name expected File: http://nagios-host/nagios/cgi-bin/statuswrl.cgi?host=all Line: 318 Column: 17 I am using the Cortona VRML client from Parallel Graphics. I have been making a number of changes today, but the above error occured when no changes were made. Any ideas? Regards, Andrew Hatfield -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdeblend at gcc.dhl.com Thu Oct 24 09:26:27 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 24 Oct 2002 09:26:27 +0200 Subject: Testing for 2k boxes joining the domain References: <5.1.0.14.2.20021024124624.03400928@imap.qut.edu.au> Message-ID: <3DB7A0A3.8514E882@gcc.dhl.com> I'm not sure if it can be checked on service level. However, if there are network problems, then those desktops can't get an IP through DHCP. If you are using DHCP, then you can simply try to ping those servers, as they will have an IP in the lame Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So pinging them on their normal IP won't work. I don't know if this works for you. If those servers are not using DHCP, then ignore what I said and tell me. I find this an interesting one to have a look at when I have got the time. One workaround would be installing a dummy service that you run with a domain user account. If the domain is unavaiable at boot time, then that service will fail to start as the account is unavailable. And if that service didn't start, then you can check that with NSClient. Greg Vickers wrote: > > Hi all, > Just a question: how could you use Nagios to test wether a 2k computer has > successfully joined the domain? We have lecture theatre computers that > automagically log on when they start up. If there is (god forbid) and > network problem or something else that stops them joining the domain, they > will do a local login. > Is there a service that runs after they successfully join the domain? i.e. > so that we can actively check that they have joined the domain. > > Thanks, > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From tjl at topdanmark.dk Thu Oct 24 09:44:16 2002 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 24 Oct 2002 09:44:16 +0200 Subject: Vedr: RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0b6 - RedHat 7.3 Message-ID: Hello, In a console "ps -ef" shows these processes.... root 4515 4512 0 09:27 pts/1 00:00:00 -bash netsaint 4746 1 1 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4749 1 0 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4750 4749 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.4 20 60 15.0 100.0 -p 5 netsaint 4751 4750 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.4 -c 5 netsaint 4755 1 0 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4758 4746 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.17 20 60 15.0 100.0 -p 5 netsaint 4759 1 0 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4761 1 0 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4763 4759 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.3 20 60 15.0 100.0 -p 5 netsaint 4764 4763 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.3 -c 5 netsaint 4765 4758 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.17 -c 5 netsaint 4766 4755 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.13 20 60 15.0 100.0 -p 5 netsaint 4767 4766 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.13 -c 5 netsaint 4768 1 0 09:27 ? 00:00:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 4769 4761 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.16 20 60 15.0 100.0 -p 5 netsaint 4770 4769 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.16 -c 5 netsaint 4771 4768 0 09:27 ? 00:00:00 /usr/lib/netsaint/plugins/check_ping xxx.zzz.yyy.1 20 60 15.0 100.0 -p 5 netsaint 4772 4771 0 09:27 ? 00:00:00 /bin/ping -U -n xxx.zzz.yyy.1 -c 5 This netsaint is running on a Redhat 7.2... I belive that every line with "/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg" is multi process.... Best regaards Thomas Ps. xxx.zzz.yyy is a just to cover the IP-address in this mail... Michael Smedeus @lists.sourceforge.net - 24-10-2002 09:00:31 Sendt af: nagios-users-admin at lists.sourceforge.net Til: nagios-users at lists.sourceforge.net cc: Vedr?rende: [Nagios-users] RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0b6 - RedHat 7.3 Hi A few days ago I sent an RFA. to the netsaint-users with this problem. Now I have reproduced the same bahavior in Nagios 1.0b6. Anyone have an idee what might cause that nagios/netsaint creates a large number of miltiple processes? > Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a > replacement for an old RH7.2 one. > When running Netsaint on the new machine with an exact copy of all > config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 subprocesses. > > I'm curios about this if it's normal on a RH7.3 box with more than one > netsaint process? I have never seen this before starting from RH6.1-7.2 > until now and I belive that the normal behavior i just one process running. > > Some more facts: > Netsaint performs alright on the new machine > The main process is started by the standard daemon-init script and both > machines sitting on the very same network segment. > > > Regards Michael Smed?us ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From g.vickers at qut.edu.au Thu Oct 24 10:16:18 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 24 Oct 2002 18:16:18 +1000 Subject: Testing for 2k boxes joining the domain In-Reply-To: <3DB7A0A3.8514E882@gcc.dhl.com> References: <5.1.0.14.2.20021024124624.03400928@imap.qut.edu.au> Message-ID: <5.1.0.14.2.20021024173726.03587c68@imap.qut.edu.au> That's the rub, Tom - they have static IPs assigned to them so from an IP level, to Nagios they appear to be up, the same goes for using smbclient to attach to the shares as I can't test with smbclient that a machine that is sharing a directory has joined the domain or not :) And yes, we had touched on checking a service that depends on joining the domain successfully, I guess we'll have to do that. Thanks for the suggestion, we'll give it a shot. Thanks, Greg At 17:26 24/10/2002, Tom DE BLENDE wrote: >I'm not sure if it can be checked on service level. > >However, if there are network problems, then those desktops can't get >an IP through DHCP. If you are using DHCP, then you can simply try to >ping those servers, as they will have an IP in the lame >Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So >pinging them on their normal IP won't work. > >I don't know if this works for you. If those servers are not using >DHCP, then ignore what I said and tell me. I find this an interesting >one to have a look at when I have got the time. > >One workaround would be installing a dummy service that you run with a >domain user account. If the domain is unavaiable at boot time, then >that service will fail to start as the account is unavailable. And if >that service didn't start, then you can check that with NSClient. > >Greg Vickers wrote: > > > > Hi all, > > Just a question: how could you use Nagios to test wether a 2k computer has > > successfully joined the domain? We have lecture theatre computers that > > automagically log on when they start up. If there is (god forbid) and > > network problem or something else that stops them joining the domain, they > > will do a local login. > > Is there a service that runs after they successfully join the domain? i.e. > > so that we can actively check that they have joined the domain. > > > > Thanks, > > > > ================================= > > Greg Vickers > > Computer Systems Officer > > Student Support and Systems, > > Teaching and Learning Support Systems, > > Queensland University of Technology, > > Kelvin Grove Campus, > > Brisbane, > > Australia > > > > CRICOS No 00213J > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From Fredrik.Wanglund at datavis.se Wed Oct 23 08:30:42 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 23 Oct 2002 08:30:42 +0200 Subject: Directories Missing Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278036F@storevis.datavis.se> This is probably the most asked question on this list. Maybe the answer should be in the footer of every mail... /FredrikW -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Tue 22-Oct-02 19:13 To: Jason Coleman Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Directories Missing Check the FAQ's, the answer is in there... On Tue, 2002-10-22 at 13:06, Jason Coleman wrote: > I seem to be missing the /etc directory after installing nagios. Any reason > why this is happening? > > Jason Coleman > Systems Administrator > LRN - The Legal Knowledge Company > Inter Office:5381 > jcoleman at lrn.com > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en From Marcus.Nilsson at Cannondale.com Thu Oct 24 10:37:08 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Thu, 24 Oct 2002 10:37:08 +0200 Subject: Testing for 2k boxes joining the domain Message-ID: In windows environment You have the command 'net view' that lists all hosts in the current domain. Maybe you can make a .bat script that gets all the hostnames and writes them to a file. Then you can get that file with smbclient and process it on the Nagios machine. Just a thought / Marcus -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Thursday, October 24, 2002 1:16 AM To: Tom DE BLENDE Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Testing for 2k boxes joining the domain That's the rub, Tom - they have static IPs assigned to them so from an IP level, to Nagios they appear to be up, the same goes for using smbclient to attach to the shares as I can't test with smbclient that a machine that is sharing a directory has joined the domain or not :) And yes, we had touched on checking a service that depends on joining the domain successfully, I guess we'll have to do that. Thanks for the suggestion, we'll give it a shot. Thanks, Greg At 17:26 24/10/2002, Tom DE BLENDE wrote: >I'm not sure if it can be checked on service level. > >However, if there are network problems, then those desktops can't get >an IP through DHCP. If you are using DHCP, then you can simply try to >ping those servers, as they will have an IP in the lame >Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So >pinging them on their normal IP won't work. > >I don't know if this works for you. If those servers are not using >DHCP, then ignore what I said and tell me. I find this an interesting >one to have a look at when I have got the time. > >One workaround would be installing a dummy service that you run with a >domain user account. If the domain is unavaiable at boot time, then >that service will fail to start as the account is unavailable. And if >that service didn't start, then you can check that with NSClient. > >Greg Vickers wrote: > > > > Hi all, > > Just a question: how could you use Nagios to test wether a 2k computer has > > successfully joined the domain? We have lecture theatre computers that > > automagically log on when they start up. If there is (god forbid) and > > network problem or something else that stops them joining the domain, they > > will do a local login. > > Is there a service that runs after they successfully join the domain? i.e. > > so that we can actively check that they have joined the domain. > > > > Thanks, > > > > ================================= > > Greg Vickers > > Computer Systems Officer > > Student Support and Systems, > > Teaching and Learning Support Systems, > > Queensland University of Technology, > > Kelvin Grove Campus, > > Brisbane, > > Australia > > > > CRICOS No 00213J > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From Shane_Seidel at gwf.com.au Thu Oct 24 10:34:15 2002 From: Shane_Seidel at gwf.com.au (Shane_Seidel at gwf.com.au) Date: Thu, 24 Oct 2002 19:34:15 +1100 Subject: Temptrax monitoring with Nagios Message-ID: <4A256C5C.002FA6FE.00@gisw900.gwf.com.au> Keith, Finally we have a resolution. After a tip from Anders Nerheim (thanks Anders) regarding port permissions I discovered that adding the nagios account to the uucp group resolved the problem and Temptrax digital thermometer is now performing as expected. For reference system is Linux Redhat 7.3 running Nagios 1.0b5 I hope you and your customers find this information useful. Thanks for your help in this matter. Regards Shane Seidel ********************************************************************************************************************************************** This document is intended solely for the named addressee. The information contained in these pages is confidential and contains legally privileged information. The copying or distribution of these pages or any information contained therein by any person other than the addressee is strictly prohibited. If you have received this communication in error, please contact the sender and delete the email. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jakscht at vit.de Thu Oct 24 10:52:08 2002 From: jakscht at vit.de (Michael Jakscht) Date: Thu, 24 Oct 2002 10:52:08 +0200 Subject: test Message-ID: test ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From ray at corpex.com Thu Oct 24 11:05:32 2002 From: ray at corpex.com (Raymond Brighenti) Date: Thu, 24 Oct 2002 10:05:32 +0100 Subject: check_log gives 215: Syntax error: EOF in backquote substitution In-Reply-To: <1035418708.15689.1.camel@toaster> References: <5.1.1.6.0.20021023171337.02c88030@pop3.mail.armourplate.net> <1035375785.10157.8.camel@localhost.localdomain> <5.1.1.6.0.20021023171337.02c88030@pop3.mail.armourplate.net> Message-ID: <5.1.1.6.0.20021024100222.0329ff38@pop3.mail.armourplate.net> I grabbed the FreeBSD port and installed it from there nagios-plugins-1.3.b1 At 20:18 23/10/2002 -0400, Karl DeBisschop wrote: >On Wed, 2002-10-23 at 12:16, Raymond Brighenti wrote: > > Hi all, > > > > Trying to use check_log plugin but it always responds with 215: Syntax > > error: EOF in backquote substitution > > > > Tried this on several machines, all FreeBSD but some in the 3 branch while > > others in 4. > > > > Any ideas? > >Was this from the current CVS? There are some bug fixes in the last >several weeks (or was it months?) > >Anyway, please indicate your version. > >-- >Karl > > > >------------------------------------------------------- >This sf.net email is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >______________________________________________________________________________ >This email has been checked for viruses by ArmourPlate, >http://www.armourplate.com, the multi-scanner anti-virus facility from Corpex. Corpex Limited * email virus protection * Server Co-Location UK & Germany * Web Site Hosting * Domain Name Services http://www.corpex.com T +44 (0)207 430 8000 F +44(0)207 430 8099 _____________________________________________________________________ This message has been checked for viruses by Corpex using the ArmourPlate Virus Scanning Service. To find out how to protect your company visit http://www.armourplate.com or call Corpex on +44 (0)207 430 8000. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CTIEXCH-SA at emp.ctc.net Thu Oct 24 11:04:39 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Thu, 24 Oct 2002 05:04:39 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-24\05-04-38.34834 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From tdeblend at gcc.dhl.com Thu Oct 24 11:14:58 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 24 Oct 2002 11:14:58 +0200 Subject: Testing for 2k boxes joining the domain References: Message-ID: <3DB7BA12.8230667A@gcc.dhl.com> Well, if we put our brains together! Just use: smblient -L anyservername -U username%password This gives you the list on a Linux/Unix system. Then it's just a matter of parsing the output! Marcus Nilsson wrote: > > In windows environment You have the command 'net view' that lists all hosts > in the current domain. Maybe you can make a .bat script that gets all the > hostnames and writes them to a file. Then you can get that file with > smbclient and process it on the Nagios machine. > > Just a thought > > / Marcus > > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Thursday, October 24, 2002 1:16 AM > To: Tom DE BLENDE > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Testing for 2k boxes joining the domain > > That's the rub, Tom - they have static IPs assigned to them so from an IP > level, to Nagios they appear to be up, the same goes for using smbclient to > attach to the shares as I can't test with smbclient that a machine that is > sharing a directory has joined the domain or not :) > > And yes, we had touched on checking a service that depends on joining the > domain successfully, I guess we'll have to do that. Thanks for the > suggestion, we'll give it a shot. > > Thanks, > Greg > > At 17:26 24/10/2002, Tom DE BLENDE wrote: > >I'm not sure if it can be checked on service level. > > > >However, if there are network problems, then those desktops can't get > >an IP through DHCP. If you are using DHCP, then you can simply try to > >ping those servers, as they will have an IP in the lame > >Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So > >pinging them on their normal IP won't work. > > > >I don't know if this works for you. If those servers are not using > >DHCP, then ignore what I said and tell me. I find this an interesting > >one to have a look at when I have got the time. > > > >One workaround would be installing a dummy service that you run with a > >domain user account. If the domain is unavaiable at boot time, then > >that service will fail to start as the account is unavailable. And if > >that service didn't start, then you can check that with NSClient. > > > >Greg Vickers wrote: > > > > > > Hi all, > > > Just a question: how could you use Nagios to test wether a 2k computer > has > > > successfully joined the domain? We have lecture theatre computers that > > > automagically log on when they start up. If there is (god forbid) and > > > network problem or something else that stops them joining the domain, > they > > > will do a local login. > > > Is there a service that runs after they successfully join the domain? > i.e. > > > so that we can actively check that they have joined the domain. > > > > > > Thanks, > > > > > > ================================= > > > Greg Vickers > > > Computer Systems Officer > > > Student Support and Systems, > > > Teaching and Learning Support Systems, > > > Queensland University of Technology, > > > Kelvin Grove Campus, > > > Brisbane, > > > Australia > > > > > > CRICOS No 00213J > > > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > > Mob: 0416 001 674 SD: x6147 > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: Influence the future > > > of Java(TM) technology. Join the Java Community > > > Process(SM) (JCP(SM)) program now. > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From m.meessen at kiel-montagebau.de Thu Oct 24 11:17:16 2002 From: m.meessen at kiel-montagebau.de (Marc Meessen) Date: Thu, 24 Oct 2002 11:17:16 +0200 Subject: Nagios on SuSE 8.1 terminates with Segmentation fault Message-ID: <01C27B4E.E9691A00.m.meessen@kiel-montagebau.de> Hi... I installed and configured nagios on my SuSE 8.1. But when I try to start nagios it won't work. Then I tried nagios -v /etc/nagios/nagios.cfg. I did not get an error message, only a Segmentation fault. I tired strace nagios -v /etc/nagios/nagios.cfg, and I think the resulting output indicated that the segmentation fault occured prior to opening any configuration file. Below this message is the output of the strace. Could anyone tell me what is happening here, and what I should do to correct this issue? So long, Marc... ---cut--- execve("/usr/sbin/nagios", ["nagios", "-v", "/etc/nagios/nagios.cfg", "2"], [/* 51 vars */]) = 0 uname({sys="Linux", node="kmwelx01", ...}) = 0 brk(0) = 0x8090fc4 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/mmx/libperl .so", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/mmx", 0xbfffe94c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686", 0xbfffe94c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/mmx", 0xbfffe94c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\360\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0555, st_size=1271317, ...}) = 0 mmap2(NULL, 1142720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000 mprotect(0x4011f000, 49088, PROT_NONE) = 0 mmap2(0x4011f000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10a) = 0x4011f000 mmap2(0x40129000, 8128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40129000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=53904, ...}) = 0 mmap2(NULL, 53904, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4012b000 close(3) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P<\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=87569, ...}) = 0 mmap2(NULL, 85024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40139000 mprotect(0x4014b000, 11296, PROT_NONE) = 0 mmap2(0x4014b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x4014b000 mmap2(0x4014c000, 7200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014c000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=11832, ...}) = 0 mmap2(NULL, 11544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4014e000 mprotect(0x40150000, 3352, PROT_NONE) = 0 mmap2(0x40150000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40150000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 at 7\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=176463, ...}) = 0 mmap2(NULL, 140960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40151000 mprotect(0x40173000, 1696, PROT_NONE) = 0 mmap2(0x40173000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x21) = 0x40173000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300B\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=106013, ...}) = 0 mmap2(NULL, 85328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40174000 mprotect(0x40182000, 27984, PROT_NONE) = 0 mmap2(0x40182000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 0x40182000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\205"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1312470, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40189000 mmap2(NULL, 1169856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4018a000 mprotect(0x4029e000, 39360, PROT_NONE) = 0 mmap2(0x4029e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113) = 0x4029e000 mmap2(0x402a4000, 14784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402a4000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\n\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=43371, ...}) = 0 mmap2(NULL, 197692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402a8000 mprotect(0x402b0000, 164924, PROT_NONE) = 0 mmap2(0x402b0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8) = 0x402b0000 mmap2(0x402b2000, 156732, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402b2000 close(3) = 0 open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libutil.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\16\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=10710, ...}) = 0 mmap2(NULL, 10788, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d9000 mprotect(0x402db000, 2596, PROT_NONE) = 0 mmap2(0x402db000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x402db000 close(3) = 0 munmap(0x4012b000, 53904) = 0 getrlimit(0x3, 0xbffff46c) = 0 setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 getpid() = 23779 rt_sigaction(SIGRTMIN, {0x4017c8b0, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x4017c950, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x4017ca80, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff26c, 31, (nil), 0}) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From g.vickers at qut.edu.au Thu Oct 24 11:40:47 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 24 Oct 2002 19:40:47 +1000 Subject: Testing for 2k boxes joining the domain In-Reply-To: <3DB7BA12.8230667A@gcc.dhl.com> References: Message-ID: <5.1.0.14.2.20021024193918.035bc050@imap.qut.edu.au> Yes, unfortunately this will give a result even if the remote PC does not join the domain. smbclient cares not that the remote PC did not join the domain :) At 19:14 24/10/2002, Tom DE BLENDE wrote: >Well, if we put our brains together! Just use: > >smblient -L anyservername -U username%password > >This gives you the list on a Linux/Unix system. Then it's just a >matter of parsing the output! > >Marcus Nilsson wrote: > > > > In windows environment You have the command 'net view' that lists all hosts > > in the current domain. Maybe you can make a .bat script that gets all the > > hostnames and writes them to a file. Then you can get that file with > > smbclient and process it on the Nagios machine. > > > > Just a thought > > > > / Marcus > > > > -----Original Message----- > > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > > Sent: Thursday, October 24, 2002 1:16 AM > > To: Tom DE BLENDE > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Testing for 2k boxes joining the domain > > > > That's the rub, Tom - they have static IPs assigned to them so from an IP > > level, to Nagios they appear to be up, the same goes for using smbclient to > > attach to the shares as I can't test with smbclient that a machine that is > > sharing a directory has joined the domain or not :) > > > > And yes, we had touched on checking a service that depends on joining the > > domain successfully, I guess we'll have to do that. Thanks for the > > suggestion, we'll give it a shot. > > > > Thanks, > > Greg > > > > At 17:26 24/10/2002, Tom DE BLENDE wrote: > > >I'm not sure if it can be checked on service level. > > > > > >However, if there are network problems, then those desktops can't get > > >an IP through DHCP. If you are using DHCP, then you can simply try to > > >ping those servers, as they will have an IP in the lame > > >Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So > > >pinging them on their normal IP won't work. > > > > > >I don't know if this works for you. If those servers are not using > > >DHCP, then ignore what I said and tell me. I find this an interesting > > >one to have a look at when I have got the time. > > > > > >One workaround would be installing a dummy service that you run with a > > >domain user account. If the domain is unavaiable at boot time, then > > >that service will fail to start as the account is unavailable. And if > > >that service didn't start, then you can check that with NSClient. > > > > > >Greg Vickers wrote: > > > > > > > > Hi all, > > > > Just a question: how could you use Nagios to test wether a 2k computer > > has > > > > successfully joined the domain? We have lecture theatre computers that > > > > automagically log on when they start up. If there is (god forbid) and > > > > network problem or something else that stops them joining the domain, > > they > > > > will do a local login. > > > > Is there a service that runs after they successfully join the domain? > > i.e. > > > > so that we can actively check that they have joined the domain. > > > > > > > > Thanks, > > > > > > > > ================================= > > > > Greg Vickers > > > > Computer Systems Officer > > > > Student Support and Systems, > > > > Teaching and Learning Support Systems, > > > > Queensland University of Technology, > > > > Kelvin Grove Campus, > > > > Brisbane, > > > > Australia > > > > > > > > CRICOS No 00213J > > > > > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > > > Mob: 0416 001 674 SD: x6147 > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by: Influence the future > > > > of Java(TM) technology. Join the Java Community > > > > Process(SM) (JCP(SM)) program now. > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ================================= > > Greg Vickers > > Computer Systems Officer > > Student Support and Systems, > > Teaching and Learning Support Systems, > > Queensland University of Technology, > > Kelvin Grove Campus, > > Brisbane, > > Australia > > > > CRICOS No 00213J > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > Mob: 0416 001 674 SD: x6147 > > ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From tdeblend at gcc.dhl.com Thu Oct 24 11:58:56 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 24 Oct 2002 11:58:56 +0200 Subject: Testing for 2k boxes joining the domain References: <5.1.0.14.2.20021024193918.035bc050@imap.qut.edu.au> Message-ID: <3DB7C460.D88F55C7@gcc.dhl.com> Bummer, I got a bit carried away there... Then we're back to the actual functional testing whether that box is actually validated on the domain. So for now use the workaround with a service that runs as a domain user... Greg Vickers wrote: > > Yes, unfortunately this will give a result even if the remote PC does not > join the domain. smbclient cares not that the remote PC did not join the > domain :) > > At 19:14 24/10/2002, Tom DE BLENDE wrote: > >Well, if we put our brains together! Just use: > > > >smblient -L anyservername -U username%password > > > >This gives you the list on a Linux/Unix system. Then it's just a > >matter of parsing the output! > > > >Marcus Nilsson wrote: > > > > > > In windows environment You have the command 'net view' that lists all hosts > > > in the current domain. Maybe you can make a .bat script that gets all the > > > hostnames and writes them to a file. Then you can get that file with > > > smbclient and process it on the Nagios machine. > > > > > > Just a thought > > > > > > / Marcus > > > > > > -----Original Message----- > > > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > > > Sent: Thursday, October 24, 2002 1:16 AM > > > To: Tom DE BLENDE > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Testing for 2k boxes joining the domain > > > > > > That's the rub, Tom - they have static IPs assigned to them so from an IP > > > level, to Nagios they appear to be up, the same goes for using smbclient to > > > attach to the shares as I can't test with smbclient that a machine that is > > > sharing a directory has joined the domain or not :) > > > > > > And yes, we had touched on checking a service that depends on joining the > > > domain successfully, I guess we'll have to do that. Thanks for the > > > suggestion, we'll give it a shot. > > > > > > Thanks, > > > Greg > > > > > > At 17:26 24/10/2002, Tom DE BLENDE wrote: > > > >I'm not sure if it can be checked on service level. > > > > > > > >However, if there are network problems, then those desktops can't get > > > >an IP through DHCP. If you are using DHCP, then you can simply try to > > > >ping those servers, as they will have an IP in the lame > > > >Microsoft-I-Cannot-Reach-My-DHCP-Server-IP-Range: 169.254.x.x. So > > > >pinging them on their normal IP won't work. > > > > > > > >I don't know if this works for you. If those servers are not using > > > >DHCP, then ignore what I said and tell me. I find this an interesting > > > >one to have a look at when I have got the time. > > > > > > > >One workaround would be installing a dummy service that you run with a > > > >domain user account. If the domain is unavaiable at boot time, then > > > >that service will fail to start as the account is unavailable. And if > > > >that service didn't start, then you can check that with NSClient. > > > > > > > >Greg Vickers wrote: > > > > > > > > > > Hi all, > > > > > Just a question: how could you use Nagios to test wether a 2k computer > > > has > > > > > successfully joined the domain? We have lecture theatre computers that > > > > > automagically log on when they start up. If there is (god forbid) and > > > > > network problem or something else that stops them joining the domain, > > > they > > > > > will do a local login. > > > > > Is there a service that runs after they successfully join the domain? > > > i.e. > > > > > so that we can actively check that they have joined the domain. > > > > > > > > > > Thanks, > > > > > > > > > > ================================= > > > > > Greg Vickers > > > > > Computer Systems Officer > > > > > Student Support and Systems, > > > > > Teaching and Learning Support Systems, > > > > > Queensland University of Technology, > > > > > Kelvin Grove Campus, > > > > > Brisbane, > > > > > Australia > > > > > > > > > > CRICOS No 00213J > > > > > > > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > > > > Mob: 0416 001 674 SD: x6147 > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by: Influence the future > > > > > of Java(TM) technology. Join the Java Community > > > > > Process(SM) (JCP(SM)) program now. > > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > > > > > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ================================= > > > Greg Vickers > > > Computer Systems Officer > > > Student Support and Systems, > > > Teaching and Learning Support Systems, > > > Queensland University of Technology, > > > Kelvin Grove Campus, > > > Brisbane, > > > Australia > > > > > > CRICOS No 00213J > > > > > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > > Mob: 0416 001 674 SD: x6147 > > > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jason_lim at modusmedia.com Wed Oct 23 12:32:46 2002 From: jason_lim at modusmedia.com (Jason Lim) Date: Wed, 23 Oct 2002 18:32:46 +0800 Subject: 'Host assumed to be up' problem In-Reply-To: <3DB64B81.54A354A9@gcc.dhl.com> References: <3DB64B81.54A354A9@gcc.dhl.com> Message-ID: <000301c27b44$b5567550$505f4fca@SingEFF.ap.modusmedia.com> Hi Tom, But I am not sure if this is a related to the Availability report that was produce. When I run the availability report for those hosts. It report that these hosts are 100% Time Undetermined and I cannot get an accurate view of the status for the reports. Is this related ? How do I resolve the Time Undetermined issues produce from the reports. Thanks! Regards, Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tom DE BLENDE Sent: Wednesday, October 23, 2002 3:11 PM To: Jason Lim Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 'Host assumed to be up' problem This is standard behavior. Nagios will not check a host if all services are OK. So as long as all services are OK, it just assumes the host is up. > Jason Lim wrote: > > Hi, > > I am running Nagios version 1.0b6 on apache2. > > I would like to check why I have got many hosts that show (Host > assumed to be up) Status Information under the Host Detail. But the > status information on the Service Detail show ping OK, etc... > > Any advise is appreciated. > > Thanks, > > Regards, > Jason ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From bjorn.ekengren at itsalive.com Thu Oct 24 12:57:13 2002 From: bjorn.ekengren at itsalive.com (=?iso-8859-1?Q?Bj=F6rn_Ekengren?=) Date: Thu, 24 Oct 2002 12:57:13 +0200 Subject: How to write a custom notification command Message-ID: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F58@test01.itsalive.com> I would like to write an sms notification command like this: # 'notify-by-sms' command definition define command{ command_name notify-by-sms command line /usr/local/smssender $CONTACTPHONE$ "$NOTIFICATIONTYPE$ $SERVICEDESC$ $HOSTALIAS$ $HOSTADDRESS$ $SERVICE STATE$ $DATETIME$ $OUTPUT$" } However I have not found any way to define $CONTACTPHONE$. Does this mean that I have to hardcode the contact phone number and make a separate command for each user that should be notified ? I guess that I can use $CONTACTPAGER$ to store the phone number but it looks ugly to me. Comments, reflections, solutions ? /Bjorn -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.wessel at media-online.ch Thu Oct 24 14:03:23 2002 From: pascal.wessel at media-online.ch (Pascal Wessel) Date: Thu, 24 Oct 2002 14:03:23 +0200 Subject: 'Host assumed to be up' problem In-Reply-To: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> References: <004301c27a55$d64b40a0$803ef5d8@SingEFF.ap.modusmedia.com> Message-ID: <000401c27b55$5a779c20$bd28bb0a@mediaonline.ch> I guess it 's because the SERVICE you are checking on this host is up, then if the SERVICE is up, nagios assume the HOST is up. Remember, nagios check services first. If the service check fails, then nagios will check if the host is up. Thus, if all is fine, (all services are up), the host is so called: "assumed to be up". P.S. On October the 17th, Dean Bishop posted a very clever flow chart showing the nagios process. Get it, it's a must have. (btw, thanks a lot Dean). Best regards, Pascal -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Lim Sent: mercredi, 23. octobre 2002 07:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 'Host assumed to be up' problem Hi, I am running Nagios version 1.0b6 on apache2. I would like to check why I have got many hosts that show (Host assumed to be up) Status Information under the Host Detail. But the status information on the Service Detail show ping OK, etc... Any advise is appreciated. Thanks, Regards, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Thu Oct 24 14:26:11 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 24 Oct 2002 08:26:11 -0400 Subject: FW: Problem with statusmap.cgi Message-ID: <5593DA408212D511B0910002A513501F01D287BC@phsexch20.mgh.harvard.edu> -----Original Message----- From: Kaplan, Andrew H. Sent: Wednesday, October 23, 2002 3:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with statusmap.cgi Hi there, I got the following error message when I tried to view the Status Map (2-D version) Premature end of script header: statusmap.cgi Error 500. What gives? ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From tdeblend at gcc.dhl.com Thu Oct 24 14:26:46 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 24 Oct 2002 14:26:46 +0200 Subject: 'Host assumed to be up' problem References: <000301c27b44$b5567550$505f4fca@SingEFF.ap.modusmedia.com> Message-ID: <3DB7E706.E51B057@gcc.dhl.com> In NetSaint there is a setting "log_initial_states". If it exists in Nagios: set it to 1. Jason Lim wrote: > > Hi Tom, > > But I am not sure if this is a related to the Availability report that was > produce. When I run the availability report for those hosts. It report that > these hosts are 100% Time Undetermined and I cannot get an accurate view of > the status for the reports. > > Is this related ? How do I resolve the Time Undetermined issues produce from > the reports. > > Thanks! > > Regards, > Jason > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tom DE > BLENDE > Sent: Wednesday, October 23, 2002 3:11 PM > To: Jason Lim > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] 'Host assumed to be up' problem > > This is standard behavior. Nagios will not check a host if all > services are OK. So as long as all services are OK, it just assumes > the host is up. > > > Jason Lim wrote: > > > > Hi, > > > > I am running Nagios version 1.0b6 on apache2. > > > > I would like to check why I have got many hosts that show (Host > > assumed to be up) Status Information under the Host Detail. But the > > status information on the Service Detail show ping OK, etc... > > > > Any advise is appreciated. > > > > Thanks, > > > > Regards, > > Jason > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From steven.grzywinski at superior-group.com Thu Oct 24 14:30:44 2002 From: steven.grzywinski at superior-group.com (steven.grzywinski at superior-group.com) Date: Thu, 24 Oct 2002 08:30:44 -0400 Subject: WAP, Reverse Proxy and Nagios (2nd Post) Message-ID: I'm trying to set up WAP access to nagios using a reverse proxy... I've been able to connect via WAP and get the inital screen.. but once I choose a menu choice, like Quick Stats, I get a 404 Not Found error... and I'm sure it's because I never done this before and I'm missing a piece of the puzzle... If anyone has this working could you share your configuration... Using the mod_proxy module only with Apache 1.3.22 ProxyRequests on ProxyPass /ng/ http://nagios.superior-group.com/nagios/cgi-bin/statuswml.cgi ProxyPassReverse /ng/ http://nagios.superior-group.com/nagios/ The error I'm getting is: The requested URL /nagios/cgi-bin/statuswml.cgistatuswml.cgi was not found on server... I've tried playing with the ProxyPassReverse line but to no avail... any help would be appreciated.... steven grzywinski, mgr. corp. technology superior technology group superior group inc. radnor, pa phone 610.964.2042??? fax 610.964.2001 w: http://www.superior-group.com e: steven.grzywinski at su... ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From fireant at zpdee.net Thu Oct 24 15:07:33 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Thu, 24 Oct 2002 21:07:33 +0800 Subject: Check_procs range specification Message-ID: <001101c27b5e$50f3c350$52624eca@skyinet.net> Hi All, I'm trying to specify ranges for the check_procs plugin wherein I want to see if any processes I have identified are running, no matter how many. If not it should return critical. But the standard for this plugin is the usual warning to critical range like in other plugins. Reversing the "min:max" to "max:min" specification's no good and it returns a zero value. How would I make the plugin do what I want? And what is the argument array for? How is it used? It's kind of vague. tia, Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roberto.Balestra at getronics.com Thu Oct 24 15:19:49 2002 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Thu, 24 Oct 2002 15:19:49 +0200 Subject: Program Status on Mysql Message-ID: <7537146F3CB48243B01EEA16DA7110BE1D2B65@excitmi100.europe.unity> Hi, When I use Nagios with MySQL, what is the command to check nagios process that I have to put into CGI.CFG file? Roberto ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dean.bishop at tcdsb.org Thu Oct 24 15:28:54 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 09:28:54 -0400 Subject: how long does a check_tcp service check take? Message-ID: Good morning, i am in the process of trying to squeeze as much out of my box as possible and have some problems understanding what is happening. i started out on a P-II 350 with 384M RAM. i added about 1400 services most of which are check_tcp checks. These checks report that the response came in 0 seconds. i know that this isn't a true reading but it at least tells me that it took less than 1 second. It actually takes about 17 minutes to complete these checks. Doing the math 1400/(17*50) it is taking about 3/4 seconds per check. i moved this installation (physically moved the hdd) to a P-4 800 (Non-Celeron). i was hoping for an improvement. i didn't see one. It still takes 17 minutes. Is there any way of speeding this up or am i now at the mercy of the network? What would happen if i add another NIC? Would the load be balanced? i have diddled with varios settings in my nagios.cfg but nothing seems to help. thanks in advance, dean nagios.cfg ---------- log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 #global_host_event_handler=somecommand #global_service_event_handler=somecommand inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=2 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 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=process-host-perfdata service_perfdata_command=process-service-perfdata obsess_over_services=0 #ocsp_command=somecommand check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=euro admin_email=nagios admin_pager=pagenagios ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dean.bishop at tcdsb.org Thu Oct 24 15:31:40 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 09:31:40 -0400 Subject: how long to go through all checks Message-ID: Good morning, is there a way to tell how long it takes to get through all of the checks once? some sort of "run through it once and then stop" option? thanks, dean ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From mmcclure at pneservices.com Thu Oct 24 16:08:50 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 24 Oct 2002 09:08:50 -0500 (CDT) Subject: how long does a check_tcp service check take? In-Reply-To: References: Message-ID: <4300.192.168.1.9.1035468530.squirrel@xyzzy.homeip.net> Dean, What are the "normal_check_interval" settings on your services? Can you post a portion of your services.cfg file? Mike > Good morning, > > i am in the process of trying to squeeze as much out of my box as > possible and have some problems understanding what is happening. > > i started out on a P-II 350 with 384M RAM. i added about 1400 > services most of which are check_tcp checks. These checks report that the > response came in 0 seconds. i know that this isn't a true reading but it at > least tells me that it took less than 1 second. > > It actually takes about 17 minutes to complete these checks. Doing > the math 1400/(17*50) it is taking about 3/4 seconds per check. > > i moved this installation (physically moved the hdd) to a P-4 800 > (Non-Celeron). i was hoping for an improvement. i didn't see one. It > still takes 17 minutes. > > > Is there any way of speeding this up or am i now at the mercy of the > network? > > What would happen if i add another NIC? Would the load be balanced? > > i have diddled with varios settings in my nagios.cfg but nothing > seems to help. > > thanks in advance, > dean > > > nagios.cfg > ---------- > log_file=/usr/local/nagios/var/nagios.log > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > cfg_file=/usr/local/nagios/etc/misccommands.cfg > cfg_file=/usr/local/nagios/etc/contactgroups.cfg > cfg_file=/usr/local/nagios/etc/contacts.cfg > cfg_file=/usr/local/nagios/etc/dependencies.cfg > cfg_file=/usr/local/nagios/etc/escalations.cfg > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/timeperiods.cfg > resource_file=/usr/local/nagios/etc/resource.cfg > status_file=/usr/local/nagios/var/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=0 > service_reaper_frequency=2 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=60 > 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=process-host-perfdata > service_perfdata_command=process-service-perfdata > obsess_over_services=0 > #ocsp_command=somecommand > check_for_orphaned_services=0 > check_service_freshness=1 > freshness_check_interval=60 > aggregate_status_updates=1 > status_update_interval=15 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=euro > admin_email=nagios > admin_pager=pagenagios > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From mpowell at ena.com Thu Oct 24 15:55:06 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 24 Oct 2002 08:55:06 -0500 Subject: how long to go through all checks Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7180C@mismail.ena.com> Look at the Performance Info option off of the main menu. Time Frame Checks Completed <= 1 minute: 125 (28.0%) <= 5 minutes: 422 (94.4%) <= 15 minutes: 447 (100.0%) <= 1 hour: 447 (100.0%) Since program start: 447 (100.0%) Metric Min. Max. Average Check Execution Time: <1 sec 15 sec 6.398 sec Check Latency: <1 sec 3 sec 0.121 sec Percent State Change: 0.00% 0.00% 0.00% -- marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Thursday, October 24, 2002 8:32 AM > To: 'nagios-users at sourceforge.net' > Subject: [Nagios-users] how long to go through all checks > > Good morning, > > is there a way to tell how long it takes to get through all of the > checks once? > > some sort of "run through it once and then stop" option? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javav ot > e > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dean.bishop at tcdsb.org Thu Oct 24 16:09:31 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 10:09:31 -0400 Subject: [Nagios-devel] Re: how long does a check_tcp s ervice check take? Message-ID: sure. i have two normal_check_interval values. Once for switches' check_tcp!23 and check_nt(20minutes) and one for servers' check_tcp!135 (5 minutes). i had the everything set for 20 minutes but i really need the information faster. i changed it just to see what would happen and i am seeing no increase in time. This just doesn't make sense to me. i went from 1400 services at a 20 minute interval to 1200 services at 20 minutes and 200 services at a 5 minute interval and they all seem to be getting done within 20 minutes. My math says that effectively i have 1400+200*4=2200 services being checked in a 20 minute window. hmmm. Is Nagios adjusting speed to balance the load? i ran 'nagios -s' to get an idea of what my interval should be and it said 17 minutes. i realize that this is meant as a reference only but.... by the way, even though i have added 250 check_nt services (at 20 minute intervals) my 'nagios -s' provides the same value. anyway, here is my snippet thanks, dean # Generic service definition template define service{ name generic-service active_checks_enabled 1 check_freshness 0 check_period 24x7 event_handler_enabled 1 flap_detection_enabled 1 is_volatile 0 max_check_attempts 2 normal_check_interval 20 notification_interval 60 notification_options u,c,r notification_period 24x7 notifications_enabled 1 obsess_over_service 0 parallelize_check 1 passive_checks_enabled 1 process_perf_data 1 retain_nonstatus_information 1 retain_status_information 1 retry_check_interval 2 register 0 } # Service definition for a basic Server define service { name Port-Check-135 use generic-service service_description Port Check-135 normal_check_interval 5 check_command check_tcp!135 register 0 } # Service definition for a basic Switch define service { name Port-Check-23 use generic-service service_description Port Check-23 check_command check_tcp!23 register 0 } -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Thursday, October 24, 2002 10:09 AM To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp service check take? Dean, What are the "normal_check_interval" settings on your services? Can you post a portion of your services.cfg file? Mike > Good morning, > > i am in the process of trying to squeeze as much out of my box as > possible and have some problems understanding what is happening. > > i started out on a P-II 350 with 384M RAM. i added about 1400 > services most of which are check_tcp checks. These checks report that the > response came in 0 seconds. i know that this isn't a true reading but it at > least tells me that it took less than 1 second. > > It actually takes about 17 minutes to complete these checks. Doing > the math 1400/(17*50) it is taking about 3/4 seconds per check. > > i moved this installation (physically moved the hdd) to a P-4 800 > (Non-Celeron). i was hoping for an improvement. i didn't see one. It > still takes 17 minutes. > > > Is there any way of speeding this up or am i now at the mercy of the > network? > > What would happen if i add another NIC? Would the load be balanced? > > i have diddled with varios settings in my nagios.cfg but nothing > seems to help. > > thanks in advance, > dean > > > nagios.cfg > ---------- > log_file=/usr/local/nagios/var/nagios.log > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > cfg_file=/usr/local/nagios/etc/misccommands.cfg > cfg_file=/usr/local/nagios/etc/contactgroups.cfg > cfg_file=/usr/local/nagios/etc/contacts.cfg > cfg_file=/usr/local/nagios/etc/dependencies.cfg > cfg_file=/usr/local/nagios/etc/escalations.cfg > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/timeperiods.cfg > resource_file=/usr/local/nagios/etc/resource.cfg > status_file=/usr/local/nagios/var/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=0 > service_reaper_frequency=2 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=60 > 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=process-host-perfdata > service_perfdata_command=process-service-perfdata > obsess_over_services=0 > #ocsp_command=somecommand > check_for_orphaned_services=0 > check_service_freshness=1 > freshness_check_interval=60 > aggregate_status_updates=1 > status_update_interval=15 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=euro > admin_email=nagios > admin_pager=pagenagios > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jcarro10 at sprintspectrum.com Thu Oct 24 16:12:16 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Oct 2002 09:12:16 -0500 Subject: Check_fping returns only Warning when a host i s unreachable/down Message-ID: I can't comment on fping specifically, since I'm not using it, but I will say this: "If it ain't broke, don't fix it." :^) jc > -----Original Message----- > From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] > Sent: Wednesday, October 23, 2002 5:50 PM > To: nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_fping returns only Warning > when a host > i s unreachable/down > > > Reposting again, since I didn't get any response on this. > > Hi, > Why does the check_fping return a warning, instead of > critical, when the > host is unreachable, while check_ping reports correctly? I > recently changed > my configs to use fping instead of ping to improve > performance. Should I > switch back to ping? > > bash-2.05a$ ../libexec/check_fping -H 10.12.1.254 -w > 300.0,80% -c 500.0,100% > FPING WARNING - 10.12.1.254 > bash-2.05a$ > bash-2.05a$ /usr/sbin/fping 10.12.1.254 > 10.12.1.254 is unreachable > bash-2.05a$ > bash-2.05a$ ../libexec/check_ping -H 10.12.1.254 -w 300,80% > -c 500,100% > CRITICAL - Plugin timed out after 10 seconds > bash-2.05a$ > -G > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dean.bishop at tcdsb.org Thu Oct 24 16:17:07 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 10:17:07 -0400 Subject: how long to go through all checks Message-ID: Good morning, yeah, i have been watching this. My problem is that i am using a 20 minute interval instead of 15 minutes for 1200 of my checks and 5 minute intervals for the remainder. So are all of my checks actually being completed? What happens if 20 minutes is not long enough? Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 72 (4.6%) <= 5 minutes: 497 (31.9%) <= 15 minutes: 1128 (72.4%) <= 1 hour: 1551 (99.5%) Since program start: 1551 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 10 sec 0.115 sec Check Latency: < 1 sec 2 sec 0.111 sec Percent State Change: 0.00% 0.00% 0.00% here -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Thursday, October 24, 2002 9:55 AM To: Bishop, Dean; nagios-users at sourceforge.net Subject: RE: [Nagios-users] how long to go through all checks Look at the Performance Info option off of the main menu. Time Frame Checks Completed <= 1 minute: 125 (28.0%) <= 5 minutes: 422 (94.4%) <= 15 minutes: 447 (100.0%) <= 1 hour: 447 (100.0%) Since program start: 447 (100.0%) Metric Min. Max. Average Check Execution Time: <1 sec 15 sec 6.398 sec Check Latency: <1 sec 3 sec 0.121 sec Percent State Change: 0.00% 0.00% 0.00% -- marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Thursday, October 24, 2002 8:32 AM > To: 'nagios-users at sourceforge.net' > Subject: [Nagios-users] how long to go through all checks > > Good morning, > > is there a way to tell how long it takes to get through all of the > checks once? > > some sort of "run through it once and then stop" option? > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javav ot > e > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dbestetti at interop.com.br Thu Oct 24 16:17:50 2002 From: dbestetti at interop.com.br (Dario B. Bestetti) Date: Thu, 24 Oct 2002 11:17:50 -0300 Subject: Problems to compile plug-ins under HP-UX 11.0 Message-ID: <001301c27b68$22e7b160$34fda8c0@ucbrpoa.uccorp.net> We are trying to compile Nagios plug-ins under HP-UX 11.00 and we are having problems with the compiler and make. Does anyone in the list has these plugs-ins compiled under HP-UX ? Any tip on how to compile them ? Thanks in advance, Dario. ---------- Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou instituicoes acima indicadas e pode conter informacoes confidenciais, particulares ou privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser recebida por erro, por favor, providencie sua exclusao do sistema, notificando o remetente imediatamente. Eventual erro de transmissao desta mensagem em nenhuma hipotese constituira renuncia a confidencialidade ou a qualquer direito ou prerrogativa dai decorrente. "This message is intended only for the named person's and/or entity's use and may contain confidential, proprietary or legally privileged information, which shall not be used, disclosed, changed, printed or copied, in whole or in part, by not intended recipients. If this message is received by error, please delete it from your system and notify the sender, immediately. No confidentiality or privilege is waived by any mistransmission." ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From dean.bishop at tcdsb.org Thu Oct 24 16:20:39 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 10:20:39 -0400 Subject: [Nagios-devel] Re: how long does a check_tcp s ervice check take? Message-ID: just for more info. here is my Performance Info can i just take my check execution time average, add my check latency average, and multiply by the number of services? (.115+.111)*1551=350/60=5.8 minutes. i'm thinkin' no. Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 72 (4.6%) <= 5 minutes: 497 (31.9%) <= 15 minutes: 1128 (72.4%) <= 1 hour: 1551 (99.5%) Since program start: 1551 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 10 sec 0.115 sec Check Latency: < 1 sec 2 sec 0.111 sec Percent State Change: 0.00% 0.00% 0.00% thanks again, dean -----Original Message----- From: Bishop, Dean Sent: Thursday, October 24, 2002 10:10 AM To: 'Mike McClure'; nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: RE: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp service check take? sure. i have two normal_check_interval values. Once for switches' check_tcp!23 and check_nt(20minutes) and one for servers' check_tcp!135 (5 minutes). i had the everything set for 20 minutes but i really need the information faster. i changed it just to see what would happen and i am seeing no increase in time. This just doesn't make sense to me. i went from 1400 services at a 20 minute interval to 1200 services at 20 minutes and 200 services at a 5 minute interval and they all seem to be getting done within 20 minutes. My math says that effectively i have 1400+200*4=2200 services being checked in a 20 minute window. hmmm. Is Nagios adjusting speed to balance the load? i ran 'nagios -s' to get an idea of what my interval should be and it said 17 minutes. i realize that this is meant as a reference only but.... by the way, even though i have added 250 check_nt services (at 20 minute intervals) my 'nagios -s' provides the same value. anyway, here is my snippet thanks, dean # Generic service definition template define service{ name generic-service active_checks_enabled 1 check_freshness 0 check_period 24x7 event_handler_enabled 1 flap_detection_enabled 1 is_volatile 0 max_check_attempts 2 normal_check_interval 20 notification_interval 60 notification_options u,c,r notification_period 24x7 notifications_enabled 1 obsess_over_service 0 parallelize_check 1 passive_checks_enabled 1 process_perf_data 1 retain_nonstatus_information 1 retain_status_information 1 retry_check_interval 2 register 0 } # Service definition for a basic Server define service { name Port-Check-135 use generic-service service_description Port Check-135 normal_check_interval 5 check_command check_tcp!135 register 0 } # Service definition for a basic Switch define service { name Port-Check-23 use generic-service service_description Port Check-23 check_command check_tcp!23 register 0 } -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Thursday, October 24, 2002 10:09 AM To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp service check take? Dean, What are the "normal_check_interval" settings on your services? Can you post a portion of your services.cfg file? Mike > Good morning, > > i am in the process of trying to squeeze as much out of my box as > possible and have some problems understanding what is happening. > > i started out on a P-II 350 with 384M RAM. i added about 1400 > services most of which are check_tcp checks. These checks report that the > response came in 0 seconds. i know that this isn't a true reading but it at > least tells me that it took less than 1 second. > > It actually takes about 17 minutes to complete these checks. Doing > the math 1400/(17*50) it is taking about 3/4 seconds per check. > > i moved this installation (physically moved the hdd) to a P-4 800 > (Non-Celeron). i was hoping for an improvement. i didn't see one. It > still takes 17 minutes. > > > Is there any way of speeding this up or am i now at the mercy of the > network? > > What would happen if i add another NIC? Would the load be balanced? > > i have diddled with varios settings in my nagios.cfg but nothing > seems to help. > > thanks in advance, > dean > > > nagios.cfg > ---------- > log_file=/usr/local/nagios/var/nagios.log > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > cfg_file=/usr/local/nagios/etc/misccommands.cfg > cfg_file=/usr/local/nagios/etc/contactgroups.cfg > cfg_file=/usr/local/nagios/etc/contacts.cfg > cfg_file=/usr/local/nagios/etc/dependencies.cfg > cfg_file=/usr/local/nagios/etc/escalations.cfg > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/timeperiods.cfg > resource_file=/usr/local/nagios/etc/resource.cfg > status_file=/usr/local/nagios/var/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > #global_host_event_handler=somecommand > #global_service_event_handler=somecommand > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=0 > service_reaper_frequency=2 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=60 > 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=process-host-perfdata > service_perfdata_command=process-service-perfdata > obsess_over_services=0 > #ocsp_command=somecommand > check_for_orphaned_services=0 > check_service_freshness=1 > freshness_check_interval=60 > aggregate_status_updates=1 > status_update_interval=15 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=euro > admin_email=nagios > admin_pager=pagenagios > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From mmcclure at pneservices.com Thu Oct 24 16:42:16 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 24 Oct 2002 09:42:16 -0500 (CDT) Subject: [Nagios-devel] Re: how long does a check_tcp service check take? In-Reply-To: References: Message-ID: <4404.192.168.1.9.1035470536.squirrel@xyzzy.homeip.net> Did you try changing the normal_check_interval to 5 minutes for everything? > sure. i have two normal_check_interval values. Once for switches' > check_tcp!23 and check_nt(20minutes) and one for servers' check_tcp!135 (5 > minutes). > > i had the everything set for 20 minutes but i really need the information > faster. i changed it just to see what would happen and i am seeing no > increase in time. > > This just doesn't make sense to me. i went from 1400 services at a 20 > minute interval to 1200 services at 20 minutes and 200 services at a 5 > minute interval and they all seem to be getting done within 20 minutes. My > math says that effectively i have 1400+200*4=2200 services being checked in > a 20 minute window. > > hmmm. Is Nagios adjusting speed to balance the load? > > i ran 'nagios -s' to get an idea of what my interval should be and it said > 17 minutes. i realize that this is meant as a reference only but.... > > by the way, even though i have added 250 check_nt services (at 20 minute > intervals) my 'nagios -s' provides the same value. > > anyway, here is my snippet > > > thanks, > dean > > > > # Generic service definition template > > define service{ > name generic-service > > active_checks_enabled 1 > check_freshness 0 > check_period 24x7 > event_handler_enabled 1 > flap_detection_enabled 1 > is_volatile 0 > max_check_attempts 2 > normal_check_interval 20 > notification_interval 60 > notification_options u,c,r > notification_period 24x7 > notifications_enabled 1 > obsess_over_service 0 > parallelize_check 1 > passive_checks_enabled 1 > process_perf_data 1 > retain_nonstatus_information 1 > retain_status_information 1 > retry_check_interval 2 > register 0 > } > > > # Service definition for a basic Server > define service { > name Port-Check-135 > use generic-service > service_description Port Check-135 > normal_check_interval 5 > check_command check_tcp!135 > register 0 > } > > # Service definition for a basic Switch > define service { > name Port-Check-23 > use generic-service > service_description Port Check-23 > check_command check_tcp!23 > register 0 > } > > > -----Original Message----- > From: Mike McClure [mailto:mmcclure at pneservices.com] > Sent: Thursday, October 24, 2002 10:09 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp > service check take? > > > Dean, > > What are the "normal_check_interval" settings on your services? Can you > post a > portion of your services.cfg file? > > Mike > >> Good morning, >> >> i am in the process of trying to squeeze as much out of my box as >> possible and have some problems understanding what is happening. >> >> i started out on a P-II 350 with 384M RAM. i added about 1400 >> services most of which are check_tcp checks. These checks report that the >> response came in 0 seconds. i know that this isn't a true reading but it > at >> least tells me that it took less than 1 second. >> >> It actually takes about 17 minutes to complete these checks. Doing >> the math 1400/(17*50) it is taking about 3/4 seconds per check. >> >> i moved this installation (physically moved the hdd) to a P-4 800 >> (Non-Celeron). i was hoping for an improvement. i didn't see one. It >> still takes 17 minutes. >> >> >> Is there any way of speeding this up or am i now at the mercy of the >> network? >> >> What would happen if i add another NIC? Would the load be balanced? >> >> i have diddled with varios settings in my nagios.cfg but nothing >> seems to help. >> >> thanks in advance, >> dean >> >> >> nagios.cfg >> ---------- >> log_file=/usr/local/nagios/var/nagios.log >> cfg_file=/usr/local/nagios/etc/checkcommands.cfg >> cfg_file=/usr/local/nagios/etc/misccommands.cfg >> cfg_file=/usr/local/nagios/etc/contactgroups.cfg >> cfg_file=/usr/local/nagios/etc/contacts.cfg >> cfg_file=/usr/local/nagios/etc/dependencies.cfg >> cfg_file=/usr/local/nagios/etc/escalations.cfg >> cfg_file=/usr/local/nagios/etc/hostgroups.cfg >> cfg_file=/usr/local/nagios/etc/hosts.cfg >> cfg_file=/usr/local/nagios/etc/services.cfg >> cfg_file=/usr/local/nagios/etc/timeperiods.cfg >> resource_file=/usr/local/nagios/etc/resource.cfg >> status_file=/usr/local/nagios/var/status.log >> nagios_user=nagios >> nagios_group=nagios >> check_external_commands=1 >> command_check_interval=-1 >> command_file=/usr/local/nagios/var/rw/nagios.cmd >> comment_file=/usr/local/nagios/var/comment.log >> downtime_file=/usr/local/nagios/var/downtime.log >> lock_file=/usr/local/nagios/var/nagios.lock >> temp_file=/usr/local/nagios/var/nagios.tmp >> log_rotation_method=d >> log_archive_path=/usr/local/nagios/var/archives >> use_syslog=0 >> log_notifications=1 >> log_service_retries=1 >> log_host_retries=1 >> log_event_handlers=1 >> log_initial_states=1 >> log_external_commands=1 >> log_passive_service_checks=1 >> #global_host_event_handler=somecommand >> #global_service_event_handler=somecommand >> inter_check_delay_method=s >> service_interleave_factor=s >> max_concurrent_checks=0 >> service_reaper_frequency=2 >> sleep_time=1 >> service_check_timeout=60 >> host_check_timeout=30 >> event_handler_timeout=30 >> notification_timeout=30 >> ocsp_timeout=5 >> perfdata_timeout=5 >> retain_state_information=1 >> state_retention_file=/usr/local/nagios/var/status.sav >> retention_update_interval=60 >> 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=process-host-perfdata >> service_perfdata_command=process-service-perfdata >> obsess_over_services=0 >> #ocsp_command=somecommand >> check_for_orphaned_services=0 >> check_service_freshness=1 >> freshness_check_interval=60 >> aggregate_status_updates=1 >> status_update_interval=15 >> enable_flap_detection=0 >> low_service_flap_threshold=5.0 >> high_service_flap_threshold=20.0 >> low_host_flap_threshold=5.0 >> high_host_flap_threshold=20.0 >> date_format=euro >> admin_email=nagios >> admin_pager=pagenagios >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jcarro10 at sprintspectrum.com Thu Oct 24 16:39:51 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Oct 2002 09:39:51 -0500 Subject: Directories Missing Message-ID: It's in the FAQ. Maybe the README should emphasize the question, "Before you post to the list, have you checked the FAQ?" ;^) http://www.nagios.org/faqs/viewfaq.php?faq_id=49 jc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Wednesday, October 23, 2002 1:31 AM > To: Jeff McKeon; Jason Coleman > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Directories Missing > > > This is probably the most asked question on this list. Maybe > the answer should be in the footer of every mail... > > > /FredrikW > > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Tue 22-Oct-02 19:13 > To: Jason Coleman > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Directories Missing > > Check the FAQ's, the answer is in there... > > On Tue, 2002-10-22 at 13:06, Jason Coleman wrote: > > I seem to be missing the /etc directory after installing > nagios. Any reason > > why this is happening? > > > > Jason Coleman > > Systems Administrator > > LRN - The Legal Knowledge Company > > Inter Office:5381 > > jcoleman at lrn.com > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun .com/javavote > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From sebastien.louafi at e-qual.fr Thu Oct 24 16:51:18 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Thu, 24 Oct 2002 16:51:18 +0200 Subject: Scheduling and check execution problem Message-ID: <004c01c27b6c$cfc4f0b0$6702a8c0@intranet.equal.fr> Hi, I have some problems with the scheduled check execution. I'm using nagios 1.0b6 So I made this test : I have around 850 services in my nagios configuration. I set the normal_check_interval of all the services to 5 minutes. I set : inter_check_delay_method=n service_interleave_factor=1 max_concurrent_checks=0 service_reaper_frequency=10 The scheduled checks are at the same time so... I hope to have a high load on my server but... The scheduled checks aren't executed at the same time, i have an average latency aroud 400seconds... I don't understand this behaviour... Any ideas??? Thanks. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jcarro10 at sprintspectrum.com Thu Oct 24 17:16:53 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Oct 2002 10:16:53 -0500 Subject: Check_procs range specification Message-ID: Just use "min:" (no max value). It's mentioned if you type "check_procs -h". jc -----Original Message----- From: Christopher Louie Cagasan [mailto:fireant at zpdee.net] Sent: Thursday, October 24, 2002 8:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_procs range specification Hi All, I'm trying to specify ranges for the check_procs plugin wherein I want to see if any processes I have identified are running, no matter how many. If not it should return critical. But the standard for this plugin is the usual warning to critical range like in other plugins. Reversing the "min:max" to "max:min" specification's no good and it returns a zero value. How would I make the plugin do what I want? And what is the argument array for? How is it used? It's kind of vague. tia, Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Thu Oct 24 18:14:22 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 24 Oct 2002 12:14:22 -0400 Subject: Problems to compile plug-ins under HP-UX 11.0 Message-ID: <5593DA408212D511B0910002A513501F01D287C0@phsexch20.mgh.harvard.edu> Hewlett-Packard has a Linux to HP-UX porting kit that supposedly will convert 90+ percent of all Linux applications to HP-UX 11.x. You will need to order a CD from the company because I don't believe it is available for download. After that, you should be able to compile the program under Linux and then use the kit to get it to run under HP-UX. -----Original Message----- From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] Sent: Thursday, October 24, 2002 10:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems to compile plug-ins under HP-UX 11.0 We are trying to compile Nagios plug-ins under HP-UX 11.00 and we are having problems with the compiler and make. Does anyone in the list has these plugs-ins compiled under HP-UX ? Any tip on how to compile them ? Thanks in advance, Dario. ---------- Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou instituicoes acima indicadas e pode conter informacoes confidenciais, particulares ou privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser recebida por erro, por favor, providencie sua exclusao do sistema, notificando o remetente imediatamente. Eventual erro de transmissao desta mensagem em nenhuma hipotese constituira renuncia a confidencialidade ou a qualquer direito ou prerrogativa dai decorrente. "This message is intended only for the named person's and/or entity's use and may contain confidential, proprietary or legally privileged information, which shall not be used, disclosed, changed, printed or copied, in whole or in part, by not intended recipients. If this message is received by error, please delete it from your system and notify the sender, immediately. No confidentiality or privilege is waived by any mistransmission." ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote From jlyons30 at yahoo.com Thu Oct 24 18:22:04 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Thu, 24 Oct 2002 09:22:04 -0700 (PDT) Subject: VRML Status Page Stopped Working In-Reply-To: <313612D13E9AD311A2510080C8F97907B153A2@dunk.int.singtech.com.au> References: <313612D13E9AD311A2510080C8F97907B153A2@dunk.int.singtech.com.au> Message-ID: <20021024162204.10122.qmail@web21508.mail.yahoo.com> Check your cgi.cfg & hostextinfo.cfg for errors.. Andrew Hatfield wrote:The VRML status page was working fine yesterday. When I came in to work this morning I now get the error : name expected File: http://nagios-host/nagios/cgi-bin/statuswrl.cgi?host=all Line: 318 Column: 17 I am using the Cortona VRML client from Parallel Graphics.I have been making a number of changes today, but the above error occured when no changes were made. Any ideas? Regards, Andrew Hatfield --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Thu Oct 24 18:33:58 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Oct 2002 11:33:58 -0500 Subject: Problems to compile plug-ins under HP-UX 11.0 Message-ID: One alternative is to try to get the GNU C compiler and GNU make for HP-UX. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, October 24, 2002 11:14 AM > To: 'dbestetti at interop.com.br' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Problems to compile plug-ins under HP-UX > 11.0 > > > Hewlett-Packard has a Linux to HP-UX porting kit that supposedly will > convert 90+ percent of all Linux applications to HP-UX 11.x. > You will need to order a CD from the company because I don't > believe it is > available for download. After that, you should be able > to compile the program under Linux and then use the kit to > get it to run > under HP-UX. > > -----Original Message----- > From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] > Sent: Thursday, October 24, 2002 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems to compile plug-ins under HP-UX 11.0 > > > We are trying to compile Nagios plug-ins under HP-UX 11.00 and we are > having problems with the compiler and make. Does anyone in > the list has > these plugs-ins compiled under HP-UX ? Any tip on how to > compile them ? > > Thanks in advance, > Dario. > > > > ---------- > Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou > instituicoes > acima indicadas e pode conter informacoes confidenciais, > particulares ou > privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser > utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou > parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser > recebida por erro, por favor, providencie sua exclusao do sistema, > notificando o remetente imediatamente. Eventual erro de > transmissao desta > mensagem em nenhuma hipotese constituira renuncia a > confidencialidade ou a > qualquer direito ou prerrogativa dai decorrente. > > "This message is intended only for the named person's and/or > entity's use > and may contain confidential, proprietary or legally > privileged information, > which shall not be used, disclosed, changed, printed or > copied, in whole or > in part, by not intended recipients. If this message is > received by error, > please delete it from your system and notify the sender, > immediately. No > confidentiality or privilege is waived by any mistransmission." > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun .com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From mpowell at ena.com Thu Oct 24 18:46:14 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 24 Oct 2002 11:46:14 -0500 Subject: Directories Missing Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7180E@mismail.ena.com> I have to agree, FAQ and list archives. Some of us are starting to sound like broken records answering the same questions over and over ;) I understand the need to do it and that it will never stop, but maybe adding a notification at the end of 'make install' emphasizing self-help resources might be a good thing. -- Marc > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, October 24, 2002 9:40 AM > To: 'Fredrik W?nglund'; Jeff McKeon; Jason Coleman > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Directories Missing > > It's in the FAQ. Maybe the README should emphasize the question, "Before > you post to the list, have you checked the FAQ?" ;^) > > http://www.nagios.org/faqs/viewfaq.php?faq_id=49 > > jc > > > -----Original Message----- > > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > > Sent: Wednesday, October 23, 2002 1:31 AM > > To: Jeff McKeon; Jason Coleman > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Directories Missing > > > > > > This is probably the most asked question on this list. Maybe > > the answer should be in the footer of every mail... > > > > > > /FredrikW > > > > -----Original Message----- > > From: Jeff McKeon [mailto:jsm at inpro.net] > > Sent: Tue 22-Oct-02 19:13 > > To: Jason Coleman > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] Directories Missing > > > > Check the FAQ's, the answer is in there... > > > > On Tue, 2002-10-22 at 13:06, Jason Coleman wrote: > > > I seem to be missing the /etc directory after installing > > nagios. Any reason > > > why this is happening? > > > > > > Jason Coleman > > > Systems Administrator > > > LRN - The Legal Knowledge Company > > > Inter Office:5381 > > > jcoleman at lrn.com > > > > > > > > > ------------------------------------------------------- > > > This sf.net emial is sponsored by: Influence the future > > > of Java(TM) technology. Join the Java Community > > > Process(SM) (JCP(SM)) program now. > > > > > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun > .com/javavote > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavot > e > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavot > e > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From AHKAPLAN at PARTNERS.ORG Thu Oct 24 18:50:48 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 24 Oct 2002 12:50:48 -0400 Subject: FW: Problem with statusmap.cgi Message-ID: <5593DA408212D511B0910002A513501F01D287C1@phsexch20.mgh.harvard.edu> Hi there, I was able, with the help of one of my colleagues, to solve the problem concerning the statusmap.cgi file. I'll be documenting the issue and will be sure to make it available for everyone. -----Original Message----- From: Kaplan, Andrew H. Sent: Thursday, October 24, 2002 8:26 AM To: Subject: FW: [Nagios-users] Problem with statusmap.cgi -----Original Message----- From: Kaplan, Andrew H. Sent: Wednesday, October 23, 2002 3:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with statusmap.cgi Hi there, I got the following error message when I tried to view the Status Map (2-D version) Premature end of script header: statusmap.cgi Error 500. What gives? ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From nathan at sysadminsith.org Thu Oct 24 19:53:16 2002 From: nathan at sysadminsith.org (nathan) Date: Thu, 24 Oct 2002 10:53:16 -0700 Subject: Tactical Overview Message-ID: <20021024105316.A43309@sysadminsith.org> I searched the FAQ and the 3,300 messages in my nagios box and didn't find the answer. I have Flap Detection and Event Handlers disabled. How do I change the background color of those tabs on the Tactical Overview page? (Give me green!) Thanks, -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From atlev at mail.flyingcroc.net Thu Oct 24 20:15:10 2002 From: atlev at mail.flyingcroc.net (Atle Veka) Date: Thu, 24 Oct 2002 11:15:10 -0700 (PDT) Subject: Tactical Overview In-Reply-To: <20021024105316.A43309@sysadminsith.org> References: <20021024105316.A43309@sysadminsith.org> Message-ID: <20021024111337.N92291-100000@gilliam.users.flyingcroc.net> Check the Nagios stylesheets. In Netsaint (I don't run Nagios in production yet), there's a class called 'featureDisabled'. I'm sure it's similar in Nagios, if not the same. :) Thanks, Atle - Flying Crocodile Inc, Unix Systems Administrator On Thu, 24 Oct 2002, nathan wrote: > I searched the FAQ and the 3,300 messages in my nagios box and didn't find the > answer. > > I have Flap Detection and Event Handlers disabled. How do I change the > background color of those tabs on the Tactical Overview page? (Give me green!) > > Thanks, > > -- > Nathan the human ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From mmcclure at pneservices.com Thu Oct 24 20:44:47 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 24 Oct 2002 13:44:47 -0500 (CDT) Subject: Tactical Overview In-Reply-To: <20021024105316.A43309@sysadminsith.org> References: <20021024105316.A43309@sysadminsith.org> Message-ID: <4908.192.168.1.9.1035485087.squirrel@xyzzy.homeip.net> Open nagios/share/images/tacdisabled.png with GIMP or whatever image editor you feel comfortable with. Change the background color to green. Save the file. Done. > I searched the FAQ and the 3,300 messages in my nagios box and didn't find the > answer. > > I have Flap Detection and Event Handlers disabled. How do I change the > background color of those tabs on the Tactical Overview page? (Give me green!) > > Thanks, > > -- > Nathan the human > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From imazava at kaizen.com.br Thu Oct 24 20:26:57 2002 From: imazava at kaizen.com.br (Daniel Imazava) Date: 24 Oct 2002 16:26:57 -0200 Subject: Configuring Multihomed Host Message-ID: <1035484018.17809.12.camel@Gambit> Hello, To configuring multihomed hosts, Do I have to create a "host" for each interface? Thanks ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From lzxx4x at powertrain.mpg.gm.com Thu Oct 24 22:06:51 2002 From: lzxx4x at powertrain.mpg.gm.com (Amar S. Bhatti) Date: 24 Oct 2002 16:06:51 -0400 Subject: distributed monitoring involving machines running nagios and netsaint Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Folks, I have setup a test machine running nagios b6 that has all the services configured (in template format). I have also set it up as a central server that would get data from our distributed machines running netsaint 0.0.6. The test machine running nagios is not able to pick up any results from the distributed machines. Here are the steps taken to investigate the problem. a) Checked that "submit_check_result" files on distributed servers are configured correctly to send data to new central server running nagios b6. b) used tcpdump to sniff traffic from distributed servers are being sent to the new server. c) sniffed traffic on the central server to check for stuff coming from distributed servers. d) used "netstat" to see that central server is listening on port "5667" e) verified that the permission on the file "nagios.cmd" and /usr/local/nagios/var/rw are in accordance with recommendation from docs. However nothing is getting written to this file. f) Read various parts of nagios docs regarding config of distributed monitoring. I have not found anything related to "not being able to get passive results" from distributed machines running netsaint to the central server running nagios. My question is, is it possible to do so, if not any work arounds, if that is not possible then I guess I need to locate another test machine to clone it with one of our current distributed servers but changing to nagios setup instead. This way if I am able receive results from the new machine then I can safely say that nagios server cannot receive passive checks from netsaint machines. Any help by nagios/netsaint community will be greatly appreciated. Later, - -- Amar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9uFLbnyUZXrBbDskRAib1AJ9/2q/uaC02t8VuOa9FG0kn829UpACeKTn1 62MxEq3p/2rXPojFDVYYcdQ= =qarY -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From sjones at gaic.com Thu Oct 24 22:22:42 2002 From: sjones at gaic.com (Shawn Jones) Date: Thu, 24 Oct 2002 16:22:42 -0400 Subject: Shawn Jones/Technology/AFG is out of the office. Message-ID: I will be out of the office starting 10/24/2002 and will not return until 10/28/2002. If you need to speak with someone immediately, please contact Jeff Hoevenaar. The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From dean.bishop at tcdsb.org Thu Oct 24 23:10:59 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 17:10:59 -0400 Subject: NSclient reads Memory wrong. Message-ID: Good morning, i am having trouble reading the Memory Usage on a WinNT4.0 server using NSClient. The server has 2G physical RAM and 2G pagefile. This is what NSClient give me: Memory usage: total:24.39 Mb - used: 1185.60 Mb (4862%) - free: -1161.20 Mb (-4762%) What can i do to correct this? thanks, dean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: clip_image002.jpg Type: image/jpeg Size: 35565 bytes Desc: not available URL: From sjones at gaic.com Thu Oct 24 23:38:44 2002 From: sjones at gaic.com (Shawn Jones) Date: Thu, 24 Oct 2002 17:38:44 -0400 Subject: Shawn Jones/Technology/AFG is out of the office. Message-ID: I will be out of the office starting 10/24/2002 and will not return until 10/28/2002. If you need to speak with someone immediately, please contact Jeff Hoevenaar. The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From dean.bishop at tcdsb.org Thu Oct 24 23:39:01 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 24 Oct 2002 17:39:01 -0400 Subject: [Nagios-devel] Re: how long does a check_tcp s ervice check take? Message-ID: hmmmm. no i can't say that i did. i will try first thing in the morning though. p.s. i am still running with about 1200 service checks at 20 minutes and 450 service checks at 5 minutes and i don't see anything getting missed. man my head hurts. Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 78 (5.0%) <= 5 minutes: 493 (31.5%) <= 15 minutes: 1133 (72.5%) <= 1 hour: 1555 (99.5%) Since program start: 1555 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 10 sec 0.164 sec Check Latency: < 1 sec 3 sec 0.126 sec Percent State Change: 0.00% 0.00% 0.00% thanks, dean -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Thursday, October 24, 2002 10:42 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp service check take? Did you try changing the normal_check_interval to 5 minutes for everything? > sure. i have two normal_check_interval values. Once for switches' > check_tcp!23 and check_nt(20minutes) and one for servers' check_tcp!135 (5 > minutes). > > i had the everything set for 20 minutes but i really need the information > faster. i changed it just to see what would happen and i am seeing no > increase in time. > > This just doesn't make sense to me. i went from 1400 services at a 20 > minute interval to 1200 services at 20 minutes and 200 services at a 5 > minute interval and they all seem to be getting done within 20 minutes. My > math says that effectively i have 1400+200*4=2200 services being checked in > a 20 minute window. > > hmmm. Is Nagios adjusting speed to balance the load? > > i ran 'nagios -s' to get an idea of what my interval should be and it said > 17 minutes. i realize that this is meant as a reference only but.... > > by the way, even though i have added 250 check_nt services (at 20 minute > intervals) my 'nagios -s' provides the same value. > > anyway, here is my snippet > > > thanks, > dean > > > > # Generic service definition template > > define service{ > name generic-service > > active_checks_enabled 1 > check_freshness 0 > check_period 24x7 > event_handler_enabled 1 > flap_detection_enabled 1 > is_volatile 0 > max_check_attempts 2 > normal_check_interval 20 > notification_interval 60 > notification_options u,c,r > notification_period 24x7 > notifications_enabled 1 > obsess_over_service 0 > parallelize_check 1 > passive_checks_enabled 1 > process_perf_data 1 > retain_nonstatus_information 1 > retain_status_information 1 > retry_check_interval 2 > register 0 > } > > > # Service definition for a basic Server > define service { > name Port-Check-135 > use generic-service > service_description Port Check-135 > normal_check_interval 5 > check_command check_tcp!135 > register 0 > } > > # Service definition for a basic Switch > define service { > name Port-Check-23 > use generic-service > service_description Port Check-23 > check_command check_tcp!23 > register 0 > } > > > -----Original Message----- > From: Mike McClure [mailto:mmcclure at pneservices.com] > Sent: Thursday, October 24, 2002 10:09 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp > service check take? > > > Dean, > > What are the "normal_check_interval" settings on your services? Can you > post a > portion of your services.cfg file? > > Mike > >> Good morning, >> >> i am in the process of trying to squeeze as much out of my box as >> possible and have some problems understanding what is happening. >> >> i started out on a P-II 350 with 384M RAM. i added about 1400 >> services most of which are check_tcp checks. These checks report that the >> response came in 0 seconds. i know that this isn't a true reading but it > at >> least tells me that it took less than 1 second. >> >> It actually takes about 17 minutes to complete these checks. Doing >> the math 1400/(17*50) it is taking about 3/4 seconds per check. >> >> i moved this installation (physically moved the hdd) to a P-4 800 >> (Non-Celeron). i was hoping for an improvement. i didn't see one. It >> still takes 17 minutes. >> >> >> Is there any way of speeding this up or am i now at the mercy of the >> network? >> >> What would happen if i add another NIC? Would the load be balanced? >> >> i have diddled with varios settings in my nagios.cfg but nothing >> seems to help. >> >> thanks in advance, >> dean >> >> >> nagios.cfg >> ---------- >> log_file=/usr/local/nagios/var/nagios.log >> cfg_file=/usr/local/nagios/etc/checkcommands.cfg >> cfg_file=/usr/local/nagios/etc/misccommands.cfg >> cfg_file=/usr/local/nagios/etc/contactgroups.cfg >> cfg_file=/usr/local/nagios/etc/contacts.cfg >> cfg_file=/usr/local/nagios/etc/dependencies.cfg >> cfg_file=/usr/local/nagios/etc/escalations.cfg >> cfg_file=/usr/local/nagios/etc/hostgroups.cfg >> cfg_file=/usr/local/nagios/etc/hosts.cfg >> cfg_file=/usr/local/nagios/etc/services.cfg >> cfg_file=/usr/local/nagios/etc/timeperiods.cfg >> resource_file=/usr/local/nagios/etc/resource.cfg >> status_file=/usr/local/nagios/var/status.log >> nagios_user=nagios >> nagios_group=nagios >> check_external_commands=1 >> command_check_interval=-1 >> command_file=/usr/local/nagios/var/rw/nagios.cmd >> comment_file=/usr/local/nagios/var/comment.log >> downtime_file=/usr/local/nagios/var/downtime.log >> lock_file=/usr/local/nagios/var/nagios.lock >> temp_file=/usr/local/nagios/var/nagios.tmp >> log_rotation_method=d >> log_archive_path=/usr/local/nagios/var/archives >> use_syslog=0 >> log_notifications=1 >> log_service_retries=1 >> log_host_retries=1 >> log_event_handlers=1 >> log_initial_states=1 >> log_external_commands=1 >> log_passive_service_checks=1 >> #global_host_event_handler=somecommand >> #global_service_event_handler=somecommand >> inter_check_delay_method=s >> service_interleave_factor=s >> max_concurrent_checks=0 >> service_reaper_frequency=2 >> sleep_time=1 >> service_check_timeout=60 >> host_check_timeout=30 >> event_handler_timeout=30 >> notification_timeout=30 >> ocsp_timeout=5 >> perfdata_timeout=5 >> retain_state_information=1 >> state_retention_file=/usr/local/nagios/var/status.sav >> retention_update_interval=60 >> 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=process-host-perfdata >> service_perfdata_command=process-service-perfdata >> obsess_over_services=0 >> #ocsp_command=somecommand >> check_for_orphaned_services=0 >> check_service_freshness=1 >> freshness_check_interval=60 >> aggregate_status_updates=1 >> status_update_interval=15 >> enable_flap_detection=0 >> low_service_flap_threshold=5.0 >> high_service_flap_threshold=20.0 >> low_host_flap_threshold=5.0 >> high_host_flap_threshold=20.0 >> date_format=euro >> admin_email=nagios >> admin_pager=pagenagios >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From sean.knox at sbcglobal.net Thu Oct 24 23:54:57 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 24 Oct 2002 14:54:57 -0700 Subject: Shawn Jones/Technology/AFG is out of the office. References: Message-ID: <3DB86C31.1070206@sbcglobal.net> Can we add a filter to catch out of office messages? (and subsequently remove the poster(s) from the list) Sean Shawn Jones wrote: >I will be out of the office starting 10/24/2002 and will not return until >10/28/2002. > >If you need to speak with someone immediately, please contact Jeff >Hoevenaar. > > > >The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. > > > >------------------------------------------------------- >This sf.net email is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From phil at ipom.com Fri Oct 25 00:51:55 2002 From: phil at ipom.com (Phil Dibowitz) Date: Thu, 24 Oct 2002 15:51:55 -0700 Subject: All Services Up - Why host down? Message-ID: <3DB8798B.5050105@ipom.com> In my Nagios setup it's finding all my hosts down even though all serviecs (including PING) work just fine... Anyone know why? -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From g.vickers at qut.edu.au Fri Oct 25 00:55:03 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 25 Oct 2002 08:55:03 +1000 Subject: Configuring Multihomed Host In-Reply-To: <1035484018.17809.12.camel@Gambit> References: <1035484018.17809.12.camel@Gambit> Message-ID: <5.1.0.14.2.20021025084921.022bb5b8@imap.qut.edu.au> Daniel, I have done just this and configured a host definition per NIC on the server. You can then test for the same service on each NIC (through each different subnet). Config follows: Host config: define host{ host_name janeway-220 alias Janeway subnet 220 address xxx.xxx.220.xxx parents upstream_router use generic-template-host } define host{ host_name janeway-23 alias Janeway subnet 23 address xxx.xxx.23.xxx parents upstream_router use generic-template-host } For the hostgroups for these hosts: define hostgroup{ hostgroup_name Fred alias Fred as well contact_groups test-group members janeway-220, janeway-23 } And the service: define service{ hostgroup_name fred-servers service_description Test for presence of Fred check_command check_nt!The_Service_Formerly_Known_As_Fred use generic-template-service } Hope this helps, Greg At 04:26 25/10/2002, Daniel Imazava wrote: >Hello, > >To configuring multihomed hosts, Do I have to create a "host" for each >interface? > >Thanks > > > > >------------------------------------------------------- >This sf.net email is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From phil at ipom.com Fri Oct 25 01:25:01 2002 From: phil at ipom.com (Phil Dibowitz) Date: Thu, 24 Oct 2002 16:25:01 -0700 Subject: All Services Up - Why host down? References: <3DB8798B.5050105@ipom.com> Message-ID: <3DB8814D.808@ipom.com> Phil Dibowitz wrote: > In my Nagios setup it's finding all my hosts down even though all > serviecs (including PING) work just fine... > > Anyone know why? > You can ignore this... I figured it out. Sorry. -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From jcarro10 at sprintspectrum.com Fri Oct 25 01:42:04 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Oct 2002 18:42:04 -0500 Subject: Configuring Multihomed Host Message-ID: I would think you'd want to set up a dependancy rule. Loosely speaking: run test_A on interface_1 if success on interface_1 ignore interface_2 else run test_A on interface_2 end What you propose will possibly end up duplicating some tests. For example, NRPE tests. A partition space check done from one interface will be no different than the other interface (one would hope ;^). But with the proposed solution (below), if one of the interfaces goes down, then you'll get a Critical alert for the partition space check (connection timed out). I'm not sure that's desireable. OTOH, if you have a web server bound to one port on one interface, and to another port on the other interface, then yes, you'll want to keep them both under scrutiny. Just my $0.02. jc > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Thursday, October 24, 2002 5:55 PM > To: Daniel Imazava; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Configuring Multihomed Host > > > Daniel, > I have done just this and configured a host definition per NIC on the > server. You can then test for the same service on each NIC > (through each > different subnet). Config follows: > > Host config: > > define host{ > host_name janeway-220 > alias Janeway subnet 220 > address xxx.xxx.220.xxx > parents upstream_router > use generic-template-host > } > > define host{ > host_name janeway-23 > alias Janeway subnet 23 > address xxx.xxx.23.xxx > parents upstream_router > use generic-template-host > } > > > For the hostgroups for these hosts: > > define hostgroup{ > hostgroup_name Fred > alias Fred as well > contact_groups test-group > members janeway-220, janeway-23 > } > > And the service: > > define service{ > hostgroup_name fred-servers > service_description Test for presence of Fred > check_command check_nt!The_Service_Formerly_Known_As_Fred > use generic-template-service > } > > > Hope this helps, > Greg > > At 04:26 25/10/2002, Daniel Imazava wrote: > > >Hello, > > > >To configuring multihomed hosts, Do I have to create a > "host" for each > >interface? > > > >Thanks > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: Influence the future > >of Java(TM) technology. Join the Java Community > >Process(SM) (JCP(SM)) program now. > >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From g.vickers at qut.edu.au Fri Oct 25 01:55:06 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 25 Oct 2002 09:55:06 +1000 Subject: Configuring Multihomed Host In-Reply-To: References: Message-ID: <5.1.0.14.2.20021025095210.022c5008@imap.qut.edu.au> Ah, you are right Jim. Thanks for pointing out the duplication, I will keep that in mind when implementing future checks on that server! ATM we have a service that serves the different subnets so we need to know that that service appears on the different subnets, just as you pointed out. Thanks for the tip! Greg At 09:42 25/10/2002, Carroll, Jim P [Contractor] wrote: >I would think you'd want to set up a dependancy rule. Loosely speaking: > >run test_A on interface_1 >if success on interface_1 > ignore interface_2 >else > run test_A on interface_2 >end > >What you propose will possibly end up duplicating some tests. For example, >NRPE tests. A partition space check done from one interface will be no >different than the other interface (one would hope ;^). But with the >proposed solution (below), if one of the interfaces goes down, then you'll >get a Critical alert for the partition space check (connection timed out). >I'm not sure that's desireable. > >OTOH, if you have a web server bound to one port on one interface, and to >another port on the other interface, then yes, you'll want to keep them both >under scrutiny. > >Just my $0.02. > >jc > > > -----Original Message----- > > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > > Sent: Thursday, October 24, 2002 5:55 PM > > To: Daniel Imazava; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Configuring Multihomed Host > > > > > > Daniel, > > I have done just this and configured a host definition per NIC on the > > server. You can then test for the same service on each NIC > > (through each > > different subnet). Config follows: > > > > Host config: > > > > define host{ > > host_name janeway-220 > > alias Janeway subnet 220 > > address xxx.xxx.220.xxx > > parents upstream_router > > use generic-template-host > > } > > > > define host{ > > host_name janeway-23 > > alias Janeway subnet 23 > > address xxx.xxx.23.xxx > > parents upstream_router > > use generic-template-host > > } > > > > > > For the hostgroups for these hosts: > > > > define hostgroup{ > > hostgroup_name Fred > > alias Fred as well > > contact_groups test-group > > members janeway-220, janeway-23 > > } > > > > And the service: > > > > define service{ > > hostgroup_name fred-servers > > service_description Test for presence of Fred > > check_command check_nt!The_Service_Formerly_Known_As_Fred > > use generic-template-service > > } > > > > > > Hope this helps, > > Greg > > > > At 04:26 25/10/2002, Daniel Imazava wrote: > > > > >Hello, > > > > > >To configuring multihomed hosts, Do I have to create a > > "host" for each > > >interface? > > > > > >Thanks > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From Gopinath_Pulyankote at affymetrix.com Fri Oct 25 01:50:27 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Thu, 24 Oct 2002 16:50:27 -0700 Subject: patch for check_fping ? Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7E0@ntex04.affymetrix.com> I have the same problem with check_fping mentioned in this post: http://sourceforge.net/mailarchive/message.php?msg_id=556080 Where do I get the patch for this? Thanks in advance -G ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From CTIEXCH-SA at emp.ctc.net Fri Oct 25 02:19:36 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Thu, 24 Oct 2002 20:19:36 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-10-24\20-19-35.50436 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From jclark at polexis.com Fri Oct 25 02:16:01 2002 From: jclark at polexis.com (James Clark) Date: 24 Oct 2002 17:16:01 -0700 Subject: 3 Issues Message-ID: <1035504961.2961.13.camel@jclarkpc.polexis.com> Nagios, I am having three issues. First let me try to best clearly ask these in hopes of a clear response. 1. My notifications are not being sent out. I have forced a hosts service down for example http and I do not receive any alerts via email. I believe my contact file is correctly setup and defined.In /usr/local/nagios/etc/nagios.cfg I have enable_notifications=1. What is the problem and why am I not being sent alerts for down services? 2. In /usr/local/nagios/etc/cgi.cfg I have set use_authentication=1 but when I login as a user I can not view the pages due to a permission error. This is not an apache issue but rather an issue to access the cgi files with my username. I have the .htaccess file in my share and sbin folder so I am not sure what the problem is. Also when I login and provide my username and password the "Logged in as ?" is displayed in nagios. 3. When I enable default_user_name=guest in cgi.cfg I am not able to add a comment due to the /usr/local/nagios/var/rw/nagios.cwd file being set and reset to unwriteable permissions. When I chmod the file to 0777 it allows me to post a comment as guest or my user but then nagios changes the permissions back on this file. What should this be set to? If anyone can help that would be greatly appreciated. Thanks for your time. -- James Clark Junior Systems Administrator Polexis, Inc. Direct: 619-542-7209 Fax: 619-542-8675 http://www.polexis.com transforming data into knowledge ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From sjones at gaic.com Fri Oct 25 02:30:46 2002 From: sjones at gaic.com (Shawn Jones) Date: Thu, 24 Oct 2002 20:30:46 -0400 Subject: Shawn Jones/Technology/AFG is out of the office. Message-ID: I will be out of the office starting 10/24/2002 and will not return until 10/28/2002. If you need to speak with someone immediately, please contact Jeff Hoevenaar. The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From phil at ipom.com Fri Oct 25 02:42:40 2002 From: phil at ipom.com (Phil Dibowitz) Date: Thu, 24 Oct 2002 17:42:40 -0700 Subject: $ARGn$ Macros Message-ID: <3DB89380.5020502@ipom.com> I'm a little confused on the $ARGn$ macros: 1. The default "check_ping" definition in checkcommands.cfg takes $ARG1$ and $ARG2$ - but the default definitions of services do NOT have anything after "check_ping" in the check_command of services.cfg. Thus ping fails if you use that model and one must change the command definition to "$USER1$/check_ping -H $HOSTADDRESS$ -w 15,25% -c 25,75% -p 5" or something similar and hard code those values in. Furthermore if you DO add anything after "check_command: check_ping" then it fails telling you it can't find the command you want. So how the hell do you pass that on a per-service basis? I'm having this same problem on a custom command I've made as well... -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From sghosh at sghosh.org Fri Oct 25 03:20:50 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Oct 2002 21:20:50 -0400 (EDT) Subject: $ARGn$ Macros In-Reply-To: <3DB89380.5020502@ipom.com> References: <3DB89380.5020502@ipom.com> Message-ID: On Thu, 24 Oct 2002, Phil Dibowitz wrote: > I'm a little confused on the $ARGn$ macros: > > 1. The default "check_ping" definition in checkcommands.cfg takes $ARG1$ > and $ARG2$ - but the default definitions of services do NOT have > anything after "check_ping" in the check_command of services.cfg. Thus > ping fails if you use that model and one must change the command > definition to "$USER1$/check_ping -H $HOSTADDRESS$ -w 15,25% -c 25,75% > -p 5" or something similar and hard code those values in. > > Furthermore if you DO add anything after "check_command: check_ping" > then it fails telling you it can't find the command you want. > > So how the hell do you pass that on a per-service basis? > > > I'm having this same problem on a custom command I've made as well... > > in the service definition: check_command: check_ping!15,25%!25,75% in the command definition: check_ping -w $ARG1$ -c $ARG2$ 0H $HOSTADDRESS$ $ARG1$ == 15,25% $ARG2$ == 25,75% -- -sg ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From sghosh at sghosh.org Fri Oct 25 03:26:25 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Oct 2002 21:26:25 -0400 (EDT) Subject: 3 Issues In-Reply-To: <1035504961.2961.13.camel@jclarkpc.polexis.com> References: <1035504961.2961.13.camel@jclarkpc.polexis.com> Message-ID: Some additional info would be useful (logs, error, platform, version) We are not all psychics on the list. On 24 Oct 2002, James Clark wrote: > Nagios, > I am having three issues. First let me try to best clearly ask these in > hopes of a clear response. > > 1. My notifications are not being sent out. I have forced a hosts > service down for example http and I do not receive any alerts via email. > I believe my contact file is correctly setup and defined.In > /usr/local/nagios/etc/nagios.cfg I have enable_notifications=1. What is > the problem and why am I not being sent alerts for down services? Is you mail server setup correctly on the host? Does the notify-by-email command work correctly on your system on the command line? > > 2. In /usr/local/nagios/etc/cgi.cfg I have set use_authentication=1 but > when I login as a user I can not view the pages due to a permission > error. This is not an apache issue but rather an issue to access the cgi > files with my username. I have the .htaccess file in my share and sbin > folder so I am not sure what the problem is. Also when I login and > provide my username and password the "Logged in as ?" is displayed in > nagios. > You should read over the docs again. Only need one htaccess file AND it needs to be readable by the apache user. > 3. When I enable default_user_name=guest in cgi.cfg I am not able to add > a comment due to the /usr/local/nagios/var/rw/nagios.cwd file being set > and reset to unwriteable permissions. When I chmod the file to 0777 it > allows me to post a comment as guest or my user but then nagios changes > the permissions back on this file. What should this be set to? > nagios.cmd will have 0660 perms by default. Therefore you need to make sure that the nagios user and the apache user are in a common group if they are not the same user. > If anyone can help that would be greatly appreciated. Thanks for your > time. > > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From e!mullin at Confi-chek.com Fri Oct 25 04:43:31 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Thu, 24 Oct 2002 19:43:31 -0700 Subject: 3 Issues Message-ID: Hey James. I don't think I can answer all of these but I have run into the first and partially second issue. You must check and make sure the Nagios user has authority to use your Mail service. (Sendmail, etc). Check your settings for Apache again. Also make sure if your using 2.0 that you have the latest patch for Apache (security fix). ENM -----Original Message----- From: James Clark [mailto:jclark at polexis.com] Sent: Thursday, October 24, 2002 5:16 PM To: nagios-users at lists.sourceforge.net Cc: rmy at polexis.com Subject: [Nagios-users] 3 Issues Nagios, I am having three issues. First let me try to best clearly ask these in hopes of a clear response. 1. My notifications are not being sent out. I have forced a hosts service down for example http and I do not receive any alerts via email. I believe my contact file is correctly setup and defined.In /usr/local/nagios/etc/nagios.cfg I have enable_notifications=1. What is the problem and why am I not being sent alerts for down services? 2. In /usr/local/nagios/etc/cgi.cfg I have set use_authentication=1 but when I login as a user I can not view the pages due to a permission error. This is not an apache issue but rather an issue to access the cgi files with my username. I have the .htaccess file in my share and sbin folder so I am not sure what the problem is. Also when I login and provide my username and password the "Logged in as ?" is displayed in nagios. 3. When I enable default_user_name=guest in cgi.cfg I am not able to add a comment due to the /usr/local/nagios/var/rw/nagios.cwd file being set and reset to unwriteable permissions. When I chmod the file to 0777 it allows me to post a comment as guest or my user but then nagios changes the permissions back on this file. What should this be set to? If anyone can help that would be greatly appreciated. Thanks for your time. -- James Clark Junior Systems Administrator Polexis, Inc. Direct: 619-542-7209 Fax: 619-542-8675 http://www.polexis.com transforming data into knowledge ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From nagios at nagios.org Fri Oct 25 05:34:13 2002 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 24 Oct 2002 22:34:13 -0500 Subject: Shawn Jones/Technology/AFG is out of the office. In-Reply-To: <3DB86C31.1070206@sbcglobal.net> References: <3DB86C31.1070206@sbcglobal.net> Message-ID: <3DB87565.8729.421B4E@localhost> Unfortunately, it doesn't look like Mailman has any way to filter messages based on content. :-( I just disabled mail delivery for this address for the time being. On 24 Oct 2002 at 14:54, Sean Knox wrote: > Can we add a filter to catch out of office messages? (and subsequently > remove the poster(s) from the list) > > Sean > > Shawn Jones wrote: > > >I will be out of the office starting 10/24/2002 and will not return until > >10/28/2002. > > > >If you need to speak with someone immediately, please contact Jeff > >Hoevenaar. > > > > > > > >The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: Influence the future > >of Java(TM) technology. Join the Java Community > >Process(SM) (JCP(SM)) program now. > >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en From jakscht at vit.de Fri Oct 25 07:40:16 2002 From: jakscht at vit.de (Michael Jakscht) Date: Fri, 25 Oct 2002 07:40:16 +0200 Subject: State retention?? Message-ID: Hi, can someone please explain me in short words what the meaning of state retention is? I couldn't find something while searching with google on nagios.org... Thanx, Michael ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Fri Oct 25 08:02:17 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 24 Oct 2002 23:02:17 -0700 Subject: State retention?? References: Message-ID: <3DB8DE69.2000406@sbcglobal.net> Michael Jakscht wrote: >Hi, > >can someone please explain me in short words what the meaning of state >retention is? >I couldn't find something while searching with google on nagios.org... > > That's because strangely, the best place for nagios documentation, is indeed, the nagios documentation. http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_information Sean ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jakscht at vit.de Fri Oct 25 08:16:11 2002 From: jakscht at vit.de (Michael Jakscht) Date: Fri, 25 Oct 2002 08:16:11 +0200 Subject: State retention?? Message-ID: Hi, > It means that Nagios will remember the states of hosts > and services between restarts. :) Ie, if host A is down when > you stop Nagios, it will still be down when you start it back > up again. HTH. Yeah ok but then can someone tell me please why the following is happening: Last week we changed the network card on an nt-server from tokenring to ethernet. As a result of this the ip of the host changed (from the tokenring-net to the ethernet-net). So I changed the ip in the host.cfg file and the checks of the host and the services went on like before... Now when I try to generate a hostgroup availability report for this host, this month and first assumed state is up with "assume state retention" enabled i get a red bar since the network card change... Disabling the "assume state retention" let's the bar go green... What's the point I'm missing? Michael ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From tdeblend at gcc.dhl.com Fri Oct 25 08:17:06 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 25 Oct 2002 08:17:06 +0200 Subject: NSclient reads Memory wrong. References: Message-ID: <3DB8E1E2.47936E2E@gcc.dhl.com> Dear Dean, This is from the NSClient README: "Reported issues Wrong memory information reported by NSClient on some machine having lots of memory (bigger than 1GB). This is a Windows NT 4 bug and, according to Microsoft, should be corrected in SP7. " I'm not sure what you are experiencing is this same bug. What service pack level do you use? I am monitoring quite some Windows NT 4.0 servers with 4 GB of RAM and they don't have this problem. They all have SP6a installed (Terminal Servers have SP 6 which is in fact the same). Kind regards, Tom > "Bishop, Dean" wrote: > > Good morning, > > i am having trouble reading the Memory Usage on a WinNT4.0 > server using NSClient. The server has 2G physical RAM and 2G > pagefile. This is what NSClient give me: > > Memory usage: total:24.39 Mb - used: 1185.60 Mb (4862%) - free: > -1161.20 Mb (-4762%) > > What can i do to correct this? > > thanks, > dean > > [Image] > > Name: clip_image002.jpg > clip_image002.jpg Type: JPEG Image (image/jpeg) > Encoding: base64 -- Tom De Blende Senior NT Infrastructure Analyst (Frango) DHL Global Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From michael.smedeus at consultant.saab.se Fri Oct 25 08:39:10 2002 From: michael.smedeus at consultant.saab.se (Michael Smedeus) Date: Fri, 25 Oct 2002 08:39:10 +0200 Subject: RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0.b6 - RedHat 7.3 References: <3DB3BA43.7000905@consultant.saab.se> <20021024222357.C34070@IPAustralia.Gov.AU> Message-ID: <3DB8E70E.4000607@consultant.saab.se> Hi Thank's all for you responses Still haven't figured out what the difference is. Tom DE BLENDE suggested that this is by design, ok then I guess it must be kernelstuff that differs, or perhaps the 'ps' command itself? My old RH7.2 (PII 350MHz, 190MB) has one and only motherprocess. The new RH7.3 (PIII 730MHz, 128MB) has what to me looks like many forked main processes that come and go but there are always many of them. Done some strace on them and it looks like they are servicechecks that do what they should. I might be digging into something that I realy shouldn't bother about but I'm a curios person. $ ps -auxww netsaint 13889 0.0 0.9 2252 1264 ? S 07:26 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 14597 0.0 0.9 2252 1264 ? S 07:34 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 14600 0.0 0.9 2252 1264 ? S 07:34 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg ........ about 70-80 of these ............. netsaint 16835 0.0 0.9 2252 1264 ? S 07:52 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 16838 0.0 0.9 2252 1264 ? S 07:52 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg netsaint 16841 0.0 0.9 2252 1264 ? S 07:52 0:00 /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg Stanley Hopcroft wrote: > Dear Sir, > > On Mon, Oct 21, 2002 at 10:26:43AM +0200, Michael Smedeus wrote: > >>Hi >> >>Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a >>replacement for an old RH7.2 one. >>When running Netsaint on the new machine with an exact copy of all >>config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 subprocesses. >> >>I'm curios about this if it's normal on a RH7.3 box with more than one >>netsaint process? I have never seen this before starting from RH6.1-7.2 >>until now and I belive that the normal behavior i just one process running. >> > > > I am not sure that I understand your observation but I expect to see > _many_ shortlived Netsaint processes as the parent Netsaint forks itself > to run service checks, send alerts etc etc. > > Here's a FreeBSD box, > > tsitc> ps -auxw | grep netsaint > netsaint 31778 0.0 4.5 12176 11548 ?? Ss 9:35PM 0:11.91 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 42993 0.0 4.5 12168 11548 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 42995 0.0 0.1 628 280 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ppp > netsaint 42998 0.0 0.5 1656 1264 ?? S 10:16PM 0:00.02 > /usr/local/bin/expect -f /usr/local/netsaint/libexec/check_ppp > netsaint 42999 0.0 0.6 2372 1520 p5 Ss+ 10:16PM 0:00.01 > /usr/sbin/ppp -interactive a6 > netsaint 43014 0.0 4.5 12168 11548 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43016 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p > 10 -to 15 -nohtml > netsaint 43018 0.0 0.2 984 616 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p > 10 -to 15 -nohtml > netsaint 43019 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 10.0.100.191 > netsaint 43034 0.0 4.5 12176 11556 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43035 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43036 0.0 0.2 980 612 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43037 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 10.0.100.15 > netsaint 43039 0.0 4.5 12176 11556 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43041 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43042 0.0 4.5 12176 11556 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43043 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 > 1000.0 -p 10 -to 15 -noht > netsaint 43044 0.0 0.2 980 612 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43045 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 10.0.100.52 > netsaint 43046 0.0 0.2 984 616 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 > 1000.0 -p 10 -to 15 -nohtml > netsaint 43047 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 192.168.103.129 > netsaint 43049 0.0 4.5 12176 11556 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43050 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43051 0.0 0.2 980 612 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 > -to 15 -nohtml > netsaint 43052 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 10.0.100.11 > netsaint 43057 0.0 4.5 12176 11556 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg > netsaint 43058 0.0 0.1 632 284 ?? S 10:16PM 0:00.00 sh -c > /usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p > 10 -to 15 -nohtml > netsaint 43059 0.0 0.2 984 616 ?? S 10:16PM 0:00.00 > /usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p > 10 -to 15 -nohtml > netsaint 43060 0.0 0.1 464 204 ?? S 10:16PM 0:00.00 > /sbin/ping -n -c 10 10.0.100.148 > > tsitc> uname -a > FreeBSD tsitc.aipo.gov.au 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 > #1: Wed Aug 7 17:49:05 EST 2002 > root at tsitc.aipo.gov.au:/usr/obj/usr/src/sys/TSITC i386 > tsitc> > > Is it possible that your 7.[12] boxes are vastly more powerful than your > 7.3 host ? (so that the checks finish real quick and you are not aware > of their presence). > > How long do these multiple Netsaint processes last for ? > > Are the process IDs the same ? > > > > >>Some more facts: >>Netsaint performs alright on the new machine >>The main process is started by the standard daemon-init script and both >>machines sitting on the very same network segment. >> >> >>Regards >> >>Michael Smed?us >> > > Regards Michael Smed?us ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jamie at bclnz.net Fri Oct 25 08:44:23 2002 From: jamie at bclnz.net (Jamie) Date: Fri, 25 Oct 2002 19:44:23 +1300 Subject: State retention?? References: Message-ID: <019801c27bf1$f52cbd80$b58031ca@bcl977307> Umm. at a guess I would say that IP address is a unique data field in the records. If the IP changes then records get reset. (in a db sense of mind) Bammo. Availability reporting get screwed up. Nothing to do with state retention. Everything to do with recorded unique data. I could be right. I could be wrong. Peace. Jamie. ----- Original Message ----- From: "Michael Jakscht" To: Cc: "C. Bensend" Sent: Friday, October 25, 2002 7:16 PM Subject: Re: [Nagios-users] State retention?? > > Hi, > > > It means that Nagios will remember the states of hosts > > and services between restarts. :) Ie, if host A is down when > > you stop Nagios, it will still be down when you start it back > > up again. HTH. > > > Yeah ok but then can someone tell me please why the following is happening: > > Last week we changed the network card on an nt-server from tokenring to > ethernet. > As a result of this the ip of the host changed (from the tokenring-net to > the ethernet-net). > So I changed the ip in the host.cfg file and the checks of the host and the > services went on like before... > Now when I try to generate a hostgroup availability report for this host, > this month and first assumed state is up with "assume state retention" > enabled i get a red bar since the network card change... > Disabling the "assume state retention" let's the bar go green... > > What's the point I'm missing? > > Michael > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From andrewh at suretyit.com.au Fri Oct 25 09:45:56 2002 From: andrewh at suretyit.com.au (Andrew Hatfield) Date: Fri, 25 Oct 2002 17:45:56 +1000 Subject: VRML Status Page Stopped Working Message-ID: <313612D13E9AD311A2510080C8F97907B153A8@dunk.int.singtech.com.au> fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireant at skycablenet.com Fri Oct 25 11:15:19 2002 From: fireant at skycablenet.com (Christopher Louie Cagasan) Date: Fri, 25 Oct 2002 17:15:19 +0800 Subject: check_running_proc (not check_procs) References: Message-ID: <020a01c27c07$0a7ee9a0$52624eca@skyinet.net> Hi Sandro/Jim, Thanks for the reply. It's working for my linux box but how come this doesn't seem to work with Sun boxes? Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. ----- Original Message ----- From: "Sandro Merg Vaz" To: "'Christopher Louie Cagasan'" Sent: Thursday, October 24, 2002 9:37 PM Subject: ENC: [Nagios-users] check_running_proc (not check_procs) I had the same doubt a week ago. HIH, Sandro Vaz -----Mensagem original----- De: Karl DeBisschop [mailto:karl at debisschop.net] Enviada em: sexta-feira, 18 de outubro de 2002 01:36 Para: Sandro Merg Vaz Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] check_running_proc (not check_procs) On Thu, 2002-10-17 at 19:01, Sandro Merg Vaz wrote: > Nagiosmates: > > I?m deploying a Nagios solution to monitor some Linuxes and one > important point is to check the presence of some process (like > named,snmpd, sshd, crond, etc.). But the existing check_procs plugin > just warns me if there are MORE than the -w specified option. But I > just want to know if there is at least one process instance running, > being warned if there is NO process running. > > It would be like this, using check_procs sintax: ./check_running_proc > -C process_command check_procs -C xterm -w 1: -c 1: If I understand your request, it's already there. -- Karl --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.406 / Virus Database: 229 - Release Date: 21/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.406 / Virus Database: 229 - Release Date: 21/10/2002 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Schimpke at Lenze.de Fri Oct 25 11:32:56 2002 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Fri, 25 Oct 2002 11:32:56 +0200 Subject: Configuration problem: time dependent notification definition Message-ID: <03AA3D7DD4488840996C036E23BE71C41B5784@zde008.lenze.com> Hi all ! I've got a problem configuring nagios to send out notifications over different (time dependent) "channels", i.e. notifications during normal work hours should be sent via email to a specified contact, during off hours the contact should be notified via pager/sms. I guess, that's a trivial configuration problem (that's what most people want, I guess) but I couldn't find a clue, neither in the docs nor in the mailing list -- seems that I'm too stupid for this one... Any hints ... ?? Thanks in advance Thomas ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From thollenberg at planet.nl Fri Oct 25 11:57:43 2002 From: thollenberg at planet.nl (Theo Hollenberg) Date: Fri, 25 Oct 2002 11:57:43 +0200 Subject: VRML Status Page Stopped Working In-Reply-To: <313612D13E9AD311A2510080C8F97907B153A8@dunk.int.singtech.com.au> References: <313612D13E9AD311A2510080C8F97907B153A8@dunk.int.singtech.com.au> Message-ID: <001301c27c0c$f7415160$9600000a@woodstock> Hi, Has anyone looked into this statuswrl.cgi dot-related problem? It would be nice to have that fixed, especially since almost all my hostnames have dots in them :-) Maybe it's fixed already but I wouldn't know where to get a new release of this cgi module. Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Hatfield Sent: vrijdag 25 oktober 2002 9:46 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Volker.Aust at premiere.de Fri Oct 25 13:00:10 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Fri, 25 Oct 2002 13:00:10 +0200 Subject: Configuration problem: time dependent notifica tion definition Message-ID: Hi Thomas, create two contacts, one for mail with notification_period=workhours and one for paging/sms with notification_period=nonworkhours, and include both in the same contactgroup to be used in your services/hosts notifications. -vol > -----Original Message----- > From: Schimpke, Dr. Thomas / bhn [mailto:Schimpke at Lenze.de] > Sent: Friday, October 25, 2002 11:33 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Configuration problem: time dependent > notification definition > > > Hi all ! > I've got a problem configuring nagios to send out notifications over > different (time dependent) "channels", i.e. notifications > during normal work > hours should be sent via email to a specified contact, > during off hours the > contact should be notified via pager/sms. > > I guess, that's a trivial configuration problem (that's what > most people > want, I guess) but I couldn't find a clue, neither in the > docs nor in the > mailing list -- seems that I'm too stupid for this one... > > Any hints ... ?? > > Thanks in advance > > Thomas > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Meinholz at bmpcoe.org Fri Oct 25 13:41:07 2002 From: Meinholz at bmpcoe.org (Lloyd Meinholz) Date: Fri, 25 Oct 2002 07:41:07 -0400 Subject: notify with qmail and gentoo problem Message-ID: <515A91294CBCD211B7C500508B8B2BC4C2C662@nemesis.bmpcoe.org> BTW, sorry for replying to you directly, I should have checked the address. I assumed reply went to the list, should have done reply to all I suppose... I haven't found anything interesting in the /var/log/qmail dir, but I found the following in messages: Oct 25 05:40:21 mjollnir nagios: SERVICE NOTIFICATION: meinholz;frigga;www - TechRep HTTP;CRITICAL;notify-by-email;Connection refused by host This is funny, because I am able to mail to all address in my contacts.cfg via mutt and also by echo'ing into /var/qmail/bin/qmail-inject like TEST.deliver says to, so I don't know what is refusing, unless the printf (in the notify_by_email) thing is being refused for some reason... Is there a simple way to use printf to send an email from the command line to emulate what notify_by_email is actually doing? I could test that. I can't decipher what notify_by_email is actually doing and I'm obviously not a mail guru... Since I got the following in nagios.log: [1035474094] Warning: Attempting to execute the command "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress: 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110 seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY: Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... It seems to be guessing that a script or binary is missing. I checked that /usr/bin/printf exists, is there anything else on my system that could be missing? I don't have a telnet client installed for instance... Lloyd > -----Original Message----- > From: Darren Spruell [mailto:sancho at sancho2k.net] > Sent: Thursday, October 24, 2002 10:16 PM > To: Lloyd Meinholz > Subject: Re: [Nagios-users] notify with qmail and gentoo problem > > > > > Lloyd Meinholz wrote: > [...] > > > > /usr/bin/printf does exist, I'm not sure what other script > or binary > > they are refering too. > > /usr/sbin/sendmail and /usr/lib/sendmail are symbolic links to > > /var/qmail/bin/sendmail. Other than that I don't know what is wrong. > > > > Thanks again for looking at this, > > > > Lloyd > > What (if any) qmail errors are seen during this failed delivery? > > -- > > +-------------------------------------------------------------+ > | Darren Spruell GPG Public Key 1024D/43F439AE: | > | sancho at sancho2k.net 1F9D 4BCE 4A49 C845 A817 | > | http://www.sancho2k.net/ 18B3 D978 3565 43F4 39AE | > +-------------------------------------------------------------+ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kai.sulfrian at alis.de Fri Oct 25 14:05:16 2002 From: kai.sulfrian at alis.de (Kai Sulfrian) Date: Fri, 25 Oct 2002 14:05:16 +0200 Subject: File-Based performance data options problem Message-ID: <0210251405160I.00305@kasinux> I configured and compiled nagios with "--with-file-perfdate". In hosts.cfg and services.cfg the "process_perf_data" option is set to 1 In nagios.cfg I added: process_performance_data=1 xpdfile_host_perfdate_file=/usr/local/nagios/perf/hostperf.log xpdfile_host_perfdata_template=$TIME$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdate_file=/usr/local/nagios/perf/serviceperf.log xpdfile_host_perfdata_template=$TIME$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ The problem: No data is logged. Do you have any ideas where my failure is? Thanx, Kai. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Fri Oct 25 14:12:48 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 08:12:48 -0400 Subject: 3 Issues Message-ID: also ensure that the user that runs your apache (for me this is apache) is a member of the group running nagios (for me this is nagios) a reboot also seems to be necessary after making the membership change. later, dean -----Original Message----- From: Erik N. Mullinix [mailto:e!mullin at Confi-chek.com] Sent: Thursday, October 24, 2002 10:44 PM To: James Clark Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] 3 Issues Hey James. I don't think I can answer all of these but I have run into the first and partially second issue. You must check and make sure the Nagios user has authority to use your Mail service. (Sendmail, etc). Check your settings for Apache again. Also make sure if your using 2.0 that you have the latest patch for Apache (security fix). ENM -----Original Message----- From: James Clark [mailto:jclark at polexis.com] Sent: Thursday, October 24, 2002 5:16 PM To: nagios-users at lists.sourceforge.net Cc: rmy at polexis.com Subject: [Nagios-users] 3 Issues Nagios, I am having three issues. First let me try to best clearly ask these in hopes of a clear response. 1. My notifications are not being sent out. I have forced a hosts service down for example http and I do not receive any alerts via email. I believe my contact file is correctly setup and defined.In /usr/local/nagios/etc/nagios.cfg I have enable_notifications=1. What is the problem and why am I not being sent alerts for down services? 2. In /usr/local/nagios/etc/cgi.cfg I have set use_authentication=1 but when I login as a user I can not view the pages due to a permission error. This is not an apache issue but rather an issue to access the cgi files with my username. I have the .htaccess file in my share and sbin folder so I am not sure what the problem is. Also when I login and provide my username and password the "Logged in as ?" is displayed in nagios. 3. When I enable default_user_name=guest in cgi.cfg I am not able to add a comment due to the /usr/local/nagios/var/rw/nagios.cwd file being set and reset to unwriteable permissions. When I chmod the file to 0777 it allows me to post a comment as guest or my user but then nagios changes the permissions back on this file. What should this be set to? If anyone can help that would be greatly appreciated. Thanks for your time. -- James Clark Junior Systems Administrator Polexis, Inc. Direct: 619-542-7209 Fax: 619-542-8675 http://www.polexis.com transforming data into knowledge ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Volker.Aust at premiere.de Fri Oct 25 14:25:19 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Fri, 25 Oct 2002 14:25:19 +0200 Subject: notify with qmail and gentoo problem Message-ID: Hi Lloyd, > -----Original Message----- > From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] > Sent: Friday, October 25, 2002 1:41 PM > To: 'sancho at sancho2k.net'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > Since I got the following in nagios.log: > [1035474094] Warning: Attempting to execute the command > "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress: > 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110 > seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY: ^^^^ > Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted > in a return code of 127. Make sure the script or binary you > are trying to execute actually exists... printf is not your problem, but at the mark there is no mail command. printf is only used to pipe the mail message body to your mail program. '-s "blah"' is the subject and 'meinholz at ...' is the receipient. I think qmail never see's your mail. Can you post your notify-by-email (or host-notify-by-email) command from your (misc-) commands.cfg? -vol ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Fri Oct 25 14:21:50 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 08:21:50 -0400 Subject: File-Based performance data options problem Message-ID: Good morning, i had this problem and, for a reason that still eludes me, it was necessary to enable the "performance data" on the "Process Info" page of the web interface. My guess is that it had something to do with state_retention or something related. later, dean -- dream outloud -----Original Message----- From: Kai Sulfrian [mailto:kai.sulfrian at alis.de] Sent: Friday, October 25, 2002 8:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] File-Based performance data options problem I configured and compiled nagios with "--with-file-perfdate". In hosts.cfg and services.cfg the "process_perf_data" option is set to 1 In nagios.cfg I added: process_performance_data=1 xpdfile_host_perfdate_file=/usr/local/nagios/perf/hostperf.log xpdfile_host_perfdata_template=$TIME$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdate_file=/usr/local/nagios/perf/serviceperf.log xpdfile_host_perfdata_template=$TIME$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t $PERFDATA$ The problem: No data is logged. Do you have any ideas where my failure is? Thanx, Kai. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Fri Oct 25 14:30:00 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 08:30:00 -0400 Subject: NSclient reads Memory wrong. Message-ID: Good morning, Thanks Tom, i knew i read about this somewhere and just couldn't remember where. Strange though, i am running sp6 as well. -----Original Message----- From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com] Sent: Friday, October 25, 2002 2:17 AM To: Bishop Dean Cc: 'rubiyz at yahoo.com'; 'nagios-users at sourceforge.net' Subject: Re: [Nagios-users] NSclient reads Memory wrong. Dear Dean, This is from the NSClient README: "Reported issues Wrong memory information reported by NSClient on some machine having lots of memory (bigger than 1GB). This is a Windows NT 4 bug and, according to Microsoft, should be corrected in SP7. " I'm not sure what you are experiencing is this same bug. What service pack level do you use? I am monitoring quite some Windows NT 4.0 servers with 4 GB of RAM and they don't have this problem. They all have SP6a installed (Terminal Servers have SP 6 which is in fact the same). Kind regards, Tom > "Bishop, Dean" wrote: > > Good morning, > > i am having trouble reading the Memory Usage on a WinNT4.0 > server using NSClient. The server has 2G physical RAM and 2G > pagefile. This is what NSClient give me: > > Memory usage: total:24.39 Mb - used: 1185.60 Mb (4862%) - free: > -1161.20 Mb (-4762%) > > What can i do to correct this? > > thanks, > dean > > [Image] > > Name: clip_image002.jpg > clip_image002.jpg Type: JPEG Image (image/jpeg) > Encoding: base64 -- Tom De Blende Senior NT Infrastructure Analyst (Frango) DHL Global Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Meinholz at bmpcoe.org Fri Oct 25 14:42:09 2002 From: Meinholz at bmpcoe.org (Lloyd Meinholz) Date: Fri, 25 Oct 2002 08:42:09 -0400 Subject: notify with qmail and gentoo problem Message-ID: <515A91294CBCD211B7C500508B8B2BC4C2C663@nemesis.bmpcoe.org> Here's my command form misc_commands.cfg: # 'notify-by-email' command definition define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } I assumed this command was right and I just didn't know what was going on with the "| -s" part. It is possible that I didn't have my mail system installed and configured when I installed nagios (new box), so perhaps it didn't find any mail stuff and left parts of this command empty??? I'll try a new make install-config and see if I get anything interesting in misc_commands.cfg... Lloyd > -----Original Message----- > From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] > Sent: Friday, October 25, 2002 8:25 AM > To: nagios-users at lists.sourceforge.net > Cc: Meinholz at bmpcoe.org > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > Hi Lloyd, > > > -----Original Message----- > > From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] > > Sent: Friday, October 25, 2002 1:41 PM > > To: 'sancho at sancho2k.net'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > > > Since I got the following in nagios.log: > > [1035474094] Warning: Attempting to execute the command > > "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress: > > 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110 > > seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY: > ^^^^ > > Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted > > in a return code of 127. Make sure the script or binary you > > are trying to execute actually exists... > > > > printf is not your problem, but at the mark there is no mail > command. printf > is only used to pipe the mail message body to your mail > program. '-s "blah"' > is the subject and 'meinholz at ...' is the receipient. I think > qmail never > see's your mail. > > Can you post your notify-by-email (or host-notify-by-email) > command from > your (misc-) commands.cfg? > > -vol > -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Fri Oct 25 14:50:09 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 25 Oct 2002 08:50:09 -0400 Subject: VRML Status Page Stopped Working Message-ID: <5593DA408212D511B0910002A513501F01D287C4@phsexch20.mgh.harvard.edu> Hi Theo, If you go to the CVS link on the Nagios website, you will find the new version of the statuswrl.c source code. It is located in the the cgi directory link on that page. You will need to compile in order for it to work. Once that is done, the problem with the host names should be a thing of the past. -----Original Message----- From: Theo Hollenberg [mailto:thollenberg at planet.nl] Sent: Friday, October 25, 2002 5:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] VRML Status Page Stopped Working Hi, Has anyone looked into this statuswrl.cgi dot-related problem? It would be nice to have that fixed, especially since almost all my hostnames have dots in them :-) Maybe it's fixed already but I wouldn't know where to get a new release of this cgi module. Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Hatfield Sent: vrijdag 25 oktober 2002 9:46 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rubiyz at yahoo.com Fri Oct 25 14:53:00 2002 From: rubiyz at yahoo.com (Yves Rubin) Date: Fri, 25 Oct 2002 05:53:00 -0700 (PDT) Subject: NSclient reads Memory wrong. In-Reply-To: References: Message-ID: <20021025125300.48709.qmail@web20710.mail.yahoo.com> This is a Microsoft documented bug in Windows NT 4 server. Not much to to as it should have been fixed in sp7 which never went out... You can see it when memory is bigger than 2GB... cheers, Yves --- "Bishop, Dean" wrote: > Good morning, > > i am having trouble reading the Memory Usage > on a WinNT4.0 server > using NSClient. The server has 2G physical RAM and > 2G pagefile. This is > what NSClient give me: > > Memory usage: total:24.39 Mb - used: 1185.60 Mb > (4862%) - free: -1161.20 Mb > (-4762%) > > What can i do to correct this? > > thanks, > dean > > > > > ATTACHMENT part 2 image/jpeg name=clip_image002.jpg ===== ----------------------- Yves Rubin Mail: rubiyz at yahoo.com __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From thollenberg at planet.nl Fri Oct 25 14:56:46 2002 From: thollenberg at planet.nl (Theo Hollenberg) Date: Fri, 25 Oct 2002 14:56:46 +0200 Subject: VRML Status Page Stopped Working In-Reply-To: <5593DA408212D511B0910002A513501F01D287C4@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D287C4@phsexch20.mgh.harvard.edu> Message-ID: <000d01c27c25$f9d73520$9600000a@woodstock> Thank you very much, My day is definitely picking up. Cheers, Theo Hollenberg -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: vrijdag 25 oktober 2002 14:50 To: 'Theo Hollenberg' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working Hi Theo, If you go to the CVS link on the Nagios website, you will find the new version of the statuswrl.c source code. It is located in the the cgi directory link on that page. You will need to compile in order for it to work. Once that is done, the problem with the host names should be a thing of the past. -----Original Message----- From: Theo Hollenberg [mailto:thollenberg at planet.nl] Sent: Friday, October 25, 2002 5:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] VRML Status Page Stopped Working Hi, Has anyone looked into this statuswrl.cgi dot-related problem? It would be nice to have that fixed, especially since almost all my hostnames have dots in them :-) Maybe it's fixed already but I wouldn't know where to get a new release of this cgi module. Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Hatfield Sent: vrijdag 25 oktober 2002 9:46 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Fri Oct 25 15:04:55 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 09:04:55 -0400 Subject: nagios server services -- feature request? Message-ID: Good morning, i would like to monitor things like disk space and CPULoad on my Nagios box and cannot see any way other than to add a new host and associated services. i don't currently use the maps but i can see where this might be a bit confusing if someone does. Is there a way of creating services that are on the Nagios host without creating a new host in hosts.cfg? If not, perhaps this would be a nice feature. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Marcus.Nilsson at Cannondale.com Fri Oct 25 15:08:24 2002 From: Marcus.Nilsson at Cannondale.com (Marcus Nilsson) Date: Fri, 25 Oct 2002 15:08:24 +0200 Subject: notify with qmail and gentoo problem Message-ID: Try: command_line /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ This should work if you have sendmail and mail installed. If not, try sending a mail from commandline with something like 'echo test | sendmail mail at host.com' (without the quotes) to make sure your mail sub-system is working. Marcus -----Original Message----- From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] Sent: Friday, October 25, 2002 5:42 AM To: 'Volker.Aust at premiere.de'; nagios-users at lists.sourceforge.net Cc: Lloyd Meinholz Subject: RE: [Nagios-users] notify with qmail and gentoo problem Here's my command form misc_commands.cfg: # 'notify-by-email' command definition define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } I assumed this command was right and I just didn't know what was going on with the "| -s" part. It is possible that I didn't have my mail system installed and configured when I installed nagios (new box), so perhaps it didn't find any mail stuff and left parts of this command empty??? I'll try a new make install-config and see if I get anything interesting in misc_commands.cfg... Lloyd > -----Original Message----- > From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] > Sent: Friday, October 25, 2002 8:25 AM > To: nagios-users at lists.sourceforge.net > Cc: Meinholz at bmpcoe.org > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > Hi Lloyd, > > > -----Original Message----- > > From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] > > Sent: Friday, October 25, 2002 1:41 PM > > To: 'sancho at sancho2k.net'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > > > Since I got the following in nagios.log: > > [1035474094] Warning: Attempting to execute the command > > "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress: > > 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110 > > seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY: > ^^^^ > > Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted > > in a return code of 127. Make sure the script or binary you > > are trying to execute actually exists... > > > > printf is not your problem, but at the mark there is no mail > command. printf > is only used to pipe the mail message body to your mail > program. '-s "blah"' > is the subject and 'meinholz at ...' is the receipient. I think > qmail never > see's your mail. > > Can you post your notify-by-email (or host-notify-by-email) > command from > your (misc-) commands.cfg? > > -vol > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Volker.Aust at premiere.de Fri Oct 25 15:06:42 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Fri, 25 Oct 2002 15:06:42 +0200 Subject: notify with qmail and gentoo problem Message-ID: There is definitely something missing in the "| -s" part. Try to insert /usr/bin/mail (or /usr/bin/mailx, if you have Solaris). -vol > -----Original Message----- > From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] > Sent: Friday, October 25, 2002 2:42 PM > To: 'Volker.Aust at premiere.de'; nagios-users at lists.sourceforge.net > Cc: Lloyd Meinholz > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > Here's my command form misc_commands.cfg: > # 'notify-by-email' command definition > define command { > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > 1.0b6 *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > I assumed this command was right and I just didn't know what > was going on with the "| -s" part. It is possible that I > didn't have my mail system installed and configured when I > installed nagios (new box), so perhaps it didn't find any > mail stuff and left parts of this command empty??? I'll try a > new make install-config and see if I get anything interesting > in misc_commands.cfg... > Lloyd > > > > > -----Original Message----- > > From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] > > Sent: Friday, October 25, 2002 8:25 AM > > To: nagios-users at lists.sourceforge.net > > Cc: Meinholz at bmpcoe.org > > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > > > > Hi Lloyd, > > > > > -----Original Message----- > > > From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org] > > > Sent: Friday, October 25, 2002 1:41 PM > > > To: 'sancho at sancho2k.net'; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > > > > > > > Since I got the following in nagios.log: > > > [1035474094] Warning: Attempting to execute the command > > > "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress: > > > 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110 > > > seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY: > > ^^^^ > > > Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted > > > in a return code of 127. Make sure the script or binary you > > > are trying to execute actually exists... > > > > > > > > printf is not your problem, but at the mark there is no mail > > command. printf > > is only used to pipe the mail message body to your mail > > program. '-s "blah"' > > is the subject and 'meinholz at ...' is the receipient. I think > > qmail never > > see's your mail. > > > > Can you post your notify-by-email (or host-notify-by-email) > > command from > > your (misc-) commands.cfg? > > > > -vol > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Meinholz at bmpcoe.org Fri Oct 25 15:35:01 2002 From: Meinholz at bmpcoe.org (Lloyd Meinholz) Date: Fri, 25 Oct 2002 09:35:01 -0400 Subject: notify with qmail and gentoo problem Message-ID: <515A91294CBCD211B7C500508B8B2BC4C2C664@nemesis.bmpcoe.org> Thanks to everyone who has responded!!! Apparently the problem is that my Linux installation (Gentoo 1.4 rc1) installs mail in /bin/mail instead of /usr/bin/mail and the make install-config didn't catch that and I wasn't swift enough to figure out the mail line in misc_commands.cfg. BTW, Solaris seems to put it in both locations. I just added /bin/mail before the -s in misc_commands.cfg and all works fine now. I don't know how strange my installation is (default mail location for gentoo) but maybe it's good to look for mail in /bin/mail also? Maybe people consider gentoo broken, dunno, not a mail expert... Thanks again!!! Lloyd > -----Original Message----- > From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] > Sent: Friday, October 25, 2002 9:07 AM > To: nagios-users at lists.sourceforge.net > Cc: Meinholz at bmpcoe.org > Subject: RE: [Nagios-users] notify with qmail and gentoo problem > > > There is definitely something missing in the "| -s" part. > Try to insert > /usr/bin/mail (or /usr/bin/mailx, if you have Solaris). > > -vol -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wibo.Lammerts at hmg.nl Fri Oct 25 15:46:02 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Fri, 25 Oct 2002 15:46:02 +0200 Subject: NWSTAT Message-ID: Hi all, Here is a nice one for you people to figure out this weekend! I have successfully configured check_nwstat with the MRTGEXT.NLM to monitor all kinds of things. My question is this: when I cause an abend on a Netware server with ABENDEMO.NLM I get notified that there actually an Abend took place, but it does not say what kind of abend it was. Another one: I get notified and warned that CPU load is beyond threshold I set for it, but it does not say how high it actually was. This way it is not possible to actually see in histograms how high the cpu load has been over a period of time? Is this not possible with Nagios, or do I need to configure something else? Happy weekend, Wibo Lammerts Systems Engineer Holland Media Groep / RTL Group S.A. ***** Nagios 1.0b6 ***** Notification Type: PROBLEM Service: ABENDS Host: BLAKULA.HMG.NET Address: 146.231.231.21 State: WARNING Date/Time: Fri Oct 25 15:40:52 CEST 2002 Additional Info: 1 abended threads ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From pamirian at calculus.ca Fri Oct 25 15:53:30 2002 From: pamirian at calculus.ca (Patrick Amirian) Date: Fri, 25 Oct 2002 09:53:30 -0400 Subject: ntray (win2k) and nagios Message-ID: <000c01c27c2d$e6ab6540$c8040201@PAIE250> Hi, I'm trying to install ntray in order to monitor my W2k systems but I'm having problems. I've been looking around to get some infos on how to use ntray but I can't find anything. Has anyone done this? Can I get some hints or tips on how to setup ntray and then make it work on nagios? Or any links . docs? Do you suggest any other tool than ntray to monitor W2k systems? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurt at emsp.no Fri Oct 25 16:09:46 2002 From: kurt at emsp.no (=?iso-8859-1?Q?Kurt_Inge_Sm=E5dal?=) Date: Fri, 25 Oct 2002 16:09:46 +0200 Subject: Check only once a day. Message-ID: <1B0C82B48CB8F24B95824093A727362701E4F0@pat.intern.emsp.no> Hello. I've just started using nagios and there are one thing I couldn't figure out by reading the documentation. Is it possible to have nagios check a service just ones a day ? Like if I want to check a service only at 03.00 at night every day .. How should I set this up, if it is possible .. Regards Kurt Inge Sm?dal ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From anders at jblinux.net Fri Oct 25 16:09:59 2002 From: anders at jblinux.net (Anders Nerheim) Date: 25 Oct 2002 16:09:59 +0200 Subject: ntray (win2k) and nagios In-Reply-To: <000c01c27c2d$e6ab6540$c8040201@PAIE250> References: <000c01c27c2d$e6ab6540$c8040201@PAIE250> Message-ID: <1035554999.1766.1.camel@aten> ntray is a small & neat program that monitors nagios output (it makes noises and different colors.. WOoo! :), if you want to monitor w2k stuff get the NSclient. On Fri, 2002-10-25 at 15:53, Patrick Amirian wrote: > Hi, > I'm trying to install ntray in order to monitor my W2k systems but I'm > having problems. I've been looking around to get some infos on how to > use ntray but I can't find anything. Has anyone done this? Can I get > some hints or tips on how to setup ntray and then make it work on > nagios? Or any links . docs? > > Do you suggest any other tool than ntray to monitor W2k systems? > > Thanks. > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Fri Oct 25 16:23:27 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 10:23:27 -0400 Subject: [Nagios-devel] Re: how long does a check_tcp s ervice check take? Message-ID: Holy Crap!!! ok, well i guess my suspicion that Nagios is balancing is correct. Nagios is just too smart for me. What i did was look at the output of 'nagios -s' (which estimated 17 minutes to complete the checks) and aimed a bit above that. now that i have set everything to run every 5 minutes, i have only a small amount of latency. Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 266 (17.0%) <= 5 minutes: 1551 (99.2%) <= 15 minutes: 1555 (99.5%) <= 1 hour: 1555 (99.5%) Since program start: 1555 (99.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 11 sec 0.324 sec Check Latency: < 1 sec 3 sec 0.628 sec Percent State Change: 0.00% 0.00% 0.00% way to go Nagios. Always impressive. later, dean -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Thursday, October 24, 2002 10:42 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp service check take? Did you try changing the normal_check_interval to 5 minutes for everything? > sure. i have two normal_check_interval values. Once for switches' > check_tcp!23 and check_nt(20minutes) and one for servers' check_tcp!135 (5 > minutes). > > i had the everything set for 20 minutes but i really need the information > faster. i changed it just to see what would happen and i am seeing no > increase in time. > > This just doesn't make sense to me. i went from 1400 services at a 20 > minute interval to 1200 services at 20 minutes and 200 services at a 5 > minute interval and they all seem to be getting done within 20 minutes. My > math says that effectively i have 1400+200*4=2200 services being checked in > a 20 minute window. > > hmmm. Is Nagios adjusting speed to balance the load? > > i ran 'nagios -s' to get an idea of what my interval should be and it said > 17 minutes. i realize that this is meant as a reference only but.... > > by the way, even though i have added 250 check_nt services (at 20 minute > intervals) my 'nagios -s' provides the same value. > > anyway, here is my snippet > > > thanks, > dean > > > > # Generic service definition template > > define service{ > name generic-service > > active_checks_enabled 1 > check_freshness 0 > check_period 24x7 > event_handler_enabled 1 > flap_detection_enabled 1 > is_volatile 0 > max_check_attempts 2 > normal_check_interval 20 > notification_interval 60 > notification_options u,c,r > notification_period 24x7 > notifications_enabled 1 > obsess_over_service 0 > parallelize_check 1 > passive_checks_enabled 1 > process_perf_data 1 > retain_nonstatus_information 1 > retain_status_information 1 > retry_check_interval 2 > register 0 > } > > > # Service definition for a basic Server > define service { > name Port-Check-135 > use generic-service > service_description Port Check-135 > normal_check_interval 5 > check_command check_tcp!135 > register 0 > } > > # Service definition for a basic Switch > define service { > name Port-Check-23 > use generic-service > service_description Port Check-23 > check_command check_tcp!23 > register 0 > } > > > -----Original Message----- > From: Mike McClure [mailto:mmcclure at pneservices.com] > Sent: Thursday, October 24, 2002 10:09 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] Re: [Nagios-users] how long does a check_tcp > service check take? > > > Dean, > > What are the "normal_check_interval" settings on your services? Can you > post a > portion of your services.cfg file? > > Mike > >> Good morning, >> >> i am in the process of trying to squeeze as much out of my box as >> possible and have some problems understanding what is happening. >> >> i started out on a P-II 350 with 384M RAM. i added about 1400 >> services most of which are check_tcp checks. These checks report that the >> response came in 0 seconds. i know that this isn't a true reading but it > at >> least tells me that it took less than 1 second. >> >> It actually takes about 17 minutes to complete these checks. Doing >> the math 1400/(17*50) it is taking about 3/4 seconds per check. >> >> i moved this installation (physically moved the hdd) to a P-4 800 >> (Non-Celeron). i was hoping for an improvement. i didn't see one. It >> still takes 17 minutes. >> >> >> Is there any way of speeding this up or am i now at the mercy of the >> network? >> >> What would happen if i add another NIC? Would the load be balanced? >> >> i have diddled with varios settings in my nagios.cfg but nothing >> seems to help. >> >> thanks in advance, >> dean >> >> >> nagios.cfg >> ---------- >> log_file=/usr/local/nagios/var/nagios.log >> cfg_file=/usr/local/nagios/etc/checkcommands.cfg >> cfg_file=/usr/local/nagios/etc/misccommands.cfg >> cfg_file=/usr/local/nagios/etc/contactgroups.cfg >> cfg_file=/usr/local/nagios/etc/contacts.cfg >> cfg_file=/usr/local/nagios/etc/dependencies.cfg >> cfg_file=/usr/local/nagios/etc/escalations.cfg >> cfg_file=/usr/local/nagios/etc/hostgroups.cfg >> cfg_file=/usr/local/nagios/etc/hosts.cfg >> cfg_file=/usr/local/nagios/etc/services.cfg >> cfg_file=/usr/local/nagios/etc/timeperiods.cfg >> resource_file=/usr/local/nagios/etc/resource.cfg >> status_file=/usr/local/nagios/var/status.log >> nagios_user=nagios >> nagios_group=nagios >> check_external_commands=1 >> command_check_interval=-1 >> command_file=/usr/local/nagios/var/rw/nagios.cmd >> comment_file=/usr/local/nagios/var/comment.log >> downtime_file=/usr/local/nagios/var/downtime.log >> lock_file=/usr/local/nagios/var/nagios.lock >> temp_file=/usr/local/nagios/var/nagios.tmp >> log_rotation_method=d >> log_archive_path=/usr/local/nagios/var/archives >> use_syslog=0 >> log_notifications=1 >> log_service_retries=1 >> log_host_retries=1 >> log_event_handlers=1 >> log_initial_states=1 >> log_external_commands=1 >> log_passive_service_checks=1 >> #global_host_event_handler=somecommand >> #global_service_event_handler=somecommand >> inter_check_delay_method=s >> service_interleave_factor=s >> max_concurrent_checks=0 >> service_reaper_frequency=2 >> sleep_time=1 >> service_check_timeout=60 >> host_check_timeout=30 >> event_handler_timeout=30 >> notification_timeout=30 >> ocsp_timeout=5 >> perfdata_timeout=5 >> retain_state_information=1 >> state_retention_file=/usr/local/nagios/var/status.sav >> retention_update_interval=60 >> 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=process-host-perfdata >> service_perfdata_command=process-service-perfdata >> obsess_over_services=0 >> #ocsp_command=somecommand >> check_for_orphaned_services=0 >> check_service_freshness=1 >> freshness_check_interval=60 >> aggregate_status_updates=1 >> status_update_interval=15 >> enable_flap_detection=0 >> low_service_flap_threshold=5.0 >> high_service_flap_threshold=20.0 >> low_host_flap_threshold=5.0 >> high_host_flap_threshold=20.0 >> date_format=euro >> admin_email=nagios >> admin_pager=pagenagios >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jduraisw at smtp.aed.org Fri Oct 25 16:22:14 2002 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Fri, 25 Oct 2002 10:22:14 -0400 Subject: MRTG and MRTGTRAF Message-ID: I want to configure MRTGT or MRTGTRAF for all my switches. If you have any commmand configs or any other info please help me. Thanks John ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Fri Oct 25 16:32:05 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 25 Oct 2002 10:32:05 -0400 Subject: Check only once a day. Message-ID: Good morning, create a time period: define timeperiod{ timeperiod_name 3am-check alias 3am-check sunday 03:00-3:15 monday 03:00-3:15 tuesday 03:00-3:15 wednesday 03:00-3:15 thursday 03:00-3:15 friday 03:00-3:15 saturday 03:00-3:15 } then the service and tell it to only check during the defined timeperiod: define service{ host_name linux-server service_description check-whatever-at-3am check_command check-host-alive max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period 3am-check notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups linux-admins } Just consider all possible conditions so that you can accurately handle timing: --Everything is OK, so only a successful service check is run. This should only take a few seconds at most. --Service is Non-OK, host is OK. Timeout value for the service + a successful host check. Then service retry attempts * service timeout value. --Host is Non-OK. Timeout value for a service check + timeout for max_check_attempts for host check. you get the idea. later, dean -- dream outloud -----Original Message----- From: Kurt Inge Sm?dal [mailto:kurt at emsp.no] Sent: Friday, October 25, 2002 10:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check only once a day. Hello. I've just started using nagios and there are one thing I couldn't figure out by reading the documentation. Is it possible to have nagios check a service just ones a day ? Like if I want to check a service only at 03.00 at night every day .. How should I set this up, if it is possible .. Regards Kurt Inge Sm?dal ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jcarro10 at sprintspectrum.com Fri Oct 25 16:35:07 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 25 Oct 2002 09:35:07 -0500 Subject: VRML Status Page Stopped Working Message-ID: According to an e-mail that Ethan posted to this list on Oct.22, the fix for this was just submitted to CVS. jc -----Original Message----- From: Theo Hollenberg [mailto:thollenberg at planet.nl] Sent: Friday, October 25, 2002 4:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] VRML Status Page Stopped Working Hi, Has anyone looked into this statuswrl.cgi dot-related problem? It would be nice to have that fixed, especially since almost all my hostnames have dots in them :-) Maybe it's fixed already but I wouldn't know where to get a new release of this cgi module. Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Hatfield Sent: vrijdag 25 oktober 2002 9:46 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Fri Oct 25 16:58:10 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 25 Oct 2002 10:58:10 -0400 Subject: Authorization granularization Message-ID: <0DA06E553C3BD511823500508BB8965A02D20A94@exnadetmbx3.ams.gblxint.com> All, I, like the rest of you, have multiple host groups. Is there a way to grant authorization to a user to schedule downtime in only one of those groups. i.e.. Say I have three hostgroups: A, B,C I have users Alfred, Bert, and Chris Can I grant Alfred permission to schedule downtime in hostgroup A but not B or C and the corresponding permissions to Bert and Chris??? Thanks Daniel ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Robert.Wagner at wausaubenefits.com Fri Oct 25 16:55:58 2002 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Fri, 25 Oct 2002 09:55:58 -0500 Subject: ntray (win2k) and nagios Message-ID: Ntray is not really a monitoring tool. NTray is used to watch the 'Status Summary' page of your Nagios Web Server and show you what the overall status of things is. I wrote it because our pagers don't get any reception in our building at work, but I would like an immediate notice that something has gone wrong. It just puts an icon in your SysTray that changes colors (Red/Yellow/Green). If you're looking to monitor memory/cpu/services/other on your Win2k systems, I would recommend NSCClient. This will allow Nagios to poll your monitored win2k systems for information. Rob Wagner, NTray guy >Hi, >I'm trying to install ntray in order to monitor my W2k systems but I'm >having problems. I've been looking around to get some infos on how to >use ntray but I can't find anything. Has anyone done this? Can I get >some hints or tips on how to setup ntray and then make it work on >nagios? Or any links . docs? >Do you suggest any other tool than ntray to monitor W2k systems? >Thanks. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jeff.rendl at ifsna.com Fri Oct 25 17:17:10 2002 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Fri, 25 Oct 2002 10:17:10 -0500 Subject: Right way have handling HOST HEADER Servers Message-ID: <372E1E73DFD59941A76494F0219A2574043581DE@mkemail.namerica.corpnet.ifsworld.com> In services.cfg, for this particular web server, I have the following: host_name bigwebserver ...blah, blah, blah check_command check_http -H virtualhost.thisplace.com -u /thisdir } It worded before I added the host header stuff, but the web server doesn't give anything back when you go to it by its host name, only when you go by one of the *many* hosted sites on the server. Am I fundamentally missing something here? What's the right way to setup a web server in Nagios that has many different sites running on it? Do I setup individual hosts for it for each site? I really don't want this thing showing up as a bunch of hosts, but if I must, I must. Thanks! -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Fri Oct 25 17:34:25 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 25 Oct 2002 08:34:25 -0700 (PDT) Subject: Host Time Periods?!?-Suggestions please.. Message-ID: <20021025153425.83928.qmail@web21504.mail.yahoo.com> Hi, The situation I'm trying to aviod is routerA goes down during my (service) Non-notification_period, and I not knowing that routerA is down AFTER the non-notification_period has expired is down without looking at the website. What I'd really like to do is be able to supress all notifications for a group of hosts(not just services), and if a host happends to goes down during the non-notification_period, I'd like NOT to recieve a notificition, if the host is still down after the non-notification_period I'd like to get a notification...So I'd I'd only get paged if they were still down after the non-notification_period. My understanding is that if a timeout period is used, no notifications are sent out, and none will be issused unless the host changes state again after the timeout period. Any suggestions? Hey, I'm trying to cut down on the number of pages I'm getting during off hours, so I've setup service_notification_timeperiods, for my services, however I still recieve (can be tons) of pages for the host being down. --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Fri Oct 25 17:37:29 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 25 Oct 2002 08:37:29 -0700 (PDT) Subject: ntray (win2k) and nagios In-Reply-To: References: Message-ID: <20021025153729.68476.qmail@web21507.mail.yahoo.com> Hey, the new version seems to work pretty well, however when I double click on icons with a NT 4.0 machine the website isn't launched(did on win2000). Robert Wagner wrote: Ntray is not really a monitoring tool. NTray is used to watch the 'Status Summary' page of your Nagios Web Server and show you what the overall status of things is. I wrote it because our pagers don't get any reception in our building at work, but I would like an immediate notice that something has gone wrong. It just puts an icon in your SysTray that changes colors (Red/Yellow/Green). If you're looking to monitor memory/cpu/services/other on your Win2k systems, I would recommend NSCClient. This will allow Nagios to poll your monitored win2k systems for information. Rob Wagner, NTray guy >Hi, >I'm trying to install ntray in order to monitor my W2k systems but I'm >having problems. I've been looking around to get some infos on how to >use ntray but I can't find anything. Has anyone done this? Can I get >some hints or tips on how to setup ntray and then make it work on >nagios? Or any links . docs? >Do you suggest any other tool than ntray to monitor W2k systems? >Thanks. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From thollenberg at planet.nl Fri Oct 25 18:01:50 2002 From: thollenberg at planet.nl (Theo Hollenberg) Date: Fri, 25 Oct 2002 18:01:50 +0200 Subject: VRML Status Page Stopped Working In-Reply-To: References: Message-ID: <001f01c27c3f$d419f510$9600000a@woodstock> The VRML file header not found or unsupported encoding type File: http://nagios.hollenberg.biz/nagios/cgi-bin/statuswrl.cgi?host=all This was the error message I got after compiling and installing the last version of statuswrl.cgi. Does anyone have any ideas? Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: vrijdag 25 oktober 2002 16:35 To: 'Theo Hollenberg'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] VRML Status Page Stopped Working According to an e-mail that Ethan posted to this list on Oct.22, the fix for this was just submitted to CVS. jc -----Original Message----- From: Theo Hollenberg [mailto:thollenberg at planet.nl] Sent: Friday, October 25, 2002 4:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] VRML Status Page Stopped Working Hi, Has anyone looked into this statuswrl.cgi dot-related problem? It would be nice to have that fixed, especially since almost all my hostnames have dots in them :-) Maybe it's fixed already but I wouldn't know where to get a new release of this cgi module. Cheers, Theo Hollenberg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Hatfield Sent: vrijdag 25 oktober 2002 9:46 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML Status Page Stopped Working fixed it. the problem was that there were periods in the hostnames. changed them to underscores and it all works fine now. used lynx to save the vrml file to source (since IE wont) and opened it in vi. easy as pie from there cheers. -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Friday, 25 October 2002 2:22 AM To: Andrew Hatfield; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VRML Status Page Stopped Working Check your cgi.cfg & hostextinfo.cfg for errors.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Fri Oct 25 18:11:34 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 25 Oct 2002 09:11:34 -0700 (PDT) Subject: ntray (win2k) and nagios In-Reply-To: <20021025153729.68476.qmail@web21507.mail.yahoo.com> References: <20021025153729.68476.qmail@web21507.mail.yahoo.com> Message-ID: <20021025161134.75619.qmail@web21502.mail.yahoo.com> Oops, and it still crashed explorer when you double click on it.... nt 4.0 Jon Lyons wrote: Hey, the new version seems to work pretty well, however when I double click on icons with a NT 4.0 machine the website isn't launched(did on win2000). Robert Wagner wrote: Ntray is not really a monitoring tool. NTray is used to watch the 'Status Summary' page of your Nagios Web Server and show you what the overall status of things is. I wrote it because our pagers don't get any reception in our building at work, but I would like an immediate notice that something has gone wrong. It just puts an icon in your SysTray that changes colors (Red/Yellow/Green). If you're looking to monitor memory/cpu/services/other on your Win2k systems, I would recommend NSCClient. This will allow Nagios to poll your monitored win2k systems for information. Rob Wagner, NTray guy >Hi, >I'm trying to install ntray in order to monitor my W2k systems but I'm >having problems. I've been looking around to get some infos on how to >use ntray but I can't find anything. Has anyone done this? Can I get >some hints or tips on how to setup ntray and then make it work on >nagios? Or any links . docs? >Do you suggest any other tool than ntray to monitor W2k systems? >Thanks. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From lzxx4x at powertrain.mpg.gm.com Fri Oct 25 18:30:18 2002 From: lzxx4x at powertrain.mpg.gm.com (Amar S. Bhatti) Date: 25 Oct 2002 12:30:18 -0400 Subject: followup question about netsaint and nagios distributed monitoring setup In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey guys, I have not heard any reply to my question about being able to get passive data into central server running nagios from distributed machines running netsaint. Has anyone done this test to say that it cannot be done, and that if central is running nagios then it can only get passive service check data from distributed machines running nagios as well. Any help in this matter is greatly appreciated. Regards, - -- Amar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9uXGanyUZXrBbDskRAnQGAKCVUjws63+fedMObUyGcVDEF8h7KgCgtHh1 FBluNgIp4Eu0vf1LhVj7bCk= =INVR -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sghosh at sghosh.org Fri Oct 25 18:28:04 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 25 Oct 2002 12:28:04 -0400 (EDT) Subject: Right way have handling HOST HEADER Servers In-Reply-To: <372E1E73DFD59941A76494F0219A2574043581DE@mkemail.namerica.corpnet.ifsworld.com> References: <372E1E73DFD59941A76494F0219A2574043581DE@mkemail.namerica.corpnet.ifsworld.com> Message-ID: For host headers it is best to specify both -H and -I -H creates the host header -I (ip addr) send the request to the webserver -sg On Fri, 25 Oct 2002, Jeff Rendl wrote: > In services.cfg, for this particular web server, I have the following: > > host_name bigwebserver > ...blah, blah, blah > check_command check_http -H virtualhost.thisplace.com -u /thisdir > } > > It worded before I added the host header stuff, but the web server doesn't > give anything back when you go to it by its host name, only when you go by > one of the *many* hosted sites on the server. > > Am I fundamentally missing something here? What's the right way to setup a > web server in Nagios that has many different sites running on it? Do I > setup individual hosts for it for each site? I really don't want this thing > showing up as a bunch of hosts, but if I must, I must. > > Thanks! > -Jeff > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From pspa at gp.novis.pt Fri Oct 25 20:26:19 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: 25 Oct 2002 18:26:19 +0000 Subject: Right way have handling HOST HEADER Servers In-Reply-To: References: Message-ID: <1035570380.16639.9.camel@voodoo.ip.pt> One thing: If you use "check_http -H virtualhost.thisplace.com -u /thisdir" as the command, won't check_http resolve virtualhost.thisplace.com to it's IP address and then test THAT particular host ? That's particulary tricky if you have balanced (alteon, for example) webservers with virtualhosts. Using that command will ALWAYS check the virtualized website. To circunvent that, I'm using something like: check_command check_httpx!virtualhost.thisplace.com!/thisdir and specifying check_httpx as: define command{ command_name check_httpx command_line $USER1$/check_http -H $HOSTADDRESS$ -u http://$ARG1$$ARG2$ } It works, btw :-) Comments ? On Sex, 2002-10-25 at 16:28, Subhendu Ghosh wrote: > > For host headers it is best to specify both -H and -I > > -H creates the host header > -I (ip addr) send the request to the webserver > > -sg > > On Fri, 25 Oct 2002, Jeff Rendl wrote: > > > In services.cfg, for this particular web server, I have the following: > > > > host_name bigwebserver > > ...blah, blah, blah > > check_command check_http -H virtualhost.thisplace.com -u /thisdir > > } > > > > It worded before I added the host header stuff, but the web server doesn't > > give anything back when you go to it by its host name, only when you go by > > one of the *many* hosted sites on the server. > > > > Am I fundamentally missing something here? What's the right way to setup a > > web server in Nagios that has many different sites running on it? Do I > > setup individual hosts for it for each site? I really don't want this thing > > showing up as a bunch of hosts, but if I must, I must. > > > > Thanks! > > -Jeff > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Paulo Pinto Novis GSP pspa at gp.novis.pt ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jlyons30 at yahoo.com Fri Oct 25 19:35:06 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 25 Oct 2002 10:35:06 -0700 (PDT) Subject: Lotus notes plugin? In-Reply-To: <1035570380.16639.9.camel@voodoo.ip.pt> References: <1035570380.16639.9.camel@voodoo.ip.pt> Message-ID: <20021025173506.66627.qmail@web21510.mail.yahoo.com> Lotus notes plugin? Has anyone created one? --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbadrak at tco.census.gov Fri Oct 25 19:53:38 2002 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 25 Oct 2002 13:53:38 -0400 Subject: Lotus notes plugin? In-Reply-To: <20021025173506.66627.qmail@web21510.mail.yahoo.com> References: <20021025173506.66627.qmail@web21510.mail.yahoo.com> Message-ID: John, On Fri, 25 Oct 2002, Jon Lyons wrote: > > Lotus notes plugin? Has anyone created one? I just check for the Notes port: define command { command_name check_notes command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 1352 } If that's listening, I'm usually in good shape. 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: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jlyons30 at yahoo.com Fri Oct 25 19:56:17 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 25 Oct 2002 10:56:17 -0700 (PDT) Subject: Lotus notes plugin? In-Reply-To: References: Message-ID: <20021025175617.73790.qmail@web21510.mail.yahoo.com> Ok, Thanks... Don Badrak wrote:John, On Fri, 25 Oct 2002, Jon Lyons wrote: > > Lotus notes plugin? Has anyone created one? I just check for the Notes port: define command { command_name check_notes command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 1352 } If that's listening, I'm usually in good shape. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsm at inpro.net Fri Oct 25 21:26:36 2002 From: jsm at inpro.net (Jeff McKeon) Date: 25 Oct 2002 15:26:36 -0400 Subject: [Fwd: simple ping not working.] Message-ID: <1035573997.17979.14.camel@localhost.localdomain> Finally got Nagios up and running with the web interface. I've set up one host to monitor and one service.. ping. (craw b4 u walk philosophy) If I issue the ping plugin command manually I get back a good response. However when I run nagios I get this... "Warning: Return code of 127 for check of service 'PING' on host 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to run actually exists." ???? thanks, Jeff ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From stevelml1 at scee.sony.co.uk Fri Oct 25 22:01:33 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Fri, 25 Oct 2002 21:01:33 +0100 Subject: [Fwd: simple ping not working.] References: <1035573997.17979.14.camel@localhost.localdomain> Message-ID: <05eb01c27c61$51a142b0$ccfe10ac@niltxp> did you install the nagios plugins? they are *NOT* part of the basic Nagios install, you have to download/compile/install them seperately Steve ----- Original Message ----- From: "Jeff McKeon" To: "Nagios List" Sent: Friday, October 25, 2002 8:26 PM Subject: [Nagios-users] [Fwd: simple ping not working.] > > Finally got Nagios up and running with the web interface. I've set up > one host to monitor and one service.. ping. (craw b4 u walk philosophy) > > If I issue the ping plugin command manually I get back a good response. > However when I run nagios I get this... > > > "Warning: Return code of 127 for check of service 'PING' on host > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to > run actually exists." > > ???? > > thanks, > > Jeff > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jsm at inpro.net Fri Oct 25 22:13:46 2002 From: jsm at inpro.net (Jeff McKeon) Date: 25 Oct 2002 16:13:46 -0400 Subject: [Fwd: simple ping not working.] In-Reply-To: <05eb01c27c61$51a142b0$ccfe10ac@niltxp> References: <1035573997.17979.14.camel@localhost.localdomain> <05eb01c27c61$51a142b0$ccfe10ac@niltxp> Message-ID: <1035576826.17979.17.camel@localhost.localdomain> Yes, all pluggins are installed. As I said, I can issue a check_ping command (ie run the pluggin manually) as user nagios. I've also read the FAQ at the website that suggests that the nagios user may not have permissions to use the ping command. This is not the case. On Fri, 2002-10-25 at 16:01, Steve Loughran wrote: > did you install the nagios plugins? they are *NOT* part of the basic Nagios > install, you have to download/compile/install them seperately > > Steve > > ----- Original Message ----- > From: "Jeff McKeon" > To: "Nagios List" > Sent: Friday, October 25, 2002 8:26 PM > Subject: [Nagios-users] [Fwd: simple ping not working.] > > > > > > Finally got Nagios up and running with the web interface. I've set up > > one host to monitor and one service.. ping. (craw b4 u walk philosophy) > > > > If I issue the ping plugin command manually I get back a good response. > > However when I run nagios I get this... > > > > > > "Warning: Return code of 127 for check of service 'PING' on host > > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to > > run actually exists." > > > > ???? > > > > thanks, > > > > Jeff > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mmcclure at pneservices.com Fri Oct 25 22:36:59 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 25 Oct 2002 15:36:59 -0500 (CDT) Subject: [Fwd: simple ping not working.] In-Reply-To: <1035573997.17979.14.camel@localhost.localdomain> References: <1035573997.17979.14.camel@localhost.localdomain> Message-ID: <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> Hi Jeff, It would help tremendously if you'd tell us what version of Nagios, the plugins, and the operating system you are using. Configuration snippets would be nice too. Mike > > Finally got Nagios up and running with the web interface. I've set up > one host to monitor and one service.. ping. (craw b4 u walk philosophy) > > If I issue the ping plugin command manually I get back a good response. > However when I run nagios I get this... > > > "Warning: Return code of 127 for check of service 'PING' on host > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to > run actually exists." > > ???? > > thanks, > > Jeff > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jsm at inpro.net Fri Oct 25 22:17:10 2002 From: jsm at inpro.net (Jeff McKeon) Date: 25 Oct 2002 16:17:10 -0400 Subject: [Fwd: simple ping not working.] In-Reply-To: <05eb01c27c61$51a142b0$ccfe10ac@niltxp> References: <1035573997.17979.14.camel@localhost.localdomain> <05eb01c27c61$51a142b0$ccfe10ac@niltxp> Message-ID: <1035577030.17853.21.camel@localhost.localdomain> Proof... check_ping run manually as user nagios [nagios at localhost libexec]$ ./check_ping 10.16.1.7 -w 10,60% -c 15,80% PING OK - Packet loss = 0%, RTA = 0.49 ms [nagios at localhost libexec]$ ls of /usr/local/nagios/libexec/ [nagios at localhost libexec]$ ls check_breeze check_http check_nagios check_rpc check_users check_by_ssh check_ifoperstatus check_nntp check_sensors check_vsz check_dig check_ifstatus check_ntp check_smtp check_wave check_disk check_imap check_nwstat check_snmp negate check_disk_smb check_ircd check_oracle check_ssh urlize check_dns check_ldap check_overcr check_swap utils.pm check_dummy check_load check_ping check_tcp utils.sh check_flexlm check_log check_pop check_time check_ftp check_mrtg check_procs check_udp check_hpjd check_mrtgtraf check_real check_ups [nagios at localhost libexec]$ On Fri, 2002-10-25 at 16:01, Steve Loughran wrote: > did you install the nagios plugins? they are *NOT* part of the basic Nagios > install, you have to download/compile/install them seperately > > Steve > > ----- Original Message ----- > From: "Jeff McKeon" > To: "Nagios List" > Sent: Friday, October 25, 2002 8:26 PM > Subject: [Nagios-users] [Fwd: simple ping not working.] > > > > > > Finally got Nagios up and running with the web interface. I've set up > > one host to monitor and one service.. ping. (craw b4 u walk philosophy) > > > > If I issue the ping plugin command manually I get back a good response. > > However when I run nagios I get this... > > > > > > "Warning: Return code of 127 for check of service 'PING' on host > > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to > > run actually exists." > > > > ???? > > > > thanks, > > > > Jeff > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jsm at inpro.net Fri Oct 25 22:31:00 2002 From: jsm at inpro.net (Jeff McKeon) Date: 25 Oct 2002 16:31:00 -0400 Subject: [Fwd: simple ping not working.] In-Reply-To: <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> References: <1035573997.17979.14.camel@localhost.localdomain> <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> Message-ID: <1035577861.17979.27.camel@rh80-jsm> Mike, Yes I suppose it would.. my appologies.. RedHat 8.0 system Nagiosplug-1.3-beta1 (the latest from the cvs as of earlier today) services.cfg: --snip-- # Service definition define service{ use generic-service ; Name of service template to use host_name datacenter_PC service_description PING 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 c,r check_command check_ping!100.0,20%!500.0,60% } ---snip--- checkcommand.cfg: --snip-- # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } --snip-- I suspect my problem is here but I can't find any docs on how to correct this config file for my system. Instruction I have found for this are VERY cryptic and basically just say, "this probably won't work, you must make changes to fit your system...." On Fri, 2002-10-25 at 16:36, Mike McClure wrote: > Hi Jeff, > > It would help tremendously if you'd tell us what version of Nagios, the plugins, and > the operating system you are using. > > Configuration snippets would be nice too. > > Mike > > > > > Finally got Nagios up and running with the web interface. I've set up > > one host to monitor and one service.. ping. (craw b4 u walk philosophy) > > > > If I issue the ping plugin command manually I get back a good response. > > However when I run nagios I get this... > > > > > > "Warning: Return code of 127 for check of service 'PING' on host > > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to > > run actually exists." > > > > ???? > > > > thanks, > > > > Jeff > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From NSosa at oas.org Fri Oct 25 22:46:43 2002 From: NSosa at oas.org (Sosa, Nelson) Date: Fri, 25 Oct 2002 16:46:43 -0400 Subject: Upgrading to new version of NAgios Message-ID: <86FC2125391CDE4C842D0407D5815560028CA6@condorito.oas.org> Hi, I'm running Nagios 1.0b4 and I would like to upgrade to the new version b6. Could somebody point me out to documentation on how to do this? I looked up in the Documentation in the nagios webpage and I couldn't find it. I apologize if this is a dumb question Thanks Nelson. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mmcclure at pneservices.com Fri Oct 25 22:48:07 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 25 Oct 2002 15:48:07 -0500 (CDT) Subject: [Fwd: simple ping not working.] In-Reply-To: <1035577030.17853.21.camel@localhost.localdomain> References: <1035573997.17979.14.camel@localhost.localdomain> <05eb01c27c61$51a142b0$ccfe10ac@niltxp> <1035577030.17853.21.camel@localhost.localdomain> Message-ID: <2388.192.168.1.9.1035578887.squirrel@xyzzy.homeip.net> Are you specifying the full path in the command definition? > Proof... > > check_ping run manually as user nagios > > [nagios at localhost libexec]$ ./check_ping 10.16.1.7 -w 10,60% -c 15,80% > PING OK - Packet loss = 0%, RTA = 0.49 ms > [nagios at localhost libexec]$ > > ls of /usr/local/nagios/libexec/ > > [nagios at localhost libexec]$ ls > check_breeze check_http check_nagios check_rpc > check_users > check_by_ssh check_ifoperstatus check_nntp check_sensors > check_vsz > check_dig check_ifstatus check_ntp check_smtp > check_wave > check_disk check_imap check_nwstat check_snmp negate > check_disk_smb check_ircd check_oracle check_ssh urlize > check_dns check_ldap check_overcr check_swap > utils.pm > check_dummy check_load check_ping check_tcp > utils.sh > check_flexlm check_log check_pop check_time > check_ftp check_mrtg check_procs check_udp > check_hpjd check_mrtgtraf check_real check_ups > [nagios at localhost libexec]$ > > > > On Fri, 2002-10-25 at 16:01, Steve Loughran wrote: >> did you install the nagios plugins? they are *NOT* part of the basic Nagios >> install, you have to download/compile/install them seperately >> >> Steve >> >> ----- Original Message ----- >> From: "Jeff McKeon" >> To: "Nagios List" >> Sent: Friday, October 25, 2002 8:26 PM >> Subject: [Nagios-users] [Fwd: simple ping not working.] >> >> >> > >> > Finally got Nagios up and running with the web interface. I've set up >> > one host to monitor and one service.. ping. (craw b4 u walk philosophy) >> > >> > If I issue the ping plugin command manually I get back a good response. >> > However when I run nagios I get this... >> > >> > >> > "Warning: Return code of 127 for check of service 'PING' on host >> > 'datacenter_PC' was out of bounds. Make sure the plugin you're trying to >> > run actually exists." >> > >> > ???? >> > >> > thanks, >> > >> > Jeff >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by: Influence the future >> > of Java(TM) technology. Join the Java Community >> > Process(SM) (JCP(SM)) program now. >> > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From albert.tobey at priority-health.com Fri Oct 25 23:04:15 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 25 Oct 2002 17:04:15 -0400 Subject: Another perfdata script (perl) Message-ID: <1035579855.24337.72.camel@linuxws1> WARNING: you will not have much success with this script unless you know some perl. Here is a first whack at a(nother) tool to put Nagios perfdata into rrd files. It's GPL and, as usual, comes with NO WARRANTY. It's still a little rough on the edges, but it does what I want it to. I still have yet to write the matching CGI, which might involve adding a function to this script to write some metadata. It's fairly customized to my particular setup, so unless you're as demented as I am, you'll have to make some changes to get anything useful out of it. For one thing, I define all my process monitors (using my snmp_process_monitor.pl that is somewhere in nagiosplugs contrib now) with a service name ending in _PROC so I can parse it out here. Also, all of my disks (another plugin in contrib I wrote) are named like STD_DISK or WEB_DISK so I can use that to find out what I'm actually graphing. You'll have to modify the if() series in the middle of the script (lines 44-70) to match the style of service naming you use. Also, it's likely that if you're not using the plugins I wrote, you'll have to modify (or rewrite your own) the functions at the bottom (process_multi() and process_single()). About those functions, you'll notice in the aforementioned if() tree that $process_func gets assigned a subref in a couple places. This is how the script is told which style of processing to use on a input source. Hopefully, this should make it easy to extend the script to handle a bunch of different perfdata outputs without modifying the core logic (or illogic - you decide). Basically, a plugin author could write one subroutine to be plugged in (via require()?) to parse their particular style of perfdata output. Hopefully there won't be too many styles to handle, but this script can handle them ;) If you don't like all the subdirs, just erase the concatenations and they won't get created. (i.e. $rrd_dir .= '/interfaces'; # delete this line) Here are some example command definitions I use: ; FILE: misccommands.cfg define command { command_name process-service-perfdata command_line /opt/nagios/libexec/process_perfdata.pl $HOSTNAME$ $SERVICEDESC$ $LASTCHECK$ $PERFDATA$ } define command { command_name process-host-perfdata command_line /opt/nagios/libexec/process_perfdata.pl $HOSTNAME$ HOSTCHECK $LASTCHECK$ $PERFDATA$ } ; FILE: checkcommands.cfg ; this disk command can check and return multiple disks at a time define command { command_name check_disk command_line $USER1$/snmp_disk_monitor.pl -s -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -m $ARG1$ } ; this will watch how much CPU and memory a process is using according to the host-resources MIB define command { command_name check_process_perf command_line $USER1$/snmp_process_monitor.pl -t 60 --memory --cpu -s -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -e $ARG1$ } Have fun and send me any feedback you may have. -Al Tobey Unix Administrator Priority Health Managed Benefits ******************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the Priority Health Information Services Department at (616) 942-0954. ******************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: process_perfdata.pl Type: text/x-perl Size: 6797 bytes Desc: not available URL: From jcarro10 at sprintspectrum.com Fri Oct 25 23:38:26 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 25 Oct 2002 16:38:26 -0500 Subject: NRPE inconsistency Message-ID: Synopsis: check_nrpe behaves inconsistently at the command line, but in a predictable way. Environment: - Nagios server: RedHat 7.3 - NRPE client: Solaris8 - plugin: check_log2 (Perl version of check_log in contrib directory) All other NRPE checks are working just fine. But for 2 of my hosts, Nagios is reporting problems in /var/adm/messages. (Just for the sake of reference, the 2 hosts which aren't reporting correctly are itdmln14 and itdmln15.) Tests (apologies for the line wrap): $ ../libexec/check_nrpe itdmln14 -c check_log_err OK - No matches found. $ ../libexec/check_nrpe itdmln15 -c check_log_err (4): Oct 22 12:16:24 itdmln15 sshd[762]: [ID 800047 auth.error] error: setsockopt SO_KEEPALIVE: Invalid argument $ ../libexec/check_nrpe itdmln15 -c check_log_err OK - No matches found. $ ../libexec/check_nrpe itdmln14 -c check_log_err (2): Oct 23 20:28:10 itdmln14 nfs: [ID 664466 kern.notice] NFS getattr failed for server itdmln15: error 5 (RPC: Timed out) $ ../libexec/check_nrpe itdmln14 -c check_log_err OK - No matches found. Snippet from nrpe.cfg which is used on ALL hosts: command[check_log_err]=/home/nagios/libexec/check_log3 -l /var/adm/messages -s /home/nagios/.messages_err.seek -p "ERR|Err|err|PANIC|Panic|panic" -n "nrpe|uxw dog|sprintnb tldd|sprintnb ltid|sprintnb tldcd" (I copied check_log2 to check_log3 and modified it to return code 2 instead of 1, so that it would be treated as critical instead of as a warning.) So the essence of the problem is this: - Testing itdmln14 and then testing it again, the 2nd test will come back OK. - Testing itdmln15 and then testing it again, the 2nd test will come back OK. - Testing itdmln14 and then testing itdmln15, the 2nd test will come back with an error snarfed from /var/adm/messages on the target host (no matter how stale the error is). - Testing itdmln15 and then testing itdmln14, the 2nd test will come back with an error snarfed from /var/adm/messages on the target host (no matter how stale the error is). I've observed that flipping back and forth between testing one of the problem hosts and another arbitrary host (eg, itdmln14, itdmln13, itdmln14, itdmln13), the results come back clean. I'm not sure if this is meaningful, but here's some other info: - Running NRPE as user 'nagios' on all clients, as a standalone daemon (not from inetd) - nrpe.cfg on both 14 and 15 is 12088 bytes long - nrpe.cfg on 13 is 12418 bytes (ie, larger than the hosts in question) - repeatedly running this command locally on 14 and 15 returns cleanly each/every time: /home/nagios/libexec/check_log3 -l /var/adm/messages -s /home/nagios/.messages_err.seek -p "ERR|Err|err|PANIC|Panic|panic" I don't have any empirical evidence, but I'm a wee bit suspicious of NRPE itself (not the plugins) being the culprit. Perhaps a pointer is way off in a ditch somewhere. :-/ Sorry for the long post. I'm hoping that a fresh set of eyes will be able to point me in the right direction. jc ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mmcclure at pneservices.com Sat Oct 26 00:01:14 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 25 Oct 2002 17:01:14 -0500 (CDT) Subject: [Fwd: simple ping not working.] In-Reply-To: <1035577861.17979.27.camel@rh80-jsm> References: <1035573997.17979.14.camel@localhost.localdomain> <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> <1035577861.17979.27.camel@rh80-jsm> Message-ID: <2550.192.168.1.9.1035583274.squirrel@xyzzy.homeip.net> > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 > } > > --snip-- > Is the USER1 macro defined anywhere? If so, what is it? You might try replacing "$USER1$" with "/usr/local/nagios/libexec" in the command definition, and see if that works. If so, then it's a macro problem. -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From RRuecker at PSI.de Fri Oct 25 23:55:28 2002 From: RRuecker at PSI.de (Ruecker, Rainer) Date: Fri, 25 Oct 2002 23:55:28 +0200 Subject: Performanceproblems switching to faster server Message-ID: Hello, I could not get my hands on our multiprocessor-boxes here (yet) but did a few tests on two single-cpu machines, just to see what's up with the phenomen that has been described by Markus. Machine 1: Intel(R) Pentium(R) 4 CPU 2.20GHz, cache size: 512 KB, 1024 MB RAM - IDE Disk Kernel Linux 2.4.18 sources from kernel.org Machine 2: Intel(R) Pentium(R) III CPU 1400MHz, cache size: 512 KB, 512 MB RAM - SCSI Disk Kernel Linux 2.4.7-10 RedHat Binaries from Nagios 1.0b5 have been compiled with the following compilers on machine 1: gcc version 2.95.3 20010315 (release) gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3) gcc version 3.1.1 (Thread model: posix) .configure was called like this for each build: ./configure --prefix=/tmp/nag-[COMPILERVERSION] --with-command-grp=nobody --with-init-dir=/etc/init.d --with-lockfile=/var/lock/subsys/nagios --with-template-objects --with-file-perfdata --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --enable-embedded-perl --with-perlcache --with-template-extinfo hosts.cfg contains 1281 Hosts services.cfg contains 6379 Services (There are 1272 Hosts that have all the same 5 service-checks ...) Here are the average runtimes, taken from 30 runs of "time bin/nagios -v etc/nagios.cfg" for each build gcc295 gcc296 gcc301 gcc311 real user sys real user sys real user sys real user sys Maschine 1 17,87 15,44 0,332 19,74 16,59 0,360 18.31 15,77 0,344 18,38 15,90 0,338 Maschine 2 9,81 9,77 0,039 9,96 9,90 0,036 libc6-error libc6-error No Typo - I suppose it could be the disk subsystem and will investigate further. If someone needs the complete results from the 240 test-runs or needs more details about the setup, just drop me a mail. Cheers Rainer Ruecker -- STAG, Dircksenstrasse 42-44 10178 Berlin, Germany > -----Original Message----- > From: Marcus Hildenbrand [mailto:marcus.hildenbrand at sap.com] > Sent: Tuesday, October 15, 2002 12:43 PM > To: nagios-devel at lists.sourceforge.net; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Performanceproblems switching to faster server > > > Our current produktive Nagios installation runs on a 4x700 MHz server > with Suse Linux. We are doing an active monitoring of > 1.100 servers > with > 5.500 services. Because of the known problems with > slow CGI's on > large configurations we decided to test our Nagios installation on a > 2x2.4 GHz Suse Linux server hoping to get the CGI's faster. > But we saw > the opposite. For example the command "time > /bin/nagios > -v " gives the following response: > > > 4x700 MHz server: > .. > .. > Things look okay - No serious problems were detected during the > pre-flight check > > real 0m1.866s > user 0m1.820s > sys 0m0.050s > > > > 2x2.4 GHz server: > .. > .. > Things look okay - No serious problems were detected during the > pre-flight check > > real 0m7.428s > user 0m7.410s > sys 0m0.020s > > Has anyone an idea why this is more than 3 times slower on the faster > box? This problem also exists for the CGI's. > > Thanks Marcus > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mohammad at cerberian.com Sat Oct 26 02:03:19 2002 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Fri, 25 Oct 2002 17:03:19 -0700 Subject: nrpe over a secure socket Message-ID: <000001c27c83$18956880$3200000a@QA2> Hi, Does anyone know where I can find a copy of nrpe that communicates over secure socket? Thanks in advance, M. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.knox at sbcglobal.net Sat Oct 26 01:16:46 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 25 Oct 2002 16:16:46 -0700 Subject: nrpe over a secure socket In-Reply-To: <000001c27c83$18956880$3200000a@QA2> References: <000001c27c83$18956880$3200000a@QA2> Message-ID: <3DB9D0DE.5080908@sbcglobal.net> Mohammad Ghaeini wrote: > Hi, > > > > Does anyone know where I can find a copy of nrpe that communicates > over secure socket? > > > > > > Thanks in advance, > > > > M. > I'm not aware of a secure version of nrpe (someone correct me if you know of one), but you could always tunnel nrpe over stunnel. Sean ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Sat Oct 26 01:53:01 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 25 Oct 2002 16:53:01 -0700 Subject: Nrpe with TCP wrappers? In-Reply-To: <000001c27c83$18956880$3200000a@QA2> References: <000001c27c83$18956880$3200000a@QA2> Message-ID: <3DB9D95D.7000406@sbcglobal.net> Speaking of Nrpe, has anyone managed to get nrpe working with TCP wrappers? I'm running it on a Debian Woody box and am unable to get nrpe + tcp wrappers to work. Thanks, Sean ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Sat Oct 26 01:59:09 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 25 Oct 2002 16:59:09 -0700 Subject: Nrpe with TCP wrappers? In-Reply-To: <000001c27c83$18956880$3200000a@QA2> References: <000001c27c83$18956880$3200000a@QA2> <3DB9D95D.7000406@sbcglobal.net> Message-ID: <3DB9DACD.40405@sbcglobal.net> Scratch that- configuration error my end. Thanks. sk Sean Knox wrote: > Speaking of Nrpe, has anyone managed to get nrpe working with TCP > wrappers? I'm running it on a Debian Woody box and am unable to get > nrpe + tcp wrappers to work. > > Thanks, > Sean > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future of Java(TM) > technology. Join the Java Community Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From phil at ipom.com Sat Oct 26 09:54:17 2002 From: phil at ipom.com (Phil Dibowitz) Date: Sat, 26 Oct 2002 00:54:17 -0700 Subject: CGI Issues - external commands ? Message-ID: <3DBA4A29.9020602@ipom.com> Hey all. I have a user that I use to login intot he nagios web interface.... and I've given him ALL of the following rights in CGI.cfg: authorized_for_system_information authorized_for_configuration_information authorized_for_system_commands authorized_for_all_services authorized_for_all_hosts authorized_for_all_service_commands authorized_for_all_host_commands But everytime I try to schedule a service check, or supress warnings I get: "Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!" I can't seem to figure it out... can anyone point me in the right direction? Thanks, -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From sean.knox at sbcglobal.net Sat Oct 26 10:13:53 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Sat, 26 Oct 2002 01:13:53 -0700 Subject: CGI Issues - external commands ? In-Reply-To: <3DBA4A29.9020602@ipom.com> References: <3DBA4A29.9020602@ipom.com> Message-ID: <3DBA4EC1.7020507@sbcglobal.net> Hi Phil, See http://nagios.sourceforge.net/docs/1_0/extcommands.html (External Commands) and http://nagios.sourceforge.net/docs/1_0/cgiauth.html (Authentication and Authorization in the CGIs). -sk Phil Dibowitz wrote: > Hey all. I have a user that I use to login intot he nagios web > interface.... and I've given him ALL of the following rights in CGI.cfg: > > authorized_for_system_information > authorized_for_configuration_information > authorized_for_system_commands > authorized_for_all_services > authorized_for_all_hosts > authorized_for_all_service_commands > authorized_for_all_host_commands > > But everytime I try to schedule a service check, or supress warnings I > get: > > "Sorry, but Nagios is currently not checking for external commands, so > your command will not be committed!" > > I can't seem to figure it out... can anyone point me in the right > direction? > > Thanks, ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From phil at ipom.com Sat Oct 26 10:38:52 2002 From: phil at ipom.com (Phil Dibowitz) Date: Sat, 26 Oct 2002 01:38:52 -0700 Subject: CGI Issues - external commands ? References: <3DBA4A29.9020602@ipom.com> <3DBA4EC1.7020507@sbcglobal.net> Message-ID: <3DBA549C.1040006@ipom.com> Sean Knox wrote: > Hi Phil, > > See http://nagios.sourceforge.net/docs/1_0/extcommands.html (External > Commands) and http://nagios.sourceforge.net/docs/1_0/cgiauth.html > (Authentication and Authorization in the CGIs). I'd read the second one many many times... never the first one... DOH! Thanks, works now. -- Phil Dibowitz phil at ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From jsm at inpro.net Sat Oct 26 16:24:48 2002 From: jsm at inpro.net (Inpro) Date: Sat, 26 Oct 2002 10:24:48 -0400 Subject: [Fwd: simple ping not working.] References: <1035573997.17979.14.camel@localhost.localdomain> <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> <1035577861.17979.27.camel@rh80-jsm> <2550.192.168.1.9.1035583274.squirrel@xyzzy.homeip.net> Message-ID: <000b01c27cfb$719b8bd0$344476d8@boobers1> Mike, I didn't define any macros and I was wondering where the $user1$ varialble was defined. When I get back to work on monday I'll try replacing $user1$ with the command path as suggested.. Thanks! Jeff ----- Original Message ----- From: "Mike McClure" To: Sent: Friday, October 25, 2002 6:01 PM Subject: Re: [Nagios-users] [Fwd: simple ping not working.] > > > > # 'check_ping' command definition > > define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > > $ARG2$ -p 5 > > } > > > > --snip-- > > > > Is the USER1 macro defined anywhere? If so, what is it? > > You might try replacing "$USER1$" with "/usr/local/nagios/libexec" in the command > definition, and see if that works. If so, then it's a macro problem. > > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From rick at subnet.at Sun Oct 27 13:08:52 2002 From: rick at subnet.at (peter riegersperger) Date: Sun, 27 Oct 2002 13:08:52 +0100 Subject: statusmap background error Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi all! i'm trying to set a background image for the statusmap, but the cgi returns a "broken image" link. the background image is in the correct subdirectory and in gd2-format (converted with pngtogd2 with compression turned off). does nagios log its errors somewhere? i wanted to investigate what goes wrong with my background image, but couldn't find any logfiles for errors. greetings, rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPbvJRCDD9/SWDsvSEQILFACgvH+EQrRZE5tYTGg1WkBKGIf4RFkAoPkq ZdqHyLUx4pN36JIJavRnbvCY =PGbn -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From jwagener at lddd.org Sun Oct 27 16:51:47 2002 From: jwagener at lddd.org (Johannes Wagener) Date: Sun, 27 Oct 2002 16:51:47 +0100 Subject: send a notification to a pager when a host or service is in state recovered Message-ID: <3DBC0B93.C6668552@lddd.org> Hi, i have the following problem: i wanna send out a notification to a pager when a host or service is in state recovered. i defined to contacts in 2 different contactgroups. and the hosts have both contactgroups. one contact: -- service_notification_options c host_notification_options d -- and the other: -- service_notification_options r host_notification_options r -- nagios starts without any problems. but after a service or host recovery in the log file stands: -- [10-27-2002 15:47:53] Warning: Service recovery notification option for contact 'admin-sms' doesn't make any sense - specify critical and/or warning options as well [10-27-2002 15:47:53] Warning: Host recovery notification option for contact 'admin-sms' doesn't make any sense - specify down and/or unreachable options as well -- and the notification was not sent out. what can i do to change this ? greetings Johannes Wagener -- There are only 10 types of people in the world: Those who understand binary, and those who don't ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From Tony at frazznet.com Sun Oct 27 17:24:21 2002 From: Tony at frazznet.com (Tony) Date: Sun, 27 Oct 2002 11:24:21 -0500 Subject: Weird Problem Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC3D8C4@jupiter.avsconsulting.net> Hello all, I am having the following problem with nagios. I was having the same problem with netsaint on a different machine before I moved to nagios. I have nagios monitoring a few different servers and hosts on the other side of a WAN. The industrial park where our building is located has major telecom problems. This causes the occasional problem with the WAN going up and down. However, sometimes the WAN wants to bounce quite a bit within a few hour time frame. That is when my problem happens. What happens is that when the WAN "flaps", it causes the reporting of all of the other services that nagios monitors to report down. All of the services monitored are just pings to about 4 servers and a couple of switches. I know the servers are up because I also setup Servers Alive to monitor all of the same servers. I did Setup servers alive to monitor the nagios box and during times of this happening, the box is unreachable via port 23. It is almost like all of the attempted pings to the wan are causing a denial of service attack on itself which caused the box not to be able to get to any other host. I am sorry if this sounds confusing, but it is hard to explain. Hopefully someone can read between my lines and tell me if they have ever seen this problem and if so, how they solved it. Thanks -Tony ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From Tony at frazznet.com Sun Oct 27 17:41:51 2002 From: Tony at frazznet.com (Tony) Date: Sun, 27 Oct 2002 11:41:51 -0500 Subject: Weird Problem Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60A@jupiter.avsconsulting.net> Hello all, I am having the following problem with nagios. I was having the same problem with netsaint on a different machine before I moved to nagios. I have nagios monitoring a few different servers and hosts on the other side of a WAN. The industrial park where our building is located has major telecom problems. This causes the occasional problem with the WAN going up and down. However, sometimes the WAN wants to bounce quite a bit within a few hour time frame. That is when my problem happens. What happens is that when the WAN "flaps", it causes the reporting of all of the other services that nagios monitors to report down. All of the services monitored are just pings to about 4 servers and a couple of switches. I know the servers are up because I also setup Servers Alive to monitor all of the same servers. I did Setup servers alive to monitor the nagios box and during times of this happening, the box is unreachable via port 23. It is almost like all of the attempted pings to the wan are causing a denial of service attack on itself which caused the box not to be able to get to any other host. I am sorry if this sounds confusing, but it is hard to explain. Hopefully someone can read between my lines and tell me if they have ever seen this problem and if so, how they solved it. Thanks -Tony ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From jtm at fatcoder.com Sun Oct 27 23:01:07 2002 From: jtm at fatcoder.com (John Murray) Date: Sun, 27 Oct 2002 16:01:07 -0600 Subject: problems installing plug-ins Message-ID: <200210271601.07625.jtm@fatcoder.com> Sorry in advance, for what I am sure is a simple question, but I am trying to muddle through this. I am attempting to do the install, and am at a point of attempting to install the plug-ins. When I attempt to make the plug-ins, I am getting the following error message cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 I am running SuSE linux 8.1, and have included the results of the configure script listed below: loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking for aclocal... no checking for automake... no checking for autoconf... no checking for autoheader... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -L.) works... yes checking whether the C compiler (gcc -L.) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) gawk checking for python... (cached) /usr/bin/python checking for perl... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for hostname... (cached) /bin/hostname checking for basename... (cached) /usr/bin/basename checking how to run the C preprocessor... (cached) gcc -E checking for elf_begin in -lelf... (cached) no checking for kvm_open in -lkvm... (cached) no checking for getloadavg in -lutil... (cached) yes checking for getloadavg... (cached) yes checking whether getloadavg requires setgid... (cached) yes checking group of /dev/kmem... (cached) kmem checking for main in -ldce... (cached) no checking for main in -lnsl... (cached) yes checking for socket in -lsocket... (cached) no checking for main in -lresolv... (cached) yes checking for main in -lcrypt... (cached) yes checking for PQsetdbLogin in -lpq... (cached) no configure: warning: Skipping PostgreSQL plugin (check_pgsql) configure: warning: LIBS=-lcrypt -lutil CPPFLAGS= configure: warning: install PostgreSQL libs to compile this plugin (see Requirements). checking for rc_read_config in -lradiusclient... (cached) no configure: warning: Skipping radius plugin configure: warning: install radius libs to compile this plugin (see Requirements). checking for main in -lldap... (cached) no configure: warning: Skipping LDAP plugin configure: warning: install LDAP libs to compile this plugin (see Requirements). configure: warning: Skipping mysql plugin configure: warning: install mysql client libs to compile this plugin (see Requirements). checking for openssl... (cached) /usr/bin/openssl checking for openssl/x509.h... (cached) no checking for openssl/ssl.h... (cached) no checking for openssl/rsa.h... (cached) no checking for openssl/pem.h... (cached) no checking for openssl/crypto.h... (cached) no checking for openssl/err.h... (cached) no checking for x509.h... (cached) no checking for ssl.h... (cached) no checking for rsa.h... (cached) no checking for pem.h... (cached) no checking for crypto.h... (cached) no checking for err.h... (cached) no checking for CRYPTO_lock in -lcrypto... (cached) no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for signal.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for uio.h... (cached) no checking for errno.h... (cached) yes checking for regex.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/loadavg.h... (cached) no checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for getopt_long... yes checking for getopt_long_only... (cached) yes checking for vsnprintf... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for type of socket size... int checking for ps... (cached) /bin/ps ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args' checking for df... (cached) /bin/df df syntax... /bin/df -Pk checking for ping... (cached) /bin/ping ping syntax... /bin/ping -n -U -c checking for nslookup... (cached) /usr/bin/nslookup checking nslookup syntax... /usr/bin/nslookup -sil checking for host... (cached) /usr/bin/host checking host syntax... /usr/bin/host checking for uptime... (cached) /usr/bin/uptime checking for rpcinfo... (cached) /usr/sbin/rpcinfo checking for ntpdate... (cached) /usr/sbin/ntpdate checking for ntpdc... (cached) /usr/sbin/ntpdc checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... (cached) /usr/bin/smbclient checking for who... (cached) /usr/bin/who checking for snmpget... (cached) /usr/bin/snmpget checking for snmpgetnext... (cached) /usr/bin/snmpgetnext Found Net::SNMP perl module checking for quakestat... no checking for qstat... no ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... (cached) /usr/bin/ssh found /proc/meminfo checking for dig... (cached) /usr/bin/dig yes creating ./config.status creating Makefile creating subst creating plugins/Makefile creating plugins-scripts/Makefile creating plugins-scripts/subst creating plugins-scripts/utils.pm creating plugins-scripts/utils.sh creating command.cfg creating test.pl creating plugins/config.h plugins/config.h is unchanged creating plugins/common.h plugins/common.h is unchanged creating plugins/version.h plugins/version.h is unchanged creating plugins/netutils.h plugins/netutils.h is unchanged creating plugins/utils.h plugins/utils.h is unchanged creating plugins/popen.h plugins/popen.h is unchanged ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From Tony at frazznet.com Mon Oct 28 00:50:57 2002 From: Tony at frazznet.com (Tony) Date: Sun, 27 Oct 2002 18:50:57 -0500 Subject: check_ping vs check_fping Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60B@jupiter.avsconsulting.net> Hello all, I looked around the archives and could not really find an answer to this, but forgive me if it is there and I missed it. Is there any advantage to using fping vs ping, or vice versa? I have been having some problems with what I think is service or host checks hanging up all of the service and host checks use check_ping. Thanks -Tony ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com From mkothandan at yahoo.com Mon Oct 28 06:46:32 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Sun, 27 Oct 2002 21:46:32 -0800 (PST) Subject: Unix file system diskspace check Message-ID: <20021028054632.75640.qmail@web40414.mail.yahoo.com> Dear sir Iam not able to see all other unix O/S filesystem diskspace like Disk "/dev/hd1" , Sun Disk "/dev/dsk/c0t0d0s4" not mounted or nonexistant error iam getting what i want to do for this error pls guide us Regards kothandan --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlos at datacolo.com Mon Oct 28 07:26:30 2002 From: carlos at datacolo.com (Carlos Rego) Date: Mon, 28 Oct 2002 01:26:30 -0500 Subject: Apan Configurations Message-ID: Does anybody have examples of configurations they have working with the apan plugin ?, I would love to have rrdtool graphs for ping and other variables but I just can't figure how apan works :) -- Carlos Rego, carlos at datacolo.com on 10/28/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Oct 28 08:34:41 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 28 Oct 2002 08:34:41 +0100 Subject: Apan Configurations Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278037A@storevis.datavis.se> I've just released a new version of apan. Along with it comes a sample config-file with (I think) an example of every plugin. I've also updated the docs on the web-page, apan.sourceforge.net /FredrikW -----Original Message----- From: Carlos Rego [mailto:carlos at datacolo.com] Sent: Mon 28-Oct-02 07:26 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Apan Configurations Does anybody have examples of configurations they have working with the apan plugin ?, I would love to have rrdtool graphs for ping and other variables but I just can't figure how apan works :) -- Carlos Rego, carlos at datacolo.com on 10/28/2002 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Mon Oct 28 08:44:18 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Sun, 27 Oct 2002 23:44:18 -0800 Subject: Apan Configurations In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278037A@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278037A@storevis.datavis.se> Message-ID: <3DBCEAD2.6010604@sbcglobal.net> If anyone has managed to get apan to work (aside from Fredrik :) please speak up. I've downloaded the new version and while the updated docs are an improvement over last version, I still find them too vague to be of use. I am *very* interested in getting apan working. Until then, I will continue using Orca and smokeping... Sean Fredrik W?nglund wrote: >I've just released a new version of apan. Along with it comes a sample config-file with (I think) an example of every plugin. I've also updated the docs on the web-page, apan.sourceforge.net > > >/FredrikW > > >-----Original Message----- >From: Carlos Rego [mailto:carlos at datacolo.com] >Sent: Mon 28-Oct-02 07:26 >To: nagios-users at lists.sourceforge.net >Cc: >Subject: [Nagios-users] Apan Configurations > >Does anybody have examples of configurations they have working with the apan plugin ?, I would love to have rrdtool graphs for ping and other variables but I just can't figure how apan works :) > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bjorn.ekengren at itsalive.com Mon Oct 28 09:31:42 2002 From: bjorn.ekengren at itsalive.com (=?iso-8859-1?Q?Bj=F6rn_Ekengren?=) Date: Mon, 28 Oct 2002 09:31:42 +0100 Subject: nrpe over a secure socket Message-ID: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F6A@test01.itsalive.com> I succeded into getting Nagios communicating with nrpe over ssl using stunnel, but AFAIK it will only work with _one_ host due to the structure of stunnel. I wanted to monitor a number of hosts using nrpe, but since it wasn't possible I tried nsca, which I didn't get to work due to lack of documentation. /Bjorn -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: den 26 oktober 2002 01:17 To: mohammad at cerberian.com Cc: 'Nagios List' Subject: Re: [Nagios-users] nrpe over a secure socket Mohammad Ghaeini wrote: > Hi, > > > > Does anyone know where I can find a copy of nrpe that communicates > over secure socket? > > > > > > Thanks in advance, > > > > M. > I'm not aware of a secure version of nrpe (someone correct me if you know of one), but you could always tunnel nrpe over stunnel. Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkothandan at yahoo.com Mon Oct 28 11:09:45 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Mon, 28 Oct 2002 02:09:45 -0800 (PST) Subject: Unix file system diskspace check Message-ID: <20021028100945.4412.qmail@web40403.mail.yahoo.com> Dear sir Iam not able to see all other unix O/S filesystem diskspace like Disk "/dev/hd1" , Sun Disk "/dev/dsk/c0t0d0s4" not mounted or nonexistant error iam getting what i want to do for this error pls guide us Regards kothandan [input] [input] [input] [input] [input] --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From foulplay at foulplay.org Mon Oct 28 11:26:50 2002 From: foulplay at foulplay.org (Avijit Pathania) Date: 28 Oct 2002 05:26:50 -0500 Subject: check_ntp Message-ID: <1035800810.13566.629.camel@dhcp-25.foulplay.org> Folks, I have been having couple of weird problem ever since I switched to Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. I used the conversion script provided to convert all netsaint related files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 services. The issue is specific only to check_ntp service. For some reason I can execute a check through CLI, but the same service displays critical state with "No Output" as the $answer in the status.cgi. i.e: ./check_ntp localhost OK: Time difference -0.000001 seconds I have tried playing with the config files, and changing various options. My $USER1$ is defined. My second problem is that I am not seeing the respective host images on statusmap.cgi. The images are located in /netsaint/images/logos. The above two were not an issue in Netsaint. I would appreciate it if someone could provide help in this. Thanks Avi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mkothandan at yahoo.com Mon Oct 28 11:48:00 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Mon, 28 Oct 2002 02:48:00 -0800 (PST) Subject: Windows Nt system diskspace check Message-ID: <20021028104800.48259.qmail@web40406.mail.yahoo.com> Dear sir Iam able to see windows diskspace in linux command line like ./check_nt -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 when iam adding checkcommand.cfg iam getting warning error so what i want to do pls guide us Regards kothandan Als koths [input] [input] [input] [input] [input] --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrvries at kieno.nl Mon Oct 28 11:53:10 2002 From: jrvries at kieno.nl (Jeroen de Vries) Date: Mon, 28 Oct 2002 11:53:10 +0100 Subject: Problems with statusmap.cgi Message-ID: <20021028105319.E91517A2E@gateway.kieno.nl> Hi, I have currently installed Nagios 1.0b6. Everything is running (so far i can see) The only thing which doesn't work is the statusmap.cgi, 3d statusmap is working fine. When i look in the error log of my webserver (apache) i see the following lines: Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi What have i done wrong??? Can somebody help me??? With regards, Jeroen de Vries -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.geske at yoc.de Mon Oct 28 12:16:59 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 28 Oct 2002 12:16:59 +0100 Subject: Problem with switching to daylight savings time In-Reply-To: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60B@jupiter.avsconsulting.net> References: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60B@jupiter.avsconsulting.net> Message-ID: Hi all, In the night from Saturday to Sunday at 3 AM we switched to daylight savings time, which is 1 hour back, so to 2 AM. Then, when I got to work today I saw all passive services of ONE sprecific host reported a critical that time, 2:12 till 3:01. Now there are other hosts nagios monitors passive checks on, but they were alright, just this one host had problems. It took me 2.5 hours until I suddenly realized that the nagios logs for that time report the time between 2 and 3 twice. This too is OK for a switching to DST. Only one problem: nagios thought the sevices were not OK, when they really were OK. This was because for some reason nagios did not process any external commands it got from these services the second time the server went through 2AM to 3AM that day. The external commands of passive checks on the other hosts were processed alright though. That's my question now: How come nagios did not process external commands for these specific services on one host when it did for all other services when it switched to daylight savings time? I need to fix this problem as the IT staff here relies on nagios reports and such false notifications seriously weaken their trust in nagios. I would be happy to hear from you all soon. Thank you. Sincerely Daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From joe.warren-meeks at inspiredtg.com Mon Oct 28 13:19:40 2002 From: joe.warren-meeks at inspiredtg.com (Joe Warren-Meeks) Date: Mon, 28 Oct 2002 12:19:40 +0000 Subject: Inserting events Message-ID: <88377D5C-EA6F-11D6-A539-0003937199A4@inspiredtg.com> Hello there, I have a monitoring script which dials up a load of isdn lines and performs some checks and (currently) logs via syslog. I want to insert these events into nagios and the check_log thing doesn't do what I want as it gives the number of instances and the instance name, whereas I need one event per instance. Can anyone point me in the direction of how I could get these events into nagios cleanly? I can modify the script to output the data in pretty much any format or get it to execute an external command or something. Thanks for your time. -- joe. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Mon Oct 28 13:58:40 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 28 Oct 2002 07:58:40 -0500 Subject: [Nagiosplug-help] Unix file system diskspace check In-Reply-To: <20021028100945.4412.qmail@web40403.mail.yahoo.com> References: <20021028100945.4412.qmail@web40403.mail.yahoo.com> Message-ID: <1035809922.25073.2.camel@miles.debisschop.net> On Mon, 2002-10-28 at 05:09, mkothandan kothandan wrote: > > Dear sir > > Iam not able to see all other unix O/S filesystem diskspace like Disk "/dev/hd1" , Sun Disk "/dev/dsk/c0t0d0s4" not mounted or nonexistant error iam getting what i want to do for this error pls guide us I'm not sure I'm understanding your message entirely, but from what I do understand, I have a suspiscion. Are you aware that check_disk only works on the local hard drives? To check remote disks you need to use a remote executor (check_by_ssh, nrpe, etc.) or you must run snmp on the remote host and use check_snmp. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 28 13:57:50 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 07:57:50 -0500 (EST) Subject: check_ntp In-Reply-To: <1035800810.13566.629.camel@dhcp-25.foulplay.org> References: <1035800810.13566.629.camel@dhcp-25.foulplay.org> Message-ID: On 28 Oct 2002, Avijit Pathania wrote: > Folks, > > I have been having couple of weird problem ever since I switched to > Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. > > I used the conversion script provided to convert all netsaint related > files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 > services. > > The issue is specific only to check_ntp service. For some reason I can > execute a check through CLI, but the same service displays critical > state with "No Output" as the $answer in the status.cgi. > > i.e: ./check_ntp localhost > OK: Time difference -0.000001 seconds > > I have tried playing with the config files, and changing various > options. My $USER1$ is defined. Could you post related log messages. > > My second problem is that I am not seeing the respective host images on > statusmap.cgi. The images are located in /netsaint/images/logos. > check the path to logos should be /nagios/images/logos/ (http path) > The above two were not an issue in Netsaint. I would appreciate it if > someone could provide help in this. > > Thanks > Avi > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Mon Oct 28 14:00:00 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 28 Oct 2002 14:00:00 +0100 Subject: Problem with init script "nagios reload" Message-ID: Hi all, I have a problem with the start script that came with nagios. When nagios does not run I can start it with this command: /etc/init.d/nagios reload Running configuration check...done Starting network monitor: nagios PID TTY TIME CMD 27451 ? 00:00:00 nagios -- no problem. But when it does run already and I use the same command /etc/init.d/nagios reload I get this: Running configuration check...done /etc/init.d/nagios: status: command not found Stopping network monitor: nagios Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock Sometimes the above message does not appear. Instead, it seems to stop, then start nagios just fine. BUT then I suddenly get many many critical notifications for all the passive checks nagios runs. I suppose nagios does not shut itself down then. Instead, it just starts another instance. Then process ONE picks up the passive check result, and process TWO notifies, because it did not get any passive check results. So staff keeps on getting OK, CRITICAL, OK, CRIT...etc. How can I make 100% sure nagios completely shuts itself down before it restarts? Is there an alternative startup script I can use? Has anybody else experienced similar problems? I'd be happy to hear from you as soon as possible. Sincerely Daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 28 13:59:23 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 07:59:23 -0500 (EST) Subject: Windows Nt system diskspace check In-Reply-To: <20021028104800.48259.qmail@web40406.mail.yahoo.com> References: <20021028104800.48259.qmail@web40406.mail.yahoo.com> Message-ID: What warning error? what does your command config and service config look like? On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > Dear sir > > Iam able to see windows diskspace in linux command line like ./check_nt > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 when iam adding > checkcommand.cfg iam getting warning error so what i want to do pls > guide us > > Regards > > kothandan Als koths > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 28 15:01:30 2002 From: jsm at inpro.net (Jeff McKeon) Date: 28 Oct 2002 09:01:30 -0500 Subject: [Fwd: simple ping not working.] In-Reply-To: <000b01c27cfb$719b8bd0$344476d8@boobers1> References: <1035573997.17979.14.camel@localhost.localdomain> <2325.192.168.1.9.1035578219.squirrel@xyzzy.homeip.net> <1035577861.17979.27.camel@rh80-jsm> <2550.192.168.1.9.1035583274.squirrel@xyzzy.homeip.net> <000b01c27cfb$719b8bd0$344476d8@boobers1> Message-ID: <1035813694.1153.3.camel@rh80-jsm.telaurus.net> Mike, Thanks for the help. I put the path in place of $USER1$ and it magically started working... Now on to more complicated configurations! thanks!! Jeff On Sat, 2002-10-26 at 10:24, Inpro wrote: > Mike, > > I didn't define any macros and I was wondering where the $user1$ varialble > was defined. When I get back to work on monday I'll try replacing $user1$ > with the command path as suggested.. > > Thanks! > > Jeff > ----- Original Message ----- > From: "Mike McClure" > To: > Sent: Friday, October 25, 2002 6:01 PM > Subject: Re: [Nagios-users] [Fwd: simple ping not working.] > > > > > > > > > # 'check_ping' command definition > > > define command{ > > > command_name check_ping > > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > > > $ARG2$ -p 5 > > > } > > > > > > --snip-- > > > > > > > Is the USER1 macro defined anywhere? If so, what is it? > > > > You might try replacing "$USER1$" with "/usr/local/nagios/libexec" in the > command > > definition, and see if that works. If so, then it's a macro problem. > > > > > > > > -- > > Mike McClure, CCIE # 5125, CISSP # 30232 > > PNE Services, Inc. - http://www.pneservices.com > > mmcclure at pneservices.com > > mobile: 913-636-5590 > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Roberto.Balestra at getronics.com Mon Oct 28 14:40:33 2002 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Mon, 28 Oct 2002 14:40:33 +0100 Subject: Windows Nt system diskspace check Message-ID: <7537146F3CB48243B01EEA16DA7110BE1D2B6F@excitmi100.europe.unity> Hi all, The warning is *wrong -l argument*. You can correct this if you put * check_command check_nt_disk!D ,75,90* in the service.cfg file (with a blank after the driver letter. bye Roberto > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: luned? 28 ottobre 2002 13.59 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Windows Nt system diskspace check > > > What warning error? what does your command config and service > config look > like? > > > On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > > > > Dear sir > > > > Iam able to see windows diskspace in linux command line > like ./check_nt > > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > when iam adding > > checkcommand.cfg iam getting warning error so what i want to do pls > > guide us > > > > Regards > > > > kothandan Als koths > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 28 14:38:14 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 28 Oct 2002 08:38:14 -0500 Subject: Upgrading to new version of NAgios Message-ID: don't know if this has been addressed but i upgraded from 1.0b3 to 1.0b6. backup; backup; backup; configure;compile nagios and plugins; make install; restart nagios; that was all there was. oh, wait. There is a change or two in the nagios.cfg from b3 to b6 (maybe b4) that, although it doesn't cause errors, does cause a warning. Something about illegal characters. You might want to just install a new nagios.cfg and re-tweak. later, dean -----Original Message----- From: Sosa, Nelson [mailto:NSosa at oas.org] Sent: Friday, October 25, 2002 4:47 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Upgrading to new version of NAgios Hi, I'm running Nagios 1.0b4 and I would like to upgrade to the new version b6. Could somebody point me out to documentation on how to do this? I looked up in the Documentation in the nagios webpage and I couldn't find it. I apologize if this is a dumb question Thanks Nelson. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 28 14:42:02 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 28 Oct 2002 08:42:02 -0500 Subject: Problems with statusmap.cgi Message-ID: <5593DA408212D511B0910002A513501F01D287C9@phsexch20.mgh.harvard.edu> Hi there, I had a similar problem with statusmap.cgi on my system. The root cause of the problem was the absense of one file that statusmap.cgi needed in order to run properly. I documented the problem and solution. I'll enclose it in this e-mail for your perusal. Let me know if it helps solve your problem. -----Original Message----- From: Jeroen de Vries [mailto:jrvries at kieno.nl] Sent: Monday, October 28, 2002 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with statusmap.cgi Hi, I have currently installed Nagios 1.0b6. Everything is running (so far i can see) The only thing which doesn't work is the statusmap.cgi, 3d statusmap is working fine. When i look in the error log of my webserver (apache) i see the following lines: Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi What have i done wrong??? Can somebody help me??? With regards, Jeroen de Vries Met vriendelijke groet, Jeroen de Vries ++++++++++++++++++++++++++ Kien-O-Soft automatisering tel: (+31) 341-559768 fax: (+31) 341-550586 helpdesk: (+31) 341-428114 www.kien-o-soft.nl email: jrvries at kieno.nl ++++++++++++++++++++++++++ Internetfacilitaire Dienstverlening Bedrijfsautomatisering Software-ontwikkeling Computersystemen IT-consultancy Webdesign Reparaties Cursussen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Premature End of Script File - Error 500.pdf Type: application/octet-stream Size: 45688 bytes Desc: not available URL: From dean.bishop at tcdsb.org Mon Oct 28 14:59:33 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 28 Oct 2002 08:59:33 -0500 Subject: Windows Nt system diskspace check Message-ID: Good morning, The arguments in the services.cfg and hosts.cfg file are bang (!) separated. the correct syntax would be: # Service definition for Critical Print Servers Disk Use define service { name PrintServers-Critical use WindowsDiskUse service_description Print Servers Critical - Disk Use - C contact_groups PrintServerAdmins-Critical check_command check_nt_disk!c!60!80 #driveletter!warning-level!critical-level host_name ps01.tcdsb.org,ps03.tcdsb.org } for the checkcommand: # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } -----Original Message----- From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] Sent: Monday, October 28, 2002 8:41 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Windows Nt system diskspace check Hi all, The warning is *wrong -l argument*. You can correct this if you put * check_command check_nt_disk!D ,75,90* in the service.cfg file (with a blank after the driver letter. bye Roberto > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: luned? 28 ottobre 2002 13.59 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Windows Nt system diskspace check > > > What warning error? what does your command config and service > config look > like? > > > On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > > > > Dear sir > > > > Iam able to see windows diskspace in linux command line > like ./check_nt > > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > when iam adding > > checkcommand.cfg iam getting warning error so what i want to do pls > > guide us > > > > Regards > > > > kothandan Als koths > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From niko at de.clara.net Mon Oct 28 14:59:57 2002 From: niko at de.clara.net (Nikolai Bamburov) Date: Mon, 28 Oct 2002 14:59:57 +0100 Subject: Problem with init script "nagios reload" References: Message-ID: <01eb01c27e8a$4cd04760$6200a8c0@int.de.clara.net> In init script: reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" if test ! -f $NagiosRun; then $0 start else NagiosPID=`head -n 1 $NagiosRun` if status nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; must be: reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" if test ! -f $NagiosRun; then $0 start else NagiosPID=`head -n 1 $NagiosRun` if status_nagios nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; Regards, Niko ----- Original Message ----- From: "Daniel Geske" To: Sent: Monday, October 28, 2002 2:00 PM Subject: [Nagios-users] Problem with init script "nagios reload" > Hi all, > > I have a problem with the start script that came with nagios. > When nagios does not run I can start it with this command: > > /etc/init.d/nagios reload > Running configuration check...done > Starting network monitor: nagios > PID TTY TIME CMD > 27451 ? 00:00:00 nagios > -- no problem. > > But when it does run already and I use the same command /etc/init.d/nagios > reload I get this: > > Running configuration check...done > /etc/init.d/nagios: status: command not found > Stopping network monitor: nagios > Starting network monitor: nagios > No lock file found in /usr/local/nagios/var/nagios.lock > > Sometimes the above message does not appear. Instead, it seems to stop, then > start nagios just fine. BUT then I suddenly get many many critical > notifications for all the passive checks nagios runs. I suppose nagios does > not shut itself down then. Instead, it just starts another instance. Then > process ONE picks up the passive check result, and process TWO notifies, > because it did not get any passive check results. So staff keeps on getting > OK, CRITICAL, OK, CRIT...etc. > > How can I make 100% sure nagios completely shuts itself down before it > restarts? > Is there an alternative startup script I can use? > Has anybody else experienced similar problems? > > I'd be happy to hear from you as soon as possible. > Sincerely > > Daniel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Mon Oct 28 15:21:43 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 08:21:43 -0600 (CST) Subject: Inserting events In-Reply-To: <88377D5C-EA6F-11D6-A539-0003937199A4@inspiredtg.com> References: <88377D5C-EA6F-11D6-A539-0003937199A4@inspiredtg.com> Message-ID: <2209.192.168.1.9.1035814903.squirrel@xyzzy.homeip.net> Hi Joe, It's really pretty easy. All you have to do is turn on external command execution and put properly-formatted lines into the command file. Here's a very good write-up on the details of doing that: http://nagios.sourceforge.net/docs/1_0/extcommands.html Good luck! Mike > > Hello there, > > I have a monitoring script which dials up a load of isdn lines and > performs some > checks and (currently) logs via syslog. > > I want to insert these events into nagios and the check_log thing > doesn't do > what I want as it gives the number of instances and the instance name, > whereas > I need one event per instance. > > Can anyone point me in the direction of how I could get these events > into nagios > cleanly? I can modify the script to output the data in pretty much any > format > or get it to execute an external command or something. > > Thanks for your time. > > -- joe. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jduraisw at smtp.aed.org Mon Oct 28 15:05:45 2002 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Mon, 28 Oct 2002 09:05:45 -0500 Subject: check_nt and check_nwstat Message-ID: Hello all, If you have any sample checkcommmands and services.cfg s for check_nt and check_nwstat please e-mail it to me. Thanks John ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Mon Oct 28 14:46:13 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 28 Oct 2002 08:46:13 -0500 Subject: FW: Problems with statusmap.cgi Message-ID: <5593DA408212D511B0910002A513501F01D287CA@phsexch20.mgh.harvard.edu> -----Original Message----- From: Kaplan, Andrew H. Sent: Monday, October 28, 2002 8:42 AM To: 'Jeroen de Vries' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problems with statusmap.cgi Hi there, I had a similar problem with statusmap.cgi on my system. The root cause of the problem was the absense of one file that statusmap.cgi needed in order to run properly. I documented the problem and solution. I'll enclose it in this e-mail for your perusal. Let me know if it helps solve your problem. -----Original Message----- From: Jeroen de Vries [mailto:jrvries at kieno.nl] Sent: Monday, October 28, 2002 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with statusmap.cgi Hi, I have currently installed Nagios 1.0b6. Everything is running (so far i can see) The only thing which doesn't work is the statusmap.cgi, 3d statusmap is working fine. When i look in the error log of my webserver (apache) i see the following lines: Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi What have i done wrong??? Can somebody help me??? With regards, Jeroen de Vries Met vriendelijke groet, Jeroen de Vries ++++++++++++++++++++++++++ Kien-O-Soft automatisering tel: (+31) 341-559768 fax: (+31) 341-550586 helpdesk: (+31) 341-428114 www.kien-o-soft.nl email: jrvries at kieno.nl ++++++++++++++++++++++++++ Internetfacilitaire Dienstverlening Bedrijfsautomatisering Software-ontwikkeling Computersystemen IT-consultancy Webdesign Reparaties Cursussen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Premature End of Script File - Error 500.pdf Type: application/octet-stream Size: 45688 bytes Desc: not available URL: From jduraisw at smtp.aed.org Mon Oct 28 15:09:20 2002 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Mon, 28 Oct 2002 09:09:20 -0500 Subject: problems installing plug-ins Message-ID: try running ./autoconf ./autoheader and ./automake before the ./configure >>> John Murray 10/27/02 05:01PM >>> Sorry in advance, for what I am sure is a simple question, but I am trying to muddle through this. I am attempting to do the install, and am at a point of attempting to install the plug-ins. When I attempt to make the plug-ins, I am getting the following error message cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 I am running SuSE linux 8.1, and have included the results of the configure script listed below: loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking for aclocal... no checking for automake... no checking for autoconf... no checking for autoheader... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -L.) works... yes checking whether the C compiler (gcc -L.) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) gawk checking for python... (cached) /usr/bin/python checking for perl... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for hostname... (cached) /bin/hostname checking for basename... (cached) /usr/bin/basename checking how to run the C preprocessor... (cached) gcc -E checking for elf_begin in -lelf... (cached) no checking for kvm_open in -lkvm... (cached) no checking for getloadavg in -lutil... (cached) yes checking for getloadavg... (cached) yes checking whether getloadavg requires setgid... (cached) yes checking group of /dev/kmem... (cached) kmem checking for main in -ldce... (cached) no checking for main in -lnsl... (cached) yes checking for socket in -lsocket... (cached) no checking for main in -lresolv... (cached) yes checking for main in -lcrypt... (cached) yes checking for PQsetdbLogin in -lpq... (cached) no configure: warning: Skipping PostgreSQL plugin (check_pgsql) configure: warning: LIBS=-lcrypt -lutil CPPFLAGS= configure: warning: install PostgreSQL libs to compile this plugin (see Requirements). checking for rc_read_config in -lradiusclient... (cached) no configure: warning: Skipping radius plugin configure: warning: install radius libs to compile this plugin (see Requirements). checking for main in -lldap... (cached) no configure: warning: Skipping LDAP plugin configure: warning: install LDAP libs to compile this plugin (see Requirements). configure: warning: Skipping mysql plugin configure: warning: install mysql client libs to compile this plugin (see Requirements). checking for openssl... (cached) /usr/bin/openssl checking for openssl/x509.h... (cached) no checking for openssl/ssl.h... (cached) no checking for openssl/rsa.h... (cached) no checking for openssl/pem.h... (cached) no checking for openssl/crypto.h... (cached) no checking for openssl/err.h... (cached) no checking for x509.h... (cached) no checking for ssl.h... (cached) no checking for rsa.h... (cached) no checking for pem.h... (cached) no checking for crypto.h... (cached) no checking for err.h... (cached) no checking for CRYPTO_lock in -lcrypto... (cached) no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for signal.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for uio.h... (cached) no checking for errno.h... (cached) yes checking for regex.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/loadavg.h... (cached) no checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for getopt_long... yes checking for getopt_long_only... (cached) yes checking for vsnprintf... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for type of socket size... int checking for ps... (cached) /bin/ps ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args' checking for df... (cached) /bin/df df syntax... /bin/df -Pk checking for ping... (cached) /bin/ping ping syntax... /bin/ping -n -U -c checking for nslookup... (cached) /usr/bin/nslookup checking nslookup syntax... /usr/bin/nslookup -sil checking for host... (cached) /usr/bin/host checking host syntax... /usr/bin/host checking for uptime... (cached) /usr/bin/uptime checking for rpcinfo... (cached) /usr/sbin/rpcinfo checking for ntpdate... (cached) /usr/sbin/ntpdate checking for ntpdc... (cached) /usr/sbin/ntpdc checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... (cached) /usr/bin/smbclient checking for who... (cached) /usr/bin/who checking for snmpget... (cached) /usr/bin/snmpget checking for snmpgetnext... (cached) /usr/bin/snmpgetnext Found Net::SNMP perl module checking for quakestat... no checking for qstat... no ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... (cached) /usr/bin/ssh found /proc/meminfo checking for dig... (cached) /usr/bin/dig yes creating ./config.status creating Makefile creating subst creating plugins/Makefile creating plugins-scripts/Makefile creating plugins-scripts/subst creating plugins-scripts/utils.pm creating plugins-scripts/utils.sh creating command.cfg creating test.pl creating plugins/config.h plugins/config.h is unchanged creating plugins/common.h plugins/common.h is unchanged creating plugins/version.h plugins/version.h is unchanged creating plugins/netutils.h plugins/netutils.h is unchanged creating plugins/utils.h plugins/utils.h is unchanged creating plugins/popen.h plugins/popen.h is unchanged ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Mon Oct 28 15:20:59 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 28 Oct 2002 15:20:59 +0100 Subject: Problem with init script "nagios reload" In-Reply-To: <01eb01c27e8a$4cd04760$6200a8c0@int.de.clara.net> References: <01eb01c27e8a$4cd04760$6200a8c0@int.de.clara.net> Message-ID: oh, this little underscore in status_nagios!!! I'll try with that. Thanks! Daniel -----Original Message----- From: Nikolai Bamburov [mailto:niko at de.clara.net] Sent: Monday, October 28, 2002 3:00 PM To: Daniel Geske; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with init script "nagios reload" In init script: reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" if test ! -f $NagiosRun; then $0 start else NagiosPID=`head -n 1 $NagiosRun` if status nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; must be: reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" if test ! -f $NagiosRun; then $0 start else NagiosPID=`head -n 1 $NagiosRun` if status_nagios nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; Regards, Niko ----- Original Message ----- From: "Daniel Geske" To: Sent: Monday, October 28, 2002 2:00 PM Subject: [Nagios-users] Problem with init script "nagios reload" > Hi all, > > I have a problem with the start script that came with nagios. > When nagios does not run I can start it with this command: > > /etc/init.d/nagios reload > Running configuration check...done > Starting network monitor: nagios > PID TTY TIME CMD > 27451 ? 00:00:00 nagios > -- no problem. > > But when it does run already and I use the same command /etc/init.d/nagios > reload I get this: > > Running configuration check...done > /etc/init.d/nagios: status: command not found > Stopping network monitor: nagios > Starting network monitor: nagios > No lock file found in /usr/local/nagios/var/nagios.lock > > Sometimes the above message does not appear. Instead, it seems to stop, then > start nagios just fine. BUT then I suddenly get many many critical > notifications for all the passive checks nagios runs. I suppose nagios does > not shut itself down then. Instead, it just starts another instance. Then > process ONE picks up the passive check result, and process TWO notifies, > because it did not get any passive check results. So staff keeps on getting > OK, CRITICAL, OK, CRIT...etc. > > How can I make 100% sure nagios completely shuts itself down before it > restarts? > Is there an alternative startup script I can use? > Has anybody else experienced similar problems? > > I'd be happy to hear from you as soon as possible. > Sincerely > > Daniel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jason_lim at modusmedia.com Mon Oct 28 16:09:52 2002 From: jason_lim at modusmedia.com (Jason Lim) Date: Mon, 28 Oct 2002 23:09:52 +0800 Subject: check_oracle In-Reply-To: References: Message-ID: <000601c27e94$11038c60$0a5c7dcb@jas> Hi, Does anyone knows how to use check_oracle ? The command provides a little help on how to use it. Must this command be install in the remote machine where Oracle database is or can it run from Nagios server ? Thanks, Regards, Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Mon Oct 28 17:02:49 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 28 Oct 2002 11:02:49 -0500 Subject: controlling web access (second post) Message-ID: <0DA06E553C3BD511823500508BB8965A02D20A97@exnadetmbx3.ams.gblxint.com> All, I have multiple host groups. Is there a way to grant authorization to a user to schedule downtime in only one of those groups. i.e.. Say I have three hostgroups: A, B,C I have users Alfred, Bert, and Chris Can I grant Alfred permission to schedule downtime in hostgroup A but not B or C ??? Thanks Daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zorg at df.ru Mon Oct 28 17:14:04 2002 From: zorg at df.ru (Melekhov Alexandre A.) Date: Mon, 28 Oct 2002 19:14:04 +0300 Subject: Nagios-users -- confirmation of subscription -- request 301079 In-Reply-To: References: Message-ID: <200210281614.g9SGE4222943@cannabis.dataforce.net> Hello nagios-users-request at lists.sourceforge.net. On Mon, 28 Oct 2002 08:12:29 -0800 you wrote about "Nagios-users -- confirmation of subscription -- request 301079": > Nagios-users -- confirmation of subscription -- request 301079 > > We have received a request from 195.42.178.1 for subscription of your > email address, , to the nagios-users at lists.sourceforge.net > mailing list. To confirm the request, please send a message to > nagios-users-request at lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is > ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 301079 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > nagios-users-admin at lists.sourceforge.net. ============================== BRGDS. Melekhov Alexandre A. "DataForce IP", Moscow, Russia ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zorg at df.ru Mon Oct 28 17:36:28 2002 From: zorg at df.ru (Melekhov Alexandre A.) Date: Mon, 28 Oct 2002 19:36:28 +0300 Subject: Nagios Version 1.0b6 Message-ID: <200210281636.g9SGaS215505@cannabis.dataforce.net> Does not restart if check_external_commands=1 in nagios.cfg. Hello! This problem was appeared after that when Nagios installand and was nessesary to get control from web-interface, so i can't resolve it :( There a piece of log (After `/etc/init.d/nagios restart'): [1035822522] Nagios 1.0b6 starting... (PID=13068) [1035822522] Finished daemonizing... (New PID=13069) [1035822522] Error: Could not create external command file '/home/ng/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. [1035822522] Bailing out due to errors encountered while trying to open the external command file for reading... (PID=13069) I've never had this file '/home/ng/var/rw/nagios.cmd'... What is the matter of this problem? May B somebody ever get this error? Please help... ============================== BRGDS. Melekhov Alexandre A. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Mon Oct 28 17:52:48 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 10:52:48 -0600 (CST) Subject: controlling web access In-Reply-To: <0DA06E553C3BD511823500508BB8965A02D20A97@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A02D20A97@exnadetmbx3.ams.gblxint.com> Message-ID: <2786.192.168.1.9.1035823968.squirrel@xyzzy.homeip.net> Hi Daniel, You don't say anything about the access for Bert and Chris, so I'll assume that they have perms for A, B and C. Make two contact groups, X and Y. X has Alfred, Bert and Chris as members. Y only has Bert and Chris. Make X the contact group for hostgroup A. Make Y the contact group for hostgroup B. Alfred won't be able to do anything with B or C, including view their status. But you didn't say that he had to, so there you go. - Mike > All, > > I have multiple host groups. Is there a way to grant authorization to a > user to schedule downtime in only one of those groups. > > i.e.. Say I have three hostgroups: A, B,C > > I have users Alfred, Bert, and Chris > > Can I grant Alfred permission to schedule downtime in hostgroup A but not B > or C ??? > > Thanks > > Daniel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Mon Oct 28 17:41:18 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 11:41:18 -0500 (EST) Subject: How to write a custom notification command In-Reply-To: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F58@test01.itsalive.com> References: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F58@test01.itsalive.com> Message-ID: Currently there is not *PHONE macro/field definition. The assumtion here being that everything is text based. So the SMS contact info should be stored in CONTACTPAGER since the device is in essence acting like a pager. -sg On Thu, 24 Oct 2002, Bj?rn Ekengren wrote: > I would like to write an sms notification command like this: > > # 'notify-by-sms' command definition > define command{ > command_name notify-by-sms > command line /usr/local/smssender $CONTACTPHONE$ > "$NOTIFICATIONTYPE$ $SERVICEDESC$ $HOSTALIAS$ $HOSTADDRESS$ $SERVICE STATE$ > $DATETIME$ $OUTPUT$" > } > > However I have not found any way to define $CONTACTPHONE$. Does this mean > that I have to hardcode the contact phone number and make a separate command > for each user that should be notified ? I guess that I can use > $CONTACTPAGER$ to store the phone number but it looks ugly to me. > > Comments, reflections, solutions ? > > /Bjorn > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Mon Oct 28 18:02:29 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 11:02:29 -0600 (CST) Subject: Nagios Version 1.0b6 In-Reply-To: <200210281636.g9SGaS215505@cannabis.dataforce.net> References: <200210281636.g9SGaS215505@cannabis.dataforce.net> Message-ID: <2839.192.168.1.9.1035824549.squirrel@xyzzy.homeip.net> Hi Melekhov, Go back to your Nagios build directory and run "make install-commandmode". That should fix it. - Mike > Does not restart if check_external_commands=1 in nagios.cfg. > > Hello! > > This problem was appeared after that when Nagios installand and was nessesary to get control from web-interface, so i can't resolve it :( > > There a piece of log (After `/etc/init.d/nagios restart'): > [1035822522] Nagios 1.0b6 starting... (PID=13068) > [1035822522] Finished daemonizing... (New PID=13069) > [1035822522] Error: Could not create external command file '/home/ng/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. > [1035822522] Bailing out due to errors encountered while trying to open the external command file for reading... (PID=13069) > > I've never had this file '/home/ng/var/rw/nagios.cmd'... What is the matter of this problem? May B somebody ever get this error? > > Please help... > > ============================== > BRGDS. Melekhov Alexandre A. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Mon Oct 28 18:04:08 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 11:04:08 -0600 (CST) Subject: controlling web access - OOPS In-Reply-To: <2786.192.168.1.9.1035823968.squirrel@xyzzy.homeip.net> References: <0DA06E553C3BD511823500508BB8965A02D20A97@exnadetmbx3.ams.gblxint.com> <2786.192.168.1.9.1035823968.squirrel@xyzzy.homeip.net> Message-ID: <2845.192.168.1.9.1035824648.squirrel@xyzzy.homeip.net> > Hi Daniel, > > You don't say anything about the access for Bert and Chris, so I'll assume that they > have perms for A, B and C. > > Make two contact groups, X and Y. X has Alfred, Bert and Chris as members. Y only > has Bert and Chris. Make X the contact group for hostgroup A. Make Y the contact > group for hostgroup B. Err.. Make that B *and* C. :) > > Alfred won't be able to do anything with B or C, including view their status. But > you didn't say that he had to, so there you go. > > - Mike > >> All, >> >> I have multiple host groups. Is there a way to grant authorization to a >> user to schedule downtime in only one of those groups. >> >> i.e.. Say I have three hostgroups: A, B,C >> >> I have users Alfred, Bert, and Chris >> >> Can I grant Alfred permission to schedule downtime in hostgroup A but not B >> or C ??? >> >> Thanks >> >> Daniel >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.mcavoy at megawheels.com Mon Oct 28 17:54:22 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 28 Oct 2002 11:54:22 -0500 Subject: plugin get's connection refused by host, but still says ok Message-ID: <1035824063.28865.3.camel@tech03> I've got two distributed nagios servers, reporting back to my central server. It seems that when the service fails (i.e. connection refused or socket timeout), it still reports the service as being ok. Any ideas where the problem might be? Example error: Customer FTP service OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host -- Sean McAvoy Network Analyst Megawheels Technologies Inc. Phone: 416.360.8211 Fax: 416.360.1403 Cell: 416.616.6599 -------------- 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 mmcclure at pneservices.com Mon Oct 28 18:19:57 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 11:19:57 -0600 (CST) Subject: plugin get's connection refused by host, but still says ok In-Reply-To: <1035824063.28865.3.camel@tech03> References: <1035824063.28865.3.camel@tech03> Message-ID: <2900.192.168.1.9.1035825597.squirrel@xyzzy.homeip.net> HI Sean, It would help tremendously if you'd also tell us what the service check plug-in is, along with the versions of Nagios, the plugins, your operating system and relevant snippets of your configuration. Thanks! Mike > I've got two distributed nagios servers, reporting back to my central > server. It seems that when the service fails (i.e. connection refused or > socket timeout), it still reports the service as being ok. Any ideas > where the problem might be? > > Example error: > Customer FTP service > OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host > > > > -- > Sean McAvoy > Network Analyst > Megawheels Technologies Inc. > Phone: 416.360.8211 > Fax: 416.360.1403 > Cell: 416.616.6599 > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 28 18:13:04 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 09:13:04 -0800 (PST) Subject: Can't add comments --Oops Message-ID: <20021028171304.28433.qmail@web21503.mail.yahoo.com> Guess you need to use a valid hostname...Any way that I can make the comments section accept madeup hostname and valid hostnames? I'd like my users to be able to add generic comments to that section... Jon Lyons wrote: Anyone seen this? I can delete comments in the comments section, but I can't add them directly, however I can add them under individual hosts & services and see them and delete them in the comments section so I don't believe it's a permissions cgi.cfg error... --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Mon Oct 28 18:19:52 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 28 Oct 2002 12:19:52 -0500 Subject: controlling web access (second post) Message-ID: <0DA06E553C3BD511823500508BB8965A02D20A9B@exnadetmbx3.ams.gblxint.com> Thanks, I figured it out (I re-read the FM) amazing what you'll find in the doc's Sorry Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 28 18:40:00 2002 From: jsm at inpro.net (Jeff McKeon) Date: 28 Oct 2002 12:40:00 -0500 Subject: no email notifications Message-ID: <1035826801.1700.4.camel@rh80-jsm.telaurus.net> I've got nagios set up and monitoring several systems and services no problem. I am not however receiving any notifications over email. I can't seem to find any error messages about this on the system. Since the machine I'm testing nagios on is my personal desktop, I previously removed sendmail because it simply wasn't needed. Is this why no mail notifications are going out? Thanks, Jeff contents of contacts.cfg: ****snip**** # 'jsm' contact definition define contact{ contact_name jsm alias Jeff McKeon service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email jsm at inpro.net } ****snip**** Contents of contactgroup.cfg # 'admins' contact group definition define contactgroup{ contactgroup_name admins alias Administrators members nagios,jsm } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Mon Oct 28 19:08:16 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 28 Oct 2002 12:08:16 -0600 (CST) Subject: no email notifications In-Reply-To: <1035826801.1700.4.camel@rh80-jsm.telaurus.net> References: <1035826801.1700.4.camel@rh80-jsm.telaurus.net> Message-ID: <3103.192.168.1.9.1035828496.squirrel@xyzzy.homeip.net> Hi Jeff, Yes, you need sendmail (or some other kind of MTA) to send mail. - Mike > I've got nagios set up and monitoring several systems and services no > problem. I am not however receiving any notifications over email. I > can't seem to find any error messages about this on the system. > > Since the machine I'm testing nagios on is my personal desktop, I > previously removed sendmail because it simply wasn't needed. Is this > why no mail notifications are going out? > > Thanks, > > Jeff > > contents of contacts.cfg: > > ****snip**** > > # 'jsm' contact definition > define contact{ > contact_name jsm > alias Jeff McKeon > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email jsm at inpro.net > } > > ****snip**** > > Contents of contactgroup.cfg > > # 'admins' contact group definition > define contactgroup{ > contactgroup_name admins > alias Administrators > members nagios,jsm > } > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From info at datacolo.com Mon Oct 28 18:49:51 2002 From: info at datacolo.com (DataColo) Date: Mon, 28 Oct 2002 12:49:51 -0500 Subject: Apan Configurations In-Reply-To: <3DBCEAD2.6010604@sbcglobal.net> References: <3DBCEAD2.6010604@sbcglobal.net> Message-ID: Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From:? ? ? ? Carlos Rego [mailto:carlos at datacolo.com] >>Sent:? ? ? ? Mon 28-Oct-02 07:26 >>To:? ? ? ? nagios-users at lists.sourceforge.net >>Cc: >>Subject:? ? ? ? [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 28 18:53:54 2002 From: jsm at inpro.net (Jeff McKeon) Date: 28 Oct 2002 12:53:54 -0500 Subject: Windows Nt system diskspace check In-Reply-To: References: Message-ID: <1035827634.1700.6.camel@rh80-jsm.telaurus.net> Where can I get the check_nt_disk plugin? it doesn't seem to be a part of the standard install. On Mon, 2002-10-28 at 08:59, Bishop, Dean wrote: > Good morning, > > The arguments in the services.cfg and hosts.cfg file are bang (!) > separated. > > the correct syntax would be: > > # Service definition for Critical Print Servers Disk Use > define service { > name PrintServers-Critical > use WindowsDiskUse > service_description Print Servers Critical - Disk Use - C > contact_groups PrintServerAdmins-Critical > check_command check_nt_disk!c!60!80 > #driveletter!warning-level!critical-level > host_name ps01.tcdsb.org,ps03.tcdsb.org > } > > for the checkcommand: > > > # 'check_nt_disk' command definition > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > > -----Original Message----- > From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] > Sent: Monday, October 28, 2002 8:41 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Windows Nt system diskspace check > > > Hi all, > The warning is *wrong -l argument*. > You can correct this if you put * check_command > check_nt_disk!D ,75,90* in the service.cfg file (with a blank after the > driver letter. > bye > Roberto > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: luned? 28 ottobre 2002 13.59 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Windows Nt system diskspace check > > > > > > What warning error? what does your command config and service > > config look > > like? > > > > > > On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > > > > > > > Dear sir > > > > > > Iam able to see windows diskspace in linux command line > > like ./check_nt > > > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > > when iam adding > > > checkcommand.cfg iam getting warning error so what i want to do pls > > > guide us > > > > > > Regards > > > > > > kothandan Als koths > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 19:09:35 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 12:09:35 -0600 Subject: no email notifications Message-ID: Yup. If you don't use Sendmail, you need to use some MTA. How else will the mail get from your Nagios host to another host? jc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, October 28, 2002 11:40 AM > To: Nagios List > Subject: [Nagios-users] no email notifications > > > I've got nagios set up and monitoring several systems and services no > problem. I am not however receiving any notifications over email. I > can't seem to find any error messages about this on the system. > > Since the machine I'm testing nagios on is my personal desktop, I > previously removed sendmail because it simply wasn't needed. Is this > why no mail notifications are going out? > > Thanks, > > Jeff > > contents of contacts.cfg: > > ****snip**** > > # 'jsm' contact definition > define contact{ > contact_name jsm > alias Jeff McKeon > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email jsm at inpro.net > } > > ****snip**** > > Contents of contactgroup.cfg > > # 'admins' contact group definition > define contactgroup{ > contactgroup_name admins > alias Administrators > members nagios,jsm > } > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 19:14:44 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 12:14:44 -0600 Subject: Apan Configurations Message-ID: Now I'm curious how Sean got Orca working with Nagios (if that's indeed what he's doing). jc > -----Original Message----- > From: DataColo [mailto:info at datacolo.com] > Sent: Monday, October 28, 2002 11:50 AM > To: Nagios Mailing List > Subject: Re: [Nagios-users] Apan Configurations > > > Same here :( > > I try setting up the example that comes in the readme file, > and that did not even work (and yes, I did change the paths ;) > -- > DataColo, info at datacolo.com on 10/28/2002 > > > On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: > >If anyone has managed to get apan to work (aside from Fredrik :) > >please > >speak up. I've downloaded the new version and while the updated docs > >are > >an improvement over last version, I still find them too vague to be > >of use. > > > >I am *very* interested in getting apan working. Until then, I will > >continue using Orca and smokeping... > > > >Sean > > > >Fredrik W?nglund wrote: > > > >>I've just released a new version of apan. Along with it comes a > >>sample config-file with (I think) an example of every plugin. I've > >>also updated the docs on the web-page, apan.sourceforge.net > >> > >> > >>/FredrikW > >> > >> > >>-----Original Message----- > >>From:? ? ? ? Carlos Rego [mailto:carlos at datacolo.com] > >>Sent:? ? ? ? Mon 28-Oct-02 07:26 > >>To:? ? ? ? nagios-users at lists.sourceforge.net > >>Cc: > >>Subject:? ? ? ? [Nagios-users] Apan Configurations > >> > >>Does anybody have examples of configurations they have working with > >>the apan plugin ?, I would love to have rrdtool graphs for ping and > >>other variables but I just can't figure how apan works :) > >> > >> > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 28 17:51:08 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 08:51:08 -0800 (PST) Subject: Can't add comments in comments section... In-Reply-To: <2786.192.168.1.9.1035823968.squirrel@xyzzy.homeip.net> References: <2786.192.168.1.9.1035823968.squirrel@xyzzy.homeip.net> Message-ID: <20021028165108.77494.qmail@web21510.mail.yahoo.com> Anyone seen this? I can delete comments in the comments section, but I can't add them directly, however I can add them under individual hosts & services and see them and delete them in the comments section so I don't believe it's a permissions cgi.cfg error... --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.knox at sbcglobal.net Mon Oct 28 19:28:13 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Mon, 28 Oct 2002 10:28:13 -0800 Subject: Apan Configurations In-Reply-To: References: Message-ID: <3DBD81BD.3000304@sbcglobal.net> I set up Orca as your normally would on a standalone box, and then defined an external url (via notes_url in extended information) per Orca'ed host. So while viewing everything via the Nagios gui, clicking the url associated with each host would whisk you away to the host's Orca graph. Depending on when Apan comes out with a working howto, I might write a Orca+Nagios howto, or perhaps a smokeping+nagios howto. Apan will be nice as it will achieve the same results as Orca with the nice rrdtool graphs, but there won't be a need to set up third party software. Sean Carroll, Jim P [Contractor] wrote: >Now I'm curious how Sean got Orca working with Nagios (if that's indeed what >he's doing). > >jc > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Oct 28 19:27:06 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 28 Oct 2002 13:27:06 -0500 Subject: Windows Nt system diskspace check Message-ID: check_nt_disk is a command definition that needs to be in the checkcommands.cfg. it uses an application called nsclient which you can find pretty quickly at google. the docs included with nsclient give the necessary config file entries. later, dean -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Monday, October 28, 2002 12:54 PM To: Bishop, Dean Cc: 'Balestra, Roberto'; Nagios List Subject: RE: [Nagios-users] Windows Nt system diskspace check Where can I get the check_nt_disk plugin? it doesn't seem to be a part of the standard install. On Mon, 2002-10-28 at 08:59, Bishop, Dean wrote: > Good morning, > > The arguments in the services.cfg and hosts.cfg file are bang (!) > separated. > > the correct syntax would be: > > # Service definition for Critical Print Servers Disk Use > define service { > name PrintServers-Critical > use WindowsDiskUse > service_description Print Servers Critical - Disk Use - C > contact_groups PrintServerAdmins-Critical > check_command check_nt_disk!c!60!80 > #driveletter!warning-level!critical-level > host_name ps01.tcdsb.org,ps03.tcdsb.org > } > > for the checkcommand: > > > # 'check_nt_disk' command definition > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > > -----Original Message----- > From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] > Sent: Monday, October 28, 2002 8:41 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Windows Nt system diskspace check > > > Hi all, > The warning is *wrong -l argument*. > You can correct this if you put * check_command > check_nt_disk!D ,75,90* in the service.cfg file (with a blank after the > driver letter. > bye > Roberto > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: luned? 28 ottobre 2002 13.59 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Windows Nt system diskspace check > > > > > > What warning error? what does your command config and service > > config look > > like? > > > > > > On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > > > > > > > Dear sir > > > > > > Iam able to see windows diskspace in linux command line > > like ./check_nt > > > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > > when iam adding > > > checkcommand.cfg iam getting warning error so what i want to do pls > > > guide us > > > > > > Regards > > > > > > kothandan Als koths > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jclark at polexis.com Mon Oct 28 19:33:03 2002 From: jclark at polexis.com (James Clark) Date: 28 Oct 2002 10:33:03 -0800 Subject: 3 Issues In-Reply-To: References: Message-ID: <1035829983.29543.24.camel@evil_jclark.polexis.com> Notifications seem to be working just fine for me however when use_authentication=1 in cgi.cfg I am getting the following error still: 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. Also I am still logged in as ?. I have the cgi and nagios page password protected and am able to login fine but the cgi does not appear to recognize my user as valid to view the cgi information. Please advise. I believe I am using RH 7.2 on an old box with apache 1x and not version 2.0. If any clarification is needed please let me know. Regards James On Thu, 2002-10-24 at 19:43, Erik N. Mullinix wrote: > Hey James. > I don't think I can answer all of these but I have run into the first > and partially second issue. > You must check and make sure the Nagios user has authority to use your > Mail service. (Sendmail, etc). > Check your settings for Apache again. Also make sure if your using 2.0 > that you have the latest patch for Apache (security fix). > > ENM > > > -----Original Message----- > From: James Clark [mailto:jclark at polexis.com] > Sent: Thursday, October 24, 2002 5:16 PM > To: nagios-users at lists.sourceforge.net > Cc: rmy at polexis.com > Subject: [Nagios-users] 3 Issues > > Nagios, > I am having three issues. First let me try to best clearly ask these in > hopes of a clear response. > > 1. My notifications are not being sent out. I have forced a hosts > service down for example http and I do not receive any alerts via email. > I believe my contact file is correctly setup and defined.In > /usr/local/nagios/etc/nagios.cfg I have enable_notifications=1. What is > the problem and why am I not being sent alerts for down services? > > 2. In /usr/local/nagios/etc/cgi.cfg I have set use_authentication=1 but > when I login as a user I can not view the pages due to a permission > error. This is not an apache issue but rather an issue to access the cgi > files with my username. I have the .htaccess file in my share and sbin > folder so I am not sure what the problem is. Also when I login and > provide my username and password the "Logged in as ?" is displayed in > nagios. > > 3. When I enable default_user_name=guest in cgi.cfg I am not able to add > a comment due to the /usr/local/nagios/var/rw/nagios.cwd file being set > and reset to unwriteable permissions. When I chmod the file to 0777 it > allows me to post a comment as guest or my user but then nagios changes > the permissions back on this file. What should this be set to? > > If anyone can help that would be greatly appreciated. Thanks for your > time. > > -- > James Clark > Junior Systems Administrator > Polexis, Inc. > Direct: 619-542-7209 > Fax: 619-542-8675 > http://www.polexis.com > transforming data into knowledge > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- James Clark Junior Systems Administrator Polexis, Inc. Direct: 619-542-7209 Fax: 619-542-8675 http://www.polexis.com transforming data into knowledge ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 19:36:55 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 12:36:55 -0600 Subject: Apan Configurations Message-ID: I'm more curious how you used Orca to tap into Nagios' logs. I figure no matter which graphing tool you're using, you still need to grok the logs. jc > -----Original Message----- > From: Sean Knox [mailto:sean.knox at sbcglobal.net] > Sent: Monday, October 28, 2002 12:28 PM > To: Carroll, Jim P [Contractor] > Cc: Nagios Mailing List > Subject: Re: [Nagios-users] Apan Configurations > > > I set up Orca as your normally would on a standalone box, and then > defined an external url (via notes_url in extended information) per > Orca'ed host. So while viewing everything via the Nagios gui, > clicking > the url associated with each host would whisk you away to the host's > Orca graph. > > Depending on when Apan comes out with a working howto, I > might write a > Orca+Nagios howto, or perhaps a smokeping+nagios howto. > > Apan will be nice as it will achieve the same results as Orca > with the > nice rrdtool graphs, but there won't be a need to set up third party > software. > > Sean > > Carroll, Jim P [Contractor] wrote: > > >Now I'm curious how Sean got Orca working with Nagios (if > that's indeed what > >he's doing). > > > >jc > > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 19:49:03 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 12:49:03 -0600 Subject: NTray: RFE Message-ID: Robert, I was wondering if you're accepting Requests For Enhancements to NTray. Specifically, if there are no unacknowledged critical alerts, for the colour of the tray icon to be something other than red. Like pink, maybe. Or shaded red. Or half red, half grey. Just something which will let me and my fellow admins think, "Okay, there's still work to to be done, but we don't need to spring into action and see what Nagios is trying to bring to our attention." Otherwise, we have this red dot in our tray and the admins wondering what's wrong. :P jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 19:34:34 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 12:34:34 -0600 Subject: NRPE tweak Message-ID: Late last week I seem to recall that I stumbled across someone's tweak for NRPE which would test to see if the NRPE daemon was up and running on the remote server, and if not, wouldn't alert to that specific check. Problem is, I don't recall where I saw it. Could anyone show me where it is? jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Gopinath_Pulyankote at affymetrix.com Mon Oct 28 19:45:16 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Mon, 28 Oct 2002 10:45:16 -0800 Subject: check_ping vs check_fping Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E7EB@ntex04.affymetrix.com> I had the same issue, so I switched to check_fping, only to realize that it is broken! When a host is down or unreachable it always returns a Warning State. I had posted about that issue, no one replied. So, make sure your check_fping works before you switch!. -G -----Original Message----- From: Tony [mailto:Tony at frazznet.com] Sent: Sunday, October 27, 2002 3:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_ping vs check_fping Hello all, I looked around the archives and could not really find an answer to this, but forgive me if it is there and I missed it. Is there any advantage to using fping vs ping, or vice versa? I have been having some problems with what I think is service or host checks hanging up all of the service and host checks use check_ping. Thanks -Tony ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jrozes at vinton.com Mon Oct 28 19:57:42 2002 From: jrozes at vinton.com (Jonathan Rozes) Date: Mon, 28 Oct 2002 10:57:42 -0800 Subject: NTray: RFE Message-ID: <48B8D6ECC8C93E4E992AEB43EE8565DB040C30@pdx-mail01.wvs> Seconded. NTray is *very* useful when everything is up, but virtually useless when there are acknowledged alerts that sit around for any length of time. Pink would seem to be the color of choice since that's what Nagios uses in the Tactical Overview display. Thanks, jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Monday, October 28, 2002 10:49 AM > To: 'Robert Wagner'; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NTray: RFE > > > Robert, I was wondering if you're accepting Requests For > Enhancements to > NTray. > > Specifically, if there are no unacknowledged critical alerts, > for the colour > of the tray icon to be something other than red. Like pink, > maybe. Or > shaded red. Or half red, half grey. Just something which > will let me and > my fellow admins think, "Okay, there's still work to to be > done, but we > don't need to spring into action and see what Nagios is > trying to bring to > our attention." > > Otherwise, we have this red dot in our tray and the admins > wondering what's > wrong. :P > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean at techtarget.com Mon Oct 28 20:05:24 2002 From: sean at techtarget.com (Sean Lutner) Date: 28 Oct 2002 14:05:24 -0500 Subject: Images using wrong path? In-Reply-To: <1035216293.20673.25.camel@localhost.localdomain> References: <1035216293.20673.25.camel@localhost.localdomain> Message-ID: <1035831929.1345.2.camel@localhost.localdomain> I hate to reply to my own post, but has anyone seen this problem before or have any ideas what I'm doing wrong? I've read all the docs I've come across and haven't found any mention of it. I've also never had this problem with netsaint. Everything from my netsaint install has been converted and nagios is running, except for displaying images called from a CGI. Any ideas or help at all would be greatly appreciated. I can post any configs anyone might want to see. Thanks Sean On Mon, 2002-10-21 at 12:04, Sean Lutner wrote: > I'm in the process of upgrading from my netsaint installation to Nagios. > I've compiled Nagios with the following options. > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ --with/htmurl= > > and the plugins with the following > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ > > I've converted my netsaint configs and nagios is running and working, > however all the images are not loading. All images called from a cgi are > not woroking and appear to be called with the wrong path. > > Here is a snippet from my apache logs. > > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found > or unable to stat: /apps/nagios/sbin/up.gif > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found > or unable to stat: /apps/nagios/sbin/down.gif > > > My images are in /apps/nagios/share/images. > > Any ideas why this is happening would be greatly appreciated. I can also > provide further configs if needed. > > Thanks > Sean > > -- > Sean Lutner > Senior Systems & Network Administrator > TechTarget, Inc. > 117 Kendrick St, Suite 800 > Needham, MA 02494 > P: 781-657-1337 > F: 781-657-1100 > E: sean at techtarget.com W: http://www.techtarget.com > > "Imagination is more important than knowledge." -- Albert Einstein > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Sean Lutner Senior Systems & Network Administrator TechTarget, Inc. 117 Kendrick St, Suite 800 Needham, MA 02494 P: 781-657-1337 F: 781-657-1100 E: sean at techtarget.com W: http://www.techtarget.com "Imagination is more important than knowledge." -- Albert Einstein ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 28 20:25:39 2002 From: jsm at inpro.net (Jeff McKeon) Date: 28 Oct 2002 14:25:39 -0500 Subject: no email notifications In-Reply-To: References: Message-ID: <1035833143.1591.49.camel@rh80-jsm.telaurus.net> Good point but I didn't see it specified anywhere that an MTA was needed. An MTA could have been written into nagios... On Mon, 2002-10-28 at 13:09, Carroll, Jim P [Contractor] wrote: > Yup. If you don't use Sendmail, you need to use some MTA. How else will > the mail get from your Nagios host to another host? > > jc > > > -----Original Message----- > > From: Jeff McKeon [mailto:jsm at inpro.net] > > Sent: Monday, October 28, 2002 11:40 AM > > To: Nagios List > > Subject: [Nagios-users] no email notifications > > > > > > I've got nagios set up and monitoring several systems and services no > > problem. I am not however receiving any notifications over email. I > > can't seem to find any error messages about this on the system. > > > > Since the machine I'm testing nagios on is my personal desktop, I > > previously removed sendmail because it simply wasn't needed. Is this > > why no mail notifications are going out? > > > > Thanks, > > > > Jeff > > > > contents of contacts.cfg: > > > > ****snip**** > > > > # 'jsm' contact definition > > define contact{ > > contact_name jsm > > alias Jeff McKeon > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options c,r > > host_notification_options d,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email jsm at inpro.net > > } > > > > ****snip**** > > > > Contents of contactgroup.cfg > > > > # 'admins' contact group definition > > define contactgroup{ > > contactgroup_name admins > > alias Administrators > > members nagios,jsm > > } > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Mon Oct 28 20:33:29 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Mon, 28 Oct 2002 11:33:29 -0800 Subject: Apan Configurations In-Reply-To: References: Message-ID: <3DBD9109.8000609@sbcglobal.net> I should have more clear: The Orca monitoring is seperate from Nagios. Orca generates and stores the historical data (pings, disk space, etc). I have configured Nagios to simply view the data. Aside from a clickthrough url to Orca from Nagios, they don't interact directly. Sean Carroll, Jim P [Contractor] wrote: >I'm more curious how you used Orca to tap into Nagios' logs. I figure no >matter which graphing tool you're using, you still need to grok the logs. > >jc > > > >>-----Original Message----- >>From: Sean Knox [mailto:sean.knox at sbcglobal.net] >>Sent: Monday, October 28, 2002 12:28 PM >>To: Carroll, Jim P [Contractor] >>Cc: Nagios Mailing List >>Subject: Re: [Nagios-users] Apan Configurations >> >> >>I set up Orca as your normally would on a standalone box, and then >>defined an external url (via notes_url in extended information) per >>Orca'ed host. So while viewing everything via the Nagios gui, >>clicking >>the url associated with each host would whisk you away to the host's >>Orca graph. >> >>Depending on when Apan comes out with a working howto, I >>might write a >>Orca+Nagios howto, or perhaps a smokeping+nagios howto. >> >>Apan will be nice as it will achieve the same results as Orca >>with the >>nice rrdtool graphs, but there won't be a need to set up third party >>software. >> >>Sean >> >> >> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anders at digitalraadgivning.no Mon Oct 28 20:29:30 2002 From: anders at digitalraadgivning.no (Anders Grue Nerheim) Date: 28 Oct 2002 20:29:30 +0100 Subject: no email notifications In-Reply-To: <1035833143.1591.49.camel@rh80-jsm.telaurus.net> References: <1035833143.1591.49.camel@rh80-jsm.telaurus.net> Message-ID: <1035833373.2408.12.camel@aten> I would rather see that nagios could use an external mailserver. Useing Net::SMTP it should be doable. On Mon, 2002-10-28 at 20:25, Jeff McKeon wrote: > Good point but I didn't see it specified anywhere that an MTA was > needed. An MTA could have been written into nagios... > > On Mon, 2002-10-28 at 13:09, Carroll, Jim P [Contractor] wrote: > > Yup. If you don't use Sendmail, you need to use some MTA. How else will > > the mail get from your Nagios host to another host? > > > > jc > > > > > -----Original Message----- > > > From: Jeff McKeon [mailto:jsm at inpro.net] > > > Sent: Monday, October 28, 2002 11:40 AM > > > To: Nagios List > > > Subject: [Nagios-users] no email notifications > > > > > > > > > I've got nagios set up and monitoring several systems and services no > > > problem. I am not however receiving any notifications over email. I > > > can't seem to find any error messages about this on the system. > > > > > > Since the machine I'm testing nagios on is my personal desktop, I > > > previously removed sendmail because it simply wasn't needed. Is this > > > why no mail notifications are going out? > > > > > > Thanks, > > > > > > Jeff > > > > > > contents of contacts.cfg: > > > > > > ****snip**** > > > > > > # 'jsm' contact definition > > > define contact{ > > > contact_name jsm > > > alias Jeff McKeon > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options c,r > > > host_notification_options d,r > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email jsm at inpro.net > > > } > > > > > > ****snip**** > > > > > > Contents of contactgroup.cfg > > > > > > # 'admins' contact group definition > > > define contactgroup{ > > > contactgroup_name admins > > > alias Administrators > > > members nagios,jsm > > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Robert.Wagner at wausaubenefits.com Mon Oct 28 20:32:27 2002 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Mon, 28 Oct 2002 13:32:27 -0600 Subject: NTray: RFE Message-ID: As I wrote back privately to Jonathan: That actually should be coming when Nagios can generate some XML output for NTray to poll. It's been requested and Ethan thought it was a good idea, but it hasn't happened yet. Right now, since NTray is just polling the 'Status Summary' (status.cgi) page and parsing out that HTML, it doesn't know whether any outages/warning are acknowleged, scheduled, or otherwise. When this XML output is available, NTray will request that instead, which should give a list of all hosts/services in a non-okay state, and any 'extended information' like that the outage is scheduled/acknowleged. In the meantime, maybe I'll take a crack at parsing out TAC.CGI instead.. it shows that status, but there is a lot of similar looking HTML generated in there that I will have to sift through. (darn HTML tables anyway) Rob Jonathan Rozes , 'Robert Wagner' , 10/28/2002 nagios-users at lists.sourceforge.net 12:57 PM cc: Subject: RE: [Nagios-users] NTray: RFE Seconded. NTray is *very* useful when everything is up, but virtually useless when there are acknowledged alerts that sit around for any length of time. Pink would seem to be the color of choice since that's what Nagios uses in the Tactical Overview display. Thanks, jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Monday, October 28, 2002 10:49 AM > To: 'Robert Wagner'; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NTray: RFE > > > Robert, I was wondering if you're accepting Requests For > Enhancements to > NTray. > > Specifically, if there are no unacknowledged critical alerts, > for the colour > of the tray icon to be something other than red. Like pink, > maybe. Or > shaded red. Or half red, half grey. Just something which > will let me and > my fellow admins think, "Okay, there's still work to to be > done, but we > don't need to spring into action and see what Nagios is > trying to bring to > our attention." > > Otherwise, we have this red dot in our tray and the admins > wondering what's > wrong. :P > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anders at digitalraadgivning.no Mon Oct 28 20:46:49 2002 From: anders at digitalraadgivning.no (Anders Grue Nerheim) Date: 28 Oct 2002 20:46:49 +0100 Subject: NTray: RFE In-Reply-To: References: Message-ID: <1035834409.2640.15.camel@aten> XML would be great. I'm currently trying to make a web interface that is readable on my small compaq Ipaq Pocket PC :) let me know is anyone has done anything simular or just has some ideas. On Mon, 2002-10-28 at 20:32, Robert Wagner wrote: > > As I wrote back privately to Jonathan: > > That actually should be coming when Nagios can generate some XML output > for NTray to poll. It's been requested and Ethan thought it was a good > idea, but it hasn't happened yet. > > Right now, since NTray is just polling the 'Status Summary' (status.cgi) > page and parsing out that HTML, it doesn't know whether any outages/warning > are acknowleged, scheduled, or otherwise. When this XML output is > available, NTray will request that instead, which should give a list of all > hosts/services in a non-okay state, and any 'extended information' like > that the outage is scheduled/acknowleged. > > In the meantime, maybe I'll take a crack at parsing out TAC.CGI > instead.. it shows that status, but there is a lot of similar looking HTML > generated in there that I will have to sift through. (darn HTML tables > anyway) > > Rob > > > > > Jonathan Rozes > .com> , 'Robert Wagner' > , > 10/28/2002 nagios-users at lists.sourceforge.net > 12:57 PM cc: > Subject: RE: [Nagios-users] NTray: RFE > > > > > > Seconded. NTray is *very* useful when everything is up, but virtually > useless when there are acknowledged alerts that sit around for any length > of > time. Pink would seem to be the color of choice since that's what Nagios > uses in the Tactical Overview display. > > Thanks, > jonathan > > +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > > Sent: Monday, October 28, 2002 10:49 AM > > To: 'Robert Wagner'; nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NTray: RFE > > > > > > Robert, I was wondering if you're accepting Requests For > > Enhancements to > > NTray. > > > > Specifically, if there are no unacknowledged critical alerts, > > for the colour > > of the tray icon to be something other than red. Like pink, > > maybe. Or > > shaded red. Or half red, half grey. Just something which > > will let me and > > my fellow admins think, "Okay, there's still work to to be > > done, but we > > don't need to spring into action and see what Nagios is > > trying to bring to > > our attention." > > > > Otherwise, we have this red dot in our tray and the admins > > wondering what's > > wrong. :P > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Oct 28 21:33:18 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 14:33:18 -0600 Subject: no email notifications Message-ID: Yes and no. Depends on whether you prefer the monolithic approach (reinventing the wheel) or the modular approach (UNIX). MTAs such as Sendmail have a long legacy of problems which have been resolved/minimized. Hence the growth in popularity of secure/high performance MTAs such as Qmail and Postfix. I'm sure if you wanted to avoid using Sendmail, you could hack together a script using Expect and netcat. ;) (Of course, then you'll need to ponder what to do when the upstream MTA is down or backlogged, how to deal with the appropriate error codes, etc. While you're at it, perhaps you wouldn't mind whipping up a little code to replace the BIND libraries. ;) jc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, October 28, 2002 1:26 PM > To: Carroll, Jim P [Contractor] > Cc: Nagios List > Subject: RE: [Nagios-users] no email notifications > > > Good point but I didn't see it specified anywhere that an MTA was > needed. An MTA could have been written into nagios... > > On Mon, 2002-10-28 at 13:09, Carroll, Jim P [Contractor] wrote: > > Yup. If you don't use Sendmail, you need to use some MTA. > How else will > > the mail get from your Nagios host to another host? > > > > jc > > > > > -----Original Message----- > > > From: Jeff McKeon [mailto:jsm at inpro.net] > > > Sent: Monday, October 28, 2002 11:40 AM > > > To: Nagios List > > > Subject: [Nagios-users] no email notifications > > > > > > > > > I've got nagios set up and monitoring several systems and > services no > > > problem. I am not however receiving any notifications > over email. I > > > can't seem to find any error messages about this on the system. > > > > > > Since the machine I'm testing nagios on is my personal desktop, I > > > previously removed sendmail because it simply wasn't > needed. Is this > > > why no mail notifications are going out? > > > > > > Thanks, > > > > > > Jeff > > > > > > contents of contacts.cfg: > > > > > > ****snip**** > > > > > > # 'jsm' contact definition > > > define contact{ > > > contact_name jsm > > > alias Jeff McKeon > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options c,r > > > host_notification_options d,r > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email jsm at inpro.net > > > } > > > > > > ****snip**** > > > > > > Contents of contactgroup.cfg > > > > > > # 'admins' contact group definition > > > define contactgroup{ > > > contactgroup_name admins > > > alias Administrators > > > members nagios,jsm > > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From r.m.koperdraad at wanadoo.nl Mon Oct 28 21:49:03 2002 From: r.m.koperdraad at wanadoo.nl (Ron Koperdraad) Date: Mon, 28 Oct 2002 21:49:03 +0100 Subject: nagios can't loggin to PostgreSQL Message-ID: <000d01c27ec3$72ff6d60$0f00a8c0@w2kworkstation> John, No I didn't got a aswer on my question, but I found a way to get it working. In the directory nagios-1.0b6/xdata/ you have to edit the following files xcddb.c xdddb.c xeddb.c xrddb.c xsddb.c. in these files you will find the following char xcddb_host[XCDDB_BUFFER_LENGTH]=""; char xcddb_username[XCDDB_BUFFER_LENGTH]=""; char xcddb_password[XCDDB_BUFFER_LENGTH]=""; char xcddb_database[XCDDB_BUFFER_LENGTH]=""; int xcddb_port=3306; int xcddb_optimize_data=TRUE; The ip number of my nagios system = 192.168.0.10 and if you check out the /etc/services file you would see that port 3306 is the port for MySQL for PostgreSQL you have to change it to 5432. The username, password and database are at my system the same (nagios) so I have changed the .c files as follows char xcddb_host[XCDDB_BUFFER_LENGTH]="192.168.0.10"; char xcddb_username[XCDDB_BUFFER_LENGTH]="nagios"; char xcddb_password[XCDDB_BUFFER_LENGTH]="nagios"; char xcddb_database[XCDDB_BUFFER_LENGTH]="nagios"; int xcddb_port=5432; int xcddb_optimize_data=TRUE; recompiled nagios and now it's working fine. Regards Ron. > ----- Original Message ----- > From: "John Boggon" > To: "Ron Koperdraad" > Sent: Sunday, 27 October, 2002 10:31 > Subject: Re: [Nagios-users] nagios can't loggin to PostgreSQL > > > > > Ron Koperdraad wrote: > > > > > > I have installed Nagios 1.0b6 with the compile option > > > "--with-pgsql-xdata". > > > > > > within PostgreSQL version 7.2.1 I've created the database nagios with > > > the tables as described in the documentation, I created the user > > > nagios gave him a password and set the appropriate rights. > > > > > > Nagios and PostgreSQL are installed on the same machine using Redhat > > > 7.3. > > > > > > if I start nagios I get the message Error: Could not connect to > > > PostgreSQL database ' ' on host ' ' using username ' ' and password > > > ' ' > > > > > > I get this message for Status data, Retention data, comment data and > > > downtime date > > > > > > in the resource.cfg the name of the database the port en the > > > username/password are defined as the should be. Form a windows > > > machine use access a can access the database. > > > > > > Ron K > > > > Ron, > > Did you ever get an answer to this problem? I have the same symptoms, > > and would like to find a fix > > > > John. > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mohammad at cerberian.com Mon Oct 28 23:07:59 2002 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Mon, 28 Oct 2002 14:07:59 -0800 Subject: (no subject) Message-ID: <000f01c27ece$7ad18770$3200000a@QA2> Hi, I get an error in setting up the following event handler service. Here is my setup: Service.cfg: define service{ use generic-service host_name devlinux service_description TESTD is_volatile 0 check_period workhours max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 event_handler restart-daemon } misccommands.cfg: define command{ command_name restart-daemon command_line /usr/local/nagios/libexec/eventhandlers/restart-daemon $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } nagios -v nagios.cfg results: Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 402) Where line 402 begins with: define service{ of the TESTD service, as described above. What am I missing? Thanks in advance. -M. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Mon Oct 28 21:44:55 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 12:44:55 -0800 (PST) Subject: Apan Configurations-- W/ errors In-Reply-To: References: Message-ID: <20021028204455.78567.qmail@web21510.mail.yahoo.com> Ditto.....Keep getting, /usr/local/nagios/apan/plugs/disk.sh: 14: Systan Error: Bad substition I only have one line in apan.cfg for PING. DataColo wrote:Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carlos Rego [mailto:carlos at datacolo.com] >>Sent: Mon 28-Oct-02 07:26 >>To: nagios-users at lists.sourceforge.net >>Cc: >>Subject: [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrozes at vinton.com Mon Oct 28 22:24:44 2002 From: jrozes at vinton.com (Jonathan Rozes) Date: Mon, 28 Oct 2002 13:24:44 -0800 Subject: (no subject) Message-ID: <48B8D6ECC8C93E4E992AEB43EE8565DB040C33@pdx-mail01.wvs> Just like the error message says, you have no check_command defined for the service. Define one and you should be in business. jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios -----Original Message----- From: Mohammad Ghaeini [mailto:mohammad at cerberian.com] Sent: Monday, October 28, 2002 2:08 PM To: 'Nagios List' Subject: [Nagios-users] (no subject) Hi, I get an error in setting up the following event handler service. Here is my setup: Service.cfg: define service{ use generic-service host_name devlinux service_description TESTD is_volatile 0 check_period workhours max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 event_handler restart-daemon } misccommands.cfg: define command{ command_name restart-daemon command_line /usr/local/nagios/libexec/eventhandlers/restart-daemon $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } nagios -v nagios.cfg results: Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 402) Where line 402 begins with: define service{ of the TESTD service, as described above. What am I missing? Thanks in advance. -M. -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at sliderule.demon.co.uk Mon Oct 28 22:36:06 2002 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Mon, 28 Oct 2002 21:36:06 +0000 Subject: plugin get's connection refused by host, but still says ok References: <1035824063.28865.3.camel@tech03> Message-ID: <3DBDADC6.1ED19825@sliderule.demon.co.uk> Could the check_ftp plugin be matching the 2002 in the date as a 200 (OK) status ? Steve. Sean McAvoy wrote: > > I've got two distributed nagios servers, reporting back to my central > server. It seems that when the service fails (i.e. connection refused or > socket timeout), it still reports the service as being ok. Any ideas > where the problem might be? > > Example error: > Customer FTP service > OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host > > -- > Sean McAvoy > Network Analyst > Megawheels Technologies Inc. > Phone: 416.360.8211 > Fax: 416.360.1403 > Cell: 416.616.6599 > > ------------------------------------------------------------------------ > Name: signature.asc > signature.asc Type: application/pgp-signature > Description: This is a digitally signed message part -- Steve Burton Webmaster & Sub-optimal Coder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Mon Oct 28 22:08:16 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 13:08:16 -0800 (PST) Subject: Images using wrong path? In-Reply-To: <1035831929.1345.2.camel@localhost.localdomain> References: <1035831929.1345.2.camel@localhost.localdomain> Message-ID: <20021028210816.90115.qmail@web21510.mail.yahoo.com> Are these the logos, the image when you click on a host or service? You say your images are in /apps/nagios/share/images have you tried moving them to /apps/nagios/sbin/? > or unable to stat: /apps/nagios/sbin/down.gif > My images are in /apps/nagios/share/images. Sean Lutner wrote:I hate to reply to my own post, but has anyone seen this problem before or have any ideas what I'm doing wrong? I've read all the docs I've come across and haven't found any mention of it. I've also never had this problem with netsaint. Everything from my netsaint install has been converted and nagios is running, except for displaying images called from a CGI. Any ideas or help at all would be greatly appreciated. I can post any configs anyone might want to see. Thanks Sean On Mon, 2002-10-21 at 12:04, Sean Lutner wrote: > I'm in the process of upgrading from my netsaint installation to Nagios. > I've compiled Nagios with the following options. > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ --with/htmurl= > > and the plugins with the following > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ > > I've converted my netsaint configs and nagios is running and working, > however all the images are not loading. All images called from a cgi are > not woroking and appear to be called with the wrong path. > > Here is a snippet from my apache logs. > > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found > or unable to stat: /apps/nagios/sbin/up.gif > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not found > or unable to stat: /apps/nagios/sbin/down.gif > > > My images are in /apps/nagios/share/images. > > Any ideas why this is happening would be greatly appreciated. I can also > provide further configs if needed. > > Thanks > Sean > > -- > Sean Lutner > Senior Systems & Network Administrator > TechTarget, Inc. > 117 Kendrick St, Suite 800 > Needham, MA 02494 > P: 781-657-1337 > F: 781-657-1100 > E: sean at techtarget.com W: http://www.techtarget.com > > "Imagination is more important than knowledge." -- Albert Einstein > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Sean Lutner Senior Systems & Network Administrator TechTarget, Inc. 117 Kendrick St, Suite 800 Needham, MA 02494 P: 781-657-1337 F: 781-657-1100 E: sean at techtarget.com W: http://www.techtarget.com "Imagination is more important than knowledge." -- Albert Einstein ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Mon Oct 28 22:18:41 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 13:18:41 -0800 (PST) Subject: (no subject) In-Reply-To: <000f01c27ece$7ad18770$3200000a@QA2> References: <000f01c27ece$7ad18770$3200000a@QA2> Message-ID: <20021028211841.19633.qmail@web21502.mail.yahoo.com> Not sure if you really want; (not sure what event_handler does) event_handler restart-daemon Try; check_command restart-daemon Mohammad Ghaeini wrote: Hi, I get an error in setting up the following event handler service. Here is my setup: Service.cfg: define service{ use generic-service host_name devlinux service_description TESTD is_volatile 0 check_period workhours max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 event_handler restart-daemon } misccommands.cfg: define command{ command_name restart-daemon command_line /usr/local/nagios/libexec/eventhandlers/restart-daemon $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } nagios ?v nagios.cfg results: Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 402) Where line 402 begins with: define service{ of the TESTD service, as described above. What am I missing? Thanks in advance. -M. --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tony at frazznet.com Mon Oct 28 23:19:45 2002 From: Tony at frazznet.com (Tony) Date: Mon, 28 Oct 2002 17:19:45 -0500 Subject: Weird Problem Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60D@jupiter.avsconsulting.net> Has anyone seen the nagios server become unavailable when it is checking hosts that are down? Hello all, I am having the following problem with nagios. I was having the same problem with netsaint on a different machine before I moved to nagios. I have nagios monitoring a few different servers and hosts on the other side of a WAN. The industrial park where our building is located has major telecom problems. This causes the occasional problem with the WAN going up and down. However, sometimes the WAN wants to bounce quite a bit within a few hour time frame. That is when my problem happens. What happens is that when the WAN "flaps", it causes the reporting of all of the other services that nagios monitors to report down. All of the services monitored are just pings to about 4 servers and a couple of switches. I know the servers are up because I also setup Servers Alive to monitor all of the same servers. I did Setup servers alive to monitor the nagios box and during times of this happening, the box is unreachable via port 23. It is almost like all of the attempted pings to the wan are causing a denial of service attack on itself which caused the box not to be able to get to any other host. I am sorry if this sounds confusing, but it is hard to explain. Hopefully someone can read between my lines and tell me if they have ever seen this problem and if so, how they solved it. Thanks -Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Mon Oct 28 23:34:04 2002 From: jsm at inpro.net (Jeff McKeon) Date: 28 Oct 2002 17:34:04 -0500 Subject: email notification question Message-ID: <1035844449.2114.4.camel@rh80-jsm.telaurus.net> Ok, I've got email notifications working, sort of... (fyi: RH 8.0 with sendmail) the problem I'm having seems to be that because the email's are going out from the sendmail server on the localhost, which isn't a registered server and can't be resolve via DNS, certain receiving email servers are rejecting the mail. Probably as an antispam protection. Is there a way to set an alias for the nagios email address? So instead of the notifications coming from nagios at machinename.localdomain.net it can be set with a return address of an existing email account that can be resolved? thanks! Jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrewm659 at hotmail.com Mon Oct 28 23:38:26 2002 From: andrewm659 at hotmail.com (Andrew Meyer) Date: Mon, 28 Oct 2002 22:38:26 +0000 Subject: nagios and /etc/hosts Message-ID: is there a way for nagios to look at the /etc/hosts file to do DNS Name Resolution lookups? Andrew Meyer _________________________________________________________________ Get a speedy connection with MSN Broadband.? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean at techtarget.com Mon Oct 28 23:35:11 2002 From: sean at techtarget.com (Sean Lutner) Date: Mon, 28 Oct 2002 17:35:11 -0500 Subject: Images using wrong path? In-Reply-To: <20021028210816.90115.qmail@web21510.mail.yahoo.com> References: <20021028210816.90115.qmail@web21510.mail.yahoo.com> Message-ID: <8508B97C-EAC5-11D6-9444-0050E425C259@techtarget.com> The logos seem to work fine. But they are called from a straight html page. Any images which are called from a CGI are not working. I looked through some of the code, and it looks like the path is set at compile time. I'm having a hard time figuring out where this is geting set to the wrong path. I have tried putting the images in the sbin dir. This doesn't work because the sbin dir is the cgi-bin for the nagios site and apache tries to execute the images rather than display them. Thanks Sean On Monday, October 28, 2002, at 04:08 PM, Jon Lyons wrote: > Are these the logos, the image when you click on?a host or service? > You say your images are in /apps/nagios/share/images have you tried > moving them to /apps/nagios/sbin/? > > > or unable to stat: /apps/nagios/sbin/down.gif? > > My images are in /apps/nagios/share/images. > ? > > ? > > ? > > ?Sean Lutner wrote: > > I hate to reply to my own post, but has anyone seen this problem before > or have any ideas what I'm doing wrong? I've read all the docs I've > come > across and haven't found any mention of it. I've also never had this > problem with netsaint. Everything from my netsaint install has been > converted and nagios is running, except for displaying images called > from a CGI. Any ideas or help at all would be greatly appreciated. I > can > post any configs anyone might want to see. > > Thanks > Sean > > > On Mon, 2002-10-21 at 12:04, Sean Lutner wrote: > > I'm in the process of upgrading from my netsaint installation to > Nagios. > > I've compiled Nagios with the following options. > > > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ > --with/htmurl= > > > > and the plugins with the following > > > > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/ > > > > I've converted my netsaint configs and nagios is running and working, > > however all the images are not loading. All images called from a cgi > are > > not woroking and appear to be called with the wrong path. > > > > Here is a snippet from my apache logs. > > > > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not > found > > or unable to stat: /apps/nagios/sbin/up.gif > > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script not > found > > or unable to stat: /apps/nagios/sbin/down.gif > > > > > > My images are in /apps/nagios/share/images. > > > > Any ideas why this is happening would be greatly appreciated. I can > also > > provide further configs if needed. > > > > Thanks > > Sean > > > > -- > > Sean Lutner > > Senior Systems & Network Administrator > > TechTarget, Inc. > > 117 Kendrick St, Suite 800 > > Needham, MA 02494 > > P: 781-657-1337 > > F: 781-657-1100 > > E: sean at techtarget.com W: http://www.techtarget.com > > > > "Imagination is more important than knowledge." -- Albert Einstein > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- > Sean Lutner > Senior Systems & Network Administrator > TechTarget, Inc. > 117 Kendrick St, Suite 800 > Needham, MA 02494 > P: 781-657-1337 > F: 781-657-1100 > E: sean at techtarget.com W: http://www.techtarget.com > > "Imagination is more important than knowledge." -- Albert Einstein > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3922 bytes Desc: not available URL: From val at volkai.com Mon Oct 28 23:37:15 2002 From: val at volkai.com (Val Vechnyak) Date: Mon, 28 Oct 2002 17:37:15 -0500 Subject: SMTP Critical but SMTP is working Message-ID: <00dc01c27ed2$90efc5e0$c701a8c0@latitude> Hello, I am running latest beta of Nagios on my RH7.3 box and here is what I get from check_smtp ./check_smtp mail.nycity.com SMTP OK - 0 second response time Socket timeout after 10 seconds Mail runs on Domino and IS working fine. Domino also runs on Linux RH7.3. I am not sure if this is related to a misconfigured Domino or nagios is not seeing something. P.S. It works against a sendmail server on the same network. Thank you very much in advance. VV -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Oct 29 00:07:16 2002 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Oct 2002 17:07:16 -0600 Subject: nagios and /etc/hosts Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7188B@mismail.ena.com> Google is your friend. It's not a nagiosism, but rather a function of the operating system resolver libraries. http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/neat-dns.html Look at the tip at the bottom of the page. I know it works for slackware and redhat but YMMV... -- Marc > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 28, 2002 4:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios and /etc/hosts > > is there a way for nagios to look at the /etc/hosts file to do DNS Name > Resolution lookups? > > > Andrew Meyer > > _________________________________________________________________ > Get a speedy connection with MSN Broadband.? Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 29 00:26:01 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 17:26:01 -0600 Subject: nagios and /etc/hosts Message-ID: I'm not entirely sure what you're asking for here. (It would help if you were to present the actual problem you're trying to overcome, rather than the task you (think you) need to solve. First, /etc/hosts has very little to do with the DNS resolver libraries. Second, from an 'internal' POV, Nagios doesn't use DNS. Or /etc/hosts. Not directly, anyway. (I've been wondering why Nagios was designed to require hard-coded IP addresses, as opposed to using DNS... I realize that DNS is another point of failure, but a savvy admin could set up a caching server on the Nagios host.) But if you mean from the POV of an MTA, then yes, you need to have (in one possible config) the smarterhost defined in /etc/hosts or in DNS. If you're wondering (as I have) if there's a way to tell Nagios to use DNS (or /etc/hosts) instead of having to manage Yet Another List Of IP Addresses, then no, not that I'm aware of. I'd be curious if this could be an RFE for the future, but maybe there are excellent design arguments against doing so (which I'd be keen to hear). jc > -----Original Message----- > From: Andrew Meyer [mailto:andrewm659 at hotmail.com] > Sent: Monday, October 28, 2002 4:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios and /etc/hosts > > > is there a way for nagios to look at the /etc/hosts file to > do DNS Name > Resolution lookups? > > > Andrew Meyer > > _________________________________________________________________ > Get a speedy connection with MSN Broadband.? Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Tony at frazznet.com Tue Oct 29 00:28:30 2002 From: Tony at frazznet.com (Tony) Date: Mon, 28 Oct 2002 18:28:30 -0500 Subject: FreeBSD users Message-ID: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> Is anyone on this list using Nagios with FreeBSD? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lilesb at ijet.com Tue Oct 29 00:35:07 2002 From: lilesb at ijet.com (Bryan Liles) Date: 28 Oct 2002 18:35:07 -0500 Subject: nagios can't loggin to PostgreSQL In-Reply-To: <000d01c27ec3$72ff6d60$0f00a8c0@w2kworkstation> References: <000d01c27ec3$72ff6d60$0f00a8c0@w2kworkstation> Message-ID: <1035848117.1265.1.camel@dhcppc0> I believe that you can set the port in the configuration files. Have a look at the default etc/resources.cfg, and notice how you can change the port numbers. On Mon, 2002-10-28 at 15:49, Ron Koperdraad wrote: > John, > > No I didn't got a aswer on my question, but I found a way to get it > working. > In the directory nagios-1.0b6/xdata/ you have to edit the following files > xcddb.c xdddb.c xeddb.c xrddb.c xsddb.c. > > in these files you will find the following > > char xcddb_host[XCDDB_BUFFER_LENGTH]=""; > char xcddb_username[XCDDB_BUFFER_LENGTH]=""; > char xcddb_password[XCDDB_BUFFER_LENGTH]=""; > char xcddb_database[XCDDB_BUFFER_LENGTH]=""; > int xcddb_port=3306; > int xcddb_optimize_data=TRUE; > > The ip number of my nagios system = 192.168.0.10 and if you check out the > /etc/services file you would see that port 3306 is the port for MySQL for > PostgreSQL you have to change it to 5432. > The username, password and database are at my system the same (nagios) so I > have changed the .c files as follows > > char xcddb_host[XCDDB_BUFFER_LENGTH]="192.168.0.10"; > char xcddb_username[XCDDB_BUFFER_LENGTH]="nagios"; > char xcddb_password[XCDDB_BUFFER_LENGTH]="nagios"; > char xcddb_database[XCDDB_BUFFER_LENGTH]="nagios"; > int xcddb_port=5432; > int xcddb_optimize_data=TRUE; > > recompiled nagios and now it's working fine. > > Regards > > Ron. > > > ----- Original Message ----- > > From: "John Boggon" > > To: "Ron Koperdraad" > > Sent: Sunday, 27 October, 2002 10:31 > > Subject: Re: [Nagios-users] nagios can't loggin to PostgreSQL > > > > > > > > Ron Koperdraad wrote: > > > > > > > > I have installed Nagios 1.0b6 with the compile option > > > > "--with-pgsql-xdata". > > > > > > > > within PostgreSQL version 7.2.1 I've created the database nagios with > > > > the tables as described in the documentation, I created the user > > > > nagios gave him a password and set the appropriate rights. > > > > > > > > Nagios and PostgreSQL are installed on the same machine using Redhat > > > > 7.3. > > > > > > > > if I start nagios I get the message Error: Could not connect to > > > > PostgreSQL database ' ' on host ' ' using username ' ' and password > > > > ' ' > > > > > > > > I get this message for Status data, Retention data, comment data and > > > > downtime date > > > > > > > > in the resource.cfg the name of the database the port en the > > > > username/password are defined as the should be. Form a windows > > > > machine use access a can access the database. > > > > > > > > Ron K > > > > > > Ron, > > > Did you ever get an answer to this problem? I have the same symptoms, > > > and would like to find a fix > > > > > > John. > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dave.breiland at accelica.com Tue Oct 29 00:39:34 2002 From: dave.breiland at accelica.com (Dave Breiland) Date: Mon, 28 Oct 2002 15:39:34 -0800 Subject: FreeBSD users In-Reply-To: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> References: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> Message-ID: <000601c27edb$48aa67a0$1a0211ac@superhero> I have used NetSaint on MANY FreeBSD boxes, but not actual Nagios. NetSaint runs great! Dave Breiland -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tony Sent: Monday, October 28, 2002 3:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] FreeBSD users Is anyone on this list using Nagios with FreeBSD? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lilesb at ijet.com Tue Oct 29 00:47:05 2002 From: lilesb at ijet.com (Bryan Liles) Date: 28 Oct 2002 18:47:05 -0500 Subject: nagios and /etc/hosts In-Reply-To: References: Message-ID: <1035848830.1321.5.camel@dhcppc0> Nagios relies on your monitoring server's resolver to do name service queries. If you are running any of the major linux distros, /etc/nsswitch.conf should be configured to use files (ala /etc/hosts) as the first choice when doing a name look up. On Mon, 2002-10-28 at 17:38, Andrew Meyer wrote: > is there a way for nagios to look at the /etc/hosts file to do DNS Name > Resolution lookups? > > > Andrew Meyer > > _________________________________________________________________ > Get a speedy connection with MSN Broadband. Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 29 00:48:40 2002 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Oct 2002 17:48:40 -0600 Subject: SMTP Critical but SMTP is working Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E265B2@mismail.ena.com> I believe there is a fix for this in the plugins cvs. I know we've covered it before. Some MTAs expect QUIT\r and some expect QUIT\r\n. It's a fairly straightforward modification to check_smtp.c as sending \r\n all the time doesn't break anything. That's my recollection of the problem and resolution. M -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Val Vechnyak To: nagios-users at lists.sourceforge.net Sent: Mon Oct 28 16:37:15 2002 Subject: [Nagios-users] SMTP Critical but SMTP is working Hello, I am running latest beta of Nagios on my RH7.3 box and here is what I get from check_smtp ./check_smtp mail.nycity.com SMTP OK - 0 second response time Socket timeout after 10 seconds Mail runs on Domino and IS working fine. Domino also runs on Linux RH7.3. I am not sure if this is related to a misconfigured Domino or nagios is not seeing something. P.S. It works against a sendmail server on the same network. Thank you very much in advance. VV -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Oct 29 01:01:27 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Oct 2002 18:01:27 -0600 Subject: email notification question Message-ID: (Setting up a properly functional MTA is somewhat orthogonal to the charter of this list, but I'll take a crack at it.) You *can* tweak the sender hostname/domainname, but then you'd better hope that the receiving MTA doesn't do a reverse lookup on that info. The short answer is this: In sendmail.cf, find the line that starts with "Dj" then substitute the rest of that line with the hostname/domainname you want to be seen as. E.g., if you want to be seen as nagios.foobar.com, then change that line to be "Djnagios.foobar.com". Restart sendmail and see how that works. DISCLAIMER: This tweak is based on the trivial amount of info I have in this particular situation. If e-mail were mission critical on your Nagios server, you might want to take the time to either learn Sendmail, or replace it with something you'd rather learn (eg, Qmail, Postfix). (Perhaps it's time I started to refer all those with mail config questions to this link: http://www.tldp.org/HOWTO/Mail-Administrator-HOWTO.html ) jc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, October 28, 2002 4:34 PM > To: Nagios List > Subject: [Nagios-users] email notification question > > > Ok, I've got email notifications working, sort of... > > (fyi: RH 8.0 with sendmail) > > the problem I'm having seems to be that because the email's are going > out from the sendmail server on the localhost, which isn't a > registered > server and can't be resolve via DNS, certain receiving email > servers are > rejecting the mail. Probably as an antispam protection. Is > there a way > to set an alias for the nagios email address? So instead of the > notifications coming from nagios at machinename.localdomain.net it can be > set with a return address of an existing email account that can be > resolved? > > thanks! > > Jeff > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From steve at sliderule.demon.co.uk Tue Oct 29 01:09:22 2002 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Tue, 29 Oct 2002 00:09:22 +0000 Subject: FreeBSD users References: <000601c27edb$48aa67a0$1a0211ac@superhero> Message-ID: <3DBDD1B2.FE4449AF@sliderule.demon.co.uk> I'm using nagios (just started) on FreeBSD 4.6.2. It is capable of so much that I'm still writing the spec. of the config files! My test setup is working really well and I'm already writing a plugin to monitor a Compaq RAID array. Steve. Dave Breiland wrote: > > I have used NetSaint on MANY FreeBSD boxes, but not actual Nagios. > NetSaint runs great! > > Dave Breiland > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tony > Sent: Monday, October 28, 2002 3:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FreeBSD users > > Is anyone on this list using Nagios with FreeBSD? > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Steve Burton Webmaster & Sub-optimal Coder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From val at volkai.com Tue Oct 29 01:26:43 2002 From: val at volkai.com (Val Vechnyak) Date: Mon, 28 Oct 2002 19:26:43 -0500 Subject: SMTP Critical but SMTP is working References: <5DB017510818EC468B05BD7BD9EACF8301E265B2@mismail.ena.com> Message-ID: <01e601c27ee1$db94d220$c701a8c0@latitude> Re: [Nagios-users] SMTP Critical but SMTP is workingI downloaded and copied over the newest check_smtp file (v. 1.6) from CVS tree. Recompiled and installed but it did not help. I cant figure out what it is :( From the same machine that I am running the nagios on I can telnet into my domino mail server on port 25 and then quit - without any problem. What could it be? VV ----- Original Message ----- From: Marc Powell To: val at volkai.com ; nagios-users at lists.sourceforge.net Sent: Monday, October 28, 2002 6:48 PM Subject: Re: [Nagios-users] SMTP Critical but SMTP is working I believe there is a fix for this in the plugins cvs. I know we've covered it before. Some MTAs expect QUIT\r and some expect QUIT\r\n. It's a fairly straightforward modification to check_smtp.c as sending \r\n all the time doesn't break anything. That's my recollection of the problem and resolution. M -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Val Vechnyak To: nagios-users at lists.sourceforge.net Sent: Mon Oct 28 16:37:15 2002 Subject: [Nagios-users] SMTP Critical but SMTP is working Hello, I am running latest beta of Nagios on my RH7.3 box and here is what I get from check_smtp ./check_smtp mail.nycity.com SMTP OK - 0 second response time Socket timeout after 10 seconds Mail runs on Domino and IS working fine. Domino also runs on Linux RH7.3. I am not sure if this is related to a misconfigured Domino or nagios is not seeing something. P.S. It works against a sendmail server on the same network. Thank you very much in advance. VV -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Tue Oct 29 01:25:14 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 28 Oct 2002 16:25:14 -0800 (PST) Subject: FreeBSD users In-Reply-To: <000601c27edb$48aa67a0$1a0211ac@superhero> References: <000601c27edb$48aa67a0$1a0211ac@superhero> Message-ID: <20021029002514.76824.qmail@web21502.mail.yahoo.com> Yes, with 1.06b..Use the ports to install... Dave Breiland wrote:I have used NetSaint on MANY FreeBSD boxes, but not actual Nagios. NetSaint runs great! Dave Breiland -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tony Sent: Monday, October 28, 2002 3:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] FreeBSD users Is anyone on this list using Nagios with FreeBSD? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at sliderule.demon.co.uk Tue Oct 29 01:49:53 2002 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Tue, 29 Oct 2002 00:49:53 +0000 Subject: FreeBSD users References: <000601c27edb$48aa67a0$1a0211ac@superhero> <3DBDD1B2.FE4449AF@sliderule.demon.co.uk> <3DBDE1AA.8070204@microbsd.net> Message-ID: <3DBDDB31.4ECE50D2@sliderule.demon.co.uk> Hi. well it's early days yet! I should have it working tomorrow but I still need to work out how to parameterize it yet. I've three Compaq array controllers I can play with so I might be able to work it out - and the Compaq MIBs of course. Steve. dingo wrote: > > you going to Open the raid plugin, i have 2 compaq arrays that id like > to monitor, one box seems to keep choking but i think its a bad cpu out > of the 4 > > Steve Burton wrote: > > >I'm using nagios (just started) on FreeBSD 4.6.2. It is capable of so > >much that I'm still writing the spec. of the config files! My test setup > >is working really well and I'm already writing a plugin to monitor a > >Compaq RAID array. > > > >Steve. > > > >Dave Breiland wrote: > > > > > >>I have used NetSaint on MANY FreeBSD boxes, but not actual Nagios. > >>NetSaint runs great! > >> > >>Dave Breiland > >> > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net > >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tony > >>Sent: Monday, October 28, 2002 3:29 PM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] FreeBSD users > >> > >>Is anyone on this list using Nagios with FreeBSD? > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >> > > > > > > -- Steve Burton Webmaster & Sub-optimal Coder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From foulplay at foulplay.org Tue Oct 29 01:50:03 2002 From: foulplay at foulplay.org (Avijit Pathania) Date: 28 Oct 2002 19:50:03 -0500 Subject: check_ntp In-Reply-To: References: Message-ID: <1035852603.1050.242.camel@dhcp-25.foulplay.org> As requested, shown below is a snippet of the status.log, hopefully you can make some sense of it. [1035844863]SERVICE;warlock;NTP;CRITICAL;3/3;HARD;1035844856;1035846656; ACTIVE;1;1;1;1035757198;0;CRITICAL;841;0;0;285474;1035844863;1;1;0;0;1; 0;0.00;0;1;1;1;(No output!) Thanks to Rainer who suggested looking at docs/xedtemplate.html to fix the logos/image issue. Thanks Avi On Mon, 2002-10-28 at 07:57, Subhendu Ghosh wrote: > On 28 Oct 2002, Avijit Pathania wrote: > > > Folks, > > > > I have been having couple of weird problem ever since I switched to > > Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. > > > > I used the conversion script provided to convert all netsaint related > > files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 > > services. > > > > The issue is specific only to check_ntp service. For some reason I can > > execute a check through CLI, but the same service displays critical > > state with "No Output" as the $answer in the status.cgi. > > > > i.e: ./check_ntp localhost > > OK: Time difference -0.000001 seconds > > > > I have tried playing with the config files, and changing various > > options. My $USER1$ is defined. > > > Could you post related log messages. > > > > > My second problem is that I am not seeing the respective host images on > > statusmap.cgi. The images are located in /netsaint/images/logos. > > > > check the path to logos > should be /nagios/images/logos/ (http path) > > > > The above two were not an issue in Netsaint. I would appreciate it if > > someone could provide help in this. > > > > Thanks > > Avi > > > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 29 01:56:54 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 19:56:54 -0500 (EST) Subject: Program Status on Mysql In-Reply-To: <7537146F3CB48243B01EEA16DA7110BE1D2B65@excitmi100.europe.unity> References: <7537146F3CB48243B01EEA16DA7110BE1D2B65@excitmi100.europe.unity> Message-ID: On Thu, 24 Oct 2002, Balestra, Roberto wrote: > Hi, When I use Nagios with MySQL, what is the command to check nagios > process that I have to put into CGI.CFG file? > > Roberto > contrib/check_nagios_db.pl -sg -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 29 02:05:07 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 20:05:07 -0500 (EST) Subject: SMTP Critical but SMTP is working In-Reply-To: <01e601c27ee1$db94d220$c701a8c0@latitude> References: <01e601c27ee1$db94d220$c701a8c0@latitude> Message-ID: Marc had the right solution. In the latest CVS check_smtp in add the "-f from_addr at host" option to compltee the SMTP conversation. -sg On Mon, 28 Oct 2002, Val Vechnyak wrote: > Re: [Nagios-users] SMTP Critical but SMTP is workingI downloaded and > copied over the newest check_smtp file (v. 1.6) from CVS tree. > Recompiled and installed but it did not help. I cant figure out what it > is :( From the same machine that I am running the nagios on I can telnet > into my domino mail server on port 25 and then quit - without any > problem. What could it be? > > VV > > > > > ----- Original Message ----- > From: Marc Powell > To: val at volkai.com ; nagios-users at lists.sourceforge.net > Sent: Monday, October 28, 2002 6:48 PM > Subject: Re: [Nagios-users] SMTP Critical but SMTP is working > > > I believe there is a fix for this in the plugins cvs. I know we've > covered it before. Some MTAs expect QUIT\r and some expect QUIT\r\n. > It's a fairly straightforward modification to check_smtp.c as sending > \r\n all the time doesn't break anything. That's my recollection of the > problem and resolution. > > M > > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > -----Original Message----- > From: Val Vechnyak > To: nagios-users at lists.sourceforge.net > Sent: Mon Oct 28 16:37:15 2002 > Subject: [Nagios-users] SMTP Critical but SMTP is working > > Hello, > > I am running latest beta of Nagios on my RH7.3 box and here is what I get from check_smtp > > ./check_smtp mail.nycity.com > SMTP OK - 0 second response time > Socket timeout after 10 seconds > > Mail runs on Domino and IS working fine. Domino also runs on Linux > RH7.3. I am not sure if this is related to a misconfigured Domino or > nagios is not seeing something. > > P.S. It works against a sendmail server on the same network. > > Thank you very much in advance. > > VV > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 29 02:12:09 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Oct 2002 20:12:09 -0500 (EST) Subject: check_ntp In-Reply-To: <1035852603.1050.242.camel@dhcp-25.foulplay.org> References: <1035852603.1050.242.camel@dhcp-25.foulplay.org> Message-ID: Could you also post the related service/command definitions. -sg On 28 Oct 2002, Avijit Pathania wrote: > As requested, shown below is a snippet of the status.log, hopefully you > can make some sense of it. > > > [1035844863]SERVICE;warlock;NTP;CRITICAL;3/3;HARD;1035844856;1035846656; > ACTIVE;1;1;1;1035757198;0;CRITICAL;841;0;0;285474;1035844863;1;1;0;0;1; > 0;0.00;0;1;1;1;(No output!) > > > > On Mon, 2002-10-28 at 07:57, Subhendu Ghosh wrote: > > On 28 Oct 2002, Avijit Pathania wrote: > > > > > Folks, > > > > > > I have been having couple of weird problem ever since I switched to > > > Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. > > > > > > I used the conversion script provided to convert all netsaint related > > > files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 > > > services. > > > > > > The issue is specific only to check_ntp service. For some reason I can > > > execute a check through CLI, but the same service displays critical > > > state with "No Output" as the $answer in the status.cgi. > > > > > > i.e: ./check_ntp localhost > > > OK: Time difference -0.000001 seconds > > > > > > I have tried playing with the config files, and changing various > > > options. My $USER1$ is defined. > > > > > > Could you post related log messages. > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Tue Oct 29 03:29:22 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Mon, 28 Oct 2002 18:29:22 -0800 Subject: Parents Hosts and Host Dependencies: what's the difference? In-Reply-To: References: Message-ID: <3DBDF282.8030903@sbcglobal.net> My title sums it up. I'm unclear as to the exact difference between these concepts. What are the differences? Thanks, sk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Tue Oct 29 04:44:29 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 29 Oct 2002 13:44:29 +1000 Subject: NSClient on P4 Message-ID: <5.1.0.14.2.20021029132856.01ee1418@imap.qut.edu.au> Hello all, Has anyone had any problems running NSClient 1.0.7.0 on P4's? I have installed the pnsclient.exe as per instruction and when I try to query the client running under Win2k on a P4, I always get a "No data was recieved from host!" message. I've tried copying in the dlls that come with 1.0.7.0 but that appears to have made no difference. I've also tried several different PCs with 2k on a P4 and nothing seems to work. Has anyone else installed then successfully queried NSClient on a P4? ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mloftis at wgops.com Tue Oct 29 05:13:40 2002 From: mloftis at wgops.com (Michael Loftis) Date: Mon, 28 Oct 2002 20:13:40 -0800 Subject: FreeBSD users In-Reply-To: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> References: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.ne t> Message-ID: <78455793.1035836020@[10.1.2.77]> *raises his hand* Running on a 4.6.2 box. Not checking a lot of services and hosts (about ~100 services on 30 or so hosts) though. --On Monday, October 28, 2002 6:28 PM -0500 Tony wrote: > Is anyone on this list using Nagios with FreeBSD? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mkothandan at yahoo.com Tue Oct 29 06:25:34 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Mon, 28 Oct 2002 21:25:34 -0800 (PST) Subject: Diskspace check Message-ID: <20021029052534.93113.qmail@web40404.mail.yahoo.com> function SetDomain(d) { document.domain = d; }Dear dir This is the error i got C:\ Free Space CRITICAL 10-28-2002 19:25:12 0d 3h 15m 3s 3/3 (No output!) In windows nt .This is iam added in Checkcommand.cfg file # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_disk -H $172.16.0.11$ -p 1248 -v USEDDISKSPACE -l c $ARG1$ -w $ARG2$ -c $ARG3$ } Regards kothandan (Als) Koths --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Wanglund at datavis.se Tue Oct 29 08:04:36 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 29 Oct 2002 08:04:36 +0100 Subject: Apan Configurations Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278037E@storevis.datavis.se> I am currently working on an HOWTO section in the docs on Apans homepage. Here's the short one (assuming tou have installed the files and defined the command): 1) Define a sevice in Nagios with apan as check_command and the plugin-name as first argument; define service{ host_name server service_description Ping ... check_command apan!ping!100.0,20%!500.0,60% ... } 2) Create a RRD_file rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3) Define the serice in apan.cfg server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Secondsefine the serice in apan.cfg 4) Add a URL and icon to the service define serviceextinfo{ host_name server service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Ping icon_image graph.png ... } /FredrikW -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: Mon 28-Oct-02 19:28 To: Carroll, Jim P [Contractor] Cc: Nagios Mailing List Subject: Re: [Nagios-users] Apan Configurations I set up Orca as your normally would on a standalone box, and then defined an external url (via notes_url in extended information) per Orca'ed host. So while viewing everything via the Nagios gui, clicking the url associated with each host would whisk you away to the host's Orca graph. Depending on when Apan comes out with a working howto, I might write a Orca+Nagios howto, or perhaps a smokeping+nagios howto. Apan will be nice as it will achieve the same results as Orca with the nice rrdtool graphs, but there won't be a need to set up third party software. Sean Carroll, Jim P [Contractor] wrote: >Now I'm curious how Sean got Orca working with Nagios (if that's indeed what >he's doing). > >jc > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 29 08:14:41 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 29 Oct 2002 08:14:41 +0100 Subject: Apan Configurations-- W/ errors Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278037F@storevis.datavis.se> In what OS are you trying to run it? Apan is developed in bash, and line 14, fsname=${NAMELIST[$N]}, does not seem to work in a pure sh-shell. Can you try to install bash?? Meanwhile I will look at the probs and make Apan sh-compatible. /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Mon 28-Oct-02 21:44 To: DataColo; Nagios Mailing List Cc: Subject: Re: [Nagios-users] Apan Configurations-- W/ errors Ditto.....Keep getting, /usr/local/nagios/apan/plugs/disk.sh: 14: Systan Error: Bad substition I only have one line in apan.cfg for PING. DataColo wrote:Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carlos Rego [mailto:carlos at datacolo.com] >>Sent: Mon 28-Oct-02 07:26 >>To: nagios-users at lists.sourceforge.net >>Cc: >>Subject: [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 29 08:26:26 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 29 Oct 2002 08:26:26 +0100 Subject: NSClient on P4 Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780380@storevis.datavis.se> I have problems with NSClient in Win2000 and the latest servicepack. NSCLient is started when the server starts, but it does not work (The service is started byt I dont receive any data from it)... But if I restart the service a few times it suddenly begin to work, and then it works just fine until the machine is restarted. I think thats Windows in a nutshell.... /FredrikW -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Tue 29-Oct-02 04:44 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] NSClient on P4 Hello all, Has anyone had any problems running NSClient 1.0.7.0 on P4's? I have installed the pnsclient.exe as per instruction and when I try to query the client running under Win2k on a P4, I always get a "No data was recieved from host!" message. I've tried copying in the dlls that come with 1.0.7.0 but that appears to have made no difference. I've also tried several different PCs with 2k on a P4 and nothing seems to work. Has anyone else installed then successfully queried NSClient on a P4? ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: x6147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From r.m.koperdraad at wanadoo.nl Tue Oct 29 08:59:45 2002 From: r.m.koperdraad at wanadoo.nl (Ron Koperdraad) Date: Tue, 29 Oct 2002 08:59:45 +0100 Subject: nagios can't loggin to PostgreSQL References: <000d01c27ec3$72ff6d60$0f00a8c0@w2kworkstation> <1035848117.1265.1.camel@dhcppc0> Message-ID: <003801c27f21$2546cb00$0f00a8c0@w2kworkstation> Bryan, I tried that allready but if you only change the resources.cfg and cgi.cfg it won't work, I had to change the c files as well. ----- Original Message ----- From: "Bryan Liles" To: Sent: Tuesday, 29 October, 2002 00:35 Subject: Re: Re:[Nagios-users] nagios can't loggin to PostgreSQL > I believe that you can set the port in the configuration files. Have a > look at the default etc/resources.cfg, and notice how you can change the > port numbers. > > > On Mon, 2002-10-28 at 15:49, Ron Koperdraad wrote: > > John, > > > > No I didn't got a aswer on my question, but I found a way to get it > > working. > > In the directory nagios-1.0b6/xdata/ you have to edit the following files > > xcddb.c xdddb.c xeddb.c xrddb.c xsddb.c. > > > > in these files you will find the following > > > > char xcddb_host[XCDDB_BUFFER_LENGTH]=""; > > char xcddb_username[XCDDB_BUFFER_LENGTH]=""; > > char xcddb_password[XCDDB_BUFFER_LENGTH]=""; > > char xcddb_database[XCDDB_BUFFER_LENGTH]=""; > > int xcddb_port=3306; > > int xcddb_optimize_data=TRUE; > > > > The ip number of my nagios system = 192.168.0.10 and if you check out the > > /etc/services file you would see that port 3306 is the port for MySQL for > > PostgreSQL you have to change it to 5432. > > The username, password and database are at my system the same (nagios) so I > > have changed the .c files as follows > > > > char xcddb_host[XCDDB_BUFFER_LENGTH]="192.168.0.10"; > > char xcddb_username[XCDDB_BUFFER_LENGTH]="nagios"; > > char xcddb_password[XCDDB_BUFFER_LENGTH]="nagios"; > > char xcddb_database[XCDDB_BUFFER_LENGTH]="nagios"; > > int xcddb_port=5432; > > int xcddb_optimize_data=TRUE; > > > > recompiled nagios and now it's working fine. > > > > Regards > > > > Ron. > > > > > ----- Original Message ----- > > > From: "John Boggon" > > > To: "Ron Koperdraad" > > > Sent: Sunday, 27 October, 2002 10:31 > > > Subject: Re: [Nagios-users] nagios can't loggin to PostgreSQL > > > > > > > > > > > Ron Koperdraad wrote: > > > > > > > > > > I have installed Nagios 1.0b6 with the compile option > > > > > "--with-pgsql-xdata". > > > > > > > > > > within PostgreSQL version 7.2.1 I've created the database nagios with > > > > > the tables as described in the documentation, I created the user > > > > > nagios gave him a password and set the appropriate rights. > > > > > > > > > > Nagios and PostgreSQL are installed on the same machine using Redhat > > > > > 7.3. > > > > > > > > > > if I start nagios I get the message Error: Could not connect to > > > > > PostgreSQL database ' ' on host ' ' using username ' ' and password > > > > > ' ' > > > > > > > > > > I get this message for Status data, Retention data, comment data and > > > > > downtime date > > > > > > > > > > in the resource.cfg the name of the database the port en the > > > > > username/password are defined as the should be. Form a windows > > > > > machine use access a can access the database. > > > > > > > > > > Ron K > > > > > > > > Ron, > > > > Did you ever get an answer to this problem? I have the same symptoms, > > > > and would like to find a fix > > > > > > > > John. > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bjorn.ekengren at itsalive.com Tue Oct 29 09:13:57 2002 From: bjorn.ekengren at itsalive.com (=?iso-8859-1?Q?Bj=F6rn_Ekengren?=) Date: Tue, 29 Oct 2002 09:13:57 +0100 Subject: What does the avail-cgi numbers mean Message-ID: <6F41E308EAEF224CA2FEDD00D6B6B07D3F1F7A@test01.itsalive.com> When I look at the reports from the avail.cgi Host % Time Up % Time Down % Time Unreachable % Time Undetermined foo 96.754% (97.582%) 2.398% (2.418%) 0.000% (0.000%) 0.848%% (0.000%) 86.253% bar 0.849% (97.160%) 0.025% (2.840%) 0.000% (0.000%) 99.127% What does the numbers mean ? The only docs I could find was only a few lines describing avail.cgi /Bjorn -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wibo.Lammerts at hmg.nl Tue Oct 29 09:29:46 2002 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Tue, 29 Oct 2002 09:29:46 +0100 Subject: check_ntp again Message-ID: What does it mean if check_ntp returns: "could not open ntpdate"? Where should I look? TIA W ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Tue Oct 29 10:23:19 2002 From: rick at subnet.at (peter riegersperger) Date: Tue, 29 Oct 2002 10:23:19 +0100 Subject: statusmap background error II In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi! quick summary: defining a background image for the statusmap results in a "broken image" link i just realized that my apache should log an error or two ... from the apache log: Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi what should i do? recompile nagios? statusmap and trends are running without any problems, it's just the background image that kills the statusmap. rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of peter > riegersperger > Sent: Sunday, October 27, 2002 1:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap background error > > > > *** PGP Signature Status: good > *** Signer: peter riegersperger > *** Signed: 27.10.2002 13:08:51 > *** Verified: 27.10.2002 13:57:52 > *** BEGIN PGP VERIFIED MESSAGE *** > > hi all! > > i'm trying to set a background image for the statusmap, but the cgi > returns a "broken image" link. the background image is in the > correct subdirectory and in gd2-format (converted with pngtogd2 > with > compression turned off). > > does nagios log its errors somewhere? i wanted to investigate what > goes wrong with my background image, but couldn't find any logfiles > for errors. > > greetings, > > rick > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > > > *** END PGP VERIFIED MESSAGE *** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPb5FeCDD9/SWDsvSEQL40gCeOIUlpEUCUtmTi8PCJBviHGEeloYAoMCf L+6oiqiFbTYSLHll2T0PJPHs =zqNU -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 29 10:55:42 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 29 Oct 2002 10:55:42 +0100 Subject: check_ntp again Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780382@storevis.datavis.se> > >What does it mean if check_ntp returns: "could not open Where >should I look? > >TIA > >W It means that check_ntp is unable to find ntpdate... Do you have ntpdate installed?? is it in the PATH that the plugin uses? /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Tue Oct 29 11:17:33 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 29 Oct 2002 11:17:33 +0100 Subject: Execution Queue and latency Message-ID: <012b01c27f34$655c9b30$6702a8c0@intranet.equal.fr> Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. S?bastien LOUAFI Chef de projet Syst?me et R?seau. e-Qual - Avenue du Futuroscope - Arobase 2, T?l?port 1 86360 Chasseneuil du Poitou - FRANCE ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From foulplay at foulplay.org Tue Oct 29 11:38:43 2002 From: foulplay at foulplay.org (Avijit Pathania) Date: 29 Oct 2002 05:38:43 -0500 Subject: check_ntp - Resolved In-Reply-To: <1035800810.13566.629.camel@dhcp-25.foulplay.org> References: <1035800810.13566.629.camel@dhcp-25.foulplay.org> Message-ID: <1035887923.1048.269.camel@dhcp-25.foulplay.org> This has been resolved thanks to offline help from Rainer. Solutions are listed below: check_ntp returning "No Ouput" Check_ntp.pl line 62 should have the full path to the directory utils.pm is located. utils.pm line 30 should have the path to ntpdate. Images not being seen in status.cgi: Edit/create hostextinfo.cfg as mentioned in docs/xedtemplate.html Thanks Avi On Mon, 2002-10-28 at 05:26, Avijit Pathania wrote: > Folks, > > I have been having couple of weird problem ever since I switched to > Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. > > I used the conversion script provided to convert all netsaint related > files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 > services. > > The issue is specific only to check_ntp service. For some reason I can > execute a check through CLI, but the same service displays critical > state with "No Output" as the $answer in the status.cgi. > > i.e: ./check_ntp localhost > OK: Time difference -0.000001 seconds > > I have tried playing with the config files, and changing various > options. My $USER1$ is defined. > > My second problem is that I am not seeing the respective host images on > statusmap.cgi. The images are located in /netsaint/images/logos. > > The above two were not an issue in Netsaint. I would appreciate it if > someone could provide help in this. > > Thanks > Avi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jhp at addix.net Tue Oct 29 12:31:17 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Tue, 29 Oct 2002 12:31:17 +0100 Subject: Comments in Nagios Message-ID: <20021029113117.GL27140@billgotchy.de> Hi .. I am fighting with comments in the current nagios release. If I try to set one comment to a host, I got this: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... Ok .. I searched in the documentation and I looked into my configfiles. But did not get it working. Can anyone tell me, please, what to do? Thnx and regards Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Oct 29 13:09:00 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 29 Oct 2002 13:09:00 +0100 Subject: Apan Configurations Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780383@storevis.datavis.se> > >Hi. > >Its great to see that someone is finally dealing with graphing the >perfdata. >And for me Apan works fine. But I dont like that it does all the checks by >hostname :( I think it is much better to check by ip >address, like nagios does. > >Brgds, > erkki > I will add that to the feature list... /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kjetil at catchcom.com Tue Oct 29 13:48:20 2002 From: kjetil at catchcom.com (Kjetil Kvig) Date: Tue, 29 Oct 2002 13:48:20 +0100 Subject: Status map/3D Status Map Message-ID: I am monitoring about 60 routers with the check_ifoperstatus plugin (grabbing the ifDescr value on each port on the router). About 10 ports on each router is monitored. So all together i get about 5-600 "elements" that is displayed in Nagios. 1. I want all these routers placed into a map. Can i make a regular .jpg/.png image of my country (Norway) and then place all the routers at the specific cities? The way Nagios places the routers today is just a circle, and all routers around it...if only i could drag the elements out. Havent looked into the "user specified coordinates" yet, but doesnt this only apply to the whole map? Not each object/element? Basically...any tips on how to make the map look organized is good..right now it's just a mess. 2. ..the 3D Status Map... What in the world do i open the statuswrl file in?? And how do i edit it? Any help with this is much appreciated :) Regards Kjetil ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From erkki_k at ut.ee Tue Oct 29 12:30:11 2002 From: erkki_k at ut.ee (Erkki Kukk) Date: Tue, 29 Oct 2002 13:30:11 +0200 (EET) Subject: Apan Configurations In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278037E@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278037E@storevis.datavis.se> Message-ID: Hi. Its great to see that someone is finally dealing with graphing the perfdata. And for me Apan works fine. But I dont like that it does all the checks by hostname :( I think it is much better to check by ip address, like nagios does. Brgds, erkki > I am currently working on an HOWTO section in the docs on Apans homepage. > > Here's the short one (assuming tou have installed the files and defined the command): > > 1) Define a sevice in Nagios with apan as check_command and the plugin-name as first argument; > define service{ > host_name server > service_description Ping > ... > check_command apan!ping!100.0,20%!500.0,60% > ... > } > > 2) Create a RRD_file > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > 3) Define the serice in apan.cfg > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Secondsefine the serice in apan.cfg > > 4) Add a URL and icon to the service > define serviceextinfo{ > host_name server > service_description Ping > notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Ping > icon_image graph.png > ... > } > > > /FredrikW > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 14:11:46 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 08:11:46 -0500 Subject: Status map/3D Status Map Message-ID: you need to look at 2 things to accomplish this. 1) yes, use the "user specified coordinates". This will allow you to control where your images are located around the maps. 2) in cgi.cfg there is an option "statusmap_background_image" which allows you to define a background image for the statusmap. i am not sure if the last item can be done for 3d maps. later, dean -----Original Message----- From: Kjetil Kvig [mailto:kjetil at catchcom.com] Sent: Tuesday, October 29, 2002 7:48 AM To: Nagios-list (E-post) Subject: [Nagios-users] Status map/3D Status Map I am monitoring about 60 routers with the check_ifoperstatus plugin (grabbing the ifDescr value on each port on the router). About 10 ports on each router is monitored. So all together i get about 5-600 "elements" that is displayed in Nagios. 1. I want all these routers placed into a map. Can i make a regular .jpg/.png image of my country (Norway) and then place all the routers at the specific cities? The way Nagios places the routers today is just a circle, and all routers around it...if only i could drag the elements out. Havent looked into the "user specified coordinates" yet, but doesnt this only apply to the whole map? Not each object/element? Basically...any tips on how to make the map look organized is good..right now it's just a mess. 2. ..the 3D Status Map... What in the world do i open the statuswrl file in?? And how do i edit it? Any help with this is much appreciated :) Regards Kjetil ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 14:21:11 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 08:21:11 -0500 Subject: Diskspace check Message-ID: your command_line should be command_line $USER1$/check_disk -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l c $ARG1$ -w $ARG2$ -c $ARG3$ don't do the substitution manually, it is automatic later, dean -- dream outloud -----Original Message----- From: mkothandan kothandan [mailto:mkothandan at yahoo.com] Sent: Tuesday, October 29, 2002 12:26 AM To: nagios-users at lists.sourceforge.net Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Diskspace check Dear dir This is the error i got C:\ Free Space CRITICAL 10-28-2002 19:25:12 0d 3h 15m 3s 3/3 (No output!) In windows nt .This is iam added in Checkcommand.cfg file # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_disk -H $172.16.0.11$ -p 1248 -v USEDDISKSPACE -l c $ARG1$ -w $ARG2$ -c $ARG3$ } Regards kothandan (Als) Koths _____ Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick at subnet.at Tue Oct 29 14:21:08 2002 From: rick at subnet.at (peter riegersperger) Date: Tue, 29 Oct 2002 14:21:08 +0100 Subject: Status map/3D Status Map In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 1. > I want all these routers placed into a map. > Can i make a regular .jpg/.png image of my country (Norway) and > then place all the routers at the specific cities? the background image needs to be in gd2-format (see pngtogd2 in your gd-installation and its covered in the docs for the cgi.cfg) > The way Nagios places the routers today is just a circle, and all > routers around it...if only i could drag the elements out. > Havent looked into the "user specified coordinates" yet, but > doesnt this only apply to the whole map? Not each object/element? > Basically...any tips on how to make the map look organized is > good..right now it's just a mess. you can define the hosts position with x/y-coordinates. i use xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg in cgi.cfg a host-entry in hostextinfo.cfg looks like: define hostextinfo{ host_name NAME icon_image IMAGE.GIF (used in other webinterface files) statusmap_image IMAGE.PNG (used for the statusmap) 2d_coords X-Coord, Y-Coord } btw - the backtgroundimage-feature doesn't work for me. greetings, rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPb59NCDD9/SWDsvSEQLPdQCfVqabtglYZVBsP5TOO8qIisU58bIAn0dQ zPLNc4ezlucmnp1T2OGBncrg =TKbj -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 14:23:44 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 08:23:44 -0500 Subject: Execution Queue and latency Message-ID: It would help if you sent a snippet from your services.cfg and hosts.cfg -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 5:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Execution Queue and latency Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. S?bastien LOUAFI Chef de projet Syst?me et R?seau. e-Qual - Avenue du Futuroscope - Arobase 2, T?l?port 1 86360 Chasseneuil du Poitou - FRANCE ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 29 15:10:28 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Oct 2002 09:10:28 -0500 (EST) Subject: check_ntp again In-Reply-To: References: Message-ID: On Tue, 29 Oct 2002, Wibo Lammerts wrote: > What does it mean if check_ntp returns: "could not open ntpdate"? Where > should I look? > > TIA > > W > > It means that the plugins were configured on a system that had ntpdate (the path name was picked up), but the ntpdate program does not exist on the system you are running check_ntp on. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Oct 29 15:21:10 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Oct 2002 09:21:10 -0500 (EST) Subject: check_ntp - Resolved In-Reply-To: <1035887923.1048.269.camel@dhcp-25.foulplay.org> References: <1035887923.1048.269.camel@dhcp-25.foulplay.org> Message-ID: On 29 Oct 2002, Avijit Pathania wrote: > This has been resolved thanks to offline help from Rainer. > Solutions are listed below: check_ntp returning "No Ouput" > Check_ntp.pl line 62 should have the full path to the directory utils.pm > is located. > utils.pm line 30 should have the path to ntpdate. line 62 in check_ntp.pl gets properly set when you run configure/make -sg > > Images not being seen in status.cgi: > Edit/create hostextinfo.cfg as mentioned in docs/xedtemplate.html > > Thanks > Avi > > On Mon, 2002-10-28 at 05:26, Avijit Pathania wrote: > > Folks, > > > > I have been having couple of weird problem ever since I switched to > > Nagios 1.0.6b from Netsaint 0.0.7. Using nagios plugins 1.3-beta1. > > > > I used the conversion script provided to convert all netsaint related > > files (hosts.cfg, checkcommands.cfg etc). Monitoring three hosts and 32 > > services. > > > > The issue is specific only to check_ntp service. For some reason I can > > execute a check through CLI, but the same service displays critical > > state with "No Output" as the $answer in the status.cgi. > > > > i.e: ./check_ntp localhost > > OK: Time difference -0.000001 seconds > > > > I have tried playing with the config files, and changing various > > options. My $USER1$ is defined. > > > > My second problem is that I am not seeing the respective host images on > > statusmap.cgi. The images are located in /netsaint/images/logos. > > > > The above two were not an issue in Netsaint. I would appreciate it if > > someone could provide help in this. > > > > Thanks > > Avi > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 15:33:35 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 09:33:35 -0500 Subject: qpage to several contacts? Message-ID: Good morning, i am in my final stages of configuration (is there such a thing?) and am just setting up qpage to alert appropriate contacts should the firewall, ISP, or E-Mail server become unavailable. The problem that i am having is that qpage doesn't seem to like having too many things to do...well actually it doesn't like having _two_ things to do. The lock file prevents multiple pages. Does anyone out there in Nag-land use qpage to contact serveral people for a single service? How do you do it? Any suggestions would be appreciated either in parallizing qpage or serializing Nagios notifications. later, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From emann at questinc.org Tue Oct 29 15:39:55 2002 From: emann at questinc.org (Evan Mann) Date: Tue, 29 Oct 2002 09:39:55 -0500 Subject: few questions about service/host setup Message-ID: I've been playing with Nagios for a few weeks now and started to read some of the lists archives and came across a few posts that say that if a service is monited as up, then the host is not checked, and this had me rethinking how I've got Nagios setup. I'm using Nagios exclusively to ping routers and firewalls on their external and internal IP addresses. If I get no ping response after XX times or XX intervals, send a notifcation. I set this up by adding a host for every one of my routers/firewalls and adding a * service group and then disabling the service groups notifcations, only using the hosts notifcations. If Nagios relies on a service to fail to then check the host, for the type of monitoring I am doing, is there any reason to use Host notifcation? Should I do everything at the service level for the most immediate response times? Is there something that the host level provides me that I'd want to utilize? Also, is there a way I can set the service.cfg normal_check_interval using a 's' designation? I left the multiplier in main config as 60 so everything is based on minutes, which means if I set normal_check_interval to 1 it checks every 3 minutes. I'd like it to run a check every 15 seconds. Can I just specify 15s in normal_check_interval or do I need to change my default multiplier down to 1 and adjust all my check values accordingly? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Tue Oct 29 15:37:24 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 29 Oct 2002 15:37:24 +0100 Subject: Execution Queue and latency In-Reply-To: References: Message-ID: <014c01c27f58$b44d2740$6702a8c0@intranet.equal.fr> OK i give you my config files. My services.cfg contains a lot of services like : define service{ host_name 10.10.10.10 service_description PING check_command check_ping!3000,20%!5000,60% max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 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 contact_groups louafi stalking_options o,w,u,c } My hosts.cfg is : define host{ host_name 10.10.10.10 alias 10.10.10.10 address 10.10.10.10 check_command check_alive max_check_attempts 5 checks_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks for your help -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 14:24 ? : 'louafi'; nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] Execution Queue and latency It would help if you sent a snippet from your services.cfg and hosts.cfg -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 5:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Execution Queue and latency Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gcoon at inch.com Tue Oct 29 15:44:47 2002 From: gcoon at inch.com (Gerald) Date: Tue, 29 Oct 2002 09:44:47 -0500 (EST) Subject: FreeBSD users In-Reply-To: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> References: <25BAE0D6BFE17E4DA6BA2AADDE87FDC301F60E@jupiter.avsconsulting.net> Message-ID: <20021029094046.T27326-100000@kod.inch.com> Installed from ports to test migration from netsaint to nagios: $ pkg_info|grep nagios nagios-1.0.b6 Extremely powerful network monitoring system nagios-plugins-1.3.b1 Plugins for nagios $ uname -a FreeBSD kod.inch.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Wed Oct 23 11:26:52 EDT 2002 root at kod.inch.com:/usr/obj/usr/src/sys/KOD i386 $ G On Mon, 28 Oct 2002, Tony wrote: > Is anyone on this list using Nagios with FreeBSD? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 15:59:20 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 09:59:20 -0500 Subject: Execution Queue and latency Message-ID: please send the snippet from checkcommands.cfg where "check_ping" is defined. also, how many hosts/services are you checking? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 9:37 AM To: nagios-users at lists.sourceforge.net Cc: 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency OK i give you my config files. My services.cfg contains a lot of services like : define service{ host_name 10.10.10.10 service_description PING check_command check_ping!3000,20%!5000,60% max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 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 contact_groups louafi stalking_options o,w,u,c } My hosts.cfg is : define host{ host_name 10.10.10.10 alias 10.10.10.10 address 10.10.10.10 check_command check_alive max_check_attempts 5 checks_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks for your help -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 14:24 ? : 'louafi'; nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] Execution Queue and latency It would help if you sent a snippet from your services.cfg and hosts.cfg -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 5:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Execution Queue and latency Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kjetil at catchcom.com Tue Oct 29 16:04:10 2002 From: kjetil at catchcom.com (Kjetil Kvig) Date: Tue, 29 Oct 2002 16:04:10 +0100 Subject: SV: Status map/3D Status Map Message-ID: > -----Opprinnelig melding----- > Fra: peter riegersperger [mailto:rick at subnet.at] > Sendt: 29. oktober 2002 14:21 > Til: nagios-users at lists.sourceforge.net > Emne: RE: [Nagios-users] Status map/3D Status Map > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > 1. > > I want all these routers placed into a map. > > Can i make a regular .jpg/.png image of my country (Norway) and > > then place all the routers at the specific cities? > > the background image needs to be in gd2-format (see pngtogd2 in your > gd-installation and its covered in the docs for the cgi.cfg) > > > The way Nagios places the routers today is just a circle, and all > > routers around it...if only i could drag the elements out. > > Havent looked into the "user specified coordinates" yet, but > > doesnt this only apply to the whole map? Not each object/element? > > Basically...any tips on how to make the map look organized is > > good..right now it's just a mess. > > you can define the hosts position with x/y-coordinates. > i use > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > in cgi.cfg > > a host-entry in hostextinfo.cfg looks like: > define hostextinfo{ > host_name NAME > icon_image IMAGE.GIF (used in other webinterface files) > statusmap_image IMAGE.PNG (used for the statusmap) > 2d_coords X-Coord, Y-Coord > } > > btw - the backtgroundimage-feature doesn't work for me. I tried uncommenting the statusmap_background_image line to: statusmap_background_image=norge.gd2 But i culdnt see any image in the Status Map section either.... Next i inserted the xedtemplate_config_file entry in cgi.cfg (doesnt matter where, does it? i placed it amongs the other statusmap lines) Next, the making of hostextinfo.cfg Is full path to the images necessary? Coords....i tried, out of the blue, "10, 10" as x/y coords, but no luck with this... -snip- define hostextinfo{ host_name R1 icon_image router.gif statusmap_image norge.png 2d_coords 10, 10 } -snip- > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > Comment: public key available at http://home.subnet.at/rick/pgp/ > > iQA/AwUBPb59NCDD9/SWDsvSEQLPdQCfVqabtglYZVBsP5TOO8qIisU58bIAn0dQ > zPLNc4ezlucmnp1T2OGBncrg > =TKbj > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Gary.Every at ingramentertainment.com Tue Oct 29 16:02:18 2002 From: Gary.Every at ingramentertainment.com (Gary.Every at ingramentertainment.com) Date: Tue, 29 Oct 2002 09:02:18 -0600 Subject: email notification question Message-ID: <309419457839D4119E0D00508B6DFE0B0828E0F7@iei-lavergne.mdf.lvrgn.nexus> This is really for the sendmail list, but look in your sendmail.cf file, usually found in /etc or /etc/mail and find the line that looks like: #Dj$foo.bar or something like that You should be able to just search for Dj Change that line to look like this with NO # sign at the beginning Djyourhost.yourdomain.com Then save the file, stop and start sendmail, you should be fine Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 "Pay It Forward" mailto:gary.every at ingramentertainment.com http://accessingram.com -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Monday, October 28, 2002 4:34 PM To: Nagios List Subject: [Nagios-users] email notification question Ok, I've got email notifications working, sort of... (fyi: RH 8.0 with sendmail) the problem I'm having seems to be that because the email's are going out from the sendmail server on the localhost, which isn't a registered server and can't be resolve via DNS, certain receiving email servers are rejecting the mail. Probably as an antispam protection. Is there a way to set an alias for the nagios email address? So instead of the notifications coming from nagios at machinename.localdomain.net it can be set with a return address of an existing email account that can be resolved? thanks! Jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nolan.Martin at co.travis.tx.us Tue Oct 29 16:06:59 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 29 Oct 2002 09:06:59 -0600 Subject: Comments in Nagios Message-ID: The check_external_commands parameter (in nagios.cfg) must be set to 1 (enabled). It is set to 0 (disabled) by default. Additionally, you will need to enable and use CGI authentication (if not already), otherwise Nagios will warn you that what you are trying to do is a bad idea, and will not (by default) let you actually run the commands. Nolan >>> Jan-Hendrik Palic 10/29/02 05:31AM >>> Hi .. I am fighting with comments in the current nagios release. If I try to set one comment to a host, I got this: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... Ok .. I searched in the documentation and I looked into my configfiles. But did not get it working. Can anyone tell me, please, what to do? Thnx and regards Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Tue Oct 29 16:18:36 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 29 Oct 2002 16:18:36 +0100 Subject: Execution Queue and latency In-Reply-To: References: Message-ID: <014d01c27f5e$74341960$6702a8c0@intranet.equal.fr> Ok my check_ping definition is : define command{ command_name check_ping command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } I have around 70 hosts and 800 services... I'm using perfdata to dump check result in a mysql database. Thanks -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 15:59 ? : 'louafi'; nagios-users at lists.sourceforge.net Cc : Bishop, Dean Objet : RE: RE : [Nagios-users] Execution Queue and latency please send the snippet from checkcommands.cfg where "check_ping" is defined. also, how many hosts/services are you checking? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 9:37 AM To: nagios-users at lists.sourceforge.net Cc: 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency OK i give you my config files. My services.cfg contains a lot of services like : define service{ host_name 10.10.10.10 service_description PING check_command check_ping!3000,20%!5000,60% max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 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 contact_groups louafi stalking_options o,w,u,c } My hosts.cfg is : define host{ host_name 10.10.10.10 alias 10.10.10.10 address 10.10.10.10 check_command check_alive max_check_attempts 5 checks_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks for your help -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 14:24 ? : 'louafi'; nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] Execution Queue and latency It would help if you sent a snippet from your services.cfg and hosts.cfg -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 5:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Execution Queue and latency Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From david.micka at redstone.army.mil Tue Oct 29 16:22:53 2002 From: david.micka at redstone.army.mil (Micka, David A CIC) Date: Tue, 29 Oct 2002 09:22:53 -0600 Subject: Status map/3D Status Map Message-ID: I use the 2d coordinates with a separate template file and have 3d coordinates also. 2d statusmap placement works fine but get message in 3d viewer that I haven't supplied any 3d coordinates. Using one of the numbered 3d placement schemes (1,2,3) I get a statuswrl map with icons and info as listed in the extended info file. Set both to 0 for user supplied coordinates and only the 2d map gets rendered. -----Original Message----- From: Kjetil Kvig [mailto:kjetil at catchcom.com] Sent: Tuesday, October 29, 2002 9:04 AM To: peter riegersperger; nagios-users at lists.sourceforge.net Subject: SV: [Nagios-users] Status map/3D Status Map > -----Opprinnelig melding----- > Fra: peter riegersperger [mailto:rick at subnet.at] > Sendt: 29. oktober 2002 14:21 > Til: nagios-users at lists.sourceforge.net > Emne: RE: [Nagios-users] Status map/3D Status Map > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > 1. > > I want all these routers placed into a map. > > Can i make a regular .jpg/.png image of my country (Norway) and > > then place all the routers at the specific cities? > > the background image needs to be in gd2-format (see pngtogd2 in your > gd-installation and its covered in the docs for the cgi.cfg) > > > The way Nagios places the routers today is just a circle, and all > > routers around it...if only i could drag the elements out. > > Havent looked into the "user specified coordinates" yet, but > > doesnt this only apply to the whole map? Not each object/element? > > Basically...any tips on how to make the map look organized is > > good..right now it's just a mess. > > you can define the hosts position with x/y-coordinates. > i use xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > in cgi.cfg > > a host-entry in hostextinfo.cfg looks like: > define hostextinfo{ > host_name NAME > icon_image IMAGE.GIF (used in other webinterface files) > statusmap_image IMAGE.PNG (used for the statusmap) > 2d_coords X-Coord, Y-Coord > } > > btw - the backtgroundimage-feature doesn't work for me. I tried uncommenting the statusmap_background_image line to: statusmap_background_image=norge.gd2 But i culdnt see any image in the Status Map section either.... Next i inserted the xedtemplate_config_file entry in cgi.cfg (doesnt matter where, does it? i placed it amongs the other statusmap lines) Next, the making of hostextinfo.cfg Is full path to the images necessary? Coords....i tried, out of the blue, "10, 10" as x/y coords, but no luck with this... -snip- define hostextinfo{ host_name R1 icon_image router.gif statusmap_image norge.png 2d_coords 10, 10 } -snip- > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > Comment: public key available at http://home.subnet.at/rick/pgp/ > > iQA/AwUBPb59NCDD9/SWDsvSEQLPdQCfVqabtglYZVBsP5TOO8qIisU58bIAn0dQ > zPLNc4ezlucmnp1T2OGBncrg > =TKbj > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RLAdams at Kelsey-Seybold.com Tue Oct 29 16:23:55 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 29 Oct 2002 09:23:55 -0600 Subject: qpage to several contacts? In-Reply-To: References: Message-ID: <7127.52634794942$1035905876@news.gmane.org> I use Sendpage, which IMHO is quite good, rather stable, and more fully featured than qpage. It handles multiple outbound paging modems, and unlike qpage, can deliver simultaenously on both. In addition, it can piggyback messages to multiple recipients on a common carrier (ie: you have 5 people all on the same paging company, you can send pages to all 5 with one phone call versus 5 seperate calls w/ qpage). I suggest you check it out. I used to use qpage with Netsaint 0.0.4b, and it worked fine. You did have to call qpage once per contact though, I think. Have you tried "qpage person1,person2,person3 message"? Russell On Tue, Oct 29, 2002 at 09:33:35AM -0500, Bishop, Dean wrote: > Good morning, > > i am in my final stages of configuration (is there such a thing?) > and am just setting up qpage to alert appropriate contacts should the > firewall, ISP, or E-Mail server become unavailable. The problem that i am > having is that qpage doesn't seem to like having too many things to > do...well actually it doesn't like having _two_ things to do. The lock file > prevents multiple pages. > > Does anyone out there in Nag-land use qpage to contact serveral > people for a single service? > > How do you do it? > > Any suggestions would be appreciated either in parallizing qpage or > serializing Nagios notifications. > > later, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Tue Oct 29 16:17:49 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 29 Oct 2002 10:17:49 -0500 Subject: SMTP Critical but SMTP is working In-Reply-To: <00dc01c27ed2$90efc5e0$c701a8c0@latitude> References: <00dc01c27ed2$90efc5e0$c701a8c0@latitude> Message-ID: <1035904670.2239.13.camel@miles.debisschop.net> On Mon, 2002-10-28 at 17:37, Val Vechnyak wrote: > Hello, > > I am running latest beta of Nagios on my RH7.3 box and here is what I get from check_smtp > > ./check_smtp mail.nycity.com > SMTP OK - 0 second response time > Socket timeout after 10 seconds > > Mail runs on Domino and IS working fine. Domino also runs on Linux RH7.3. I am not sure if this is related to a misconfigured Domino or nagios is not seeing something. > > P.S. It works against a sendmail server on the same network. > > Thank you very much in advance. This is a plugin bug. I'm not sure whether it's fixed in CVS or just on my laptop, or if you've turned up a new related bug. I'll try to look if my son is still asleep and I can get on the laptop. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From zorg at df.ru Tue Oct 29 16:25:14 2002 From: zorg at df.ru (Melekhov Alexandre A.) Date: Tue, 29 Oct 2002 18:25:14 +0300 Subject: Nagios-users digest, Vol 1 #1065 - 28 msgs In-Reply-To: References: Message-ID: <200210291525.g9TFPFQ05915@cannabis.dataforce.net> > Date: Mon, 28 Oct 2002 11:02:29 -0600 (CST) > Subject: Re: [Nagios-users] Nagios Version 1.0b6 > From: "Mike McClure" > To: > > Hi Melekhov, > > Go back to your Nagios build directory and run "make > install-commandmode". That should fix it. Hi! Sure this works! Thanks a lot! > - Mike ============================== BRGDS. Melekhov Alexandre A. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 16:28:12 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 10:28:12 -0500 Subject: Execution Queue and latency Message-ID: well, assuming that you haven't modified "check_ping" it uses 4 pings to test the OK'ness. On my system it takes just over 4seconds to check_ping a host on the LAN. 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. so it will take about 5 minutes just to do the check_pings if things are OK. it just gets worse if things are not OK because then each of the four pings would have to timeout (defaults to 10seconds). 2 suggestions 1) use: command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 1 -t 5 2) use: command_line /opt/nagios/libexec/check_tcp -H $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ substitute the port 23 for something useful. i use 23 for my switches and 135 for my windows boxes. btw check_tcp -h host -p 135 takes about .01s check_ping -h host -p 1 takes about .01s take your pick. later, dean -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 10:19 AM To: nagios-users at lists.sourceforge.net Cc: 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency Ok my check_ping definition is : define command{ command_name check_ping command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } I have around 70 hosts and 800 services... I'm using perfdata to dump check result in a mysql database. Thanks -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 15:59 ? : 'louafi'; nagios-users at lists.sourceforge.net Cc : Bishop, Dean Objet : RE: RE : [Nagios-users] Execution Queue and latency please send the snippet from checkcommands.cfg where "check_ping" is defined. also, how many hosts/services are you checking? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 9:37 AM To: nagios-users at lists.sourceforge.net Cc: 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency OK i give you my config files. My services.cfg contains a lot of services like : define service{ host_name 10.10.10.10 service_description PING check_command check_ping!3000,20%!5000,60% max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 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 contact_groups louafi stalking_options o,w,u,c } My hosts.cfg is : define host{ host_name 10.10.10.10 alias 10.10.10.10 address 10.10.10.10 check_command check_alive max_check_attempts 5 checks_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks for your help -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 14:24 ? : 'louafi'; nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] Execution Queue and latency It would help if you sent a snippet from your services.cfg and hosts.cfg -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 5:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Execution Queue and latency Hi, I have posted this problem few weeks ago without answers... I have a high latency value for my check executions. How to solve this problem ??? I have the following options set : inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 Thanks a lot. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Tue Oct 29 16:28:24 2002 From: rick at subnet.at (peter riegersperger) Date: Tue, 29 Oct 2002 16:28:24 +0100 Subject: Status map/3D Status Map In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I tried uncommenting the statusmap_background_image line to: > statusmap_background_image=norge.gd2 > But i culdnt see any image in the Status Map section either.... > > Next i inserted the xedtemplate_config_file entry in cgi.cfg > (doesnt matter where, does it? i placed it amongs the other > statusmap lines) i don't think it has any particular place. > Next, the making of hostextinfo.cfg > Is full path to the images necessary? no. the path to the images is defined by: physical_html_path=/usr/local/nagios/share inside this directory, there is an images directory. your background image is supposed to be there, and your .gif and .png images should be in images/logos > Coords....i tried, out of the blue, "10, 10" as x/y coords, but > no luck with this... > -snip- > define hostextinfo{ > host_name R1 > icon_image router.gif > statusmap_image norge.png > 2d_coords 10, 10 > } > -snip- define hostextinfo{ host_name router-local icon_image linux_router.gif statusmap_image linux_router.png 2d_coords 341, 247 } works for me. rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPb6bCSDD9/SWDsvSEQJWJACfZ+ZUZhcArFpMen3TnRYmDjpNcPMAoMK+ oHtMSaWZG0jWPu4b+8M2rEv6 =gKjq -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Tue Oct 29 16:34:55 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 29 Oct 2002 10:34:55 -0500 Subject: Diskspace check In-Reply-To: References: Message-ID: <1035905697.2239.16.camel@miles.debisschop.net> On Tue, 2002-10-29 at 08:21, Bishop, Dean wrote: > your command_line should be > > command_line $USER1$/check_disk -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l c $ARG1$ -w $ARG2$ -c $ARG3$ > check_disk does not take a -H argument, IIRC. If it does, that's probably a bug. But IIRC it would have no effect even if the argument were parsed. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 16:45:34 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 10:45:34 -0500 Subject: qpage to several contacts? Message-ID: Thanks for the help guys. Russell: yeah, i just saw sendpage. i will have to look into it some time but as i sorta had qpage working and time is an issue i kept at it. Steve: Nevermind about the configs. i just figured out my problem. Say it with me now, in your best Homer voice "DOH!!!". Gotta keep an eye on those firewall rules. now that i am allowing port 444 from localhost things are working beautifully. later, dean -----Original Message----- From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] Sent: Tuesday, October 29, 2002 10:24 AM To: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] qpage to several contacts? I use Sendpage, which IMHO is quite good, rather stable, and more fully featured than qpage. It handles multiple outbound paging modems, and unlike qpage, can deliver simultaenously on both. In addition, it can piggyback messages to multiple recipients on a common carrier (ie: you have 5 people all on the same paging company, you can send pages to all 5 with one phone call versus 5 seperate calls w/ qpage). I suggest you check it out. I used to use qpage with Netsaint 0.0.4b, and it worked fine. You did have to call qpage once per contact though, I think. Have you tried "qpage person1,person2,person3 message"? Russell On Tue, Oct 29, 2002 at 09:33:35AM -0500, Bishop, Dean wrote: > Good morning, > > i am in my final stages of configuration (is there such a thing?) > and am just setting up qpage to alert appropriate contacts should the > firewall, ISP, or E-Mail server become unavailable. The problem that i am > having is that qpage doesn't seem to like having too many things to > do...well actually it doesn't like having _two_ things to do. The lock file > prevents multiple pages. > > Does anyone out there in Nag-land use qpage to contact serveral > people for a single service? > > How do you do it? > > Any suggestions would be appreciated either in parallizing qpage or > serializing Nagios notifications. > > later, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 29 16:42:11 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Oct 2002 09:42:11 -0600 Subject: Execution Queue and latency Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7189A@mismail.ena.com> Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings to > test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things are > OK. > it just gets worse if things are not OK because then each of the four > pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches and > 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 16:48:17 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 10:48:17 -0500 Subject: Execution Queue and latency Message-ID: Good morning, Marc: Hmmm, yes, you are quite right. i am not sure how to account for that and i also have experience with nagios -s that tells me that it cannot be used for reliable capacity planning. Mine tells me 17 minutes when 5 can do the job quite nicely. best of two evils?? later, dean -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, October 29, 2002 10:42 AM To: Bishop, Dean; louafi; nagios-users at lists.sourceforge.net Subject: RE: RE : [Nagios-users] Execution Queue and latency Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings to > test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things are > OK. > it just gets worse if things are not OK because then each of the four > pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches and > 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Tue Oct 29 16:54:40 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 29 Oct 2002 16:54:40 +0100 Subject: Execution Queue and latency In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301F7189A@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8301F7189A@mismail.ena.com> Message-ID: <015801c27f63$7dc3d0b0$6702a8c0@intranet.equal.fr> My max_concurrent_checks is set to 0 so there is no limit... I have tried to set my configuration like the Nagios recommendation but there is no difference... Thanks for your help -----Message d'origine----- De : Marc Powell [mailto:mpowell at ena.com] Envoy? : mardi 29 octobre 2002 16:42 ? : Bishop, Dean; louafi; nagios-users at lists.sourceforge.net Objet : RE: RE : [Nagios-users] Execution Queue and latency Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings > to test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things > are OK. it just gets worse if things are not OK because then each of > the four pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches > and 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and > hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Tue Oct 29 16:55:56 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Oct 2002 09:55:56 -0600 Subject: Execution Queue and latency Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7189C@mismail.ena.com> That's interesting, my understanding of the -s switch is that it only provides a recommendation for max_concurrent_checks. Everything else is taken directly from the config files (avg check interval, inter-check delay method, inter-check delay (calculated from total hosts, services and avg check interval), etc). -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:48 AM > To: Marc Powell; louafi; nagios-users at lists.sourceforge.net > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > Good morning, > > Marc: > > Hmmm, yes, you are quite right. i am not sure how to account for that and > i > also have experience with nagios -s that tells me that it cannot be used > for > reliable capacity planning. Mine tells me 17 minutes when 5 can do the > job > quite nicely. > > best of two evils?? > > later, > dean > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, October 29, 2002 10:42 AM > To: Bishop, Dean; louafi; nagios-users at lists.sourceforge.net > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > > Your estimation presumes that service checks are not being executed in > parallel, which is not the case for a default installation. > > Sebastien: > > You may want to look at your max_concurrent_checks value to make > sure it is sized properly for your installation. You can run 'nagios -s > /path/to/nagios.cfg' to get a recommendation ala > > [root at noctools nagios]# bin/nagios -s etc/nagios.cfg > > Nagios 1.0b3 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-09-2002 > License: GPL > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2030 > Total hosts: 1677 > > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 300.000 sec > Inter-check delay: 0.148 sec > > Interleave factor method: SMART > Average services per host: 1.210 > Service interleave factor: 2 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 > Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 68 > Recommend value: 204 > > Notes: > The recommendations for the max_concurrent_checks value > assume that the average execution time for service > checks is less than the service check reaper interval. > The minimum value also reflects best case scenarios > where there are no problems on your network. You will > have to tweak this value as necessary after testing. > High latency values for checks are often indicative of > the max_concurrent_checks value being set too low and/or > the service_reaper_frequency being set too high. > It is important to note that the values displayed above > do not reflect current performance information for any > Nagios process that may currently be running. They are > provided solely to project expected and recommended > values based on the current data in the config files. > > -- > Marc > > > -----Original Message----- > > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Sent: Tuesday, October 29, 2002 9:28 AM > > To: 'louafi'; nagios-users at lists.sourceforge.net > > Cc: Bishop, Dean > > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > > > well, assuming that you haven't modified "check_ping" it uses 4 pings to > > test the OK'ness. > > > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > > > so it will take about 5 minutes just to do the check_pings if things are > > OK. > > it just gets worse if things are not OK because then each of the four > > pings > > would have to timeout (defaults to 10seconds). > > > > 2 suggestions > > > > 1) use: > > > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ - > w > > $ARG1$ -c $ARG2$ -p 1 -t 5 > > > > 2) use: > > > > command_line /opt/nagios/libexec/check_tcp -H > > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > > > substitute the port 23 for something useful. i use 23 for my switches > and > > 135 for my windows boxes. > > > > btw > > > > check_tcp -h host -p 135 takes about .01s > > check_ping -h host -p 1 takes about .01s > > > > take your pick. > > > > > > > > later, > > dean > > > > > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 10:19 AM > > To: nagios-users at lists.sourceforge.net > > Cc: 'Bishop, Dean' > > Subject: RE : [Nagios-users] Execution Queue and latency > > > > > > Ok my check_ping definition is : > > > > define command{ > > command_name check_ping > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > > -w $ARG1$ -c $ARG2$ > > } > > > > I have around 70 hosts and 800 services... > > > > I'm using perfdata to dump check result in a mysql database. > > > > > > Thanks > > > > > > -----Message d'origine----- > > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Envoy? : mardi 29 octobre 2002 15:59 > > ? : 'louafi'; nagios-users at lists.sourceforge.net > > Cc : Bishop, Dean > > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > > > > please send the snippet from checkcommands.cfg where "check_ping" is > > defined. > > > > also, how many hosts/services are you checking? > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 9:37 AM > > To: nagios-users at lists.sourceforge.net > > Cc: 'Bishop, Dean' > > Subject: RE : [Nagios-users] Execution Queue and latency > > > > > > OK i give you my config files. > > > > My services.cfg contains a lot of services like : > > > > define service{ > > host_name 10.10.10.10 > > service_description PING > > check_command check_ping!3000,20%!5000,60% > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 3 > > 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 > > contact_groups louafi > > stalking_options o,w,u,c > > } > > > > My hosts.cfg is : > > > > define host{ > > host_name 10.10.10.10 > > alias 10.10.10.10 > > address 10.10.10.10 > > check_command check_alive > > max_check_attempts 5 > > checks_enabled 1 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > Thanks for your help > > > > > > -----Message d'origine----- > > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Envoy? : mardi 29 octobre 2002 14:24 > > ? : 'louafi'; nagios-users at lists.sourceforge.net > > Objet : RE: [Nagios-users] Execution Queue and latency > > > > > > It would help if you sent a snippet from your services.cfg and hosts.cfg > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 5:18 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Execution Queue and latency > > > > > > Hi, > > > > I have posted this problem few weeks ago without answers... > > > > I have a high latency value for my check executions. > > > > How to solve this problem ??? > > > > I have the following options set : > > > > inter_check_delay_method=s > > > > service_interleave_factor=s > > > > max_concurrent_checks=0 > > > > service_reaper_frequency=10 > > > > Thanks a lot. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 17:03:52 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 11:03:52 -0500 Subject: Execution Queue and latency Message-ID: yeah, i think that you are correct in stating that it provides a recommendation for max_concurrent_checks. i originally saw the time that it estimated for a single run and thought that this was a guess/calculation of how long my checks would take. it doesn't. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, October 29, 2002 10:56 AM To: Bishop, Dean; nagios-users at lists.sourceforge.net Subject: RE: RE : [Nagios-users] Execution Queue and latency That's interesting, my understanding of the -s switch is that it only provides a recommendation for max_concurrent_checks. Everything else is taken directly from the config files (avg check interval, inter-check delay method, inter-check delay (calculated from total hosts, services and avg check interval), etc). -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:48 AM > To: Marc Powell; louafi; nagios-users at lists.sourceforge.net > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > Good morning, > > Marc: > > Hmmm, yes, you are quite right. i am not sure how to account for that and > i > also have experience with nagios -s that tells me that it cannot be used > for > reliable capacity planning. Mine tells me 17 minutes when 5 can do the > job > quite nicely. > > best of two evils?? > > later, > dean > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, October 29, 2002 10:42 AM > To: Bishop, Dean; louafi; nagios-users at lists.sourceforge.net > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > > Your estimation presumes that service checks are not being executed in > parallel, which is not the case for a default installation. > > Sebastien: > > You may want to look at your max_concurrent_checks value to make > sure it is sized properly for your installation. You can run 'nagios -s > /path/to/nagios.cfg' to get a recommendation ala > > [root at noctools nagios]# bin/nagios -s etc/nagios.cfg > > Nagios 1.0b3 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-09-2002 > License: GPL > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2030 > Total hosts: 1677 > > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 300.000 sec > Inter-check delay: 0.148 sec > > Interleave factor method: SMART > Average services per host: 1.210 > Service interleave factor: 2 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 > Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 68 > Recommend value: 204 > > Notes: > The recommendations for the max_concurrent_checks value > assume that the average execution time for service > checks is less than the service check reaper interval. > The minimum value also reflects best case scenarios > where there are no problems on your network. You will > have to tweak this value as necessary after testing. > High latency values for checks are often indicative of > the max_concurrent_checks value being set too low and/or > the service_reaper_frequency being set too high. > It is important to note that the values displayed above > do not reflect current performance information for any > Nagios process that may currently be running. They are > provided solely to project expected and recommended > values based on the current data in the config files. > > -- > Marc > > > -----Original Message----- > > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Sent: Tuesday, October 29, 2002 9:28 AM > > To: 'louafi'; nagios-users at lists.sourceforge.net > > Cc: Bishop, Dean > > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > > > well, assuming that you haven't modified "check_ping" it uses 4 pings to > > test the OK'ness. > > > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > > > so it will take about 5 minutes just to do the check_pings if things are > > OK. > > it just gets worse if things are not OK because then each of the four > > pings > > would have to timeout (defaults to 10seconds). > > > > 2 suggestions > > > > 1) use: > > > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ - > w > > $ARG1$ -c $ARG2$ -p 1 -t 5 > > > > 2) use: > > > > command_line /opt/nagios/libexec/check_tcp -H > > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > > > substitute the port 23 for something useful. i use 23 for my switches > and > > 135 for my windows boxes. > > > > btw > > > > check_tcp -h host -p 135 takes about .01s > > check_ping -h host -p 1 takes about .01s > > > > take your pick. > > > > > > > > later, > > dean > > > > > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 10:19 AM > > To: nagios-users at lists.sourceforge.net > > Cc: 'Bishop, Dean' > > Subject: RE : [Nagios-users] Execution Queue and latency > > > > > > Ok my check_ping definition is : > > > > define command{ > > command_name check_ping > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > > -w $ARG1$ -c $ARG2$ > > } > > > > I have around 70 hosts and 800 services... > > > > I'm using perfdata to dump check result in a mysql database. > > > > > > Thanks > > > > > > -----Message d'origine----- > > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Envoy? : mardi 29 octobre 2002 15:59 > > ? : 'louafi'; nagios-users at lists.sourceforge.net > > Cc : Bishop, Dean > > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > > > > please send the snippet from checkcommands.cfg where "check_ping" is > > defined. > > > > also, how many hosts/services are you checking? > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 9:37 AM > > To: nagios-users at lists.sourceforge.net > > Cc: 'Bishop, Dean' > > Subject: RE : [Nagios-users] Execution Queue and latency > > > > > > OK i give you my config files. > > > > My services.cfg contains a lot of services like : > > > > define service{ > > host_name 10.10.10.10 > > service_description PING > > check_command check_ping!3000,20%!5000,60% > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 3 > > 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 > > contact_groups louafi > > stalking_options o,w,u,c > > } > > > > My hosts.cfg is : > > > > define host{ > > host_name 10.10.10.10 > > alias 10.10.10.10 > > address 10.10.10.10 > > check_command check_alive > > max_check_attempts 5 > > checks_enabled 1 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > Thanks for your help > > > > > > -----Message d'origine----- > > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > > Envoy? : mardi 29 octobre 2002 14:24 > > ? : 'louafi'; nagios-users at lists.sourceforge.net > > Objet : RE: [Nagios-users] Execution Queue and latency > > > > > > It would help if you sent a snippet from your services.cfg and hosts.cfg > > > > -----Original Message----- > > From: louafi [mailto:sebastien.louafi at e-qual.fr] > > Sent: Tuesday, October 29, 2002 5:18 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Execution Queue and latency > > > > > > Hi, > > > > I have posted this problem few weeks ago without answers... > > > > I have a high latency value for my check executions. > > > > How to solve this problem ??? > > > > I have the following options set : > > > > inter_check_delay_method=s > > > > service_interleave_factor=s > > > > max_concurrent_checks=0 > > > > service_reaper_frequency=10 > > > > Thanks a lot. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 17:04:38 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 11:04:38 -0500 Subject: Execution Queue and latency Message-ID: have you tried adding "-p 1" to your check_ping definition? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 10:55 AM To: nagios-users at lists.sourceforge.net Cc: 'Marc Powell'; 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency My max_concurrent_checks is set to 0 so there is no limit... I have tried to set my configuration like the Nagios recommendation but there is no difference... Thanks for your help -----Message d'origine----- De : Marc Powell [mailto:mpowell at ena.com] Envoy? : mardi 29 octobre 2002 16:42 ? : Bishop, Dean; louafi; nagios-users at lists.sourceforge.net Objet : RE: RE : [Nagios-users] Execution Queue and latency Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings > to test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things > are OK. it just gets worse if things are not OK because then each of > the four pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches > and 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and > hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 29 17:08:48 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Oct 2002 10:08:48 -0600 Subject: NSClient on P4 Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2F240D@PKDWB03C.ad.sprint.com> I'm not sure of what service pack is installed on my laptop, but I did notice that after installation, I had to start it manually (didn't want to reboot). Right away I tried to poke at it with one of the check_nt examples, but no go. I did an nmap, and the port wasn't opened. I pondered this for a while, confirmed that the service was up and running, did another nmap, and surprise, the port was open. I ran the check_nt example and it worked. jc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Tuesday, October 29, 2002 1:26 AM > To: Greg Vickers; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSClient on P4 > > > I have problems with NSClient in Win2000 and the latest servicepack. > NSCLient is started when the server starts, but it does not > work (The service is started byt I dont receive any data from > it)... But if I restart the service a few times it suddenly > begin to work, and then it works just fine until the machine > is restarted. > I think thats Windows in a nutshell.... > > > /FredrikW > > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Tue 29-Oct-02 04:44 > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] NSClient on P4 > > Hello all, > > Has anyone had any problems running NSClient 1.0.7.0 on P4's? I have > installed the pnsclient.exe as per instruction and when I try > to query the > client running under Win2k on a P4, I always get a "No data > was recieved > from host!" message. > > I've tried copying in the dlls that come with 1.0.7.0 but > that appears to > have made no difference. I've also tried several different > PCs with 2k on a > P4 and nothing seems to work. > > Has anyone else installed then successfully queried NSClient on a P4? > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Tue Oct 29 17:16:16 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Tue, 29 Oct 2002 17:16:16 +0100 Subject: Execution Queue and latency In-Reply-To: References: Message-ID: <015b01c27f66$824559d0$6702a8c0@intranet.equal.fr> Yes i have tried but there is no difference... Check_ping represent only 70 services... Around 650 services are snmp request.... thanks -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 17:05 ? : 'louafi'; nagios-users at lists.sourceforge.net Cc : 'Marc Powell'; Bishop, Dean Objet : RE: RE : [Nagios-users] Execution Queue and latency have you tried adding "-p 1" to your check_ping definition? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 10:55 AM To: nagios-users at lists.sourceforge.net Cc: 'Marc Powell'; 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency My max_concurrent_checks is set to 0 so there is no limit... I have tried to set my configuration like the Nagios recommendation but there is no difference... Thanks for your help -----Message d'origine----- De : Marc Powell [mailto:mpowell at ena.com] Envoy? : mardi 29 octobre 2002 16:42 ? : Bishop, Dean; louafi; nagios-users at lists.sourceforge.net Objet : RE: RE : [Nagios-users] Execution Queue and latency Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings > to test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things > are OK. it just gets worse if things are not OK because then each of > the four pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches > and 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and > hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 17:20:29 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 11:20:29 -0500 Subject: Execution Queue and latency Message-ID: how long does it take from the command line? time ./check_snmp -H..... -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 11:16 AM To: nagios-users at lists.sourceforge.net Cc: 'Marc Powell'; 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency Yes i have tried but there is no difference... Check_ping represent only 70 services... Around 650 services are snmp request.... thanks -----Message d'origine----- De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] Envoy? : mardi 29 octobre 2002 17:05 ? : 'louafi'; nagios-users at lists.sourceforge.net Cc : 'Marc Powell'; Bishop, Dean Objet : RE: RE : [Nagios-users] Execution Queue and latency have you tried adding "-p 1" to your check_ping definition? -----Original Message----- From: louafi [mailto:sebastien.louafi at e-qual.fr] Sent: Tuesday, October 29, 2002 10:55 AM To: nagios-users at lists.sourceforge.net Cc: 'Marc Powell'; 'Bishop, Dean' Subject: RE : [Nagios-users] Execution Queue and latency My max_concurrent_checks is set to 0 so there is no limit... I have tried to set my configuration like the Nagios recommendation but there is no difference... Thanks for your help -----Message d'origine----- De : Marc Powell [mailto:mpowell at ena.com] Envoy? : mardi 29 octobre 2002 16:42 ? : Bishop, Dean; louafi; nagios-users at lists.sourceforge.net Objet : RE: RE : [Nagios-users] Execution Queue and latency Your estimation presumes that service checks are not being executed in parallel, which is not the case for a default installation. Sebastien: You may want to look at your max_concurrent_checks value to make sure it is sized properly for your installation. You can run 'nagios -s /path/to/nagios.cfg' to get a recommendation ala [root at noctools nagios]# bin/nagios -s etc/nagios.cfg Nagios 1.0b3 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-09-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2030 Total hosts: 1677 Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.148 sec Interleave factor method: SMART Average services per host: 1.210 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1035905875 -> Tue Oct 29 09:37:55 2002 Last scheduled check: 1035906175 -> Tue Oct 29 09:42:55 2002 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 68 Recommend value: 204 Notes: The recommendations for the max_concurrent_checks value assume that the average execution time for service checks is less than the service check reaper interval. The minimum value also reflects best case scenarios where there are no problems on your network. You will have to tweak this value as necessary after testing. High latency values for checks are often indicative of the max_concurrent_checks value being set too low and/or the service_reaper_frequency being set too high. It is important to note that the values displayed above do not reflect current performance information for any Nagios process that may currently be running. They are provided solely to project expected and recommended values based on the current data in the config files. -- Marc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Tuesday, October 29, 2002 9:28 AM > To: 'louafi'; nagios-users at lists.sourceforge.net > Cc: Bishop, Dean > Subject: RE: RE : [Nagios-users] Execution Queue and latency > > well, assuming that you haven't modified "check_ping" it uses 4 pings > to test the OK'ness. > > On my system it takes just over 4seconds to check_ping a host on the > LAN. > > 4 seconds * 70 hosts = 280 seconds or just under 5 minutes. > > so it will take about 5 minutes just to do the check_pings if things > are OK. it just gets worse if things are not OK because then each of > the four pings > would have to timeout (defaults to 10seconds). > > 2 suggestions > > 1) use: > > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ -p 1 -t 5 > > 2) use: > > command_line /opt/nagios/libexec/check_tcp -H > $HOSTADDRESS$ -p 23 -w $ARG1$ -c $ARG2$ > > substitute the port 23 for something useful. i use 23 for my switches > and 135 for my windows boxes. > > btw > > check_tcp -h host -p 135 takes about .01s > check_ping -h host -p 1 takes about .01s > > take your pick. > > > > later, > dean > > > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 10:19 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > Ok my check_ping definition is : > > define command{ > command_name check_ping > command_line /opt/nagios/libexec/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c $ARG2$ > } > > I have around 70 hosts and 800 services... > > I'm using perfdata to dump check result in a mysql database. > > > Thanks > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 15:59 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Cc : Bishop, Dean > Objet : RE: RE : [Nagios-users] Execution Queue and latency > > > please send the snippet from checkcommands.cfg where "check_ping" is > defined. > > also, how many hosts/services are you checking? > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 9:37 AM > To: nagios-users at lists.sourceforge.net > Cc: 'Bishop, Dean' > Subject: RE : [Nagios-users] Execution Queue and latency > > > OK i give you my config files. > > My services.cfg contains a lot of services like : > > define service{ > host_name 10.10.10.10 > service_description PING > check_command check_ping!3000,20%!5000,60% > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > 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 > contact_groups louafi > stalking_options o,w,u,c > } > > My hosts.cfg is : > > define host{ > host_name 10.10.10.10 > alias 10.10.10.10 > address 10.10.10.10 > check_command check_alive > max_check_attempts 5 > checks_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > Thanks for your help > > > -----Message d'origine----- > De : Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Envoy? : mardi 29 octobre 2002 14:24 > ? : 'louafi'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Execution Queue and latency > > > It would help if you sent a snippet from your services.cfg and > hosts.cfg > > -----Original Message----- > From: louafi [mailto:sebastien.louafi at e-qual.fr] > Sent: Tuesday, October 29, 2002 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Execution Queue and latency > > > Hi, > > I have posted this problem few weeks ago without answers... > > I have a high latency value for my check executions. > > How to solve this problem ??? > > I have the following options set : > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > Thanks a lot. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 29 17:25:28 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 29 Oct 2002 08:25:28 -0800 (PST) Subject: Apan Configurations-- W/ errors In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278037F@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278037F@storevis.datavis.se> Message-ID: <20021029162528.22300.qmail@web21510.mail.yahoo.com> Curerntly running tcsh, but will give bash a try later this afternoon.... Thanks! Fredrik_W?nglund wrote:In what OS are you trying to run it? Apan is developed in bash, and line 14, fsname=${NAMELIST[$N]}, does not seem to work in a pure sh-shell. Can you try to install bash?? Meanwhile I will look at the probs and make Apan sh-compatible. /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Mon 28-Oct-02 21:44 To: DataColo; Nagios Mailing List Cc: Subject: Re: [Nagios-users] Apan Configurations-- W/ errors Ditto.....Keep getting, /usr/local/nagios/apan/plugs/disk.sh: 14: Systan Error: Bad substition I only have one line in apan.cfg for PING. DataColo wrote:Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carlos Rego [mailto:carlos at datacolo.com] >>Sent: Mon 28-Oct-02 07:26 >>To: nagios-users at lists.sourceforge.net >>Cc: >>Subject: [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Tue Oct 29 17:54:31 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Oct 2002 10:54:31 -0600 Subject: RFE: Virtual Contact Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2F240E@PKDWB03C.ad.sprint.com> (As if the leads didn't already have enough to ponder....) I was wondering if it would be possible to have the following Request For Enhancement in a future release of Nagios: 'Virtual Contact' Features: - a VC (Virtual Contact) could be assigned to a real contact - this VC would (most likely) be the first to receive the pager/e-mail notifications - users who could change who the VC is assigned to would be restricted to a 'VC group' (perhaps this would simply be a matter of adding the VC to the same contact group) - depending on permissions, a user could send a short (120 character) msg to the VC (or to any user, if this makes sense) from the web interface; this msg would go to the pager, to e-mail, to SMS... whatever's defined for the VC (/user) - optionally (via config files) a user could determine who the VC resolves to I'm not sure how many organizations out there have a rotating "on call" admin, but this is the case within my group. A feature such as the above would be useful. "Blue sky" wish list, of course. ;) Food for thought. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ralph.zimmermann at salt-ag.com Tue Oct 29 18:00:31 2002 From: ralph.zimmermann at salt-ag.com (Ralph Zimmermann) Date: Tue, 29 Oct 2002 18:00:31 +0100 Subject: Apan Configurations Message-ID: <01C27F75.12FDF690.ralph.zimmermann@salt-ag.com> Hi, I've just configured Apan according to the documentation and the hints of the last postings. The config itself went fine and checks (ping) are running successfully, but if I click on the graph icon in Nagios, which leads to the url, I get a page with all required text but no pictures. As I see from the dead-pictures properties it tries to generate the pictures from the follwing call: http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 Anyone aware what my fault may be ? However I'm glad about Apan, always been waiting for a rrdtool to easily integrate into Nagios. Cheers, Ralph. -----Urspr?ngliche Nachricht----- Von: Erkki Kukk [SMTP:erkki_k at ut.ee] Gesendet am: Dienstag, 29. Oktober 2002 12:30 An: Fredrik W?nglund Cc: Nagios Mailing List Betreff: RE: [Nagios-users] Apan Configurations Hi. Its great to see that someone is finally dealing with graphing the perfdata. And for me Apan works fine. But I dont like that it does all the checks by hostname :( I think it is much better to check by ip address, like nagios does. Brgds, erkki > I am currently working on an HOWTO section in the docs on Apans homepage. > > Here's the short one (assuming tou have installed the files and defined the command): > > 1) Define a sevice in Nagios with apan as check_command and the plugin-name as first argument; > define service{ > host_name server > service_description Ping > ... > check_command apan!ping!100.0,20%!500.0,60% > ... > } > > 2) Create a RRD_file > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > 3) Define the serice in apan.cfg > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Secondsefine the serice in apan.cfg > > 4) Add a URL and icon to the service > define serviceextinfo{ > host_name server > service_description Ping > notes_url ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Tue Oct 29 18:21:35 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 12:21:35 -0500 Subject: Apan Configurations Message-ID: This seems like a good path. Anyone have a way to suck in hosts/services from existing files? i have 1400+ hosts and almost 1600 services. If i read the docs correctly, i would have to create entries for each of the services and/or hosts. kinda daunting...but then came Perl. anyone up to the task? later, dean -----Original Message----- From: Ralph Zimmermann [mailto:ralph.zimmermann at salt-ag.com] Sent: Tuesday, October 29, 2002 12:01 PM To: Nagios Mailing List Subject: RE: [Nagios-users] Apan Configurations Hi, I've just configured Apan according to the documentation and the hints of the last postings. The config itself went fine and checks (ping) are running successfully, but if I click on the graph icon in Nagios, which leads to the url, I get a page with all required text but no pictures. As I see from the dead-pictures properties it tries to generate the pictures from the follwing call: http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 Anyone aware what my fault may be ? However I'm glad about Apan, always been waiting for a rrdtool to easily integrate into Nagios. Cheers, Ralph. -----Urspr?ngliche Nachricht----- Von: Erkki Kukk [SMTP:erkki_k at ut.ee] Gesendet am: Dienstag, 29. Oktober 2002 12:30 An: Fredrik W?nglund Cc: Nagios Mailing List Betreff: RE: [Nagios-users] Apan Configurations Hi. Its great to see that someone is finally dealing with graphing the perfdata. And for me Apan works fine. But I dont like that it does all the checks by hostname :( I think it is much better to check by ip address, like nagios does. Brgds, erkki > I am currently working on an HOWTO section in the docs on Apans homepage. > > Here's the short one (assuming tou have installed the files and defined the command): > > 1) Define a sevice in Nagios with apan as check_command and the plugin-name as first argument; > define service{ > host_name server > service_description Ping > ... > check_command apan!ping!100.0,20%!500.0,60% > ... > } > > 2) Create a RRD_file > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > 3) Define the serice in apan.cfg > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Secondsefine the serice in apan.cfg > > 4) Add a URL and icon to the service > define serviceextinfo{ > host_name server > service_description Ping > notes_url ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.mcavoy at megawheels.com Tue Oct 29 18:34:41 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 29 Oct 2002 12:34:41 -0500 Subject: plugin get's connection refused by host, but still says ok In-Reply-To: <3DBDADC6.1ED19825@sliderule.demon.co.uk> References: <1035824063.28865.3.camel@tech03> <3DBDADC6.1ED19825@sliderule.demon.co.uk> Message-ID: <1035912882.6780.2.camel@tech03> Hello, the command line I am using is: check_ftp -H $HOSTADDRESS$ -w 10 -c 15 -t 20 the output from the command line is: FTP problem - 14 second response time But nagios has it listed as ok. Also I believe 200 status code you are referring to is the HTTP status code for ok, not the FTP. On Mon, 2002-10-28 at 16:36, Steve Burton wrote: > Could the check_ftp plugin be matching the 2002 in the date as a 200 > (OK) status ? > > Steve. > > Sean McAvoy wrote: > > > > I've got two distributed nagios servers, reporting back to my central > > server. It seems that when the service fails (i.e. connection refused or > > socket timeout), it still reports the service as being ok. Any ideas > > where the problem might be? > > > > Example error: > > Customer FTP service > > OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host > > > > -- > > Sean McAvoy > > Network Analyst > > Megawheels Technologies Inc. > > Phone: 416.360.8211 > > Fax: 416.360.1403 > > Cell: 416.616.6599 > > > > ------------------------------------------------------------------------ > > Name: signature.asc > > signature.asc Type: application/pgp-signature > > Description: This is a digitally signed message part > > -- > Steve Burton > > Webmaster & Sub-optimal Coder -- Sean McAvoy Network Analyst Megawheels Technologies Inc. Phone: 416.360.8211 Fax: 416.360.1403 Cell: 416.616.6599 -------------- 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 rob.king at wholefoods.com Tue Oct 29 18:42:28 2002 From: rob.king at wholefoods.com (Rob King) Date: Tue, 29 Oct 2002 11:42:28 -0600 Subject: Large Numbers of Hosts (Re: Apan Configurations) References: Message-ID: <3DBEC884.9000209@wholefoods.com> Hey everyone, I've seen several mentions of large numbers of hosts and services like this. At my organization, we're monitoring around 500. However, I've noticed some issues: - The statusmap screen is completely unusable - there are so many hosts, they overlap almost completely, and are practically invisible. Should I just give up on the statusmap, or is there a solution? - The template configuration files are difficult to use (at least for me! :) over a certain number of hosts, due to the limitations of the config parser - every entry has to be one logical line. We have so many different host groups (we're pretty large, and have lots of devolved administration) that the "logical line" takes up probably four physical lines. Anyone have any strategies for overcoming this? That's about it really. Oh, and I'd like to thank everyone for making/working with/supporting Nagios - we're in the process of migrating away from a home-grown Big Brother-based solution, and the difference is amazing. Thanks for all the help in advance. Rob Bishop, Dean wrote: >This seems like a good path. > >Anyone have a way to suck in hosts/services from existing files? > >i have 1400+ hosts and almost 1600 services. > >If i read the docs correctly, i would have to create entries for each of the >services and/or hosts. > >kinda daunting...but then came Perl. anyone up to the task? > >later, >dean > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 29 18:41:01 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 29 Oct 2002 09:41:01 -0800 (PST) Subject: Apan Configurations-- W/ errors In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE278037F@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE278037F@storevis.datavis.se> Message-ID: <20021029174101.67323.qmail@web21508.mail.yahoo.com> Freebsd 4.6.2, Bash 2.05a, and still getting the same error... Fredrik_W?nglund wrote:In what OS are you trying to run it? Apan is developed in bash, and line 14, fsname=${NAMELIST[$N]}, does not seem to work in a pure sh-shell. Can you try to install bash?? Meanwhile I will look at the probs and make Apan sh-compatible. /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Mon 28-Oct-02 21:44 To: DataColo; Nagios Mailing List Cc: Subject: Re: [Nagios-users] Apan Configurations-- W/ errors Ditto.....Keep getting, /usr/local/nagios/apan/plugs/disk.sh: 14: Systan Error: Bad substition I only have one line in apan.cfg for PING. DataColo wrote:Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carlos Rego [mailto:carlos at datacolo.com] >>Sent: Mon 28-Oct-02 07:26 >>To: nagios-users at lists.sourceforge.net >>Cc: >>Subject: [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Oct 29 19:00:16 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Oct 2002 12:00:16 -0600 Subject: Large Numbers of Hosts (Re: Apan Configurations) Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F718AA@mismail.ena.com> > -----Original Message----- > From: Rob King [mailto:rob.king at wholefoods.com] > Sent: Tuesday, October 29, 2002 11:42 AM > Cc: Nagios Mailing List > Subject: Large Numbers of Hosts (Re: [Nagios-users] Apan Configurations) > > - The template configuration files are difficult to use (at least > for me! :) over a certain number of hosts, due to the limitations of the > config parser - every entry has to be one logical line. We have so many > different host groups (we're pretty large, and have lots of devolved > administration) that the "logical line" takes up probably four physical > lines. Anyone have any strategies for overcoming this? > I too would like to see multiple 'members' directives per hostgroup. I currently have hostgroups with nearly 600 members. That's approximately 22,800 characters per members statement. This is, of course, uneditable for the most part. I rely exclusively on customized provisioning scripts to generate these config files. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jsm at inpro.net Tue Oct 29 19:25:51 2002 From: jsm at inpro.net (Jeff McKeon) Date: 29 Oct 2002 13:25:51 -0500 Subject: missing trends.cgi Message-ID: <1035915951.26245.14.camel@rh80-jsm.telaurus.net> Is it normal for the trends.cgi to not be included with the default install? I seem to have everything except that. I confirmed that the file trends.cgi is not in the default /usr/local/nagios/sbin/ directory. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Meinholz at bmpcoe.org Tue Oct 29 19:30:07 2002 From: Meinholz at bmpcoe.org (Lloyd Meinholz) Date: Tue, 29 Oct 2002 13:30:07 -0500 Subject: missing trends.cgi Message-ID: <515A91294CBCD211B7C500508B8B2BC4C2C66E@nemesis.bmpcoe.org> I had this problem too. Make sure that the build is finding the gd graphics library , that was my problem anyway... Lloyd > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Tuesday, October 29, 2002 1:26 PM > To: Nagios List > Subject: [Nagios-users] missing trends.cgi > > > Is it normal for the trends.cgi to not be included with the default > install? I seem to have everything except that. I confirmed that the > file trends.cgi is not in the default /usr/local/nagios/sbin/ > directory. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrozes at vinton.com Tue Oct 29 19:54:22 2002 From: jrozes at vinton.com (Jonathan Rozes) Date: Tue, 29 Oct 2002 10:54:22 -0800 Subject: RFE: Virtual Contact Message-ID: <48B8D6ECC8C93E4E992AEB43EE8565DB040C3F@pdx-mail01.wvs> Why not just have a script rewrite/replace your contactgroups.cfg file and restart nagios as needed? It would be a lot less complex than adding a bunch of calendaring junk to the package. You could achieve the same result rewriting/replacing timeperiods.cfg. I'm not sure of the usefulness of a "send a message" option either. Why not just send email to the person? Resolving who is on call right now could easily be done as well using an external script, or if you want to see it in nagios, a plugin that simply culls the info out of the config file and returns OK with the name of the current contact(s). jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Tuesday, October 29, 2002 8:55 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] RFE: Virtual Contact > > > (As if the leads didn't already have enough to ponder....) > > I was wondering if it would be possible to have the following > Request For > Enhancement in a future release of Nagios: > > 'Virtual Contact' > > Features: > > - a VC (Virtual Contact) could be assigned to a real contact > - this VC would (most likely) be the first to receive the pager/e-mail > notifications > - users who could change who the VC is assigned to would be > restricted to a > 'VC group' (perhaps this would simply be a matter of adding > the VC to the > same contact group) > - depending on permissions, a user could send a short (120 > character) msg to > the VC (or to any user, if this makes sense) from the web > interface; this > msg would go to the pager, to e-mail, to SMS... whatever's > defined for the > VC (/user) > - optionally (via config files) a user could determine who > the VC resolves > to > > I'm not sure how many organizations out there have a rotating > "on call" > admin, but this is the case within my group. A feature such > as the above > would be useful. "Blue sky" wish list, of course. ;) > > Food for thought. > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From colman at ppllc.com Tue Oct 29 20:13:40 2002 From: colman at ppllc.com (Jake Colman) Date: 29 Oct 2002 14:13:40 -0500 Subject: check_ntp question Message-ID: <76u1j5jbx7.fsf@newjersey.ppllc.com> How is check_ntp supposed to work? I am running ntpd on the server that is also hosting nagios. My ntpd server synchronizes with two public stratus 2 servers, and it serves the time to my internal LAN. What is check_ntp supposed to do for me and how can I get it do something useful? I'd like to monitor that my ntpd server is actually running and that it is properly synchronizing to the configured external ntp servers (I just discovered that the servers I had been using for years have gone off-line but I never realized it!). Can check_ntp do this for me? How? I've played with it but cannot get useful output. -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From RLAdams at Kelsey-Seybold.com Tue Oct 29 20:18:46 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 29 Oct 2002 13:18:46 -0600 Subject: RFE: Virtual Contact In-Reply-To: <48B8D6ECC8C93E4E992AEB43EE8565DB040C3F@pdx-mail01.wvs> References: <48B8D6ECC8C93E4E992AEB43EE8565DB040C3F@pdx-mail01.wvs> Message-ID: <44471.7794344344$1035919714@news.gmane.org> I must admit, the ability to use the web interface to notify a contact or contact group with a custom message has been a frequent request from my users. Russell On Tue, Oct 29, 2002 at 10:54:22AM -0800, Jonathan Rozes wrote: > Why not just have a script rewrite/replace your contactgroups.cfg file and > restart nagios as needed? It would be a lot less complex than adding a bunch > of calendaring junk to the package. You could achieve the same result > rewriting/replacing timeperiods.cfg. > > I'm not sure of the usefulness of a "send a message" option either. Why not > just send email to the person? > > Resolving who is on call right now could easily be done as well using an > external script, or if you want to see it in nagios, a plugin that simply > culls the info out of the config file and returns OK with the name of the > current contact(s). > > jonathan > > +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > > Sent: Tuesday, October 29, 2002 8:55 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] RFE: Virtual Contact > > > > > > (As if the leads didn't already have enough to ponder....) > > > > I was wondering if it would be possible to have the following > > Request For > > Enhancement in a future release of Nagios: > > > > 'Virtual Contact' > > > > Features: > > > > - a VC (Virtual Contact) could be assigned to a real contact > > - this VC would (most likely) be the first to receive the pager/e-mail > > notifications > > - users who could change who the VC is assigned to would be > > restricted to a > > 'VC group' (perhaps this would simply be a matter of adding > > the VC to the > > same contact group) > > - depending on permissions, a user could send a short (120 > > character) msg to > > the VC (or to any user, if this makes sense) from the web > > interface; this > > msg would go to the pager, to e-mail, to SMS... whatever's > > defined for the > > VC (/user) > > - optionally (via config files) a user could determine who > > the VC resolves > > to > > > > I'm not sure how many organizations out there have a rotating > > "on call" > > admin, but this is the case within my group. A feature such > > as the above > > would be useful. "Blue sky" wish list, of course. ;) > > > > Food for thought. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 29 20:26:12 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Oct 2002 13:26:12 -0600 Subject: RFE: Virtual Contact Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2F240F@PKDWB03C.ad.sprint.com> Jonathan Rozes wrote: > Why not just have a script rewrite/replace your > contactgroups.cfg file and > restart nagios as needed? It would be a lot less complex than > adding a bunch > of calendaring junk to the package. You could achieve the same result > rewriting/replacing timeperiods.cfg. Interesting thought. My objections to this: - there's no web interface - to build the web interface, I'd need to know html/cgi (which I haven't touched in years) - to dovetail the web interface to Nagios would require munging the left-side menu; this isn't an entirely bad thing, but would possibly need to be redeployed after an upgrade to Nagios (ie, code deviation, maintaining 2 codebases instead of 1) > I'm not sure of the usefulness of a "send a message" option > either. Why not > just send email to the person? It's less an issue of sending e-mail so much as sending a msg to the person's pager/cell phone. Granted, we could do that now if we each separately maintained our own Contacts in Outlook. (We don't have admin access to Exchange.) Using Nagios, a concerned user could see that a host is down, click a related link, and type something like, "This has been escalated to Sev 1 - please join the bridge at 555-1212." > Resolving who is on call right now could easily be done as > well using an > external script, or if you want to see it in nagios, a plugin > that simply > culls the info out of the config file and returns OK with the > name of the > current contact(s). I've already got a solution today. It's a character-based menu which does some file juggling using /etc/aliases and :include: files. The admin logs in as the generic user, changes who the on-call admin is, the new contact gets an informational page like, "You've been assigned the on-call for the BlaBla group." But, the solution is crude, and requires that the user have an SSH client, and prior knowledge of where to go. With a web interface, someone who perhaps didn't receive proper/complete training can click a link and say, "Oh, this is useful," and go from there. Much like many of the useful features I've discovered in Nagios. Again, this is nothing more than a 'blue sky' wish list. That's why I started off with "RFE" and not "how can I do this". jc > jonathan > > +++ Jonathan Rozes, Manager, Information Technology, Will > Vinton Studios > > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] > [mailto:jcarro10 at sprintspectrum.com] > > Sent: Tuesday, October 29, 2002 8:55 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] RFE: Virtual Contact > > > > > > (As if the leads didn't already have enough to ponder....) > > > > I was wondering if it would be possible to have the following > > Request For > > Enhancement in a future release of Nagios: > > > > 'Virtual Contact' > > > > Features: > > > > - a VC (Virtual Contact) could be assigned to a real contact > > - this VC would (most likely) be the first to receive the > pager/e-mail > > notifications > > - users who could change who the VC is assigned to would be > > restricted to a > > 'VC group' (perhaps this would simply be a matter of adding > > the VC to the > > same contact group) > > - depending on permissions, a user could send a short (120 > > character) msg to > > the VC (or to any user, if this makes sense) from the web > > interface; this > > msg would go to the pager, to e-mail, to SMS... whatever's > > defined for the > > VC (/user) > > - optionally (via config files) a user could determine who > > the VC resolves > > to > > > > I'm not sure how many organizations out there have a rotating > > "on call" > > admin, but this is the case within my group. A feature such > > as the above > > would be useful. "Blue sky" wish list, of course. ;) > > > > Food for thought. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jrozes at vinton.com Tue Oct 29 20:28:55 2002 From: jrozes at vinton.com (Jonathan Rozes) Date: Tue, 29 Oct 2002 11:28:55 -0800 Subject: check_ntp question Message-ID: <48B8D6ECC8C93E4E992AEB43EE8565DB040C43@pdx-mail01.wvs> The check_ntp plugin does two things: 1. It uses ntpdate to see if the clock on the target host is synchronized. 2. It uses ntpdc to measure the dispersion/jitter of the time sources the target host is synchronized to. So it should do what you want. What output are you getting from the plugin? jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > -----Original Message----- > From: Jake Colman [mailto:colman at ppllc.com] > Sent: Tuesday, October 29, 2002 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ntp question > > > > How is check_ntp supposed to work? I am running ntpd on the > server that is > also hosting nagios. My ntpd server synchronizes with two > public stratus 2 > servers, and it serves the time to my internal LAN. > > What is check_ntp supposed to do for me and how can I get it > do something > useful? I'd like to monitor that my ntpd server is actually > running and that > it is properly synchronizing to the configured external ntp > servers (I just > discovered that the servers I had been using for years have > gone off-line but > I never realized it!). > > Can check_ntp do this for me? How? I've played with it but > cannot get > useful output. > > -- > Jake Colman > > Principia Partners LLC Phone: (201) 209-2467 > Harborside Financial Center Fax: (201) 946-0320 > 902 Plaza Two E-mail: colman at ppllc.com > Jersey City, NJ 07311 www.principiapartners.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tom at redpepperracing.com Wed Oct 30 08:19:59 2002 From: tom at redpepperracing.com (Tom Lichti) Date: Wed, 30 Oct 2002 02:19:59 -0500 Subject: Service definition 'time-saving tips' possible bug Message-ID: <15047309.1035944399@[10.10.20.136]> Well, after seeing how I could 'save time' with the tips, I spent a day re-organizing my services file into templates and multi-host services. And it didn't work. So much for saving time. Any service that has multiple hosts in the host_name line seem to be completely ignored, and do not generate errors with the nagios -v test. The problem was that I had a host in the list of 'host_name' that didn't exist in the hosts definition. It didn't give a warning to that effect though, it just stopped processing the hosts after that. For example, I had define service{ use generic-websrvr-service host_name websrvr-100,websrvr-101,websrvr-102,websrvr-103,websrvr-104,websrvr-105,we bsrvr-106,websrvr-107,websrvr-108,websrvr-109,websrvr-110,websrvr-112,websr vr-113,websrvr-114,websrvr-115,websrvr-116,websrvr-117,websrvr-118,websrvr- 119 service_description Disk Space check_command check_all_disks_r!!85!95 } But websrvr-107 did not exist in the hosts file, so it appears that it stops processing the list of hosts if it finds one that does not exist in the hosts definitions. Ok, fine, except that there was no warning! Argh. Anyway, I've fixed my services file, but that was a bit of pain to find. Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thollenberg at planet.nl Tue Oct 29 20:41:16 2002 From: thollenberg at planet.nl (Theo Hollenberg) Date: Tue, 29 Oct 2002 20:41:16 +0100 Subject: Statuswrl.cgi v1.7 In-Reply-To: <20021029191846.GR28455@soja.ksnet.com.> References: <20021029191846.GR28455@soja.ksnet.com.> Message-ID: <002f01c27f83$25af6450$9600000a@woodstock> Hi everybody, Could someone tell me whether statuswrl.cgi v1.7 is actually deployed successfully by someone for it compiles perfectly but when I deploy it, it gives the following message: The VRML file header not found or unsupported encoding type File: http://nagios.hollenberg.biz/nagios/cgi-bin/statuswrl.cgi?host=all Does this ring a bell with anyone..? Kind regards, Theo Hollenberg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Oct 29 20:42:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Oct 2002 13:42:06 -0600 Subject: Large Numbers of Hosts (Re: Apan Configuration s) Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2F2410@PKDWB03C.ad.sprint.com> > Hey everyone, > I've seen several mentions of large numbers of hosts and services > like this. At my organization, we're monitoring around 500. However, > I've noticed some issues: > > - The statusmap screen is completely unusable - there are so many > hosts, they overlap almost completely, and are practically invisible. > Should I just give up on the statusmap, or is there a solution? You can do some filtering and scaling. Check out the Drawing Layers and the Layer Mode (Include/Exclude). > - The template configuration files are difficult to use (at least > for me! :) over a certain number of hosts, due to the > limitations of the > config parser - every entry has to be one logical line. We > have so many > different host groups (we're pretty large, and have lots of devolved > administration) that the "logical line" takes up probably > four physical > lines. Anyone have any strategies for overcoming this? I've recently been revamping my config files. I've added this line to nagios.cfg: cfg_dir=/usr/local/nagios/etc/configs and put the following in there (and have been stripping out hosts.cfg and services.cfg accordingly): HOSTGROUPS.cfg (contains services where hostgroups are being used) TEMPLATES.cfg (contains the templates normally in hosts.cfg and services.cfg) then on to the more mundane: hostname1.cfg (contains host/service definitions for hostname1) hostname2.cfg (contains host/service definitions for hostname2) etc etc and so on. There's also an RCS subdirectory, where each/every config file gets checked in/out. Once my conversion is complete, then anyone can work on an individual host's config without impacting anyone else. And I can set up a 'boilerplate' config for quickly adding new hosts to the fold. In your case, you could conceivably create separate .cfg files for each individual definition. The filename would descibe the hostname and the service, eg, host1-http.cfg If that starts to get a bit unwieldy, you could create subdirectories to the configs directory, a sort of 'hash' to split up the various files into logical groups (you'd have to figure out what's logical for your team). jc > That's about it really. Oh, and I'd like to thank everyone for > making/working with/supporting Nagios - we're in the process of > migrating away from a home-grown Big Brother-based solution, and the > difference is amazing. Thanks for all the help in advance. > > Rob > > Bishop, Dean wrote: > > >This seems like a good path. > > > >Anyone have a way to suck in hosts/services from existing files? > > > >i have 1400+ hosts and almost 1600 services. > > > >If i read the docs correctly, i would have to create entries > for each of the > >services and/or hosts. > > > >kinda daunting...but then came Perl. anyone up to the task? > > > >later, > >dean > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Tue Oct 29 21:32:24 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Tue, 29 Oct 2002 12:32:24 -0800 Subject: Service definition 'time-saving tips' possible bug In-Reply-To: <15047309.1035944399@[10.10.20.136]> References: <15047309.1035944399@[10.10.20.136]> Message-ID: <3DBEF058.4010808@sbcglobal.net> I believe you can catch this by running "/bin/nagios -v nagios.cfg" before you reload. It will validate your config and point out errors. Sean Tom Lichti wrote: > Well, after seeing how I could 'save time' with the tips, I spent a > day re-organizing my services file into templates and multi-host > services. And it didn't work. So much for saving time. Any service > that has multiple hosts in the host_name line seem to be completely > ignored, and do not generate errors with the nagios -v test. > > The problem was that I had a host in the list of 'host_name' that > didn't exist in the hosts definition. It didn't give a warning to that > effect though, it just stopped processing the hosts after that. For > example, I had > > define service{ > use generic-websrvr-service > host_name > websrvr-100,websrvr-101,websrvr-102,websrvr-103,websrvr-104,websrvr-105,we > > bsrvr-106,websrvr-107,websrvr-108,websrvr-109,websrvr-110,websrvr-112,websr > vr-113,websrvr-114,websrvr-115,websrvr-116,websrvr-117,websrvr-118,websrvr- > 119 > service_description Disk Space > check_command check_all_disks_r!!85!95 > } > > But websrvr-107 did not exist in the hosts file, so it appears that it > stops processing the list of hosts if it finds one that does not exist > in the hosts definitions. Ok, fine, except that there was no warning! > Argh. > > Anyway, I've fixed my services file, but that was a bit of pain to find. > > Tom > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Tue Oct 29 21:47:45 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 29 Oct 2002 15:47:45 -0500 Subject: /var/lock/subsys reference Message-ID: <3DBEF3F1.6090906@quadrix.com> I've noticed that the init script that comes with Nagios makes reference to a nagios file in the /var/lock/subsys directory when you try to stop Nagios. It tries removing this file. Well, I'm trying to figure out is when/how this file is even created? The only references I can see to it are in the functions file and the init script itself. Also, two more question about this. What if you aren't running on Linux, on an OS that doesn't use /var/lock/subsys? That reference definitely seems hardcoded in the init daemon-init.in file. And what happens when you are running multiple instances of Nagios on 1 box. I know Nagios uses the nagios.lock file for PID storage, and on the Linux boxes I have running Nagios, the /var/lock/subsys/nagios file is empty. Is this necessary? I don't understand what function this exactly serves. Any help with this would be appreciated as I am trying to rewrite the init script to be more OS generic (some parts of it don't work on Solaris). Thanks. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dadams at johncrowley.co.uk Tue Oct 29 21:55:43 2002 From: dadams at johncrowley.co.uk (Dave Adams) Date: Tue, 29 Oct 2002 20:55:43 -0000 Subject: Help, trouble compiling and installing plugins on OpenBSD 3.0 Message-ID: Greetings all, er, i have a problem and here is the scenario. Operating system is OpenBSD 3.0, i have installed nagios, it compiled fine and i have edited all the related config files. The preflight check passes with no errors. I am trying to install the plugins like so: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi os-group=nagios --with-cgiurl=/cgi-bin/nagios All paths are correct. When i run the configure, i think it's all going ok, here is the output loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking for aclocal... no checking for automake... no checking for autoconf... no checking for autoheader... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -L.) works... yes checking whether the C compiler (gcc -L.) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) nawk checking for python... no checking for perl... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for hostname... (cached) /bin/hostname checking for basename... (cached) /usr/bin/basename checking how to run the C preprocessor... (cached) gcc -E checking for elf_begin in -lelf... (cached) no checking for kvm_open in -lkvm... (cached) yes checking for getloadavg in -lutil... (cached) yes checking for getloadavg... (cached) yes checking whether getloadavg requires setgid... (cached) yes checking group of /dev/kmem... (cached) kmem checking for main in -ldce... (cached) no checking for main in -lnsl... (cached) no checking for socket in -lsocket... (cached) no checking for main in -lresolv... (cached) yes checking for main in -lcrypt... (cached) no configure: warning: Skipping PostgreSQL plugin (check_pgsql) configure: warning: install lib crypt and PostgreSQL libs to compile this plugin (see Requirements). checking for rc_read_config in -lradiusclient... (cached) no configure: warning: Skipping radius plugin configure: warning: install radius libs to compile this plugin (see Requirements). checking for main in -lldap... (cached) no configure: warning: Skipping LDAP plugin configure: warning: install LDAP libs to compile this plugin (see Requirements). configure: warning: Skipping mysql plugin configure: warning: install mysql client libs to compile this plugin (see Requirements). checking for openssl... (cached) /usr/sbin/openssl checking for openssl/x509.h... (cached) yes checking for openssl/ssl.h... (cached) yes checking for openssl/rsa.h... (cached) yes checking for openssl/pem.h... (cached) yes checking for openssl/crypto.h... (cached) yes checking for openssl/err.h... (cached) yes checking for CRYPTO_lock in -lcrypto... (cached) yes checking for main in -lssl... (cached) yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for signal.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for uio.h... (cached) no checking for errno.h... (cached) yes checking for regex.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/loadavg.h... (cached) no checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for getopt_long... no import_sources=getopt checking for getopt_long_only... (cached) no checking for vsnprintf... (cached) no checking for select... (cached) no checking for socket... (cached) no checking for strdup... (cached) no checking for strstr... (cached) no checking for strtod... (cached) no checking for strtol... (cached) no checking for strtoul... (cached) no checking for type of socket size... int checking for ps... (cached) /bin/ps ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args' checking for df... (cached) /bin/df df syntax... /bin/df -Pk checking for ping... (cached) /sbin/ping ping syntax... /sbin/ping -n -c checking for nslookup... (cached) /usr/sbin/nslookup checking nslookup syntax... /usr/sbin/nslookup checking for host... (cached) /usr/sbin/host checking host syntax... /usr/sbin/host checking for uptime... (cached) /usr/bin/uptime checking for rpcinfo... (cached) /usr/bin/rpcinfo checking for ntpdate... no checking for ntpdc... no checking for xntpdc... no ** Install NTP programs (http://www.ntp.org) if you want to monitor time synchronization checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... (cached) /usr/local/bin/smbclient checking for who... (cached) /usr/bin/who checking for snmpget... (cached) /usr/local/bin/snmpget checking for snmpgetnext... (cached) /usr/local/bin/snmpgetnext ** Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins checking for quakestat... no checking for qstat... no ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... (cached) /usr/bin/ssh checking for dig... (cached) /usr/sbin/dig yes creating ./config.status creating Makefile creating subst creating plugins/Makefile creating plugins-scripts/Makefile creating plugins-scripts/subst creating plugins-scripts/utils.pm creating plugins-scripts/utils.sh creating command.cfg creating test.pl creating plugins/config.h plugins/config.h is unchanged creating plugins/common.h plugins/common.h is unchanged creating plugins/version.h plugins/version.h is unchanged creating plugins/netutils.h plugins/netutils.h is unchanged creating plugins/utils.h plugins/utils.h is unchanged creating plugins/popen.h plugins/popen.h is unchanged when i run make all i get this Making all in plugins Bad modifier: ) Unclosed variable specification "Makefile", line 760: Need an operator Fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/src/nagiosplug-1.3-beta1 (line 185 of Makefile). Does anyone have any ideas what is happening? Thanks in advance Dave This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from John Crowley (Maidstone) Ltd may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of John Crowley (Maidstone) Ltd. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 29 22:17:14 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 29 Oct 2002 13:17:14 -0800 (PST) Subject: Service definition 'time-saving tips' possible bug In-Reply-To: <15047309.1035944399@[10.10.20.136]> References: <15047309.1035944399@[10.10.20.136]> Message-ID: <20021029211714.27052.qmail@web21508.mail.yahoo.com> Yep, however the hosts after the invaild hostname will provide a warning error stating that they have no services defined, so you can tell where the error is... Tom Lichti wrote:Well, after seeing how I could 'save time' with the tips, I spent a day re-organizing my services file into templates and multi-host services. And it didn't work. So much for saving time. Any service that has multiple hosts in the host_name line seem to be completely ignored, and do not generate errors with the nagios -v test. The problem was that I had a host in the list of 'host_name' that didn't exist in the hosts definition. It didn't give a warning to that effect though, it just stopped processing the hosts after that. For example, I had define service{ use generic-websrvr-service host_name websrvr-100,websrvr-101,websrvr-102,websrvr-103,websrvr-104,websrvr-105,we bsrvr-106,websrvr-107,websrvr-108,websrvr-109,websrvr-110,websrvr-112,websr vr-113,websrvr-114,websrvr-115,websrvr-116,websrvr-117,websrvr-118,websrvr- 119 service_description Disk Space check_command check_all_disks_r!!85!95 } But websrvr-107 did not exist in the hosts file, so it appears that it stops processing the list of hosts if it finds one that does not exist in the hosts definitions. Ok, fine, except that there was no warning! Argh. Anyway, I've fixed my services file, but that was a bit of pain to find. Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ----- Jon Lyons Black Honda F3 #800 --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrozes at vinton.com Tue Oct 29 22:15:30 2002 From: jrozes at vinton.com (Jonathan Rozes) Date: Tue, 29 Oct 2002 13:15:30 -0800 Subject: Help, trouble compiling and installing plugins on OpenBSD 3.0 Message-ID: <48B8D6ECC8C93E4E992AEB43EE8565DB040C44@pdx-mail01.wvs> You need gmake (install from ports in devel/gmake) for the plugins. I wrestled with the plugins on OpenBSD too (mostly getting it to recognize and compile some of the optional plugins), so if you run into other problems, feel free to drop me a line. jonathan +++ Jonathan Rozes, Manager, Information Technology, Will Vinton Studios > -----Original Message----- > From: Dave Adams [mailto:dadams at johncrowley.co.uk] > Sent: Tuesday, October 29, 2002 12:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help, trouble compiling and installing plugins > on OpenBSD 3.0 > > [deleted...] > > when i run make all i get this > > Making all in plugins > Bad modifier: ) > > Unclosed variable specification > "Makefile", line 760: Need an operator > Fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/src/nagiosplug-1.3-beta1 (line 185 of Makefile). > > Does anyone have any ideas what is happening? > > Thanks in advance > > Dave > > > > This message (and any associated files) is intended only for the > use of the individual or entity to which it is addressed and may > contain information that is confidential, subject to copyright or > constitutes a trade secret. If you are not the intended recipient > you are hereby notified that any dissemination, copying or > distribution of this message, or files associated with this message, > is strictly prohibited. If you have received this message in error, > please notify us immediately by replying to the message and deleting > it from your computer. Messages sent to and from > John Crowley (Maidstone) Ltd may be monitored. > > Internet communications cannot be guaranteed to be secure or > error-free > as information could be intercepted, corrupted, lost, > destroyed, arrive > late or incomplete, or contain viruses. Therefore, we do not accept > responsibility for any errors or omissions that are present in this > message, or any attachment, that have arisen as a result of e-mail > transmission. If verification is required, please request a hard-copy > version. Any views or opinions presented are solely those of > the author > and do not necessarily represent those of John Crowley > (Maidstone) Ltd. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 29 22:25:49 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 29 Oct 2002 13:25:49 -0800 (PST) Subject: Statuswrl.cgi v1.7 In-Reply-To: <002f01c27f83$25af6450$9600000a@woodstock> References: <002f01c27f83$25af6450$9600000a@woodstock> Message-ID: <20021029212549.20915.qmail@web21506.mail.yahoo.com> Yes, using the one created on 10-15-2002, usually you get that error if you have an error in the cgi.cfg/hostextinfo.cfg files, I've also seen when I compiled the new statuswrl.cgi by not having the correct path for the perl interputer. Theo Hollenberg wrote:Hi everybody, Could someone tell me whether statuswrl.cgi v1.7 is actually deployed successfully by someone for it compiles perfectly but when I deploy it, it gives the following message: The VRML file header not found or unsupported encoding type File: http://nagios.hollenberg.biz/nagios/cgi-bin/statuswrl.cgi?host=all Does this ring a bell with anyone..? Kind regards, Theo Hollenberg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Tue Oct 29 22:27:11 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 29 Oct 2002 16:27:11 -0500 Subject: RFE: Virtual Contact Message-ID: i agree with Jim here, it is imperative that any of the features that are to be made available to joe contacts are available through the web interface. i am at a site where there are no linux techs just windows guys. It also adds an interface to deal with and requires additional management (user accounts, etc). just my 2cents; keep the change, dean -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Tuesday, October 29, 2002 2:26 PM To: 'Jonathan Rozes'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RFE: Virtual Contact Jonathan Rozes wrote: > Why not just have a script rewrite/replace your > contactgroups.cfg file and > restart nagios as needed? It would be a lot less complex than > adding a bunch > of calendaring junk to the package. You could achieve the same result > rewriting/replacing timeperiods.cfg. Interesting thought. My objections to this: - there's no web interface - to build the web interface, I'd need to know html/cgi (which I haven't touched in years) - to dovetail the web interface to Nagios would require munging the left-side menu; this isn't an entirely bad thing, but would possibly need to be redeployed after an upgrade to Nagios (ie, code deviation, maintaining 2 codebases instead of 1) > I'm not sure of the usefulness of a "send a message" option > either. Why not > just send email to the person? It's less an issue of sending e-mail so much as sending a msg to the person's pager/cell phone. Granted, we could do that now if we each separately maintained our own Contacts in Outlook. (We don't have admin access to Exchange.) Using Nagios, a concerned user could see that a host is down, click a related link, and type something like, "This has been escalated to Sev 1 - please join the bridge at 555-1212." > Resolving who is on call right now could easily be done as > well using an > external script, or if you want to see it in nagios, a plugin > that simply > culls the info out of the config file and returns OK with the > name of the > current contact(s). I've already got a solution today. It's a character-based menu which does some file juggling using /etc/aliases and :include: files. The admin logs in as the generic user, changes who the on-call admin is, the new contact gets an informational page like, "You've been assigned the on-call for the BlaBla group." But, the solution is crude, and requires that the user have an SSH client, and prior knowledge of where to go. With a web interface, someone who perhaps didn't receive proper/complete training can click a link and say, "Oh, this is useful," and go from there. Much like many of the useful features I've discovered in Nagios. Again, this is nothing more than a 'blue sky' wish list. That's why I started off with "RFE" and not "how can I do this". jc > jonathan > > +++ Jonathan Rozes, Manager, Information Technology, Will > Vinton Studios > > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] > [mailto:jcarro10 at sprintspectrum.com] > > Sent: Tuesday, October 29, 2002 8:55 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] RFE: Virtual Contact > > > > > > (As if the leads didn't already have enough to ponder....) > > > > I was wondering if it would be possible to have the following > > Request For > > Enhancement in a future release of Nagios: > > > > 'Virtual Contact' > > > > Features: > > > > - a VC (Virtual Contact) could be assigned to a real contact > > - this VC would (most likely) be the first to receive the > pager/e-mail > > notifications > > - users who could change who the VC is assigned to would be > > restricted to a > > 'VC group' (perhaps this would simply be a matter of adding > > the VC to the > > same contact group) > > - depending on permissions, a user could send a short (120 > > character) msg to > > the VC (or to any user, if this makes sense) from the web > > interface; this > > msg would go to the pager, to e-mail, to SMS... whatever's > > defined for the > > VC (/user) > > - optionally (via config files) a user could determine who > > the VC resolves > > to > > > > I'm not sure how many organizations out there have a rotating > > "on call" > > admin, but this is the case within my group. A feature such > > as the above > > would be useful. "Blue sky" wish list, of course. ;) > > > > Food for thought. > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Tue Oct 29 22:38:03 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 29 Oct 2002 13:38:03 -0800 (PST) Subject: Service definition 'time-saving tips' possible bug In-Reply-To: <22284679.1035951635@[10.10.20.136]> References: <22284679.1035951635@[10.10.20.136]> Message-ID: <20021029213803.455.qmail@web21503.mail.yahoo.com> For sure, it would also be nice if the preflight checks actaully checked the cgi.cfg file. I spent almost half a day trying track down a coredump with the statusmap.cgi, and it turned out to be a missing "p" for the physical_html_path variable.... Tom Lichti wrote:Only in certain situations. I had some hosts where a couple of the services were defined in a group service, and a couple were single host definitions, or definitions that were part of a group that didn't include websrvr-102. For instance, websrvr-119 had a service defined that was part of a smaller group that didn't include websrvr-107, so it didn't give any warnings for that server, yet half of it's services were not registered. If this had been the case for all of the services, there would have been no warnings from the pre-flight check, yet about 1/6 of my services would not have been checked. Regardless, it still took me a long time to figure out what the problem REALLY was. This needs to be addressed in the pre-flight check, IMHO. Tom --On Tuesday, October 29, 2002 1:17 PM -0800 Jon Lyons wrote: > > Yep, however the hosts after the invaild hostname will provide a warning > error stating that they have no services defined, so you can tell where > the error is... > Tom Lichti wrote:Well, after > seeing how I could 'save time' with the tips, I spent a day > re-organizing my services file into templates and multi-host services. > And it didn't work. So much for saving time. Any service that has > multiple hosts in the host_name line seem to be completely ignored, and > do not generate errors with the nagios -v test. > > The problem was that I had a host in the list of 'host_name' that didn't > exist in the hosts definition. It didn't give a warning to that effect > though, it just stopped processing the hosts after that. For example, I > had > > define service{ > use generic-websrvr-service > host_name > websrvr-100,websrvr-101,websrvr-102,websrvr-103,websrvr-104,websrvr-105,we > bsrvr-106,websrvr-107,websrvr-108,websrvr-109,websrvr-110,websrvr-112,web > sr > vr-113,websrvr-114,websrvr-115,websrvr-116,websrvr-117,websrvr-118,websrv > r- 119 > service_description Disk Space > check_command check_all_disks_r!!85!95 > } > > But websrvr-107 did not exist in the hosts file, so it appears that it > stops processing the list of hosts if it finds one that does not exist in > the hosts definitions. Ok, fine, except that there was no warning! Argh. > > Anyway, I've fixed my services file, but that was a bit of pain to find. > > Tom > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ----- > > Jon Lyons > Black Honda F3 #800 > > > --------------------------------- > Do you Yahoo!? > HotJobs - Search new jobs daily now --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From colman at ppllc.com Wed Oct 30 03:42:22 2002 From: colman at ppllc.com (Jake Colman) Date: 29 Oct 2002 21:42:22 -0500 Subject: check_ntp question In-Reply-To: <48B8D6ECC8C93E4E992AEB43EE8565DB040C43@pdx-mail01.wvs> (Jonathan Rozes's message of "Tue, 29 Oct 2002 11:28:55 -0800") References: <48B8D6ECC8C93E4E992AEB43EE8565DB040C43@pdx-mail01.wvs> Message-ID: <76pttsk5pt.fsf@newjersey.ppllc.com> JR> The check_ntp plugin does two things: JR> 1. It uses ntpdate to see if the clock on the target host is JR> synchronized. JR> 2. It uses ntpdc to measure the dispersion/jitter of the time sources JR> the JR> target host is synchronized to. JR> So it should do what you want. What output are you getting from the JR> plugin? My bad. It actually does work. When the ntpd is initially started, it takes a while to synchronize. During that period, check_ntp reports (correctly) that there is no synchronization. Afterwards, it works fine. Thanks! -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 30 04:31:16 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Oct 2002 22:31:16 -0500 (EST) Subject: Diskspace check In-Reply-To: <20021029052534.93113.qmail@web40404.mail.yahoo.com> References: <20021029052534.93113.qmail@web40404.mail.yahoo.com> Message-ID: To check diskspace on a remote NT/W2K system use check_nt not check_disk check_nt_disk is supposed to be a macro reference to "check_nt -v USEDDISKSPACE" -sg On Mon, 28 Oct 2002, mkothandan kothandan wrote: > > function SetDomain(d) { document.domain = d; }Dear dir > > This is the error i got C:\ Free Space CRITICAL 10-28-2002 19:25:12 0d > 3h 15m 3s 3/3 (No output!) In windows nt .This is iam added in > Checkcommand.cfg file > > # 'check_nt_disk' command definition > define command{ > command_name check_nt_disk > command_line $USER1$/check_disk -H $172.16.0.11$ -p 1248 -v > USEDDISKSPACE -l c $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Regards > > kothandan (Als) Koths > > > > > --------------------------------- > Do you Yahoo!? > HotJobs - Search new jobs daily now -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kurt at emsp.no Wed Oct 30 08:20:55 2002 From: kurt at emsp.no (=?iso-8859-1?Q?Kurt_Inge_Sm=E5dal?=) Date: Wed, 30 Oct 2002 08:20:55 +0100 Subject: SV: /var/lock/subsys reference Message-ID: <1B0C82B48CB8F24B95824093A727362701E513@pat.intern.emsp.no> The nagios file in /var/lock/subsys is created when you do nagios start and its removed when you do nagios stop The reason for the /var/lock/subsys/nagios file is that on Redhat (and maybe other systems) there is a killall script that shutdown all services running when you take a reboot/shutdown on the system. This is done by reading the /var/lock/subsys directory and run the stop script for all servicenames which are found there. It's done something like this (in a simple way): for service in /var/lock/subsys/*; do /etc/rc.d/init.d/$service stop done So if you are running an OS with no /var/lock/subsys then there is probably another way to kill all services on shutdown. > -----Opprinnelig melding----- > Fra: Russell Scibetti [mailto:russell at quadrix.com] > Sendt: 29. oktober 2002 21:48 > Til: nagios-users at lists.sourceforge.net; nagios- > devel at lists.sourceforge.net > Emne: [Nagios-users] /var/lock/subsys reference > > I've noticed that the init script that comes with Nagios makes reference > to a nagios file in the /var/lock/subsys directory when you try to stop > Nagios. It tries removing this file. > > Well, I'm trying to figure out is when/how this file is even created? > The only references I can see to it are in the functions file and the > init script itself. > > Also, two more question about this. What if you aren't running on > Linux, on an OS that doesn't use /var/lock/subsys? That reference > definitely seems hardcoded in the init daemon-init.in file. And what > happens when you are running multiple instances of Nagios on 1 box. > > I know Nagios uses the nagios.lock file for PID storage, and on the > Linux boxes I have running Nagios, the /var/lock/subsys/nagios file is > empty. Is this necessary? I don't understand what function this > exactly serves. Any help with this would be appreciated as I am trying > to rewrite the init script to be more OS generic (some parts of it don't > work on Solaris). Thanks. > > -Russell Scibetti > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ralph.zimmermann at salt-ag.com Wed Oct 30 09:04:24 2002 From: ralph.zimmermann at salt-ag.com (Ralph Zimmermann) Date: Wed, 30 Oct 2002 09:04:24 +0100 Subject: Apan - but no graphs Message-ID: <01C27FF3.594093A0.ralph.zimmermann@salt-ag.com> Hi, I've just configured Apan according to the documentation and the hints of the last postings. The config itself went fine and checks (ping) are running successfully, but if I click on the graph icon in Nagios, which leads to the url, I get a page with all required text but NO GRAPHS. As I see from the dead-pictures properties it tries to generate the pictures from the follwing call: http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 Anyone aware what my fault may be ? However I'm glad about Apan, always been waiting for a rrdtool to easily integrate into Nagios. Cheers, Ralph. Ralph Zimmermann _____________________________________ - Netzwerkadministrator - SALT AG Sedanstra?e 23 D-97082 W?rzburg Tel: +49 931 3573 - 400 Fax: +49 931 3573 - 409 mailto: ralph.zimmermann at salt-ag.com Besuchen Sie uns unter www.salt-ag.com telematikgest?tzte Logistik-Plattform cargoRent Tracking & Tracing ab 49 Euro monatlich/ Fahrzeug Infos unter www.cargoRent.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sebastien.louafi at e-qual.fr Wed Oct 30 09:30:27 2002 From: sebastien.louafi at e-qual.fr (louafi) Date: Wed, 30 Oct 2002 09:30:27 +0100 Subject: Execution Queue and latency In-Reply-To: References: Message-ID: <017701c27fee$9964a890$6702a8c0@intranet.equal.fr> This check takes around 3 seconds... Objet : RE: RE : [Nagios-users] Execution Queue and latency how long does it take from the command line? time ./check_snmp -H..... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Wed Oct 30 09:55:38 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Wed, 30 Oct 2002 00:55:38 -0800 Subject: HOWTO: NRPE+TCP Wrappers In-Reply-To: <017701c27fee$9964a890$6702a8c0@intranet.equal.fr> References: <017701c27fee$9964a890$6702a8c0@intranet.equal.fr> Message-ID: <3DBF9E8A.4070202@sbcglobal.net> Hi all, I wrote a quick howto for nrpe+tcp wrappers. I submitted it to Ethan and it will hopefully show up at www.nagios.org/faqs soon. Take a look and inform me of any errors contained. Thanks! Thanks, Sean ----------------------------------------------- HOWTO: NRPE + TCP WRAPPERS TCP wrappers allows you to restrict access to services by hostname and IP addresses. In addition, you can use TCP wrappers for logging access to services via syslog or spawn shell commands in response to certain types of access. A good primer on TCP Wrappers can be found here: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/ch-tcpwrappers.html Using TCP Wrappers requires that nrpe be run from inetd. This document assumes a.) inetd is compiled with TCP Wrapper support and b.) nrpe is currently installed and working. Both of these items are outside the scope of this FAQ. However, you can rest assured that most modern Linux and BSD distros have inetd+TCP wrapper functionality ready to go out of the box. Check out the README file that comes with nrpe to get a basic configuration working. On the clients (the servers Nagios will check via NRPE) 1. Configure nrpe.cfg Since we're running nrpe from inetd, most of the configuration file is ignored. No change in existing nrpe installations is necessary. The only portion that is used is the command definition section. Use the commands already defined or define your own. 2. Modify /etc/services This file will designate the port nrpe will listen on. Add an entry like so: nrpe 9000/tcp # nrpe daemon 3. Add an entry for NRPE in /etc/inetd nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/nrpe -i /usr/local/nagios/nrpe.cfg Be sure that a.) user "nagios" exists, b.) the nrpe daemon is in /usr/local/nagios and c.) nrpe.cfg is located in /usr/local/nagios. Obviously if your installation differs, modify as necessary. 4. Modify /etc/hosts.allow and /etc/hosts.deny Now it?s time to use TCP Wrappers to restrict access to nrpe. First give access to your Nagios station(s) in /etc/hosts.allow: # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5), hosts_options(5) # and /usr/doc/netbase/portmapper.txt.gz # nrpe: LOCAL, 192.168.3.1, nagios.foobar.com Restrict access to all other hosts in /etc/hosts.deny: # /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5), hosts_options(5) # and /usr/doc/netbase/portmapper.txt.gz nrpe: ALL 5. Kill any running nrpe processes and restart inetd mr.monitor:/usr/local/nagios/libexec# killall nrpe mr.monitor:/usr/local/nagios/libexec# killall ?HUP inetd 6. Make sure nrpe is listening mr.monitor:/usr/local/nagios/libexec# netstat -pta Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:ssh *:* LISTEN 15889/sshd tcp 0 0 *:nrpe *:* LISTEN 20519/inetd ---snip--- If you configured everything correctly, you should see nrpe listening. To troubleshoot, try telneting to your nrpe port from a remote box. If you receive "connection refused by host", make sure nrpe is actually listening on the port. This should do it- good luck! Please write with any comments or corrections to sean.knox at sbcglobal.net. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From erkki_k at ut.ee Wed Oct 30 09:57:58 2002 From: erkki_k at ut.ee (Erkki Kukk) Date: Wed, 30 Oct 2002 10:57:58 +0200 (EET) Subject: Apan - but no graphs In-Reply-To: <01C27FF3.594093A0.ralph.zimmermann@salt-ag.com> References: <01C27FF3.594093A0.ralph.zimmermann@salt-ag.com> Message-ID: Hi. Take a look into the /usr/local/nagios/sbin/generate.cgi Is the rrdtool path correct? I had to correct it to get the graphs working. PS! It is not documented... erkki > Hi, > > I've just configured Apan according to the documentation > and the hints of the last postings. The config itself went > fine and checks (ping) are running successfully, but if I > click on the graph icon in Nagios, which leads to the url, > I get a page with all required text but NO GRAPHS. > > As I see from the dead-pictures properties it tries to > generate the pictures from the follwing call: > http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 > > Anyone aware what my fault may be ? > > However I'm glad about Apan, always been waiting for a > rrdtool to easily integrate into Nagios. > > Cheers, > Ralph. > > > Ralph Zimmermann > _____________________________________ > - Netzwerkadministrator - > > SALT AG > Sedanstra?e 23 > D-97082 W?rzburg > > Tel: +49 931 3573 - 400 > Fax: +49 931 3573 - 409 > > mailto: ralph.zimmermann at salt-ag.com > Besuchen Sie uns unter www.salt-ag.com > > telematikgest?tzte Logistik-Plattform cargoRent > Tracking & Tracing > ab 49 Euro monatlich/ Fahrzeug > Infos unter www.cargoRent.net > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ______________________________________________________________ Tartu ?likooli IT osakond tel: +372 7375459 J.Liivi 2-103 mob: +372 5213503 50409 Tartu email: erkki.kukk at ut.ee ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ralph.zimmermann at salt-ag.com Wed Oct 30 09:58:26 2002 From: ralph.zimmermann at salt-ag.com (Ralph Zimmermann) Date: Wed, 30 Oct 2002 09:58:26 +0100 Subject: Apan - but no graphs Message-ID: <01C27FFA.E4BA6E90.ralph.zimmermann@salt-ag.com> I meant, these red colored "X" replacements instead of pictures. But I found the mistake myself now. It wasn't in the documentation that you need to adjust generate.cgi as well !!! In my case it was the path to rrdtool. Now "rrdtool graph" gets started properly and does create the required graphs. Ralph. -----Urspr?ngliche Nachricht----- Von: Sean Knox [SMTP:sean.knox at sbcglobal.net] Gesendet am: Mittwoch, 30. Oktober 2002 09:09 An: ralph.zimmermann at salt-ag.com Betreff: Re: [Nagios-users] Apan - but no graphs By no graphs, do you mean no graphics at all (i.e. pngs/gifs) or graphs with no data? Sean Ralph Zimmermann wrote: >Hi, > >I've just configured Apan according to the documentation >and the hints of the last postings. The config itself went >fine and checks (ping) are running successfully, but if I >click on the graph icon in Nagios, which leads to the url, >I get a page with all required text but NO GRAPHS. > >As I see from the dead-pictures properties it tries to >generate the pictures from the follwing call: >http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 > >Anyone aware what my fault may be ? > >However I'm glad about Apan, always been waiting for a >rrdtool to easily integrate into Nagios. > >Cheers, >Ralph. > > >Ralph Zimmermann >_____________________________________ >- Netzwerkadministrator - > >SALT AG >Sedanstra?e 23 >D-97082 W?rzburg > >Tel: +49 931 3573 - 400 >Fax: +49 931 3573 - 409 > >mailto: ralph.zimmermann at salt-ag.com >Besuchen Sie uns unter www.salt-ag.com > >telematikgest?tzte Logistik-Plattform cargoRent >Tracking & Tracing >ab 49 Euro monatlich/ Fahrzeug >Infos unter www.cargoRent.net > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.knox at sbcglobal.net Wed Oct 30 10:11:00 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Wed, 30 Oct 2002 01:11:00 -0800 Subject: Apan - but no graphs In-Reply-To: <01C27FFA.E4BA6E90.ralph.zimmermann@salt-ag.com> References: <01C27FFA.E4BA6E90.ralph.zimmermann@salt-ag.com> Message-ID: <3DBFA224.9020304@sbcglobal.net> The rrdtool path in generate.cgi also threw me for a loop. To everyone configuring Apan, here are a couple "gotchas": 1. As Ralph points out, generate.cgi is hardcoded to use /usr/local/bin/rrdtool as the rrdtool location. Be sure to change to the actual location. (on Debian, for example, rrdtool is located in /usr/bin/rrdtool) 2. Apan resolves hosts defined in the apan.cfg via /etc/hosts and DNS, not through nagios. Be sure to use FQDN with your hosts or define them in /etc/hosts. 3. Make sure your permissions on your rrd files are correct. For the longest time I had the graphs themselves generated, but no data was being put into them. (I stupidly created them as root. yes, i know that was bad). It's still unclear which user accesses the .rrd files... the webserver? nagios? nobody? 4. Apan currently has little or no error-checking...i.e. just about everything is case sensitive...be careful! Those are the ones I remember off the top of my head. Apan has a ton of potential- I can't wait to explore it. Sean Ralph Zimmermann wrote: >I meant, these red colored "X" replacements instead of pictures. > >But I found the mistake myself now. It wasn't in the documentation >that you need to adjust generate.cgi as well !!! > >In my case it was the path to rrdtool. Now "rrdtool graph" gets started >properly and does create the required graphs. > >Ralph. > >-----Urspr?ngliche Nachricht----- >Von: Sean Knox [SMTP:sean.knox at sbcglobal.net] >Gesendet am: Mittwoch, 30. Oktober 2002 09:09 >An: ralph.zimmermann at salt-ag.com >Betreff: Re: [Nagios-users] Apan - but no graphs > >By no graphs, do you mean no graphics at all (i.e. pngs/gifs) or graphs >with no data? > >Sean > >Ralph Zimmermann wrote: > > > >>Hi, >> >>I've just configured Apan according to the documentation >>and the hints of the last postings. The config itself went >>fine and checks (ping) are running successfully, but if I >>click on the graph icon in Nagios, which leads to the url, >>I get a page with all required text but NO GRAPHS. >> >>As I see from the dead-pictures properties it tries to >>generate the pictures from the follwing call: >>http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 >> >>Anyone aware what my fault may be ? >> >>However I'm glad about Apan, always been waiting for a >>rrdtool to easily integrate into Nagios. >> >>Cheers, >>Ralph. >> >> >>Ralph Zimmermann >>_____________________________________ >>- Netzwerkadministrator - >> >>SALT AG >>Sedanstra?e 23 >>D-97082 W?rzburg >> >>Tel: +49 931 3573 - 400 >>Fax: +49 931 3573 - 409 >> >>mailto: ralph.zimmermann at salt-ag.com >>Besuchen Sie uns unter www.salt-ag.com >> >>telematikgest?tzte Logistik-Plattform cargoRent >>Tracking & Tracing >>ab 49 Euro monatlich/ Fahrzeug >>Infos unter www.cargoRent.net >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sgrivett at libero.it Wed Oct 30 10:55:03 2002 From: sgrivett at libero.it (=?iso-8859-1?Q?sgrivett@libero.it?=) Date: Wed, 30 Oct 2002 11:55:03 +0200 Subject: =?iso-8859-1?Q?how_can_I_view_a_image_map_of_my_net=3F?= Message-ID: Hello to you all. I'm a newbie to nagios and I'm trying to fix up a monitoring system for the company where I work. The fact is that now nagios is compiled, running, but I cannot see the image map of the net. Any ideas? Thanx Sergio (ITALIA) Sergio Grivetto Str. Zea n? 1 10040 Lein? TO +39 011 99 88 166 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rick at subnet.at Wed Oct 30 12:38:03 2002 From: rick at subnet.at (peter riegersperger) Date: Wed, 30 Oct 2002 12:38:03 +0100 Subject: RESOLVED: statusmap background error II In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi! just in case someone is interested: the problem was that pngtogd2 created invalid gd2-files. i solved the problem by circumventing it: the statusmap.cgi _does accept_ png files as background even if the manual says otherwise (but it's slow). rick |- | peter riegersperger |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of peter > riegersperger > Sent: Tuesday, October 29, 2002 10:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap background error II > > > > *** PGP Signature Status: good > *** Signer: peter riegersperger > *** Signed: 29.10.2002 10:23:19 > *** Verified: 29.10.2002 10:44:10 > *** BEGIN PGP VERIFIED MESSAGE *** > > hi! > > quick summary: defining a background image for the statusmap > results in a "broken image" link > > i just realized that my apache should log an error or two ... > from the apache log: > Premature end of script headers: > /usr/local/nagios/sbin/statusmap.cgi > > what should i do? recompile nagios? statusmap and trends are > running without any problems, it's just the background image that > kills the statusmap. > > rick > > > > > |- > | peter riegersperger > |- > | subnet > | platform for media art and experimental technologies > |- > | http://www.subnet.at/ > |- > | muehlbacherhofweg 5 // 5020 salzburg // austria > |- > | fon/fax +43/662/842 897 > |- > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > peter riegersperger > > Sent: Sunday, October 27, 2002 1:09 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] statusmap background error > > > > > > > > *** PGP Signature Status: good > > *** Signer: peter riegersperger > > *** Signed: 27.10.2002 13:08:51 > > *** Verified: 27.10.2002 13:57:52 > > *** BEGIN PGP VERIFIED MESSAGE *** > > > > hi all! > > > > i'm trying to set a background image for the statusmap, but the > > cgi returns a "broken image" link. the background image is in the > > correct subdirectory and in gd2-format (converted with pngtogd2 > > with > > compression turned off). > > > > does nagios log its errors somewhere? i wanted to investigate > > what goes wrong with my background image, but couldn't find any > > logfiles for errors. > > > > greetings, > > > > rick > > > > > > |- > > | peter riegersperger > > |- > > | subnet > > | platform for media art and experimental technologies > > |- > > | http://www.subnet.at/ > > |- > > | muehlbacherhofweg 5 // 5020 salzburg // austria > > |- > > | fon/fax +43/662/842 897 > > |- > > > > > > > > *** END PGP VERIFIED MESSAGE *** > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > Las Vegas (supported by COMDEX), the only Apache event to be > > fully supported by the ASF. http://www.apachecon.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > *** END PGP VERIFIED MESSAGE *** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use Comment: public key available at http://home.subnet.at/rick/pgp/ iQA/AwUBPb+2jCDD9/SWDsvSEQJYwQCfdXv2PExowGxGTqJqucZZj8f3N1IAoJPQ D3UXl6wp17qTZsr+9bIVjqsg =bKla -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jhp at addix.net Wed Oct 30 13:54:54 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Wed, 30 Oct 2002 13:54:54 +0100 Subject: Comments in Nagios In-Reply-To: References: Message-ID: <20021030125454.GP27140@billgotchy.de> On Tue, Oct 29, 2002 at 09:06:59AM -0600, Nolan Martin wrote: >The check_external_commands parameter (in nagios.cfg) must be set to 1 >(enabled). It is set to 0 (disabled) by default. > >Additionally, you will need to enable and use CGI authentication (if >not already), otherwise Nagios will warn you that what you are trying to >do is a bad idea, and will not (by default) let you actually run the >commands. yepp that was that .. and setting the right of $NAGIOSPATH/var/rw/nagios.cmd from 660 to 666 ..... thnx Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dbestetti at interop.com.br Wed Oct 30 14:26:55 2002 From: dbestetti at interop.com.br (Dario B. Bestetti) Date: Wed, 30 Oct 2002 10:26:55 -0300 Subject: Apan Configurations In-Reply-To: References: Message-ID: <002501c28018$0458e3e0$34fda8c0@ucbrpoa.uccorp.net> I would prefer to monitor by hostname since we monitor hosts with dynamic IP addresses. []s Dario. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Erkki Kukk > Sent: ter?a-feira, 29 de outubro de 2002 08:30 > To: Fredrik W?nglund > Cc: Nagios Mailing List > Subject: RE: [Nagios-users] Apan Configurations > > > > Hi. > > Its great to see that someone is finally dealing with > graphing the perfdata. And for me Apan works fine. But I dont > like that it does all the checks by hostname :( I think it > is much better to check by ip address, like nagios does. > > Brgds, > erkki > > > > I am currently working on an HOWTO section in the docs on Apans > > homepage. > > > > Here's the short one (assuming tou have installed the files and > > defined the command): > > > > 1) Define a sevice in Nagios with apan as check_command and the > > plugin-name as first argument; define service{ > > host_name server > > service_description Ping > > ... > > check_command apan!ping!100.0,20%!500.0,60% > > ... > > } > > > > 2) Create a RRD_file > > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 > > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 > RRA:AVERAGE:0.5:60:43800 > > > > 3) Define the serice in apan.cfg > > > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LI > NE2;Ping > > round-trip time;Secondsefine the serice in apan.cfg > > > > 4) Add a URL and icon to the service > > define serviceextinfo{ > > host_name server > > service_description Ping > > notes_url > /nagios/cgi-bin/apan.cgi?host=server&service=Ping > > icon_image graph.png > > ... > > } > > > > > > /FredrikW > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From colman at ppllc.com Wed Oct 30 14:53:24 2002 From: colman at ppllc.com (Jake Colman) Date: 30 Oct 2002 08:53:24 -0500 Subject: plugin for Samba? Message-ID: <76hef4janf.fsf@newjersey.ppllc.com> Is there a plugin to check whether SMB/NMB services are available? I use Samba as a Primary Domain Controller for login, and as a print/file server. What is the best way to monitor Samba components? -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From avh at inbodan.dk Wed Oct 30 15:22:04 2002 From: avh at inbodan.dk (Allan Hansen, INBODAN) Date: Wed, 30 Oct 2002 15:22:04 +0100 Subject: check_snmp - warning and critical ranges Message-ID: <03630F4AC119D311B0DF0008C716506F016AC0D4@ARHIN02> I can't seem to work out the above. I want to monitor CPU load and have a warning when CPU is above 75 and critical when above 90. If I understand the docu correct this should work: check_snmp -H 10.129.2.2 -w :75 -c :90 -o .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU' but it does not, I keep getting a warning even on low (<10%) CPU load. I am using ucd-snmp 4.2.6 and the latest plugins of of CVS. Somebody please advice .. MVH / Regards INBODAN A/S Allan Hansen System Administrator email: avh at inbodan dot dk (avh snabela inbodan punktum dk) www: www.ide.dk , www.garant-gulve.dk , www.erhvervsgulve.dk phone: +45 8941 6100 mobile: +45 2524 4101 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Wanglund at datavis.se Wed Oct 30 16:02:26 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Oct 2002 16:02:26 +0100 Subject: Apan Configurations-- W/ errors Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780388@storevis.datavis.se> Change the first line in apan.sh to point to bash instead of sh.. /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Tue 29-Oct-02 18:41 To: Fredrik W?nglund; DataColo; Nagios Mailing List Cc: Subject: RE: [Nagios-users] Apan Configurations-- W/ errors Freebsd 4.6.2, Bash 2.05a, and still getting the same error... Fredrik_W?nglund wrote:In what OS are you trying to run it? Apan is developed in bash, and line 14, fsname=${NAMELIST[$N]}, does not seem to work in a pure sh-shell. Can you try to install bash?? Meanwhile I will look at the probs and make Apan sh-compatible. /FredrikW -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Mon 28-Oct-02 21:44 To: DataColo; Nagios Mailing List Cc: Subject: Re: [Nagios-users] Apan Configurations-- W/ errors Ditto.....Keep getting, /usr/local/nagios/apan/plugs/disk.sh: 14: Systan Error: Bad substition I only have one line in apan.cfg for PING. DataColo wrote:Same here :( I try setting up the example that comes in the readme file, and that did not even work (and yes, I did change the paths ;) -- DataColo, info at datacolo.com on 10/28/2002 On Sun, 27 Oct 2002 23:44:18 -0800, Sean Knox wrote: >If anyone has managed to get apan to work (aside from Fredrik :) >please >speak up. I've downloaded the new version and while the updated docs >are >an improvement over last version, I still find them too vague to be >of use. > >I am *very* interested in getting apan working. Until then, I will >continue using Orca and smokeping... > >Sean > >Fredrik W?nglund wrote: > >>I've just released a new version of apan. Along with it comes a >>sample config-file with (I think) an example of every plugin. I've >>also updated the docs on the web-page, apan.sourceforge.net >> >> >>/FredrikW >> >> >>-----Original Message----- >>From: Carlos Rego [mailto:carlos at datacolo.com] >>Sent: Mon 28-Oct-02 07:26 >>To: nagios-users at lists.sourceforge.net >>Cc: >>Subject: [Nagios-users] Apan Configurations >> >>Does anybody have examples of configurations they have working with >>the apan plugin ?, I would love to have rrdtool graphs for ping and >>other variables but I just can't figure how apan works :) >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Wed Oct 30 16:12:06 2002 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 30 Oct 2002 10:12:06 -0500 Subject: Comments in Nagios References: <20021030125454.GP27140@billgotchy.de> Message-ID: <3DBFF6C6.6040406@quadrix.com> You don't want to set nagios.cmd permissions to 666. 660 is the right setting. To be able to use commans in the CGI's, you need to add the user that your web server runs as to your nagios group. That way you can have only the nagios user and group have write permission to the command pipe and no one else. It's more secure that way. -Russell Jan-Hendrik Palic wrote: >On Tue, Oct 29, 2002 at 09:06:59AM -0600, Nolan Martin wrote: > >>The check_external_commands parameter (in nagios.cfg) must be set to 1 >>(enabled). It is set to 0 (disabled) by default. >> >>Additionally, you will need to enable and use CGI authentication (if >>not already), otherwise Nagios will warn you that what you are trying to >>do is a bad idea, and will not (by default) let you actually run the >>commands. >> > >yepp that was that .. and setting the right of >$NAGIOSPATH/var/rw/nagios.cmd from 660 to 666 ..... > > thnx > > Jan > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Wanglund at datavis.se Wed Oct 30 16:18:19 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Oct 2002 16:18:19 +0100 Subject: Apan howto errors Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278038A@storevis.datavis.se> OK, its defined in a variable in the script, but I forgot to mention it in the docs... Thank you for trying Apan and for giving me feedback. /FredrikW -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: Tue 29-Oct-02 21:31 To: Fredrik W?nglund Cc: Subject: Apan howto errors Here's a couple problems I noticed when following your apan config directions: 1. Checks by hostname- should use nagios to resolve hosts (I believe this was already addresses on the list) 2. generate.cgi points to /usr/local/bin/rrdtool, regardless of what you set in apan.sh. This caused some confusion until I checked out my apache.error logs. -sk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jhp at addix.net Wed Oct 30 16:23:28 2002 From: jhp at addix.net (Jan-Hendrik Palic) Date: Wed, 30 Oct 2002 16:23:28 +0100 Subject: Comments in Nagios In-Reply-To: <3DBFF6C6.6040406@quadrix.com> References: <20021030125454.GP27140@billgotchy.de> <3DBFF6C6.6040406@quadrix.com> Message-ID: <20021030152328.GU27140@billgotchy.de> Hi Russel .. On Wed, Oct 30, 2002 at 10:12:06AM -0500, Russell Scibetti wrote: >You don't want to set nagios.cmd permissions to 666. 660 is the right >setting. To be able to use commans in the CGI's, you need to add the >user that your web server runs as to your nagios group. That way you >can have only the nagios user and group have write permission to the >command pipe and no one else. It's more secure that way. jepp your are right! ... I changed this again, addet www-data to nagios-grp and restarted it! ;) It works! Thnx Jan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Wed Oct 30 16:32:42 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Oct 2002 16:32:42 +0100 Subject: Apan Configurations Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278038C@storevis.datavis.se> Actually I don't use IP-numbers at all in Nagios, only host-names. All hosts I monitor in Nagios then lives in my hosts-file. It's safe to skip the adress-statement in the host-definition and leave IP-numbers to /etc/hosts. You also need to set up your name-service switch to always look in files first (I don't yse DNS on my Nagios-server). The benefits with this is that you have one source where IP-numbers and host-names are stored. The problem begins when you have many hosts, then your hosts-file get quite big. But I still think its easier to manage IP/name matching via /etc/hosts then the adress-statement in Nagios. /FredrikW -----Original Message----- From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] Sent: Wed 30-Oct-02 14:26 To: 'Nagios Mailing List' Cc: Subject: RE: [Nagios-users] Apan Configurations I would prefer to monitor by hostname since we monitor hosts with dynamic IP addresses. []s Dario. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Erkki Kukk > Sent: ter?a-feira, 29 de outubro de 2002 08:30 > To: Fredrik W?nglund > Cc: Nagios Mailing List > Subject: RE: [Nagios-users] Apan Configurations > > > > Hi. > > Its great to see that someone is finally dealing with > graphing the perfdata. And for me Apan works fine. But I dont > like that it does all the checks by hostname :( I think it > is much better to check by ip address, like nagios does. > > Brgds, > erkki > > > > I am currently working on an HOWTO section in the docs on Apans > > homepage. > > > > Here's the short one (assuming tou have installed the files and > > defined the command): > > > > 1) Define a sevice in Nagios with apan as check_command and the > > plugin-name as first argument; define service{ > > host_name server > > service_description Ping > > ... > > check_command apan!ping!100.0,20%!500.0,60% > > ... > > } > > > > 2) Create a RRD_file > > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 > > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 > RRA:AVERAGE:0.5:60:43800 > > > > 3) Define the serice in apan.cfg > > > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LI > NE2;Ping > > round-trip time;Secondsefine the serice in apan.cfg > > > > 4) Add a URL and icon to the service > > define serviceextinfo{ > > host_name server > > service_description Ping > > notes_url > /nagios/cgi-bin/apan.cgi?host=server&service=Ping > > icon_image graph.png > > ... > > } > > > > > > /FredrikW > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Wed Oct 30 16:35:13 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Oct 2002 16:35:13 +0100 Subject: Apan - but no graphs Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278038D@storevis.datavis.se> This may be the result of my vague documentation... In generate.cgi, the path to rrdtool is defined in the beginning. If you have installed it somewhere else than in /usr/local/bin, then you have to change that definition. /FredrikW -----Original Message----- From: Ralph Zimmermann [mailto:ralph.zimmermann at salt-ag.com] Sent: Wed 30-Oct-02 09:04 To: Nagios Mailing List Cc: Subject: [Nagios-users] Apan - but no graphs Hi, I've just configured Apan according to the documentation and the hints of the last postings. The config itself went fine and checks (ping) are running successfully, but if I click on the graph icon in Nagios, which leads to the url, I get a page with all required text but NO GRAPHS. As I see from the dead-pictures properties it tries to generate the pictures from the follwing call: http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 Anyone aware what my fault may be ? However I'm glad about Apan, always been waiting for a rrdtool to easily integrate into Nagios. Cheers, Ralph. Ralph Zimmermann _____________________________________ - Netzwerkadministrator - SALT AG Sedanstra?e 23 D-97082 W?rzburg Tel: +49 931 3573 - 400 Fax: +49 931 3573 - 409 mailto: ralph.zimmermann at salt-ag.com Besuchen Sie uns unter www.salt-ag.com telematikgest?tzte Logistik-Plattform cargoRent Tracking & Tracing ab 49 Euro monatlich/ Fahrzeug Infos unter www.cargoRent.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 30 16:42:28 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 30 Oct 2002 10:42:28 -0500 Subject: darn spaces in NT services Message-ID: Good morning, i am hesitant to even ask this as i think it has been answered in the past but i have spent the morning going through the archives trying to find the answer to this. i have a service that i need to check via nsclient. According to regedit \\hklm\system\currentcontrolset\services the service is called Octel Unified Messenger Tracing System. i have tried enclosing it in quotes, as well as using quotes in the checkcommand macro (around $ARG1$), and escaping the spaces with a backslash but to no avail. Can someone please enlighten me as to how you monitor a service on a windows box that has spaces in the real name. thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Wed Oct 30 16:46:00 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Oct 2002 16:46:00 +0100 Subject: Apan - but no graphs Message-ID: <9EA0F1554816EB499A4B1136B80E8DE278038E@storevis.datavis.se> Some answers: 1) I will update the docs soon... 2) Se a previous posting I made. I prefer to use /etc/hosts as the source for resolving 3) Apan is run by Nagios, so the RRD's are updated by the user that run Nagios. The files are read by the cgi, wich are run by your webserver. So the files needs to be writeable by the Nagios-user and readable by the web-server user. 4) Yes, thats sure. But if you enable debugging, then you should at least get a hint on what is going on with the plugins. Thank you gyus for giving Apan a try. Keep on giving me feedback and I will improve Apan. I would be very thankful for eery help I could get (especially on the docs). -----Original Message----- From: Sean Knox [mailto:sean.knox at sbcglobal.net] Sent: Wed 30-Oct-02 10:11 To: ralph.zimmermann at salt-ag.com Cc: Nagios Mailing List; Fredrik W?nglund Subject: Re: [Nagios-users] Apan - but no graphs The rrdtool path in generate.cgi also threw me for a loop. To everyone configuring Apan, here are a couple "gotchas": 1. As Ralph points out, generate.cgi is hardcoded to use /usr/local/bin/rrdtool as the rrdtool location. Be sure to change to the actual location. (on Debian, for example, rrdtool is located in /usr/bin/rrdtool) 2. Apan resolves hosts defined in the apan.cfg via /etc/hosts and DNS, not through nagios. Be sure to use FQDN with your hosts or define them in /etc/hosts. 3. Make sure your permissions on your rrd files are correct. For the longest time I had the graphs themselves generated, but no data was being put into them. (I stupidly created them as root. yes, i know that was bad). It's still unclear which user accesses the .rrd files... the webserver? nagios? nobody? 4. Apan currently has little or no error-checking...i.e. just about everything is case sensitive...be careful! Those are the ones I remember off the top of my head. Apan has a ton of potential- I can't wait to explore it. Sean Ralph Zimmermann wrote: >I meant, these red colored "X" replacements instead of pictures. > >But I found the mistake myself now. It wasn't in the documentation >that you need to adjust generate.cgi as well !!! > >In my case it was the path to rrdtool. Now "rrdtool graph" gets started >properly and does create the required graphs. > >Ralph. > >-----Urspr?ngliche Nachricht----- >Von: Sean Knox [SMTP:sean.knox at sbcglobal.net] >Gesendet am: Mittwoch, 30. Oktober 2002 09:09 >An: ralph.zimmermann at salt-ag.com >Betreff: Re: [Nagios-users] Apan - but no graphs > >By no graphs, do you mean no graphics at all (i.e. pngs/gifs) or graphs >with no data? > >Sean > >Ralph Zimmermann wrote: > > > >>Hi, >> >>I've just configured Apan according to the documentation >>and the hints of the last postings. The config itself went >>fine and checks (ping) are running successfully, but if I >>click on the graph icon in Nagios, which leads to the url, >>I get a page with all required text but NO GRAPHS. >> >>As I see from the dead-pictures properties it tries to >>generate the pictures from the follwing call: >>http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 >> >>Anyone aware what my fault may be ? >> >>However I'm glad about Apan, always been waiting for a >>rrdtool to easily integrate into Nagios. >> >>Cheers, >>Ralph. >> >> >>Ralph Zimmermann >>_____________________________________ >>- Netzwerkadministrator - >> >>SALT AG >>Sedanstra?e 23 >>D-97082 W?rzburg >> >>Tel: +49 931 3573 - 400 >>Fax: +49 931 3573 - 409 >> >>mailto: ralph.zimmermann at salt-ag.com >>Besuchen Sie uns unter www.salt-ag.com >> >>telematikgest?tzte Logistik-Plattform cargoRent >>Tracking & Tracing >>ab 49 Euro monatlich/ Fahrzeug >>Infos unter www.cargoRent.net >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Wed Oct 30 17:21:45 2002 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 30 Oct 2002 10:21:45 -0600 (CST) Subject: darn spaces in NT services In-Reply-To: References: Message-ID: <4604.192.168.1.9.1035994905.squirrel@xyzzy.homeip.net> Hi Dean, "Octel Unified Messenger Tracing System" is actually the "display name" of the service. It's real name is something different. Open the properties for that service, and look at the "Service name" field. You should be able to use that instead, it usually doesn't have spaces in it. Mike > Good morning, > > i am hesitant to even ask this as i think it has been answered in > the past but i have spent the morning going through the archives trying to > find the answer to this. > > i have a service that i need to check via nsclient. According to regedit > \\hklm\system\currentcontrolset\services the service is called Octel Unified > Messenger Tracing System. > > i have tried enclosing it in quotes, as well as using quotes in the > checkcommand macro (around $ARG1$), and escaping the spaces with a backslash > but to no avail. > > Can someone please enlighten me as to how you monitor a service on a windows > box that has spaces in the real name. > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Wed Oct 30 17:20:31 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 30 Oct 2002 08:20:31 -0800 (PST) Subject: Apan - Works! In-Reply-To: <01C27FFA.E4BA6E90.ralph.zimmermann@salt-ag.com> References: <01C27FFA.E4BA6E90.ralph.zimmermann@salt-ag.com> Message-ID: <20021030162031.21564.qmail@web21501.mail.yahoo.com> Wow! it actually works! Ended up changing the shells on apan.cfg & generate.cfg to bash... Ralph Zimmermann wrote:I meant, these red colored "X" replacements instead of pictures. But I found the mistake myself now. It wasn't in the documentation that you need to adjust generate.cgi as well !!! In my case it was the path to rrdtool. Now "rrdtool graph" gets started properly and does create the required graphs. Ralph. -----Urspr?ngliche Nachricht----- Von: Sean Knox [SMTP:sean.knox at sbcglobal.net] Gesendet am: Mittwoch, 30. Oktober 2002 09:09 An: ralph.zimmermann at salt-ag.com Betreff: Re: [Nagios-users] Apan - but no graphs By no graphs, do you mean no graphics at all (i.e. pngs/gifs) or graphs with no data? Sean Ralph Zimmermann wrote: >Hi, > >I've just configured Apan according to the documentation >and the hints of the last postings. The config itself went >fine and checks (ping) are running successfully, but if I >click on the graph icon in Nagios, which leads to the url, >I get a page with all required text but NO GRAPHS. > >As I see from the dead-pictures properties it tries to >generate the pictures from the follwing call: >http://.../nagios/cgi-bin/generate.cgi?server&Ping&600 > >Anyone aware what my fault may be ? > >However I'm glad about Apan, always been waiting for a >rrdtool to easily integrate into Nagios. > >Cheers, >Ralph. > > >Ralph Zimmermann >_____________________________________ >- Netzwerkadministrator - > >SALT AG >Sedanstra?e 23 >D-97082 W?rzburg > >Tel: +49 931 3573 - 400 >Fax: +49 931 3573 - 409 > >mailto: ralph.zimmermann at salt-ag.com >Besuchen Sie uns unter www.salt-ag.com > >telematikgest?tzte Logistik-Plattform cargoRent >Tracking & Tracing >ab 49 Euro monatlich/ Fahrzeug >Infos unter www.cargoRent.net > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralph.zimmermann at salt-ag.com Wed Oct 30 17:23:12 2002 From: ralph.zimmermann at salt-ag.com (Ralph Zimmermann) Date: Wed, 30 Oct 2002 17:23:12 +0100 Subject: Apan Configurations Message-ID: <01C28039.069AE1A0.ralph.zimmermann@salt-ag.com> I can see your point Frederik and agree that ip addresses in /etc/hosts are easier to maintain than addresses through .../nagios/etc/hosts.cfg, because if not using DNS to resolve the hostnames (which I don't want, to remain operational in case of DNS faults) it's at least one single source. But for fellow admins having nagios configured to monitor 500+ hosts it's a tough thing to convert... I guess I'll go and write a little script to extract ip-addresses and Nagios hostnames from hosts.cfg and paste them to /etc/hosts, afterwards replace ip-addresses with corresponding hostnames in hosts.cfg Regards, Ralph. -----Urspr?ngliche Nachricht----- Von: Fredrik W?nglund [SMTP:Fredrik.Wanglund at datavis.se] Gesendet am: Mittwoch, 30. Oktober 2002 16:33 An: dbestetti at interop.com.br; Nagios Mailing List Betreff: RE: [Nagios-users] Apan Configurations Actually I don't use IP-numbers at all in Nagios, only host-names. All hosts I monitor in Nagios then lives in my hosts-file. It's safe to skip the adress-statement in the host-definition and leave IP-numbers to /etc/hosts. You also need to set up your name-service switch to always look in files first (I don't yse DNS on my Nagios-server). The benefits with this is that you have one source where IP-numbers and host-names are stored. The problem begins when you have many hosts, then your hosts-file get quite big. But I still think its easier to manage IP/name matching via /etc/hosts then the adress-statement in Nagios. /FredrikW -----Original Message----- From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] Sent: Wed 30-Oct-02 14:26 To: 'Nagios Mailing List' Cc: Subject: RE: [Nagios-users] Apan Configurations I would prefer to monitor by hostname since we monitor hosts with dynamic IP addresses. []s Dario. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Erkki Kukk > Sent: ter?a-feira, 29 de outubro de 2002 08:30 > To: Fredrik W?nglund > Cc: Nagios Mailing List > Subject: RE: [Nagios-users] Apan Configurations > > > > Hi. > > Its great to see that someone is finally dealing with > graphing the perfdata. And for me Apan works fine. But I dont > like that it does all the checks by hostname :( I think it > is much better to check by ip address, like nagios does. > > Brgds, > erkki > > > > I am currently working on an HOWTO section in the docs on Apans > > homepage. > > > > Here's the short one (assuming tou have installed the files and > > defined the command): > > > > 1) Define a sevice in Nagios with apan as check_command and the > > plugin-name as first argument; define service{ > > host_name server > > service_description Ping > > ... > > check_command apan!ping!100.0,20%!500.0,60% > > ... > > } > > > > 2) Create a RRD_file > > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 > > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 > RRA:AVERAGE:0.5:60:43800 > > > > 3) Define the serice in apan.cfg > > > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LI > NE2;Ping > > round-trip time;Secondsefine the serice in apan.cfg > > > > 4) Add a URL and icon to the service > > define serviceextinfo{ > > host_name server > > service_description Ping > > notes_url > /nagios/cgi-bin/apan.cgi?host=server&service=Ping > > icon_image graph.png > > ... > > } > > > > > > /FredrikW > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 30 17:19:12 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 30 Oct 2002 11:19:12 -0500 Subject: darn spaces in NT services Message-ID: Thanks for the response. Actually this is an NT box so i can't look at the properties but looking at the regedit entry tells me that both the service name and the display name are Octel Unified Messenger Tracing System -----Original Message----- From: Mike McClure [ mailto:mmcclure at pneservices.com ] Sent: Wednesday, October 30, 2002 11:22 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] darn spaces in NT services Hi Dean, "Octel Unified Messenger Tracing System" is actually the "display name" of the service. It's real name is something different. Open the properties for that service, and look at the "Service name" field. You should be able to use that instead, it usually doesn't have spaces in it. Mike > Good morning, > > i am hesitant to even ask this as i think it has been answered in > the past but i have spent the morning going through the archives trying to > find the answer to this. > > i have a service that i need to check via nsclient. According to regedit > \\hklm\system\currentcontrolset\services the service is called Octel Unified > Messenger Tracing System. > > i have tried enclosing it in quotes, as well as using quotes in the > checkcommand macro (around $ARG1$), and escaping the spaces with a backslash > but to no avail. > > Can someone please enlighten me as to how you monitor a service on a windows > box that has spaces in the real name. > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: clip_image001.gif Type: image/gif Size: 12088 bytes Desc: not available URL: From dean.bishop at tcdsb.org Wed Oct 30 17:52:39 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 30 Oct 2002 11:52:39 -0500 Subject: NSClient - and args with spaces Message-ID: Good morning, does this actually work? i have tried it but because my service check_command has spaces in it, only the first word is loaded into $ARG1$. What should the check_command look like for a service called "Octel Unified Messenger Tracing System"?? thanks, dean -----Original Message----- From: John Sellens [mailto:jsellens at generalconcepts.com] Sent: Tuesday, September 10, 2002 10:05 PM To: Daniel.Rusch at GlobalCrossing.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient - and args with spaces Put quotes around the ARG in the command definition i.e. command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -t 30 -l "$ARG1$" This doesn't work for perl scripts with the embedded perl interpreter, but check_nt is a C program. Cheers John jsellens at generalconcepts.com | From: "Rusch, Daniel" | Date: Tue, 10 Sep 2002 17:01:39 -0400 | | All, | | Using NSClient: | | I have the following command defined: | | # 'check_nt_service' command definition | define command{ | command_name check_nt_service | command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ | -v SERVICESTATE -t 30 -l $ARG1$ | } | | In my services.cfg I have two services with the following commands defined | for the same host: | | check_command check_nt_service!MESSENGER | | check_command check_nt_service!TREND SERVERPROTECT ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasmine.chua at securecirt.com Wed Oct 30 17:49:51 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 00:49:51 +0800 Subject: Plugin missing! Message-ID: <200210310050.27345.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Logs of the distributed monitoring server: kept showing warning : Return code of 127 for check of service 'SSH' on host 'y' was out of bounds. Make sure the plugin you are trying to run actually exists! But, when I checked the /usr/local/nagios/libexec of the distributed monitoring server, check_ssh executable plugin is there and with 'nagios' as users and group. Could someone tell me why it is still showing that as warning? - -- Thanks! Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wA27NgvTa7Hj2AURAqj6AJ4y65pYVeaHchuTV2t1qzKQMgvm5gCdEdXc uPfS7BHgTHudiuoFYvs35M0= =G5c+ -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 30 18:11:27 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Oct 2002 12:11:27 -0500 (EST) Subject: Plugin missing! In-Reply-To: <200210310050.27345.jasmine.chua@securecirt.com> References: <200210310050.27345.jasmine.chua@securecirt.com> Message-ID: try tracing the check_command entry from the service definition to the check_command definition to see if it is actually calling check_ssh and/or if using $USER1$ macro, it is defined as well. -sg On Thu, 31 Oct 2002, Jasmine Chua wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Logs of the distributed monitoring server: > kept showing warning : Return code of 127 for check of service 'SSH' on host > 'y' was out of bounds. Make sure the plugin you are trying to run actually > exists! > > But, when I checked the /usr/local/nagios/libexec of the distributed > monitoring server, > check_ssh executable plugin is there and with 'nagios' as users and group. > > Could someone tell me why it is still showing that as warning? > > > - -- Thanks! > > Jasmine Chua > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > http://www.securecirt.com -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Oct 30 18:09:18 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Oct 2002 12:09:18 -0500 (EST) Subject: check_snmp - warning and critical ranges In-Reply-To: <03630F4AC119D311B0DF0008C716506F016AC0D4@ARHIN02> References: <03630F4AC119D311B0DF0008C716506F016AC0D4@ARHIN02> Message-ID: On Wed, 30 Oct 2002, Allan Hansen, INBODAN wrote: > I can't seem to work out the above. I want to monitor CPU load and have a > warning when CPU is above 75 and critical when above 90. > > If I understand the docu correct this should work: > > check_snmp -H 10.129.2.2 -w :75 -c :90 -o > .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU' You want to define minimum thresholds not max. -w 75: -c 90: > > but it does not, I keep getting a warning even on low (<10%) CPU load. > > I am using ucd-snmp 4.2.6 and the latest plugins of of CVS. > > Somebody please advice .. > > > MVH / Regards > INBODAN A/S > > Allan Hansen > System Administrator > > > email: avh at inbodan dot dk (avh snabela inbodan punktum dk) > www: www.ide.dk , www.garant-gulve.dk > , www.erhvervsgulve.dk > > phone: +45 8941 6100 > mobile: +45 2524 4101 > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sgrivett at libero.it Wed Oct 30 18:27:33 2002 From: sgrivett at libero.it (=?iso-8859-1?Q?sgrivett@libero.it?=) Date: Wed, 30 Oct 2002 19:27:33 +0200 Subject: =?iso-8859-1?Q?status_map_question?= Message-ID: hello 2 all somebody knows why in the status map I can only see question marks instead of icons? see ya Sergio - ITALIA Sergio Grivetto Str. Zea n? 1 10040 Lein? TO +39 011 99 88 166 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Wed Oct 30 18:23:57 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 30 Oct 2002 12:23:57 -0500 Subject: nsclient modified to deal with services that include spaces Message-ID: Good morning all, i have modified the check_nt code a bit to deal with Windows services whose real name includes spaces. For me the real service name is "Octel Unified Messenger Tracing System". The new check_nt code simply replaces tildes "~" in the arguments with spaces " ". So, my checkcommand definition is: # 'check_nt_service1' command definition define command{ command_name check_nt_service1 command_line $USER1$/check_nt_modified -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } My service definition is: # Service definition for NonCritical Mail Servers Octel Unified Messenger System Service define service { name MailServers-OctelUMTraceService-NonCritical use WindowsService service_description Mail Servers NonCritical - Octel Trace Service contact_groups ServerAdmins check_command check_nt_service1!Octel~Unified~Messenger~Tracing~System host_name cectrace01.tcdsb.org,cectrace01.tcdsb.org } -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nt.c Type: application/octet-stream Size: 20060 bytes Desc: not available URL: From jasmine.chua at securecirt.com Wed Oct 30 18:34:50 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 01:34:50 +0800 Subject: Plugin is still missing! In-Reply-To: References: Message-ID: <200210310134.58060.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have made sure that the check_ssh plugin is working by testing it in the libexec directory and actually made sure that the $USER1$ macro in the resource.cfg of the distributed monitoring server is pointing to the right directory where it contains the plugin. But, it is still not working. IP of the remote server running ssh = xxx.xxx.xxx.xxx ./check_ssh xxx.xxx.xxx.xxx SSH ok - protocol version 1.99- - server version On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote: > try tracing the check_command entry from the service definition to the > check_command definition to see if it is actually calling check_ssh and/or > if using $USER1$ macro, it is defined as well. > > -sg > > On Thu, 31 Oct 2002, Jasmine Chua wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Logs of the distributed monitoring server: > > kept showing warning : Return code of 127 for check of service 'SSH' on > > host 'y' was out of bounds. Make sure the plugin you are trying to run > > actually exists! > > > > But, when I checked the /usr/local/nagios/libexec of the distributed > > monitoring server, > > check_ssh executable plugin is there and with 'nagios' as users and > > group. > > > > Could someone tell me why it is still showing that as warning? > > > > > > - -- Thanks! > > > > Jasmine Chua > > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > > http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wBg+NgvTa7Hj2AURAtyFAJ9EhIgS35bltiG3ZdI1Tar3ZBZKqQCfQnC4 3WkbwvSLStSw4hwqlO8T1Vw= =KHw3 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jlyons30 at yahoo.com Wed Oct 30 17:35:46 2002 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 30 Oct 2002 08:35:46 -0800 (PST) Subject: Apan Configurations In-Reply-To: <01C28039.069AE1A0.ralph.zimmermann@salt-ag.com> References: <01C28039.069AE1A0.ralph.zimmermann@salt-ag.com> Message-ID: <20021030163546.7604.qmail@web21502.mail.yahoo.com> Could you share that little perl scripts with those of use that suck at perl? :) Guess I could do it in expect... Ralph Zimmermann wrote:I can see your point Frederik and agree that ip addresses in /etc/hosts are easier to maintain than addresses through .../nagios/etc/hosts.cfg, because if not using DNS to resolve the hostnames (which I don't want, to remain operational in case of DNS faults) it's at least one single source. But for fellow admins having nagios configured to monitor 500+ hosts it's a tough thing to convert... I guess I'll go and write a little script to extract ip-addresses and Nagios hostnames from hosts.cfg and paste them to /etc/hosts, afterwards replace ip-addresses with corresponding hostnames in hosts.cfg Regards, Ralph. -----Urspr?ngliche Nachricht----- Von: Fredrik W?nglund [SMTP:Fredrik.Wanglund at datavis.se] Gesendet am: Mittwoch, 30. Oktober 2002 16:33 An: dbestetti at interop.com.br; Nagios Mailing List Betreff: RE: [Nagios-users] Apan Configurations Actually I don't use IP-numbers at all in Nagios, only host-names. All hosts I monitor in Nagios then lives in my hosts-file. It's safe to skip the adress-statement in the host-definition and leave IP-numbers to /etc/hosts. You also need to set up your name-service switch to always look in files first (I don't yse DNS on my Nagios-server). The benefits with this is that you have one source where IP-numbers and host-names are stored. The problem begins when you have many hosts, then your hosts-file get quite big. But I still think its easier to manage IP/name matching via /etc/hosts then the adress-statement in Nagios. /FredrikW -----Original Message----- From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] Sent: Wed 30-Oct-02 14:26 To: 'Nagios Mailing List' Cc: Subject: RE: [Nagios-users] Apan Configurations I would prefer to monitor by hostname since we monitor hosts with dynamic IP addresses. []s Dario. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Erkki Kukk > Sent: ter?a-feira, 29 de outubro de 2002 08:30 > To: Fredrik W?nglund > Cc: Nagios Mailing List > Subject: RE: [Nagios-users] Apan Configurations > > > > Hi. > > Its great to see that someone is finally dealing with > graphing the perfdata. And for me Apan works fine. But I dont > like that it does all the checks by hostname :( I think it > is much better to check by ip address, like nagios does. > > Brgds, > erkki > > > > I am currently working on an HOWTO section in the docs on Apans > > homepage. > > > > Here's the short one (assuming tou have installed the files and > > defined the command): > > > > 1) Define a sevice in Nagios with apan as check_command and the > > plugin-name as first argument; define service{ > > host_name server > > service_description Ping > > ... > > check_command apan!ping!100.0,20%!500.0,60% > > ... > > } > > > > 2) Create a RRD_file > > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 > > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 > RRA:AVERAGE:0.5:60:43800 > > > > 3) Define the serice in apan.cfg > > > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LI > NE2;Ping > > round-trip time;Secondsefine the serice in apan.cfg > > > > 4) Add a URL and icon to the service > > define serviceextinfo{ > > host_name server > > service_description Ping > > notes_url > /nagios/cgi-bin/apan.cgi?host=server&service=Ping > > icon_image graph.png > > ... > > } > > > > > > /FredrikW > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Wed Oct 30 18:31:27 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 30 Oct 2002 11:31:27 -0600 Subject: Apan Configurations Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2F2412@PKDWB03C.ad.sprint.com> Although somewhat orthogonal to the charter of the list, I'd like to throw my $0.02 in here. DNS is (to me, and to most of the Internet users out there) an essential service. To exclude Nagios' dependency on DNS, simply because, "DNS might break" isn't a great argument. To me, anyway. You could say the same of your disks, your CPU, your network connectivity.... If you actually mean, "hey, it's misbehaved in the past, it could misbehave in the future" that tells me that your DNS infrastructure isn't as robust as it needs to be. For starters, I recommend replacing BIND with tinydns (http://cr.yp.to - same author as Qmail). You can dramatically simplify your DNS administration. And it's quite robust. (Sidebar: I once worked in an environment where they had a hodgepodge of 2 NIS domains, an incomplete administration of DNS (ie, missing/bad/incorrect PTR records) running on *one single server*, /etc/hosts files in varying states of correctness strewn across the various hosts, and inconsistencies between all of those. One of my tasks was to build out some new DNS servers, merge the 2 NIS domains, simplify/merge the /etc/hosts files, and essentially move the infrastructure's dependency of hostname resolution over to DNS. At the time, I was only familiar with BIND, so that's what I used. In the end, I had 4 DNS servers, and was actively helping remote offices get their DNS zones set up properly. If I were to do that environment again today, the only chage I'd make would be to use tinydns instead of BIND.) Now that I know that the 'address' directive in the host definition isn't an absolute requirement (contrary to the documentation :P), I plan to delete all those directives. I consider my DNS servers to robust, up-to-date, and any other superlative descriptions you'd care to use. The only exceptions to this will be hosts which should be defined in another DNS zone, but aren't. (If I think of other reasonable exceptions, I'll do so.) For those exceptions, yes, defining them in /etc/hosts seems to be the best place. For now. Being a sysadmin, I've had to chant the DNS mantra for some time, discouraging the one-offs in /etc/hosts on this host and that host, frowning on the use of IP addresses by end-users, and generally taking the approach of, "DNS is your friend". Where it merits, I opt for CNAMES or hostname aliases, just so that certain functionality isn't cast in stone with a particular host till the end of time. If I want to login to the CVS server, I just type "ssh cvs" and I'm there. The actual hostname is a properly blessed one; 'cvs' is just a CNAME. If we decide to move CVS to another host, we can do so, make the change in DNS, and nobody should be the wiser. Granted, within Nagios, I'll refer to the proper hostnames (and use the 'alias' directive to be more descriptive). If you're one of those who don't have ownership of the DNS zones for the hosts you need to watch over (and have had various problems as a result of that lack of ownership) , then I can see wanting to use /etc/hosts. If you haven't got ownership, I urge you to make a case for having the zones delegated to you, or get in tight with the admin who does have ownership. Having said this, I will likely set up a dnscache server (the caching piece of tinydns) on my Nagios host. This should reduce even further the possibility of a DNS hiccup. jc > -----Original Message----- > From: Ralph Zimmermann [mailto:ralph.zimmermann at salt-ag.com] > Sent: Wednesday, October 30, 2002 10:23 AM > To: 'Fredrik W?nglund' > Cc: Nagios Mailing List > Subject: RE: [Nagios-users] Apan Configurations > > > I can see your point Frederik and agree that ip addresses in > /etc/hosts are > easier to maintain > than addresses through .../nagios/etc/hosts.cfg, because if > not using DNS > to resolve the hostnames > (which I don't want, to remain operational in case of DNS > faults) it's at > least one single source. > > But for fellow admins having nagios configured to monitor > 500+ hosts it's a > tough thing to convert... > > I guess I'll go and write a little script to extract ip-addresses and > Nagios hostnames from > hosts.cfg and paste them to /etc/hosts, afterwards replace > ip-addresses > with corresponding > hostnames in hosts.cfg > > Regards, > Ralph. > > -----Urspr?ngliche Nachricht----- > Von: Fredrik W?nglund [SMTP:Fredrik.Wanglund at datavis.se] > Gesendet am: Mittwoch, 30. Oktober 2002 16:33 > An: dbestetti at interop.com.br; Nagios Mailing List > Betreff: RE: [Nagios-users] Apan Configurations > > Actually I don't use IP-numbers at all in Nagios, only > host-names. All > hosts I monitor in Nagios then lives in my hosts-file. > It's safe to skip the adress-statement in the host-definition > and leave > IP-numbers to /etc/hosts. You also need to set up your > name-service switch > to always look in files first (I don't yse DNS on my Nagios-server). > > The benefits with this is that you have one source where > IP-numbers and > host-names are stored. The problem begins when you have many > hosts, then > your hosts-file get quite big. But I still think its easier to manage > IP/name matching via /etc/hosts then the adress-statement in Nagios. > > > > /FredrikW > > > -----Original Message----- > From: Dario B. Bestetti [mailto:dbestetti at interop.com.br] > Sent: Wed 30-Oct-02 14:26 > To: 'Nagios Mailing List' > Cc: > Subject: RE: [Nagios-users] Apan Configurations > > I would prefer to monitor by hostname since we monitor hosts with > dynamic IP addresses. > > []s > Dario. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Erkki Kukk > > Sent: ter?a-feira, 29 de outubro de 2002 08:30 > > To: Fredrik W?nglund > > Cc: Nagios Mailing List > > Subject: RE: [Nagios-users] Apan Configurations > > > > > > > > Hi. > > > > Its great to see that someone is finally dealing with > > graphing the perfdata. And for me Apan works fine. But I dont > > like that it does all the checks by hostname :( I think it > > is much better to check by ip address, like nagios does. > > > > Brgds, > > erkki > > > > > > > I am currently working on an HOWTO section in the docs on Apans > > > homepage. > > > > > > Here's the short one (assuming tou have installed the files and > > > defined the command): > > > > > > 1) Define a sevice in Nagios with apan as check_command and the > > > plugin-name as first argument; define service{ > > > host_name server > > > service_description Ping > > > ... > > > check_command apan!ping!100.0,20%!500.0,60% > > > ... > > > } > > > > > > 2) Create a RRD_file > > > rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 > > > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 > > RRA:AVERAGE:0.5:60:43800 > > > > > > 3) Define the serice in apan.cfg > > > > > server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LI > > NE2;Ping > > > round-trip time;Secondsefine the serice in apan.cfg > > > > > > 4) Add a URL and icon to the service > > > define serviceextinfo{ > > > host_name server > > > service_description Ping > > > notes_url > > /nagios/cgi-bin/apan.cgi?host=server&service=Ping > > > icon_image graph.png > > > ... > > > } > > > > > > > > > /FredrikW > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ekuehn at bbcominc.com Wed Oct 30 18:41:01 2002 From: ekuehn at bbcominc.com (Erich Kuehn) Date: Wed, 30 Oct 2002 09:41:01 -0800 Subject: Monitor Multiple IP addrs Message-ID: <5398F71C614DD311BC60004005A0943578F7D0@BBCOM01> I want to monitor 2 ip addresses, each one side of a point to point serial link. I've tried this define host{ use generic-host ; Name of host template to use host_name Test alias Test address x.x.x.255 x.x.x.233 parents router1 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r but It only seems to ping the first one, and then reports it as up, even if the other one is down. Any ideas? Erich ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasmine.chua at securecirt.com Wed Oct 30 19:00:59 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 02:00:59 +0800 Subject: Occasional display of Critical threshold must be float or float triplet! & Event-handlers Message-ID: <200210310201.37209.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The distributed server actually could use check_nrpe to read the load average results of the remote server properly, but when it passed the results via send_nsca to the central monitoring server. Sometimes, it displays: Critical threshold must be float or float triplet! But other times, it is Ok. I have also checked to make sure that not more than one version of Nagios is running. Why it displays that load service Ok and not Ok sometimes? Could someone explain please? Also, I wanted nagios to restart a program automatically if the load average is found to be in critical or hard state. I have created a script 'restart_program' in the /usr/local/nagios/libexec/event-handlers directory and enabled the $USER2$ macro in the resource.cfg file and also I have specified the definition of restart_program in the checkcommands.cfg file. # 'restart_program' command definition define command{ command_name restart_program command_line $USER2$/restart_program $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } Is that the way you specify event_handlers? Just want to know if what I did will actually work when the load average turns critical or hard.. because the load average is so far always OK and I couldnt test it out if Nagios could restart the program automatically if the load is not right. The restart_program script is already working. define service{ use passive-service host_name abc service_description Load check_command check-load-runaway!0.90,0.90,0.90!1.00,1.00,1.00 max_check_attempts 3 event_handler restart_program normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notifcation_options w,u,c,r contact_groups admin } In the nrpe.cfg of the remote server: command[check-load-runaway]=/usr/local/nagios/libexec/check_load -w 0.90,0.90,0.90 -c 1.00,1.00,1.00 - -- Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wB5eNgvTa7Hj2AURAhMhAKCLkC/6K5VZkbctHj0Abyv0I3k9OQCfbSM+ tj3ImppRI9SAB7IVjyINHRE= =yfUp -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Wed Oct 30 18:54:45 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 30 Oct 2002 11:54:45 -0600 Subject: status map question Message-ID: <74D428BDBFD5D04CB54E84499ECA29DB2E508A@PKDWB03C.ad.sprint.com> Make sure you're using extended information config files. (I urge you to use the template-based config files.): http://nagios.sourceforge.net/docs/1_0/xedtemplate.html jc > -----Original Message----- > From: sgrivett at libero.it [mailto:sgrivett at libero.it] > Sent: Wednesday, October 30, 2002 11:28 AM > To: nagios-users > Subject: [Nagios-users] status map question > > > hello 2 all > > somebody knows why in the status map I can only see question marks > instead of icons? > > see ya > > Sergio - ITALIA > > Sergio Grivetto > Str. Zea n? 1 > 10040 Lein? TO > +39 011 99 88 166 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sean.mcavoy at megawheels.com Wed Oct 30 19:16:09 2002 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 30 Oct 2002 13:16:09 -0500 Subject: Distributed monitoring problem. Message-ID: <1036001771.15171.17.camel@tech03> Hello, I've got a 1 central server (no out going connections allowed), and 2 remote nagios systems. I've got the remotes reporting back to the central server, the remote system reports that there is a problem (not a WARNING/CRITICAL response), the central server still reports it to be OK. Below is the command issued and then the response received. Any ideas how I can get it to recognise this as a warning? the command line I am using is: check_ftp -H $HOSTADDRESS$ -w 10 -c 15 -t 20 the output from the command line is: FTP problem - 14 second response time Also I get the below for the status information on a few hosts: No data was recieved from host! Socket timeout after 10 seconds The central server still has them listed as "OK". Where should I be looking (the remote systems, or the central server) to get this listed as a failure? Thanks in advance. -- Sean McAvoy Network Analyst Megawheels Technologies Inc. Phone: 416.360.8211 Fax: 416.360.1403 Cell: 416.616.6599 -------------- 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 jasmine.chua at securecirt.com Wed Oct 30 20:17:22 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 03:17:22 +0800 Subject: Plugin is still missing! (part 3) In-Reply-To: References: Message-ID: <200210310317.32580.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi this is my services.cfg: # ocsp service definition template define service{ name ocsp-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 } This is defined in abc.cfg define service{ use ocsp-service host_name abc service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admin notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_ssh } On Thursday 31 October 2002 02:12, you wrote: > send in a snippet of your services.cfg > > -----Original Message----- > From: Jasmine Chua [mailto:jasmine.chua at securecirt.com] > Sent: Wednesday, October 30, 2002 12:35 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin is still missing! > > > > I have made sure that the check_ssh plugin is working by testing it in the > libexec directory and actually made sure that the $USER1$ macro in the > resource.cfg of the distributed monitoring server is pointing to the right > directory where it contains the plugin. But, it is still not working. > > IP of the remote server running ssh = xxx.xxx.xxx.xxx > > ./check_ssh xxx.xxx.xxx.xxx > SSH ok - protocol version 1.99- - server version > > On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote: > > try tracing the check_command entry from the service definition to the > > check_command definition to see if it is actually calling check_ssh > > and/or if using $USER1$ macro, it is defined as well. > > > > -sg > > > > On Thu, 31 Oct 2002, Jasmine Chua wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Logs of the distributed monitoring server: > > > kept showing warning : Return code of 127 for check of service 'SSH' on > > > host 'y' was out of bounds. Make sure the plugin you are trying to run > > > actually exists! > > > > > > But, when I checked the /usr/local/nagios/libexec of the distributed > > > monitoring server, > > > check_ssh executable plugin is there and with 'nagios' as users and > > > group. > > > > > > Could someone tell me why it is still showing that as warning? > > > > > > > > > - -- Thanks! > > > > > > Jasmine Chua > > > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > > > http://www.securecirt.com > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wDBFNgvTa7Hj2AURAoltAKCzTvXU0XQiZIrjN6x0J6dip0vlhwCfcsSC 8d61Uia4cJvpMrgtsrIJZq4= =uOQI -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jasmine.chua at securecirt.com Wed Oct 30 20:51:13 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 03:51:13 +0800 Subject: Plugin is still missing.. solved! Thanks! In-Reply-To: <3DC036B0.60407@quadrix.com> References: <200210310317.32580.jasmine.chua@securecirt.com> <3DC036B0.60407@quadrix.com> Message-ID: <200210310351.19553.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is my checkcommands.cfg file: # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER$/check_ssh -H $HOSTADDRESS$ } I forgot to put a 1 in my $USER$ macro. Thanks.. OOPS! On Thursday 31 October 2002 03:44, you wrote: > What does your command definition in checkcommands.cfg look like for > check_ssh? > > -Russell > > Jasmine Chua wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >Hi > >this is my services.cfg: > > > ># ocsp service definition template > >define service{ > > name ocsp-service > > active_checks_enabled 1 > > passive_checks_enabled 0 > > parallelize_check 1 > > obsess_over_service 1 > > check_freshness 0 > > notifications_enabled 0 > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 0 > > retain_status_information 1 > > retain_nonstatus_information 1 > > register 0 > > } > > > > > >This is defined in abc.cfg > > > >define service{ > > use ocsp-service > > > > host_name abc > > service_description SSH > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups admin > > notification_interval 0 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_ssh > > } > > > >On Thursday 31 October 2002 02:12, you wrote: > >>send in a snippet of your services.cfg > >> > >>-----Original Message----- > >>From: Jasmine Chua [mailto:jasmine.chua at securecirt.com] > >>Sent: Wednesday, October 30, 2002 12:35 PM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] Plugin is still missing! > >> > >> > >> > >>I have made sure that the check_ssh plugin is working by testing it in > >> the libexec directory and actually made sure that the $USER1$ macro in > >> the resource.cfg of the distributed monitoring server is pointing to the > >> right directory where it contains the plugin. But, it is still not > >> working. > >> > >>IP of the remote server running ssh = xxx.xxx.xxx.xxx > >> > >>./check_ssh xxx.xxx.xxx.xxx > >>SSH ok - protocol version 1.99- - server version > >> > >>On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote: > >>>try tracing the check_command entry from the service definition to the > >>>check_command definition to see if it is actually calling check_ssh > >>>and/or if using $USER1$ macro, it is defined as well. > >>> > >>>-sg > >>> > >>>On Thu, 31 Oct 2002, Jasmine Chua wrote: > >>>>-----BEGIN PGP SIGNED MESSAGE----- > >>>>Hash: SHA1 > >>>> > >>>>Logs of the distributed monitoring server: > >>>>kept showing warning : Return code of 127 for check of service 'SSH' on > >>>>host 'y' was out of bounds. Make sure the plugin you are trying to run > >>>>actually exists! > >>>> > >>>>But, when I checked the /usr/local/nagios/libexec of the distributed > >>>>monitoring server, > >>>>check_ssh executable plugin is there and with 'nagios' as users and > >>>>group. > >>>> > >>>>Could someone tell me why it is still showing that as warning? > >>>> > >>>> > >>>>- -- Thanks! > >>>> > >>>>Jasmine Chua > >>>>Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > >>>>http://www.securecirt.com > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >- -- > >-----BEGIN PGP SIGNATURE----- > >Version: GnuPG v1.0.6 (GNU/Linux) > >Comment: For info see http://www.gnupg.org > > > >iD8DBQE9wDBFNgvTa7Hj2AURAoltAKCzTvXU0XQiZIrjN6x0J6dip0vlhwCfcsSC > >8d61Uia4cJvpMrgtsrIJZq4= > >=uOQI > >-----END PGP SIGNATURE----- > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: Influence the future > >of Java(TM) technology. Join the Java Community > >Process(SM) (JCP(SM)) program now. > >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users - -- Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wDg2NgvTa7Hj2AURAmCSAJ0Q4XQktw5wrqYQz5F2rwXmjV6EeACfcaxI 60B2fT0Qnjc3GEK4IoOC1tU= =39TS -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From russell at quadrix.com Wed Oct 30 20:44:48 2002 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 30 Oct 2002 14:44:48 -0500 Subject: Plugin is still missing! (part 3) References: <200210310317.32580.jasmine.chua@securecirt.com> Message-ID: <3DC036B0.60407@quadrix.com> What does your command definition in checkcommands.cfg look like for check_ssh? -Russell Jasmine Chua wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi >this is my services.cfg: > ># ocsp service definition template >define service{ > name ocsp-service > active_checks_enabled 1 > passive_checks_enabled 0 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > >This is defined in abc.cfg > >define service{ > use ocsp-service > > host_name abc > service_description SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admin > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ssh > } > > > > >On Thursday 31 October 2002 02:12, you wrote: > >>send in a snippet of your services.cfg >> >>-----Original Message----- >>From: Jasmine Chua [mailto:jasmine.chua at securecirt.com] >>Sent: Wednesday, October 30, 2002 12:35 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Plugin is still missing! >> >> >> >>I have made sure that the check_ssh plugin is working by testing it in the >>libexec directory and actually made sure that the $USER1$ macro in the >>resource.cfg of the distributed monitoring server is pointing to the right >>directory where it contains the plugin. But, it is still not working. >> >>IP of the remote server running ssh = xxx.xxx.xxx.xxx >> >>./check_ssh xxx.xxx.xxx.xxx >>SSH ok - protocol version 1.99- - server version >> >>On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote: >> >>>try tracing the check_command entry from the service definition to the >>>check_command definition to see if it is actually calling check_ssh >>>and/or if using $USER1$ macro, it is defined as well. >>> >>>-sg >>> >>>On Thu, 31 Oct 2002, Jasmine Chua wrote: >>> >>>>-----BEGIN PGP SIGNED MESSAGE----- >>>>Hash: SHA1 >>>> >>>>Logs of the distributed monitoring server: >>>>kept showing warning : Return code of 127 for check of service 'SSH' on >>>>host 'y' was out of bounds. Make sure the plugin you are trying to run >>>>actually exists! >>>> >>>>But, when I checked the /usr/local/nagios/libexec of the distributed >>>>monitoring server, >>>>check_ssh executable plugin is there and with 'nagios' as users and >>>>group. >>>> >>>>Could someone tell me why it is still showing that as warning? >>>> >>>> >>>>- -- Thanks! >>>> >>>>Jasmine Chua >>>>Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) >>>>http://www.securecirt.com >>>> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >- -- >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.0.6 (GNU/Linux) >Comment: For info see http://www.gnupg.org > >iD8DBQE9wDBFNgvTa7Hj2AURAoltAKCzTvXU0XQiZIrjN6x0J6dip0vlhwCfcsSC >8d61Uia4cJvpMrgtsrIJZq4= >=uOQI >-----END PGP SIGNATURE----- > > > >------------------------------------------------------- >This sf.net email is sponsored by: Influence the future >of Java(TM) technology. Join the Java Community >Process(SM) (JCP(SM)) program now. >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Oct 30 20:58:14 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Oct 2002 14:58:14 -0500 (EST) Subject: Monitor Multiple IP addrs In-Reply-To: <5398F71C614DD311BC60004005A0943578F7D0@BBCOM01> References: <5398F71C614DD311BC60004005A0943578F7D0@BBCOM01> Message-ID: A host can only have one address (typically the one closest to nagios). Since each end of the link belongs to a different host - you should define 2 hosts and a service for each. Also define the remote host as a child of the local host based on the normal routing path. If these are routers that support snmp, take a look at check_ifoperstatus to monitor the interface. -sg On Wed, 30 Oct 2002, Erich Kuehn wrote: > I want to monitor 2 ip addresses, each one side of a point to point serial > link. > > > I've tried this > > define host{ > use generic-host ; Name of host > template to use > > host_name Test > alias Test > address x.x.x.255 x.x.x.233 > parents router1 > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > > but It only seems to ping the first one, and then reports it as up, even if > the other one is down. > > Any ideas? > > Erich > > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sghosh at sghosh.org Wed Oct 30 21:00:13 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Oct 2002 15:00:13 -0500 (EST) Subject: Plugin is still missing! (part 3) In-Reply-To: <200210310317.32580.jasmine.chua@securecirt.com> References: <200210310317.32580.jasmine.chua@securecirt.com> Message-ID: and the related command definition ? On Thu, 31 Oct 2002, Jasmine Chua wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > this is my services.cfg: > > # ocsp service definition template > define service{ > name ocsp-service > active_checks_enabled 1 > passive_checks_enabled 0 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > > This is defined in abc.cfg > > define service{ > use ocsp-service > > host_name abc > service_description SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admin > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ssh > } > > > > > On Thursday 31 October 2002 02:12, you wrote: > > send in a snippet of your services.cfg > > > > -----Original Message----- > > From: Jasmine Chua [mailto:jasmine.chua at securecirt.com] > > Sent: Wednesday, October 30, 2002 12:35 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Plugin is still missing! > > > > > > > > I have made sure that the check_ssh plugin is working by testing it in the > > libexec directory and actually made sure that the $USER1$ macro in the > > resource.cfg of the distributed monitoring server is pointing to the right > > directory where it contains the plugin. But, it is still not working. > > > > IP of the remote server running ssh = xxx.xxx.xxx.xxx > > > > ./check_ssh xxx.xxx.xxx.xxx > > SSH ok - protocol version 1.99- - server version > > > > On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote: > > > try tracing the check_command entry from the service definition to the > > > check_command definition to see if it is actually calling check_ssh > > > and/or if using $USER1$ macro, it is defined as well. > > > > > > -sg > > > > > > On Thu, 31 Oct 2002, Jasmine Chua wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Logs of the distributed monitoring server: > > > > kept showing warning : Return code of 127 for check of service 'SSH' on > > > > host 'y' was out of bounds. Make sure the plugin you are trying to run > > > > actually exists! > > > > > > > > But, when I checked the /usr/local/nagios/libexec of the distributed > > > > monitoring server, > > > > check_ssh executable plugin is there and with 'nagios' as users and > > > > group. > > > > > > > > Could someone tell me why it is still showing that as warning? > > > > > > > > > > > > - -- Thanks! > > > > > > > > Jasmine Chua > > > > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > > > > http://www.securecirt.com > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > - -- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9wDBFNgvTa7Hj2AURAoltAKCzTvXU0XQiZIrjN6x0J6dip0vlhwCfcsSC > 8d61Uia4cJvpMrgtsrIJZq4= > =uOQI > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From steve at sliderule.demon.co.uk Wed Oct 30 22:00:09 2002 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 30 Oct 2002 21:00:09 +0000 Subject: NSClient - and args with spaces References: Message-ID: <3DC04859.7985B6B7@sliderule.demon.co.uk> Dean, have you checked in the registry that this service is actually called that? This foxed me until I read the documentation :-) Look in 'readme.html' that comes with NSClient under 'Services states' Steve. "Bishop, Dean" wrote: > > Good morning, > > does this actually work? i have tried it but because my service > check_command has spaces in it, only the first word is loaded into $ARG1$. > > What should the check_command look like for a service called "Octel > Unified Messenger Tracing System"?? > > thanks, > dean > > -----Original Message----- > From: John Sellens [mailto:jsellens at generalconcepts.com] > Sent: Tuesday, September 10, 2002 10:05 PM > To: Daniel.Rusch at GlobalCrossing.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient - and args with spaces > > Put quotes around the ARG in the command definition i.e. > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ > -v SERVICESTATE -t 30 -l "$ARG1$" > > This doesn't work for perl scripts with the embedded perl interpreter, > but check_nt is a C program. > > Cheers > > John > jsellens at generalconcepts.com > > | From: "Rusch, Daniel" > | Date: Tue, 10 Sep 2002 17:01:39 -0400 > | > | All, > | > | Using NSClient: > | > | I have the following command defined: > | > | # 'check_nt_service' command definition > | define command{ > | command_name check_nt_service > | command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ > | -v SERVICESTATE -t 30 -l $ARG1$ > | } > | > | In my services.cfg I have two services with the following commands defined > | for the same host: > | > | check_command check_nt_service!MESSENGER > | > | check_command check_nt_service!TREND SERVERPROTECT > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Steve Burton Webmaster & Sub-optimal Coder ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Wed Oct 30 22:12:01 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 30 Oct 2002 16:12:01 -0500 Subject: NSClient - and args with spaces Message-ID: yup. <> -----Original Message----- From: Steve Burton [mailto:steve at sliderule.demon.co.uk] Sent: Wednesday, October 30, 2002 4:00 PM To: Bishop, Dean; Nagios Users Subject: Re: [Nagios-users] NSClient - and args with spaces Dean, have you checked in the registry that this service is actually called that? This foxed me until I read the documentation :-) Look in 'readme.html' that comes with NSClient under 'Services states' Steve. "Bishop, Dean" wrote: > > Good morning, > > does this actually work? i have tried it but because my service > check_command has spaces in it, only the first word is loaded into $ARG1$. > > What should the check_command look like for a service called "Octel > Unified Messenger Tracing System"?? > > thanks, > dean > > -----Original Message----- > From: John Sellens [mailto:jsellens at generalconcepts.com] > Sent: Tuesday, September 10, 2002 10:05 PM > To: Daniel.Rusch at GlobalCrossing.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient - and args with spaces > > Put quotes around the ARG in the command definition i.e. > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ > -v SERVICESTATE -t 30 -l "$ARG1$" > > This doesn't work for perl scripts with the embedded perl interpreter, > but check_nt is a C program. > > Cheers > > John > jsellens at generalconcepts.com > > | From: "Rusch, Daniel" > | Date: Tue, 10 Sep 2002 17:01:39 -0400 > | > | All, > | > | Using NSClient: > | > | I have the following command defined: > | > | # 'check_nt_service' command definition > | define command{ > | command_name check_nt_service > | command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ > | -v SERVICESTATE -t 30 -l $ARG1$ > | } > | > | In my services.cfg I have two services with the following commands defined > | for the same host: > | > | check_command check_nt_service!MESSENGER > | > | check_command check_nt_service!TREND SERVERPROTECT > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Steve Burton Webmaster & Sub-optimal Coder -------------- next part -------------- A non-text attachment was scrubbed... Name: delme.bmp Type: image/bmp Size: 263970 bytes Desc: not available URL: From jasmine.chua at securecirt.com Wed Oct 30 22:48:25 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 05:48:25 +0800 Subject: check_dns plugin Message-ID: <200210310548.31128.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When I test the check_dns plugin, it shows the following error. Anybody has any idea what it means? ./check_dns -H www.yahoo.com -s abc.com -t 90 Segmentation fault - -- Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wFOtNgvTa7Hj2AURAs7IAKCa7aYRCrVPzIYuz6gx0+e9O7CynQCfZyic QNaOWRkOv19jrJr2PR+GshM= =9YCx -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From avh at inbodan.dk Wed Oct 30 23:12:26 2002 From: avh at inbodan.dk (Allan Hansen, INBODAN) Date: Wed, 30 Oct 2002 23:12:26 +0100 Subject: SV: check_snmp - warning and critical ranges Message-ID: <03630F4AC119D311B0DF0008C716506F016AC0D8@ARHIN02> Thanks for your reply Still, if I run this check_snmp -H 10.129.2.2 -w 75: -c 90: -o .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU' - it gives me: CPU WARNING *3* % By the way: In the check_snmp help screen it states: Range(s) that will NOT result i a WARNING/CRITICAL status This is what lead me to the :75, :90, because I do not want warnings/critical messages when CPU load is below 75/90 % /Allan -----Oprindelig meddelelse----- Fra: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sendt: 30. oktober 2002 18:09 Til: 'nagios-users at lists.sourceforge.net' Emne: Re: [Nagios-users] check_snmp - warning and critical ranges On Wed, 30 Oct 2002, Allan Hansen, INBODAN wrote: > I can't seem to work out the above. I want to monitor CPU load and > have a warning when CPU is above 75 and critical when above 90. > > If I understand the docu correct this should work: > > check_snmp -H 10.129.2.2 -w :75 -c :90 -o > .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU' You want to define minimum thresholds not max. -w 75: -c 90: > > but it does not, I keep getting a warning even on low (<10%) CPU load. > > I am using ucd-snmp 4.2.6 and the latest plugins of of CVS. > > Somebody please advice .. > > > MVH / Regards > INBODAN A/S > > Allan Hansen > System Administrator > > > email: avh at inbodan dot dk (avh snabela inbodan punktum dk) > www: www.ide.dk , www.garant-gulve.dk > , www.erhvervsgulve.dk > > phone: +45 8941 6100 > mobile: +45 2524 4101 > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Wed Oct 30 23:25:24 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Wed, 30 Oct 2002 14:25:24 -0800 Subject: Parents Hosts and Host Dependencies: what's the difference? In-Reply-To: References: <3DBDF282.8030903@sbcglobal.net> Message-ID: <3DC05C54.1060804@sbcglobal.net> I posted this a couple days ago but received no response...anyone? Sean Knox wrote: > My title sums it up. I'm unclear as to the exact difference between > these concepts. What are the differences? > > Thanks, > sk > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jamie at bclnz.net Wed Oct 30 23:26:14 2002 From: jamie at bclnz.net (Jamie) Date: Thu, 31 Oct 2002 11:26:14 +1300 Subject: APAN References: Message-ID: <009201c28063$5c424600$b58031ca@bcl977307> Hi Nagios'ers, I've been watching the APAN related emails fly past, and I've been asking myself - "what is APAN?" - I'll need to explain this to other people succinctly at some stage. This is what I've got so far: "..APAN is an add-on to Nagios that is driven by the Nagios check process. As checks are carried out, the results are logged in an RRD database, which is used to display the historical performance data of the monitored service..." - Is that correct? Question: What If I've got an RRDTool + Front end working perfectly well already?. Can I use APAN (or does something exist) to *extract* from the RRD db and compare against my defined service thresholds?? I hope I'm not too far off with my description above. Please correct me if I'm wrong. Cheers Jamie ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From thollenberg at planet.nl Wed Oct 30 23:25:27 2002 From: thollenberg at planet.nl (Theo Hollenberg) Date: Wed, 30 Oct 2002 23:25:27 +0100 Subject: Statuswrl.cgi v1.7 In-Reply-To: <20021029212549.20915.qmail@web21506.mail.yahoo.com> References: <20021029212549.20915.qmail@web21506.mail.yahoo.com> Message-ID: <000501c28063$3f967da0$9600000a@woodstock> OK, I've tried and tested everything, checked configs, perl paths, etc. Still I can't get it to work. This is one of these things that drive me mad. If I run the old cgi, it tells me that I'm running it from the command line but if I run the new cgi, it only shows a sort of header. Does this ring a bell with someone..? -- Theo Hollenberg -- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons Sent: dinsdag 29 oktober 2002 22:26 To: Theo Hollenberg; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Statuswrl.cgi v1.7 Yes, using the one created on 10-15-2002, usually you get that error if you have an error in the cgi.cfg/hostextinfo.cfg files, I've also seen when I compiled the new statuswrl.cgi by not having the correct path for the perl interputer. Theo Hollenberg wrote: Hi everybody, Could someone tell me whether statuswrl.cgi v1.7 is actually deployed successfully by someone for it compiles perfectly but when I deploy it, it gives the following message: The VRML file header not found or unsupported encoding type File: http://nagios.hollenberg.biz/nagios/cgi-bin/statuswrl.cgi?host=all Does this ring a bell with anyone..? Kind regards, Theo Hollenberg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users _____ Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.rendl at ifsna.com Wed Oct 30 23:56:42 2002 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Wed, 30 Oct 2002 16:56:42 -0600 Subject: check_snmp Strangeness Message-ID: <372E1E73DFD59941A76494F0219A25740435820B@mkemail.namerica.corpnet.ifsworld.com> My check_snmp appears to be sending the wrong command line to "snmpget". I test the command from the libexec dir with the following: [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C public and it replies with: SNMP problem - No data received from host CMD: /usr/bin/snmpget -m ALL -v 1 192.168.1.1 public -c sysUpTime.0 Which is true because that command doesn't work with snmpget, the format that works is: snmpget -m ALL -v 1 192.168.1.1 -c public sysUpTime.0 If I modify the check_snmp request to: [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C "-c public" It works. Is there a way to change what check_snmp sends to snmpget? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From cquinn at excitenetwork.com Thu Oct 31 00:15:41 2002 From: cquinn at excitenetwork.com (Chris Quinn) Date: Wed, 30 Oct 2002 18:15:41 -0500 Subject: check_http Message-ID: I am wondering if there is a way for Nagios to monitor if redirects are working ok, and if the http request fails it will tell you that apache is running *but* the redirect failed when trying to retrieve data from a third party and give you the url where it failed? We currently have a homemade monitoring systems that does just this and I either have to incorporate that into Nagios or have its own plugins do the work for me....If I have to use homemade scripts, does anyone know of a plugin that can read mail coming into outlook and place it into nagios's cgi's? The emails have jsp requests and html requests that Nagios's one line limitation would not understand. Ex: email comes in Subject: Critical: Webmail monitor failed ----------------------------------------------------- mail1=url.of/request - http://and.where.it/failed mail2=url.of/request mail3=url.of/request I don't think this is possible with Nagios but its worth a shot:-/ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Gopinath_Pulyankote at affymetrix.com Thu Oct 31 00:57:56 2002 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Wed, 30 Oct 2002 15:57:56 -0800 Subject: check_snmp Strangeness Message-ID: <48F1F432BF75D6118FAC0002B325BE3636E807@ntex04.affymetrix.com> It works for me.. bash-2.05a$ ../libexec/check_snmp -H msweb00 -o sysUpTime.0 -C public SNMP OK - Timeticks: (62851802) 7 days, 6:35:18.02 bash-2.05a$ -----Original Message----- From: Jeff Rendl [mailto:jeff.rendl at ifsna.com] Sent: Wednesday, October 30, 2002 2:57 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] check_snmp Strangeness My check_snmp appears to be sending the wrong command line to "snmpget". I test the command from the libexec dir with the following: [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C public and it replies with: SNMP problem - No data received from host CMD: /usr/bin/snmpget -m ALL -v 1 192.168.1.1 public -c sysUpTime.0 Which is true because that command doesn't work with snmpget, the format that works is: snmpget -m ALL -v 1 192.168.1.1 -c public sysUpTime.0 If I modify the check_snmp request to: [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C "-c public" It works. Is there a way to change what check_snmp sends to snmpget? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at sliderule.demon.co.uk Thu Oct 31 01:30:05 2002 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Thu, 31 Oct 2002 00:30:05 +0000 Subject: plugin get's connection refused by host, butstill says ok References: <1035824063.28865.3.camel@tech03> <3DBDADC6.1ED19825@sliderule.demon.co.uk> <1035912882.6780.2.camel@tech03> Message-ID: <3DC0798D.C1107D1E@sliderule.demon.co.uk> Whoops, my bad! The default expect string is 220 not 200. Steve. Sean McAvoy wrote: > > Hello, > the command line I am using is: > check_ftp -H $HOSTADDRESS$ -w 10 -c 15 -t 20 > the output from the command line is: > FTP problem - 14 second response time > > But nagios has it listed as ok. > Also I believe 200 status code you are referring to is the HTTP status > code for ok, not the FTP. > > On Mon, 2002-10-28 at 16:36, Steve Burton wrote: > > Could the check_ftp plugin be matching the 2002 in the date as a 200 > > (OK) status ? > > > > Steve. > > > > Sean McAvoy wrote: > > > > > > I've got two distributed nagios servers, reporting back to my central > > > server. It seems that when the service fails (i.e. connection refused or > > > socket timeout), it still reports the service as being ok. Any ideas > > > where the problem might be? > > > > > > Example error: > > > Customer FTP service > > > OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host > > > > > > -- > > > Sean McAvoy > > > Network Analyst > > > Megawheels Technologies Inc. > > > Phone: 416.360.8211 > > > Fax: 416.360.1403 > > > Cell: 416.616.6599 > > > > > > ------------------------------------------------------------------------ > > > Name: signature.asc > > > signature.asc Type: application/pgp-signature > > > Description: This is a digitally signed message part > > > > -- > > Steve Burton > > > > Webmaster & Sub-optimal Coder > -- > Sean McAvoy > Network Analyst > Megawheels Technologies Inc. > Phone: 416.360.8211 > Fax: 416.360.1403 > Cell: 416.616.6599 > > ------------------------------------------------------------------------ > Name: signature.asc > signature.asc Type: application/pgp-signature > Description: This is a digitally signed message part -- Steve Burton Webmaster & Sub-optimal Coder ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jengstro at archonstudios.com Thu Oct 31 01:52:54 2002 From: jengstro at archonstudios.com (J.Engstrom) Date: Wed, 30 Oct 2002 16:52:54 -0800 (PST) Subject: check_http woes Message-ID: <20021031005254.C14233BC9@sitemail.everyone.net> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From avh at inbodan.dk Thu Oct 31 02:27:39 2002 From: avh at inbodan.dk (Allan Hansen, INBODAN) Date: Thu, 31 Oct 2002 02:27:39 +0100 Subject: SV: check_snmp - warning and critical ranges Message-ID: <03630F4AC119D311B0DF0008C716506F016AC0DA@ARHIN02> I reverted to an older version of check_snmp (1.1.1.1). With this version everything works as supposed. /Allan -----Oprindelig meddelelse----- Fra: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sendt: 30. oktober 2002 18:09 Til: 'nagios-users at lists.sourceforge.net' Emne: Re: [Nagios-users] check_snmp - warning and critical ranges On Wed, 30 Oct 2002, Allan Hansen, INBODAN wrote: > I can't seem to work out the above. I want to monitor CPU load and > have a warning when CPU is above 75 and critical when above 90. > > If I understand the docu correct this should work: > > check_snmp -H 10.129.2.2 -w :75 -c :90 -o > .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU' You want to define minimum thresholds not max. -w 75: -c 90: > > but it does not, I keep getting a warning even on low (<10%) CPU load. > > I am using ucd-snmp 4.2.6 and the latest plugins of of CVS. > > Somebody please advice .. > > > MVH / Regards > INBODAN A/S > > Allan Hansen > System Administrator > > > email: avh at inbodan dot dk (avh snabela inbodan punktum dk) > www: www.ide.dk , www.garant-gulve.dk > , www.erhvervsgulve.dk > > phone: +45 8941 6100 > mobile: +45 2524 4101 > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dlevine at seasontickets.com Thu Oct 31 05:22:43 2002 From: dlevine at seasontickets.com (David Levine) Date: Wed, 30 Oct 2002 22:22:43 -0600 Subject: check_http woes Message-ID: >From what I understand, the '-u' argument should only be a relative path...like: ./check_http -H host.vhost.com -s TRUE -u /blah/page.cfm hth - Dave -----Original Message----- From: J.Engstrom To: nagios-users at lists.sourceforge.net Sent: 10/30/2002 6:52 PM Subject: [Nagios-users] check_http woes Greetings, Need a bit of help... I can execute the following from a command line... ./check_http -H host.vhost.com -s TRUE -u http://host.vhost.com/blah/page.cfm ...however the following checkcommand.cfg and services.cfg entries return the message "Socket timeout after 10 seconds".... checkcommands.cfg ################################################# # 'check_http_content' command definition define command{ command_name check_http_content command_line /usr/local/nagios/libexec/check_http -H $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ } ################################################# services.cfg ################################################# define service{ use generic-service host_name host.vhost.com service_description blah is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups fms-admins notification_interval 120 notification_period none notification_options c,r check_command check_http_content!TRUE!http://host.vhost.com/blah/page.cfm } ################################################# Any ideas? Thanks, Jeff _____________________________________________________________ Sign up for FREE email from Everyone.net email at http://www.everyone.net ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sghosh at sghosh.org Thu Oct 31 05:50:49 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Oct 2002 23:50:49 -0500 (EST) Subject: check_snmp Strangeness In-Reply-To: <372E1E73DFD59941A76494F0219A25740435820B@mkemail.namerica.corpnet.ifsworld.com> References: <372E1E73DFD59941A76494F0219A25740435820B@mkemail.namerica.corpnet.ifsworld.com> Message-ID: What version of snmp and check_snmp. net-snmp v5.x requires that the community string be precedded by the option argument "-c" old versions of ucd-snmp (4.x) did not require it and check_snmp did not support it. the current check_snmp in CVS does. -sg On Wed, 30 Oct 2002, Jeff Rendl wrote: > My check_snmp appears to be sending the wrong command line to "snmpget". I > test the command from the libexec dir with the following: > > [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C public > > and it replies with: > SNMP problem - No data received from host > CMD: /usr/bin/snmpget -m ALL -v 1 192.168.1.1 public -c sysUpTime.0 > > Which is true because that command doesn't work with snmpget, the format > that works is: > > snmpget -m ALL -v 1 192.168.1.1 -c public sysUpTime.0 > > If I modify the check_snmp request to: > > [root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C "-c > public" > > It works. > > Is there a way to change what check_snmp sends to snmpget? > > Thanks, > Jeff > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jonathan.gill at securecirt.com Thu Oct 31 06:53:51 2002 From: jonathan.gill at securecirt.com (Jonathan Gill) Date: Thu, 31 Oct 2002 13:53:51 +0800 Subject: check_dns plugin In-Reply-To: <200210310548.31128.jasmine.chua@securecirt.com> References: <200210310548.31128.jasmine.chua@securecirt.com> Message-ID: <20021031055351.GA27120@securecirt.com> Jas, Problem is the DNS tools are probably not installed on the server the plugin is run on. Check there first. (cc'd to the list so others can follow the thread) -- Jonathan Gill Jasmine Chua (jasmine.chua at securecirt.com) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > When I test the check_dns plugin, it shows the following error. Anybody has > any idea what it means? > > ./check_dns -H www.yahoo.com -s abc.com -t 90 > Segmentation fault > > - -- > Jasmine Chua > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > http://www.securecirt.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9wFOtNgvTa7Hj2AURAs7IAKCa7aYRCrVPzIYuz6gx0+e9O7CynQCfZyic > QNaOWRkOv19jrJr2PR+GshM= > =9YCx > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Jonathan Gill +65 98551701 Chief Technology Officer +65 62436800 SecureCiRT, A SBU of Z-Vance Pte Ltd http://www.securecirt.com/ PGP : 315C 314D CD36 CBFF 728E F167 FCD8 15B7 0287 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From Fredrik.Wanglund at datavis.se Thu Oct 31 08:22:40 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 31 Oct 2002 08:22:40 +0100 Subject: APAN Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> Yes thats exactly what Apan is. Apan's main advantage over RRDTool+frontend is that it's integrated in Nagios. Nagios is used to trigger alerts when proplems occur and you have one overall view of your hosts/networks/services-status. Over to your qestion. How do you collect data to your RRD's today? Have those collectors the ability to trigger anything based on the return values? If they have, then you can use passive checks in Nagios to handle the alerts. /FredrikW -----Original Message----- From: Jamie [mailto:jamie at bclnz.net] Sent: Wed 30-Oct-02 23:26 To: Nagios Users Cc: Subject: [Nagios-users] APAN Hi Nagios'ers, I've been watching the APAN related emails fly past, and I've been asking myself - "what is APAN?" - I'll need to explain this to other people succinctly at some stage. This is what I've got so far: "..APAN is an add-on to Nagios that is driven by the Nagios check process. As checks are carried out, the results are logged in an RRD database, which is used to display the historical performance data of the monitored service..." - Is that correct? Question: What If I've got an RRDTool + Front end working perfectly well already?. Can I use APAN (or does something exist) to *extract* from the RRD db and compare against my defined service thresholds?? I hope I'm not too far off with my description above. Please correct me if I'm wrong. Cheers Jamie ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mkothandan at yahoo.com Thu Oct 31 08:36:42 2002 From: mkothandan at yahoo.com (mkothandan kothandan) Date: Wed, 30 Oct 2002 23:36:42 -0800 (PST) Subject: Diskspace check in SUN Message-ID: <20021031073642.46822.qmail@web40411.mail.yahoo.com> Dear sir Iam Using check_by_ssh sintex is # 'check_by_ssh' command definition define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H 172.16.0.161 -p 1248 -w $ARG1$ -c $ARG2$ -p $ARG3$ } in checkcommand.cfg file iam getting this in HP unix dev/dsk/c0t0d0s4 Free Space WARNING 10-31-2002 12:20:28 0d 0h 2m 5s 2/3 Disk "/dev/vg00/data1" not mounted or nonexistant. Aand after some time its gone to warning error. in sun solaris /dev/dsk/c0t0d0s4 Free Space UNKNOWN 10-31-2002 12:18:52 0d 18h 29m 14s 3/3 Usage: pls do needfull. regards koths --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From mats at 4gurus.org Thu Oct 31 08:52:13 2002 From: mats at 4gurus.org (4gurus.org) Date: Thu, 31 Oct 2002 08:52:13 +0100 Subject: Nagios checking Microsoft Exchange SMTP Message-ID: <008401c280b2$6cc77460$e5e190d9@broadnet.no> Is there anybody that can give som input on nagios and why it wont work with Microsoft Exchange 2000 smtp service, just red all the time.. /Mats -------------- next part -------------- An HTML attachment was scrubbed... URL: From torgeir at falcon.no Thu Oct 31 09:36:30 2002 From: torgeir at falcon.no (Torgeir Steinde) Date: Thu, 31 Oct 2002 09:36:30 +0100 Subject: nsclient modified to deal with services that include spaces References: Message-ID: <03e501c280b8$9d087470$c81312ac@hawk> Hi, I'm running the check_nt plugin without any modifications and still have spaces in my service names. Here is my check_nt_service definition from checkcommands.cfg: define command{ command_name check_nt_service command_line $USER1$/check_nt -p 1248 -H $HOSTADDRESS$ -v SERVICESTAT E -l $ARG1$ } My service definition: define service{ use generic-service host_name abcd service_description Octel check_command check_nt_service!'Octel Unified Messenger Tracing System' } Regards Torgeir Steinde RDZ AB ----- Original Message ----- From: "Bishop, Dean" To: Cc: Sent: Wednesday, October 30, 2002 6:23 PM Subject: [Nagios-users] nsclient modified to deal with services that include spaces > Good morning all, > > i have modified the check_nt code a bit to deal with Windows > services whose real name includes spaces. > > For me the real service name is "Octel Unified Messenger Tracing > System". > > The new check_nt code simply replaces tildes "~" in the arguments > with spaces " ". So, my checkcommand definition is: > > # 'check_nt_service1' command definition > define command{ > command_name check_nt_service1 > command_line $USER1$/check_nt_modified -H $HOSTADDRESS$ -p 1248 > -v SERVICESTATE -l $ARG1$ > } > > My service definition is: > > # Service definition for NonCritical Mail Servers Octel Unified Messenger > System Service > define service { > name MailServers-OctelUMTraceService-NonCritical > use WindowsService > service_description Mail Servers NonCritical - Octel Trace > Service > contact_groups ServerAdmins > check_command > check_nt_service1!Octel~Unified~Messenger~Tracing~System > host_name cectrace01.tcdsb.org,cectrace01.tcdsb.org > } > > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Thu Oct 31 13:09:41 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 31 Oct 2002 07:09:41 -0500 Subject: Nagios checking Microsoft Exchange SMTP Message-ID: we're gonna need a bit more info. the error message would be a good start, then maybe your service definitions and the result of running check_smtp from the command line. later, dean -----Original Message----- From: 4gurus.org [mailto:mats at 4gurus.org] Sent: Thursday, October 31, 2002 2:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios checking Microsoft Exchange SMTP Is there anybody that can give som input on nagios and why it wont work with Microsoft Exchange 2000 smtp service, just red all the time.. /Mats -------------- next part -------------- An HTML attachment was scrubbed... URL: From skeeve at skeeve.org Thu Oct 31 13:32:47 2002 From: skeeve at skeeve.org (Skeeve Stevens) Date: Thu, 31 Oct 2002 23:32:47 +1100 Subject: Load skyrockets? Message-ID: <000201c280d9$9e780700$026712cb@InDeusInvenioVeritas> I have over 300 services being checked with a ping check... pretty simple. But recently this is absolutely killing the machine... with the load of the server... a PentiumII500 with 400mb ram, is hitting loads of 30-40 for brief periods.... Is there any way to optimise Nagios ping checks to keep the load down a bit.... the machine pretty much becomes useless for other things when this load gets soooo high. ...Skeeve _______________________________________________________ Skeeve Stevens, RHCE Email: skeeve at skeeve.org Website: www.skeeve.org - Telephone: (0414) 753 383 Address: P.O Box 1035, Epping, NSW, 1710, Australia eIntellego - skeeve at eintellego.net - www.eintellego.net _______________________________________________________ Si vis pacem, para bellum ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Thu Oct 31 13:44:21 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 31 Oct 2002 07:44:21 -0500 Subject: Load skyrockets? Message-ID: try using a quicker check. either add "-p 1" to the check_ping macro to limit the check to 1 packet rather than the default 5 or use check_tcp to check your hosts. later, dean -----Original Message----- From: Skeeve Stevens [mailto:skeeve at skeeve.org] Sent: Thursday, October 31, 2002 7:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Load skyrockets? I have over 300 services being checked with a ping check... pretty simple. But recently this is absolutely killing the machine... with the load of the server... a PentiumII500 with 400mb ram, is hitting loads of 30-40 for brief periods.... Is there any way to optimise Nagios ping checks to keep the load down a bit.... the machine pretty much becomes useless for other things when this load gets soooo high. ...Skeeve _______________________________________________________ Skeeve Stevens, RHCE Email: skeeve at skeeve.org Website: www.skeeve.org - Telephone: (0414) 753 383 Address: P.O Box 1035, Epping, NSW, 1710, Australia eIntellego - skeeve at eintellego.net - www.eintellego.net _______________________________________________________ Si vis pacem, para bellum ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From jasmine.chua at securecirt.com Thu Oct 31 13:53:08 2002 From: jasmine.chua at securecirt.com (Jasmine Chua) Date: Thu, 31 Oct 2002 20:53:08 +0800 Subject: check_dns plugin Message-ID: <200210312053.15724.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - ---------- Forwarded Message ---------- Subject: Re: [Nagios-users] check_dns plugin Date: Thu, 31 Oct 2002 13:53:51 +0800 From: Jonathan Gill To: Jasmine Chua Cc: nagios-users at lists.sourceforge.net Jas, Problem is the DNS tools are probably not installed on the server the plugin is run on. Check there first. (cc'd to the list so others can follow the thread) - -- Jonathan Gill Jasmine Chua (jasmine.chua at securecirt.com) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > When I test the check_dns plugin, it shows the following error. Anybody has > any idea what it means? > > ./check_dns -H www.yahoo.com -s abc.com -t 90 > Segmentation fault > > - -- > Jasmine Chua > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) > http://www.securecirt.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9wFOtNgvTa7Hj2AURAs7IAKCa7aYRCrVPzIYuz6gx0+e9O7CynQCfZyic > QNaOWRkOv19jrJr2PR+GshM= > =9YCx > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users Jonathan Gill +65 98551701 Chief Technology Officer +65 62436800 SecureCiRT, A SBU of Z-Vance Pte Ltd http://www.securecirt.com/ PGP : 315C 314D CD36 CBFF 728E F167 FCD8 15B7 0287 - ------------------------------------------------------- - -- Jasmine Chua Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd) http://www.securecirt.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9wSe6NgvTa7Hj2AURAq89AJwNwHd2XTrLibMk0C+twzMJTkDs3gCgnfpa ui74qvXRi0CPWigCf7Rf23s= =5q9r -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Attachment: 1 Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From kjetil at catchcom.com Thu Oct 31 14:02:03 2002 From: kjetil at catchcom.com (Kjetil Kvig) Date: Thu, 31 Oct 2002 14:02:03 +0100 Subject: check_dhcp Message-ID: How do you run a plugin as a different user? It is required to run the check_dhcp plugin as root, but how do you configure the service/checkcommand for this? Regards Kjetil Kvig ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Fredrik.Wanglund at datavis.se Thu Oct 31 14:00:57 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 31 Oct 2002 14:00:57 +0100 Subject: Nagios checking Microsoft Exchange SMTP Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780391@storevis.datavis.se> This is a known bug in the plugin. I think the solution is to define a dummy-command via #define SMTP_DUMMYCMD "MAIL\n" in check_smtp.c /FredrikW -----Original Message----- From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Sent: Thu 31-Oct-02 13:09 To: '4gurus.org'; nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] Nagios checking Microsoft Exchange SMTP we're gonna need a bit more info. the error message would be a good start, then maybe your service definitions and the result of running check_smtp from the command line. later, dean -----Original Message----- From: 4gurus.org [mailto:mats at 4gurus.org] Sent: Thursday, October 31, 2002 2:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios checking Microsoft Exchange SMTP Is there anybody that can give som input on nagios and why it wont work with Microsoft Exchange 2000 smtp service, just red all the time.. /Mats ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From ejl at man.fwltech.com Thu Oct 31 14:03:26 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 31 Oct 2002 13:03:26 -0000 Subject: Load skyrockets? Message-ID: <1012BD903945D411915500105A48FF57F0646C@nt.man.fwltech.com> check max_concurrent_checks in nagios.cfg If it is set to max_concurrent_checks=0 then nagios can simply fire off a process for each check simultaneously. Try it at various amounts and see how that affects things. Ewan > -----Original Message----- > From: Skeeve Stevens [mailto:skeeve at skeeve.org] > Sent: 31 October 2002 12:33 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Load skyrockets? > > > > I have over 300 services being checked with a ping check... pretty > simple. > > But recently this is absolutely killing the machine... with > the load of > the server... a PentiumII500 with 400mb ram, is hitting loads of 30-40 > for brief periods.... > > Is there any way to optimise Nagios ping checks to keep the > load down a > bit.... the machine pretty much becomes useless for other things when > this load gets soooo high. > > ...Skeeve > > > _______________________________________________________ > Skeeve Stevens, RHCE Email: skeeve at skeeve.org > Website: www.skeeve.org - Telephone: (0414) 753 383 > Address: P.O Box 1035, Epping, NSW, 1710, Australia > > eIntellego - skeeve at eintellego.net - www.eintellego.net > _______________________________________________________ > Si vis pacem, para bellum > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From mpowell at ena.com Thu Oct 31 14:15:12 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 31 Oct 2002 07:15:12 -0600 Subject: Nagios checking Microsoft Exchange SMTP Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E265D2@mismail.ena.com> This is a known issue with check_smtp, fixed in CVS and discussed on this mailing list several times as recently as two days ago. Please browse or search the archives to find the exact details. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: 4gurus.org To: nagios-users at lists.sourceforge.net Sent: Thu Oct 31 01:52:13 2002 Subject: [Nagios-users] Nagios checking Microsoft Exchange SMTP Is there anybody that can give som input on nagios and why it wont work with Microsoft Exchange 2000 smtp service, just red all the time.. /Mats -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Oct 31 14:23:57 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 31 Oct 2002 07:23:57 -0600 Subject: check_dhcp Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E265D3@mismail.ena.com> Not having an installation to look at right now, I wouldn't think check_dhcp would need to be run as root, however if it does the idea is not to change the user nagios runs the plugin as but rather make the plugin suid root. For most unices you would chown root check_dhcp then chmod u+s check_dhcp. Consult the appropriate man pages for more information. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Kjetil Kvig To: Nagios-list (E-post) Sent: Thu Oct 31 07:02:03 2002 Subject: [Nagios-users] check_dhcp How do you run a plugin as a different user? It is required to run the check_dhcp plugin as root, but how do you configure the service/checkcommand for this? Regards Kjetil Kvig ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From w.moser at conova.com Thu Oct 31 14:21:54 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Thu, 31 Oct 2002 14:21:54 +0100 Subject: Problem with rescheduling Message-ID: <3DC12E72.70603@conova.com> Hello! I posted this message for about 10 days but got now answer, so I try it again!! Need help!!!!! I had a strange situation with nagios which I can't explain to myself. It makes me a bit insecure about nagios, may anyone can allay my worries. I am using Nagios 1.05b, till now I haven't the full structure of the network implemented. That means no parent hosts and service dependencies are taken into account. Last Friday 18.10.2002 a switch went down and of course all hosts connected to it! A lot of notifications are sent out (sms storm!!), so far so good. But the problem was that a lot of service checks and host checks are scheduled for the next check anytime on 18.10.2002 which is far over!!! Today 21.10.2002, after the weekend, are still a lot of service and hostchecks scheduled for anytime on the 18.10.2002. Does this mean that this service or hosts are never checked again???? What could have happend?? I am a bit clueless! I again red the check scheduling rules and came to the conclusion, this situation shouldn't appear!! Please give me an idea where the mistake was, nagios, myself, a restart of nagios at the wrong time, whatever!!! thanks Wolfgang PS: After a restart of Nagios all checks are schedueled with the right time!! ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From stevelml1 at scee.sony.co.uk Thu Oct 31 15:44:37 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 31 Oct 2002 14:44:37 -0000 Subject: check_ups question Message-ID: <004501c280ec$0982cf00$f5c8dfc2@niltxp> Hi all I have been playing with NUT/upsd on a few linux machines, and am now looking at adding check_ups monitoring to Nagios for an APC SmartUPS. the check_ups plugin is working fine, I just need to understand a couple of things before I paste the service into the config file. I assume that if i just run it against a specific UPS, but without checking any specific variables from the UPS, it will return a WARNING or CRITICAL if it is on battery, but return OK if the mains power is on... is this correct? Want to make sure as I dont want to go and pull the mains plug just to test it just yet :) Also, the -c and -w values... what exactly do they crit or warn about? Do most people just run it for mains/battery status, or do they monitor UPS load, or battery charge percent, or anything else? Any feedback would be greatly appreciated. Many thanks in advance -- Steve ------------------------------------------------- Steve Loughran, Network Infrastructure Manager Sony Computer Entertainment Europe (Cambridge) Yamaha YZF1000R Thunderace ICQ#: 104426046 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sghosh at sghosh.org Thu Oct 31 15:56:57 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 31 Oct 2002 09:56:57 -0500 (EST) Subject: Nagios checking Microsoft Exchange SMTP In-Reply-To: <008401c280b2$6cc77460$e5e190d9@broadnet.no> References: <008401c280b2$6cc77460$e5e190d9@broadnet.no> Message-ID: if you are using check_smtp 1. make sure your source has "QUIT\r\n" 2. use the -f option so Exchange does not go into a wait mode in closing the connection. -sg On Thu, 31 Oct 2002, 4gurus.org wrote: > Is there anybody that can give som input on nagios and why it wont work with Microsoft Exchange 2000 smtp service, just red all the time.. > > > > /Mats -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From cocu_tsai at 21cn.com Thu Oct 31 15:51:04 2002 From: cocu_tsai at 21cn.com (CaiXiao) Date: Thu, 31 Oct 2002 22:51:04 +0800 Subject: question of lock file.. Message-ID: <000b01c280ec$f0f1a280$0100a8c0@bluegen> hi all i installed nagios 1.0b6 version,and configure it..when i start nagios...it reports :No lock file found in /usr/local/nagios/var/nagios.lock i type /usr/local/nagios/bin/nagios -v ,it shows these debugs: Nagios 1.0b6 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 09-15-2002 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. ... anyone can help me? thanks a lot cocu -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Oct 31 15:58:51 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 31 Oct 2002 09:58:51 -0500 (EST) Subject: check_dhcp In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301E265D3@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8301E265D3@mismail.ena.com> Message-ID: Yes, the plugin needs to be suid root as it needs access to port 68 for dhcp. On Thu, 31 Oct 2002, Marc Powell wrote: > Not having an installation to look at right now, I wouldn't think > check_dhcp would need to be run as root, however if it does the idea is > not to change the user nagios runs the plugin as but rather make the > plugin suid root. For most unices you would chown root check_dhcp then > chmod u+s check_dhcp. Consult the appropriate man pages for more > information. > > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > -----Original Message----- > From: Kjetil Kvig > To: Nagios-list (E-post) > Sent: Thu Oct 31 07:02:03 2002 > Subject: [Nagios-users] check_dhcp > > How do you run a plugin as a different user? It is required to run the > check_dhcp plugin as root, but how do you configure the > service/checkcommand for this? > > > Regards > Kjetil Kvig > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From karl at debisschop.net Thu Oct 31 15:58:05 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 31 Oct 2002 09:58:05 -0500 Subject: Problem with rescheduling In-Reply-To: <3DC12E72.70603@conova.com> References: <3DC12E72.70603@conova.com> Message-ID: <1036076286.9398.86.camel@miles.debisschop.net> On Thu, 2002-10-31 at 08:21, Moser Wolfgang wrote: > Hello! > > I posted this message for about 10 days but got now answer, so I try it > again!! > Need help!!!!! > > > > I had a strange situation with nagios which I can't explain to myself. > It makes me a bit insecure about nagios, may anyone can allay my worries. > > I am using Nagios 1.05b, till now I haven't the full structure of the > network implemented. That means no parent hosts and service dependencies > are taken into account. > Last Friday 18.10.2002 a switch went down and of course all hosts > connected to it! A lot of notifications are sent out (sms storm!!), so > far so good. > But the problem was that a lot of service checks and host checks are > scheduled for the next check anytime on 18.10.2002 which is far over!!! > Today 21.10.2002, after the weekend, are still a lot of service and > hostchecks scheduled for anytime on the 18.10.2002. > > Does this mean that this service or hosts are never checked again???? > What could have happend?? > I am a bit clueless! > > I again red the check scheduling rules and came to the conclusion, this > situation shouldn't appear!! As far as I can see, you haven't said if the switch is back up. You say that there are no parent relationships defined. I am assuming that is true. but it is a critical point and might be worh confirming. Can you confirm that that both host and service checks are being missed? I'm going from memory here. My general strategy is to follow Ethan's examples as closely as I can, and not be too creative. That being said, a common problem is that there are no host checks defined for a service, or the host checks cannot succeed. In that case, the services behind the host will never be checked. Can this explain part of the problem? -- Karl ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From stevelml1 at scee.sony.co.uk Thu Oct 31 16:19:37 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 31 Oct 2002 15:19:37 -0000 Subject: question of lock file.. References: <000b01c280ec$f0f1a280$0100a8c0@bluegen> Message-ID: <00c001c280f0$ed03a2a0$f5c8dfc2@niltxp> And what do the first 10 or so lines of your hosts.cfg look like? Please post them to the list, it would be far more helpful than just saying "it doesnt work... why?" Steve ----- Original Message ----- From: "CaiXiao" To: Sent: Thursday, October 31, 2002 2:51 PM Subject: [Nagios-users] question of lock file.. hi all i installed nagios 1.0b6 version,and configure it..when i start nagios...it reports :No lock file found in /usr/local/nagios/var/nagios.lock i type /usr/local/nagios/bin/nagios -v ,it shows these debugs: Nagios 1.0b6 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 09-15-2002 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. ... anyone can help me? thanks a lot cocu ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From karl at debisschop.net Thu Oct 31 16:18:29 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 31 Oct 2002 10:18:29 -0500 Subject: Nagios checking Microsoft Exchange SMTP In-Reply-To: References: Message-ID: <1036077511.10343.104.camel@miles.debisschop.net> On Thu, 2002-10-31 at 09:56, Subhendu Ghosh wrote: > if you are using check_smtp > > 1. make sure your source has "QUIT\r\n" > 2. use the -f option so Exchange does not go into a wait mode in closing > the connection. I was reading item 2 above and looking at the code. If the mail server software hasn't disguised itself, don't we know it fron the initial response? (that is before the from_srt is sent?) If so, can't we create and send a generic from command and send it by default when we see that we're dealing with exchange? Actually, it looks like we always send the from string, even if it's null, which seems pointless. Sorry if I'm being stupid here, or this has been covered already, but I'm not a mail guru, and between work and kids, I don't get to read every message on the list. But it seems that there's some cleanup left in check_smtp from a usability point of view. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From niko at de.clara.net Thu Oct 31 16:23:33 2002 From: niko at de.clara.net (Nikolai Bamburov) Date: Thu, 31 Oct 2002 16:23:33 +0100 Subject: Return code of 134 is out of bounds Message-ID: <00f201c280f1$79fea380$6200a8c0@int.de.clara.net> What does it mean: Status Information - Return code of 134 is out of bounds Regards, Niko ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From dean.bishop at tcdsb.org Thu Oct 31 16:33:06 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 31 Oct 2002 10:33:06 -0500 Subject: nsclient modified to deal with services that i nclude spaces Message-ID: drat. i hate it when that happens. i read in the archive that someone tried single and double quotes without success. i tried double but apparently didn't try singles. thanks Torgeir you have saved my much heartache. later, dean -----Original Message----- From: Torgeir Steinde [mailto:torgeir at falcon.no] Sent: Thursday, October 31, 2002 3:37 AM To: Bishop, Dean; nagios-users at lists.sourceforge.net Cc: rubiyz at yahoo.com Subject: Re: [Nagios-users] nsclient modified to deal with services that include spaces Hi, I'm running the check_nt plugin without any modifications and still have spaces in my service names. Here is my check_nt_service definition from checkcommands.cfg: define command{ command_name check_nt_service command_line $USER1$/check_nt -p 1248 -H $HOSTADDRESS$ -v SERVICESTAT E -l $ARG1$ } My service definition: define service{ use generic-service host_name abcd service_description Octel check_command check_nt_service!'Octel Unified Messenger Tracing System' } Regards Torgeir Steinde RDZ AB ----- Original Message ----- From: "Bishop, Dean" To: Cc: Sent: Wednesday, October 30, 2002 6:23 PM Subject: [Nagios-users] nsclient modified to deal with services that include spaces > Good morning all, > > i have modified the check_nt code a bit to deal with Windows > services whose real name includes spaces. > > For me the real service name is "Octel Unified Messenger Tracing > System". > > The new check_nt code simply replaces tildes "~" in the arguments > with spaces " ". So, my checkcommand definition is: > > # 'check_nt_service1' command definition > define command{ > command_name check_nt_service1 > command_line $USER1$/check_nt_modified -H $HOSTADDRESS$ -p 1248 > -v SERVICESTATE -l $ARG1$ > } > > My service definition is: > > # Service definition for NonCritical Mail Servers Octel Unified Messenger > System Service > define service { > name MailServers-OctelUMTraceService-NonCritical > use WindowsService > service_description Mail Servers NonCritical - Octel Trace > Service > contact_groups ServerAdmins > check_command > check_nt_service1!Octel~Unified~Messenger~Tracing~System > host_name cectrace01.tcdsb.org,cectrace01.tcdsb.org > } > > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sghosh at sghosh.org Thu Oct 31 16:48:34 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 31 Oct 2002 10:48:34 -0500 (EST) Subject: Nagios checking Microsoft Exchange SMTP In-Reply-To: <1036077511.10343.104.camel@miles.debisschop.net> References: <1036077511.10343.104.camel@miles.debisschop.net> Message-ID: On 31 Oct 2002, Karl DeBisschop wrote: > On Thu, 2002-10-31 at 09:56, Subhendu Ghosh wrote: > > if you are using check_smtp > > > > 1. make sure your source has "QUIT\r\n" > > 2. use the -f option so Exchange does not go into a wait mode in closing > > the connection. > > I was reading item 2 above and looking at the code. If the mail server > software hasn't disguised itself, don't we know it fron the initial > response? (that is before the from_srt is sent?) > > If so, can't we create and send a generic from command and send it by > default when we see that we're dealing with exchange? Actually, it looks > like we always send the from string, even if it's null, which seems > pointless. > > Sorry if I'm being stupid here, or this has been covered already, but > I'm not a mail guru, and between work and kids, I don't get to read > every message on the list. But it seems that there's some cleanup left > in check_smtp from a usability point of view. > Well the whole intent of item 2 was to create a fully formed MAIL command. Most of the *nix based MTA's will accept a "MAIL \r\n" even though it is not a complete command from an RFC standpoint. Exchange and Dominio (I think) want a complete "MAIL FROM: from at host\r\n" otherwise they refuse to accept the next command "QUIT \r\n" and hang on to the TCP connection. The half mail command was introduced to prevent sendmail and other from logging "connected but no command messages". I thinks we should try to be RFC compliant and have the following sequence in checking smtp by defualt: HELO MAIL FROM: nagios at localhost QUIT The option for -f would allow the user to substitute another addres for "nagios at localhost" to allow easy parsing out of relevant records. Add a unix/sendmail specific option that sends half the MAIL command (and generates no log entries). -- -sg ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From ekuehn at bbcominc.com Thu Oct 31 18:29:37 2002 From: ekuehn at bbcominc.com (Erich Kuehn) Date: Thu, 31 Oct 2002 09:29:37 -0800 Subject: check_fping Message-ID: <5398F71C614DD311BC60004005A0943578F804@BBCOM01> Im having trouble getting check_fping to work. I keep getting this popping up on my terminal from where I start nagios: /usr/local/share/nagios/libexec/check_fping: invalid option -- p and in the nagios.log file I get this [1036084689] HOST ALERT: Test;DOWN;HARD;20;check_fping: Unknown argument: 5000.0,100% Current setup FreeBSD 4.7Stable Nagios Version 1.0b6 nagiosplug-1.3-beta1 **********************Checkcommands.cfg # 'check_fping' command definition define command{ command_name check_fping command_line /usr/local/share/nagios/libexec/check_fping -H $HOSTADDRESS$ -w $ARG1$ -p 5 } # 'check-host-alive-f' command definition define command{ command_name check-host-alive-f command_line /usr/local/share/nagios/libexec/check_fping -H $HOSTADDRESS$ -w 3000.0,80% -p 1 } **************************Services.cfg # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitio ns active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major per formance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 notification_options c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use generic-service ; Name of service template to use host_name BBCOM-GravityTech-SF service_description PING contact_groups router-admins notification_options c,r check_command check_fping } ********************Hosts.cfg # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, use d for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name Test alias Test address 208.48.168.249 parents lagsr check_command check-host-alive-f max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } Any Ideas? TIA Erich ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Thu Oct 31 20:55:15 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 31 Oct 2002 11:55:15 -0800 Subject: Nagios Feature Request In-Reply-To: <3DBEF3F1.6090906@quadrix.com> References: <3DBEF3F1.6090906@quadrix.com> Message-ID: <3DC18AA3.3040604@sbcglobal.net> Feature Request: To use hostgroups in host and service extended info. -sk ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From Richard.Wu at fusepoint.com Thu Oct 31 20:54:07 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Thu, 31 Oct 2002 11:54:07 -0800 Subject: Diskspace check in SUN Message-ID: <77F055FA968580429F4546414D8C10E70C300D@s102b.rhcci.net> Have you put the plugins on the remote HP/Solaris machines ?check_by_ssh need to execute a command on remote machines. Richard Wu -----Original Message----- From: mkothandan kothandan [mailto:mkothandan at yahoo.com] Sent: Wednesday, October 30, 2002 11:37 PM To: nagios-users at lists.sourceforge.net Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Diskspace check in SUN Dear sir Iam Using check_by_ssh sintex is # 'check_by_ssh' command definition define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H 172.16.0.161 -p 1248 -w $ARG1$ -c $ARG2$ -p $ARG3$ } in checkcommand.cfg file iam getting this in HP unix dev/dsk/c0t0d0s4 Free Space WARNING 10-31-2002 12:20:28 0d 0h 2m 5s 2/3 Disk "/dev/vg00/data1" not mounted or nonexistant. Aand after some time its gone to warning error. in sun solaris /dev/dsk/c0t0d0s4 Free Space UNKNOWN 10-31-2002 12:18:52 0d 18h 29m 14s 3/3 Usage: pls do needfull. regards koths _____ Do you Yahoo!? HotJobs - Search new jobs daily now -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie at bclnz.net Thu Oct 31 21:14:41 2002 From: jamie at bclnz.net (Jamie) Date: Fri, 1 Nov 2002 09:14:41 +1300 Subject: APAN References: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> Message-ID: <000801c2811a$262d7000$b58031ca@bcl977307> Hi, Thanks for the reply. I'm using the NRG front-end by Steve Rader. That works fine, but I've been considering adding to the system so that when average traffic levels (over the week) exceed a certain level, NAGIOS generates a service alert that basically auto-notifies sales people that they should go sell more bandwidth to the customer of the monitored interface. I just thought that seemed to be no advantage in creating another RRD when I've already got several. So basically Nagios would generate an "RRD check", and extract the info from the RRD using (maybe using RRDfetch??), and then compare that to warning and critical thresholds...I'd have hostgroups and notifications (and maybe even escalations) set up appropriately.... ..Somehow I just love the concept of getting Nagios to tell the Sales-People what to do :-) I'd code it myself, but I figure someone else might have already done it (or at least something that could be hacked into shape). -Cheers Jamie ----- Original Message ----- From: "Fredrik W?nglund" To: "Jamie" ; "Nagios Users" Sent: Thursday, October 31, 2002 8:22 PM Subject: RE: [Nagios-users] APAN Yes thats exactly what Apan is. Apan's main advantage over RRDTool+frontend is that it's integrated in Nagios. Nagios is used to trigger alerts when proplems occur and you have one overall view of your hosts/networks/services-status. Over to your qestion. How do you collect data to your RRD's today? Have those collectors the ability to trigger anything based on the return values? If they have, then you can use passive checks in Nagios to handle the alerts. /FredrikW -----Original Message----- From: Jamie [mailto:jamie at bclnz.net] Sent: Wed 30-Oct-02 23:26 To: Nagios Users Cc: Subject: [Nagios-users] APAN Hi Nagios'ers, I've been watching the APAN related emails fly past, and I've been asking myself - "what is APAN?" - I'll need to explain this to other people succinctly at some stage. This is what I've got so far: "..APAN is an add-on to Nagios that is driven by the Nagios check process. As checks are carried out, the results are logged in an RRD database, which is used to display the historical performance data of the monitored service..." - Is that correct? Question: What If I've got an RRDTool + Front end working perfectly well already?. Can I use APAN (or does something exist) to *extract* from the RRD db and compare against my defined service thresholds?? I hope I'm not too far off with my description above. Please correct me if I'm wrong. Cheers Jamie ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Thu Oct 31 21:30:30 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 31 Oct 2002 12:30:30 -0800 Subject: APAN In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> <000801c2811a$262d7000$b58031ca@bcl977307> Message-ID: <3DC192E6.3030702@sbcglobal.net> > > >So basically Nagios would generate an "RRD check", and extract the info from >the RRD using (maybe using RRDfetch??), and then compare that to warning and >critical thresholds...I'd have hostgroups and notifications (and maybe even >escalations) set up appropriately.... > This is definitely what everyone wants. :) I don't believe APAN does this currently- you have to manually set up your rrd's and then apan will input data to those rrds and display the graphs from services you define. I like NRG myself; I think a new tool combining the strengths of NRG and APAN ("nagios integration") would be ideal. -sk ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From colman at ppllc.com Thu Oct 31 21:56:08 2002 From: colman at ppllc.com (Jake Colman) Date: 31 Oct 2002 15:56:08 -0500 Subject: check_dhcp In-Reply-To: ("Kjetil Kvig"'s message of "Thu, 31 Oct 2002 14:02:03 +0100") References: Message-ID: <768z0eiazb.fsf@newjersey.ppllc.com> >>>>> "KK" == Kjetil Kvig writes: KK> How do you run a plugin as a different user? It is required to run KK> the check_dhcp plugin as root, but how do you configure the KK> service/checkcommand for this? Every time I tried check_dhcp it complains: DHCP problem: No DHCPOFFERs were received. My dhcpd server is on the same machine as nagios. How am I supposed to run this so it can work? Thanks! -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From colman at ppllc.com Thu Oct 31 22:53:20 2002 From: colman at ppllc.com (Jake Colman) Date: 31 Oct 2002 16:53:20 -0500 Subject: Checking if a Port is Open Message-ID: <76r8e6gtrj.fsf@newjersey.ppllc.com> My ISP has threatened to close the smtp port (25) to prevent commercial users from using the residential cable. I am running sendmail and can use check_smtp to ensure that the server is up and running on my host. Is there anything I can monitor to ensure that sendmail can be accessed from the outside world? More generally, is there I can use to monitor whether specific ports are open to the outside and have nagios flag it if server on that port cannot be reached? -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Thu Oct 31 23:04:16 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 31 Oct 2002 14:04:16 -0800 Subject: Checking if a Port is Open In-Reply-To: <76r8e6gtrj.fsf@newjersey.ppllc.com> References: <76r8e6gtrj.fsf@newjersey.ppllc.com> Message-ID: <3DC1A8E0.1040502@sbcglobal.net> To check if a port is accessible from the outside world, just telnet to the port. (i.e. telnet host 25) To see what ports your machine is listening to, the unix command is "netstat tlu" to display all TCP and UDP listening ports. In the nagios world, you can use "check_tcp" or check_udp to see if a TCP/UDP port is open Sean Jake Colman wrote: >My ISP has threatened to close the smtp port (25) to prevent commercial users >from using the residential cable. I am running sendmail and can use >check_smtp to ensure that the server is up and running on my host. Is there >anything I can monitor to ensure that sendmail can be accessed from the >outside world? > >More generally, is there I can use to monitor whether specific ports are open >to the outside and have nagios flag it if server on that port cannot be >reached? > > > > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Thu Oct 31 23:09:07 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 31 Oct 2002 14:09:07 -0800 Subject: Check_by_ssh benchmarks In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE2780390@storevis.datavis.se> <000801c2811a$262d7000$b58031ca@bcl977307> <3DC192E6.3030702@sbcglobal.net> Message-ID: <3DC1AA03.70207@sbcglobal.net> Currently we use check_by_ssh to check private resources (disk, uptime, etc) on a small group of machines, as opposed to using nrpe. As ssh uses a good deal more resources than nrpe, at what point would unreasonable to use ssh to check machines? For the sake of conversation, say the Nagios monitor is is a PIII 1gig with 256 megs of ram. Any input would be appreciated. Thanks. Sean ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From sean.knox at sbcglobal.net Thu Oct 31 23:10:01 2002 From: sean.knox at sbcglobal.net (Sean Knox) Date: Thu, 31 Oct 2002 14:10:01 -0800 Subject: Checking if a Port is Open In-Reply-To: <76r8e6gtrj.fsf@newjersey.ppllc.com> References: <76r8e6gtrj.fsf@newjersey.ppllc.com> <3DC1A8E0.1040502@sbcglobal.net> Message-ID: <3DC1AA39.6080406@sbcglobal.net> Ooops, the syntax for netstat is "netstat -tlu". sk Sean Knox wrote: > To check if a port is accessible from the outside world, just telnet > to the port. (i.e. telnet host 25) > > To see what ports your machine is listening to, the unix command is > "netstat tlu" to display all TCP and UDP listening ports. In the > nagios world, you can use "check_tcp" or check_udp to see if a TCP/UDP > port is open > > Sean > > > > Jake Colman wrote: > >> My ISP has threatened to close the smtp port (25) to prevent >> commercial users >> from using the residential cable. I am running sendmail and can use >> check_smtp to ensure that the server is up and running on my host. Is >> there >> anything I can monitor to ensure that sendmail can be accessed from the >> outside world? >> >> More generally, is there I can use to monitor whether specific ports >> are open >> to the outside and have nagios flag it if server on that port cannot be >> reached? >> >> >> >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future of Java(TM) > technology. Join the Java Community Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From colman at ppllc.com Thu Oct 31 23:59:37 2002 From: colman at ppllc.com (Jake Colman) Date: 31 Oct 2002 17:59:37 -0500 Subject: Checking if a Port is Open In-Reply-To: <3DC1A8E0.1040502@sbcglobal.net> (Sean Knox's message of "Thu, 31 Oct 2002 14:04:16 -0800") References: <76r8e6gtrj.fsf@newjersey.ppllc.com> <3DC1A8E0.1040502@sbcglobal.net> Message-ID: <76iszigqp2.fsf@newjersey.ppllc.com> >>>>> "SK" == Sean Knox writes: SK> To check if a port is accessible from the outside world, just telnet SK> to the port. (i.e. telnet host 25) I run nagios on the same server that is running sendmail. The port is open on my internal LAN so nagios will always be successful in monitoring and connecting to the sendmail server. My concern is with being able to monitor that sendmail can be reached via port 25 (or that any server can be reached via any arbitrary port) from the outside world. Is there a way to have nagios on my internal somehow run a check into port 25 but via the outside world? -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman at ppllc.com Jersey City, NJ 07311 www.principiapartners.com ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en From freddy.frouin at fluxus.net Wed Oct 30 10:21:55 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 30 Oct 2002 10:21:55 +0100 Subject: RRDTool Reporting for NetSaint & Nagios Message-ID: <20021030102155.043d0a5c.freddy.frouin@fluxus.net> Hi all, I just would like to say I've seen a lot of mail concerning request of reporting feature. You will find attached to this mail a little tools that make a web frontend for rrdtool which could easy be used to manage netsaint & nagios perfdata storage and rendering. There is in the release joined no tools to allow an easy conf generation. I advice poeples interrested by this package to just understand how it works and then it would be easy for you to upgrade or create your own admin scripts. I intend to provide before the end of the year new releases of this package to provide netsaint & nagios admin tools suite to manage reporting. I hope this will help some of netsaint & nagios users. Let me know how do you fill with this package, feedback would be really appreciated. Freddy. -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 -------------- next part -------------- A non-text attachment was scrubbed... Name: scr-0.1b1.tar.gz Type: application/x-gzip Size: 640808 bytes Desc: not available URL: