From sghosh at sghosh.org Sun Sep 1 18:14:46 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 1 Sep 2002 12:14:46 -0400 (EDT) Subject: [Fwd: Moving Nagios from one server to another] In-Reply-To: <3D6EC0D6.8E54831C@uws.edu.au> References: <3D6EC0D6.8E54831C@uws.edu.au> Message-ID: Moving from Solaris 2.6 to a Solaris 8 host should be extremely simple. It is ABI compatible... just stop the daemons, tar, move, untar, start. -sg On Fri, 30 Aug 2002, Harsh Verma wrote: > Hi > I am reposting this as I could not see this request in the nagios-users > list. > Regards > Harsh Verma > -- -------------- next part -------------- An embedded message was scrubbed... From: Harsh Verma Subject: [Nagios-users] Moving Nagios from one server to another Date: Wed, 28 Aug 2002 16:25:45 +1000 Size: 3852 URL: From sghosh at sghosh.org Sun Sep 1 18:12:18 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 1 Sep 2002 12:12:18 -0400 (EDT) Subject: Using Nagios only for notification In-Reply-To: <761694513EB19149BB476BADDDA702EB099213@clas0ms01.corp.cox.com> References: <761694513EB19149BB476BADDDA702EB099213@clas0ms01.corp.cox.com> Message-ID: On Thu, 29 Aug 2002, Fligel, Eric (CCI-Las Vegas) wrote: > > > Is it possible to use Nagios to handle the notification grid and paging > of another Monitoring system? Is there a way to invoke notification > from a command line so that another program can call the script to page > the appropriate people. I am not interested in any of the Nagios > monitoring tools, but I like the way it handles the notification. > > Thanks, > Eric > Sorry - no way to use the notifications grid separately. You can of course use the scripts from notify-by-epage... but without something to fill in the macros, they aren't much use. -- -sg ------------------------------------------------------- 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 From joblow7777 at yahoo.com Mon Sep 2 00:44:58 2002 From: joblow7777 at yahoo.com (jo smith) Date: Sun, 1 Sep 2002 15:44:58 -0700 (PDT) Subject: New question In-Reply-To: <20020829161103.46664.qmail@web13005.mail.yahoo.com> References: <20020829161103.46664.qmail@web13005.mail.yahoo.com> Message-ID: <20020901224458.76519.qmail@web13007.mail.yahoo.com> Well, I've been able to narrow down my error by looking at the apache error logs. Here's what apache is saying when I click on the statusmap hyperlink: ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open failed: No such file or directory [Sat Aug 31 09:04:36 2002] [error] [client 199.181.234.155] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open failed: No such file or directory [Sat Aug 31 21:26:08 2002] [error] [client 199.181.234.90] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi libpng12.s0.0 is in /usr/local/lib and /usr/local/lib is in my LD_LIBRARY_PATH, but yet the statusmap.cgi binary is created. Why do I get a statusmap.cgi binary created even though this library seems to be missing. What gives? I'm not a software engineer :-( __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From gmacminn at emergency.qld.gov.au Mon Sep 2 04:28:21 2002 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Mon, 2 Sep 2002 12:28:21 +1000 Subject: Status Map Page Message-ID: <83ED588DB0D0FB4EB424E5C6E46DB14D2A69C1@deskpe2k2.des> Hi All, Is it possible to remove the blocks of data and options at the top of the Status Map page? The blocks I'd like to drop off are the one that gives the last update time, update period etc and the options to change the view and update. I'd like to make a page that just shows the graphic using the default settings as in CGI.CFG and the optional header that I have set up. Any thoughts??? TIA, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_SafeStamp.txt URL: From gmacminn at emergency.qld.gov.au Mon Sep 2 04:30:38 2002 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Mon, 2 Sep 2002 12:30:38 +1000 Subject: Status Map Message-ID: <83ED588DB0D0FB4EB424E5C6E46DB14D29EB28@deskpe2k2.des> Hi All, In my circular status map I have the Nagios Process as the center of the graphic and my nodes spread around that. I'd like to hide the Nagios process from this map and have my central router as the hub of the graphic. Is this possible? TIA, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_SafeStamp.txt URL: From jamie at bclnz.net Mon Sep 2 04:39:34 2002 From: jamie at bclnz.net (Jamie) Date: Mon, 2 Sep 2002 14:39:34 +1200 Subject: Status Map Page References: <83ED588DB0D0FB4EB424E5C6E46DB14D2A69C1@deskpe2k2.des> Message-ID: <00b201c25229$f992f610$b58031ca@bcl977307> Gary, a "quick'n'dirty" way would be to just setup a static webpage that img src's the .png i.e http://localhost/nagios/cgi-bin/statusmap.cgi?host=all&createimage&canvas_x= 0&canvas_y=0&canvas_width=1037&canvas_height=1287&max_width=0&max_height=0&l ayout=5&layermode=exclude and then makes changes to side.html. -jamie ----- Original Message ----- From: "Gary MacMinn" To: Sent: Monday, September 02, 2002 2:28 PM Subject: [Nagios-users] Status Map Page Hi All, Is it possible to remove the blocks of data and options at the top of the Status Map page? The blocks I'd like to drop off are the one that gives the last update time, update period etc and the options to change the view and update. I'd like to make a page that just shows the graphic using the default settings as in CGI.CFG and the optional header that I have set up. Any thoughts??? TIA, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= ------------------------------------------------------- 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 From gmacminn at emergency.qld.gov.au Mon Sep 2 04:33:38 2002 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Mon, 2 Sep 2002 12:33:38 +1000 Subject: Hiding a host from Status Map Graphics Message-ID: <83ED588DB0D0FB4EB424E5C6E46DB14D29EB29@deskpe2k2.des> Hi All, I'm full of questions today. That's what happens when I play with great products like Nagios!!! :-) Is there any way to keep monitoring a host and it's services but not have it included in the statusmap graphic? TIA, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_SafeStamp.txt URL: From jragle at unm.edu Mon Sep 2 08:12:21 2002 From: jragle at unm.edu (Jamin) Date: Mon, 2 Sep 2002 00:12:21 -0600 (MDT) Subject: Status Map In-Reply-To: <83ED588DB0D0FB4EB424E5C6E46DB14D29EB28@deskpe2k2.des> References: <83ED588DB0D0FB4EB424E5C6E46DB14D29EB28@deskpe2k2.des> Message-ID: You could achieve this by adding a parents tag pointing to the router for the hosts in your hosts.cfg file. (Example below.) # 'dc' host definition define host{ use generic-host ; Name of host host_name dc alias David's Computer address 129.XX.XXX.XXX parents router1 check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } On Mon, 2 Sep 2002, Gary MacMinn wrote: > Hi All, > > In my circular status map I have the Nagios Process as the center of the > graphic and my nodes spread around that. I'd like to hide the Nagios > process from this map and have my central router as the hub of the > graphic. Is this possible? > > TIA, > > Gary MacMinn > Network Support Engineer > Department of Emergency Services > ================================= > +61 7 3109 5084 > +61 7 3247 8665 (fax) > ================================= > gmacminn at emergency.qld.gov.au > ================================= > > ---------------------------------------------------------------------- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From greis at grinco.de Mon Sep 2 09:50:41 2002 From: greis at grinco.de (Olaf Greis) Date: Mon, 2 Sep 2002 09:50:41 +0200 Subject: New question In-Reply-To: <20020901224458.76519.qmail@web13007.mail.yahoo.com> References: <20020901224458.76519.qmail@web13007.mail.yahoo.com> Message-ID: <200209020950.54113@grinco.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try to place one of the following lines into your httpd.conf PassEnv LD_LIBRARY_PATH or SetEnv LD_LIBRARY_PATH /usr/local/lib brdgs olaf Am Montag, 2. September 2002 00:44 schrieb jo smith: > Well, I've been able to narrow down my error by > looking at the apache error logs. Here's what apache > is saying when I click on the statusmap hyperlink: > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open > failed: No such file or directory > [Sat Aug 31 09:04:36 2002] [error] [client > 199.181.234.155] Premature end of script headers: > /usr/local/nagios/sbin/statusmap.cgi > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open > failed: No such file or directory > [Sat Aug 31 21:26:08 2002] [error] [client > 199.181.234.90] Premature end of script headers: > /usr/local/nagios/sbin/statusmap.cgi > > libpng12.s0.0 is in /usr/local/lib and /usr/local/lib > is in my LD_LIBRARY_PATH, but yet the statusmap.cgi > binary is created. Why do I get a statusmap.cgi > binary created even though this library seems to be > missing. What gives? I'm not a software engineer :-( -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa qm2HLQ/92ELp5wktg56KOW0= =8Kow -----END PGP SIGNATURE----- ------------------------------------------------------- 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 From boggiano at libero.it Mon Sep 2 10:44:04 2002 From: boggiano at libero.it (Alessandro Boggiano) Date: Mon, 02 Sep 2002 10:44:04 +0200 Subject: Problem with "Acknowledge This Service Problem" Message-ID: <3D7324D4.9070103@libero.it> Hi, I'm having problem with this option: everything is working great,but with it,I get: "An error occurred while processing your command. Go back and verify that you entered all required information correctly." I don't see anything in nagios.log nor in my apache error.log. Any idea,please? Thank you very much! Alessandro ------------------------------------------------------- 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 From jose-louis.marcos at cnes.fr Mon Sep 2 10:57:51 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Mon, 02 Sep 2002 10:57:51 +0200 Subject: Quick verification ! Message-ID: <200209020857.g828vrs21580@cnes.fr> Hi all, I've managed to configure Nagios to "control" 30 hosts, 300 services... While testing the whole thing, something seems wrong to me : I've a host (hp-ux) for which I've defined a EMS (HP-UX hardware monitor) service in Nagios based on NSCA (basically EMS sends mails when something is going wrong on the host, and a small piece of PERL analyze this email, and eventually "send_nsca" something to Nagios). Doing some basic testing, I create a Critical event to be sent to Nagios, I'd expected my host to "go red" in the status map... but it didn't. Actually Nagios show the host in green (on the status map), with some services critical. Is this the correct behaviour for Nagios ? Has it something to deal with some misconfiguration (or misunderstanding of the configuration) ? Thanx in advance for any pointer. -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 From gizmo at thegremlins.net Mon Sep 2 12:20:42 2002 From: gizmo at thegremlins.net (Gizmo) Date: Mon, 2 Sep 2002 12:20:42 +0200 Subject: Troubles installing mysql plugin Message-ID: <004801c2526a$647f98d0$9501a8c0@video> Hi All, My nagios plugin source keeps complaining about not being able to find the mysql libs, allthough I allready pointed the right directory: --with-mysqllibdir=/usr/local/lib/mysql libdbug.a libmyisammrg.a libmysqlclient.so.10@ libnisam.a libheap.a libmysqlclient.a libmysqlclient.so.10.0.0* libmerge.a libmysqlclient.la* libmystrings.a libmyisam.a libmysqlclient.so@ libmysys.a These are the files that are in that dir.... And this is the error I get: configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see Requirements). I've done everything the manual/configure file says, but it won't compile... Does anyone have a sollution for me, of maybe even a compiled version of the mysql plugin? Thanks in advance Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jens.Bergmann at nordCom.net Mon Sep 2 12:55:39 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Mon, 2 Sep 2002 12:55:39 +0200 Subject: German Umlauts and other Quoting Problems Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DD41@nc-mail2.in.nordcom.net> Hi, i noticed several problems with german umlauts in Email Notifications. Additional to this messages with "\" in it aren't quoted right. The message breaks after the backslash. Any workaround for this? Jens PS: I tried to replace the quotation marks (") with single quotation marks (') in miscommands.cfg but this didn't solve the problem... ------------------------------------------------------- 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 From bastiaan at iptower.nl Mon Sep 2 21:01:45 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 02 Sep 2002 21:01:45 +0200 Subject: nagios cannot find plugins after some time Message-ID: <1030993306.854.74.camel@baw> somehow , nagios cant seem to locate the plugins after running a specific time even after a killall -HUP i get (Return code of 127 is out of bounds - plugin may be missing) errors anyone know what the problem might be? with regards, Bastiaan v/d Berg ------------------------------------------------------- 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 From bastiaan at iptower.nl Mon Sep 2 21:19:54 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 02 Sep 2002 21:19:54 +0200 Subject: nagios cant seem to locate the plugins Message-ID: <1030994394.854.81.camel@baw> somehow , nagios cant seem to locate the plugins after running a specific time even after a killall -HUP i get (Return code of 127 is out of bounds - plugin may be missing) errors anyone know what the problem might be? with regards, Bastiaan v/d Berg ------------------------------------------------------- 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 From bastiaan at iptower.nl Mon Sep 2 21:58:35 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 02 Sep 2002 21:58:35 +0200 Subject: nagios cant seem to locate the plugins In-Reply-To: <1030994394.854.81.camel@baw> References: <1030994394.854.81.camel@baw> Message-ID: <1030996715.854.85.camel@baw> ok , damned easy fix i started nagios as root , but the program ran as nagios some config files were also owned by root chown -R nagios:nagios /usr/local/nagios fixed it ;P On Mon, 2002-09-02 at 21:19, Bastiaan van den Berg wrote: > somehow , nagios cant seem to locate the plugins after running a > specific time > > even after a killall -HUP i get > (Return code of 127 is out of bounds - plugin may be missing) errors > > anyone know what the problem might be? > > with regards, > Bastiaan v/d Berg > > > > ------------------------------------------------------- > 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 From wilson at unity.ncsu.edu Mon Sep 2 17:19:21 2002 From: wilson at unity.ncsu.edu (Brian Wilson) Date: Mon, 2 Sep 2002 10:19:21 -0500 (CDT) Subject: nagios now in debian sid Message-ID: If you're using sid/unstable, you can just apt-get install nagios, if you're not using sid, you can get the packages here: http://http.us.debian.org/pool/main/n/nagios/ Thanks to fabbione for the info.. Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.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 From wilson at unity.ncsu.edu Mon Sep 2 17:26:35 2002 From: wilson at unity.ncsu.edu (Brian Wilson) Date: Mon, 2 Sep 2002 10:26:35 -0500 (CDT) Subject: nagios now in debian sid In-Reply-To: References: Message-ID: On Mon, 2 Sep 2002, Brian Wilson wrote: > > If you're using sid/unstable, you can just apt-get install nagios, if > you're not using sid, you can get the packages here: > http://http.us.debian.org/pool/main/n/nagios/ > Err.. that url doesn't seem to work for me now.. this does appear to work: ftp://ftp.us.debian.org/debian/pool/main/n/nagios/ Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.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 From jose-louis.marcos at cnes.fr Mon Sep 2 17:29:45 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Mon, 02 Sep 2002 17:29:45 +0200 Subject: Quick verification ! - v2 Message-ID: <200209021529.g82FTms29667@cnes.fr> Hi all, Following my previous message (about the way Nagios was displaying Critical Notifications), I tried to better read the doc ;-)... It seems that my config was not good for the passive service checks I defined : max_check_attempts option was set to 3 ! This is wrong, as when the NSCA check is sent back to Nagios, it's unique... (EMS product only notifies once any hardware problem). So I put max_checks_attempts option to 1. But I do not get the host in a critical red color in the map (even if 4 of the services scheduled for the host are critical); I'm missing something here! Could anybody *please* give me some hints? -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 From orzech at pld.org.pl Mon Sep 2 18:11:55 2002 From: orzech at pld.org.pl (Tomek Orzechowski) Date: Mon, 2 Sep 2002 18:11:55 +0200 Subject: Quick verification ! - v2 In-Reply-To: <200209021529.g82FTms29667@cnes.fr> References: <200209021529.g82FTms29667@cnes.fr> Message-ID: <20020902161155.GA26235@alpha.hq.cs.net.pl> [02 wrzesie?, 2002] Jose L. Marcos napisa?: >Hi all, > >Following my previous message (about the way Nagios was displaying >Critical Notifications), I tried to better read the doc ;-)... > >It seems that my config was not good for the passive service checks I >defined : max_check_attempts option was set to 3 ! This is wrong, as >when the NSCA check is sent back to Nagios, it's unique... (EMS product >only notifies once any hardware problem). > >So I put max_checks_attempts option to 1. But I do not get the host in >a critical red color in the map (even if 4 of the services scheduled for >the host are critical); > >I'm missing something here! Could anybody *please* give me some hints? You get red color for host in the map when it's down (check_host_command fails). AFAIK no service problems are visible on status map (excluding pop-ups). -- _ _._. _ .|_ (_)| /_(/.(.| ) Tomek Orzechowski ------------------------------------------------------- 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 From sghosh at sghosh.org Mon Sep 2 18:18:29 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 2 Sep 2002 12:18:29 -0400 (EDT) Subject: Quick verification ! In-Reply-To: <200209020857.g828vrs21580@cnes.fr> References: <200209020857.g828vrs21580@cnes.fr> Message-ID: On Mon, 2 Sep 2002, Jose L. Marcos wrote: > Hi all, > > I've managed to configure Nagios to "control" 30 hosts, 300 services... > > While testing the whole thing, something seems wrong to me : I've a host > (hp-ux) for which I've defined a EMS (HP-UX hardware monitor) service in > Nagios based on NSCA (basically EMS sends mails when something is going > wrong on the host, and a small piece of PERL analyze this email, and > eventually "send_nsca" something to Nagios). > > Doing some basic testing, I create a Critical event to be sent to > Nagios, I'd expected my host to "go red" in the status map... but it > didn't. > > Actually Nagios show the host in green (on the status map), with some > services critical. Is this the correct behaviour for Nagios ? Has it > something to deal with some misconfiguration (or misunderstanding of the > configuration) ? > > Thanx in advance for any pointer. Correct behaviour the host only goes red when the host is down or unreachable, otherwise only a service is affected. -sg -- ------------------------------------------------------- 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 From Brian.Ipsen at andebakken.dk Mon Sep 2 20:25:04 2002 From: Brian.Ipsen at andebakken.dk (Brian Ipsen) Date: Mon, 2 Sep 2002 20:25:04 +0200 Subject: Availability ? Message-ID: Hi! What is the data in the "Hostgroup Availability Report" based on ? I have this on my page: Hostgroup 'linux-boxes' Host State Breakdowns: Host % Time Up % Time Down % Time Unreachable % Time Undetermined data 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% laforge 98.943% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 1.057% worf 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% But I wonder why there's no info on the hosts data & worf. Laforge is the host where nagios is running on. Should I install remote daemons (or whatever they are called) on the two other hosts in order to get uptime/availability information from them ?? The system is compiled for storing all possible info in MySQL - the rest is placed in files. The nagioc.log file does not indicate any problems regarding writing info to logfiles etc, so I wonder why only 1 of 3 hosts has uptime present (and the rest undertermined). Regards, /Brian ------------------------------------------------------- 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 From joblow7777 at yahoo.com Mon Sep 2 21:42:47 2002 From: joblow7777 at yahoo.com (jo smith) Date: Mon, 2 Sep 2002 12:42:47 -0700 (PDT) Subject: New question In-Reply-To: <200209020950.54113@grinco.de> References: <200209020950.54113@grinco.de> Message-ID: <20020902194247.89612.qmail@web13007.mail.yahoo.com> Any place in particular in the httpd.conf file? Or can it go anywhere? --- Olaf Greis wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Try to place one of the following lines into your > httpd.conf > > PassEnv LD_LIBRARY_PATH > or > SetEnv LD_LIBRARY_PATH /usr/local/lib > > brdgs > olaf > > Am Montag, 2. September 2002 00:44 schrieb jo smith: > > Well, I've been able to narrow down my error by > > looking at the apache error logs. Here's what > apache > > is saying when I click on the statusmap hyperlink: > > > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open > > failed: No such file or directory > > [Sat Aug 31 09:04:36 2002] [error] [client > > 199.181.234.155] Premature end of script headers: > > /usr/local/nagios/sbin/statusmap.cgi > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: open > > failed: No such file or directory > > [Sat Aug 31 21:26:08 2002] [error] [client > > 199.181.234.90] Premature end of script headers: > > /usr/local/nagios/sbin/statusmap.cgi > > > > libpng12.s0.0 is in /usr/local/lib and > /usr/local/lib > > is in my LD_LIBRARY_PATH, but yet the > statusmap.cgi > > binary is created. Why do I get a statusmap.cgi > > binary created even though this library seems to > be > > missing. What gives? I'm not a software engineer > :-( > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa > qm2HLQ/92ELp5wktg56KOW0= > =8Kow > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From davide.depaoli at labinf.it Tue Sep 3 12:54:42 2002 From: davide.depaoli at labinf.it (Davide Depaoli) Date: Tue, 3 Sep 2002 12:54:42 +0200 Subject: 3d status map name expected error. In-Reply-To: References: Message-ID: <000c01c25338$504bbcd0$8d818dd4@hmssipac.it> Hi to all, I have the same identical problem. -----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, August 15, 2002 3:30 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] 3d status map name expected error. Good morning, k so the 3d status map is a frill but it is still irritating me that it doesn't work for me. if i strip down my hosts, hostgroups, and services so that i have only one entry (snippets below) my 3d status map works. However, when i use my proper configs which include about 1100 hosts, i get the following error from cortona: name expected File: http://10.1.4.19/nagios/cgi-bin/statuswrl.cgi?host=all Line: 34370 Column: 24 What is this telling me? i don't have anything with 34000 lines in it. I read in a previous post that a dot caused a similar problem. i don't have any dots. i have a bunch of hyphens and underscores. The only other thing i can think of is the length of the device name, which in some cases is 47 characters long (e.g. Our-Lady-of-Perpetual-Help-0239-Bell-Switch) i'm not anxious to start half splitting my config files (trying to remove the entry causing the error). thanks in advance, dean ___________________________________________ hosts.cfg snippet: define host{ use generic-host ; Name of host template to use host_name CEC-BellCAT5000 alias BellCAT5000 address 10.1.0.19 check_command check-host-alive max_check_attempts 5 notification_interval 45 notification_period 24x7 notification_options d,r } hostgroups.cfg snippet: # 'Switches' host group definition define hostgroup{ hostgroup_name Switches alias Switches contact_groups ServerAdmins members CEC-BellCAT5000, } services.cfg snippet: # Service definition define service{ use generic-service ; Name of service template to use host_name CEC-BellCAT5000 service_description Port Check-23 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups SwitchAdmins notification_interval 1 notification_period 24x7 notification_options w,u,c,r check_command check_tcp!23 } ------------------------------------------------------- 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 From ellisst at tbh.net Tue Sep 3 13:58:58 2002 From: ellisst at tbh.net (Steve Ellis) Date: Tue, 03 Sep 2002 07:58:58 -0400 Subject: Is the list broken? Message-ID: Thanks to all who replied, I had to re-subscribe to the list.... Steve >>> Riemer Palstra 08/30/02 06:54pm >>> On Fri, 30 Aug 2002, Steve Ellis wrote: > Is anyone able to reply to this, I have had no mail from the list > since 23rd August 2002, the nagios-plug appears fine though??? Errr, working fine here, last message before yours was: From: Paul Kenniston Subject: Re: [Nagios-users] Not Seeing Anything Date: Fri, 30 Aug 2002 11:58:46 -0700 (PDT) ... -- Riemer Palstra | While you're waiting, read the free novel we sent riemer at palstra.com | you. It's a Spanish story about a guy named http://palstra.com | 'Manual'. - Dilbert ------------------------------------------------------- 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 From Sebastian.Heise at edag.de Tue Sep 3 15:36:32 2002 From: Sebastian.Heise at edag.de (Sebastian Heise) Date: Tue, 3 Sep 2002 14:36:32 +0100 Subject: missing CGIs Message-ID: There are a few CGI's missing after installation of Nagios: statusmap.cgi, trends.cgi , histogram.cgi I searched the docs, but the only hint I could find ( @ http://nagios.sourceforge.net/docs/1_0/cgis.html#statusmap_cgi ) doesn't work anymore, since the FAQ was chanced (A searchable FAQ database can now be found online at http://www.nagios.org/faqs. ) Any Ideas? Sebastian ------------------------------------------------------- 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 From Sebastian.Heise at edag.de Tue Sep 3 15:44:36 2002 From: Sebastian.Heise at edag.de (Sebastian Heise) Date: Tue, 3 Sep 2002 14:44:36 +0100 Subject: Antwort: missing CGIs Message-ID: ok, never mind. I was looking for it last week and didn't check today. My answer is right here (since saturday): FAQ: "The statusmap, trends and histogram CGIs are missing or dont work!" ( http://www.nagios.org/faqs/viewfaq.php?faq_id=55 ) :-) THX! Sebastian ------------------------------------------------------- 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 From w.moser at conova.com Tue Sep 3 14:55:35 2002 From: w.moser at conova.com (Wolfgang Moser) Date: Tue, 03 Sep 2002 14:55:35 +0200 Subject: Checking a RealServer Message-ID: <3D74B147.1010407@conova.com> Hi! We have Nagios running and we are very happy with it. Now we are planning to monitor our RealServer, because the Decoder inclines to give up sometimes. Although both processes are running they stoped working together. Now we want Nagios to inform us in this situation. Has anybody an idea how this could work, or is there a PlugIn available. Thanks in advance!! Wolfgang . -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3245 bytes Desc: S/MIME Cryptographic Signature URL: From Volker.Aust at premiere.de Tue Sep 3 14:55:37 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Tue, 3 Sep 2002 14:55:37 +0200 Subject: missing CGIs Message-ID: All CGI's show graphics, so I think there is a problem with the gd-library during ./configure and make all. May be ./configure do not find the header-files or libraries. Have you installed gd-dev? -vol > -----Original Message----- > From: Sebastian Heise [mailto:Sebastian.Heise at edag.de] > Sent: Tuesday, September 03, 2002 3:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] missing CGIs > > > There are a few CGI's missing after installation of Nagios: > statusmap.cgi, trends.cgi , histogram.cgi > > I searched the docs, but the only hint I could find ( @ > http://nagios.sourceforge.net/docs/1_0/cgis.html#statusmap_cgi > ) doesn't > work anymore, since the FAQ was chanced (A searchable FAQ > database can now > be found online at http://www.nagios.org/faqs. ) > > Any Ideas? > > Sebastian > > > > ------------------------------------------------------- > 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 From sghosh at sghosh.org Tue Sep 3 15:03:43 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 3 Sep 2002 09:03:43 -0400 (EDT) Subject: Checking a RealServer In-Reply-To: <3D74B147.1010407@conova.com> References: <3D74B147.1010407@conova.com> Message-ID: On Tue, 3 Sep 2002, Wolfgang Moser wrote: > Hi! > > We have Nagios running and we are very happy with it. > Now we are planning to monitor our RealServer, because the Decoder > inclines to give up sometimes. Although both processes are running they > stoped working together. Now we want Nagios to inform us in this > situation. Has anybody an idea how this could work, or is there a PlugIn > available. > > Thanks in advance!! > > Wolfgang > . > plugins/check_real will grep for a string (default RTSP/1. ) in the first response line from the real server. -- -sg ------------------------------------------------------- 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 From Bernhard.Verstege at hik.fzk.de Tue Sep 3 15:11:13 2002 From: Bernhard.Verstege at hik.fzk.de (Verstege, Bernhard) Date: Tue, 3 Sep 2002 15:11:13 +0200 Subject: AW: missing CGIs Message-ID: Hi, you have to install gd-devel, zlib-devel and libpng-devel then make clean ./configure ..... make all etc. Gru? B. Verstege ------------------------------------------------------------------------- Bernhard Verstege Forschungszentrum Karlsruhe GmbH Abt. HIK Technik und Umwelt Hermann-von-Helmholtz-Platz 1 Tel.: 0049 7247-82-5665 D-76344 Eggenstein-Leopoldshafen Fax.: 0049 7247-82-4972 email: verstege at hik.fzk.de >-----Urspr?ngliche Nachricht----- >Von: Sebastian Heise [mailto:Sebastian.Heise at edag.de] >Gesendet: Dienstag, 3. September 2002 15:37 >An: nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] missing CGIs > > >There are a few CGI's missing after installation of Nagios: >statusmap.cgi, trends.cgi , histogram.cgi > >I searched the docs, but the only hint I could find ( @ >http://nagios.sourceforge.net/docs/1_0/cgis.html#statusmap_cgi >) doesn't >work anymore, since the FAQ was chanced (A searchable FAQ >database can now >be found online at http://www.nagios.org/faqs. ) > >Any Ideas? > >Sebastian > > > >------------------------------------------------------- >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 From jasonm at kelman.com Tue Sep 3 16:35:17 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 3 Sep 2002 08:35:17 -0600 (MDT) Subject: Is this possible? In-Reply-To: References: Message-ID: > > script. I'd like to feed the information from the script > > into nagios.cmd. > > > > Can this be done??? > > Yes, take a look at NSCA (Nagios Service Check Acceptor). You find it under > Addons on the Nagios download page. Perhaps I haven't made myself clear. I know all about NSCA, and I know all about being able to write commands to the external command file. What I need to know is whether there is a distinction between host-checking commands and service-checking commands when writing to the command file with a "PROCESS_SERVICE_CHECK_RESULT" command. It seems to work for individual services, but I want to UP/DOWN the remote _HOST_ rather than each of its services individually, from a script that runs on the monitoring host. --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From joblow7777 at yahoo.com Tue Sep 3 16:50:32 2002 From: joblow7777 at yahoo.com (jo smith) Date: Tue, 3 Sep 2002 07:50:32 -0700 (PDT) Subject: New question In-Reply-To: <20020902194247.89612.qmail@web13007.mail.yahoo.com> References: <20020902194247.89612.qmail@web13007.mail.yahoo.com> Message-ID: <20020903145032.7212.qmail@web13001.mail.yahoo.com> Hi Olaf. I put those lines into the httpd.conf file. I'm getting this error now: ld: warning: file libucb.so.1: required by /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, not found gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI trends.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 -o trends.cgi ld: warning: file libucb.so.1: required by /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, not found gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI histogram.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 -o histogram.cgi ld: warning: file libucb.so.1: required by /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, not found Now what? THanks for all the help! --- jo smith wrote: > Any place in particular in the httpd.conf file? Or > can it go anywhere? > --- Olaf Greis wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Try to place one of the following lines into your > > httpd.conf > > > > PassEnv LD_LIBRARY_PATH > > or > > SetEnv LD_LIBRARY_PATH /usr/local/lib > > > > brdgs > > olaf > > > > Am Montag, 2. September 2002 00:44 schrieb jo > smith: > > > Well, I've been able to narrow down my error by > > > looking at the apache error logs. Here's what > > apache > > > is saying when I click on the statusmap > hyperlink: > > > > > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: > open > > > failed: No such file or directory > > > [Sat Aug 31 09:04:36 2002] [error] [client > > > 199.181.234.155] Premature end of script > headers: > > > /usr/local/nagios/sbin/statusmap.cgi > > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: > open > > > failed: No such file or directory > > > [Sat Aug 31 21:26:08 2002] [error] [client > > > 199.181.234.90] Premature end of script headers: > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > libpng12.s0.0 is in /usr/local/lib and > > /usr/local/lib > > > is in my LD_LIBRARY_PATH, but yet the > > statusmap.cgi > > > binary is created. Why do I get a statusmap.cgi > > > binary created even though this library seems to > > be > > > missing. What gives? I'm not a software > engineer > > :-( > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.6 (GNU/Linux) > > Comment: For info see http://www.gnupg.org > > > > > iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa > > qm2HLQ/92ELp5wktg56KOW0= > > =8Kow > > -----END PGP SIGNATURE----- > > > > > > > > > ------------------------------------------------------- > > 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From mijakscht at vit.de Tue Sep 3 17:01:34 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 3 Sep 2002 17:01:34 +0200 Subject: Nagios with HP-UX 11.0 Message-ID: Hi ! I have one question: I want to monitor a HP-Unix 11.0 machine with Nagios or let's say the plugin which can do this for me. Is there a chance that nrpe can do this? I have the nrpe installed on several linux-servers and it works great. What do I need to get nrpe (if this is the right one) compiled on the HP-UX ? Please would anyone be so kind and help me out here? Thanx! Michael ------------------------------------------------------- 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 From jasonm at kelman.com Tue Sep 3 17:04:29 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 3 Sep 2002 09:04:29 -0600 (MDT) Subject: New question In-Reply-To: <20020903145032.7212.qmail@web13001.mail.yahoo.com> References: <20020903145032.7212.qmail@web13001.mail.yahoo.com> Message-ID: Now you need to add the directory that libucb is in to the SetEnv line you just added -- actually, you might be better off just doing an "echo $LD_LIBRARY_PATH" in your shell, and setting the LD_LIBRARY_PATH in httpd.conf to that value, minus any stuff you know you don't need in there. > I put those lines into the httpd.conf file. I'm > getting this error now: > > ld: warning: file libucb.so.1: required by > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > not found > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI trends.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 -o > trends.cgi > ld: warning: file libucb.so.1: required by > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > not found > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI histogram.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 -o histogram.cgi > ld: warning: file libucb.so.1: required by > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > not found > > Now what? THanks for all the help! > --- jo smith wrote: > > Any place in particular in the httpd.conf file? Or > > can it go anywhere? > > --- Olaf Greis wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Try to place one of the following lines into your > > > httpd.conf > > > > > > PassEnv LD_LIBRARY_PATH > > > or > > > SetEnv LD_LIBRARY_PATH /usr/local/lib > > > > > > brdgs > > > olaf > > > > > > Am Montag, 2. September 2002 00:44 schrieb jo > > smith: > > > > Well, I've been able to narrow down my error by > > > > looking at the apache error logs. Here's what > > > apache > > > > is saying when I click on the statusmap > > hyperlink: > > > > > > > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: > > open > > > > failed: No such file or directory > > > > [Sat Aug 31 09:04:36 2002] [error] [client > > > > 199.181.234.155] Premature end of script > > headers: > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > ld.so.1: statusmap.cgi: fatal: libpng12.so.0: > > open > > > > failed: No such file or directory > > > > [Sat Aug 31 21:26:08 2002] [error] [client > > > > 199.181.234.90] Premature end of script headers: > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > > > libpng12.s0.0 is in /usr/local/lib and > > > /usr/local/lib > > > > is in my LD_LIBRARY_PATH, but yet the > > > statusmap.cgi > > > > binary is created. Why do I get a statusmap.cgi > > > > binary created even though this library seems to > > > be > > > > missing. What gives? I'm not a software > > engineer > > > :-( > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.0.6 (GNU/Linux) > > > Comment: For info see http://www.gnupg.org > > > > > > > > > iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa > > > qm2HLQ/92ELp5wktg56KOW0= > > > =8Kow > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From Daniel.Rusch at GlobalCrossing.com Tue Sep 3 18:19:40 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Tue, 3 Sep 2002 12:19:40 -0400 Subject: Debug mode? Message-ID: <0DA06E553C3BD511823500508BB8965A020120A2@exnadetmbx3.ams.gblxint.com> Can Nagios be run in a debug mode? I need to see exactly what the command is that nagios is running. I can run the a command from the command line but nagios can't execute it and I'd like to see what nagios is trying to execute -----Original Message----- From: Michael Jakscht [mailto:mijakscht at vit.de] Sent: Tuesday, September 03, 2002 10:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios with HP-UX 11.0 Hi ! I have one question: I want to monitor a HP-Unix 11.0 machine with Nagios or let's say the plugin which can do this for me. Is there a chance that nrpe can do this? I have the nrpe installed on several linux-servers and it works great. What do I need to get nrpe (if this is the right one) compiled on the HP-UX ? Please would anyone be so kind and help me out here? Thanx! Michael ------------------------------------------------------- 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 From TGFurnish at herff-jones.com Tue Sep 3 18:35:46 2002 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Tue, 3 Sep 2002 11:35:46 -0500 Subject: easy question, ns -> nagios, where did 'acknowledge' go? Message-ID: <5D8D9455134FD211AE4900A0C9DED11E0773F8F1@indy1ntm.herff-jones.com> I'm sure this will be an easy question for someone, but I've been staring at it too long to figure out the following question: where has the "Acknowledge this service problem" functionality from Netsaint gone in Nagios? I have the following choices for a critical service. Is this what everyone else sees as well? Disable Service Notifications Delay Next Service Notification Schedule Downtime For This Service Disable Checks Of This Service Re-schedule Next Service Check Submit Passive Check Result For This Service Stop Accepting Passive Checks For This Service Disable Event Handler For This Service Disable Flap Detection For This Service Has the old functionality been folded into "Schedule Downtime For This Service"? Or somewhere else? Or am I completely lost? :-) -- trever ------------------------------------------------------- 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 From joblow7777 at yahoo.com Tue Sep 3 19:22:15 2002 From: joblow7777 at yahoo.com (jo smith) Date: Tue, 3 Sep 2002 10:22:15 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020903172215.75134.qmail@web13001.mail.yahoo.com> Hi Jason. So are you saying to add a line like this (hope this email doesn't line break, but the following is one long line): PassEnv LD_LIBRARY_PATH /usr/local/lib:/usr/openwin/lib:/usr/ucblib to the httpd.conf file? Just wanted to make sure I have the syntax correct. --- Jason Marshall wrote: > Now you need to add the directory that libucb is in > to the SetEnv line you > just added -- actually, you might be better off just > doing an "echo > $LD_LIBRARY_PATH" in your shell, and setting the > LD_LIBRARY_PATH in > httpd.conf to that value, minus any stuff you know > you don't need in > there. > > > I put those lines into the httpd.conf file. I'm > > getting this error now: > > > > ld: warning: file libucb.so.1: required by > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > not found > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI trends.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 -o > > trends.cgi > > ld: warning: file libucb.so.1: required by > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > not found > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI histogram.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 -o histogram.cgi > > ld: warning: file libucb.so.1: required by > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > not found > > > > Now what? THanks for all the help! > > --- jo smith wrote: > > > Any place in particular in the httpd.conf file? > Or > > > can it go anywhere? > > > --- Olaf Greis wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Try to place one of the following lines into > your > > > > httpd.conf > > > > > > > > PassEnv LD_LIBRARY_PATH > > > > or > > > > SetEnv LD_LIBRARY_PATH /usr/local/lib > > > > > > > > brdgs > > > > olaf > > > > > > > > Am Montag, 2. September 2002 00:44 schrieb jo > > > smith: > > > > > Well, I've been able to narrow down my error > by > > > > > looking at the apache error logs. Here's > what > > > > apache > > > > > is saying when I click on the statusmap > > > hyperlink: > > > > > > > > > > ld.so.1: statusmap.cgi: fatal: > libpng12.so.0: > > > open > > > > > failed: No such file or directory > > > > > [Sat Aug 31 09:04:36 2002] [error] [client > > > > > 199.181.234.155] Premature end of script > > > headers: > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > ld.so.1: statusmap.cgi: fatal: > libpng12.so.0: > > > open > > > > > failed: No such file or directory > > > > > [Sat Aug 31 21:26:08 2002] [error] [client > > > > > 199.181.234.90] Premature end of script > headers: > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > > > > > libpng12.s0.0 is in /usr/local/lib and > > > > /usr/local/lib > > > > > is in my LD_LIBRARY_PATH, but yet the > > > > statusmap.cgi > > > > > binary is created. Why do I get a > statusmap.cgi > > > > > binary created even though this library > seems to > > > > be > > > > > missing. What gives? I'm not a software > > > engineer > > > > :-( > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.0.6 (GNU/Linux) > > > > Comment: For info see http://www.gnupg.org > > > > > > > > > > > > > > iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa > > > > qm2HLQ/92ELp5wktg56KOW0= > > > > =8Kow > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 > > > > --- > 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: 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 > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 3 20:01:20 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 3 Sep 2002 14:01:20 -0400 (EDT) Subject: Debug mode? In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120A2@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120A2@exnadetmbx3.ams.gblxint.com> Message-ID: On Tue, 3 Sep 2002, Rusch, Daniel wrote: > Can Nagios be run in a debug mode? I need to see exactly what the command > is that nagios is running. I can run the a command from the command line > but nagios can't execute it and I'd like to see what nagios is trying to > execute > You have to compile it with the DEBUGx flag enabled. There is no runtime switch. -- -sg ------------------------------------------------------- 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 From russell at quadrix.com Tue Sep 3 20:03:31 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 03 Sep 2002 14:03:31 -0400 Subject: Init script issue Message-ID: <3D74F973.1090204@quadrix.com> There is a problem with the Nagios init script. A little while back, Paul (the other person working on Nagios here) noticed that the killproc function in the init script never ran because there is a killrpoc function included in the /etc/(rc.d)/init.d/functions that the script inherits. This was later fixed by changing the name of the function to killproc_nagios (as it is now in 1.0b5). However, the same problem exists (at least in RedHat) when you try to do /etc/init.d/nagios status. status is also an inherited function, so the status function that is written in the init.d script nevers runs. You will get a status output, but not the right one. If you are getting a message like: nagios (pid 111 222 333.....) is running then the wrong status function is being called. The real output should be a one line ps result (ps -p $NagiosPID if you look in the script). You can fix this one of two ways. The quickest is to change any reference to "status" to "status_nagios" the same way the killproc problem was fixed. The other way is to remove or comment out this section of the script: if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi This will make sure any function called will run the actual function in the init script, not the built-in Linux function. There seems to be no problem with commenting out these lines (I'm running the script just fine). So unless someone can tell me when these are necessary, you can remove them and the script will work as it should. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- 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 From Daniel.Rusch at GlobalCrossing.com Tue Sep 3 20:03:01 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Tue, 3 Sep 2002 14:03:01 -0400 Subject: Debug mode? Message-ID: <0DA06E553C3BD511823500508BB8965A020120A6@exnadetmbx3.ams.gblxint.com> Thanks, do you know what features I'll get if I re-compile with the flag? -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Tuesday, September 03, 2002 1:01 PM To: Rusch, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Debug mode? On Tue, 3 Sep 2002, Rusch, Daniel wrote: > Can Nagios be run in a debug mode? I need to see exactly what the command > is that nagios is running. I can run the a command from the command line > but nagios can't execute it and I'd like to see what nagios is trying to > execute > You have to compile it with the DEBUGx flag enabled. There is no runtime switch. -- -sg ------------------------------------------------------- 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 From TGFurnish at herff-jones.com Tue Sep 3 20:14:14 2002 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Tue, 3 Sep 2002 13:14:14 -0500 Subject: easy question, ns -> nagios, where did 'acknow ledge' go? - FIXED Message-ID: <5D8D9455134FD211AE4900A0C9DED11E0773F8F6@indy1ntm.herff-jones.com> Brainfart. Thanks to Jeremy Tinley and Jim Carroll for their help and for reminding me that the acknowledge link isn't there until the service is in a hard state. > -----Original Message----- > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com] > Sent: Tuesday, September 03, 2002 11:36 AM > To: 'Nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] easy question, ns -> nagios, where did > 'acknowledge' go? > > > I'm sure this will be an easy question for someone, but I've > been staring at > it too long to figure out the following question: where has > the "Acknowledge > this service problem" functionality from Netsaint gone in Nagios? > > I have the following choices for a critical service. Is this > what everyone > else sees as well? > > Disable Service Notifications > Delay Next Service Notification > Schedule Downtime For This Service > Disable Checks Of This Service > Re-schedule Next Service Check > Submit Passive Check Result For This Service > Stop Accepting Passive Checks For This Service > Disable Event Handler For This Service > Disable Flap Detection For This Service > > Has the old functionality been folded into "Schedule Downtime For This > Service"? Or somewhere else? Or am I completely lost? :-) > > -- > trever > > > ------------------------------------------------------- > 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 From jasonm at kelman.com Tue Sep 3 20:22:09 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 3 Sep 2002 12:22:09 -0600 (MDT) Subject: New question In-Reply-To: <20020903172215.75134.qmail@web13001.mail.yahoo.com> References: <20020903172215.75134.qmail@web13001.mail.yahoo.com> Message-ID: I think that's right. > So are you saying to add a line like this (hope this > email doesn't line break, but the following is one > long line): > > PassEnv LD_LIBRARY_PATH > /usr/local/lib:/usr/openwin/lib:/usr/ucblib > > to the httpd.conf file? Just wanted to make sure I > have the syntax correct. > > --- Jason Marshall wrote: > > Now you need to add the directory that libucb is in > > to the SetEnv line you > > just added -- actually, you might be better off just > > doing an "echo > > $LD_LIBRARY_PATH" in your shell, and setting the > > LD_LIBRARY_PATH in > > httpd.conf to that value, minus any stuff you know > > you don't need in > > there. > > > > > I put those lines into the httpd.conf file. I'm > > > getting this error now: > > > > > > ld: warning: file libucb.so.1: required by > > > > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > > not found > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI trends.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 -o > > > trends.cgi > > > ld: warning: file libucb.so.1: required by > > > > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > > not found > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI histogram.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 -o histogram.cgi > > > ld: warning: file libucb.so.1: required by > > > > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libpng.so, > > > not found > > > > > > Now what? THanks for all the help! > > > --- jo smith wrote: > > > > Any place in particular in the httpd.conf file? > > Or > > > > can it go anywhere? > > > > --- Olaf Greis wrote: > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > Hash: SHA1 > > > > > > > > > > Try to place one of the following lines into > > your > > > > > httpd.conf > > > > > > > > > > PassEnv LD_LIBRARY_PATH > > > > > or > > > > > SetEnv LD_LIBRARY_PATH /usr/local/lib > > > > > > > > > > brdgs > > > > > olaf > > > > > > > > > > Am Montag, 2. September 2002 00:44 schrieb jo > > > > smith: > > > > > > Well, I've been able to narrow down my error > > by > > > > > > looking at the apache error logs. Here's > > what > > > > > apache > > > > > > is saying when I click on the statusmap > > > > hyperlink: > > > > > > > > > > > > ld.so.1: statusmap.cgi: fatal: > > libpng12.so.0: > > > > open > > > > > > failed: No such file or directory > > > > > > [Sat Aug 31 09:04:36 2002] [error] [client > > > > > > 199.181.234.155] Premature end of script > > > > headers: > > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > ld.so.1: statusmap.cgi: fatal: > > libpng12.so.0: > > > > open > > > > > > failed: No such file or directory > > > > > > [Sat Aug 31 21:26:08 2002] [error] [client > > > > > > 199.181.234.90] Premature end of script > > headers: > > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > > > > > > > libpng12.s0.0 is in /usr/local/lib and > > > > > /usr/local/lib > > > > > > is in my LD_LIBRARY_PATH, but yet the > > > > > statusmap.cgi > > > > > > binary is created. Why do I get a > > statusmap.cgi > > > > > > binary created even though this library > > seems to > > > > > be > > > > > > missing. What gives? I'm not a software > > > > engineer > > > > > :-( > > > > > -----BEGIN PGP SIGNATURE----- > > > > > Version: GnuPG v1.0.6 (GNU/Linux) > > > > > Comment: For info see http://www.gnupg.org > > > > > > > > > > > > > > > > > > > > iD8DBQE9cxhV6M72XLtdDtsRAmPkAJ4+17QIsuFiCkAybC8u8BWqp3BvqQCdHsFa > > > > > qm2HLQ/92ELp5wktg56KOW0= > > > > > =8Kow > > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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 > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Finance - Get real-time stock quotes > > > > http://finance.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > --- > > 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: 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 > > > === message truncated === > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From joblow7777 at yahoo.com Tue Sep 3 21:37:44 2002 From: joblow7777 at yahoo.com (jo smith) Date: Tue, 3 Sep 2002 12:37:44 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020903193744.61576.qmail@web13007.mail.yahoo.com> Hey, it works. I tried using both SetEnv and PassEnv in the httpd.conf file. After setting those, statusmap.cgi trends.cgi and tac.cgi started working! One last question if I may. I'm now getting this error: [Tue Sep 3 12:11:20 2002] [error] [client 1.1.2.185] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi libpng warning: Application was compiled with png.h from libpng-1.0.6 libpng warning: Application is running with png.c from libpng-1.2.4 gd-png: fatal libpng error: Incompatible libpng version in application and library I'm so close and so many thanks for the quick and accurate responses from everybody. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 3 21:54:36 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 3 Sep 2002 15:54:36 -0400 (EDT) Subject: Debug mode? In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120A6@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120A6@exnadetmbx3.ams.gblxint.com> Message-ID: --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 On Tue, 3 Sep 2002, Rusch, Daniel wrote: > Thanks, do you know what features I'll get if I re-compile with the flag? > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, September 03, 2002 1:01 PM > To: Rusch, Daniel > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Debug mode? > > > On Tue, 3 Sep 2002, Rusch, Daniel wrote: > > > Can Nagios be run in a debug mode? I need to see exactly what the command > > is that nagios is running. I can run the a command from the command line > > but nagios can't execute it and I'd like to see what nagios is trying to > > execute > > > > You have to compile it with the DEBUGx flag enabled. There is no runtime > switch. > > -- > > -sg > -- ------------------------------------------------------- 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 From greis at grinco.de Tue Sep 3 22:12:22 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 3 Sep 2002 22:12:22 +0200 Subject: New question In-Reply-To: <20020903193744.61576.qmail@web13007.mail.yahoo.com> References: <20020903193744.61576.qmail@web13007.mail.yahoo.com> Message-ID: <200209032212.22845@grinco.de> Am Dienstag, 3. September 2002 21:37 schrieb jo smith: > Hey, it works. I tried using both SetEnv and PassEnv > in the httpd.conf file. After setting those, > statusmap.cgi trends.cgi and tac.cgi started working! > > One last question if I may. I'm now getting this > error: > > [Tue Sep 3 12:11:20 2002] [error] [client 1.1.2.185] > Premature end of script headers: > /usr/local/nagios/sbin/statusmap.cgi > libpng warning: Application was compiled with png.h > from libpng-1.0.6 > libpng warning: Application is running with png.c > from libpng-1.2.4 > gd-png: fatal libpng error: Incompatible libpng > version in application and library > > I'm so close and so many thanks for the quick and > accurate responses from everybody. looks like you have a different version of libpng on your productionsystem than on your development system (or two versions of libpng on the same system ;) you either have to recompile nagios with 1.2.4 or to downgrade the production system from libpng-1.2.4 to libpng-1.0.6. i think a recomplie will be best. brgds olaf ------------------------------------------------------- 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 From greis at grinco.de Tue Sep 3 22:16:40 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 3 Sep 2002 22:16:40 +0200 Subject: nrpe environment settings Message-ID: <200209032215.34595@grinco.de> hi, today i noticed, that nrpe 1.5 apparently doesn't pass its environment (esp. LD_LIBRARY_PATH) to the check commangs. since i could find about as many reasons why it shoul pass those as reasons why it should not, i'm curious wheter it's a bug or a feature. brgds olaf ------------------------------------------------------- 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 From Brian.Ipsen at andebakken.dk Tue Sep 3 22:56:38 2002 From: Brian.Ipsen at andebakken.dk (Brian Ipsen) Date: Tue, 3 Sep 2002 22:56:38 +0200 Subject: SNMP Traps locally on the nagios host ? Message-ID: Hi! I know the issue of handling SNMP traps has been discussed in the documentation, but it is about receiving the traps on another host than the one running Nagios - and then forwarding the info. But what if the SNMP traps are sent to the host, that nagios is running on (that is, the nagios host is running the snmptrapd) ?? What is the easiest way to handle snmp traps then ? /Brian ------------------------------------------------------- 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 From Richard.Wu at fusepoint.com Wed Sep 4 01:42:04 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Tue, 3 Sep 2002 16:42:04 -0700 Subject: maximum running time for NSclient on W2K Message-ID: <77F055FA968580429F4546414D8C10E707FBE4@s102b.rhcci.net> Hi, I am planning to implement the NSclient for monitoring the CPU/MEM/DISK on W2K servers via nagios and would like to know how long can NSClient be kept running without restarting the W2K server or pNSclient service ( I heard a lot memory problem regarding the NSclient before). Any trick is welcomed. Thanks, Richard Wu ------------------------------------------------------- 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 From sghosh at sghosh.org Wed Sep 4 04:00:38 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 3 Sep 2002 22:00:38 -0400 (EDT) Subject: SNMP Traps locally on the nagios host ? In-Reply-To: References: Message-ID: On Tue, 3 Sep 2002, Brian Ipsen wrote: > Hi! > > I know the issue of handling SNMP traps has been discussed in the > documentation, but it is about receiving the traps on another host than the > one running Nagios - and then forwarding the info. > But what if the SNMP traps are sent to the host, that nagios is running on > (that is, the nagios host is running the snmptrapd) ?? What is the easiest > way to handle snmp traps then ? > > /Brian > NCSA / send ncsa - submit passive result checks across the network. -- -sg ------------------------------------------------------- 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 From g.vickers at qut.edu.au Wed Sep 4 05:31:45 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 04 Sep 2002 13:31:45 +1000 Subject: The nagios debian package in unstable Message-ID: <5.1.0.14.2.20020904132701.00b138e0@pop.qut.edu.au> Hi all, I've just installed the nagios-text .deb package from the debian unstable distro. It requires libdb.v2. If you don't have libdb2 installed, (latest is v3) you can install the package libdb1-compat package for backwards compatibility. ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 From andrew_kemp at pacific.net.au Wed Sep 4 05:45:53 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Wed, 4 Sep 2002 13:45:53 +1000 Subject: Availability reporting rounding error Message-ID: <005001c253c5$91b22870$758317d2@ozpacnet.office.pacific.net.au> Greetings, I believe I have discovered a rounding error in the availability reporting for hosts and services. We calculate an outage as the time spent in unscheduled UNKNOWN and CRITICAL for services and time spent in unscheduled DOWN and UNREACHABLE for hosts. I have just been calculating the outages for our hosts and services for the past month, dumped as an CSV file, where I discovered the error. Nagios appears to have a rounding error as the values for these fields is 4.29E+09 in excel (last few digits slightly different) or 49710d 4h 44m 34s for Unscheduled DOWN in the availability CGI. This is for all hosts that have not been down and services on these hosts. I leave the default of 'unspecified' for a starting value. Regards, Andrew ------------------------------------------------------- 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 From M.J.Hulsman01 at rf.rabobank.nl Wed Sep 4 08:34:16 2002 From: M.J.Hulsman01 at rf.rabobank.nl (Hulsman, MJ (Mike)) Date: Wed, 4 Sep 2002 08:34:16 +0200 Subject: New question Message-ID: <116B47513396464-176@_rabobank.nl_> What you could also do is set the environment variable "LD_RUN_PATH=/usr/lib:/usr/local/lib" before you do the compilation. By this way you compile it into the binary cgi's. Or you can use crle (configure runtime linking environment) on solaris, this is like the /etc/ld.so.conf in linux. >From the man page, man crle(1): Defining alternative default search paths can be useful for administrators who wish to install third party software in a central location, or otherwise alter the search path of applications that may not have been coded with suitable run- paths. Defining user supplied alternative objects provides a means of replacing dependencies other than via symbolic links or requiring LD_LIBRARY_PATH settings. Hope this helps you. Met vriendelijke groet, Mike Hulsman > -----Oorspronkelijk bericht----- > Van: Olaf Greis [mailto:greis at grinco.de] > Verzonden: dinsdag 3 september 2002 22:12 > Aan: Nagios-users at lists.sourceforge.net > Onderwerp: Re: [Nagios-users] New question > > > Am Dienstag, 3. September 2002 21:37 schrieb jo smith: > > Hey, it works. I tried using both SetEnv and PassEnv > > in the httpd.conf file. After setting those, > > statusmap.cgi trends.cgi and tac.cgi started working! > > > > One last question if I may. I'm now getting this > > error: > > > > [Tue Sep 3 12:11:20 2002] [error] [client 1.1.2.185] > > Premature end of script headers: > > /usr/local/nagios/sbin/statusmap.cgi > > libpng warning: Application was compiled with png.h > > from libpng-1.0.6 > > libpng warning: Application is running with png.c > > from libpng-1.2.4 > > gd-png: fatal libpng error: Incompatible libpng > > version in application and library > > > > I'm so close and so many thanks for the quick and > > accurate responses from everybody. > > looks like you have a different version of libpng on your > productionsystem > than on your development system (or two versions of libpng on > the same system > ;) > > you either have to recompile nagios with 1.2.4 or to > downgrade the production > system from libpng-1.2.4 to libpng-1.0.6. i think a recomplie > will be best. > > brgds > olaf > > > ------------------------------------------------------- > 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 > > ================================================ De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================ The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ------------------------------------------------------- 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 From naoki at valuecommerce.ne.jp Wed Sep 4 09:13:37 2002 From: naoki at valuecommerce.ne.jp (Naoki) Date: Wed, 04 Sep 2002 16:13:37 +0900 Subject: Groups of hostgroups. Message-ID: <3D75B2A1.4050806@valuecommerce.ne.jp> I would like to define a hostgroup as having hostgroups as members. Is this possible?? -n. ------------------------------------------------------- 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 From jose-louis.marcos at cnes.fr Wed Sep 4 09:18:25 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Wed, 04 Sep 2002 09:18:25 +0200 Subject: Nagios with HP-UX 11.0 References: Message-ID: <200209040718.g847IRB12707@cnes.fr> Michael Jakscht wrote: > > Hi ! > > I have one question: I want to monitor a HP-Unix 11.0 > machine with Nagios or let's say the plugin which can > do this for me. > Is there a chance that nrpe can do this? > I have the nrpe installed on several linux-servers and > it works great. > What do I need to get nrpe (if this is the right one) compiled > on the HP-UX ? > > Please would anyone be so kind and help me out here? Hi, I mainly monitor HP-UX boxes (HP-UX 11.0) at our site. For each box I "active_check" file systems through a contrib plugin : check_hprsc. To use this one, you don't need anything to be installed on the HP-UX box (it's based on snmpget). I also use NSCA to monitor Performance (MWA) : I modified /var/opt/perf/alarmdef to "send_nsca" back to Nagios any alarm on CPU and Network Bottleneck. And finaly, I also handle EMS Hardware Monitor Notifications back to Nagios : basicaly, every EMS Notification >= MAJORWARNING are sent to a mail alias with a Perl script thats "send_nsca" back to Nagios any Major, Seriour or Critical state. NSCA compiles fine on a HP-UX box (I use version 2.1). Hope this help -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 From g.vickers at qut.edu.au Wed Sep 4 09:33:04 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 04 Sep 2002 17:33:04 +1000 Subject: Configuration problem Message-ID: <5.1.0.14.2.20020904172931.00b138e0@pop.qut.edu.au> Hi All, I've been making progress installing the nagios-text package from the unstable debian distro, and have reached a problem: When I click on any of the cgi links on the left side of the main page, I get the auth request (which works now, thank god!) and then IE thinks that i'm downloading the xxxx.cgi file?? I bet that it's something obvious, but i've been staring at this screen all day now so i'm going home and appealing to all you people for HELP PLEASE! :) Ta, ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 From Lars.Stavholm at telcotec.se Wed Sep 4 10:57:20 2002 From: Lars.Stavholm at telcotec.se (Lars Stavholm) Date: Wed, 04 Sep 2002 10:57:20 +0200 Subject: maximum running time for NSclient on W2K References: <77F055FA968580429F4546414D8C10E707FBE4@s102b.rhcci.net> Message-ID: <3D75CAF0.4020306@telcotec.se> Richard Wu wrote: > Hi, > > I am planning to implement the NSclient for monitoring the CPU/MEM/DISK > on W2K servers via nagios and would like to know how long can > NSClient be kept running without restarting the W2K server > or pNSclient service ( I heard a lot memory problem regarding the NSclient > before). Any trick is welcomed. SNMP seems like a good trick. Use the check_snmp plugin. Check out http://mibcentral.com for the values you can find on a Microsoft box. Turns out that at least on a W2K box the CPU/MEM/DISC values can be retrieved in one way or the other using SNMP. Of course you'll need the UCD SNMP package or something similar installed on the nagios server, but on the other hand: you don't need to install anything on the PC(s). /Lars.Stavholm at telcotec.se ------------------------------------------------------- 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 From ralf.lebeda at ezi.de Wed Sep 4 12:27:13 2002 From: ralf.lebeda at ezi.de (ralf.lebeda at ezi.de) Date: Wed, 4 Sep 2002 12:27:13 +0200 Subject: Image Problems Message-ID: Hi, how could I get the fancy ICONS to work?? In CGI.CFG ... xedtemplate_config_file=/etc/nagios/hostextinfo.cfg .... In HOSTEXTINFO.CFG ... define hostextinfo[ host_name rubin icon_image linux40.png icon_image_alt Suse Linux vrml_image linux40.png # statusmap_image linux40.gd2 gd2_image linux40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } .... compiled with ./configure --with-template-extinfo --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-nagios-user=daemon --with-nagios-grp=daemon --with-default-status --with-default-comments --with-template-objects --with-default-retention --with-default-perfdata --with-default-downtime --enable-embedded-perl Thanks --------- Ralf Lebeda E-Mail: ralf.lebeda at ezi.de IT - Administration EZI GmbH URL: WWW.EZI.DE Kreuzgasse 42 D-35708 Haiger Tel.: +49 (0)2773-835135 Fax: +49 (0)2773-835195 ------------------------------------------------------- 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 From sghosh at sghosh.org Wed Sep 4 15:07:47 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 09:07:47 -0400 (EDT) Subject: maximum running time for NSclient on W2K In-Reply-To: <3D75CAF0.4020306@telcotec.se> References: <3D75CAF0.4020306@telcotec.se> Message-ID: On Wed, 4 Sep 2002, Lars Stavholm wrote: > Richard Wu wrote: > > > Hi, > > > > I am planning to implement the NSclient for monitoring the CPU/MEM/DISK > > on W2K servers via nagios and would like to know how long can > > NSClient be kept running without restarting the W2K server > > or pNSclient service ( I heard a lot memory problem regarding the NSclient > > before). Any trick is welcomed. > > SNMP seems like a good trick. Use the check_snmp plugin. Check out > http://mibcentral.com for the values you can find on a Microsoft box. > Turns out that at least on a W2K box the CPU/MEM/DISC values can be > retrieved in one way or the other using SNMP. Of course you'll need > the UCD SNMP package or something similar installed on the nagios server, > but on the other hand: you don't need to install anything on the PC(s). > > /Lars.Stavholm at telcotec.se > SNMP works, but Win2k snmp is only v1 and and no way to setup views and access control. Win2k SNMP also exposes all the account information on the local system... Just be sure your Win2k machines on a secure net before enabling SNMP. -- -sg ------------------------------------------------------- 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 From TGFurnish at herff-jones.com Wed Sep 4 15:22:00 2002 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 4 Sep 2002 08:22:00 -0500 Subject: Nagios with HP-UX 11.0 Message-ID: <5D8D9455134FD211AE4900A0C9DED11E0773F8FA@indy1ntm.herff-jones.com> What compiler do you use, Jose? I had problems with the HP compilers I tried in the past so I was preparing to use the version of gcc released with the "Linux to hp-ux porting kit version 1.0". It would be nice to know if that shouldn't be necessary. Thanks in advance. > -----Original Message----- > From: Jose L. Marcos [mailto:jose-louis.marcos at cnes.fr] > Sent: Wednesday, September 04, 2002 2:18 AM > To: Michael Jakscht > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios with HP-UX 11.0 > > > Michael Jakscht wrote: > > > > Hi ! > > > > I have one question: I want to monitor a HP-Unix 11.0 > > machine with Nagios or let's say the plugin which can > > do this for me. > > Is there a chance that nrpe can do this? > > I have the nrpe installed on several linux-servers and > > it works great. > > What do I need to get nrpe (if this is the right one) compiled > > on the HP-UX ? > > > > Please would anyone be so kind and help me out here? > > Hi, > > I mainly monitor HP-UX boxes (HP-UX 11.0) at our site. For each box I > "active_check" file systems through a contrib plugin : > check_hprsc. To > use this one, you don't need anything to be installed on the > HP-UX box > (it's based on snmpget). > > I also use NSCA to monitor Performance (MWA) : I modified > /var/opt/perf/alarmdef to "send_nsca" back to Nagios any alarm on CPU > and Network Bottleneck. > > And finaly, I also handle EMS Hardware Monitor Notifications back to > Nagios : basicaly, every EMS Notification >= MAJORWARNING are > sent to a > mail alias with a Perl script thats "send_nsca" back to Nagios any > Major, Seriour or Critical state. > > NSCA compiles fine on a HP-UX box (I use version 2.1). > > Hope this help > > -- > Jose Luis > > -------------------------------------------------------------- > -------------- > Y no llegaste a quererme, y eran mis cinco sentidos > Y no llegaste a quererme, y que desgraciaito he sido > Y que ha tenido que aborrecerte tanto como te ha > querido (Camaron) > -------------------------------------------------------------- > -------------- > > > > ------------------------------------------------------- > 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 From fsanders at carolina.rr.com Wed Sep 4 15:45:57 2002 From: fsanders at carolina.rr.com (Fred Sanders) Date: 04 Sep 2002 09:45:57 -0400 Subject: Monitoring Mirrored Disks in Windows NT/2000 Message-ID: <1031147157.10217.6.camel@fcslinux> Has anyone figured out a way to monitor physical drive failures on a Windows NT or Windows 2000 Server using Nagios? We have several NT/2000 Servers where the C: Drive is Mirrored (RAID 1) via Software (NT Software Mirroring in Disk Administrator) using 2 Disks. Thanks Fred Sanders fsanders at carolina.rr.com ------------------------------------------------------- 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 From luksa at batman.jypoly.fi Wed Sep 4 15:54:04 2002 From: luksa at batman.jypoly.fi (luksa) Date: Wed, 4 Sep 2002 16:54:04 +0300 (EEST) Subject: maximum running time for NSclient on W2K In-Reply-To: <77F055FA968580429F4546414D8C10E707FBE4@s102b.rhcci.net> References: <77F055FA968580429F4546414D8C10E707FBE4@s102b.rhcci.net> Message-ID: On Tue, 3 Sep 2002, Richard Wu wrote: > Hi, > > I am planning to implement the NSclient for monitoring the CPU/MEM/DISK on W2K servers via nagios and would like to know how long can NSClient be kept running without restarting the W2K server or pNSclient service ( I heard a lot memory problem regarding the NSclient before). Any trick is welcomed. > > Thanks, > Richard Wu Hi ! There is no memory leaking if you don't use 'check_nt_process' command. So if you need only CPU/MEM/DISK you should not restart your 'Netsaint NT Agent' service. Regards, samppa ------------------------------------------------------- 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 From dlepore at bogen.com Wed Sep 4 16:12:10 2002 From: dlepore at bogen.com (Dan Lepore) Date: Wed, 4 Sep 2002 10:12:10 -0400 Subject: Mail Notification problems Message-ID: <45F6D280365ED6119B2700508BC5C45A1DA012@EXCHANGE1> I just upgraded my Nagios from 1.0b3 t0 1.0b5 and everything went well except when notifications are sent to send mail the spooler rejects it with an access denied message. Has any one else experienced this problem? I am running FreeBSD 4.6 and sendmail 8.12.5 Thanks Dan ------------------------------------------------------- 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 From joblow7777 at yahoo.com Wed Sep 4 16:17:30 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 4 Sep 2002 07:17:30 -0700 (PDT) Subject: New question In-Reply-To: <116B47513396464-176@_rabobank.nl_> References: <116B47513396464-176@_rabobank.nl_> Message-ID: <20020904141730.15447.qmail@web13008.mail.yahoo.com> Hi Mike. Thanks for the sugggestion. I tried using crle on the machine. Problem is the file that's created by crle ends up being the LD_LIBRARY_PATH for the whole system, so if you don't get it quite right, you can't run any commands. But I do like that LD_RUN_PATH. I'll try that one out. Thanks. --- "Hulsman, MJ (Mike)" wrote: > What you could also do is set the environment > variable > "LD_RUN_PATH=/usr/lib:/usr/local/lib" > before you do the compilation. > By this way you compile it into the binary cgi's. > Or you can use crle (configure runtime linking > environment) on solaris, this > is like the /etc/ld.so.conf in linux. > From the man page, man crle(1): > Defining alternative default search paths can > be useful for > administrators who wish to install third party > software in a > central location, or otherwise alter the > search path of > applications that may not have been coded with > suitable run- > paths. > Defining user supplied alternative objects > provides a means > of replacing dependencies other than via > symbolic links or > requiring LD_LIBRARY_PATH settings. > > Hope this helps you. > > Met vriendelijke groet, > > Mike Hulsman > > > -----Oorspronkelijk bericht----- > > Van: Olaf Greis [mailto:greis at grinco.de] > > Verzonden: dinsdag 3 september 2002 22:12 > > Aan: Nagios-users at lists.sourceforge.net > > Onderwerp: Re: [Nagios-users] New question > > > > > > Am Dienstag, 3. September 2002 21:37 schrieb jo > smith: > > > Hey, it works. I tried using both SetEnv and > PassEnv > > > in the httpd.conf file. After setting those, > > > statusmap.cgi trends.cgi and tac.cgi started > working! > > > > > > One last question if I may. I'm now getting > this > > > error: > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > 1.1.2.185] > > > Premature end of script headers: > > > /usr/local/nagios/sbin/statusmap.cgi > > > libpng warning: Application was compiled with > png.h > > > from libpng-1.0.6 > > > libpng warning: Application is running with > png.c > > > from libpng-1.2.4 > > > gd-png: fatal libpng error: Incompatible libpng > > > version in application and library > > > > > > I'm so close and so many thanks for the quick > and > > > accurate responses from everybody. > > > > looks like you have a different version of libpng > on your > > productionsystem > > than on your development system (or two versions > of libpng on > > the same system > > ;) > > > > you either have to recompile nagios with 1.2.4 or > to > > downgrade the production > > system from libpng-1.2.4 to libpng-1.0.6. i think > a recomplie > > will be best. > > > > brgds > > olaf > > > > > > > ------------------------------------------------------- > > 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 > > > > > > > ================================================ > De informatie opgenomen in dit bericht kan > vertrouwelijk zijn en > is uitsluitend bestemd voor de geadresseerde. Indien > u dit bericht > onterecht ontvangt, wordt u verzocht de inhoud niet > te gebruiken en > de afzender direct te informeren door het bericht te > retourneren. > ================================================ > The information contained in this message may be > confidential > and is intended to be exclusively for the addressee. > Should you > receive this message unintentionally, please do not > use the contents > herein and notify the sender immediately by return > e-mail. > > > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From joblow7777 at yahoo.com Wed Sep 4 16:20:47 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 4 Sep 2002 07:20:47 -0700 (PDT) Subject: Compiling plug-ins Message-ID: <20020904142047.7245.qmail@web13007.mail.yahoo.com> Hi all. I just untarred the plug-ins, ran ./configure, and tried compiling them. First thing I got was this: host:# make all Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /opt/software/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' host:# What's wrong? __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From sghosh at sghosh.org Wed Sep 4 16:44:49 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 10:44:49 -0400 (EDT) Subject: Compiling plug-ins In-Reply-To: <20020904142047.7245.qmail@web13007.mail.yahoo.com> References: <20020904142047.7245.qmail@web13007.mail.yahoo.com> Message-ID: On Wed, 4 Sep 2002, jo smith wrote: > Hi all. > > I just untarred the plug-ins, ran ./configure, and > tried compiling them. First thing I got was this: > > host:# make all > Making all in plugins > mksh: Fatal error in reader: = missing from > replacement macro reference > Current working directory > /opt/software/nagiosplug-1.3-beta1/plugins > *** Error code 1 > make: Fatal error: Command failed for target > `all-recursive' > host:# > > What's wrong? > Would seem that you are not using GNU make. -sg -- ------------------------------------------------------- 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 From Brian.Ipsen at andebakken.dk Wed Sep 4 17:01:54 2002 From: Brian.Ipsen at andebakken.dk (Brian Ipsen) Date: Wed, 4 Sep 2002 17:01:54 +0200 Subject: maximum running time for NSclient on W2K In-Reply-To: References: Message-ID: Hi, > > I am planning to implement the NSclient for monitoring the > > CPU/MEM/DISK on W2K servers via nagios and would like to > > know how long can NSClient be kept running without restarting > > the W2K server or pNSclient service ( I heard a lot memory > > problem regarding the NSclient before). Any trick is welcomed. > > There is no memory leaking if you don't use 'check_nt_process' > command. So > if you need only CPU/MEM/DISK you should not restart your 'Netsaint NT > Agent' service. But is anybody trying to figure out why there's a memoryleak - and what is causing it (maybe fixing it ;-)) ?? Regards, /Brian ------------------------------------------------------- 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 From jose-louis.marcos at cnes.fr Wed Sep 4 17:02:57 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Wed, 04 Sep 2002 17:02:57 +0200 Subject: Nagios with HP-UX 11.0 References: <5D8D9455134FD211AE4900A0C9DED11E0773F8FA@indy1ntm.herff-jones.com> Message-ID: <200209041503.g84F2xB27772@cnes.fr> Furnish, Trever G wrote: > What compiler do you use, Jose? I had problems with the HP compilers I > tried in the past so I was preparing to use the version of gcc released with > the "Linux to hp-ux porting kit version 1.0". It would be nice to know if > that shouldn't be necessary. I used gcc software depot (picked from HPUX Porting and archive center), gcc v2.95 if I remember well. To compile nsca, I had to modify 'common/common.h' to define u_int32_t. Just after the '#include "config.h" ', i just added a : typedef uint32_t u_int32_t; You also need to compile and install libmcrypt package... -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 From ejl at man.fwltech.com Wed Sep 4 17:10:28 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 4 Sep 2002 16:10:28 +0100 Subject: maximum running time for NSclient on W2K Message-ID: <1012BD903945D411915500105A48FF57F0627A@nt.man.fwltech.com> It's an operating system issue, it was going to be fixed in various NT service packs but never was. All the different implementations Ive seen of nt monitors suffer from it, bbnt, nsclient, etc. Ewan > -----Original Message----- > From: Brian Ipsen [mailto:Brian.Ipsen at andebakken.dk] > Sent: 04 September 2002 16:02 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] maximum running time for NSclient on W2K > > > Hi, > > > > I am planning to implement the NSclient for monitoring the > > > CPU/MEM/DISK on W2K servers via nagios and would like to > > > know how long can NSClient be kept running without restarting > > > the W2K server or pNSclient service ( I heard a lot memory > > > problem regarding the NSclient before). Any trick is welcomed. > > > > There is no memory leaking if you don't use 'check_nt_process' > > command. So > > if you need only CPU/MEM/DISK you should not restart your > 'Netsaint NT > > Agent' service. > > But is anybody trying to figure out why there's a memoryleak > - and what > is causing it (maybe fixing it ;-)) ?? > > Regards, > > /Brian > > > ------------------------------------------------------- > 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 From shawnz at npgenvelope.com Wed Sep 4 17:22:21 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Wed, 4 Sep 2002 10:22:21 -0500 Subject: mysql Message-ID: Does anybody have a mysql plugin? I have a couple of db's I'd like to monitor. Shawn ------------------------------------------------------- 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 From sghosh at sghosh.org Wed Sep 4 17:35:05 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 11:35:05 -0400 (EDT) Subject: Compiling plug-ins In-Reply-To: <20020904153335.40656.qmail@web13007.mail.yahoo.com> References: <20020904153335.40656.qmail@web13007.mail.yahoo.com> Message-ID: Did you get any errors in the previous step? -sg On Wed, 4 Sep 2002, jo smith wrote: > Yes, I'm using GNU make. So what now? Thanks. > > > --- Subhendu Ghosh wrote: > > On Wed, 4 Sep 2002, jo smith wrote: > > > > > Hi all. > > > > > > I just untarred the plug-ins, ran ./configure, and > > > tried compiling them. First thing I got was this: > > > > > > host:# make all > > > Making all in plugins > > > mksh: Fatal error in reader: = missing from > > > replacement macro reference > > > Current working directory > > > /opt/software/nagiosplug-1.3-beta1/plugins > > > *** Error code 1 > > > make: Fatal error: Command failed for target > > > `all-recursive' > > > host:# > > > > > > What's wrong? > > > > > > > Would seem that you are not using GNU make. > > > > > > -sg > > -- > > > > > > > > > > > ------------------------------------------------------- > > 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > -- ------------------------------------------------------- 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 From sghosh at sghosh.org Wed Sep 4 17:41:41 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 11:41:41 -0400 (EDT) Subject: mysql In-Reply-To: References: Message-ID: On Wed, 4 Sep 2002, Shawn Zayac wrote: > > Does anybody have a mysql plugin? I have a couple of db's I'd like > to monitor. > > Shawn > > If there is db in particular you want to monitor are you envisioning a SQL string passed to a mysql connection and parsing the result? Feel like writing a diff to check_mysql ;) -sg ------------------------------------------------------- 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 From tguthmann at cvf.fr Wed Sep 4 17:44:27 2002 From: tguthmann at cvf.fr (Thomas) Date: Wed, 04 Sep 2002 17:44:27 +0200 Subject: mysql References: Message-ID: <3D762A5B.3080909@cvf.fr> Check the nagios plugin pack... it's there Tom Shawn Zayac wrote: > Does anybody have a mysql plugin? I have a couple of db's I'd like >to monitor. > >Shawn > > >------------------------------------------------------- >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 From crawford.rainwater at itec-co.com Wed Sep 4 17:45:25 2002 From: crawford.rainwater at itec-co.com (Crawford Rainwater) Date: Wed, 4 Sep 2002 09:45:25 -0600 Subject: The nagios debian package in unstable In-Reply-To: <5.1.0.14.2.20020904132701.00b138e0@pop.qut.edu.au> References: <5.1.0.14.2.20020904132701.00b138e0@pop.qut.edu.au> Message-ID: Any idea when it might be moved to testing? --- Crawford > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Greg > Vickers > Sent: Tuesday, September 03, 2002 9:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] The nagios debian package in unstable > > > Hi all, > I've just installed the nagios-text .deb package from the debian unstable > distro. It requires libdb.v2. If you don't have libdb2 installed, (latest > is v3) you can install the package libdb1-compat package for backwards > compatibility. > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > g.vickers at qut.edu.au > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: 6147 > > > > ------------------------------------------------------- > 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 From joblow7777 at yahoo.com Wed Sep 4 17:46:16 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 4 Sep 2002 08:46:16 -0700 (PDT) Subject: Compiling plug-ins In-Reply-To: References: Message-ID: <20020904154616.86547.qmail@web13003.mail.yahoo.com> No errors. Here's the output from it, for what it's worth. host:# ./configure creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for ranlib... : checking for aclocal... no checking for automake... no checking for autoconf... no checking for autoheader... no checking for gcc... 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... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking for python... no checking for perl... /usr/bin/perl checking for sh... /sbin/sh checking for hostname... /usr/bin/hostname checking for basename... /usr/bin/basename checking how to run the C preprocessor... gcc -E checking for elf_begin in -lelf... yes checking for kvm_open in -lkvm... yes checking for getloadavg in -lutil... no checking for getloadavg in -lgetloadavg... 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... yes 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 -lkvm -lelf 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... 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... no checking for openssl/x509.h... no checking for openssl/ssl.h... no checking for openssl/rsa.h... no checking for openssl/pem.h... no checking for openssl/crypto.h... no checking for openssl/err.h... no checking for x509.h... no checking for ssl.h... no checking for rsa.h... no checking for pem.h... no checking for crypto.h... no checking for err.h... no checking for CRYPTO_lock in -lcrypto... no checking for ANSI C header files... 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 for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for uio.h... no checking for errno.h... yes checking for regex.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/socket.h... yes checking for sys/loadavg.h... yes checking for working 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... no import_sources=getopt checking for getopt_long_only... no checking for vsnprintf... no checking for select... no checking for socket... no checking for strdup... no checking for strstr... no checking for strtod... no checking for strtol... no checking for strtoul... no checking for type of socket size... int checking for ps... /usr/bin/ps ps syntax... /usr/bin/ps -Ao 's comm vsz rss' checking for df... /usr/bin/df df syntax... /usr/bin/df -k checking for ping... /usr/sbin/ping ping syntax... /usr/sbin/ping -n -s 56 checking for nslookup... /usr/sbin/nslookup checking nslookup syntax... /usr/sbin/nslookup checking for host... no configure: warning: host command not found checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/bin/rpcinfo checking for ntpdate... /usr/sbin/ntpdate checking for ntpdc... no checking for xntpdc... /usr/sbin/xntpdc checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... no ** Get smbclient from Samba.org to monitor SMB shares checking for who... /usr/bin/who checking for snmpget... no ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins checking for snmpgetnext... no ** 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/local/bin/ssh found swap command checking for swap... /usr/sbin/swap using Solaris format checking for dig... no yes updating cache ./config.cache 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 creating plugins/common.h creating plugins/version.h creating plugins/netutils.h creating plugins/utils.h creating plugins/popen.h host:# __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From tguthmann at cvf.fr Wed Sep 4 18:07:50 2002 From: tguthmann at cvf.fr (Thomas) Date: Wed, 04 Sep 2002 18:07:50 +0200 Subject: Compiling plug-ins References: <20020904154616.86547.qmail@web13003.mail.yahoo.com> Message-ID: <3D762FD6.5030704@cvf.fr> You must have automake ! Good luck Tom jo smith wrote: >No errors. > >Here's the output from it, for what it's worth. > >host:# ./configure >creating cache ./config.cache >checking for a BSD compatible install... ./install-sh >-c >checking for ranlib... : >checking for aclocal... no >checking for automake... no <----------------------------------- HERE >checking for autoconf... no >checking for autoheader... no >checking for gcc... 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... yes >checking whether gcc accepts -g... yes >checking whether make sets ${MAKE}... yes >checking for gawk... no >checking for mawk... no >checking for nawk... nawk >checking for python... no >checking for perl... /usr/bin/perl >checking for sh... /sbin/sh >checking for hostname... /usr/bin/hostname >checking for basename... /usr/bin/basename >checking how to run the C preprocessor... gcc -E >checking for elf_begin in -lelf... yes >checking for kvm_open in -lkvm... yes >checking for getloadavg in -lutil... no >checking for getloadavg in -lgetloadavg... 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... yes >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 -lkvm -lelf >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... 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... no >checking for openssl/x509.h... no >checking for openssl/ssl.h... no >checking for openssl/rsa.h... no >checking for openssl/pem.h... no >checking for openssl/crypto.h... no >checking for openssl/err.h... no >checking for x509.h... no >checking for ssl.h... no >checking for rsa.h... no >checking for pem.h... no >checking for crypto.h... no >checking for err.h... no >checking for CRYPTO_lock in -lcrypto... no >checking for ANSI C header files... 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 for signal.h... yes >checking for strings.h... yes >checking for string.h... yes >checking for syslog.h... yes >checking for unistd.h... yes >checking for uio.h... no >checking for errno.h... yes >checking for regex.h... yes >checking for sys/types.h... yes >checking for sys/time.h... yes >checking for sys/socket.h... yes >checking for sys/loadavg.h... yes >checking for working 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... no import_sources=getopt >checking for getopt_long_only... no >checking for vsnprintf... no >checking for select... no >checking for socket... no >checking for strdup... no >checking for strstr... no >checking for strtod... no >checking for strtol... no >checking for strtoul... no >checking for type of socket size... int >checking for ps... /usr/bin/ps > ps syntax... /usr/bin/ps -Ao 's comm vsz rss' >checking for df... /usr/bin/df > df syntax... /usr/bin/df -k >checking for ping... /usr/sbin/ping > ping syntax... /usr/sbin/ping -n -s 56 > >checking for nslookup... /usr/sbin/nslookup >checking nslookup syntax... /usr/sbin/nslookup >checking for host... no >configure: warning: host command not found >checking for uptime... /usr/bin/uptime >checking for rpcinfo... /usr/bin/rpcinfo >checking for ntpdate... /usr/sbin/ntpdate >checking for ntpdc... no >checking for xntpdc... /usr/sbin/xntpdc >checking for lmstat... no >** Get lmstat from Globetrotter Software to monitor >flexlm licenses >checking for smbclient... no >** Get smbclient from Samba.org to monitor SMB shares >checking for who... /usr/bin/who >checking for snmpget... no >** Get snmpget from http://net-snmp.sourceforge.net to >make check_hpjd and check_snmp plugins >checking for snmpgetnext... no >** 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/local/bin/ssh >found swap command >checking for swap... /usr/sbin/swap > using Solaris format >checking for dig... no >yes >updating cache ./config.cache >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 >creating plugins/common.h >creating plugins/version.h >creating plugins/netutils.h >creating plugins/utils.h >creating plugins/popen.h >host:# > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > > >------------------------------------------------------- >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 From mp at xmission.com Wed Sep 4 18:12:14 2002 From: mp at xmission.com (Myke Place) Date: Wed, 4 Sep 2002 10:12:14 -0600 (MDT) Subject: Includes in the config files? Message-ID: Hi all, Apologies if this has been discussed before. Is there a way to have a Nagios include a seperate file when parsing a config file (ie services.cfg). Essentially, I'm going to be monitoring a bunch of frame relay customers and I want to be able to generate a file dynamically and have Nagios read both the services.cfg and this file to determine what services to monitor, everytime it restarts. Is there a way to do this? -------------------- Myke Place mp at xmission.com 801.539.0852 www.radiojournal.org ------------------------------------------------------- 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 From mpowell at ena.com Wed Sep 4 18:28:37 2002 From: mpowell at ena.com (Marc Powell) Date: Wed, 4 Sep 2002 11:28:37 -0500 Subject: Includes in the config files? Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F70FF8@mismail.ena.com> You can specify multiple config files in nagios.cfg with the cfg_file directive. Use one or more for your hand-edited devices and another for your auto-generated devices. i.e. # Tennessee Schools cfg_file=/usr/local/nagios/etc/ena_config/tnops-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-west.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-west.cfg # Tennessee Hubs/Cores cfg_file=/usr/local/nagios/etc/ena_config/chattanooga.cfg cfg_file=/usr/local/nagios/etc/ena_config/davidson.cfg cfg_file=/usr/local/nagios/etc/ena_config/johnsoncity.cfg cfg_file=/usr/local/nagios/etc/ena_config/memphis.cfg cfg_file=/usr/local/nagios/etc/ena_config/knoxville.cfg The Tennessee Schools config files are auto-generated nightly from a database while the others are maintained by hand. -- Marc > -----Original Message----- > From: Myke Place [mailto:mp at xmission.com] > Sent: Wednesday, September 04, 2002 11:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Includes in the config files? > > Hi all, > > Apologies if this has been discussed before. Is there a way to have a > Nagios include a seperate file when parsing a config file (ie > services.cfg). > > Essentially, I'm going to be monitoring a bunch of frame relay customers > and I want to be able to generate a file dynamically and have Nagios read > both the services.cfg and this file to determine what services to monitor, > everytime it restarts. > > Is there a way to do this? > > -------------------- > Myke Place > mp at xmission.com > 801.539.0852 > www.radiojournal.org > > > > ------------------------------------------------------- > 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 From shawnz at npgenvelope.com Wed Sep 4 18:48:01 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Wed, 4 Sep 2002 11:48:01 -0500 Subject: mysql Message-ID: I can't seem to find it on any of my machines that I've compiled the plugin pack on. Do you have to do something special during compilation? > >Check the nagios plugin pack... it's there >Tom > >Shawn Zayac wrote: > >> Does anybody have a mysql plugin? I have a couple of >db's I'd like >>to monitor. >> >>Shawn >> >> >>------------------------------------------------------- >>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 From sghosh at sghosh.org Wed Sep 4 19:27:24 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 13:27:24 -0400 (EDT) Subject: mysql In-Reply-To: References: Message-ID: You need to have the mysqlclient libs installed locally on the system. Configure usually finds it if it is installed in a standard location. If non-standard location, try the latest CVS version - a couple of issues with mysql library locations were fixed. If configure does not find the mysqlclient libs, then - no check_mysql. -sg On Wed, 4 Sep 2002, Shawn Zayac wrote: > I can't seem to find it on any of my machines that I've compiled the plugin > pack on. Do you have to do something special during compilation? > > > > >Check the nagios plugin pack... it's there > >Tom > > > >Shawn Zayac wrote: > > > >> Does anybody have a mysql plugin? I have a couple of > >db's I'd like > >>to monitor. > >> > >>Shawn > >> -- ------------------------------------------------------- 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 From AHKAPLAN at PARTNERS.ORG Wed Sep 4 20:19:15 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 4 Sep 2002 14:19:15 -0400 Subject: (no subject) Message-ID: <5593DA408212D511B0910002A513501F01D28724@phsexch20.mgh.harvard.edu> Hello all, I was working with Paul Kenniston on a the following issue. I was hoping to get some additional feedback on this issue. Thanks. Paul, I'm forwarding you a copy of the httpd.conf file. Thanks again for the help. -----Original Message----- From: root [mailto:root at ahk] Sent: Tuesday, September 03, 2002 10:30 AM To: Kaplan, Andrew H. Subject: # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/usr/local/apache2" will be interpreted by the # server as "/usr/local/apache2/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at ); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot "/usr/local/apache2" # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # #LockFile logs/accept.lock # # ScoreBoardFile: File used to store internal server process information. # If unspecified (the default), the scoreboard will be stored in an # anonymous shared memory segment, and will be unavailable to third-party # applications. # If specified, ensure that no two invocations of Apache share the same # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. # #ScoreBoardFile logs/apache_runtime_status # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile logs/httpd.pid # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 # perchild MPM # NumServers: constant number of server processes # StartThreads: initial number of worker threads in each server process # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # MaxThreadsPerChild: maximum number of worker threads in each server process # MaxRequestsPerChild: maximum number of connections per server process NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 # WinNT MPM # ThreadsPerChild: constant number of worker threads in the server process # MaxRequestsPerChild: maximum number of requests a server process serves ThreadsPerChild 250 MaxRequestsPerChild 0 # BeOS MPM # StartThreads: how many threads do we initially spawn? # MaxClients: max number of threads we can have (1 thread == 1 client) # MaxRequestsPerThread: maximum number of requests each thread will process StartThreads 10 MaxClients 50 MaxRequestsPerThread 10000 # NetWare MPM # ThreadStackSize ...... Stack size allocated for each worker thread # StartThreads ......... Number of worker threads launched at server startup # MinSpareThreads ...... Minimum number of idle threads, to handle request spikes # MaxSpareThreads ...... Maximum number of idle threads # MaxThreads ........... Maximum number of worker threads alive at the same time # MaxRequestsPerChild .. Maximum number of requests a thread serves. It is # recommended that the default value of 0 be set for this # directive on NetWare. This will allow the thread to # continue to service requests indefinitely. ThreadStackSize 65536 StartThreads 250 MinSpareThreads 25 MaxSpareThreads 250 MaxThreads 1000 MaxRequestsPerChild 0 # OS/2 MPM # StartServers ......... Number of server processes to maintain # MinSpareThreads ...... Minimum number of idle threads per process, # to handle request spikes # MaxSpareThreads ...... Maximum number of idle threads per process # MaxRequestsPerChild .. Maximum number of connections per server process StartServers 2 MinSpareThreads 5 MaxSpareThreads 10 MaxRequestsPerChild 0 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 80 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # #ExtendedStatus On ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # User nobody Group #-1 # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin at your-domain.com # ServerAdmin ahkaplan at partners.org # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If this is not set to valid DNS name for your host, server-generated # redirections will not work. See also the UseCanonicalName directive. # # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address anyway, and this will make # redirections work in a sensible way. # ServerName ahk:80 # # UseCanonicalName: Determines how Apache constructs self-referencing # URLs and the SERVER_NAME and SERVER_PORT variables. # When set "Off", Apache will use the Hostname and Port supplied # by the client. When set "On", Apache will use the value of the # ServerName directive. # UseCanonicalName Off # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/local/apache2/htdocs" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI Multiviews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. # UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # # The index.html.var file (a type-map) is used to deliver content- # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # DirectoryIndex index.html index.html.var # # AccessFileName: The name of the file to look for in each directory # for access control information. See also the AllowOverride directive. # AccessFileName .htaccess # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig conf/mime.types # # DefaultType is the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # MIMEMagicFile conf/magic # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog logs/error_log # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog logs/access_log common # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog logs/referer_log referer #CustomLog logs/agent_log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog logs/access_log combined # # Optionally add a line containing the server version and virtual host # name to server-generated pages (error documents, FTP directory listings, # mod_status and mod_info output etc., but not CGI generated documents). # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail # ServerSignature On # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # # We include the /icons/ alias for FancyIndexed directory listings. If you # do not use FancyIndexing, you may comment this out. # Alias /icons/ "/usr/local/apache2/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # # This should be changed to the ServerRoot/manual/. The alias provides # the manual, even if you choose to move your DocumentRoot. You may comment # this out if you do not care for the documentation. # Alias /manual "/usr/local/apache2/manual" Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" # # Additional to mod_cgid.c settings, mod_cgid has Scriptsock # for setting UNIX socket for communicating with cgid. # #Scriptsock logs/cgisock # # "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all 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 AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig order allow,deny allow from all # # Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore. This allows you to tell the # clients where to look for the relocated document. # Example: # Redirect permanent /foo http://www.example.com/bar # # Directives controlling the display of server-generated directory listings. # # # FancyIndexing is whether you want fancy directory indexing or standard. # VersionSort is whether files containing version numbers should be # compared in the natural way, so that `apache-1.3.9.tar' is placed before # `apache-1.3.12.tar'. # IndexOptions FancyIndexing VersionSort # # AddIcon* directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif # # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories. # Format: AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. ReadmeName README.html HeaderName HEADER.html # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress # information on the fly. Note: Not all browsers support this. # Despite the name similarity, the following Add* directives have nothing # to do with the FancyIndexing customization directives above. # AddEncoding x-compress Z AddEncoding x-gzip gz tgz # # DefaultLanguage and AddLanguage allows you to specify the language of # a document. You can then use content negotiation to give a browser a # file in a language the user can understand. # # Specify a default language. This means that all data # going out without a specific language tag (see below) will # be marked with this one. You probably do NOT want to set # this unless you are sure it is correct for all cases. # # * It is generally better to not mark a page as # * being a certain language than marking it with the wrong # * language! # # DefaultLanguage nl # # Note 1: The suffix does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard # language code is pl) may wish to use "AddLanguage pl .po" to # avoid the ambiguity with the common suffix for perl scripts. # # Note 2: The example entries below illustrate that in some cases # the two character 'Language' abbreviation is not identical to # the two character 'Country' code for its country, # E.g. 'Danmark/dk' versus 'Danish/da'. # # Note 3: In the case of 'ltz' we violate the RFC by using a three char # specifier. There is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # # Danish (da) - Dutch (nl) - English (en) - Estonian (et) # French (fr) - German (de) - Greek-Modern (el) # Italian (it) - Norwegian (no) - Norwegian Nynorsk (nn) - Korean (kr) # Portugese (pt) - Luxembourgeois* (ltz) # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz) # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) # Russian (ru) - Croatian (hr) # AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .et AddLanguage fr .fr AddLanguage de .de AddLanguage he .he AddLanguage el .el AddLanguage it .it AddLanguage ja .ja AddLanguage pl .po AddLanguage kr .kr AddLanguage pt .pt AddLanguage nn .nn AddLanguage no .no AddLanguage pt-br .pt-br AddLanguage ltz .ltz AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage tw .tw AddLanguage zh-tw .tw AddLanguage hr .hr # # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # # Just list the languages in decreasing order of preference. We have # more or less alphabetized them here. You probably want to change this. # LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw # # ForceLanguagePriority allows you to serve a result page rather than # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback) # [in case no accepted languages matched the available variants] # ForceLanguagePriority Prefer Fallback # # Specify a default charset for all pages sent out. This is # always a good idea and opens the door for future internationalisation # of your web site, should you ever want it. Specifying it as # a default does little harm; as the standard dictates that a page # is in iso-8859-1 (latin1) unless specified otherwise i.e. you # are merely stating the obvious. There are also some security # reasons in browsers, related to javascript and URL parsing # which encourage you to always set a default char set. # AddDefaultCharset ISO-8859-1 # # Commonly used filename extensions to character sets. You probably # want to avoid clashes with the language extensions, unless you # are good at carefully testing your setup after each change. # See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets for # the official list of charset names and their respective RFCs # AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk AddCharset ISO-2022-JP .iso2022-jp .jis AddCharset ISO-2022-KR .iso2022-kr .kis AddCharset ISO-2022-CN .iso2022-cn .cis AddCharset Big5 .Big5 .big5 # For russian, more than one charset is used (depends on client, mostly): AddCharset WINDOWS-1251 .cp-1251 .win-1251 AddCharset CP866 .cp866 AddCharset KOI8-r .koi8-r .koi8-ru AddCharset KOI8-ru .koi8-uk .ua AddCharset ISO-10646-UCS-2 .ucs2 AddCharset ISO-10646-UCS-4 .ucs4 AddCharset UTF-8 .utf8 # The set below does not map to a specific (iso) standard # but works on a fairly wide range of browsers. Note that # capitalization actually matters (it should not, but it # does for some browsers). # # See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets # for a list of sorts. But browsers support few. # AddCharset GB2312 .gb2312 .gb AddCharset utf-7 .utf7 AddCharset utf-8 .utf8 AddCharset big5 .big5 .b5 AddCharset EUC-TW .euc-tw AddCharset EUC-JP .euc-jp AddCharset EUC-KR .euc-kr AddCharset shift_jis .sjis # # AddType allows you to add to or override the MIME configuration # file mime.types for specific file types. # AddType application/x-tar .tgz # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # #AddHandler cgi-script .cgi # # For files that include their own HTTP headers: # #AddHandler send-as-is asis # # For server-parsed imagemap files: # #AddHandler imap-file map # # For type maps (negotiated resources): # (This is enabled by default to allow the Apache "It Worked" page # to be distributed in multiple languages.) # AddHandler type-map var # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddOutputFilter INCLUDES .shtml # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /missing.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.example.com/subscription_info.html # # # Putting this all together, we can Internationalize error responses. # # We use Alias to redirect any /error/HTTP_.html.var response to # our collection of by-error message multi-language collections. We use # includes to substitute the appropriate text. # # You can modify the messages' appearance without changing any of the # default HTTP_.html.var files by adding the line; # # Alias /error/include/ "/your/include/path/" # # which allows you to create your own set of files by starting with the # /usr/local/apache2/error/include/ files and # copying them to /your/include/path/, even on a per-VirtualHost basis. # Alias /error/ "/usr/local/apache2/error/" AllowOverride None Options IncludesNoExec AddOutputFilter Includes html AddHandler type-map var Order allow,deny Allow from all LanguagePriority en es de fr ForceLanguagePriority Prefer Fallback ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var ErrorDocument 410 /error/HTTP_GONE.html.var ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var # # The following directives modify normal HTTP response behavior to # handle known problems with browser implementations. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 # # The following directive disables redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with Microsoft WebFolders which does not appropriately handle # redirects for folders with DAV methods. # BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully # # Allow server status reports, with the URL of http://servername/server-status # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your-domain.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # #ProxyRequests On # # # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # #ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot "/usr/local/apache2/proxy" #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 #NoCache a-domain.com another-domain.edu joes.garage-sale.com # # End of proxy directives. # # Bring in additional module-specific configurations # Include conf/ssl.conf ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster at dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # ******************************************************************************** *********** Paul, Listed below is the apache error log file. The errors are definitely there, but I am not sure what the fix is. I checked the Alias and ScriptAlias settings in httpd.conf and everything looked fine. Your thoughts? -----Original Message----- From: root [mailto:root at ahk] Sent: Friday, August 30, 2002 3:41 PM To: Kaplan, Andrew H. Subject: [Tue Aug 20 14:26:57 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Tue Aug 20 16:16:21 2002] [warn] child process 11639 still did not exit, sending a SIGTERM [Tue Aug 20 16:16:22 2002] [warn] child process 11640 still did not exit, sending a SIGTERM [Tue Aug 20 16:16:22 2002] [warn] child process 11641 still did not exit, sending a SIGTERM [Tue Aug 20 16:16:22 2002] [warn] child process 11642 still did not exit, sending a SIGTERM [Tue Aug 20 16:16:22 2002] [warn] child process 11643 still did not exit, sending a SIGTERM [Tue Aug 20 16:16:22 2002] [notice] caught SIGTERM, shutting down [Wed Aug 21 12:54:56 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Wed Aug 21 12:55:43 2002] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:10:23 2002] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:41:05 2002] [notice] SIGHUP received. Attempting to restart [Wed Aug 21 14:41:05 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Wed Aug 21 14:43:49 2002] [error] [client 132.183.12.125] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:43:56 2002] [error] [client 132.183.12.125] File does not exist: /usr/local/apache2/htdocs/favicon.ico [Wed Aug 21 14:44:07 2002] [error] [client 132.183.12.125] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:44:11 2002] [error] [client 132.183.12.125] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:44:41 2002] [error] [client 132.183.12.148] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:47:52 2002] [error] [client 132.183.227.80] attempt to invoke directory as script: /usr/local/nagios/sbin/ [Wed Aug 21 14:50:13 2002] [error] [client 132.183.227.80] File does not exist: /usr/local/apache2/htdocs/nagios [Wed Aug 21 14:50:25 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:27 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:28 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:29 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:30 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:31 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:32 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:33 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:34 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:35 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:38 2002] [notice] SIGHUP received. Attempting to restart [Wed Aug 21 14:50:38 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 14:50:38 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Wed Aug 21 15:01:20 2002] [warn] child process 1762 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1763 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1764 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1765 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1766 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1767 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1768 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1769 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1770 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [warn] child process 1774 still did not exit, sending a SIGTERM [Wed Aug 21 15:01:20 2002] [notice] caught SIGTERM, shutting down [Wed Aug 21 16:00:35 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Wed Aug 21 16:04:44 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 21 16:09:03 2002] [notice] caught SIGTERM, shutting down [Thu Aug 22 10:03:32 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Thu Aug 22 10:17:34 2002] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Thu Aug 22 10:17:34 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Fri Aug 23 16:43:17 2002] [warn] child process 1096 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1097 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1098 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1099 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1100 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1169 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1170 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1171 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1096 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1097 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1098 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1099 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1100 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1169 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1170 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:17 2002] [warn] child process 1171 still did not exit, sending a SIGTERM [Fri Aug 23 16:43:18 2002] [notice] caught SIGTERM, shutting down [Fri Aug 23 16:52:11 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Wed Aug 28 10:03:12 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:19 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:32 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:33 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:35 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:37 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:40 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 10:03:41 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:48:39 2002] [error] [client 132.183.12.125] File does not exist: /usr/local/apache2/htdocs/favicon.ico [Wed Aug 28 14:48:40 2002] [error] [client 132.183.12.125] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:52:44 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:52:47 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:52:54 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:52:55 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:53:00 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:53:03 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 14:53:07 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:08 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:28 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:32 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:36 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:38 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:01:49 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:02:51 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:02:52 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:02:53 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:02:54 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Wed Aug 28 15:04:29 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:06:23 2002] [error] [client 132.183.12.148] user ahk: authentication failure for "/nagios": Password Mismatch [Thu Aug 29 11:06:27 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:06:30 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:06:31 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:06:32 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:06:32 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Thu Aug 29 11:11:10 2002] [warn] child process 2195 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2196 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2197 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2198 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2199 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13300 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13301 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13418 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13420 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13423 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2195 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2197 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2198 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 2199 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13300 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13301 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13420 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:10 2002] [warn] child process 13423 still did not exit, sending a SIGTERM [Thu Aug 29 11:11:11 2002] [warn] child process 2197 still did not exit, sending a SIGTERM [Thu Aug 29 11:12:44 2002] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Thu Aug 29 11:12:44 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Thu Aug 29 11:22:37 2002] [warn] child process 1095 still did not exit, sending a SIGTERM [Thu Aug 29 11:22:38 2002] [warn] child process 1096 still did not exit, sending a SIGTERM [Thu Aug 29 11:22:38 2002] [warn] child process 1097 still did not exit, sending a SIGTERM [Thu Aug 29 11:22:38 2002] [warn] child process 1098 still did not exit, sending a SIGTERM [Thu Aug 29 11:22:38 2002] [warn] child process 1099 still did not exit, sending a SIGTERM [Thu Aug 29 11:22:38 2002] [notice] caught SIGTERM, shutting down [Thu Aug 29 11:24:10 2002] [notice] Apache/2.0.36 (Unix) configured -- resuming normal operations [Fri Aug 30 12:53:08 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:14 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:16 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:17 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:18 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:20 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 12:53:20 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 14:33:33 2002] [error] [client 132.183.12.148] script not found or unable to stat: /usr/local/apache2/cgi-bin/nagios, referer: http://132.183.12.125/nagios/side.html [Fri Aug 30 15:36:23 2002] [error] [client 132.183.12.148] user ahk: authentication failure for "/nagios": Password Mismatch [Fri Aug 30 15:36:52 2002] [error] [client 132.183.12.148] File does not exist: /usr/local/nagios/share/cgi-bin [Fri Aug 30 15:36:56 2002] [error] [client 132.183.12.148] attempt to invoke directory as script: /usr/local/nagios/sbin/ [Fri Aug 30 15:37:06 2002] [error] [client 132.183.12.148] File does not exist: /usr/local/nagios/share/sbin ------------------------------------------------------- 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 From wilson at ifndef.com Wed Sep 4 20:24:11 2002 From: wilson at ifndef.com (Brian Wilson) Date: Wed, 4 Sep 2002 13:24:11 -0500 (CDT) Subject: The nagios debian package in unstable In-Reply-To: References: Message-ID: Probably about 2 weeks or so... On Wed, 4 Sep 2002, Crawford Rainwater wrote: > Any idea when it might be moved to testing? > > --- Crawford > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Greg > > Vickers > > Sent: Tuesday, September 03, 2002 9:32 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] The nagios debian package in unstable > > > > > > Hi all, > > I've just installed the nagios-text .deb package from the debian unstable > > distro. It requires libdb.v2. If you don't have libdb2 installed, (latest > > is v3) you can install the package libdb1-compat package for backwards > > compatibility. > > > > > > ================================= > > Greg Vickers > > Computer Systems Officer > > Student Support and Systems > > Teaching and Learning Support Systems, QUT > > g.vickers at qut.edu.au > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > Mob: 0416 001 674 SD: 6147 > > > > > > > > ------------------------------------------------------- > > 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 > -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.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 From russell at quadrix.com Wed Sep 4 23:35:23 2002 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 04 Sep 2002 17:35:23 -0400 Subject: [Nagios-devel] Spaces in arguments? References: Message-ID: <3D767C9B.4080002@quadrix.com> For functionality sake, try adding a \ before each space to escape the space. That might work. Russell Scibetti Gunnar Hellekson wrote: >This is a message I sent to nagiosplug-devel. This behavior appears to be >coming from embedded perl, so I'm sending it here. Seems as though the >argument parsing behavior is drastically different between checks run under >embedded perl and those run more conventionally. > > >------ Forwarded Message >From: Gunnar Hellekson >Date: Tue, 03 Sep 2002 01:12:05 -0400 >To: nagiosplug-devel >Subject: [Nagiosplug-devel] Spaces in arguments? > > >I've pored through the Nagios code, posted questions, and tried to find >working examples. I'm starting to think I'm stupid. I've written a plugin >which takes, among other things, a string containing spaces. > >define command { >command_name my_plugin >command_line $USER1$/my_plugin -C '$ARG1$' -T $ARG2$ >} > >define service { >host_name my-host >service_description buggy-service >use generic-service >check_command my_plugin!A String With Spaces!AnotherValue >} > >Running this as nagios works, of course: > > ./my_plugin -C 'A String With Spaces' -T AnotherValue > >When run in Nagios, it behaves as if: > > ./my_plugin -C \'A String With Spaces\' -T AnotherValue > >In other words, argv is: >0 == ./my_plugin >1 == -C >2 == 'A >3 == String >etc. > > >I have tried: > > * wrapping $ARG1$ in both (') and (") characters > * wrapping $ARG1$ in escaped quotes (\'), (\") > * wrapping the first argument in the service declaration (A String...) > in ('), (") and escaped quotes (\'), (\") > >In every case, the command is executed as if each word of $ARG1$ >is a seperate argument. > >This is with Nagios 1.0b5, Solaris 2.6. The documentation to popen() >and Nagios tell me that I should have to, at most, place a single quote (') >around the $ARG1$ string in the check_command directive. Yet, no >joy. > >Can anyone confirm this? Has anyone been able to get arguments >containing spaces fed into their plugins? > >I would recompile with DEBUG1 so I could see the raw_command and >processed_command, but nagios dumps core each time I've tried. > >Anyone? > >------ End of Forwarded Message > > > >------------------------------------------------------- >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-devel mailing list >Nagios-devel at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- 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 From ctardif-hylafax at atlas.travelcom.com Wed Sep 4 23:35:22 2002 From: ctardif-hylafax at atlas.travelcom.com (Christian Tardif) Date: Wed, 04 Sep 2002 17:35:22 -0400 Subject: Notifications not working... Message-ID: <3D767C9A.9090403@atlas.travelcom.com> I have a little problem with Nagios (1.0b5): notifications are not sent out. I checked everything I know about (which should have worked... I'm used to Netsaint), but I couldn References: Message-ID: Ralf, make sure your images are in the /nagios/share/images/logos directory. -Jamin On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > Hi, > > how could I get the fancy ICONS to work?? > > In CGI.CFG > ... > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > .... > > In HOSTEXTINFO.CFG > ... > define hostextinfo[ > host_name rubin > icon_image linux40.png > icon_image_alt Suse Linux > vrml_image linux40.png > # statusmap_image linux40.gd2 > gd2_image linux40.gd2 > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > } > .... > > compiled with > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include --with-nagios-user=daemon > --with-nagios-grp=daemon --with-default-status --with-default-comments > --with-template-objects --with-default-retention --with-default-perfdata > --with-default-downtime --enable-embedded-perl > > Thanks > > --------- > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > IT - Administration > > EZI GmbH URL: WWW.EZI.DE > Kreuzgasse 42 > D-35708 Haiger > > Tel.: +49 (0)2773-835135 > Fax: +49 (0)2773-835195 > > > > > ------------------------------------------------------- > 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 > ---------------------------------------------------------------------- "The Green Bay Packers never lost a game...they just ran out of time" -- Vince Lombardi ---------------------------------------------------------------------- ------------------------------------------------------- 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 From simon at uow.edu.au Thu Sep 5 00:20:54 2002 From: simon at uow.edu.au (Simon Coggins) Date: Thu, 5 Sep 2002 08:20:54 +1000 Subject: Process may not be running (Nagios 1.0b5) Message-ID: <20020905082054.B5250@uow.edu.au> Every now and again I notice that nagios says that the nagios process may be down. (Under process info it says that the status file hasn't been updated for 3000+ seconds). The nagios process is running and if I leave it for about 5-10mins it starts woring fine again (until the next time it thinks it's not running) It's running on FreeBSD-4-stable.. Any ideas whats wrong? or should I just up the check_nagios time really high? -- Simon Coggins (SAGE-AU Member) Email: simon at uow.edu.au Network and System Management Officer Phone: +61-2-4221-3775 Information Technology Systems (ITS) Mobile: 0408 115861 University of Wollongong, 2522, Australia Fax: +61-2-4229-1985 ------------------------------------------------------- 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 From GANESTOS at fisinc.com Thu Sep 5 00:32:10 2002 From: GANESTOS at fisinc.com (Garrett Anestos) Date: Wed, 4 Sep 2002 15:32:10 -0700 Subject: Configuration files Message-ID: Hello- I'm new to this list so I apologize if this question has been asked. Does anyone have any generic CFG files that do not need to be altered, or have a recommended way to cut back on some of the configuration to start a basic shell of Nagios? When I run the verification I get a TON of errors. I will ultimately only be monitoring 10-20 servers, and not requiring more than disk space, proc, and a few services. Thanks in advance for the help. Garrett -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawnz at npgenvelope.com Thu Sep 5 00:49:52 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Wed, 4 Sep 2002 17:49:52 -0500 Subject: Configuration files Message-ID: Not sure what errors your getting but Nagios comes with sample config files that have examples of most service checks and can be easily modified to fit your setup up. -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Wednesday, September 04, 2002 5:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuration files Hello- I'm new to this list so I apologize if this question has been asked. Does anyone have any generic CFG files that do not need to be altered, or have a recommended way to cut back on some of the configuration to start a basic shell of Nagios? When I run the verification I get a TON of errors. I will ultimately only be monitoring 10-20 servers, and not requiring more than disk space, proc, and a few services. Thanks in advance for the help. Garrett -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at unitywave.com Thu Sep 5 01:19:14 2002 From: jim at unitywave.com (James Barrows) Date: 04 Sep 2002 16:19:14 -0700 Subject: Ping and Radius question Message-ID: <1031181586.19881.7.camel@jbarrows.unitywave.com> I've got nagios up and mostly working. What I am trying to figure out is the check_ping, when I run it on the command line it tells me that "Error: Could not interpret output from ping command". I have a standard ping command, running Mandrake. I am using the rpms, do I really need to compile the plugins just for a ping? Is it a config issue? I can ping normally, just not through the plugin. I'm also assuming it's me... just don't know what exactly :) The other plugin I'm trying to configure is the check_radius plug-in. It tells me I need a config file, but I have no idea what such a critter might look like,can anyone help with this one? Regardless of my problems, wonderful project! -- James Barrows Systems Administrator Unity Wave LLC Don't worry about angering me. Worry about amusing me. ------------------------------------------------------- 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 From jcarro10 at sprintspectrum.com Thu Sep 5 02:17:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Wed, 4 Sep 2002 19:17:50 -0500 Subject: Configuration files Message-ID: I know what Garrett's talking about. When you first install Nagios and try to start it, it gripes about various inconsistencies in the config files. Garrett, make backups of all the config files. Then (with the exception of cgi.cfg and nagios.cfg), step through your config files, commenting out the definitions which clearly don't pertain to your situation. In particular, look at hosts.cfg, services.cfg, hostgroups.cfg, contacts.cfg, contactgroups.cfg and strip away (or better yet, comment out) all the definitions which initially don't interest you. RECOMMENDATION: Don't comment out the unregistered templates. Also, don't let the errors from the sanity check discourage you. Take a closer look at the output; it tells you exactly which element(s) of Nagios' configuration is/are inconsistent. Sure, it's overwhelming the first time you fire it up, but take the time to dissect it. It's actually not a bad exercise to look at the first line of output from the sanity check and ferret out that particular element (e.g., host definition) and correct it, attempt another sanity check, get config errors, correct another one... wash, rinse, repeat. Better to do it now while you're still in R&D mode, than after you've become dependant on it, made an innocuous change, and end up making a few other shoot-from-the-hip changes (based on lack of experience) which only makes the situation worse. You *don't* want to be learning the basics about the product after it becomes critical to your success. Also, keep it simple; stick with monitoring network services initially (HTTP, ssh, telnet, ftp, whatever...), because once you decide you want to monitor cpu/disk/memory/etc of the client hosts, you'll have to decide to use NSCA and/or NRPE and/or other options. Implementing just one of those will be another subproject unto itself, and if you haven't got the basics of Nagios figured out, you won't be a happy camper. Anyway... you're closer to success than you think. Keep going; you've almost got a basic "I can ping one host" configuration ready! ;) jc -----Original Message----- From: Shawn Zayac [mailto:shawnz at npgenvelope.com] Sent: Wednesday, September 04, 2002 5:50 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuration files Not sure what errors your getting but Nagios comes with sample config files that have examples of most service checks and can be easily modified to fit your setup up. -----Original Message----- From: Garrett Anestos [mailto:GANESTOS at fisinc.com] Sent: Wednesday, September 04, 2002 5:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuration files Hello- I'm new to this list so I apologize if this question has been asked. Does anyone have any generic CFG files that do not need to be altered, or have a recommended way to cut back on some of the configuration to start a basic shell of Nagios? When I run the verification I get a TON of errors. I will ultimately only be monitoring 10-20 servers, and not requiring more than disk space, proc, and a few services. Thanks in advance for the help. Garrett ------------------------------------------------------- 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 From ghelleks at yahoo.com Thu Sep 5 02:28:57 2002 From: ghelleks at yahoo.com (Gunnar Hellekson) Date: Wed, 04 Sep 2002 20:28:57 -0400 Subject: [Nagios-devel] Spaces in arguments? In-Reply-To: <3D767C9B.4080002@quadrix.com> References: <3D767C9B.4080002@quadrix.com> Message-ID: > From: Russell Scibetti > Organization: Quadrix Solutions Inc. > Date: Wed, 04 Sep 2002 17:35:23 -0400 > To: Gunnar Hellekson , nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-devel] Spaces in arguments? > > For functionality sake, try adding a \ before each space to escape the > space. That might work. Tried that, actually. Didn't fly. The only recourse was to url-encode the incoming parameters and decode them in the script. > Gunnar Hellekson wrote: > >> This is a message I sent to nagiosplug-devel. This behavior appears to be >> coming from embedded perl, so I'm sending it here. Seems as though the >> argument parsing behavior is drastically different between checks run under >> embedded perl and those run more conventionally. >> >> >> ------ Forwarded Message >> From: Gunnar Hellekson >> Date: Tue, 03 Sep 2002 01:12:05 -0400 >> To: nagiosplug-devel >> Subject: [Nagiosplug-devel] Spaces in arguments? >> >> >> I've pored through the Nagios code, posted questions, and tried to find >> working examples. I'm starting to think I'm stupid. I've written a plugin >> which takes, among other things, a string containing spaces. >> >> define command { >> command_name my_plugin >> command_line $USER1$/my_plugin -C '$ARG1$' -T $ARG2$ >> } >> >> define service { >> host_name my-host >> service_description buggy-service >> use generic-service >> check_command my_plugin!A String With Spaces!AnotherValue >> } >> >> Running this as nagios works, of course: >> >> ./my_plugin -C 'A String With Spaces' -T AnotherValue >> >> When run in Nagios, it behaves as if: >> >> ./my_plugin -C \'A String With Spaces\' -T AnotherValue >> >> In other words, argv is: >> 0 == ./my_plugin >> 1 == -C >> 2 == 'A >> 3 == String >> etc. >> >> >> I have tried: >> >> * wrapping $ARG1$ in both (') and (") characters >> * wrapping $ARG1$ in escaped quotes (\'), (\") >> * wrapping the first argument in the service declaration (A String...) >> in ('), (") and escaped quotes (\'), (\") >> >> In every case, the command is executed as if each word of $ARG1$ >> is a seperate argument. >> >> This is with Nagios 1.0b5, Solaris 2.6. The documentation to popen() >> and Nagios tell me that I should have to, at most, place a single quote (') >> around the $ARG1$ string in the check_command directive. Yet, no >> joy. >> >> Can anyone confirm this? Has anyone been able to get arguments >> containing spaces fed into their plugins? >> >> I would recompile with DEBUG1 so I could see the raw_command and >> processed_command, but nagios dumps core each time I've tried. >> >> Anyone? >> >> ------ End of Forwarded Message >> >> >> >> ------------------------------------------------------- >> 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-devel mailing list >> Nagios-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-devel >> >> > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > ------------------------------------------------------- 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 From g.vickers at qut.edu.au Thu Sep 5 04:07:05 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 05 Sep 2002 12:07:05 +1000 Subject: Nagios vs. .NET's MOM Message-ID: <5.1.0.14.2.20020905103812.00a8fc10@pop.qut.edu.au> Hi all, Apparantly .NET contains a product called MOM - Microsoft Operations Management. This product can provide real-time monitoring & reports etc etc of windows servers. My manager put a hold on ordering the server that we are purchasing for nagios and asked me to look into MOM. I'm looking for ... comparative information of the two products. I have a preference of which product i'd like to put in, but I have to build a case. Can anyone here comment on these two products? p.s. I just found out that the licence for MOM is per processor monitored... so if we want to monitor our lab PCs, we'd have to pay 1000*the licence fee ... which is low-three figure price... ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 From sghosh at sghosh.org Thu Sep 5 04:40:40 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 4 Sep 2002 22:40:40 -0400 (EDT) Subject: Ping and Radius question In-Reply-To: <1031181586.19881.7.camel@jbarrows.unitywave.com> References: <1031181586.19881.7.camel@jbarrows.unitywave.com> Message-ID: On 4 Sep 2002, James Barrows wrote: > I've got nagios up and mostly working. What I am trying to figure out > is the check_ping, when I run it on the command line it tells me that > "Error: Could not interpret output from ping command". I have a > standard ping command, running Mandrake. I am using the rpms, do I > really need to compile the plugins just for a ping? Is it a config > issue? I can ping normally, just not through the plugin. I'm also > assuming it's me... just don't know what exactly :) > The other plugin I'm trying to configure is the check_radius plug-in. > It tells me I need a config file, but I have no idea what such a > critter might look like,can anyone help with this one? > > Regardless of my problems, wonderful project! > > Assuming you have the latest Mandrake, you might want to get a copy of ping from Mandrake 7.x if you don't want to recompile. regarding check_radius - it requires radiusclient from http://www.cityline.net/~lf/radius/ take a look athe the etc dir in the above dist for radius config file requirements. -- -sg ------------------------------------------------------- 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 From ralf.lebeda at ezi.de Thu Sep 5 08:17:28 2002 From: ralf.lebeda at ezi.de (ralf.lebeda at ezi.de) Date: Thu, 5 Sep 2002 08:17:28 +0200 Subject: Antwort: Re: Image Problems Message-ID: Hi, I've got them in the mentioned directory, but it's still not working. Please help Jamin Gesendet von: An: ralf.lebeda at ezi.de nagios-users-admin at lists.sourc Kopie: nagios-users at lists.sourceforge.net eforge.net Thema: Re: [Nagios-users] Image Problems 04.09.2002 23:59 Ralf, make sure your images are in the /nagios/share/images/logos directory. -Jamin On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > Hi, > > how could I get the fancy ICONS to work?? > > In CGI.CFG > ... > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > .... > > In HOSTEXTINFO.CFG > ... > define hostextinfo[ > host_name rubin > icon_image linux40.png > icon_image_alt Suse Linux > vrml_image linux40.png > # statusmap_image linux40.gd2 > gd2_image linux40.gd2 > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > } > .... > > compiled with > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include --with-nagios-user=daemon > --with-nagios-grp=daemon --with-default-status --with-default-comments > --with-template-objects --with-default-retention --with-default-perfdata > --with-default-downtime --enable-embedded-perl > > Thanks > > --------- > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > IT - Administration > > EZI GmbH URL: WWW.EZI.DE > Kreuzgasse 42 > D-35708 Haiger > > Tel.: +49 (0)2773-835135 > Fax: +49 (0)2773-835195 > > > > > ------------------------------------------------------- > 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 > ---------------------------------------------------------------------- "The Green Bay Packers never lost a game...they just ran out of time" -- Vince Lombardi ---------------------------------------------------------------------- ------------------------------------------------------- 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 From rpatl at gmx.at Thu Sep 5 08:29:30 2002 From: rpatl at gmx.at (rpatl at gmx.at) Date: Thu, 5 Sep 2002 08:29:30 +0200 (MEST) Subject: Monitoring Interfaces with Nagios Message-ID: <23686.1031207370@www38.gmx.net> Hi I am using Nagios since 2 weeks and I am satisfied with the results. But I have one question left. Is there any possibility to monitor, for example the PORTs of a switch or a router with Nagios? I only need the Status of the different Ports, so that it is possible to say: Port 6 of the HPswitch2524 is down since ....(or Port 6 is unused since....) If it isn't possible, i would be deeply grateful if somebody could give me a tip or a link to such an application. Otherwise i have to find a way to implement it. thanx Patrick ps: On this way I like to thank all users and writers of this mailinglist for the good postings. I have read a lot of them and they have helped me. -- 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 From kuehne at sietec.de Thu Sep 5 10:02:45 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Thu, 05 Sep 2002 10:02:45 +0200 Subject: mysql Message-ID: <3D770FA5.30609@sietec.de> > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, September 04, 2002 7:27 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] mysql > > > You need to have the mysqlclient libs installed locally on > the system. > Configure usually finds it if it is installed in a standard location. > If non-standard location, try the latest CVS version - a > couple of issues > with mysql library locations were fixed. > > If configure does not find the mysqlclient libs, then - no > check_mysql. > Shawn, look into the contrib directory of the plugin tarball. There is a perl version of check_mysql, which uses mysqladmin to pipe some status output to itself. This is useful when configure does not find your mysql libs. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- 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 From bliwanag at yahoo.com Thu Sep 5 10:09:10 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Thu, 5 Sep 2002 01:09:10 -0700 (PDT) Subject: smtp service monitoring won't work Message-ID: <20020905080910.84848.qmail@web40605.mail.yahoo.com> Good day! I have installed nagios-1.0b5 in my test server and it seems it is working. However i haven't check all the services that is running on our servers. I have only checked dns,ping,ssh,http services and it looks its working but nagios gives me "critical result" on the status in the web site link using the check_smtp script to check my email server smtp service. But when I manually run the ./check_smtp -H it gives me an OK result. What seems to be problem on this? In addtion to nagios.Is there a way I can produce or print the daily, weekly, monthly report on the statistic results of nagios? Thank you very much and hoping for your response! Bernie Liwanag __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From kuehne at sietec.de Thu Sep 5 10:11:31 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Thu, 05 Sep 2002 10:11:31 +0200 Subject: Process may not be running (Nagios 1.0b5) Message-ID: <3D7711B3.1070406@sietec.de> > -----Original Message----- > From: Simon Coggins [mailto:simon at uow.edu.au] > Sent: Thursday, September 05, 2002 12:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Process may not be running (Nagios 1.0b5) > > > Every now and again I notice that nagios says that the nagios > process may be > down. (Under process info it says that the status file hasn't > been updated > for 3000+ seconds). The nagios process is running and if I > leave it for > about 5-10mins it starts woring fine again (until the next > time it thinks > it's not running) > > It's running on FreeBSD-4-stable.. Any ideas whats wrong? or > should I just > up the check_nagios time really high? Yes, try this. I have a time of 3600 sec, and no complains anymore. As Nagios writes every hour a line to its logfile, this should work fine. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- 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 From albler-b at chello.at Thu Sep 5 11:42:00 2002 From: albler-b at chello.at (Bernhard Albler) Date: Thu, 5 Sep 2002 11:42:00 +0200 Subject: Monitoring Interfaces with Nagios References: <23686.1031207370@www38.gmx.net> Message-ID: <001701c254c0$7b9bd760$02c8a8c0@TGX296QTN7DY9ON> > Is there any possibility to monitor, for example the PORTs of a switch or a > router with Nagios? > I only need the Status of the different Ports, so that it is possible to > say: Port 6 of the HPswitch2524 is down since ....(or Port 6 is unused > since....) Well, the probably easiest way to do this is via SNMP. There are already 2 plugins that do pretty much exactly what you want check_ifoperstatus, which allows youm to check the status of a single interface it uses(suprise) the ifoperstatus OID (.1.3.6.1.2.1.2.2.1.8. + the Index of the Interface) syntax: check_ifoperstatus -H $HOST -C $COMMUNITY -d $ifdescription(name of the Interface) Instead of -d you can use -k and specify the interface index directly(check_ifoperstatus --help for more) The other plugin check_ifstatus checks the status of all Interfaces on a device hth Bernhard -- "When the going gets weird, the weird turn pro"--Raoul Duke ------------------------------------------------------- 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 From liebmann at bbs1.btf.st.schule.de Thu Sep 5 12:49:15 2002 From: liebmann at bbs1.btf.st.schule.de (Andreas Liebmann) Date: Thu, 5 Sep 2002 12:49:15 +0200 Subject: Error reading cgi.cfg or nagios.cfg Message-ID: Hello ! I'm new in this list. Maybe this will be an earlier thread (but not found in archives). After some compiling problems (autoconf 2.13 only works !!!, not easy to find the solution) nagios starts. I can see the docs, and particular some sites will shown. But I get errors when I try on the left side: Tactical Overview: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Service Detail: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Host Detail works. Status Overview: Error: Could not open main config file '/usr/local/nagios/etc/nagios.cfg' for reading! and so on, some Links works, some did not work. It's a test computer. Apache is running, nagis is running I'm using SuSE 8.0 German, Standard httpd.conf, nagios.conf as in docs/mailinglists seen. I did a chmod 777 /usr/local/nagios -R I think my Apache-Config is the cause, but I'm not so familiar with it. Does someone of you knows, where the solution is ? Thanks for help. Andreas ------------------------------------------------------- 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 From johan.ahman at siemens.com Thu Sep 5 13:36:31 2002 From: johan.ahman at siemens.com (=?iso-8859-1?Q?=C5hman_Johan?=) Date: Thu, 5 Sep 2002 13:36:31 +0200 Subject: NSCLient "CollectData failed" Message-ID: <14F538878C65D511AE6808000627C65E029DC01B@bilbo> I have a bunch of NT4 servers that I monitor using NSClient. For some reason NSClient fails on some of these computers. The errormessage in the eventlog is the following. And it results in a connection refused for Nagios Event Type: Warning Event Source: NSClient Event ID: 3 User: N/A Description: CollectData failed /Johan ------------------------------------------------------- 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 From pspa at gp.novis.pt Thu Sep 5 14:12:53 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 5 Sep 2002 13:12:53 +0100 Subject: NSCLient "CollectData failed" In-Reply-To: <14F538878C65D511AE6808000627C65E029DC01B@bilbo>; from johan.ahman@siemens.com on Thu, Sep 05, 2002 at 01:36:31PM +0200 References: <14F538878C65D511AE6808000627C65E029DC01B@bilbo> Message-ID: <20020905131253.A3932@gp.novis.pt> Hmm... looks like you're missing some 'performance stuff' on that machines. Using PerfMon on that machines, can you 'add' a graph for the parameters you're trying to monitor ? (CPU usage, whatever) Also, in the event logs, do you have any entry near the ones you refer stating anything about 'perfmon' or something similar ? Anyway, with only the info you've provided, it's kind'a difficult to make a more 'deep' analisis ... Hugz, On Thu, Sep 05, 2002 at 01:36:31PM +0200, ?hman Johan wrote: > I have a bunch of NT4 servers that I monitor using NSClient. For some reason > NSClient fails on some of these computers. The errormessage in the eventlog > is the following. And it results in a connection refused for Nagios > > Event Type: Warning > Event Source: NSClient > Event ID: 3 > User: N/A > Description: > CollectData failed > > /Johan > > > ------------------------------------------------------- > 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 > -- Paulo Pinto Novis GSP pspa at gp.novis.pt ------------------------------------------------------- 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 From pspa at gp.novis.pt Thu Sep 5 14:19:48 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 5 Sep 2002 13:19:48 +0100 Subject: smtp service monitoring won't work In-Reply-To: <20020905080910.84848.qmail@web40605.mail.yahoo.com>; from bliwanag@yahoo.com on Thu, Sep 05, 2002 at 01:09:10AM -0700 References: <20020905080910.84848.qmail@web40605.mail.yahoo.com> Message-ID: <20020905131948.A4028@gp.novis.pt> Hello. It'd help if you paste here: - The host[host] for the host running SMTP - The service[host] line for your SMTP test - The command[smtp-service-check] for the check you use on the previous line :-) Don't forget to remove any 'sensitive' information :-) Hugz, On Thu, Sep 05, 2002 at 01:09:10AM -0700, bernie liwanag wrote: > Good day! I have installed nagios-1.0b5 in my test > server and it seems it is working. However i haven't > check all the services that is running on our servers. > I have only checked dns,ping,ssh,http services and it > looks its working but nagios gives me "critical > result" on the status in the web site link using the > check_smtp script to check my email server smtp > service. But when I manually run the ./check_smtp -H > it gives me an OK result. What seems to be > problem on this? > > In addtion to nagios.Is there a way I can produce or > print the daily, weekly, monthly report on the > statistic results of nagios? > > > Thank you very much and hoping for your response! > > > Bernie Liwanag > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 > -- Paulo Pinto Novis GSP pspa at gp.novis.pt ------------------------------------------------------- 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 From avh at inbodan.dk Thu Sep 5 14:45:40 2002 From: avh at inbodan.dk (Allan Hansen, INBODAN) Date: Thu, 5 Sep 2002 14:45:40 +0200 Subject: SV: Nagios vs. .NET's MOM Message-ID: <03630F4AC119D311B0DF0008C716506F016ABF6C@ARHIN02> MOM is, if I remember correct, based on products from NetIQ (www.netiq.com). I had it demonstrated some time ago, and it all seems very neat and "Microsoft" like, - click here, click there, and you have sorts of wonderful statistics, graphs, logs, alarms etc ... It runs only on Windows. It is focused on monitoring Microsoft products, which of course is OK if you live in an all-microsoft environment. There are third party plugins, - eq. Compaq for monitoring their hardware. I guess with some work you can have it monitor the same stuff you monitor with Nagios. The pricing is hilarious compared to Nagios. The user interface is good compared to Nagios ;-) The hardware requirements is higher than Nagios. The advantage of MOM is the user friendliness, the (main) disadvantage is the high costs. If you are new to Nagios, you must prepare yourself for some hard work, and you will need to add other products if you require alarms sent to pagers or cell phones. If you hang in, the product is great, and very flexible. You should consider getting a trial copy if Operations Manager, if you need to do serious testing. I took my boss to the demo, we are now running Nagios on a small Linux box ;-) /Allan -----Oprindelig meddelelse----- Fra: Greg Vickers [mailto:g.vickers at qut.edu.au] Sendt: 5. september 2002 04:07 Til: nagios-users at lists.sourceforge.net Emne: [Nagios-users] Nagios vs. .NET's MOM Hi all, Apparantly .NET contains a product called MOM - Microsoft Operations Management. This product can provide real-time monitoring & reports etc etc of windows servers. My manager put a hold on ordering the server that we are purchasing for nagios and asked me to look into MOM. I'm looking for ... comparative information of the two products. I have a preference of which product i'd like to put in, but I have to build a case. Can anyone here comment on these two products? p.s. I just found out that the licence for MOM is per processor monitored... so if we want to monitor our lab PCs, we'd have to pay 1000*the licence fee ... which is low-three figure price... lice ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 From massimo.cereda at equart.com Thu Sep 5 16:03:20 2002 From: massimo.cereda at equart.com (Massimo Cereda) Date: Thu, 5 Sep 2002 16:03:20 +0200 Subject: R: smtp service monitoring won't work Message-ID: <070A8B9CFEFCF047A833C702DF5FF2C701C542@w2kmxsrv01.equart.com> > -----Messaggio originale----- > Da: bernie liwanag [mailto:bliwanag at yahoo.com] > > I have only checked dns,ping,ssh,http services and it > looks its working but nagios gives me "critical > result" on the status in the web site link using the > check_smtp script to check my email server smtp > service. But when I manually run the ./check_smtp -H > it gives me an OK result. What seems to be > problem on this? Read this old email: On Friday 09 August 2002 10:38, Massimo Cereda wrote: > Hi everyone, I have installed nagios and modifying the sample > configuration file. Everything is ok but check_smtp, return CRITICAL > status but return "SMTP OK - 0 second response time". I have read on > the Mailinglist archive that maybe a problem of the sample > configuration.....anyone can help me? I had this problem with checking the SMTP service on a MS Exchange Server machine. I checked it by hand with ./check_smtp -H msxserv and it showed the correct output but then didn't terminate correctly but waited until timeout. It seems that the plugin has problems with the response from the exchange server on the 'MAIL' command the plugin sends. I disabled the dummy command by commenting out the line #define SMTP_USE_DUMMYCMD 1 in the sourcecode, recompiled the plugin and it works fine (I just use it for the exchange server checking). HTH, R?diger -- R?diger Wolf-Sebottendorff Administrator Max-Planck-Institut for Biochemistry Martinsried, Planegg, Munich, Bavaria, Germany, Europe, Earth... ------------------------------------------------------- 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 From jasonp at iland.com Thu Sep 5 16:21:36 2002 From: jasonp at iland.com (Jason Payne) Date: Thu, 5 Sep 2002 09:21:36 -0500 Subject: SQL Database Size monitoring with nsca. Message-ID: Speaking of sql databases...I've used nsca to monitor a windows SQL Database doing this. Just fyi. Added these into... services.cfg: define service { host_name sql3 service_description doortodoor DB Size check_command check_nt_sqldbsize!90000!99000 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 windows-admins } checkcommands.cfg define command{ command_name check_nt_sqldbsize command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\SQLServer:Databases(doortodoor)\\Data File(s) Size (KB)","Doortodoor SQL DB size is %.2f %%" -w $ARG1$ -c $ARG2$ } ran ./restartnagios.sh Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios PID TT STAT TIME COMMAND 64810 ?? Ss 0:00.03 /home/nagios/bin/nagios -d /home/nagios/etc/nagios.cf Ran fine, and.. doortodoor DB Size OK 09-05-2002 09:23:56 0d 0h 9m 31s 1/3 Doortodoor SQL DB size is 86912.00 % Whala. I love nagios. -Jason Payne ------------------------------------------------------- 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 From jstucki at stern.nyu.edu Thu Sep 5 16:31:14 2002 From: jstucki at stern.nyu.edu (John T. Stucki) Date: Thu, 05 Sep 2002 10:31:14 -0400 Subject: Same Problem, Please help Message-ID: <3D776AB2.1070209@stern.nyu.edu> FROM: Grae Noble DATE: 07/28/2002 23:19:57 SUBJECT: [Nagios-users] Problem with commands and process monitoring Hi All, I tried searching through the user and dev mailing lists but could not find anyone else who has had this problem. basically I've built 1.0b4 (although I had the same problem with b3, I don't think I had the problem with any of the alphas) successfully using both mysql as the backend and using the log files. Everything seems to work ok except that I still get "Warning: Monitoring process may not be running! Click here for more info." from all the cgi's and none of the commands are avaiable. I've enabled nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/nagios.log 5 '/usr/local/nagios/bin/nagios' (I've tried using status.log, when I was using the file based logging and also using nagios.log when using mysql) and it seems to run ok as the user that nagios is running as (nagios): Nagios ok: located 1 processes, status log updated 12 seconds ago All the perms seem to be ok Running on solaris 8 / sparc, compiled with gcc 2.95.3, gmake 3.79.1, no odd warnings or errors on compile. No errors in the nagios.log. Has anyone seen this problem before? Thanks Grae Noble Communication and Information Services, University Services Division University of Newcastle, NSW Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 Room: CT216 ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Nagios-users mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users -- John T. Stucki Work Address: Network Administrator, IT Department 40 West 4th Street - Room 515 Stern School of Business, New York University New York, NY 10012 E-mail: jstucki at stern.nyu.edu Phone: 212.998.0160 Web: http://www.stern.nyu.edu/~jstucki Fax: 212.995.4236 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilcoxc at troycorp.com Thu Sep 5 16:37:56 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Thu, 5 Sep 2002 10:37:56 -0400 Subject: Nagios vs. .NET's MOM Message-ID: <5F735AF7A501D411910600104B76901E01EA96D3@POSTAL> Focus on ROI and initial startup costs. Because the OS is free and the program is free, it really makes it a no brainer in the bosses eyes. Just one incident saved because of the monitoring tool can be worth the cost of the server..... Plus wrap the server cost into other areas of traffic monitoring and protocol analysis. All free on the Linux platform. MRTG Network Probe These are just two great products that also can be put on the server for next to nothing. (sweat and tears only) Good Luck!! Chris. -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Wednesday, September 04, 2002 10:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios vs. .NET's MOM Hi all, Apparantly .NET contains a product called MOM - Microsoft Operations Management. This product can provide real-time monitoring & reports etc etc of windows servers. My manager put a hold on ordering the server that we are purchasing for nagios and asked me to look into MOM. I'm looking for ... comparative information of the two products. I have a preference of which product i'd like to put in, but I have to build a case. Can anyone here comment on these two products? p.s. I just found out that the licence for MOM is per processor monitored... so if we want to monitor our lab PCs, we'd have to pay 1000*the licence fee ... which is low-three figure price... ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Sep 5 16:45:39 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 5 Sep 2002 10:45:39 -0400 (EDT) Subject: mysql backend Re: Same Problem, Please help In-Reply-To: <3D776AB2.1070209@stern.nyu.edu> References: <3D776AB2.1070209@stern.nyu.edu> Message-ID: Take a look at contrib/check_nagios_db.pl instead of check_nagios... -sg On Thu, 5 Sep 2002, John T. Stucki wrote: > FROM: Grae Noble > DATE: 07/28/2002 23:19:57 > SUBJECT: [Nagios-users] Problem with commands and process monitoring > > > > Hi All, > I tried searching through the user and dev mailing lists but could not > find anyone else who has had this problem. > > basically I've built 1.0b4 (although I had the same problem with b3, I > don't think I had the problem with any of the alphas) successfully using > both mysql as the backend and using the log files. Everything seems to > work ok except that I still get > > "Warning: Monitoring process may not be running! > Click here for more info." > > from all the cgi's and none of the commands are avaiable. > > I've enabled > nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/nagios.log > 5 '/usr/local/nagios/bin/nagios' > (I've tried using status.log, when I was using the file based logging > and also using nagios.log when using mysql) > > and it seems to run ok as the user that nagios is running as (nagios): > > Nagios ok: located 1 processes, status log updated 12 seconds ago > > All the perms seem to be ok > > Running on solaris 8 / sparc, compiled with gcc 2.95.3, gmake 3.79.1, no > odd warnings or errors on compile. No errors in the nagios.log. > > Has anyone seen this problem before? > > Thanks > > > Grae Noble > Communication and Information Services, University Services Division > University of Newcastle, NSW > Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 > Room: CT216 > > -- ------------------------------------------------------- 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 From brian.whitehead at digitalevergreen.com Thu Sep 5 16:52:39 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 05 Sep 2002 09:52:39 -0500 Subject: Nagios vs. .NET's MOM In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96D3@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96D3@POSTAL> Message-ID: <1031237559.2913.12.camel@linuxrulz.digitalevergreen.com> Regardless, which one you go with you'll still need the server. One point is that you'll need a much bigger server for the Microsoft product. I can guarantee that the minimum requirements are MUCH higher for the MS OS and software than running Linux and Nagios. I could probably run this on an old 486 although I wouldn't want to. On Thu, 2002-09-05 at 09:37, Wilcox, Chris wrote: > Focus on ROI and initial startup costs. Because the OS is free and the > program is free, it really makes it a no brainer in the bosses eyes. > > Just one incident saved because of the monitoring tool can be worth the cost > of the server..... > > Plus wrap the server cost into other areas of traffic monitoring and > protocol analysis. All free on the Linux platform. > > MRTG > Network Probe > > These are just two great products that also can be put on the server for > next to nothing. (sweat and tears only) > > Good Luck!! > > Chris. > > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Wednesday, September 04, 2002 10:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios vs. .NET's MOM > > > Hi all, > > Apparantly .NET contains a product called MOM - Microsoft Operations > Management. This product can provide real-time monitoring & reports etc etc > of windows servers. > > My manager put a hold on ordering the server that we are purchasing for > nagios and asked me to look into MOM. I'm looking for ... comparative > information of the two products. I have a preference of which product i'd > like to put in, but I have to build a case. Can anyone here comment on > these two products? > > p.s. I just found out that the licence for MOM is per processor > monitored... so if we want to monitor our lab PCs, we'd have to pay > 1000*the licence fee ... which is low-three figure price... > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > g.vickers at qut.edu.au > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: 6147 > > > > ------------------------------------------------------- > 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 -- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From Jens.Bergmann at nordCom.net Thu Sep 5 16:57:01 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Thu, 5 Sep 2002 16:57:01 +0200 Subject: Nagios vs. .NET's MOM Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DD57@nc-mail2.in.nordcom.net> From: Wilcox, Chris [mailto:wilcoxc at troycorp.com] Sent: Thursday, September 05, 2002 4:38 PM >Focus on ROI and initial startup costs. Because the OS is free and the program is free, it really makes it a no brainer in the bosses eyes. >Just one incident saved because of the monitoring tool can be worth the cost of the server..... >Plus wrap the server cost into other areas of traffic monitoring and protocol analysis. All free on the Linux platform. >MRTG is also available for windows :) >Network Probe also available for windows >These are just two great products that also can be put on the server for next to nothing. (sweat and tears only) indeed ;-) Greetings Jens ------------------------------------------------------- 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 From jstucki at stern.nyu.edu Thu Sep 5 18:02:59 2002 From: jstucki at stern.nyu.edu (John T. Stucki) Date: Thu, 05 Sep 2002 12:02:59 -0400 Subject: mysql backend Re: Same Problem, Please help References: Message-ID: <3D778033.4050409@stern.nyu.edu> perfect thank! but fyi, it was contrib/check_nagios.pl from the nagiosplugin downloads Subhendu Ghosh wrote: >Take a look at contrib/check_nagios_db.pl instead of check_nagios... > >-sg > >On Thu, 5 Sep 2002, John T. Stucki wrote: > > > >>FROM: Grae Noble >>DATE: 07/28/2002 23:19:57 >>SUBJECT: [Nagios-users] Problem with commands and process monitoring >> >> >> >>Hi All, >>I tried searching through the user and dev mailing lists but could not >>find anyone else who has had this problem. >> >>basically I've built 1.0b4 (although I had the same problem with b3, I >>don't think I had the problem with any of the alphas) successfully using >>both mysql as the backend and using the log files. Everything seems to >>work ok except that I still get >> >>"Warning: Monitoring process may not be running! >>Click here for more info." >> >>from all the cgi's and none of the commands are avaiable. >> >>I've enabled >>nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/nagios.log >>5 '/usr/local/nagios/bin/nagios' >> (I've tried using status.log, when I was using the file based logging >>and also using nagios.log when using mysql) >> >>and it seems to run ok as the user that nagios is running as (nagios): >> >>Nagios ok: located 1 processes, status log updated 12 seconds ago >> >>All the perms seem to be ok >> >>Running on solaris 8 / sparc, compiled with gcc 2.95.3, gmake 3.79.1, no >>odd warnings or errors on compile. No errors in the nagios.log. >> >>Has anyone seen this problem before? >> >>Thanks >> >> >>Grae Noble >>Communication and Information Services, University Services Division >>University of Newcastle, NSW >>Phone: +61 2 4921 7875 Fax: +61 2 4921 7087 >> Room: CT216 >> >> >> >> > > > -- John T. Stucki Work Address: Network Administrator, IT Department 40 West 4th Street - Room 515 Stern School of Business, New York University New York, NY 10012 E-mail: jstucki at stern.nyu.edu Phone: 212.998.0160 Web: http://www.stern.nyu.edu/~jstucki Fax: 212.995.4236 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmacfarlane at netzero.net Thu Sep 5 18:15:50 2002 From: cmacfarlane at netzero.net (Corry Macfarlane) Date: Thu, 5 Sep 2002 11:15:50 -0500 Subject: Nagios vs. .NET's MOM In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96D3@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96D3@POSTAL> Message-ID: <003601c254f7$8034e280$7fd9070a@corrymac.com> Some great comments from all. I concur that you have to look at ROI but you have to do a complete ROI model including startup costs, training costs, ongoing maintenance, operations, etc, etc. MOM licensing will definitely get you but for some shops it may be worth it - especially if you're a Microsoft only shop. The cost of bringing in Linux skills or training may be enough to offset the licensing costs. Anyway, what I'm getting at is that if you take your particular situation and run a complete ROI model across people, technology, and processes you'll end up with an easy decision for your boss. I can't tell you which one will win because it depends on your situation, but in any case, you'll be able to easily justify the decision. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wilcox, Chris Sent: Thursday, September 05, 2002 9:38 AM To: 'Greg Vickers'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios vs. .NET's MOM Focus on ROI and initial startup costs. Because the OS is free and the program is free, it really makes it a no brainer in the bosses eyes. Just one incident saved because of the monitoring tool can be worth the cost of the server..... Plus wrap the server cost into other areas of traffic monitoring and protocol analysis. All free on the Linux platform. MRTG Network Probe These are just two great products that also can be put on the server for next to nothing. (sweat and tears only) Good Luck!! Chris. -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Wednesday, September 04, 2002 10:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios vs. .NET's MOM Hi all, Apparantly .NET contains a product called MOM - Microsoft Operations Management. This product can provide real-time monitoring & reports etc etc of windows servers. My manager put a hold on ordering the server that we are purchasing for nagios and asked me to look into MOM. I'm looking for ... comparative information of the two products. I have a preference of which product i'd like to put in, but I have to build a case. Can anyone here comment on these two products? p.s. I just found out that the licence for MOM is per processor monitored... so if we want to monitor our lab PCs, we'd have to pay 1000*the licence fee ... which is low-three figure price... ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From number5078915 at yahoo.com Thu Sep 5 18:28:39 2002 From: number5078915 at yahoo.com (Tim Rodman) Date: Thu, 5 Sep 2002 09:28:39 -0700 (PDT) Subject: NAGIOS: QPAGE Message-ID: <20020905162839.62894.qmail@web20206.mail.yahoo.com> Anyone, Has anyone had success using qpage with nagios? I can send a page successfully from the command line as user "nagios" but nagios won't send out any pages when a device goes down. I have had success sending email and writing to a file from nagios though. Thanks Tim __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From galimore at mac.com Thu Sep 5 18:39:05 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 10:39:05 -0600 Subject: NAGIOS: QPAGE In-Reply-To: <20020905162839.62894.qmail@web20206.mail.yahoo.com> References: <20020905162839.62894.qmail@web20206.mail.yahoo.com> Message-ID: Tim, We use qpage with Nagios. Can you send the notification command that you're using to try and send the page? - Terry On Thursday, September 5, 2002, at 10:28 AM, Tim Rodman wrote: > Anyone, > > Has anyone had success using qpage with nagios? I can > send a page successfully from the command line as user > "nagios" but nagios won't send out any pages when a > device goes down. I have had success sending email > and writing to a file from nagios though. Thanks > > Tim > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 From jcarro10 at sprintspectrum.com Thu Sep 5 18:33:35 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Thu, 5 Sep 2002 11:33:35 -0500 Subject: Nagios vs. .NET's MOM Message-ID: Might even want to consider cacti instead of MRTG (as an option). -----Original Message----- From: Wilcox, Chris [mailto:wilcoxc at troycorp.com] Sent: Thursday, September 05, 2002 9:38 AM To: 'Greg Vickers'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios vs. .NET's MOM Focus on ROI and initial startup costs. Because the OS is free and the program is free, it really makes it a no brainer in the bosses eyes. Just one incident saved because of the monitoring tool can be worth the cost of the server..... Plus wrap the server cost into other areas of traffic monitoring and protocol analysis. All free on the Linux platform. MRTG Network Probe These are just two great products that also can be put on the server for next to nothing. (sweat and tears only) Good Luck!! Chris. -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Wednesday, September 04, 2002 10:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios vs. .NET's MOM Hi all, Apparantly .NET contains a product called MOM - Microsoft Operations Management. This product can provide real-time monitoring & reports etc etc of windows servers. My manager put a hold on ordering the server that we are purchasing for nagios and asked me to look into MOM. I'm looking for ... comparative information of the two products. I have a preference of which product i'd like to put in, but I have to build a case. Can anyone here comment on these two products? p.s. I just found out that the licence for MOM is per processor monitored... so if we want to monitor our lab PCs, we'd have to pay 1000*the licence fee ... which is low-three figure price... ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 From Yohann.Darsigny at sungard.com Thu Sep 5 19:03:32 2002 From: Yohann.Darsigny at sungard.com (Yohann.Darsigny at sungard.com) Date: Thu, 5 Sep 2002 13:03:32 -0400 Subject: NAGIOS: QPAGE Message-ID: <9B340D0F797E5E418024AF04760355E20C4FB6@e2kmtl1.internal.sungard.corp> An HTML attachment was scrubbed... URL: From galimore at mac.com Thu Sep 5 19:20:52 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 11:20:52 -0600 Subject: NAGIOS: QPAGE In-Reply-To: <20020905165216.28032.qmail@web20202.mail.yahoo.com> References: <20020905165216.28032.qmail@web20202.mail.yahoo.com> Message-ID: Tim, Here's my command: define command{ command_name svc-notify-by-pager command_line /bin/echo -e "$SERVICEDESC$ on $HOSTNAME$ just went '$SERVICESTATE$'" | /usr/local/bin/qpage -f nagios -p $CONTACTPAGER$ } I know for a fact that this works... maybe you could cannibalize the pieces you want. I'm not sure why yours isn't working... but I had nothing but bad luck with printf, so I use echo -e - Terry On Thursday, September 5, 2002, at 10:52 AM, Tim Rodman wrote: > Terry, > > Wow, that was fast. Here's the command: > command_line /usr/bin/printf "%b" "Testing" | > /usr/bin/qpage -i -p carlos -f nagios > > I assume carlos is set up correctly in qpage because I > can send him a page from the command line with the > above command. Thanks for your help > > Tim > > > > --- Terry Simons wrote: >> Tim, >> >> We use qpage with Nagios. >> >> Can you send the notification command that you're >> using to try and send >> the page? >> >> - Terry >> >> >> On Thursday, September 5, 2002, at 10:28 AM, Tim >> Rodman wrote: >> >>> Anyone, >>> >>> Has anyone had success using qpage with nagios? I >> can >>> send a page successfully from the command line as >> user >>> "nagios" but nagios won't send out any pages when >> a >>> device goes down. I have had success sending >> email >>> and writing to a file from nagios though. Thanks >>> >>> Tim >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Yahoo! Finance - Get real-time stock quotes >>> http://finance.yahoo.com >>> >>> >>> >> > ------------------------------------------------------- >>> 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com ------------------------------------------------------- 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 From galimore at mac.com Thu Sep 5 19:25:12 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 11:25:12 -0600 Subject: NAGIOS: QPAGE In-Reply-To: <20020905165216.28032.qmail@web20202.mail.yahoo.com> References: <20020905165216.28032.qmail@web20202.mail.yahoo.com> Message-ID: <6F0493C0-C0F4-11D6-8944-0003938FDD5C@mac.com> Tim, One other thing I thought I'd mention... Make sure you're using host commands for your hosts and service commands for your services. There is a difference... the command example I gave you was the one I use for services. I also have one for hosts... one sends out a page for when specific services go down, and one sends out a page for when a specific host goes down. I hope you figure it out.. - Terry On Thursday, September 5, 2002, at 10:52 AM, Tim Rodman wrote: > Terry, > > Wow, that was fast. Here's the command: > command_line /usr/bin/printf "%b" "Testing" | > /usr/bin/qpage -i -p carlos -f nagios > > I assume carlos is set up correctly in qpage because I > can send him a page from the command line with the > above command. Thanks for your help > > Tim > > > > --- Terry Simons wrote: >> Tim, >> >> We use qpage with Nagios. >> >> Can you send the notification command that you're >> using to try and send >> the page? >> >> - Terry >> >> >> On Thursday, September 5, 2002, at 10:28 AM, Tim >> Rodman wrote: >> >>> Anyone, >>> >>> Has anyone had success using qpage with nagios? I >> can >>> send a page successfully from the command line as >> user >>> "nagios" but nagios won't send out any pages when >> a >>> device goes down. I have had success sending >> email >>> and writing to a file from nagios though. Thanks >>> >>> Tim >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Yahoo! Finance - Get real-time stock quotes >>> http://finance.yahoo.com >>> >>> >>> >> > ------------------------------------------------------- >>> 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com ------------------------------------------------------- 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 From joblow7777 at yahoo.com Thu Sep 5 19:31:27 2002 From: joblow7777 at yahoo.com (jo smith) Date: Thu, 5 Sep 2002 10:31:27 -0700 (PDT) Subject: New question In-Reply-To: <20020903193744.61576.qmail@web13007.mail.yahoo.com> References: <20020903193744.61576.qmail@web13007.mail.yahoo.com> Message-ID: <20020905173127.83359.qmail@web13008.mail.yahoo.com> I just double-checked the libpng 1.2.4 and it compiled just fine. I don't know where the 1.0.6 could be coming from. Any ideas? > [Tue Sep 3 12:11:20 2002] [error] [client > 1.1.2.185] > Premature end of script headers: > /usr/local/nagios/sbin/statusmap.cgi > libpng warning: Application was compiled with png.h > from libpng-1.0.6 > libpng warning: Application is running with png.c > from libpng-1.2.4 > gd-png: fatal libpng error: Incompatible libpng > version in application and library > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From galimore at mac.com Thu Sep 5 19:43:07 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 11:43:07 -0600 Subject: New question In-Reply-To: <20020905173127.83359.qmail@web13008.mail.yahoo.com> References: <20020905173127.83359.qmail@web13008.mail.yahoo.com> Message-ID: Looks like your headers for 1.0.6 are floating around. Try tracking down the .h files and replacing them with the stuff from 1.2.4. whereis png.h might help track it down... Its possible that you had an old version installed somewhere else... such as /usr/include and /usr/lib and the new version is trying to install in /usr/local/include and /usr/local/lib or something... HTH - Terry On Thursday, September 5, 2002, at 11:31 AM, jo smith wrote: > I just double-checked the libpng 1.2.4 and it compiled > just fine. I don't know where the 1.0.6 could be > coming from. Any ideas? > >> [Tue Sep 3 12:11:20 2002] [error] [client >> 1.1.2.185] >> Premature end of script headers: >> /usr/local/nagios/sbin/statusmap.cgi >> libpng warning: Application was compiled with png.h >> from libpng-1.0.6 >> libpng warning: Application is running with png.c >> from libpng-1.2.4 >> gd-png: fatal libpng error: Incompatible libpng >> version in application and library >> > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 From joblow7777 at yahoo.com Thu Sep 5 20:00:57 2002 From: joblow7777 at yahoo.com (jo smith) Date: Thu, 5 Sep 2002 11:00:57 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020905180057.39910.qmail@web13003.mail.yahoo.com> Hi Terry. You are helping. Many thanks. So, am I only looking for png.h? Or are there other .h files I need to track down? The png.h I have are in /usr/local/include/libpng12 and /usr/local/include (the one in /usr/local/include is just a symlink to /usr/local/include/libpng12 if that matters). --- Terry Simons wrote: > Looks like your headers for 1.0.6 are floating > around. > > Try tracking down the .h files and replacing them > with the stuff from > 1.2.4. > > whereis png.h might help track it down... > > Its possible that you had an old version installed > somewhere else... > such as /usr/include and /usr/lib and the new > version is trying to > install in /usr/local/include and /usr/local/lib or > something... > > HTH > > - Terry > > On Thursday, September 5, 2002, at 11:31 AM, jo > smith wrote: > > > I just double-checked the libpng 1.2.4 and it > compiled > > just fine. I don't know where the 1.0.6 could be > > coming from. Any ideas? > > > >> [Tue Sep 3 12:11:20 2002] [error] [client > >> 1.1.2.185] > >> Premature end of script headers: > >> /usr/local/nagios/sbin/statusmap.cgi > >> libpng warning: Application was compiled with > png.h > >> from libpng-1.0.6 > >> libpng warning: Application is running with > png.c > >> from libpng-1.2.4 > >> gd-png: fatal libpng error: Incompatible libpng > >> version in application and library > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From galimore at mac.com Thu Sep 5 20:08:11 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 12:08:11 -0600 Subject: New question In-Reply-To: <20020905180057.39910.qmail@web13003.mail.yahoo.com> References: <20020905180057.39910.qmail@web13003.mail.yahoo.com> Message-ID: <70683EAA-C0FA-11D6-8944-0003938FDD5C@mac.com> One other thing... Have you re-compiled your gdlibs after you put the new png libraries in? If not, you'll definitely want to do that, as it's the gd program that seems to be complaining about the png libraries... If you upgraded the png libraries but didn't recompile the gd libraries, that could be your problem. Make sure that the /usr/local/include/png.h is a symlink to the other file. If it's not, you might want to fix that... Your problem could be as simple as recompiling the gd libs... but I don't know for sure... I'm just guessing based on the error messages you got. - Terry On Thursday, September 5, 2002, at 12:00 PM, jo smith wrote: > Hi Terry. > > You are helping. Many thanks. > > So, am I only looking for png.h? Or are there other > .h files I need to track down? The png.h I have are > in /usr/local/include/libpng12 and /usr/local/include > (the one in /usr/local/include is just a symlink to > /usr/local/include/libpng12 if that matters). > --- Terry Simons wrote: >> Looks like your headers for 1.0.6 are floating >> around. >> >> Try tracking down the .h files and replacing them >> with the stuff from >> 1.2.4. >> >> whereis png.h might help track it down... >> >> Its possible that you had an old version installed >> somewhere else... >> such as /usr/include and /usr/lib and the new >> version is trying to >> install in /usr/local/include and /usr/local/lib or >> something... >> >> HTH >> >> - Terry >> >> On Thursday, September 5, 2002, at 11:31 AM, jo >> smith wrote: >> >>> I just double-checked the libpng 1.2.4 and it >> compiled >>> just fine. I don't know where the 1.0.6 could be >>> coming from. Any ideas? >>> >>>> [Tue Sep 3 12:11:20 2002] [error] [client >>>> 1.1.2.185] >>>> Premature end of script headers: >>>> /usr/local/nagios/sbin/statusmap.cgi >>>> libpng warning: Application was compiled with >> png.h >>>> from libpng-1.0.6 >>>> libpng warning: Application is running with >> png.c >>>> from libpng-1.2.4 >>>> gd-png: fatal libpng error: Incompatible libpng >>>> version in application and library >>>> >>> >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Yahoo! Finance - Get real-time stock quotes >>> http://finance.yahoo.com >>> >>> >>> >> > ------------------------------------------------------- >>> 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 >> > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com ------------------------------------------------------- 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 From kenneth.ray at travelersla.com Thu Sep 5 20:36:51 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Thu, 05 Sep 2002 14:36:51 -0400 Subject: spaces in arguments References: Message-ID: <3D77A443.8F05F59E@travelersla.com> the behavior your describing is exactly how you would define an argument, however, the best way to handle this in perl is to assign the @ARGV list to a variable and then take that variable and assign it to what you need to assign it as a string. I believe you can do this by using a $LIST=@list; variable, if that doesnt work try a join() function on the list. hope this helps.. your code is doing what you told it to, tell it something different and you'll be set. remember in perl that all arguments are assigned to a default list called ARGV (at least that is what it says in my book) > --__--__-- > > Message: 1 > Date: Wed, 04 Sep 2002 17:35:23 -0400 > From: Russell Scibetti > Organization: Quadrix Solutions Inc. > To: Gunnar Hellekson , > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagios-devel] Spaces in arguments? > > For functionality sake, try adding a \ before each space to escape the > space. That might work. > > Russell Scibetti > > Gunnar Hellekson wrote: > > >This is a message I sent to nagiosplug-devel. This behavior appears to be > >coming from embedded perl, so I'm sending it here. Seems as though the > >argument parsing behavior is drastically different between checks run under > >embedded perl and those run more conventionally. > > > > > >------ Forwarded Message > >From: Gunnar Hellekson > >Date: Tue, 03 Sep 2002 01:12:05 -0400 > >To: nagiosplug-devel > >Subject: [Nagiosplug-devel] Spaces in arguments? > > > > > >I've pored through the Nagios code, posted questions, and tried to find > >working examples. I'm starting to think I'm stupid. I've written a plugin > >which takes, among other things, a string containing spaces. > > > >define command { > >command_name my_plugin > >command_line $USER1$/my_plugin -C '$ARG1$' -T $ARG2$ > >} > > > >define service { > >host_name my-host > >service_description buggy-service > >use generic-service > >check_command my_plugin!A String With Spaces!AnotherValue > >} > > > >Running this as nagios works, of course: > > > > ./my_plugin -C 'A String With Spaces' -T AnotherValue > > > >When run in Nagios, it behaves as if: > > > > ./my_plugin -C \'A String With Spaces\' -T AnotherValue > > > >In other words, argv is: > >0 == ./my_plugin > >1 == -C > >2 == 'A > >3 == String > >etc. > > > > > >I have tried: > > > > * wrapping $ARG1$ in both (') and (") characters > > * wrapping $ARG1$ in escaped quotes (\'), (\") > > * wrapping the first argument in the service declaration (A String...) > > in ('), (") and escaped quotes (\'), (\") > > > >In every case, the command is executed as if each word of $ARG1$ > >is a seperate argument. > > > >This is with Nagios 1.0b5, Solaris 2.6. The documentation to popen() > >and Nagios tell me that I should have to, at most, place a single quote (') > >around the $ARG1$ string in the check_command directive. Yet, no > >joy. > > > >Can anyone confirm this? Has anyone been able to get arguments > >containing spaces fed into their plugins? > > > >I would recompile with DEBUG1 so I could see the raw_command and > >processed_command, but nagios dumps core each time I've tried. > > > >Anyone? > > > >------ End of Forwarded Message > > ------------------------------------------------------- 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 From ajeffco at orhs.org Thu Sep 5 22:34:30 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Thu, 5 Sep 2002 16:34:30 -0400 Subject: Compile question Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F5665@MAIL01.orhs.org> Hello All, I'm compiling Nagios 1.5b on an IBM RS/6000, running AIX 5.1, using gnu gcc, automake, autoconf, make, etc. When ran the configure, it didn't produce any errors. When I ran the make all, I saw this error: ld: 0711-224 WARNING: Duplicate symbol: last_command_check ld: 0711-224 WARNING: Duplicate symbol: last_log_rotation It came up a LOT. Is this ok? Al Jeffcoat -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisd at better-investing.org Thu Sep 5 22:46:05 2002 From: chrisd at better-investing.org (Chris Ditri) Date: Thu, 5 Sep 2002 16:46:05 -0400 Subject: check_disk_smb problems Message-ID: <200209051646.05603.chrisd@better-investing.org> Hello, I am trying to move from netsaint to nagios. I have a few hosts up and configured. So far everything is great, except this one issue. The services I monitor through check_disk_smb do not seem to work. They always yeild this in the service detail: "Result from smbclient not suitable". When I issue the command from the command line, I get the same thing: # /usr/local/nagios/libexec/check_disk_smb -H SERVER -s /home -u USERNAME -p PASSWD -W OURDOMAIN Result from smbclient not suitable I had some other problems I will include at the bottom of this email for those who search through the list database for help in the future. I am using nagiosplug-1.3-beta1, nagios-1.0b5 on a RedHat 7.3 system. The monitored system is a redhat 6.2 system with samba 2.0.7 running on it. Thank you for your help. Chris ------------------------ Just FYI: At first, I had this problem when I executed it from the command line: # /usr/local/nagios/libexec/check_disk_smb -H SERVER -s /home -u USERNAME -p PASSWD -W MYDOMAIN Can't exec "//SERVER/home": No such file or directory at /usr/local/nagios/libexec/check_disk_smb line 103. Use of uninitialized value in split at /usr/local/nagios/libexec/check_disk_smb line 113. Use of uninitialized value in pattern match (m//) at /usr/local/nagios/libexec/check_disk_smb line 121. Result from smbclient not suitable I found out later that is because it appears that you need to have smbstatus on your system *before* you compile the addons. If you get this, I would suggest grabbing the samba packages (common and utils at least) install them, then untar, configure and compile the plugins again from scratch. ------------------------------------------------------- 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 From jasonm at kelman.com Thu Sep 5 22:57:53 2002 From: jasonm at kelman.com (Jason Marshall) Date: Thu, 5 Sep 2002 14:57:53 -0600 (MDT) Subject: New question In-Reply-To: <20020905173127.83359.qmail@web13008.mail.yahoo.com> References: <20020905173127.83359.qmail@web13008.mail.yahoo.com> Message-ID: You're running Solaris 8? Did you get your package of png stuff from sunfreeware.com? Me too, and I've got the exact same problems (same versions and everything). Time to find the libpng source, and built it all myself. > I just double-checked the libpng 1.2.4 and it compiled > just fine. I don't know where the 1.0.6 could be > coming from. Any ideas? > > > [Tue Sep 3 12:11:20 2002] [error] [client > > 1.1.2.185] > > Premature end of script headers: > > /usr/local/nagios/sbin/statusmap.cgi > > libpng warning: Application was compiled with png.h > > from libpng-1.0.6 > > libpng warning: Application is running with png.c > > from libpng-1.2.4 > > gd-png: fatal libpng error: Incompatible libpng > > version in application and library > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From sghosh at sghosh.org Thu Sep 5 23:11:00 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 5 Sep 2002 17:11:00 -0400 (EDT) Subject: check_disk_smb problems In-Reply-To: <200209051646.05603.chrisd@better-investing.org> References: <200209051646.05603.chrisd@better-investing.org> Message-ID: Could you post the output of the follwing: smbclient \/\/SERVER\/home PASSWD -W OURDOMAIN -I USERNAME -c ls -sg On Thu, 5 Sep 2002, Chris Ditri wrote: > Hello, > > I am trying to move from netsaint to nagios. I have a few hosts up and > configured. So far everything is great, except this one issue. > > The services I monitor through check_disk_smb do not seem to work. They > always yeild this in the service detail: "Result from smbclient not > suitable". When I issue the command from the command line, I get the same > thing: > > # /usr/local/nagios/libexec/check_disk_smb -H SERVER -s /home -u USERNAME -p > PASSWD -W OURDOMAIN > Result from smbclient not suitable > > > I had some other problems I will include at the bottom of this email for those > who search through the list database for help in the future. > > I am using nagiosplug-1.3-beta1, nagios-1.0b5 on a RedHat 7.3 system. The > monitored system is a redhat 6.2 system with samba 2.0.7 running on it. > > > Thank you for your help. > > > Chris > > > > ------------------------ > Just FYI: > > At first, I had this problem when I executed it from the command line: > # /usr/local/nagios/libexec/check_disk_smb -H SERVER -s /home -u USERNAME -p > PASSWD -W MYDOMAIN > Can't exec "//SERVER/home": No such file or directory at > /usr/local/nagios/libexec/check_disk_smb line 103. > Use of uninitialized value in split at > /usr/local/nagios/libexec/check_disk_smb line 113. > Use of uninitialized value in pattern match (m//) at > /usr/local/nagios/libexec/check_disk_smb line 121. > Result from smbclient not suitable > > I found out later that is because it appears that you need to have smbstatus > on your system *before* you compile the addons. If you get this, I would > suggest grabbing the samba packages (common and utils at least) install them, > then untar, configure and compile the plugins again from scratch. > > > ------------------------------------------------------- > 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_______________________________________________ > Nagios-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 From ghelleks at yahoo.com Thu Sep 5 23:41:47 2002 From: ghelleks at yahoo.com (Gunnar Hellekson) Date: Thu, 05 Sep 2002 17:41:47 -0400 Subject: spaces in arguments In-Reply-To: <3D77A443.8F05F59E@travelersla.com> References: <3D77A443.8F05F59E@travelersla.com> Message-ID: > From: "Kenneth.ray" > Date: Thu, 05 Sep 2002 14:36:51 -0400 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: spaces in arguments > > the behavior your describing is exactly how you would define an argument, > however, > the best way to handle this in perl is to assign the @ARGV list to a variable > and then > take that variable and assign it to what you need to assign it as a string. > I believe you can do this by using a $LIST=@list; variable, if that doesnt > work try > a join() function on the list. > hope this helps.. > your code is doing what you told it to, tell it something different and you'll > be set. > remember in perl that all arguments are assigned to a default list called > ARGV (at least that is > what it says in my book) The workarounds you mention will work only if none of the argument values contain a reserved argument token, for example: my_plugin -w 1 -c 10 -E 'I ran with the -c argument' @ARGV = ('my_plugin', '-w', '1', '-c', '10', '-E', 'I ran with the -c argument'); versus my_plugin -w 1 -c 10 -E I ran with the -c argument -90 @ARGV = ('my_plugin', '-w', '1', '-c', '10', '-E', 'I ran with the', '-c', 'argument'); Which are very different. I want the former, and I'm getting the latter. So that's a problem. The fact that Getopt::Long gets confused is further evidence that it's legitimately broken. -Gunnar > > > > >> --__--__-- >> >> Message: 1 >> Date: Wed, 04 Sep 2002 17:35:23 -0400 >> From: Russell Scibetti >> Organization: Quadrix Solutions Inc. >> To: Gunnar Hellekson , >> nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Re: [Nagios-devel] Spaces in arguments? >> >> For functionality sake, try adding a \ before each space to escape the >> space. That might work. >> >> Russell Scibetti >> >> Gunnar Hellekson wrote: >> >>> This is a message I sent to nagiosplug-devel. This behavior appears to be >>> coming from embedded perl, so I'm sending it here. Seems as though the >>> argument parsing behavior is drastically different between checks run under >>> embedded perl and those run more conventionally. >>> >>> >>> ------ Forwarded Message >>> From: Gunnar Hellekson >>> Date: Tue, 03 Sep 2002 01:12:05 -0400 >>> To: nagiosplug-devel >>> Subject: [Nagiosplug-devel] Spaces in arguments? >>> >>> >>> I've pored through the Nagios code, posted questions, and tried to find >>> working examples. I'm starting to think I'm stupid. I've written a plugin >>> which takes, among other things, a string containing spaces. >>> >>> define command { >>> command_name my_plugin >>> command_line $USER1$/my_plugin -C '$ARG1$' -T $ARG2$ >>> } >>> >>> define service { >>> host_name my-host >>> service_description buggy-service >>> use generic-service >>> check_command my_plugin!A String With Spaces!AnotherValue >>> } >>> >>> Running this as nagios works, of course: >>> >>> ./my_plugin -C 'A String With Spaces' -T AnotherValue >>> >>> When run in Nagios, it behaves as if: >>> >>> ./my_plugin -C \'A String With Spaces\' -T AnotherValue >>> >>> In other words, argv is: >>> 0 == ./my_plugin >>> 1 == -C >>> 2 == 'A >>> 3 == String >>> etc. >>> >>> >>> I have tried: >>> >>> * wrapping $ARG1$ in both (') and (") characters >>> * wrapping $ARG1$ in escaped quotes (\'), (\") >>> * wrapping the first argument in the service declaration (A String...) >>> in ('), (") and escaped quotes (\'), (\") >>> >>> In every case, the command is executed as if each word of $ARG1$ >>> is a seperate argument. >>> >>> This is with Nagios 1.0b5, Solaris 2.6. The documentation to popen() >>> and Nagios tell me that I should have to, at most, place a single quote (') >>> around the $ARG1$ string in the check_command directive. Yet, no >>> joy. >>> >>> Can anyone confirm this? Has anyone been able to get arguments >>> containing spaces fed into their plugins? >>> >>> I would recompile with DEBUG1 so I could see the raw_command and >>> processed_command, but nagios dumps core each time I've tried. >>> >>> Anyone? >>> >>> ------ End of Forwarded Message >>> > > > > > ------------------------------------------------------- > 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 From joblow7777 at yahoo.com Thu Sep 5 23:38:00 2002 From: joblow7777 at yahoo.com (jo smith) Date: Thu, 5 Sep 2002 14:38:00 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020905213800.50104.qmail@web13003.mail.yahoo.com> Yes, I'm running Solaris 8 and got the programs from sunfreeware. The png I've got right now is source I downloaded from the libpng URL. I got the libpng compiled just fine. Now I can't get the gd to compile. See the following: ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o gd_topal.o ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors *** Error code 1 make: Fatal error: Command failed for target `libgd.so.2.0.0' Now what? --- Jason Marshall wrote: > You're running Solaris 8? Did you get your package > of png stuff from > sunfreeware.com? > > Me too, and I've got the exact same problems (same > versions and > everything). > > Time to find the libpng source, and built it all > myself. > > > I just double-checked the libpng 1.2.4 and it > compiled > > just fine. I don't know where the 1.0.6 could be > > coming from. Any ideas? > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > 1.1.2.185] > > > Premature end of script headers: > > > /usr/local/nagios/sbin/statusmap.cgi > > > libpng warning: Application was compiled with > png.h > > > from libpng-1.0.6 > > > libpng warning: Application is running with > png.c > > > from libpng-1.2.4 > > > gd-png: fatal libpng error: Incompatible libpng > > > version in application and library > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > --- > 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 > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From Daniel.Rusch at GlobalCrossing.com Thu Sep 5 23:50:24 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Thu, 5 Sep 2002 17:50:24 -0400 Subject: Changing Notification Periods Message-ID: <0DA06E553C3BD511823500508BB8965A020120D0@exnadetmbx3.ams.gblxint.com> All, How do you handle hosts that the weekly scheduled downtime keeps changing. For example, I have a system call it Homer that normal goes down for database backup etc. On Sunday morning at 3 am to 4 am. But about twice a month or so they want to change the time to something else (say 4 am to 5 am). How do you handle this. I currently as a admin go in and hand edit the cfg file. It's no big deal for one server but do it for 50, agh... Is the a way to allow a "special trusted user" to change this time through the nagios interface? Thanks, Dan ------------------------------------------------------- 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 From jtinley at unirez.com Fri Sep 6 00:09:11 2002 From: jtinley at unirez.com (Jeremy Tinley) Date: Thu, 5 Sep 2002 17:09:11 -0500 Subject: Time based WARN/CRIT values Message-ID: <001c01c25528$dd19bee0$b201a8c0@unirez.com> Is there a way to change parameters based on time of day without hardcoding it into the script. I have a process that's allowed to get a little more out-of-control at night. I don't want the pager going off with the same thresholds that it does during the day, while I'm at work. Currently, I have 2 service checks, process and process-night. Process-night has higher critical and warning values. It's also configured to check and notify during nonworkhours. Same is true for the process service check. Did I pretty much hit the workaround, or is there something more obvious I'm missing? ------------------------------------------------------- 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 From galimore at mac.com Fri Sep 6 00:14:52 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 16:14:52 -0600 Subject: Changing Notification Periods In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D0@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D0@exnadetmbx3.ams.gblxint.com> Message-ID: I don't think you can do this sort of thing currently... You'll probably have to create your own tools to do it. This is the sort of thing that a lot of people could potentially be interested in... so if you do decide to develop something you could probably get help from others on the list. - Terry On Thursday, September 5, 2002, at 03:50 PM, Rusch, Daniel wrote: > All, > > How do you handle hosts that the weekly scheduled downtime keeps > changing. > For example, I have a system call it Homer that normal goes down for > database backup etc. On Sunday morning at 3 am to 4 am. But about > twice a > month or so they want to change the time to something else (say 4 am > to 5 > am). How do you handle this. I currently as a admin go in and hand > edit > the cfg file. It's no big deal for one server but do it for 50, agh... > Is > the a way to allow a "special trusted user" to change this time > through the > nagios interface? > > Thanks, > > Dan > > > ------------------------------------------------------- > 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 From galimore at mac.com Fri Sep 6 00:23:59 2002 From: galimore at mac.com (Terry Simons) Date: Thu, 5 Sep 2002 16:23:59 -0600 Subject: Nagios Web Interface IPv6 Weirdness Message-ID: <2CA2375D-C11E-11D6-8944-0003938FDD5C@mac.com> Is anyone using IPv6 with Apache and Nagios? I'm running into some weird issues that I can't quite track down. I'm using Apache version 2.0.40 on Slackware and Nagios version 1.0b5. I don't think it's a Nagios problem... but I just thought I'd ask the list to see if anyone else has experienced any problems. The CGIs aren't doing anything specifically with v4 addresses are they? Thanks! - Terry ------------------------------------------------------- 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 From wmitchv71 at hotmail.com Fri Sep 6 01:22:20 2002 From: wmitchv71 at hotmail.com (Wayne Mitchell) Date: Thu, 05 Sep 2002 23:22:20 +0000 Subject: Question regarding remote service checks Message-ID: I am a first time user to nagios, and would like to know if it is possible to grant access to the status reports, for an individual ( server per say ). So that if I have client who would like to know the current and historical status of his account, could he do that without gaining access to the rest of them? Any Help would be appreciated. Woody _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ------------------------------------------------------- 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 From JHicks at agribeef.com Fri Sep 6 01:47:51 2002 From: JHicks at agribeef.com (John Hicks) Date: Thu, 5 Sep 2002 17:47:51 -0600 Subject: Errors viewing Nagios web page from remote PC Message-ID: Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi and html authentication and when I open the page from the localhost and enter username and password I see all hosts fine and all pages are available, however when I do this from a remote machine I get prompted and enter my username and password and the nagios page comes up but on all the status pages the stats are either very old or not there at all. Also the tactical overview page gives me the error "Error: Could not open main config file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be great. Thanks, John Hicks ------------------------------------------------------- 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 From randy.omeara at lmco.com Fri Sep 6 01:51:26 2002 From: randy.omeara at lmco.com (OMeara, Randy) Date: Thu, 05 Sep 2002 16:51:26 -0700 Subject: Changing Notification Periods Message-ID: Why not just enter the odd scheduled downtimes with the Nagios Scheduled Downtime CGI interface using: For a host: http:///nagios/cgi-bin/cmd.cgi?cmd_typ=55&host= For a service: http:///nagios/cgi-bin/cmd.cgi?cmd_typ=56&host= &service= If you have *many* hosts/services to schedule, you could script it to write to the Nagios cmd pipe. Regards, Randy -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Thursday, September 05, 2002 2:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Changing Notification Periods All, How do you handle hosts that the weekly scheduled downtime keeps changing. For example, I have a system call it Homer that normal goes down for database backup etc. On Sunday morning at 3 am to 4 am. But about twice a month or so they want to change the time to something else (say 4 am to 5 am). How do you handle this. I currently as a admin go in and hand edit the cfg file. It's no big deal for one server but do it for 50, agh... Is the a way to allow a "special trusted user" to change this time through the nagios interface? Thanks, Dan ------------------------------------------------------- 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 From jragle at unm.edu Fri Sep 6 03:39:56 2002 From: jragle at unm.edu (Jamin) Date: Thu, 5 Sep 2002 19:39:56 -0600 (MDT) Subject: Question regarding remote service checks In-Reply-To: References: Message-ID: Yipes. Sounds like a difficult problem there. The only thing I can think of off hand is use webmin and make your own module to control what users have access to in nagios via the ACLs. BTW, anyone out there know if the NetSaint module for webmin is going to get updated for nagios? (I would hate to do the extra work of converting it over to nagios if it has already been done.) Nagios and webmin get along nicely. =) Now if I could only figure out how to syncronize the user lists between the two apps. -Jamin ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- On Thu, 5 Sep 2002, Wayne Mitchell wrote: > > > I am a first time user to nagios, and would like to know if it is possible > to grant access to the status reports, for an individual ( server per say ). > So that if I have client who would like to know the current and historical > status of his account, could he do that without gaining access to the rest > of them? Any Help would be appreciated. > Woody > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > > ------------------------------------------------------- > 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 From jragle at unm.edu Fri Sep 6 04:01:57 2002 From: jragle at unm.edu (Jamin) Date: Thu, 5 Sep 2002 20:01:57 -0600 (MDT) Subject: Antwort: Re: Image Problems In-Reply-To: References: Message-ID: Hmmm, I would suggest doing the usual things: o check the permissions on all your files o check the ownership on all your files o make sure filenames in the cfg files match the actual files o make sure the physical_html_path (in cgi.cfg) is correct o ... after that I would try to uncomment the statusmap_image line and comment out the gd2_image line. (I don't think gd2_image is a valid tag for the extended info.) http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Actually if you do the above list in reverse order it might save some time... what can I say, I'm sadistic. =) On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote: > > Hi, > > I've got them in the mentioned directory, but it's still not working. > > Please help > > > > > Jamin > Gesendet von: An: ralf.lebeda at ezi.de > nagios-users-admin at lists.sourc Kopie: nagios-users at lists.sourceforge.net > eforge.net Thema: Re: [Nagios-users] Image Problems > > > 04.09.2002 23:59 > > > > > > > Ralf, make sure your images are in the /nagios/share/images/logos > directory. > > -Jamin > > On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > > > Hi, > > > > how could I get the fancy ICONS to work?? > > > > In CGI.CFG > > ... > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > > .... > > > > In HOSTEXTINFO.CFG > > ... > > define hostextinfo[ > > host_name rubin > > icon_image linux40.png > > icon_image_alt Suse Linux > > vrml_image linux40.png > > # statusmap_image linux40.gd2 > > gd2_image linux40.gd2 > > 2d_coords 100,250 > > 3d_coords 100.0,50.0,75.0 > > } > > .... > > > > compiled with > > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > > --with-gd-inc=/usr/include --with-nagios-user=daemon > > --with-nagios-grp=daemon --with-default-status --with-default-comments > > --with-template-objects --with-default-retention --with-default-perfdata > > --with-default-downtime --enable-embedded-perl > > > > Thanks > > > > --------- > > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > > IT - Administration > > > > EZI GmbH URL: WWW.EZI.DE > > Kreuzgasse 42 > > D-35708 Haiger > > > > Tel.: +49 (0)2773-835135 > > Fax: +49 (0)2773-835195 > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > ---------------------------------------------------------------------- > "The Green Bay Packers never lost a game...they just ran out of time" > -- Vince Lombardi > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > 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 > > > > ______________________________________________________________________ Procrastination - "Hard work often pays off after time, but laziness always pays off now." ______________________________________________________________________ ------------------------------------------------------- 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 From sghosh at sghosh.org Fri Sep 6 05:19:26 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 5 Sep 2002 23:19:26 -0400 (EDT) Subject: Time based WARN/CRIT values In-Reply-To: <001c01c25528$dd19bee0$b201a8c0@unirez.com> References: <001c01c25528$dd19bee0$b201a8c0@unirez.com> Message-ID: On Thu, 5 Sep 2002, Jeremy Tinley wrote: > Is there a way to change parameters based on time of day without > hardcoding it into the script. > > I have a process that's allowed to get a little more out-of-control at > night. I don't want the pager going off with the same thresholds that > it does during the day, while I'm at work. > > Currently, I have 2 service checks, process and process-night. > Process-night has higher critical and warning values. It's also > configured to check and notify during nonworkhours. Same is true for > the process service check. > > Did I pretty much hit the workaround, or is there something more obvious > I'm missing? You are pretty much on target. The plugins have no concept of time. so two different definitions would be needed... -- -sg ------------------------------------------------------- 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 From sghosh at sghosh.org Fri Sep 6 05:17:24 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 5 Sep 2002 23:17:24 -0400 (EDT) Subject: Changing Notification Periods In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D0@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D0@exnadetmbx3.ams.gblxint.com> Message-ID: On Thu, 5 Sep 2002, Rusch, Daniel wrote: > All, > > How do you handle hosts that the weekly scheduled downtime keeps changing. > For example, I have a system call it Homer that normal goes down for > database backup etc. On Sunday morning at 3 am to 4 am. But about twice a > month or so they want to change the time to something else (say 4 am to 5 > am). How do you handle this. I currently as a admin go in and hand edit > the cfg file. It's no big deal for one server but do it for 50, agh... Is > the a way to allow a "special trusted user" to change this time through the > nagios interface? > > Thanks, > > Dan > why edit the cfg? Anyone who is a contact for the host/service should be able to schedule a downtime. Alternatively a script to submit an external command the submits the following: SCHEDULE_SVC_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment SCHEDULE_HOST_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment -- -sg ------------------------------------------------------- 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 From sghosh at sghosh.org Fri Sep 6 05:21:50 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 5 Sep 2002 23:21:50 -0400 (EDT) Subject: Errors viewing Nagios web page from remote PC In-Reply-To: References: Message-ID: On Thu, 5 Sep 2002, John Hicks wrote: > Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi > and html authentication and when I open the page from the localhost and > enter username and password I see all hosts fine and all pages are > available, however when I do this from a remote machine I get prompted and > enter my username and password and the nagios page comes up but on all the > status pages the stats are either very old or not there at all. Also the > tactical overview page gives me the error "Error: Could not open main config > file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be > great. Thanks, > John Hicks > > Umm.. something with your apache config. Do you have a single definition for the nagios site or two in httpd.conf? -- -sg ------------------------------------------------------- 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 From ralf.lebeda at ezi.de Fri Sep 6 07:50:55 2002 From: ralf.lebeda at ezi.de (ralf.lebeda at ezi.de) Date: Fri, 6 Sep 2002 07:50:55 +0200 Subject: Antwort: Re: Antwort: Re: Image Problems partly solved Message-ID: Hi , I found the trouble of not displaying the images. I had all the "cfg-files" in a directory /etc/nagios. Within the files I put all the paths corresponding to my /etc/nagios directory. Everything was working but the hostextinfo icons were not displayed and also the the help icon for onlinehelp wasn't there. I copied all the "cfg-files" to /usr/local/nagios/etc and changed all the lines within again. Since then I get all the icons displayed and the help icon. Great, great :-)))))) It seems that the CGI-scripts tried to find the information within /usr/local/nagios/etc and not in /etc/nagios. I think I must give the changing "etc" path somewhere at configuration time, but I don't know where. Maybe someone does know that?????? Thanks and Rgds Ralf Jamin Kopie: nagios-users at lists.sourceforge.net Thema: Re: Antwort: Re: [Nagios-users] Image Problems 06.09.2002 04:01 Hmmm, I would suggest doing the usual things: o check the permissions on all your files o check the ownership on all your files o make sure filenames in the cfg files match the actual files o make sure the physical_html_path (in cgi.cfg) is correct o ... after that I would try to uncomment the statusmap_image line and comment out the gd2_image line. (I don't think gd2_image is a valid tag for the extended info.) http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Actually if you do the above list in reverse order it might save some time... what can I say, I'm sadistic. =) On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote: > > Hi, > > I've got them in the mentioned directory, but it's still not working. > > Please help > > > > > Jamin > Gesendet von: An: ralf.lebeda at ezi.de > nagios-users-admin at lists.sourc Kopie: nagios-users at lists.sourceforge.net > eforge.net Thema: Re: [Nagios-users] Image Problems > > > 04.09.2002 23:59 > > > > > > > Ralf, make sure your images are in the /nagios/share/images/logos > directory. > > -Jamin > > On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > > > Hi, > > > > how could I get the fancy ICONS to work?? > > > > In CGI.CFG > > ... > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > > .... > > > > In HOSTEXTINFO.CFG > > ... > > define hostextinfo[ > > host_name rubin > > icon_image linux40.png > > icon_image_alt Suse Linux > > vrml_image linux40.png > > # statusmap_image linux40.gd2 > > gd2_image linux40.gd2 > > 2d_coords 100,250 > > 3d_coords 100.0,50.0,75.0 > > } > > .... > > > > compiled with > > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > > --with-gd-inc=/usr/include --with-nagios-user=daemon > > --with-nagios-grp=daemon --with-default-status --with-default-comments > > --with-template-objects --with-default-retention --with-default-perfdata > > --with-default-downtime --enable-embedded-perl > > > > Thanks > > > > --------- > > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > > IT - Administration > > > > EZI GmbH URL: WWW.EZI.DE > > Kreuzgasse 42 > > D-35708 Haiger > > > > Tel.: +49 (0)2773-835135 > > Fax: +49 (0)2773-835195 > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > ---------------------------------------------------------------------- > "The Green Bay Packers never lost a game...they just ran out of time" > -- Vince Lombardi > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > 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 > > > > ______________________________________________________________________ Procrastination - "Hard work often pays off after time, but laziness always pays off now." ______________________________________________________________________ ------------------------------------------------------- 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 From Fredrik.Wanglund at datavis.se Fri Sep 6 09:03:01 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 6 Sep 2002 09:03:01 +0200 Subject: Whats wrong with hostextinfo!! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802B1@storevis.datavis.se> I can't get hostextinfo to work. I am using template-based configuration and my cgi.cfg has the following line xedtemplate_config_file=/usr/local/nagios/etc/xedtemplate.cfg the file xedtemplate.cfg looks like this: define hoststextinfo{ host_name sheriff notes_url http://localhost.com/info icon_image linux40.png icon_image_alt Mandrake-8.2 vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } define serviceextinfo{ host_name sheriff service_description Ftp notes_url http://localhost.com/info icon_image sun40.png icon_image_alt Security-Related Alerts } When I look at the service, a SUN-logo and an icon with a link to the notes_url is shown. But when I look at the host nothing of my ext-info is shown, neither in the host-details nor in the status-map. Why? The logos are in /usr/local/nagios/share/logos and everyone have read-access. /FredrikW ------------------------------------------------------- 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 From Fredrik.Wanglund at datavis.se Fri Sep 6 10:32:52 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 6 Sep 2002 10:32:52 +0200 Subject: More problems with hostextinfo!! Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802B7@storevis.datavis.se> I am using the template-based configuration below. In this case, all my linux-boxes got an penguin-logo, but if I uncomment the last two lines on the last host ALL three hosts get the RedHat-logo.. Have I misunderstood the template-concept? define hostextinfo{ name linux_template icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 register 0 } define hostextinfo{ host_name barbar use linux_template } define hostextinfo{ host_name sheriff use linux_template } define hostextinfo{ host_name bepa use linux_template #icon_image redhat.png #statusmap_image redhat.png } ------------------------------------------------------- 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 From davide.depaoli at labinf.it Fri Sep 6 10:52:08 2002 From: davide.depaoli at labinf.it (Davide Depaoli) Date: Fri, 6 Sep 2002 10:52:08 +0200 Subject: How to use cgi URL with urlize ? Message-ID: <000d01c25582$af622730$8d818dd4@hmssipac.it> Hi to all, I have the following problem: I'm using MRTG with RRDTool to graph some resources. I want to see these graphs using the urlize and passing the URL of my graph. These is a part of my checkcommands.cfg file : WORKING -------------------- # 'check_cpu_load' command definition define command{ command_name check_cpu_load command_line $USER1$/urlize http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA D -l 10,80,95,60,80,95,1440,80,95 } -------------------- In this mode I see all graphs for my server, but I would to see only CPU LOAD graph. If I reference only the cgi?cfg parameter all works fine, but if I want to use some cgi options in URL the urlize doesn't works. DOESN'T WORKING ------------------- # 'check_cpu_load' command definition define command{ command_name check_cpu_load command_line $USER1$/urlize http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg&log=$H OSTNAME$_cpu $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA D -l 10,80,95,60,80,95,1440,80,95 } ---------------- In this mode I see only CPU LOAD graph. thanks to everybody helps me. Davide ------------------------------------------------------------- Davide Depaoli HMS SIPAC SpA - Strada Moleto III, 2 13048 Santhia' (VC) Phone: +39 0161 928749 Mobile: +39 329 8633999 davide.depaoli at labinf.it www.hms.labinf.it ------------------------------------------------------- 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 From andreas.schranzhofer at laufer.at Fri Sep 6 11:06:03 2002 From: andreas.schranzhofer at laufer.at (Andreas Schranzhofer) Date: Fri, 6 Sep 2002 11:06:03 +0200 Subject: Nagios Plugins Installation Message-ID: <8F05563930B8DA488DAF634ED496DE8B01CBEC@goliat.laufer.co.at> Hi !! I?ve downloaded Nagios 1.0b5 and it installed without problems. Now I wanted to install the plugins. I got them from sourceforge (version 1.3-beta1) and they don?t compile. The ./configure script runs without problems, but when I want to make them (make all) I always get the same error: cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error2 What can I do. We momently run Netsaint but we have problems with the Status map, so I want to install the newer nagios. Thanx for any hints Schranzhofer Andreas ------------------------------------------------------- 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 From milena_s at postmaster.co.uk Fri Sep 6 13:19:08 2002 From: milena_s at postmaster.co.uk (milena schrevel) Date: Fri, 06 Sep 2002 12:19:08 +0100 Subject: plugin problem Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Fredrik.Wanglund at datavis.se Fri Sep 6 13:28:01 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 6 Sep 2002 13:28:01 +0200 Subject: Nagios Plugins Installation Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802BA@storevis.datavis.se> I had the same problem. The solution was to remove a space on the first line in the sh-scripts in the plugin-scripts directory (from '#! /bin/sh' to '#!/bin/sh' /FredrikW -----Original Message----- From: Andreas Schranzhofer [mailto:andreas.schranzhofer at laufer.at] Sent: Fri 06-Sep-02 11:06 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Nagios Plugins Installation Hi !! I?ve downloaded Nagios 1.0b5 and it installed without problems. Now I wanted to install the plugins. I got them from sourceforge (version 1.3-beta1) and they don?t compile. The ./configure script runs without problems, but when I want to make them (make all) I always get the same error: cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error2 What can I do. We momently run Netsaint but we have problems with the Status map, so I want to install the newer nagios. Thanx for any hints Schranzhofer Andreas ------------------------------------------------------- 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=urceforge1&refcode1=3390 _______________________________________________ Nagios-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 From mark_leddy at hotmail.com Fri Sep 6 13:34:21 2002 From: mark_leddy at hotmail.com (Mark Leddy) Date: Fri, 06 Sep 2002 11:34:21 +0000 Subject: Nagios vs. .NET's MOM Message-ID: My thoughts on Microsoft's MOM What this product is a shrink wrapped tool which uses WMI (Windows Management Interface) to manage services, check service states, check file sizes, dates, processor speed, Windows NT Performance Monitor Counters (maybe only Win2k machines on this one?) , anything that you would or could configure or get a value from...Event Log..etc. MS SMS tool also uses WMI on the SMS Clients for auditing / reporting. Mom can then track your Windows machines history of any of these items, achieve them (Never really used MOM so don't know how well it does on this) Check www.mcpmag.com for review. Also MOM comes with some and lets you build scripts to perfom actions based on any type of schedule or as a result of a changed value, example would be performance monitor counter, etc. I am not sure if MOM can monitor routers for performance or if it is smart enough to let you check pingability of a host like a router that does not use a MS OS. (Anyone able to answer that??) Where as Nagios let you monitor a heck of lot of stuff out of the box - router, remote smtp service , dns service checks (to see if dns really responds to a defined query www.yahoo.com - where MOM and I am only guessing here but is most likely out of the box could only check the state of the dns service), I have yet to fully test or use Nagios (disclaimer) I have installed the NSClient on just one machine but believe this gives you the ability to check vital stats, NT service state, and NT Performance Monitor counters, also the NSClient download page said something like ...... anyone have more details on one nay of these three items ...... 1) pulling data from the NT Event logs 2) I think you could launch a process remotely on the Windows box - which mean you could run a Windows script. ( this would allow you to have a Nagios process check the NT processor util for a specific process and if over 50% kill that process) 3) I do not know if Nagios can save and achieve the actual results from the NT performance monitor checks ( I think I read before.. it would be possible for someone to write.. Don't know if it exists) Summary Mom likely can with some configuration monitor for specific NT event log items take corrective action, etc. save and make reports on stats for a grad a processor or so.... Nagios have greater monitor for non Windows machines + routers, etc. Plus if you really want things like pie charts this can be done via scheduling saving NT performance monitor logs, export to excel, etc. You can also have a Windows machine run scripts on itself to do things like service checks, monitor WMI info and run scripts - just MOM jive you some of this is a save some of you time and pay us. I work at a place that uses a NetIQ product who is the company I think Microsoft purchased some technology from to build Mom and the tool even though it come with a GUI (yahoo) still takes a while to build the service checks, monitoring , logging and reporting and costs a small bundle. Plus for NetIQ you need to purchase support and if you want updates year after year support costs more. I think NetIQ even sells some 3rd party scripts to use with MOM again these likely save some time rather then writing them on your own but cost money. Nagios you could always uses these free newsgroups and if needed contract with one of the companies listed. What happens when MS ask you to purchase an upgrade. MOM may also recommend corrective actions for some Event Ids, for free check http://www.eventid.net Let us know what happens and good luck? Mark _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------------------------------------------------------- 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 From liebmann at bbs1.btf.st.schule.de Fri Sep 6 13:04:48 2002 From: liebmann at bbs1.btf.st.schule.de (Andreas Liebmann) Date: Fri, 6 Sep 2002 13:04:48 +0200 Subject: AW: Error reading cgi.cfg or nagios.cfg In-Reply-To: References: Message-ID: Hello ! The described problem has a solution. Meantime I tried also Netscape 6.2.3 and it works, but didnt with IEx.6 ! So I found, that in "Internet Explorer v6 -> Extras -> Internetoptionen" (I only know it German !) the option Use HTTP 1.1 over Proxies (in German: "HTTP 1.1 ?ber Proxyverbindungen verwenden") must be _enabled_ !!!!! I think, this should be written to the FAQ. Andreas -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Andreas Liebmann Gesendet: Donnerstag, 5. September 2002 12:49 An: Nagios Users Betreff: [Nagios-users] Error reading cgi.cfg or nagios.cfg Hello ! I'm new in this list. Maybe this will be an earlier thread (but not found in archives). After some compiling problems (autoconf 2.13 only works !!!, not easy to find the solution) nagios starts. I can see the docs, and particular some sites will shown. But I get errors when I try on the left side: Tactical Overview: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Service Detail: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Host Detail works. Status Overview: Error: Could not open main config file '/usr/local/nagios/etc/nagios.cfg' for reading! and so on, some Links works, some did not work. It's a test computer. Apache is running, nagis is running I'm using SuSE 8.0 German, Standard httpd.conf, nagios.conf as in docs/mailinglists seen. I did a chmod 777 /usr/local/nagios -R I think my Apache-Config is the cause, but I'm not so familiar with it. Does someone of you knows, where the solution is ? Thanks for help. Andreas ------------------------------------------------------- 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 From joblow7777 at yahoo.com Fri Sep 6 15:34:49 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 6 Sep 2002 06:34:49 -0700 (PDT) Subject: New question In-Reply-To: <20020905213800.50104.qmail@web13003.mail.yahoo.com> References: <20020905213800.50104.qmail@web13003.mail.yahoo.com> Message-ID: <20020906133449.55225.qmail@web13008.mail.yahoo.com> I was thinking about this. Should I remove libpng-1.2.4 entirely from the system and go back to 1.0.6? Or is that a bad idea? Jason, what are you doing? Are you any further along? --- jo smith wrote: > Yes, I'm running Solaris 8 and got the programs from > sunfreeware. The png I've got right now is source I > downloaded from the libpng URL. I got the libpng > compiled just fine. Now I can't get the gd to > compile. See the following: > > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o > gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o gd_io_ss.o > gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o > gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o > gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o > gd_topal.o > ld: fatal: option -h and building a dynamic > executable > are incompatible > ld: fatal: Flags processing errors > *** Error code 1 > make: Fatal error: Command failed for target > `libgd.so.2.0.0' > > Now what? > --- Jason Marshall wrote: > > You're running Solaris 8? Did you get your > package > > of png stuff from > > sunfreeware.com? > > > > Me too, and I've got the exact same problems (same > > versions and > > everything). > > > > Time to find the libpng source, and built it all > > myself. > > > > > I just double-checked the libpng 1.2.4 and it > > compiled > > > just fine. I don't know where the 1.0.6 could > be > > > coming from. Any ideas? > > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > > 1.1.2.185] > > > > Premature end of script headers: > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > libpng warning: Application was compiled with > > png.h > > > > from libpng-1.0.6 > > > > libpng warning: Application is running with > > png.c > > > > from libpng-1.2.4 > > > > gd-png: fatal libpng error: Incompatible > libpng > > > > version in application and library > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > --- > > 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 > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From cmsu_tech2 at yahoo.com Fri Sep 6 15:37:08 2002 From: cmsu_tech2 at yahoo.com (Nathan Hill) Date: Fri, 6 Sep 2002 06:37:08 -0700 (PDT) Subject: Installation with MySql Message-ID: <20020906133708.57979.qmail@web13007.mail.yahoo.com> I am a newbie to nagios and need some assistance. I am getting ready to install nagios. I would like to install with PostgreSQL database support. I read through the documents on getting this done. It specifies what table names should be and what permissions to set, but says nothing about what field names,types,lengths should be. Do I need to know this or will nagios create the fields for me? On the same note, has anyone made any mods/patches to store some of the object configuration files in the database? Thanks! Nathan Hill __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From jon at lur.no Fri Sep 6 15:55:08 2002 From: jon at lur.no (=?ISO-8859-1?Q?Jon_Lur=E5s?=) Date: Fri, 6 Sep 2002 15:55:08 +0200 Subject: Nagios Plugins Installation In-Reply-To: <8F05563930B8DA488DAF634ED496DE8B01CBEC@goliat.laufer.co.at> References: <8F05563930B8DA488DAF634ED496DE8B01CBEC@goliat.laufer.co.at> Message-ID: Hello! On 6 Sep 02, at 11:06, Andreas Schranzhofer wrote: > Hi !! > .. snip .. > The ./configure script runs without problems, but when I want to make them > (make all) I always get the same error: > cd . && > /bin/sh: -c: line 2: syntax error: unexpected end of file > make: *** [aclocal.m4] Error2 > .. snip .. I guess you are missing automake - I solve the problem with this package a week ago. Jon ------------------------------------------------------- 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 From Daniel.Rusch at GlobalCrossing.com Fri Sep 6 16:00:55 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 6 Sep 2002 10:00:55 -0400 Subject: Changing Notification Periods Message-ID: <0DA06E553C3BD511823500508BB8965A020120D1@exnadetmbx3.ams.gblxint.com> Thanks for the reply. I thought of both of your suggestions. Let me try to explain a little better. It's more than just scheduling "down time" we are really talking about changing the timeperiods. We don't want people to be required to "schedule down time" (they will forget and I get paged). Normally, the systems are backed up/maintained at the same time each week/day but on occasion they need to change when the backup/maintenance occurs. For example: # 'LEXM' timeperiod definition define timeperiod{ timeperiod_name LEXM alias LEXM sunday 00:00-04:00, 06:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } look at Sunday's entry. From 4 to 6 am, outages will not be reported. Let's say that they need to change that to 3 to 5. Is there an easy way to do it without editing the cfg file. Dan -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, September 05, 2002 10:17 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Changing Notification Periods On Thu, 5 Sep 2002, Rusch, Daniel wrote: > All, > > How do you handle hosts that the weekly scheduled downtime keeps changing. > For example, I have a system call it Homer that normal goes down for > database backup etc. On Sunday morning at 3 am to 4 am. But about twice a > month or so they want to change the time to something else (say 4 am to 5 > am). How do you handle this. I currently as a admin go in and hand edit > the cfg file. It's no big deal for one server but do it for 50, agh... Is > the a way to allow a "special trusted user" to change this time through the > nagios interface? > > Thanks, > > Dan > why edit the cfg? Anyone who is a contact for the host/service should be able to schedule a downtime. Alternatively a script to submit an external command the submits the following: SCHEDULE_SVC_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment SCHEDULE_HOST_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment -- -sg ------------------------------------------------------- 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 From davide.depaoli at labinf.it Fri Sep 6 16:08:03 2002 From: davide.depaoli at labinf.it (Davide Depaoli) Date: Fri, 6 Sep 2002 16:08:03 +0200 Subject: How to use cgi URL with urlize ? In-Reply-To: <000d01c25582$af622730$8d818dd4@hmssipac.it> References: <000d01c25582$af622730$8d818dd4@hmssipac.it> Message-ID: <001f01c255ae$d152cc10$8d818dd4@hmssipac.it> Problem solved. Must put the URL between "". For example: $USER1$/urlize "http://212.141.129.146/nagios/cgi-bin/14 all.cgi?cfg=rrd_$HOSTNAME$.cfg&log=$HOSTNAME$_cpu" -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Davide Depaoli Sent: Friday, September 06, 2002 10:52 AM To: Nagios-Users (E-mail) Subject: [Nagios-users] How to use cgi URL with urlize ? Hi to all, I have the following problem: I'm using MRTG with RRDTool to graph some resources. I want to see these graphs using the urlize and passing the URL of my graph. These is a part of my checkcommands.cfg file : WORKING -------------------- # 'check_cpu_load' command definition define command{ command_name check_cpu_load command_line $USER1$/urlize http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA D -l 10,80,95,60,80,95,1440,80,95 } -------------------- In this mode I see all graphs for my server, but I would to see only CPU LOAD graph. If I reference only the cgi?cfg parameter all works fine, but if I want to use some cgi options in URL the urlize doesn't works. DOESN'T WORKING ------------------- # 'check_cpu_load' command definition define command{ command_name check_cpu_load command_line $USER1$/urlize http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg&log=$H OSTNAME$_cpu $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA D -l 10,80,95,60,80,95,1440,80,95 } ---------------- In this mode I see only CPU LOAD graph. thanks to everybody helps me. Davide ------------------------------------------------------------- Davide Depaoli HMS SIPAC SpA - Strada Moleto III, 2 13048 Santhia' (VC) Phone: +39 0161 928749 Mobile: +39 329 8633999 davide.depaoli at labinf.it www.hms.labinf.it ------------------------------------------------------- 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 From jasonm at kelman.com Fri Sep 6 16:23:20 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 6 Sep 2002 08:23:20 -0600 (MDT) Subject: New question In-Reply-To: <20020905213800.50104.qmail@web13003.mail.yahoo.com> References: <20020905213800.50104.qmail@web13003.mail.yahoo.com> Message-ID: Sun's ld uses different flags than Linux's, which is what Boutell seems to have crafted his Makefile(s) for... Or maybe it's just that Sun's ld is different from everyone else's... *8-). It's parsing -shared as if it were -s -h -a -r -e -d, and whining about the -h part... I think last time I did this, I gave up on making the shared lib and just linked things with the .a that's much easier to create (as I recall). > Yes, I'm running Solaris 8 and got the programs from > sunfreeware. The png I've got right now is source I > downloaded from the libpng URL. I got the libpng > compiled just fine. Now I can't get the gd to > compile. See the following: > > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o > gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o gd_io_ss.o > gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o > gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o > gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o > gd_topal.o > ld: fatal: option -h and building a dynamic executable > are incompatible > ld: fatal: Flags processing errors > *** Error code 1 > make: Fatal error: Command failed for target > `libgd.so.2.0.0' > > Now what? > --- Jason Marshall wrote: > > You're running Solaris 8? Did you get your package > > of png stuff from > > sunfreeware.com? > > > > Me too, and I've got the exact same problems (same > > versions and > > everything). > > > > Time to find the libpng source, and built it all > > myself. > > > > > I just double-checked the libpng 1.2.4 and it > > compiled > > > just fine. I don't know where the 1.0.6 could be > > > coming from. Any ideas? > > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > > 1.1.2.185] > > > > Premature end of script headers: > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > libpng warning: Application was compiled with > > png.h > > > > from libpng-1.0.6 > > > > libpng warning: Application is running with > > png.c > > > > from libpng-1.2.4 > > > > gd-png: fatal libpng error: Incompatible libpng > > > > version in application and library > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > --- > > 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 > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From jasonm at kelman.com Fri Sep 6 16:31:28 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 6 Sep 2002 08:31:28 -0600 (MDT) Subject: New question In-Reply-To: <20020906133449.55225.qmail@web13008.mail.yahoo.com> References: <20020906133449.55225.qmail@web13008.mail.yahoo.com> Message-ID: I gave up on the pretty pictures long ago, and have been spending my time on functionality. But once that's done, I'd like to get the pretty pictures working, too *8-) > I was thinking about this. Should I remove > libpng-1.2.4 entirely from the system and go back to > 1.0.6? Or is that a bad idea? Jason, what are you > doing? Are you any further along? > > --- jo smith wrote: > > Yes, I'm running Solaris 8 and got the programs from > > sunfreeware. The png I've got right now is source I > > downloaded from the libpng URL. I got the libpng > > compiled just fine. Now I can't get the gd to > > compile. See the following: > > > > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o > > gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o gd_io_ss.o > > gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o > > gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o > > gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o > > gd_topal.o > > ld: fatal: option -h and building a dynamic > > executable > > are incompatible > > ld: fatal: Flags processing errors > > *** Error code 1 > > make: Fatal error: Command failed for target > > `libgd.so.2.0.0' > > > > Now what? > > --- Jason Marshall wrote: > > > You're running Solaris 8? Did you get your > > package > > > of png stuff from > > > sunfreeware.com? > > > > > > Me too, and I've got the exact same problems (same > > > versions and > > > everything). > > > > > > Time to find the libpng source, and built it all > > > myself. > > > > > > > I just double-checked the libpng 1.2.4 and it > > > compiled > > > > just fine. I don't know where the 1.0.6 could > > be > > > > coming from. Any ideas? > > > > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > > > 1.1.2.185] > > > > > Premature end of script headers: > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > libpng warning: Application was compiled with > > > png.h > > > > > from libpng-1.0.6 > > > > > libpng warning: Application is running with > > > png.c > > > > > from libpng-1.2.4 > > > > > gd-png: fatal libpng error: Incompatible > > libpng > > > > > version in application and library > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Finance - Get real-time stock quotes > > > > http://finance.yahoo.com > > > > > > > > > > --- > > > 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 > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From joblow7777 at yahoo.com Fri Sep 6 16:51:44 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 6 Sep 2002 07:51:44 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020906145144.77770.qmail@web13008.mail.yahoo.com> Is there another linker to use besides Sun's? I found an ld in these places: /usr/lib/ld /usr/ccs/bin/ld /usr/ccs/bin/sparcv9/ld /usr/ucb/ld Would the one in /usr/lib or /usr/ucb be better than the one in /usr/ccs/bin or /usr/ccs/bin/sparcv9? --- Jason Marshall wrote: > Sun's ld uses different flags than Linux's, which is > what Boutell seems to > have crafted his Makefile(s) for... Or maybe it's > just that Sun's ld is > different from everyone else's... *8-). > > It's parsing -shared as if it were -s -h -a -r -e > -d, and whining about > the -h part... > > I think last time I did this, I gave up on making > the shared lib and just > linked things with the .a that's much easier to > create (as I recall). > > > Yes, I'm running Solaris 8 and got the programs > from > > sunfreeware. The png I've got right now is source > I > > downloaded from the libpng URL. I got the libpng > > compiled just fine. Now I can't get the gd to > > compile. See the following: > > > > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o > > gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o > gd_io_ss.o > > gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o > > gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o > > gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o > > gd_topal.o > > ld: fatal: option -h and building a dynamic > executable > > are incompatible > > ld: fatal: Flags processing errors > > *** Error code 1 > > make: Fatal error: Command failed for target > > `libgd.so.2.0.0' > > > > Now what? > > --- Jason Marshall wrote: > > > You're running Solaris 8? Did you get your > package > > > of png stuff from > > > sunfreeware.com? > > > > > > Me too, and I've got the exact same problems > (same > > > versions and > > > everything). > > > > > > Time to find the libpng source, and built it all > > > myself. > > > > > > > I just double-checked the libpng 1.2.4 and it > > > compiled > > > > just fine. I don't know where the 1.0.6 could > be > > > > coming from. Any ideas? > > > > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > > > 1.1.2.185] > > > > > Premature end of script headers: > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > libpng warning: Application was compiled > with > > > png.h > > > > > from libpng-1.0.6 > > > > > libpng warning: Application is running > with > > > png.c > > > > > from libpng-1.2.4 > > > > > gd-png: fatal libpng error: Incompatible > libpng > > > > > version in application and library > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Finance - Get real-time stock quotes > > > > http://finance.yahoo.com > > > > > > > > > > --- > > > 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 > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 > > > > --- > 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: 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From sghosh at sghosh.org Fri Sep 6 17:08:06 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 6 Sep 2002 11:08:06 -0400 (EDT) Subject: Changing Notification Periods In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D1@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D1@exnadetmbx3.ams.gblxint.com> Message-ID: Not really - you are trying to create a down time for the host. The use of timeperiods would be recommended if it was the same time all the time. I think you are try to shoe horn a process issue - the backup folks forget to schedule the downtime - into a timeperiod config issue. The way to get the backup folks involved in this is to set them up as a contact for Sunday 0200 - 0600 - This way if they forget to schedule the down time they too will get paged and have an "oh s**t" before you call in. If they schedule the downtime - nobody gets paged and evrybody stays happy (relatively :) Besides, everytime you change the cfg, the nagios process has to restart and you loose a small monitoring window. If you really want to use timeperiods, why not increase the exempt timeperiod from 0300 to 0600 to cover 3-5 or 4-6 since the ablility to change the backup window implies there is some flexibility in that timeperiod for availablility. If you do use the downtime feature - note that you can use the flexible downtime such that the a downtime can start anywhere in the window specified, but then will last for a period equal to the window. So a flexible downtime of 0300-0500 will cover both 0300-0500 and 0400-0600 or 0459-0659 if you require 2 hours for the backup. -sg On Fri, 6 Sep 2002, Rusch, Daniel wrote: > Thanks for the reply. > > I thought of both of your suggestions. Let me try to explain a little > better. It's more than just scheduling "down time" we are really talking > about changing the timeperiods. We don't want people to be required to > "schedule down time" (they will forget and I get paged). Normally, the > systems are backed up/maintained at the same time each week/day but on > occasion they need to change when the backup/maintenance occurs. > > For example: > > # 'LEXM' timeperiod definition > define timeperiod{ > timeperiod_name LEXM > alias LEXM > sunday 00:00-04:00, 06:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > > > look at Sunday's entry. From 4 to 6 am, outages will not be reported. > Let's say that they need to change that to 3 to 5. Is there an easy way to > do it without editing the cfg file. > > Dan > > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, September 05, 2002 10:17 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Changing Notification Periods > > > On Thu, 5 Sep 2002, Rusch, Daniel wrote: > > > All, > > > > How do you handle hosts that the weekly scheduled downtime keeps changing. > > For example, I have a system call it Homer that normal goes down for > > database backup etc. On Sunday morning at 3 am to 4 am. But about twice a > > month or so they want to change the time to something else (say 4 am to 5 > > am). How do you handle this. I currently as a admin go in and hand edit > > the cfg file. It's no big deal for one server but do it for 50, agh... Is > > the a way to allow a "special trusted user" to change this time through > the > > nagios interface? > > > > Thanks, > > > > Dan > > > > why edit the cfg? > > Anyone who is a contact for the host/service should be able to schedule a > downtime. Alternatively a script to submit an external command the > submits the following: > > SCHEDULE_SVC_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 > otherwise=0;duration (sec);contact name;comment > > SCHEDULE_HOST_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 > otherwise=0;duration (sec);contact name;comment > > > -- ------------------------------------------------------- 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 From jasonm at kelman.com Fri Sep 6 17:21:05 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 6 Sep 2002 09:21:05 -0600 (MDT) Subject: New question In-Reply-To: <20020906145144.77770.qmail@web13008.mail.yahoo.com> References: <20020906145144.77770.qmail@web13008.mail.yahoo.com> Message-ID: > Is there another linker to use besides Sun's? I found > an ld in these places: > > /usr/lib/ld That's a directory. > /usr/ccs/bin/ld This is the one most people use. > /usr/ccs/bin/sparcv9/ld This is the 64-bit version of the one above -- transparently used on 64-bit machines, no need to call it specifically. > /usr/ucb/ld This is a wrapper script that calls /usr/ccs/bin after defining LD_RUN_PATH for olde-fashioned SunOS 4.x compatibility mode. NOT recommended unless you need it for some strange reason. Seriously, the one in /usr/ccs/bin will do what you need it to do, and the only better one might be that one that comes in the SUNWspro packages, which aren't free or included with Solaris... > > Would the one in /usr/lib or /usr/ucb be better than > the one in /usr/ccs/bin or /usr/ccs/bin/sparcv9? > > --- Jason Marshall wrote: > > Sun's ld uses different flags than Linux's, which is > > what Boutell seems to > > have crafted his Makefile(s) for... Or maybe it's > > just that Sun's ld is > > different from everyone else's... *8-). > > > > It's parsing -shared as if it were -s -h -a -r -e > > -d, and whining about > > the -h part... > > > > I think last time I did this, I gave up on making > > the shared lib and just > > linked things with the .a that's much easier to > > create (as I recall). > > > > > Yes, I'm running Solaris 8 and got the programs > > from > > > sunfreeware. The png I've got right now is source > > I > > > downloaded from the libpng URL. I got the libpng > > > compiled just fine. Now I can't get the gd to > > > compile. See the following: > > > > > > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o > > > gd_io.o gd_io_dp.o gd_io_file.o gd_ss.o > > gd_io_ss.o > > > gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o > > > gdfontmb.o gdfontl.o gdfontg.o gdtables.o gdft.o > > > gdcache.o gdkanji.o wbmp.o gd_wbmp.o gdhelpers.o > > > gd_topal.o > > > ld: fatal: option -h and building a dynamic > > executable > > > are incompatible > > > ld: fatal: Flags processing errors > > > *** Error code 1 > > > make: Fatal error: Command failed for target > > > `libgd.so.2.0.0' > > > > > > Now what? > > > --- Jason Marshall wrote: > > > > You're running Solaris 8? Did you get your > > package > > > > of png stuff from > > > > sunfreeware.com? > > > > > > > > Me too, and I've got the exact same problems > > (same > > > > versions and > > > > everything). > > > > > > > > Time to find the libpng source, and built it all > > > > myself. > > > > > > > > > I just double-checked the libpng 1.2.4 and it > > > > compiled > > > > > just fine. I don't know where the 1.0.6 could > > be > > > > > coming from. Any ideas? > > > > > > > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > > > > 1.1.2.185] > > > > > > Premature end of script headers: > > > > > > /usr/local/nagios/sbin/statusmap.cgi > > > > > > libpng warning: Application was compiled > > with > > > > png.h > > > > > > from libpng-1.0.6 > > > > > > libpng warning: Application is running > > with > > > > png.c > > > > > > from libpng-1.2.4 > > > > > > gd-png: fatal libpng error: Incompatible > > libpng > > > > > > version in application and library > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > Do You Yahoo!? > > > > > Yahoo! Finance - Get real-time stock quotes > > > > > http://finance.yahoo.com > > > > > > > > > > > > > --- > > > > 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 > > > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > --- > > 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: 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 > --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From atonns at mail.ivillage.com Fri Sep 6 17:31:36 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Fri, 6 Sep 2002 11:31:36 -0400 Subject: statusmap.cgi not showing dependencies properly Message-ID: i'd like to know if the statusmap.cgi will understand the alternate method i'm using for configs and map the dependencies properly. basically, each host has one line in the main nagios.cfg: cfg_dir=/usr/local/nagios/etc/hosts/firewall cfg_dir=/usr/local/nagios/etc/hosts/testhost in each directory there is a host.cfg file that has something like this (as apropriate): define host{ use generic-host ; Name of host template to use host_name testhost alias Test for Nagios address testhost.foobar.com check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period workhours } define hostdependency{ host_name firewall dependent_host_name testhost notification_failure_criteria d,u } also in the appropriate directories are seperate config files for each service (http.cfg, ping.cfg, etc. etc.) statusmap.cgi prints a nice picture, but it doesn't show that "testhost" depends on "router". it shows all hosts directly connected to the "nagios process" icon. P.S. "testhost" is actually a virtual IP on "firewall" that is nat'd to testhost.nat.foobar.com using private 10.x.x.x addresses behind that firewall. P.P.S. I only have 3 hosts currently configured. The host that runs nagios, "firewall" and "testhost". They are all shown as directly connected to "nagios process". thanks in advance for any/all help. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisd at better-investing.org Fri Sep 6 17:54:43 2002 From: chrisd at better-investing.org (Chris Ditri) Date: Fri, 6 Sep 2002 11:54:43 -0400 Subject: external commands Message-ID: <200209061154.43564.chrisd@better-investing.org> Hi. I am having difficulty with getting external commands working. I swear I have done everything it says to in the docs. This is what I have done: I edited nagios.cfg and changed or added the following variables: check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd I had created a user named nagios at time of installation. I created a group called nagiocmd. I made sure that the user nagios was a member of the nagiocmd group: usermod -G nagiocmd nagios I made sure that the web-user was also a member of this group (in this case that is user: apache): usermod -G nagiocmd apache Just to CMA, I made the nobody user a member: usermod -G nagiocmd nobody The directory /usr/local/nagios/var/rw already existed from install I changed the ownership of that directory for user and group: chown nagios.nagiocmd /usr/local/nagios/var/rw I changed the perms on that directory: chmod u+rwx /usr/local/nagios/var/rw chmod g+rw /usr/local/nagios/var/rw chmod g+s /usr/local/nagios/var/rw I restarted both nagios and apache Everytime I try to issue an external command, for example disable notifications, I get the error: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. Return from whence you came What the heck am I missing? I have done this on netsaint with no problems what so ever, and it doesn't want to work here. I did an ls -l on /usr/local/nagios/var/rw/nagios.cmd and got this: prw-rw---- 1 nagios nagiocmd 0 Sep 6 10:28 nagios.cmd Is that normal? One interesting thing I found was that when I do an ls -ld on /usr/local/nagios/var/rw I get this: drwxrwS--- 2 nagios nagiocmd 4096 Sep 6 10:28 /usr/local/nagios/var/rw I noticed the capital "S"... I don't ever rembmer that being capitol... could that be it? I don't know why it is capitalized, it never was before when I excuted that command (I don't think). I tried as well with chmod 2760 rw as well, same deal. I even set all perms to 000, and started over, still the same. I have read the docs a half dozen times here, and at least tripple checked everything.... What the heck am I missing? Thank you! Chris ------------------------------------------------------- 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 From TGFurnish at herff-jones.com Fri Sep 6 18:07:49 2002 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Fri, 6 Sep 2002 11:07:49 -0500 Subject: Time based WARN/CRIT values Message-ID: <5D8D9455134FD211AE4900A0C9DED11E0773F91F@indy1ntm.herff-jones.com> > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, September 05, 2002 10:19 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Time based WARN/CRIT values > > > On Thu, 5 Sep 2002, Jeremy Tinley wrote: > > > Is there a way to change parameters based on time of day without > > hardcoding it into the script. > > > > I have a process that's allowed to get a little more > out-of-control at > > night. I don't want the pager going off with the same > thresholds that > > it does during the day, while I'm at work. > > > > Currently, I have 2 service checks, process and process-night. > > Process-night has higher critical and warning values. It's also > > configured to check and notify during nonworkhours. Same > is true for > > the process service check. > > > > Did I pretty much hit the workaround, or is there something > more obvious > > I'm missing? > > You are pretty much on target. The plugins have no concept > of time. so > two different definitions would be needed... > > -sg That's right, of course, but IMHO it's less than optimal conceptually because you end up with "two" services instead of one, which throws off both the user interface and the reporting ability. What might be the best way to change nagios to deal with that? Are there any related changes in CVS? Here's an idea - I wish I had the time and skill to code it. :-( Perhaps the template-based config file format could be extended such that services can have properties grouped by timeperiods So an example would be: define service{ use mytemplate hostname host1,host2,host3 service_description PING check_command check_ping define optgroup_period{ valid-periods workhours notification_interval 10 notification_options wucr contact_groups unixadmins } define optgroup_period{ valid-periods nonworkhours notification_interval 60 notification_options cr contact_groups operators } } That would probably be a Big Change though. I haven't even thought about how it might impact escalations and dependencies yet. Criticism welcomed... -t. ------------------------------------------------------- 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 From bshellrude at idyia.com Fri Sep 6 19:11:58 2002 From: bshellrude at idyia.com (Ben Shellrude) Date: Fri, 6 Sep 2002 12:11:58 -0500 Subject: Nagios 1.0b5 can't connect to MySQL Database Message-ID: <9AEC93D99BC1E04DBAA0900C1021196A057DF9@idyia-adex.idyia.com> Hello all, I am a Netsaint user of 1.5 years now. However as I am in need of upgrading our Monitoring systems, I decided to go ahead and move to nagios. My problem is simply this:Sep 6 12:00:09 monitor nagios: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '******'. Status data will not be saved! Sep 6 12:00:09 monitor nagios: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '*****'. Retention data will not be processed or saved! Sep 6 12:00:09 monitor nagios: Error: Could not re-connect to database server on host 'localhost' for status data. I'll keep trying every 60 seconds... Sep 6 12:00:09 monitor nagios: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '******' for comment data! Sep 6 12:00:09 monitor nagios: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '******' for downtime data! I originally started with a statically linked MySQL 4 which quickly became obvious that it would not work. I then downgraded my MySQL version to 2.23.52 and shared librarires, which provided the proper libs to successfully compile nagios with MySQL support. This is when the above problem made itself know. After trying a number of things, and examining debug output from MySQL it's been found that nagios isn't even making an attempt at connecting to the MySQL server. Finally out of desparation I downgraded again to the official RPMS for my dist (RedHat 7.2) where the version is 3.23.22, re-compiled nagios with --enable-DEBUG5... still no kind of indication as to what the problem is either from nagios OR MySQL. Has anyone seen this problem before? I would appreciate any help/input that any one can provide on this. I am at a loss. Ben Shellrude Sr. Network Analyst IDYIA Inc. Hosting Excellence Since 1972 900 - 167 Lombard Avenue Winnipeg MB R3B 0V3 *NEW* Tel: 204-977-0181 ext. 225 *NEW* Fax: 204-977-0171 Pager: 204-784-3235 *Please update our new numbers in your records.* www.idyia.com "Great spirits have always found violent opposition from mediocrities. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." --Einstein, Albert ------------------------------------------------------- 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 From jcarro10 at sprintspectrum.com Fri Sep 6 18:04:16 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Fri, 6 Sep 2002 11:04:16 -0500 Subject: NRPE and check_log2 Message-ID: I'm currently testing the check_log2 plugin (Perl script, in the contrib directory) on 2 test hosts, using NRPE. (My reason for using check_log2 instead of check_log is because of the fact that check_log2 doesn't need to copy the entire logfile, that it uses seek and tell.) The problem I'm having is that occasionally I'm getting connection timeouts. I suppose I could raise the timeout in the service definition, but I don't see why I should need to. Why? Because I'm also running a handful of other NRPE tests on those 2 test hosts, and have never once experienced a connection timeout. Therein lies the puzzle. If it matters, Nagios is running under RH Linux 7.3, and the test hosts being monitored via NRPE are both running Solaris8. Thoughts? Suggestions for troubleshooting this? jc ------------------------------------------------------- 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 From dbadrak at tco.census.gov Fri Sep 6 21:16:53 2002 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 6 Sep 2002 15:16:53 -0400 Subject: exclude a host in a hostgroup? In-Reply-To: References: Message-ID: All, Hi. I've just recently started using Nagios. It is really very full featured. I like what I see. I've defined a host group with 30 hosts. I have the same service check on all of them, with the exception of one. I want to exclude one service check (the Lotus Notes port) from only one host in the host group. Is that possible, without explicitly listing all the hosts in the group? Like an "exclude_host_name" (or "exclude_hostgroup_name")? Or any hacks to do it? Thanks. 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From ppng at yahoo.com Fri Sep 6 23:33:55 2002 From: ppng at yahoo.com (ppng) Date: Fri, 6 Sep 2002 14:33:55 -0700 (PDT) Subject: Can nrpe or nsca run on Windows platform ??? Message-ID: <20020906213355.72228.qmail@web10008.mail.yahoo.com> Hi, does anyone have experience getting the "nrpe" addon working on the Windows platform ? I got the "Nagios" and "nrpe" up and running already on 2 Linux boxes (they are separated by router, firewall, internet, etc... of course), I like to test out whether I can do some tweaks to get "nrpe" working on WindowsXP/2000/NT platforms. If you know how to do it, could you please let me know. If you know this cannot be done, please let me know as well. Thanks in advance for you help. Regards, Patrick ===== ppng at yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From shawnz at npgenvelope.com Fri Sep 6 23:45:44 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Fri, 6 Sep 2002 16:45:44 -0500 Subject: Can nrpe or nsca run on Windows platform ??? Message-ID: You need to use nsclient for windows boxes. > >Hi, does anyone have experience getting the "nrpe" addon working on the >Windows platform ? > >I got the "Nagios" and "nrpe" up and running already on 2 Linux boxes >(they are separated by router, firewall, internet, etc... of course), I >like to test out whether I can do some tweaks to get "nrpe" working on >WindowsXP/2000/NT platforms. > >If you know how to do it, could you please let me know. > >If you know this cannot be done, please let me know as well. > >Thanks in advance for you help. > >Regards, > >Patrick > >===== >ppng at yahoo.com > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > > >------------------------------------------------------- >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 From joblow7777 at yahoo.com Fri Sep 6 23:25:10 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 6 Sep 2002 14:25:10 -0700 (PDT) Subject: check_nrpe Message-ID: <20020906212510.46915.qmail@web13007.mail.yahoo.com> Hi all. Boy, I can't believe I've made it as far as I have. Thanks for everybody's help. Well, another question I have is this. I have nrpe running as a standalone daemon on a remote host. I've put 5666 into the /etc/inet/services file (this is a Solaris 8 machine). On the client, I'm getting this in /var/adm/messages: Sep 6 14:20:59 hostname nrpe[9095]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! On the server, I'm seeing this in the Nagios GUI: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? What am I doing wrong? __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From JLovell at innotrac.com Fri Sep 6 22:17:21 2002 From: JLovell at innotrac.com (Lovell, Jay) Date: Fri, 6 Sep 2002 16:17:21 -0400 Subject: nagios cgi config file error Message-ID: This is probably one that has been solved a thousand years ago, but I cannot for the life of me figure it out. Here's where I am. I've installed nagios and gotten it configured in apache. The appropriate alias entries have been made to httpd.conf in apache Nagios is installed in the standard location /usr/local/nagios the main screen shows in my browser. (nagios through apache is working) My error is this. Any time I click on one of the cgi-bin's I get the following error: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! What I have done so far to troubleshoot this is the following: The config files are there in that location. (the obvious check) the permissions are rw-rw-r-- they are owned by netsaint and the netsaint group I can run the /usr/local/nagios/sbin/tac.cgi cgi program from the command line as root and it works (returns html) I can run the /usr/local/nagios/sbin/tac.cgi cgi program as the apache user or the netsaint user and it works (returns html) If I move the cgi.cfg to cgi.cfg.turned.off, I can reproduce the above error from the command line (returns the above error) I have an older installation of netsaint on the same box in /usr/local/netsaint. - I have compared the permissions on the netsaint directories (down to sbin) to the nagios permissions and they are the same. - Netsaint cgi's work fine. Nagios cgi's do not. There are no error messages on this in either nagios or apache's error logs. When I run the cgi's through apache, they generate the above error. There are no answers on this in the docs or the FAQ. I could not find any messages on the above error using the newsgroup search tool. Anyone have any ideas on this? I'm flat out stumped on this. Jay Lovell Platform Architect Innotrac Corporation (678) 584-4022 office (770) 231-9678 cell (678) 475-5875 fax jlovell at innotrac.com ------------------------------------------------------- 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 From Mike.Young at atosorigin.com Fri Sep 6 22:19:10 2002 From: Mike.Young at atosorigin.com (Young, Mike) Date: Fri, 6 Sep 2002 16:19:10 -0400 Subject: exclude a host in a hostgroup? Message-ID: How about using the negate symbol (!) in front of the hostname in the group to exclude it. Would make for easy workaround when a host is down for a long time, and you don't want to keep getting alerted. Just negate the host in the host group, and restart nagios! Mike. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, September 06, 2002 2:50 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] exclude a host in a hostgroup? I don't think so. We just got the ability to apply the service def to a complete hostgroup and already you want to exclude some :) -sg On Fri, 6 Sep 2002, Don Badrak wrote: > All, > > Hi. I've just recently started using Nagios. It is really very full > featured. I like what I see. > > I've defined a host group with 30 hosts. I have the same service check on > all of them, with the exception of one. I want to exclude one service > check (the Lotus Notes port) from only one host in the host group. > > Is that possible, without explicitly listing all the hosts in the group? > Like an "exclude_host_name" (or "exclude_hostgroup_name")? Or any hacks > to do it? > > Thanks. > > Don > -- ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Fri Sep 6 22:29:40 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 06 Sep 2002 16:29:40 -0400 Subject: Perceived problem with host checks References: <20020906124659.F71743@mind.net> Message-ID: <3D791034.2050505@quadrix.com> We were confused by this at first too, but believe it or not, the behavior you saw is what is expected. You said that when you eventually turned HTTP back on, both the host and service came back up. The way the nagios logic works is: 1. check the service - if it fails... 2. check the host - it it fails (incl. the retries)... 3. host and service are now in a Hard non-OK state 4. Wait the service's normal_check_interval 5. Run the service (NOT the host) check 6. If the service is still down, then the host must still be down. 7. Wait the service's check interval.....repeat endlessly The Nagios logic appears to be "well, if the host is down, we can tell its back up when any of the services are running again" - similar logic to "if a service is running, the host must be fine." Also, you'll see there is no check_interval for hosts. This is because it uses the service checks as the basis for the monitoring logic. This is at least what we can tell. If someone know's something else, please share. -Russell Scibetti John Fox wrote: >Hello, > >I'm configuring a Nagios 1.0b4 installation. It's the first time I've >used this product, and I've run into somewhat of a stumbling block. > >Both hosts used in my tests are running FreeBSD 4.6-STABLE and nagios >is installed via the ports system. > >That said, here are the details: > >I've configured nagios to do host checks for host A" and service >checks for HTTPD on A. > >I start HTTPD on host A and fire up nagios (in daemon mode) on host B. > >Everything is fine. Host and service are both marked up UP. > >I use ipfw to disable ICMP on host A. This is done with the intent of >provoking a host check, knowing that the host-check test makes use of >ping. > >Host continues to remain marked as up. This makes sense to me, given >that HTTPD is still running and accessible there. > >I kill HTTPD on A. > >Both host and service become marked as 'down' and I begin to >receive problem notifications. > >I enable ICMP on A, knowing that the host-check-alive command >makes us of 'check_ping' plugin, and expecting that host A will >soon be marked as 'UP'. > >But that does not happen; the host continues to be marked as down. I >watch the various status screen and see multiple host tests >performed. I recieve multiple problem notifications. > >I'm flummoxed by this, and login to host B (the nagios machine) and >veryify that I can ping A from there. I can. I then run >check-host-alive's "check_ping" plugin from the command line. It >instantly returns with a "PING OK" response. (Note: I used the exact >same command structure as nagios would -- I took it from the >'check-host-alive' definition found in 'checkcommands.cfg'.) > >Yet the 'Host Information' pages shows the Status info as >"Critical -- Plugin timed out after 10 seconds". > >So to all appearances, nagios and I are getting different results >from the exact same command line. I don't believe this is what's >really going on, because it seems absurd to me. So I go to the FAQ. > >I see a question that seems to apply: "Hosts are incorrectly listed > as being DOWN or UNREACHABLE". But after reading it, I'm not sure >that it does apply. > >The way I read it, nagios didn't perform any host checks on A until >A's HTTPD went down. Makes sense. > >At which point a host check is performed -- if the host check doesn't >return 'OK', it is run again and again until it has made >max_check_attempts (from the host definition) attemps OR recieved >an "OK' response. > >My max_check_attempts is set to 3. But in observing the various >status screen, I saw the "Last Status Check" value changing every 3 >minutes. In the course of this test, I allowed the downtime to reach >46 minutes, which to me indicates that 15 host checks were run. >Obviously, this is a much larger number than 3. And certainly it >seems that the plugin never recieved an 'OK' response. This is quite >a conundrum to me! > >I then restarted HTTPD on host A. Within three minutes, this service >was once again marked as 'UP' and the host, too, was again marked as >'UP', with the 'Host Information' pages "Status Information" field >reading "PING OK...". > >On the off chance that my IPFW/ping machinations were somehow causing >wierdness, I repeated the same basic experiment, but rather than >disabling ICMP, I ifconfig'd my network card down. And rather than >re-enabling ICMP, I ifconfig'd the interface back up. This resulted >in the same behavior as the previous test. > >I don't see this as a major issue, given that a successful service >check causes the host to be again considered 'UP'. But it troubles me >to not understand the behavior I'm seeing, as I'm simply unable to >account for it. > >Any advice or thoughts would be very much welcomed! > > >Thanks in advance, > > >John > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- 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 From joblow7777 at yahoo.com Sat Sep 7 02:42:29 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 6 Sep 2002 17:42:29 -0700 (PDT) Subject: check_nrpe In-Reply-To: References: Message-ID: <20020907004229.91666.qmail@web13008.mail.yahoo.com> Oh and maybe a few line from your services.cfg file of your server showing the commands that interface/run on your client, too (sorry, forgot to ask that in my previous email). --- "Carroll, Jim P" wrote: > Take a look at nrpe.cfg on the remote host. You may > have noticed a line > that looks like: > > allowed_hosts=127.0.0.1 > > Modify it to look like: > > allowed_hosts=127.0.0.1,xxx.xxx.xxx.xxx > > where xxx.xxx.xxx.xxx is the IP address of your > Nagios host. Remember to > restart the nrpe daemon after you've saved this > change to nrpe.cfg. > > jc > > > -----Original Message----- > > From: jo smith [mailto:joblow7777 at yahoo.com] > > Sent: Friday, September 06, 2002 4:25 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_nrpe > > > > > > Hi all. > > > > Boy, I can't believe I've made it as far as I > have. > > Thanks for everybody's help. Well, another > question I > > have is this. I have nrpe running as a standalone > > daemon on a remote host. I've put 5666 into the > > /etc/inet/services file (this is a Solaris 8 > machine). > > On the client, I'm getting this in > /var/adm/messages: > > > > Sep 6 14:20:59 hostname nrpe[9095]: [ID 381997 > > daemon.error] Host xxx.xxx.xxx.xxx is not allowed > to > > talk to us! > > > > On the server, I'm seeing this in the Nagios GUI: > > > > CHECK_NRPE: Received 0 bytes. Are we allowed to > > connect to the host? > > > > What am I doing wrong? > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From joblow7777 at yahoo.com Sat Sep 7 02:34:38 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 6 Sep 2002 17:34:38 -0700 (PDT) Subject: check_nrpe In-Reply-To: References: Message-ID: <20020907003438.75792.qmail@web13005.mail.yahoo.com> Very cool, Jim. Thanks. Could you please answer another question related to this? Can you send me some sample lines from your nrpe.cfg file? I'm not totally clear on the syntax. Thanks again! --- "Carroll, Jim P" wrote: > Take a look at nrpe.cfg on the remote host. You may > have noticed a line > that looks like: > > allowed_hosts=127.0.0.1 > > Modify it to look like: > > allowed_hosts=127.0.0.1,xxx.xxx.xxx.xxx > > where xxx.xxx.xxx.xxx is the IP address of your > Nagios host. Remember to > restart the nrpe daemon after you've saved this > change to nrpe.cfg. > > jc > > > -----Original Message----- > > From: jo smith [mailto:joblow7777 at yahoo.com] > > Sent: Friday, September 06, 2002 4:25 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_nrpe > > > > > > Hi all. > > > > Boy, I can't believe I've made it as far as I > have. > > Thanks for everybody's help. Well, another > question I > > have is this. I have nrpe running as a standalone > > daemon on a remote host. I've put 5666 into the > > /etc/inet/services file (this is a Solaris 8 > machine). > > On the client, I'm getting this in > /var/adm/messages: > > > > Sep 6 14:20:59 hostname nrpe[9095]: [ID 381997 > > daemon.error] Host xxx.xxx.xxx.xxx is not allowed > to > > talk to us! > > > > On the server, I'm seeing this in the Nagios GUI: > > > > CHECK_NRPE: Received 0 bytes. Are we allowed to > > connect to the host? > > > > What am I doing wrong? > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > ------------------------------------------------------- > > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From jcarro10 at sprintspectrum.com Sat Sep 7 01:07:54 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Fri, 6 Sep 2002 18:07:54 -0500 Subject: check_nrpe Message-ID: Take a look at nrpe.cfg on the remote host. You may have noticed a line that looks like: allowed_hosts=127.0.0.1 Modify it to look like: allowed_hosts=127.0.0.1,xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx is the IP address of your Nagios host. Remember to restart the nrpe daemon after you've saved this change to nrpe.cfg. jc > -----Original Message----- > From: jo smith [mailto:joblow7777 at yahoo.com] > Sent: Friday, September 06, 2002 4:25 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nrpe > > > Hi all. > > Boy, I can't believe I've made it as far as I have. > Thanks for everybody's help. Well, another question I > have is this. I have nrpe running as a standalone > daemon on a remote host. I've put 5666 into the > /etc/inet/services file (this is a Solaris 8 machine). > On the client, I'm getting this in /var/adm/messages: > > Sep 6 14:20:59 hostname nrpe[9095]: [ID 381997 > daemon.error] Host xxx.xxx.xxx.xxx is not allowed to > talk to us! > > On the server, I'm seeing this in the Nagios GUI: > > CHECK_NRPE: Received 0 bytes. Are we allowed to > connect to the host? > > What am I doing wrong? > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 From sghosh at sghosh.org Fri Sep 6 21:49:59 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 6 Sep 2002 15:49:59 -0400 (EDT) Subject: exclude a host in a hostgroup? In-Reply-To: References: Message-ID: I don't think so. We just got the ability to apply the service def to a complete hostgroup and already you want to exclude some :) -sg On Fri, 6 Sep 2002, Don Badrak wrote: > All, > > Hi. I've just recently started using Nagios. It is really very full > featured. I like what I see. > > I've defined a host group with 30 hosts. I have the same service check on > all of them, with the exception of one. I want to exclude one service > check (the Lotus Notes port) from only one host in the host group. > > Is that possible, without explicitly listing all the hosts in the group? > Like an "exclude_host_name" (or "exclude_hostgroup_name")? Or any hacks > to do it? > > Thanks. > > Don > -- ------------------------------------------------------- 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 From karl at debisschop.net Sat Sep 7 01:35:17 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Sep 2002 19:35:17 -0400 Subject: Time based WARN/CRIT values In-Reply-To: <5D8D9455134FD211AE4900A0C9DED11E0773F91F@indy1ntm.herff-jones.com> References: <5D8D9455134FD211AE4900A0C9DED11E0773F91F@indy1ntm.herff-jones.com> Message-ID: <1031355318.3075.5.camel@miles.debisschop.net> On Fri, 2002-09-06 at 12:07, Furnish, Trever G wrote: > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > On Thu, 5 Sep 2002, Jeremy Tinley wrote: > > > > > Is there a way to change parameters based on time of day without > > > hardcoding it into the script. > > > > > > I have a process that's allowed to get a little more > > > out-of-control at > > > night. I don't want the pager going off with the same > > > thresholds that > > > it does during the day, while I'm at work. > > > > > > Currently, I have 2 service checks, process and process-night. > > > Process-night has higher critical and warning values. It's also > > > configured to check and notify during nonworkhours. Same > > > is true for > > > the process service check. > > > > > > Did I pretty much hit the workaround, or is there something > > > more obvious > > > I'm missing? > > > > You are pretty much on target. The plugins have no concept > > of time. so > > two different definitions would be needed... > > > > -sg > > That's right, of course, but IMHO it's less than optimal conceptually > because you end up with "two" services instead of one, which throws off both > the user interface and the reporting ability. What might be the best way to > change nagios to deal with that? Are there any related changes in CVS? > Here's an idea - I wish I had the time and skill to code it. :-( > > Perhaps the template-based config file format could be extended such that > services can have properties grouped by timeperiods > > So an example would be: > > define service{ > use mytemplate > hostname host1,host2,host3 > service_description PING > check_command check_ping > define optgroup_period{ > valid-periods workhours > notification_interval 10 > notification_options wucr > contact_groups unixadmins > } > define optgroup_period{ > valid-periods nonworkhours > notification_interval 60 > notification_options cr > contact_groups operators > } > } I'm trying to code a negation wrapper plugin right now, so every hammer I see sort of looks like a plugin wrapper. But here goes... There is really no reason why a plugin couldn't understand time. But none of us have enough time as is. A single wrapper could be defined to take lists of time periods and arguments. A little kludgey, but it probably can be made to work. Now it's time for people to call me crazy... -- Karl ------------------------------------------------------- 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 From chrisd at better-investing.org Fri Sep 6 21:47:45 2002 From: chrisd at better-investing.org (Chris Ditri) Date: Fri, 6 Sep 2002 15:47:45 -0400 Subject: external commands Message-ID: <200209061547.45295.chrisd@better-investing.org> NEVERMIND!!!!!!!!! I figured it out.. Sorry! I wasn't thinking, the doc said: "Make sure the group we created has read and write permissions on the directory." Well... that is 100% true... but -- you also need the EXECUTE permission because it is a directory!!!!!!!!!!!!!!! DUH! That is implied, I just wasn't thinking. The other thing I did was go into nagios.cfg and changed nagios_group= to nagios_group=nagiocmd instead of nagios_group=nagios (which was the default). That's all. Sorry! Hopefully it at least will helpsomeone in the future. Chris > Hi. > > I am having difficulty with getting external commands working. I swear I > have done everything it says to in the docs. This is what I have done: > > > I edited nagios.cfg and changed or added the following variables: > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > > I had created a user named nagios at time of installation. > I created a group called nagiocmd. > I made sure that the user nagios was a member of the nagiocmd group: > usermod -G nagiocmd nagios > I made sure that the web-user was also a member of this group (in this case > that is user: apache): > usermod -G nagiocmd apache > Just to CMA, I made the nobody user a member: > usermod -G nagiocmd nobody > The directory /usr/local/nagios/var/rw already existed from install > I changed the ownership of that directory for user and group: > chown nagios.nagiocmd /usr/local/nagios/var/rw > I changed the perms on that directory: > chmod u+rwx /usr/local/nagios/var/rw > chmod g+rw /usr/local/nagios/var/rw > chmod g+s /usr/local/nagios/var/rw > I restarted both nagios and apache > > Everytime I try to issue an external command, for example disable > notifications, I get the error: > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > > An error occurred while attempting to commit your command for processing. > > Return from whence you came > > > What the heck am I missing? I have done this on netsaint with no problems > what so ever, and it doesn't want to work here. > > I did an ls -l on /usr/local/nagios/var/rw/nagios.cmd and got this: > prw-rw---- 1 nagios nagiocmd 0 Sep 6 10:28 nagios.cmd > Is that normal? > > One interesting thing I found was that when I do an ls -ld on > /usr/local/nagios/var/rw I get this: > > drwxrwS--- 2 nagios nagiocmd 4096 Sep 6 10:28 > /usr/local/nagios/var/rw > I noticed the capital "S"... I don't ever rembmer that being capitol... > could that be it? I don't know why it is capitalized, it never was before > when I excuted that command (I don't think). I tried as well with chmod > 2760 rw as well, same deal. I even set all perms to 000, and started over, > still the same. > > I have read the docs a half dozen times here, and at least tripple checked > everything.... What the heck am I missing? > > Thank you! > > > Chris > > > > > > ------------------------------------------------------- > 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___________________________________________ >____ Nagios-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 From jjf at mind.net Fri Sep 6 21:46:59 2002 From: jjf at mind.net (John Fox) Date: Fri, 6 Sep 2002 12:46:59 -0700 Subject: Perceived problem with host checks Message-ID: <20020906124659.F71743@mind.net> Hello, I'm configuring a Nagios 1.0b4 installation. It's the first time I've used this product, and I've run into somewhat of a stumbling block. Both hosts used in my tests are running FreeBSD 4.6-STABLE and nagios is installed via the ports system. That said, here are the details: I've configured nagios to do host checks for host A" and service checks for HTTPD on A. I start HTTPD on host A and fire up nagios (in daemon mode) on host B. Everything is fine. Host and service are both marked up UP. I use ipfw to disable ICMP on host A. This is done with the intent of provoking a host check, knowing that the host-check test makes use of ping. Host continues to remain marked as up. This makes sense to me, given that HTTPD is still running and accessible there. I kill HTTPD on A. Both host and service become marked as 'down' and I begin to receive problem notifications. I enable ICMP on A, knowing that the host-check-alive command makes us of 'check_ping' plugin, and expecting that host A will soon be marked as 'UP'. But that does not happen; the host continues to be marked as down. I watch the various status screen and see multiple host tests performed. I recieve multiple problem notifications. I'm flummoxed by this, and login to host B (the nagios machine) and veryify that I can ping A from there. I can. I then run check-host-alive's "check_ping" plugin from the command line. It instantly returns with a "PING OK" response. (Note: I used the exact same command structure as nagios would -- I took it from the 'check-host-alive' definition found in 'checkcommands.cfg'.) Yet the 'Host Information' pages shows the Status info as "Critical -- Plugin timed out after 10 seconds". So to all appearances, nagios and I are getting different results from the exact same command line. I don't believe this is what's really going on, because it seems absurd to me. So I go to the FAQ. I see a question that seems to apply: "Hosts are incorrectly listed as being DOWN or UNREACHABLE". But after reading it, I'm not sure that it does apply. The way I read it, nagios didn't perform any host checks on A until A's HTTPD went down. Makes sense. At which point a host check is performed -- if the host check doesn't return 'OK', it is run again and again until it has made max_check_attempts (from the host definition) attemps OR recieved an "OK' response. My max_check_attempts is set to 3. But in observing the various status screen, I saw the "Last Status Check" value changing every 3 minutes. In the course of this test, I allowed the downtime to reach 46 minutes, which to me indicates that 15 host checks were run. Obviously, this is a much larger number than 3. And certainly it seems that the plugin never recieved an 'OK' response. This is quite a conundrum to me! I then restarted HTTPD on host A. Within three minutes, this service was once again marked as 'UP' and the host, too, was again marked as 'UP', with the 'Host Information' pages "Status Information" field reading "PING OK...". On the off chance that my IPFW/ping machinations were somehow causing wierdness, I repeated the same basic experiment, but rather than disabling ICMP, I ifconfig'd my network card down. And rather than re-enabling ICMP, I ifconfig'd the interface back up. This resulted in the same behavior as the previous test. I don't see this as a major issue, given that a successful service check causes the host to be again considered 'UP'. But it troubles me to not understand the behavior I'm seeing, as I'm simply unable to account for it. Any advice or thoughts would be very much welcomed! 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From sghosh at sghosh.org Sat Sep 7 05:41:40 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 6 Sep 2002 23:41:40 -0400 (EDT) Subject: Time based WARN/CRIT values In-Reply-To: <1031355318.3075.5.camel@miles.debisschop.net> References: <1031355318.3075.5.camel@miles.debisschop.net> Message-ID: On 6 Sep 2002, Karl DeBisschop wrote: > On Fri, 2002-09-06 at 12:07, Furnish, Trever G wrote: > > > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > On Thu, 5 Sep 2002, Jeremy Tinley wrote: > > > > > > > Is there a way to change parameters based on time of day without > > > > hardcoding it into the script. > > > > > > > > I have a process that's allowed to get a little more > > > > out-of-control at > > > > night. I don't want the pager going off with the same > > > > thresholds that > > > > it does during the day, while I'm at work. > > > > > > > > Currently, I have 2 service checks, process and process-night. > > > > Process-night has higher critical and warning values. It's also > > > > configured to check and notify during nonworkhours. Same > > > > is true for > > > > the process service check. > > > > > > > > Did I pretty much hit the workaround, or is there something > > > > more obvious > > > > I'm missing? > > > > > > You are pretty much on target. The plugins have no concept > > > of time. so > > > two different definitions would be needed... > > > > > > -sg > > > > That's right, of course, but IMHO it's less than optimal conceptually > > because you end up with "two" services instead of one, which throws off both > > the user interface and the reporting ability. What might be the best way to > > change nagios to deal with that? Are there any related changes in CVS? > > Here's an idea - I wish I had the time and skill to code it. :-( > > > > Perhaps the template-based config file format could be extended such that > > services can have properties grouped by timeperiods > > > > So an example would be: > > > > define service{ > > use mytemplate > > hostname host1,host2,host3 > > service_description PING > > check_command check_ping > > define optgroup_period{ > > valid-periods workhours > > notification_interval 10 > > notification_options wucr > > contact_groups unixadmins > > } > > define optgroup_period{ > > valid-periods nonworkhours > > notification_interval 60 > > notification_options cr > > contact_groups operators > > } > > } > > I'm trying to code a negation wrapper plugin right now, so every hammer > I see sort of looks like a plugin wrapper. But here goes... > > There is really no reason why a plugin couldn't understand time. But > none of us have enough time as is. A single wrapper could be defined to > take lists of time periods and arguments. A little kludgey, but it > probably can be made to work. > > Now it's time for people to call me crazy... > > -- > Karl > Crazy. So what are the input - a timeperiod within which a real check is made, otherwise returns an OK - with verbiage about no checks scheduled for current timeperiod? Glad you mentioned the negation wrapper - I was fleshing out one as well in perl and trying to get handle around the "spaces in arguments" issue with perl at the same time. I'll let you work on that while I take a look at the memory leakge in check_snmp. -- -sg ------------------------------------------------------- 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 From karl at debisschop.net Sun Sep 8 13:38:07 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 08 Sep 2002 07:38:07 -0400 Subject: Time based WARN/CRIT values In-Reply-To: References: Message-ID: <1031485088.14689.31.camel@toaster> On Fri, 2002-09-06 at 23:41, Subhendu Ghosh wrote: > On 6 Sep 2002, Karl DeBisschop wrote: > > > On Fri, 2002-09-06 at 12:07, Furnish, Trever G wrote: > > > > > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > > On Thu, 5 Sep 2002, Jeremy Tinley wrote: > > > > > > > > > Is there a way to change parameters based on time of day without > > > > > hardcoding it into the script. > > > > I'm trying to code a negation wrapper plugin right now, so every hammer > > I see sort of looks like a plugin wrapper. But here goes... > > > > There is really no reason why a plugin couldn't understand time. But > > none of us have enough time as is. A single wrapper could be defined to > > take lists of time periods and arguments. A little kludgey, but it > > probably can be made to work. > > > > Now it's time for people to call me crazy... > > Crazy. > > So what are the input - a timeperiod within which a real check is made, > otherwise returns an OK - with verbiage about no checks scheduled for > current timeperiod? Input would be a list of timperiod/parameter pairs, follwed by all the parameters that always be passed to the wrapped plugin: schedule \ --time 0000-0900,'-w 2 -c 3' \ --time 0900-1700,'-w 1 -c 2' \ --time 1700-2400,'-w 2 -c 3' \ check_http -H www.infoplease.com -w / It would be nice if it could have access to the timeperiod in the nagios config files, but I would probably not even suggest trying that fr the first implementation. Just the functionality implied above should be fairly straightforward with either perl or C. > Glad you mentioned the negation wrapper - I was fleshing out one as well > in perl and trying to get handle around the "spaces in arguments" issue > with perl at the same time. I just pass everyting after the POSIX options directly on to the wrapped plugin: negate --timeout 9 check_http -w 2 -c 3 -H www.infoplease.com The only parameter I saw as needed was the timeout (other the help and version, of course). By specifying a timeout less than the default, you can take a plugin that normally returns STATE_CRITCAL on timeout, and have it continue to do so. So for check_http, you can give CRITICAL either if your search string is present or if the plugin times out. This is still pretty weak, though. If the return time exceeded some critical threshold that was not a timeout, you'd get state_ok. I don't transform STATE_UNKNOWN or STATE_WARNING at all -- that seem right to me, but I'm sure there are ways to think of it that I missed. There seem to be lots of ways to think about it. Anyway, my negate already works to that point, so I guess I'll check it in. -- Karl ------------------------------------------------------- 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 From rpatl at gmx.at Mon Sep 9 09:08:54 2002 From: rpatl at gmx.at (rpatl at gmx.at) Date: Mon, 9 Sep 2002 09:08:54 +0200 (MEST) Subject: starting Nagios via Webbrowser Message-ID: <29241.1031555334@www56.gmx.net> Hi I tried to start nagios via Webbrowser and it worked. Now i have changed a lot of things. If I start nagios from the console it works fine. If I start it from the Webbrowser it also works. I get the notifications and I can see the processes like check_ping. But the cgi's do not change or refresh. The nagios.log file looks like : Nagios 1.0b5 starting... (PID=3293) Warning:Could not set effective GID=100 Warning:Unable to change supplementary groups using initgroups() -- I hope you know what you are doing Warning:Could not set effective UID=501 I do not know what to do. I tried nearly everything. If you know how to do it, could you please let me know. I also think it has worked last week before I did the modifications. thanks 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 From liebmann at bbs1.btf.st.schule.de Mon Sep 9 08:00:58 2002 From: liebmann at bbs1.btf.st.schule.de (Andreas Liebmann) Date: Mon, 9 Sep 2002 08:00:58 +0200 Subject: AW: nagios cgi config file error In-Reply-To: References: Message-ID: Hi Jay ! I had the same problem and I wondered about that IEx 6.0 didnt works and with Netscape 6.2.3 were shown all pages. Do you use the Internet Explorer? Use in the Extra menu ->> Internet Options the Checkbox "use HTTP 1.1 over Proxies" ( Its translated from german) and it should works. If not, try another browser like Netscape or Opera. Andreas -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Lovell, Jay Gesendet: Freitag, 6. September 2002 22:17 An: 'nagios-users at lists.sourceforge.net' Betreff: [Nagios-users] nagios cgi config file error This is probably one that has been solved a thousand years ago, but I cannot for the life of me figure it out. Here's where I am. I've installed nagios and gotten it configured in apache. The appropriate alias entries have been made to httpd.conf in apache Nagios is installed in the standard location /usr/local/nagios the main screen shows in my browser. (nagios through apache is working) My error is this. Any time I click on one of the cgi-bin's I get the following error: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! What I have done so far to troubleshoot this is the following: The config files are there in that location. (the obvious check) the permissions are rw-rw-r-- they are owned by netsaint and the netsaint group I can run the /usr/local/nagios/sbin/tac.cgi cgi program from the command line as root and it works (returns html) I can run the /usr/local/nagios/sbin/tac.cgi cgi program as the apache user or the netsaint user and it works (returns html) If I move the cgi.cfg to cgi.cfg.turned.off, I can reproduce the above error from the command line (returns the above error) I have an older installation of netsaint on the same box in /usr/local/netsaint. - I have compared the permissions on the netsaint directories (down to sbin) to the nagios permissions and they are the same. - Netsaint cgi's work fine. Nagios cgi's do not. There are no error messages on this in either nagios or apache's error logs. When I run the cgi's through apache, they generate the above error. There are no answers on this in the docs or the FAQ. I could not find any messages on the above error using the newsgroup search tool. Anyone have any ideas on this? I'm flat out stumped on this. Jay Lovell Platform Architect Innotrac Corporation (678) 584-4022 office (770) 231-9678 cell (678) 475-5875 fax jlovell at innotrac.com ------------------------------------------------------- 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 From Yohann.Darsigny at sungard.com Mon Sep 9 15:31:00 2002 From: Yohann.Darsigny at sungard.com (Yohann.Darsigny at sungard.com) Date: Mon, 9 Sep 2002 09:31:00 -0400 Subject: plugins for NRPE on SCO, AIX and SUN Message-ID: <9B340D0F797E5E418024AF04760355E20C4FBB@e2kmtl1.internal.sungard.corp> An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Mon Sep 9 16:04:30 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 9 Sep 2002 10:04:30 -0400 Subject: nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A020120D4@exnadetmbx3.ams.gblxint.com> All, I have nrpe running on several remote servers using the standard plugins, and everything runs great. I then wrote a script that I want to also run on a remote server. I set all the permissions and ownership. I can run the script just fine on the remote server from the command line. But when I try to have nagios run the script through nrpe it returns an error saying that the script is not defined. Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Mon Sep 9 16:09:36 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Mon, 9 Sep 2002 16:09:36 +0200 Subject: nrpe In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D4@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D4@exnadetmbx3.ams.gblxint.com> Message-ID: <20020909160936.14b45c0c.freddy.frouin@fluxus.net> Hi, does your command be clearly defined in the nrpe.cfg file ? does the daemon - if you use it has daemon - have been restarted ? On Mon, 9 Sep 2002 10:04:30 -0400 "Rusch, Daniel" wrote: > All, > > I have nrpe running on several remote servers using the standard plugins, > and everything runs great. > > I then wrote a script that I want to also run on a remote server. I set all > the permissions and ownership. I can run the script just fine on the remote > server from the command line. But when I try to have nagios run the script > through nrpe it returns an error saying that the script is not defined. > > Any ideas? > > Thanks > -- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From jasonm at kelman.com Mon Sep 9 16:27:24 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 9 Sep 2002 08:27:24 -0600 (MDT) Subject: nrpe In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D4@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D4@exnadetmbx3.ams.gblxint.com> Message-ID: > I then wrote a script that I want to also run on a remote server. I set all > the permissions and ownership. I can run the script just fine on the remote > server from the command line. But when I try to have nagios run the script > through nrpe it returns an error saying that the script is not defined. You're sure it's defined? *8-) Cut'n'paste the line from nrpe.cfg so we can see it... --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From joblow7777 at yahoo.com Mon Sep 9 16:44:11 2002 From: joblow7777 at yahoo.com (jo smith) Date: Mon, 9 Sep 2002 07:44:11 -0700 (PDT) Subject: Plug-in problem Message-ID: <20020909144411.84201.qmail@web13008.mail.yahoo.com> I'm a little confused as to how the plugins work. I have these lines in the hosts.cfg file on the nagios host: check_command check_load check_command check_disk1 check_command check_disk2 check_command check_disk3 check_command check_disk4 check_command check_zombie_procs check_command check_total_procs I can run these programs on the command line on the nagios host: /usr/local/nagios/libexec/check_nrpe remote_host -c check_disk1 /usr/local/nagios/libexec/check_nrpe remote_host -c check_disk2 /usr/local/nagios/libexec/check_nrpe remote_host -c check_disk3 /usr/local/nagios/libexec/check_nrpe remote_host -c check_disk4 /usr/local/nagios/libexec/check_nrpe remote_host -c check_zombie_procs /usr/local/nagios/libexec/check_nrpe remote_host -c check_total_procs and the commands return the correct information. I also have these lines in the nagios client nrpe.cfg file: command[check_users]=/usr/local/nagios/libexec/check_users 5 10 command[check_load]=/usr/local/nagios/libexec/check_load 5 10 15 20 25 30 command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /rootvol command[check_disk2]=/usr/local/nagios/libexec/check_disk 80 95 /usr command[check_disk3]=/usr/local/nagios/libexec/check_disk 80 95 /var command[check_disk4]=/usr/local/nagios/libexec/check_disk 80 95 /sysadmin command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs 5 10 Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs 150 200 So far everything is cool. However, when I try to start nagios, the pre-flight checklist gives me an error like this: nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 1.0b5 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 08-12-2002 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 19 services. Checking hosts... Error: Host check command 'check_total_procs' specified for host 'host' is not defined anywhere! I'm not sure how to define these commands in the checkcommands.cfg file (or if I'm missing anything else, please let me know). Please help. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From freddy.frouin at fluxus.net Mon Sep 9 16:57:53 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Mon, 9 Sep 2002 16:57:53 +0200 Subject: Plug-in problem In-Reply-To: <20020909144411.84201.qmail@web13008.mail.yahoo.com> References: <20020909144411.84201.qmail@web13008.mail.yahoo.com> Message-ID: <20020909165753.66d1069f.freddy.frouin@fluxus.net> think on things that are defined localy on the nagios server and things that are defined on the remote host, you will understand that: > check_command check_load > check_command check_disk1 > check_command check_disk2 > check_command check_disk3 > check_command check_disk4 > check_command check_zombie_procs > check_command check_total_procs is not understandable for nagios... does check_load defined on the nagios serveur, in the checkcommand.cfg file ? think about this: define command{ command_name check_nrpe command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ } On Mon, 9 Sep 2002 07:44:11 -0700 (PDT) jo smith wrote: > I'm a little confused as to how the plugins work. > > I have these lines in the hosts.cfg file on the > nagios host: > > check_command check_load > check_command check_disk1 > check_command check_disk2 > check_command check_disk3 > check_command check_disk4 > check_command check_zombie_procs > check_command check_total_procs > > I can run these programs on the command line on the > nagios host: > > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk1 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk2 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk3 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk4 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_zombie_procs > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_total_procs > > and the commands return the correct information. I > also have these lines in the nagios client nrpe.cfg > file: > > command[check_users]=/usr/local/nagios/libexec/check_users > 5 10 > command[check_load]=/usr/local/nagios/libexec/check_load > 5 10 15 20 25 30 > command[check_disk1]=/usr/local/nagios/libexec/check_disk > 80 95 /rootvol > command[check_disk2]=/usr/local/nagios/libexec/check_disk > 80 95 /usr > command[check_disk3]=/usr/local/nagios/libexec/check_disk > 80 95 /var > command[check_disk4]=/usr/local/nagios/libexec/check_disk > 80 95 /sysadmin > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs > 5 10 Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs > 150 200 > > So far everything is cool. > > However, when I try to start nagios, the pre-flight > checklist gives me an error like this: > > nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 1.0b5 > Copyright (c) 1999-2002 Ethan Galstad > (nagios at nagios.org) > Last Modified: 08-12-2002 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 19 services. > Checking hosts... > Error: Host check command 'check_total_procs' > specified for host 'host' is not defined anywhere! > > I'm not sure how to define these commands in the > checkcommands.cfg file (or if I'm missing anything > else, please let me know). Please help. > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 > -- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From jcarro10 at sprintspectrum.com Mon Sep 9 17:01:30 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Mon, 9 Sep 2002 10:01:30 -0500 Subject: starting Nagios via Webbrowser Message-ID: I'll try to make this suggestion as gently as possible: 1) Don't make wholesale changes unless you're crystal clear on their impact (ie, you've done these changes on another host and have proven that they work) 2) Don't make changes without making backups of your config files 3) Use RCS/CVS for version control Sometimes the SHK (School of Hard Knocks) is the best teacher.... *sigh* jc > -----Original Message----- > From: rpatl at gmx.at [mailto:rpatl at gmx.at] > Sent: Monday, September 09, 2002 2:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] starting Nagios via Webbrowser > > > Hi > > I tried to start nagios via Webbrowser and it worked. > Now i have changed a lot of things. If I start nagios from > the console it > works fine. > If I start it from the Webbrowser it also works. I get the > notifications and > I can see the processes like check_ping. But the cgi's do not > change or > refresh. > The nagios.log file looks like : > > Nagios 1.0b5 starting... (PID=3293) > Warning:Could not set effective GID=100 > Warning:Unable to change supplementary groups using > initgroups() -- I hope > you know what you are doing > Warning:Could not set effective UID=501 > > I do not know what to do. I tried nearly everything. > If you know how to do it, could you please let me know. > > I also think it has worked last week before I did the modifications. > > thanks > 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 From pcrossma at wildfire.com Mon Sep 9 17:03:19 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 09 Sep 2002 11:03:19 -0400 Subject: plugins for NRPE on SCO, AIX and SUN In-Reply-To: <9B340D0F797E5E418024AF04760355E20C4FBB@e2kmtl1.internal.sungard.corp> References: <9B340D0F797E5E418024AF04760355E20C4FBB@e2kmtl1.internal.sungard.corp> Message-ID: <1031583799.2158.14.camel@sandman.wildfire.com> I've been trying to do this on SCO UW711 for a couple of weeks now. I can't even get the plugins built. I have all the tools and stuff required for building as well. I got some help from the people here (Thanks everyone!!!), but I'm still not there, and I've been doing other stuff that's a bit more important. I'd be interested if you can get this working. Thanks, Paul C. On Mon, 2002-09-09 at 09:31, Yohann.Darsigny at sungard.com wrote: Hi all, I've been testing NRPE on RedHat platform and I'm very pleased with the result as of now. I would like to be able to test it on 3 other platforms that are SCO, AIX and SUN. But since the DEV servers do not belong to our group, I only have limited access, so I can't install anything on them to compile. I was able to compile NRPE only and would need the following plugins for SUN, SCO and AIX: check_disk check_procs check_load check_users I don't know if any of you could spare a bit of time to help a Nagios fellow user here by tar/compressing those 4 plugins and send them by email to me for what ever platform you have in the 3 I mentioned. By thanks in advance to all of you, Yohann Darsigny Support Specialist, Operations SunGard Front Office Solutions - BrokerWare? Tel: (514) 982-6687 x 226 Fax: (514) 982-9476 email: yohann.darsigny at sungard.com -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.com ------------------------------------------------------- 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 From tguthmann at cvf.fr Mon Sep 9 17:23:57 2002 From: tguthmann at cvf.fr (Thomas) Date: Mon, 09 Sep 2002 17:23:57 +0200 Subject: Graphing the data ? (performance data + rrdtool) Message-ID: <3D7CBD0D.7030001@cvf.fr> Hi, After some searches in the mailing lists archives, I saw the discussion about graphing performance data under rrdtool was already started... But I saw no solution (understand scripts ou source code) for doing the bizness. Except a mail from Ben Mitchell (10 july) explaining that he has done a perl script to submit performance data into rrdtool... but no attachment :( So my question is : does anybody have a script to do send performance data into rrdtool graphs for monitoring cpu load, ping evolution and other data like this. Under big brother, it exists a plugin call "larrd" which do the trick ... That's why I'm asking the question for Nagios. If someone have a good script and tips to do the job, it will be good to put it into the FAQ, I also saw in the M.L. that ... hum I forgot the name, use urlize to put its graph in nagios. Thanks Thomas ------------------------------------------------------- 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 From atonns at mail.ivillage.com Mon Sep 9 18:23:59 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Mon, 9 Sep 2002 12:23:59 -0400 Subject: Graphing the data ? (performance data + rrdtoo l) Message-ID: I am also interested in this functionality. I was going to use cricket in parallel and have urlize create cross links from nagios to the appropriate cricket graph. However, if I don't have to poll the servers twice (once for availability, another for historical trending) that would be best. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -----Original Message----- From: Thomas [mailto:tguthmann at cvf.fr] Sent: Monday, September 09, 2002 11:24 AM To: Nagios-users Subject: [Nagios-users] Graphing the data ? (performance data + rrdtool) Hi, After some searches in the mailing lists archives, I saw the discussion about graphing performance data under rrdtool was already started... But I saw no solution (understand scripts ou source code) for doing the bizness. Except a mail from Ben Mitchell (10 july) explaining that he has done a perl script to submit performance data into rrdtool... but no attachment :( So my question is : does anybody have a script to do send performance data into rrdtool graphs for monitoring cpu load, ping evolution and other data like this. Under big brother, it exists a plugin call "larrd" which do the trick ... That's why I'm asking the question for Nagios. If someone have a good script and tips to do the job, it will be good to put it into the FAQ, I also saw in the M.L. that ... hum I forgot the name, use urlize to put its graph in nagios. Thanks Thomas ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ABostick at mydoconline.com Mon Sep 9 18:25:07 2002 From: ABostick at mydoconline.com (ABostick at mydoconline.com) Date: Mon, 9 Sep 2002 11:25:07 -0500 Subject: Nagios-users digest, Vol 1 #838 - 3 msgs Message-ID: jc, I wrote the check_log2 plugin precisely to overcome the timeout issues you are experiencing. I figured using seek was faster, etc, etc... However, even after using it, I still get timeouts on occasion. I have not been able to resolve this issue. I believe it is a Solaris 8 issue. I am running Solaris 8 on my clients (where check_log2 runs) and Mandrake 8.2 on my server (where nagios runs). My work around, which is really ugly, was to recompile the check_nrpe plugin and change the timeout status to OK from CRITICAL. Ultimately, this isn't hurting me because I do enough straight network checks to know if something is really timing out or not. I also raised the timeout values to 30 seconds on both sides. The check_nrpe plugin allows you to do this on the command line. The nrpe daemon has no command line feature for this. It is hardcoded in source and you have to change the .h file and recompile. Moving to 30 seconds significantly reduced the number of timeouts I received but did not completely eliminate them. I still get maybe 1 or 2 a day per host. They seem to come at completely random times as well. I had the same problems with the regular check_log which I implied above. I am using the Sun freeware perl package. Maybe the problem lies in the perl interpreter or maybe in Solaris 8 file access? I actually tried running some truss's on the problem but since it is sporadic it is hard to troubleshot. I needed a test case where you could reproduce the problem each and every time and I never found one of those. I have been running in this fashion for a few months now. If you can figure out why the timeouts occur, please let me know! BTW, in addition to seeking in the log file, check_log2 also allows for negation regular expressions to help filter through a lot of the junk you get in the logs. For instance, I will check for '\.notice' in the logs but may want to filter out all the notices from sshd with a -n 'sshd', etc, etc... Good luck! Hope this helps, Aaron > Message: 3 > From: "Carroll, Jim P" > To: nagios-users at lists.sourceforge.net > Date: Fri, 6 Sep 2002 11:04:16 -0500 > Subject: [Nagios-users] NRPE and check_log2 > > I'm currently testing the check_log2 plugin (Perl script, in > the contrib > directory) on 2 test hosts, using NRPE. (My reason for using > check_log2 > instead of check_log is because of the fact that check_log2 > doesn't need to > copy the entire logfile, that it uses seek and tell.) > > The problem I'm having is that occasionally I'm getting > connection timeouts. > I suppose I could raise the timeout in the service > definition, but I don't > see why I should need to. > > Why? Because I'm also running a handful of other NRPE tests > on those 2 test > hosts, and have never once experienced a connection timeout. > Therein lies > the puzzle. > > If it matters, Nagios is running under RH Linux 7.3, and the > test hosts > being monitored via NRPE are both running Solaris8. > > Thoughts? Suggestions for troubleshooting this? > > jc ------------------------------------------------------- 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 From Daniel.Rusch at GlobalCrossing.com Mon Sep 9 18:44:31 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 9 Sep 2002 12:44:31 -0400 Subject: nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A020120D5@exnadetmbx3.ams.gblxint.com> Sorry, egg on my face.... Thanks for the help, by writing the reply I noticed that when I copied and pasted the command line in nrpe.cfg I forgot to change the name of the cmd. I need a vacation! Thanks, Dan -----Original Message----- From: Jason Marshall [mailto:jasonm at kelman.com] Sent: Monday, September 09, 2002 9:27 AM To: Rusch, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe > I then wrote a script that I want to also run on a remote server. I set all > the permissions and ownership. I can run the script just fine on the remote > server from the command line. But when I try to have nagios run the script > through nrpe it returns an error saying that the script is not defined. You're sure it's defined? *8-) Cut'n'paste the line from nrpe.cfg so we can see it... --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From jasonm at kelman.com Mon Sep 9 18:53:19 2002 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 9 Sep 2002 10:53:19 -0600 (MDT) Subject: nrpe In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120D5@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120D5@exnadetmbx3.ams.gblxint.com> Message-ID: > Thanks for the help, by writing the reply I noticed that when I copied and > pasted the command line in nrpe.cfg I forgot to change the name of the cmd. > I need a vacation! Gosh, I've never done that *8-) > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Monday, September 09, 2002 9:27 AM > To: Rusch, Daniel > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nrpe > > > > I then wrote a script that I want to also run on a remote server. I set > all > > the permissions and ownership. I can run the script just fine on the > remote > > server from the command line. But when I try to have nagios run the script > > through nrpe it returns an error saying that the script is not defined. > > You're sure it's defined? *8-) > > Cut'n'paste the line from nrpe.cfg so we can see it... > > --- > 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From ajeffco at orhs.org Mon Sep 9 19:21:31 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Mon, 9 Sep 2002 13:21:31 -0400 Subject: plugging for NRPE on SCO, AIX and SUN Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F5667@MAIL01.orhs.org> Hello, What version(s) of AIX do you need the plug-in's for? I've successfully compiled them on AIX 4.3.3 and 5.1. I can send you both. Al Jeffcoat IBM Certified Support Specialist, AIX 4.3 System Programmer, Orlando Regional Healthcare -----Original Message----- From: Yohann.Darsigny at sungard.com [mailto:Yohann.Darsigny at sungard.com] Sent: Monday, September 09, 2002 9:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] plugins for NRPE on SCO, AIX and SUN Hi all, I've been testing NRPE on RedHat platform and I'm very pleased with the result as of now. I would like to be able to test it on 3 other platforms that are SCO, AIX and SUN. But since the DEV servers do not belong to our group, I only have limited access, so I can't install anything on them to compile. I was able to compile NRPE only and would need the following plugins for SUN, SCO and AIX: check_disk check_procs check_load check_users I don't know if any of you could spare a bit of time to help a Nagios fellow user here by tar/compressing those 4 plugins and send them by email to me for what ever platform you have in the 3 I mentioned. By thanks in advance to all of you, Yohann Darsigny Support Specialist, Operations SunGard Front Office Solutions - BrokerWare(tm) Tel: (514) 982-6687 x 226 Fax: (514) 982-9476 email: yohann.darsigny at sungard.com ------------------------------------------------------- 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=urceforge1&refcode1=3390 _______________________________________________ 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 Yohann.Darsigny at sungard.com Mon Sep 9 19:57:13 2002 From: Yohann.Darsigny at sungard.com (Yohann.Darsigny at sungard.com) Date: Mon, 9 Sep 2002 13:57:13 -0400 Subject: plugging for NRPE on SCO, AIX and SUN Message-ID: <9B340D0F797E5E418024AF04760355E20C4FBC@e2kmtl1.internal.sungard.corp> An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Mon Sep 9 20:00:04 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 9 Sep 2002 13:00:04 -0500 Subject: check_nrpe Message-ID: Not sure if this is what you're looking for, but: command[check_users]=/home/nagios/libexec/check_users 5 10 command[check_load]=/home/nagios/libexec/check_load 5 10 15 20 25 30 command[check_disk]=/home/nagios/libexec/check_disk 80 95 command[check_zombie_procs]=/home/nagios/libexec/check_procs 5 10 Z command[check_total_procs]=/home/nagios/libexec/check_procs 150 200 command[check_swap]=/home/nagios/libexec/check_swap -w 80% -c 90% command[check_dns]=/home/nagios/libexec/check_dns -H itdmln15 command[check_log_warn]=/home/nagios/libexec/check_log2 -l /var/adm/messages -s /home/nagios/.messages_warn.seek -p "WARN|Warn|warn" command[check_log_err]=/home/nagios/libexec/check_log3 -l /var/adm/messages -s /home/nagios/.messages_err.seek -p "ERR|Err|err" -n "nrpe" command[check_log_panic]=/home/nagios/libexec/check_log3 -l /var/adm/messages -s /home/nagios/.messages_panic.seek -p "PANIC|Panic|panic" and from the services.cfg (I won't do them all): define service{ host_name host1,host2 use icmp service_description Total Users contact_groups unix-admins check_command check_nrpe!check_users } That should be plenty to get you going. jc > -----Original Message----- > From: jo smith [mailto:joblow7777 at yahoo.com] > Sent: Friday, September 06, 2002 7:42 PM > To: Carroll, Jim P; Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_nrpe > > > Oh and maybe a few line from your services.cfg file of > your server showing the commands that interface/run on > your client, too (sorry, forgot to ask that in my > previous email). > > --- "Carroll, Jim P" > wrote: > > Take a look at nrpe.cfg on the remote host. You may > > have noticed a line > > that looks like: > > > > allowed_hosts=127.0.0.1 > > > > Modify it to look like: > > > > allowed_hosts=127.0.0.1,xxx.xxx.xxx.xxx > > > > where xxx.xxx.xxx.xxx is the IP address of your > > Nagios host. Remember to > > restart the nrpe daemon after you've saved this > > change to nrpe.cfg. > > > > jc > > > > > -----Original Message----- > > > From: jo smith [mailto:joblow7777 at yahoo.com] > > > Sent: Friday, September 06, 2002 4:25 PM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_nrpe > > > > > > > > > Hi all. > > > > > > Boy, I can't believe I've made it as far as I > > have. > > > Thanks for everybody's help. Well, another > > question I > > > have is this. I have nrpe running as a standalone > > > daemon on a remote host. I've put 5666 into the > > > /etc/inet/services file (this is a Solaris 8 > > machine). > > > On the client, I'm getting this in > > /var/adm/messages: > > > > > > Sep 6 14:20:59 hostname nrpe[9095]: [ID 381997 > > > daemon.error] Host xxx.xxx.xxx.xxx is not allowed > > to > > > talk to us! > > > > > > On the server, I'm seeing this in the Nagios GUI: > > > > > > CHECK_NRPE: Received 0 bytes. Are we allowed to > > > connect to the host? > > > > > > What am I doing wrong? > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > ------------------------------------------------------- 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 From THarker at jackhenry.com Mon Sep 9 21:09:56 2002 From: THarker at jackhenry.com (Tyson Harker) Date: Mon, 9 Sep 2002 12:09:56 -0700 Subject: Web interface does not work after upgrade to Version 1.0b5 Message-ID: <90830E6818F0D411B880000629D54CEC03B91494@sym_ntfs1.symcorp.com> After I attempted the upgrade to 1.0b5, I no longer get the web interface to work. After I authenticated to the web sever, I get the standard Nagios home page to come up, but when I attempt to click on one of the monitoring links, I get a 404 error "The Page Cannot be Found" I have restarted both Nagios and the Web Server. Does anyone know of a way to fix this? ------------------------------------------------------- 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 From number5078915 at yahoo.com Mon Sep 9 21:20:10 2002 From: number5078915 at yahoo.com (Tim) Date: Mon, 9 Sep 2002 12:20:10 -0700 (PDT) Subject: IPx, appletalk Message-ID: <20020909192010.20175.qmail@web20203.mail.yahoo.com> Can Nagios monitor the IPx and appletalk protocols? Tim __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- 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 From tom at webguru.nl Mon Sep 9 21:41:30 2002 From: tom at webguru.nl (Tom Boom) Date: Mon, 9 Sep 2002 21:41:30 +0200 Subject: Additional Info: HTTP WARNING: HTTP/1.1 404 Not Found Message-ID: <003801c25838$e5ed1d10$4a94e3d5@KABOOM> Dear Nagios, On my newest servers i receive these warnings: Additional Info: HTTP WARNING: HTTP/1.1 404 Not Found My old servers return HTTP/1.1 200 OK What do i have to change so it will return "OK" to me? Thanks, Regards Tom. ------------------------------------------------------- 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 From generalkael at vastknowledge.com Mon Sep 9 21:48:35 2002 From: generalkael at vastknowledge.com (Scott Weeks) Date: Mon, 9 Sep 2002 13:48:35 -0600 Subject: Nagios and SSL Message-ID: <200209091348.35440.generalkael@vastknowledge.com> How do I go about wrapping all Nagios pages with SSL using apache? Thanks Scott ------------------------------------------------------- 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 From dean.bishop at tcdsb.org Mon Sep 9 21:49:16 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 9 Sep 2002 15:49:16 -0400 Subject: Nagat-is it stable? Message-ID: Good morning, i would like to try using Nagat for some of the minor config adjustments and wonder if someone can tell me how stable it is. The last time i tried it was when i was sandboxing and it was pretty rough. thanks in advance, dean ------------------------------------------------------- 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 From nate at ashtonservices.com Mon Sep 9 21:59:24 2002 From: nate at ashtonservices.com (Nate DeLong) Date: Mon, 9 Sep 2002 15:59:24 -0400 Subject: SMTP Failure Message-ID: <200209091559.24892.nate.lists@tbh.info> I have a qmail server with smtp-auth setup & am trying to monitor the service. The service is constantly at critical, even though the status information says "SMTP OK - 0 second response time". My config is pretty much the same as the sample configs, with not much changed. Here's my services.cfg entry for that service: define service{ use generic-service host_name qm1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Here's my status.log snip (may not wrap right): [1031600344] SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;1031599 399;0;CRITICAL;120;0;0;0;1 Could the SMTP-Auth be causing the problem? Any ideas? Thanks, Nate D. ------------------------------------------------------- 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 From nate at ashtonservices.com Mon Sep 9 21:58:57 2002 From: nate at ashtonservices.com (Nate DeLong) Date: Mon, 9 Sep 2002 15:58:57 -0400 Subject: SMTP Failure Message-ID: <200209091558.57376.nate@ashtonservices.com> I have a qmail server with smtp-auth setup & am trying to monitor the service. The service is constantly at critical, even though the status information says "SMTP OK - 0 second response time". My config is pretty much the same as the sample configs, with not much changed. Here's my services.cfg entry for that service: define service{ use generic-service host_name qm1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Here's my status.log snip (may not wrap right): [1031600344] SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;1031599399;0;CRITICAL;120;0;0;0;1 Could the SMTP-Auth be causing the problem? Any ideas? Thanks, Nate D. ------------------------------------------------------- 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 From ryan at ryancasey.net Mon Sep 9 22:06:47 2002 From: ryan at ryancasey.net (Ryan Casey) Date: 09 Sep 2002 16:06:47 -0400 Subject: Limiting Views of hostsgroups in Web Interface Message-ID: <1031602007.5682.39.camel@bongo> Is it possible to restrict an authenticated user to only viewing information for a particular hostgroup in the Web interface? I saw the "authorized_for_all_services" tag, and I'm wondering if there is a way to limit a user to viewing info for just one hostgroup. If it isn't possible, how hard do you think it would be to implement? Or is this a better question for nagios-devel? Thanks, -Ryan Casey ------------------------------------------------------- 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 From nate.lists at tbh.info Mon Sep 9 22:03:56 2002 From: nate.lists at tbh.info (Nate) Date: Mon, 9 Sep 2002 16:03:56 -0400 Subject: SMTP Critical Message-ID: <200209091603.56394.nate.lists@tbh.info> I have a qmail server with smtp-auth setup & am trying to monitor the service. The service is constantly at critical, even though the status information says "SMTP OK - 0 second response time". My config is pretty much the same as the sample configs, with not much changed. Here's my services.cfg entry for that service: define service{ use generic-service host_name qm1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Here's my status.log snip (may not wrap right): [1031600344] SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;1031599 399;0;CRITICAL;120;0;0;0;1 Could the SMTP-Auth be causing the problem? Any ideas? Thanks, Nate D. ------------------------------------------------------- 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 From sghosh at sghosh.org Mon Sep 9 22:10:49 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 9 Sep 2002 16:10:49 -0400 (EDT) Subject: SMTP Failure In-Reply-To: <200209091558.57376.nate@ashtonservices.com> References: <200209091558.57376.nate@ashtonservices.com> Message-ID: On Mon, 9 Sep 2002, Nate DeLong wrote: > I have a qmail server with smtp-auth setup & am trying to monitor the service. > The service is constantly at critical, even though the status information > says "SMTP OK - 0 second response time". My config is pretty much the same as > the sample configs, with not much changed. > > Here's my services.cfg entry for that service: > > define service{ > use generic-service > host_name qm1 > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > Here's my status.log snip (may not wrap right): > > [1031600344] > SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;1031599399;0;CRITICAL;120;0;0;0;1 > > Could the SMTP-Auth be causing the problem? Any ideas? > > Thanks, > > Nate D. > > Could you post an output of check_smtp with the -v (verbose) option enabled. -sg -- ------------------------------------------------------- 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 From nate.lists at tbh.info Mon Sep 9 22:14:29 2002 From: nate.lists at tbh.info (Nate) Date: Mon, 9 Sep 2002 16:14:29 -0400 Subject: Sorry Message-ID: <200209091614.29229.nate.lists@tbh.info> Sorry for the multiple posts, KMail is acting funny & messing with my profiles. Nate D. ------------------------------------------------------- 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 From mdeporter at whoscalling.com Mon Sep 9 22:14:09 2002 From: mdeporter at whoscalling.com (Mike DePorter) Date: Mon, 9 Sep 2002 13:14:09 -0700 Subject: help Message-ID: <10FBF97F828FD511B76300508B44B8470121E911@WCHQEX01> -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Friday, September 06, 2002 1:34 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #835 - 12 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. Nagios Web Interface IPv6 Weirdness (Terry Simons) 2. Question regarding remote service checks (Wayne Mitchell) 3. Errors viewing Nagios web page from remote PC (John Hicks) 4. RE: Changing Notification Periods (OMeara, Randy) 5. Re: Question regarding remote service checks (Jamin) 6. Re: Antwort: Re: [Nagios-users] Image Problems (Jamin) 7. Re: Changing Notification Periods (Subhendu Ghosh) 8. Re: Time based WARN/CRIT values (Subhendu Ghosh) 9. Re: Errors viewing Nagios web page from remote PC (Subhendu Ghosh) 10. Antwort: Re: Antwort: Re: [Nagios-users] Image Problems partly solved (ralf.lebeda at ezi.de) 11. Whats wrong with hostextinfo!! (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) 12. More problems with hostextinfo!! (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) --__--__-- Message: 1 Date: Thu, 5 Sep 2002 16:23:59 -0600 From: Terry Simons To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Web Interface IPv6 Weirdness Is anyone using IPv6 with Apache and Nagios? I'm running into some weird issues that I can't quite track down. I'm using Apache version 2.0.40 on Slackware and Nagios version 1.0b5. I don't think it's a Nagios problem... but I just thought I'd ask the list to see if anyone else has experienced any problems. The CGIs aren't doing anything specifically with v4 addresses are they? Thanks! - Terry --__--__-- Message: 2 From: "Wayne Mitchell" To: nagios-users at lists.sourceforge.net Date: Thu, 05 Sep 2002 23:22:20 +0000 Subject: [Nagios-users] Question regarding remote service checks I am a first time user to nagios, and would like to know if it is possible to grant access to the status reports, for an individual ( server per say ). So that if I have client who would like to know the current and historical status of his account, could he do that without gaining access to the rest of them? Any Help would be appreciated. Woody _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --__--__-- Message: 3 From: John Hicks To: "'nagios-users at lists.sourceforge.net'" Date: Thu, 5 Sep 2002 17:47:51 -0600 Subject: [Nagios-users] Errors viewing Nagios web page from remote PC Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi and html authentication and when I open the page from the localhost and enter username and password I see all hosts fine and all pages are available, however when I do this from a remote machine I get prompted and enter my username and password and the nagios page comes up but on all the status pages the stats are either very old or not there at all. Also the tactical overview page gives me the error "Error: Could not open main config file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be great. Thanks, John Hicks --__--__-- Message: 4 Date: Thu, 05 Sep 2002 16:51:26 -0700 From: "OMeara, Randy" Subject: RE: [Nagios-users] Changing Notification Periods To: "'Rusch, Daniel'" , nagios-users at lists.sourceforge.net Why not just enter the odd scheduled downtimes with the Nagios Scheduled Downtime CGI interface using: For a host: http:///nagios/cgi-bin/cmd.cgi?cmd_typ=55&host= For a service: http:///nagios/cgi-bin/cmd.cgi?cmd_typ=56&host= &service= If you have *many* hosts/services to schedule, you could script it to write to the Nagios cmd pipe. Regards, Randy -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Thursday, September 05, 2002 2:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Changing Notification Periods All, How do you handle hosts that the weekly scheduled downtime keeps changing. For example, I have a system call it Homer that normal goes down for database backup etc. On Sunday morning at 3 am to 4 am. But about twice a month or so they want to change the time to something else (say 4 am to 5 am). How do you handle this. I currently as a admin go in and hand edit the cfg file. It's no big deal for one server but do it for 50, agh... Is the a way to allow a "special trusted user" to change this time through the nagios interface? Thanks, Dan --__--__-- Message: 5 Date: Thu, 5 Sep 2002 19:39:56 -0600 (MDT) From: Jamin To: Wayne Mitchell cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question regarding remote service checks Yipes. Sounds like a difficult problem there. The only thing I can think of off hand is use webmin and make your own module to control what users have access to in nagios via the ACLs. BTW, anyone out there know if the NetSaint module for webmin is going to get updated for nagios? (I would hate to do the extra work of converting it over to nagios if it has already been done.) Nagios and webmin get along nicely. =) Now if I could only figure out how to syncronize the user lists between the two apps. -Jamin ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- On Thu, 5 Sep 2002, Wayne Mitchell wrote: > > > I am a first time user to nagios, and would like to know if it is possible > to grant access to the status reports, for an individual ( server per say ). > So that if I have client who would like to know the current and historical > status of his account, could he do that without gaining access to the rest > of them? Any Help would be appreciated. > Woody > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > > ------------------------------------------------------- > 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 > --__--__-- Message: 6 Date: Thu, 5 Sep 2002 20:01:57 -0600 (MDT) From: Jamin To: ralf.lebeda at ezi.de cc: nagios-users at lists.sourceforge.net Subject: Re: Antwort: Re: [Nagios-users] Image Problems Hmmm, I would suggest doing the usual things: o check the permissions on all your files o check the ownership on all your files o make sure filenames in the cfg files match the actual files o make sure the physical_html_path (in cgi.cfg) is correct o ... after that I would try to uncomment the statusmap_image line and comment out the gd2_image line. (I don't think gd2_image is a valid tag for the extended info.) http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Actually if you do the above list in reverse order it might save some time... what can I say, I'm sadistic. =) On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote: > > Hi, > > I've got them in the mentioned directory, but it's still not working. > > Please help > > > > > Jamin > Gesendet von: An: ralf.lebeda at ezi.de > nagios-users-admin at lists.sourc Kopie: nagios-users at lists.sourceforge.net > eforge.net Thema: Re: [Nagios-users] Image Problems > > > 04.09.2002 23:59 > > > > > > > Ralf, make sure your images are in the /nagios/share/images/logos > directory. > > -Jamin > > On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > > > Hi, > > > > how could I get the fancy ICONS to work?? > > > > In CGI.CFG > > ... > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > > .... > > > > In HOSTEXTINFO.CFG > > ... > > define hostextinfo[ > > host_name rubin > > icon_image linux40.png > > icon_image_alt Suse Linux > > vrml_image linux40.png > > # statusmap_image linux40.gd2 > > gd2_image linux40.gd2 > > 2d_coords 100,250 > > 3d_coords 100.0,50.0,75.0 > > } > > .... > > > > compiled with > > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > > --with-gd-inc=/usr/include --with-nagios-user=daemon > > --with-nagios-grp=daemon --with-default-status --with-default-comments > > --with-template-objects --with-default-retention --with-default-perfdata > > --with-default-downtime --enable-embedded-perl > > > > Thanks > > > > --------- > > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > > IT - Administration > > > > EZI GmbH URL: WWW.EZI.DE > > Kreuzgasse 42 > > D-35708 Haiger > > > > Tel.: +49 (0)2773-835135 > > Fax: +49 (0)2773-835195 > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > ---------------------------------------------------------------------- > "The Green Bay Packers never lost a game...they just ran out of time" > -- Vince Lombardi > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > 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 > > > > ______________________________________________________________________ Procrastination - "Hard work often pays off after time, but laziness always pays off now." ______________________________________________________________________ --__--__-- Message: 7 Date: Thu, 5 Sep 2002 23:17:24 -0400 (EDT) From: Subhendu Ghosh To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Changing Notification Periods On Thu, 5 Sep 2002, Rusch, Daniel wrote: > All, > > How do you handle hosts that the weekly scheduled downtime keeps changing. > For example, I have a system call it Homer that normal goes down for > database backup etc. On Sunday morning at 3 am to 4 am. But about twice a > month or so they want to change the time to something else (say 4 am to 5 > am). How do you handle this. I currently as a admin go in and hand edit > the cfg file. It's no big deal for one server but do it for 50, agh... Is > the a way to allow a "special trusted user" to change this time through the > nagios interface? > > Thanks, > > Dan > why edit the cfg? Anyone who is a contact for the host/service should be able to schedule a downtime. Alternatively a script to submit an external command the submits the following: SCHEDULE_SVC_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment SCHEDULE_HOST_DOWNTIME;host;service_name;start epoch;end epoch;fixed=1 otherwise=0;duration (sec);contact name;comment -- -sg --__--__-- Message: 8 Date: Thu, 5 Sep 2002 23:19:26 -0400 (EDT) From: Subhendu Ghosh To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Time based WARN/CRIT values On Thu, 5 Sep 2002, Jeremy Tinley wrote: > Is there a way to change parameters based on time of day without > hardcoding it into the script. > > I have a process that's allowed to get a little more out-of-control at > night. I don't want the pager going off with the same thresholds that > it does during the day, while I'm at work. > > Currently, I have 2 service checks, process and process-night. > Process-night has higher critical and warning values. It's also > configured to check and notify during nonworkhours. Same is true for > the process service check. > > Did I pretty much hit the workaround, or is there something more obvious > I'm missing? You are pretty much on target. The plugins have no concept of time. so two different definitions would be needed... -- -sg --__--__-- Message: 9 Date: Thu, 5 Sep 2002 23:21:50 -0400 (EDT) From: Subhendu Ghosh To: John Hicks cc: "'nagios-users at lists.sourceforge.net'" Subject: Re: [Nagios-users] Errors viewing Nagios web page from remote PC On Thu, 5 Sep 2002, John Hicks wrote: > Running Nagiso on RH7.2, Nagios is up and running fine. I have enabled cgi > and html authentication and when I open the page from the localhost and > enter username and password I see all hosts fine and all pages are > available, however when I do this from a remote machine I get prompted and > enter my username and password and the nagios page comes up but on all the > status pages the stats are either very old or not there at all. Also the > tactical overview page gives me the error "Error: Could not open main config > file '/usr/local/nagios/etc/nagios.cfg' for reading!" Any ideas would be > great. Thanks, > John Hicks > > Umm.. something with your apache config. Do you have a single definition for the nagios site or two in httpd.conf? -- -sg --__--__-- Message: 10 Subject: Antwort: Re: Antwort: Re: [Nagios-users] Image Problems partly solved To: Jamin Cc: nagios-users at lists.sourceforge.net From: ralf.lebeda at ezi.de Date: Fri, 6 Sep 2002 07:50:55 +0200 Hi , I found the trouble of not displaying the images. I had all the "cfg-files" in a directory /etc/nagios. Within the files I put all the paths corresponding to my /etc/nagios directory. Everything was working but the hostextinfo icons were not displayed and also the the help icon for onlinehelp wasn't there. I copied all the "cfg-files" to /usr/local/nagios/etc and changed all the lines within again. Since then I get all the icons displayed and the help icon. Great, great :-)))))) It seems that the CGI-scripts tried to find the information within /usr/local/nagios/etc and not in /etc/nagios. I think I must give the changing "etc" path somewhere at configuration time, but I don't know where. Maybe someone does know that?????? Thanks and Rgds Ralf Jamin Kopie: nagios-users at lists.sourceforge.net Thema: Re: Antwort: Re: [Nagios-users] Image Problems 06.09.2002 04:01 Hmmm, I would suggest doing the usual things: o check the permissions on all your files o check the ownership on all your files o make sure filenames in the cfg files match the actual files o make sure the physical_html_path (in cgi.cfg) is correct o ... after that I would try to uncomment the statusmap_image line and comment out the gd2_image line. (I don't think gd2_image is a valid tag for the extended info.) http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Actually if you do the above list in reverse order it might save some time... what can I say, I'm sadistic. =) On Thu, 5 Sep 2002 ralf.lebeda at ezi.de wrote: > > Hi, > > I've got them in the mentioned directory, but it's still not working. > > Please help > > > > > Jamin > Gesendet von: An: ralf.lebeda at ezi.de > nagios-users-admin at lists.sourc Kopie: nagios-users at lists.sourceforge.net > eforge.net Thema: Re: [Nagios-users] Image Problems > > > 04.09.2002 23:59 > > > > > > > Ralf, make sure your images are in the /nagios/share/images/logos > directory. > > -Jamin > > On Wed, 4 Sep 2002 ralf.lebeda at ezi.de wrote: > > > Hi, > > > > how could I get the fancy ICONS to work?? > > > > In CGI.CFG > > ... > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > > .... > > > > In HOSTEXTINFO.CFG > > ... > > define hostextinfo[ > > host_name rubin > > icon_image linux40.png > > icon_image_alt Suse Linux > > vrml_image linux40.png > > # statusmap_image linux40.gd2 > > gd2_image linux40.gd2 > > 2d_coords 100,250 > > 3d_coords 100.0,50.0,75.0 > > } > > .... > > > > compiled with > > ./configure --with-template-extinfo --with-gd-lib=/usr/lib > > --with-gd-inc=/usr/include --with-nagios-user=daemon > > --with-nagios-grp=daemon --with-default-status --with-default-comments > > --with-template-objects --with-default-retention --with-default-perfdata > > --with-default-downtime --enable-embedded-perl > > > > Thanks > > > > --------- > > Ralf Lebeda E-Mail: ralf.lebeda at ezi.de > > IT - Administration > > > > EZI GmbH URL: WWW.EZI.DE > > Kreuzgasse 42 > > D-35708 Haiger > > > > Tel.: +49 (0)2773-835135 > > Fax: +49 (0)2773-835195 > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > ---------------------------------------------------------------------- > "The Green Bay Packers never lost a game...they just ran out of time" > -- Vince Lombardi > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- > 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 > > > > ______________________________________________________________________ Procrastination - "Hard work often pays off after time, but laziness always pays off now." ______________________________________________________________________ --__--__-- Message: 11 Date: Fri, 6 Sep 2002 09:03:01 +0200 From: =?iso-8859-1?Q?Fredrik_W=E4nglund?= To: Subject: [Nagios-users] Whats wrong with hostextinfo!! I can't get hostextinfo to work. I am using template-based configuration = and my cgi.cfg has the following line xedtemplate_config_file=3D/usr/local/nagios/etc/xedtemplate.cfg the file xedtemplate.cfg looks like this: define hoststextinfo{ host_name sheriff notes_url http://localhost.com/info icon_image linux40.png icon_image_alt Mandrake-8.2 vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } define serviceextinfo{ host_name sheriff service_description Ftp notes_url http://localhost.com/info icon_image sun40.png icon_image_alt Security-Related Alerts } When I look at the service, a SUN-logo and an icon with a link to the = notes_url is shown. But when I look at the host nothing of my ext-info = is shown, neither in the host-details nor in the status-map. Why? The logos are in /usr/local/nagios/share/logos and everyone have = read-access. /FredrikW --__--__-- Message: 12 Date: Fri, 6 Sep 2002 10:32:52 +0200 From: =?iso-8859-1?Q?Fredrik_W=E4nglund?= To: Subject: [Nagios-users] More problems with hostextinfo!! I am using the template-based configuration below. In this case, all my = linux-boxes got an penguin-logo, but if I uncomment the last two lines = on the last host ALL three hosts get the RedHat-logo.. Have I = misunderstood the template-concept? define hostextinfo{ name linux_template icon_image linux40.png icon_image_alt Linux vrml_image linux40.png statusmap_image linux40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 register 0 } define hostextinfo{ host_name barbar use linux_template } define hostextinfo{ host_name sheriff use linux_template } define hostextinfo{ host_name bepa use linux_template #icon_image redhat.png #statusmap_image redhat.png } --__--__-- _______________________________________________ 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From nate.lists at tbh.info Mon Sep 9 22:34:13 2002 From: nate.lists at tbh.info (Nate) Date: Mon, 9 Sep 2002 16:34:13 -0400 Subject: SMTP Failure In-Reply-To: References: Message-ID: <200209091634.13336.nate.lists@tbh.info> Here's the verbose output: SMTP OK - 0 sec. response time, 220 ********************** Socket timeout after 10 seconds Nate D. On Monday 09 September 2002 04:10 pm, Subhendu Ghosh wrote: > On Mon, 9 Sep 2002, Nate DeLong wrote: > > I have a qmail server with smtp-auth setup & am trying to monitor the > > service. The service is constantly at critical, even though the status > > information says "SMTP OK - 0 second response time". My config is pretty > > much the same as the sample configs, with not much changed. > > > > Here's my services.cfg entry for that service: > > > > define service{ > > use generic-service > > host_name qm1 > > service_description SMTP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_smtp > > } > > > > Here's my status.log snip (may not wrap right): > > > > [1031600344] > > SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;103 > >1599399;0;CRITICAL;120;0;0;0;1 > > > > Could the SMTP-Auth be causing the problem? Any ideas? > > > > Thanks, > > > > Nate D. > > Could you post an output of check_smtp with the -v (verbose) option > enabled. > > -sg ------------------------------------------------------- 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 From galimore at mac.com Mon Sep 9 23:42:41 2002 From: galimore at mac.com (Terry Simons) Date: Mon, 9 Sep 2002 15:42:41 -0600 Subject: Additional Info: HTTP WARNING: HTTP/1.1 404 Not Found In-Reply-To: <003801c25838$e5ed1d10$4a94e3d5@KABOOM> References: <003801c25838$e5ed1d10$4a94e3d5@KABOOM> Message-ID: <112BDDD3-C43D-11D6-BF20-0003938FDD5C@mac.com> The Nagios http plugin does a "GET /" by default.. I suspect that whatever server you're attempting to do a GET on doesn't allow for GET / I had this problem on one of my web servers... Try getting a document that you know exists on the server. The http plugin has more information on how to set that up. - Terry On Monday, September 9, 2002, at 01:41 PM, Tom Boom wrote: > Dear Nagios, > > On my newest servers i receive these warnings: Additional Info: HTTP > WARNING: HTTP/1.1 404 Not Found > > My old servers return HTTP/1.1 200 OK > > What do i have to change so it will return "OK" to me? > > > Thanks, > Regards Tom. > > > > > ------------------------------------------------------- > 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 From galimore at mac.com Mon Sep 9 23:44:58 2002 From: galimore at mac.com (Terry Simons) Date: Mon, 9 Sep 2002 15:44:58 -0600 Subject: Nagat Question Message-ID: <62AD902D-C43D-11D6-BF20-0003938FDD5C@mac.com> I know this really isn't the place for Nagat questions, but I posted in the Forums quite a long time ago, and have still seen no response... I know the maintainer for Nagat has been on the list in the past, so I'm hoping he's still here... Here's what I posted: Hi, There is what appears to be a bug in Nagat, in that it doesn't read my configuration files, which I specify with cfg_dir. My nagios.cfg config file looks like this: cfg_dir=/usr/local/nagios/etc/configs cfg_dir=/usr/local/nagios/etc/configs/networking cfg_dir=/usr/local/nagios/etc/configs/labs cfg_dir=/usr/local/nagios/etc/configs/micro cfg_dir=/usr/local/nagios/etc/configs/systems I do not have any cfg_file declerations, because I do everything under /etc/configs, and there are too many files to use cfg_file for. This is because we have many groups that have different types of configurations (as you can see). Nagat properly reads my nagios.cfg and cgi.cfg files, and it lists the options that I have specified for them, but it tells me that I do not have any hosts... and I think it's because I use cfg_dir and not cfg_file. Unfortunately, this makes it impossible for me to use Nagat at this time. Am I doing something wrong, or is this indeed a bug? Thanks, - Terry ------------------------------------------------------- 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 From galimore at mac.com Mon Sep 9 23:58:46 2002 From: galimore at mac.com (Terry Simons) Date: Mon, 9 Sep 2002 15:58:46 -0600 Subject: Notification Bug Message-ID: <506285D2-C43F-11D6-BF20-0003938FDD5C@mac.com> Hi, A while ago I posted that it seemed like I was getting duplicate messages about outages with Nagios, and that I'd post more when I could determine whether or not it was true... Today I noticed that it is indeed a problem. Here's the problem: Bob, Joe, and Sam are all including a "default" template for their contact information. Bob, Joe, Sam, and the default template are members of the contact group. (I did this because I wanted bob, joe, and sam to have separate logins for the web interface, but their notifications need to go to the same mailing list... the config below explains better than I can.) What I'm noticing is that for each notification that gets sent out, I get 4 copies of said notification. This seems like it shouldn't happen based on the filtering rules for notifications... My understanding is that Nagios should only send one notification out for each E-mail address/pager/whatever if duplicates exist. Here are the relevant configs: (names and E-mail addresses have been changed) The 4 contacts which have the same E-mail are microgroup-email, bob, joe, and sam. bob, joe, and sam get that information from microgroup-email, as microgroup-email is the template... but it appears that for all 4 of these contacts a separate E-mail is getting sent out. define contactgroup{ contactgroup_name microgroup alias Micro Group members microgroup-pager, microgroup-email, bob, joe, sam } define contact{ contact_name microgroup-pager alias Microgroup via Pager service_notification_period microgroup-pager host_notification_period microgroup-pager service_notification_options u,c,r host_notification_options d,u,r service_notification_commands svc-notify-by-pager host_notification_commands host-notify-by-pager pager microgroup } define contact{ name microgroup-default contact_name microgroup-email alias Microgroup via E-mail service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands svc-notify-by-email host_notification_commands host-notify-by-email email list1 at foo.com, list2 at foo.com } define contact{ use microgroup-default contact_name sam } define contact{ use microgroup-default contact_name joe } define contact{ use microgroup-default contact_name bob } ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 10 00:19:40 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 9 Sep 2002 18:19:40 -0400 (EDT) Subject: SMTP Failure In-Reply-To: <200209091627.06886.nate.lists@tbh.info> References: <200209091627.06886.nate.lists@tbh.info> Message-ID: What plugin veriosn are you using? What happens if you if you telnet to qmail and type the following HELO localhost QUIT Does the system hang at any point? -sg On Mon, 9 Sep 2002, Nate wrote: > Here's the verbose output: > > SMTP OK - 0 sec. response time, 220 ********************** > Socket timeout after 10 seconds > > Nate D. > > On Monday 09 September 2002 04:10 pm, Subhendu Ghosh wrote: > > On Mon, 9 Sep 2002, Nate DeLong wrote: > > > I have a qmail server with smtp-auth setup & am trying to monitor the > > > service. The service is constantly at critical, even though the status > > > information says "SMTP OK - 0 second response time". My config is pretty > > > much the same as the sample configs, with not much changed. > > > > > > Here's my services.cfg entry for that service: > > > > > > define service{ > > > use generic-service > > > host_name qm1 > > > service_description SMTP > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 3 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_smtp > > > } > > > > > > Here's my status.log snip (may not wrap right): > > > > > > [1031600344] > > > SERVICE;qm1;SMTP;CRITICAL;3/3;HARD;1031600284;1031600464;ACTIVE;1;1;1;103 > > >1599399;0;CRITICAL;120;0;0;0;1 > > > > > > Could the SMTP-Auth be causing the problem? Any ideas? > > > > > > Thanks, > > > > > > Nate D. > > > > Could you post an output of check_smtp with the -v (verbose) option > > enabled. > > > > -sg > -- ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 10 00:47:26 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 9 Sep 2002 18:47:26 -0400 (EDT) Subject: Notification Bug In-Reply-To: <506285D2-C43F-11D6-BF20-0003938FDD5C@mac.com> References: <506285D2-C43F-11D6-BF20-0003938FDD5C@mac.com> Message-ID: Inline. On Mon, 9 Sep 2002, Terry Simons wrote: > Hi, > > A while ago I posted that it seemed like I was getting duplicate > messages about outages with Nagios, and that I'd post more when I could > determine whether or not it was true... Today I noticed that it is > indeed a problem. > > Here's the problem: > > Bob, Joe, and Sam are all including a "default" template for their > contact information. > > Bob, Joe, Sam, and the default template are members of the contact > group. (I did this because I wanted bob, joe, and sam to have separate > logins for the web interface, but their notifications need to go to the > same mailing list... the config below explains better than I can.) > > What I'm noticing is that for each notification that gets sent out, I > get 4 copies of said notification. > > This seems like it shouldn't happen based on the filtering rules for > notifications... My understanding is that Nagios should only send one > notification out for each E-mail address/pager/whatever if duplicates > exist. No - Nagios will send one notification for each contact per email and pager. If you all contact have the same email, Nagios doesn't care, because the contacts are what is indexed and they are different. > > Here are the relevant configs: (names and E-mail addresses have been > changed) > > The 4 contacts which have the same E-mail are microgroup-email, bob, > joe, and sam. > > bob, joe, and sam get that information from microgroup-email, as > microgroup-email is the template... but it appears that for all 4 of > these contacts a separate E-mail is getting sent out. > > define contactgroup{ > contactgroup_name microgroup > alias Micro Group > members microgroup-pager, microgroup-email, > bob, joe, sam > } > > define contact{ > contact_name microgroup-pager > alias Microgroup via Pager > service_notification_period microgroup-pager > host_notification_period microgroup-pager > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-pager > host_notification_commands host-notify-by-pager > pager microgroup > } > > define contact{ > name microgroup-default > contact_name microgroup-email > alias Microgroup via E-mail > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-email > host_notification_commands host-notify-by-email > email list1 at foo.com, list2 at foo.com > } > > define contact{ > use microgroup-default > contact_name sam > } > > define contact{ > use microgroup-default > contact_name joe > } > > define contact{ > use microgroup-default > contact_name bob > } > > > > ------------------------------------------------------- > 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 From jjf at mind.net Tue Sep 10 00:53:40 2002 From: jjf at mind.net (John Fox) Date: Mon, 9 Sep 2002 15:53:40 -0700 Subject: Perceived problem with host checks In-Reply-To: <3D791034.2050505@quadrix.com>; from russell@quadrix.com on Fri, Sep 06, 2002 at 04:29:40PM -0400 References: <20020906124659.F71743@mind.net> <3D791034.2050505@quadrix.com> Message-ID: <20020909155340.D8237@mind.net> On Friday September 6, 2002, Russell Scibetti chimed in with: > We were confused by this at first too, but believe it or not, the > behavior you saw is what is expected. Thank you very much, Russell, for that highly informative explanation. You have prevented me from pulling out my hair strand-by-strand. :) 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From Joe.Leone at Beacon.com.au Tue Sep 10 01:58:43 2002 From: Joe.Leone at Beacon.com.au (Joe Leone) Date: Tue, 10 Sep 2002 07:58:43 +0800 Subject: Check host alive- distributed server Message-ID: <25929FD6AAD19945A0884ACC7700076E111279@zircon.beacon.com.au> Hi list. I sent a request some time ago (to the NetSaint list) regarding distributed serves and checking if the host is alive, but did not get any responses. I will ask again in the hope that some can respond. I have set up a distributed server to monitor hosts behind a firewall. As such the Central NetSaint server does not have access to them. i.e. it can not ping them. The distributed server is behind the firewall and I have setup nrpep and nsca to monitor the hosts. I want to implement a "check host alive" to reduce the number of emails. I have looked at the nagios doco and it seems to indicate it can be done with some fiddling. Has anyone got it working or offer suggestions? NAGIOS documentation Performing Host Checks At this point you know how to obtain service check results passivly from distributed servers. This means that the central server is not actively checking services on its own. But what about host checks? You still need to do them, so how? Since host checks usually compromise a small part of monitoring activity (they aren't done unless absolutely necessary), I'd recommend that you perform host checks actively from the central server. That means that you define host checks on the central server the same way that you do on the distributed servers (and the same way you would in a normal, non-distributed setup). There are ways to obtain host checks passively, but implementing them is beyond the scope of what I care to write about at this time. :-) Thanks Joe Leone Joe.Leone at beacon.com.au ------------------------------------------------------- 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 From g.vickers at qut.edu.au Tue Sep 10 04:19:27 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 10 Sep 2002 12:19:27 +1000 Subject: SV: Nagios vs. .NET's MOM In-Reply-To: <03630F4AC119D311B0DF0008C716506F016ABF6C@ARHIN02> References: <03630F4AC119D311B0DF0008C716506F016ABF6C@ARHIN02> Message-ID: <5.1.0.14.2.20020910121741.00af4aa0@pop.qut.edu.au> Thanks for the comments, and yes, the pricing is appalling: Approx $220 PER PROCESSOR MONITORED - so if we want to monitor our 1000 lab pcs... we start looking at 1/4 Million dollars AU... stuff that. I'm in for the hard slog :") Greg At 22:45 05/09/2002, Allan Hansen, INBODAN wrote: >MOM is, if I remember correct, based on products from NetIQ (www.netiq.com). > > >I had it demonstrated some time ago, and it all seems very neat and >"Microsoft" like, - click here, click there, and you have sorts of wonderful >statistics, graphs, logs, alarms etc ... > >It runs only on Windows. It is focused on monitoring Microsoft products, >which of course is OK if you live in an all-microsoft environment. There are >third party plugins, - eq. Compaq for monitoring their hardware. I guess >with some work you can have it monitor the same stuff you monitor with >Nagios. > >The pricing is hilarious compared to Nagios. >The user interface is good compared to Nagios ;-) >The hardware requirements is higher than Nagios. > >The advantage of MOM is the user friendliness, the (main) disadvantage is >the high costs. >If you are new to Nagios, you must prepare yourself for some hard work, and >you will need to add other products if you require alarms sent to pagers or >cell phones. If you hang in, the product is great, and very flexible. > >You should consider getting a trial copy if Operations Manager, if you need >to do serious testing. I took my boss to the demo, we are now running Nagios >on a small Linux box ;-) > >/Allan > > > >-----Oprindelig meddelelse----- >Fra: Greg Vickers [mailto:g.vickers at qut.edu.au] >Sendt: 5. september 2002 04:07 >Til: nagios-users at lists.sourceforge.net >Emne: [Nagios-users] Nagios vs. .NET's MOM > > >Hi all, > >Apparantly .NET contains a product called MOM - Microsoft Operations >Management. This product can provide real-time monitoring & reports etc etc >of windows servers. > >My manager put a hold on ordering the server that we are purchasing for >nagios and asked me to look into MOM. I'm looking for ... comparative >information of the two products. I have a preference of which product i'd >like to put in, but I have to build a case. Can anyone here comment on >these two products? > >p.s. I just found out that the licence for MOM is per processor >monitored... so if we want to monitor our lab PCs, we'd have to pay >1000*the licence fee ... which is low-three figure price... > >lice >================================= >Greg Vickers >Computer Systems Officer >Student Support and Systems >Teaching and Learning Support Systems, QUT >g.vickers at qut.edu.au >Ph: 07 3864 8276 Fax: 07 3864 5425 >Mob: 0416 001 674 SD: 6147 > > > >------------------------------------------------------- >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 ================================= 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From bosse at klykken.com Tue Sep 10 05:33:32 2002 From: bosse at klykken.com (Bosse Klykken) Date: Tue, 10 Sep 2002 05:33:32 +0200 Subject: SMTP Failure In-Reply-To: ; from sghosh@sghosh.org on Mon, Sep 09, 2002 at 06:19:40PM -0400 References: <200209091627.06886.nate.lists@tbh.info> Message-ID: <20020910053332.A28558@klykken.com> On Mon, Sep 09, 2002 at 06:19:40PM -0400, Subhendu Ghosh wrote: > What plugin veriosn are you using? > > What happens if you if you telnet to qmail and type the following > HELO localhost > QUIT > > Does the system hang at any point? I experienced the exact same problem after upgrading Nagios and the plugins to the newest version, and at the same time moving the monitoring server away from DMZ. The problem occured only on some SMTP-servers, and I was not able to tell the difference between the hosts it worked on and those that it timed out on. After troubleshooting everything else (Nagios configs, the firewall, the network, the mail servers), I downgraded the check_smtp plugin from v1.2 to v1.1.1.1, and it worked perfectly on all hosts. .../Bosse -- Bosse Klykken | http://www.klykken.com/~bosse | PGP: 0x570ABB4E "Democracy is not a state in which people act like sheep." - M.K.Gandhi ------------------------------------------------------- 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 From mijakscht at vit.de Tue Sep 10 09:01:24 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 10 Sep 2002 09:01:24 +0200 Subject: NSClient 1.0.7.0 / NT4.0 Message-ID: Hi! I have a problem with NSClient 1.0.7.0 running (sorry *not* running) on Windows NT 4.0, SP6. Installing it as a service seems to work great, but after starting the service I wait a minute and then get the following error: "pNSClient.exe: js32.dll not found" Then NSClient crashes and in the event log you see that it doesn't run anymore. So I googled a little bit and found out that this must be an javasound-dll. Has anyone of you any idea about this problem? The NSClient runs great on several other WinNT4 servers also with SP6 installed... Michael ------------------------------------------------------- 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 From mic-lists-nagios at wlug.de Tue Sep 10 08:30:40 2002 From: mic-lists-nagios at wlug.de (Michael Hayder) Date: 10 Sep 2002 08:30:40 +0200 Subject: nagios..... timeperiod.... limit the maximum of mails/service(host) Message-ID: <1031639440.5701.8.camel@carmen> Hi there, maybe I am stupid or I can not see it. :-> I want to limit nagios to send an maximum of e.g 5 Mails for each brocken service or host. I could not find the solutions somewhere. Does it have something to do with timeperiod or the escalation level. Thanx for any help Greets mic ------------------------------------------------------- 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 From bartm at q-go.com Tue Sep 10 10:33:16 2002 From: bartm at q-go.com (Bart Molendijk) Date: Tue, 10 Sep 2002 10:33:16 +0200 Subject: (no subject) Message-ID: <001601c258a4$b663a660$342d12ac@idefix> confirm 593351 ------------------------------------------------------- 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 From bartm at q-go.com Tue Sep 10 10:55:47 2002 From: bartm at q-go.com (Bart Molendijk) Date: Tue, 10 Sep 2002 10:55:47 +0200 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd' Message-ID: <001701c258a7$dcf7df50$342d12ac@idefix> hello everyone, when i try to reschedule a sevice check i get the message: "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing." I have nagios running & gave the /usr/local/nagios/var/rw/nagios.cmd the right permissions & made a group nagios.cmd to wich i added users nobody,appache and nagios, as described in the documentation. everything is running propperly only this is a problem. Tanx for the help ------------------------------------------------------- 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 From freddy.frouin at fluxus.net Tue Sep 10 11:06:31 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Tue, 10 Sep 2002 11:06:31 +0200 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <001701c258a7$dcf7df50$342d12ac@idefix> References: <001701c258a7$dcf7df50$342d12ac@idefix> Message-ID: <20020910110631.5eaed86b.freddy.frouin@fluxus.net> Do the access rights be ok on: /usr /usr/local /usr/local/nagios /usr/local/nagios/var /usr/local/nagios/var/rw to allow the web user to enter in this directory architecture ? [I've done a test on my linux, it could be the reason why the web user could'nt access to the file if one of the directory do not allow him to entered in it, even if the file has the good rights...] Freddy. On Tue, 10 Sep 2002 10:55:47 +0200 "Bart Molendijk" wrote: > hello everyone, > > when i try to reschedule a sevice check i get the message: > > "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! > > The external command file may be missing, Nagios may not be running, and/or > Nagios may not be checking external commands. > > An error occurred while attempting to commit your command for processing." > > I have nagios running & gave the /usr/local/nagios/var/rw/nagios.cmd the > right permissions & made a group nagios.cmd to wich i added users > nobody,appache and nagios, as described in the documentation. everything is > running propperly only this is a problem. > > Tanx for the help > > > > > > ------------------------------------------------------- > 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 > -- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From pcotching at realmedia.com Tue Sep 10 11:17:03 2002 From: pcotching at realmedia.com (Phil Cotching) Date: Tue, 10 Sep 2002 10:17:03 +0100 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <20020910110631.5eaed86b.freddy.frouin@fluxus.net> References: <001701c258a7$dcf7df50$342d12ac@idefix> <20020910110631.5eaed86b.freddy.frouin@fluxus.net> Message-ID: <20020910101703.2eb2e35b.pcotching@realmedia.com> I think you just need to create the rw dir by hand (dont forget to set permissions). On Tue, 10 Sep 2002 11:06:31 +0200 Freddy Frouin wrote: > Do the access rights be ok on: > /usr > /usr/local > /usr/local/nagios > /usr/local/nagios/var > /usr/local/nagios/var/rw > to allow the web user to enter in this directory architecture ? > > [I've done a test on my linux, it could be the reason why the web user > could'nt access to the file if one of the directory do not allow him > to entered in it, even if the file has the good rights...] > > Freddy. > > On Tue, 10 Sep 2002 10:55:47 +0200 > "Bart Molendijk" wrote: > > > hello everyone, > > > > when i try to reschedule a sevice check i get the message: > > > > "Error: Could not stat() command file > > '/usr/local/nagios/var/rw/nagios.cmd'! > > > > The external command file may be missing, Nagios may not be running, > > and/or Nagios may not be checking external commands. > > > > An error occurred while attempting to commit your command for > > processing." > > > > I have nagios running & gave the /usr/local/nagios/var/rw/nagios.cmd > > the right permissions & made a group nagios.cmd to wich i added > > users nobody,appache and nagios, as described in the documentation. > > everything is running propperly only this is a problem. > > > > Tanx for the help > > > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > > -- > 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: 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 From massimo.cereda at equart.com Tue Sep 10 11:15:09 2002 From: massimo.cereda at equart.com (Massimo Cereda) Date: Tue, 10 Sep 2002 11:15:09 +0200 Subject: R: SMTP Failure Message-ID: <070A8B9CFEFCF047A833C702DF5FF2C7023BBE@w2kmxsrv01.equart.com> > -----Messaggio originale----- > Da: Bosse Klykken [mailto:bosse at klykken.com] > > After troubleshooting everything else (Nagios configs, the firewall, > the network, the mail servers), I downgraded the check_smtp plugin > from v1.2 to v1.1.1.1, and it worked perfectly on all hosts. For me the problem was solve recompiling the plugin with the options #define SMTP_USE_DUMMYCMD 1 commeted. This solve the problem with exchange and courier mailserver, and maybe all the other. Look to the archive for more detail. Massimo Cereda Equart S.r.l. Via Clericetti, 42/a 20133 Milano Tel. 02-70608314 Fax. 02-70603592 mailto:massimo.cereda at equart.com http://www.equart.it ------------------------------------------------------- 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 From proux at freesurf.fr Tue Sep 10 12:38:16 2002 From: proux at freesurf.fr (jpp) Date: Tue, 10 Sep 2002 12:38:16 +0200 Subject: periodic downtime Message-ID: Hi, I succes to set a dowtime to a specific host but, my host rebootall each day. So how to tell nagios to keep dowtime schedule daily. thanks. JPP ------------------------------------------------------- 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 From proux at freesurf.fr Tue Sep 10 12:44:35 2002 From: proux at freesurf.fr (jpp) Date: Tue, 10 Sep 2002 12:44:35 +0200 Subject: plugging for NRPE on SCO, AIX and SUN In-Reply-To: <6319AEF0FF0BC4488F10029776CEAC070F5667@MAIL01.orhs.org> References: <6319AEF0FF0BC4488F10029776CEAC070F5667@MAIL01.orhs.org> Message-ID: Le Lundi 9 Septembre 2002 19:21, Jeffcoat, Al a ?crit : > Hello, > > What version(s) of AIX do you need the plug-in's for? I've successfully > compiled them on AIX 4.3.3 and 5.1. Could be great to upload all your plug-in's staff in a common nagios ftp directory. Because it could be very usefull for few guys. Thanks. ------------------------------------------------------- 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 From Volker.Aust at premiere.de Tue Sep 10 13:00:53 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Tue, 10 Sep 2002 13:00:53 +0200 Subject: Plug-in problem Message-ID: Hi Jo, yes, I think you have to define your nrpe commands on the Nagios host in the command.cfg: In order to use the check_nrpe plugin from within Nagios, you'll have to define a few things in the host config file. An example command definition for the check_nrpe plugin would look like this: define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -c $ARG1$ } In any service definitions that use the nrpe plugin/daemon to get their results, you would set the service check command portion of the definition to something like this (sample service definition is simplified for this example): define service{ host_name someremotehost service_description someremoteservice check_command check_nrpe!yourcommand ... etc ... } where "yourcommand" is a name of a command that you define in your nrpe.cfg file on the remote host (see the docs in the sample nrpe.cfg file for more information). -vol > -----Original Message----- > From: jo smith [mailto:joblow7777 at yahoo.com] > Sent: Monday, September 09, 2002 4:44 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plug-in problem > > > I'm a little confused as to how the plugins work. > > I have these lines in the hosts.cfg file on the > nagios host: > > check_command check_load > check_command check_disk1 > check_command check_disk2 > check_command check_disk3 > check_command check_disk4 > check_command check_zombie_procs > check_command check_total_procs > > I can run these programs on the command line on the > nagios host: > > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk1 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk2 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk3 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_disk4 > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_zombie_procs > /usr/local/nagios/libexec/check_nrpe remote_host -c > check_total_procs > > and the commands return the correct information. I > also have these lines in the nagios client nrpe.cfg > file: > > command[check_users]=/usr/local/nagios/libexec/check_users > 5 10 > command[check_load]=/usr/local/nagios/libexec/check_load > 5 10 15 20 25 30 > command[check_disk1]=/usr/local/nagios/libexec/check_disk > 80 95 /rootvol > command[check_disk2]=/usr/local/nagios/libexec/check_disk > 80 95 /usr > command[check_disk3]=/usr/local/nagios/libexec/check_disk > 80 95 /var > command[check_disk4]=/usr/local/nagios/libexec/check_disk > 80 95 /sysadmin > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs > 5 10 Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs > 150 200 > > So far everything is cool. > > However, when I try to start nagios, the pre-flight > checklist gives me an error like this: > > nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 1.0b5 > Copyright (c) 1999-2002 Ethan Galstad > (nagios at nagios.org) > Last Modified: 08-12-2002 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 19 services. > Checking hosts... > Error: Host check command 'check_total_procs' > specified for host 'host' is not defined anywhere! > > I'm not sure how to define these commands in the > checkcommands.cfg file (or if I'm missing anything > else, please let me know). Please help. > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > 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 From cleguern at artful.net Tue Sep 10 13:08:42 2002 From: cleguern at artful.net (Christophe Le Guern) Date: Tue, 10 Sep 2002 13:08:42 +0200 Subject: external commands + mysql auth Message-ID: <20020910130842.03567282.cleguern@artful.net> Hi all, I have nagios 1.0b5 + netsaint plugins (plan to move with nagiosplug) my problem is the following: I have some customers who have acces to nagios (web interface) with "contact acces" for me, it's great to run external commands but I want to denied this acces for others, is it possible ? (yes, I have read the doc :-) for example, I don't want that customers have "Authorization to issue commands for all services on the host " (http://nagios.sourceforge.net/docs/1_0/cgiauth.html) Is someone tested mod_auth_mysql for nagios authentication successfull ? christophe ------------------------------------------------------- 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 From mijakscht at vit.de Tue Sep 10 13:33:17 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 10 Sep 2002 13:33:17 +0200 Subject: Check interval Message-ID: Hi. Maybe I jsut don't see it, but how can I reduce the check-interval so that Nagios doesn't check this often the hosts and services. Which parameter do I have to change?? Thanx, Michael ------------------------------------------------------- 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 From orzech at pld.org.pl Tue Sep 10 13:46:41 2002 From: orzech at pld.org.pl (Tomek Orzechowski) Date: Tue, 10 Sep 2002 13:46:41 +0200 Subject: Check interval In-Reply-To: References: Message-ID: <20020910114641.GA18475@alpha.hq.cs.net.pl> [10 wrzesie?, 2002] Michael Jakscht wrote: >Hi. > >Maybe I jsut don't see it, but how can I reduce the check-interval so that >Nagios doesn't check this often the hosts and services. Which parameter do >I have to change?? >Thanx, See normal_check_interval and retry_check_interval in doc. -- _ _._. _ .|_ (_)| /_(/.(.| ) Tomek Orzechowski ------------------------------------------------------- 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 From jean-paul.chapalain at cmb.fr Tue Sep 10 13:53:34 2002 From: jean-paul.chapalain at cmb.fr (jean-paul Chapalain) Date: Tue, 10 Sep 2002 13:53:34 +0200 Subject: SOLVED : Probleme with time-periode and Notification_periode Message-ID: <3D7DDD3E.6020003@cmb.fr> I've change version of Nagios and it's OK. I install Nagios 1.0b5 instead 1.0a7 and i haven't any problem for the migration of my config. Thanks for all. galimore at mac.com wrote: From: galimore at mac.com To: JEAN-PAUL.CHAPALAIN at CMB.FR Cc: NAGIOS-USERS at lists.sourceforge.net Date: Tue, 20 Aug 2002 20:07:40 -0600 Subject: Re: [Nagios-users] HELP : Probleme with time-periode and Notification_periode Content-Type: text/plain; delsp = "yes"; charset = "ISO-8859-1"; format = "flowed" Content-Transfer-Encoding: Quoted-Printable Mime-version: 1.0 My suggestion would be to upgrade to Nagios 1.0b5 and see if that fixes the problem. A *ton* of things have been fixed since 1.0a7. I don't recall seeing any problems quite like this in the time I've been on the list, but most people are using stuff newer than 1.0a7. You should be able to upgrade with a minimum of fuss. It shouldn't wipe out your configurations, but I know that sometimes it's difficult to do upgrades, especially if you're production. I hope that helps. - Terry On Tuesday, August 20, 2002, at 03:36 AM, CHAPALAIN JEAN-PAUL wrote: --- Re?u de CMB.CHAPAJP 0298002873 20-08-02 11.36 Jean-Paul wrote, Few weeks ago, I've posted a precedent message in the list without reply http://sourceforge.net/mailarchive/ forum.php?thread_id=960538&forum_id=1873 Anybody can say me if it's a mistake in my config, a bug with Nagios Version 1.0a7 or anything else ? Thanks in advance. * Jean-Paul Chapalain - Reseaux et Systemes Distribues * * Groupement Informatique Credit Mutuel * * Tel : +33 298002873 Fax : +33 298284005 * * mailto : jean-paul.chapalain at cmb.fr * ---- 20-08-02 11.36 ---- Envoy? ? ------------------------------------ -> NAGIOS-USERS(a)LISTS.SOURCEFORGE.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-user s -- * Jean-Paul Chapalain - Reseaux et Systemes Distribues * * Groupement Informatique Credit Mutuel * * Tel : +33 298002873 Fax : +33 298284005 * * mailto : jean-paul.chapalain at cmb.fr * -- Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message etant susceptible d'alteration, l'emetteur decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. ----------------------------------- This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. As e-mails are susceptible to alteration, the issuer shall not be liable for the message if altered, changed or falsified. ------------------------------------------------------- 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 From kenneth.ray at travelersla.com Tue Sep 10 15:00:21 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Tue, 10 Sep 2002 09:00:21 -0400 Subject: Notification bug References: Message-ID: <3D7DECE5.84E1A44C@travelersla.com> I have noticed that if you put them in different groups it does not stop either Nagios nor Netsaint from re-notifying that same contact. That is a good thing for me, because I have notification groups set up so a person might exist in several groups and receive different notifications for different reasons. Is this a bug? I can't say it is or isn't, but I would say, if its a bug, then KEEP IT. I need it. your information doesnt look like it includes the whole picture, you are only showing one definition of the users, I suspect one of two things, either these users are defined somewhere else OR you have the Contact group microgroup defined somewhere else as a member of another group, possibly two. This is ok but would produce the effect your describing. You might want to check that first, If that is not the case then i would suggest reposting and actually include a service that is displaying the effect as well as your entire contacts and contact groups. without this information, IMHO it would be hard to help you further. Message: 4 Date: Mon, 9 Sep 2002 15:58:46 -0600 From: Terry Simons To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification Bug Hi, A while ago I posted that it seemed like I was getting duplicate messages about outages with Nagios, and that I'd post more when I could determine whether or not it was true... Today I noticed that it is indeed a problem. Here's the problem: Bob, Joe, and Sam are all including a "default" template for their contact information. Bob, Joe, Sam, and the default template are members of the contact group. (I did this because I wanted bob, joe, and sam to have separate logins for the web interface, but their notifications need to go to the same mailing list... the config below explains better than I can.) What I'm noticing is that for each notification that gets sent out, I get 4 copies of said notification. This seems like it shouldn't happen based on the filtering rules for notifications... My understanding is that Nagios should only send one notification out for each E-mail address/pager/whatever if duplicates exist. Here are the relevant configs: (names and E-mail addresses have been changed) The 4 contacts which have the same E-mail are microgroup-email, bob, joe, and sam. bob, joe, and sam get that information from microgroup-email, as microgroup-email is the template... but it appears that for all 4 of these contacts a separate E-mail is getting sent out. define contactgroup{ contactgroup_name microgroup alias Micro Group members microgroup-pager, microgroup-email, bob, joe, sam } define contact{ contact_name microgroup-pager alias Microgroup via Pager service_notification_period microgroup-pager host_notification_period microgroup-pager service_notification_options u,c,r host_notification_options d,u,r service_notification_commands svc-notify-by-pager host_notification_commands host-notify-by-pager pager microgroup } define contact{ name microgroup-default contact_name microgroup-email alias Microgroup via E-mail service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands svc-notify-by-email host_notification_commands host-notify-by-email email list1 at foo.com, list2 at foo.com } define contact{ use microgroup-default contact_name sam } define contact{ use microgroup-default contact_name joe } define contact{ use microgroup-default contact_name bob } ------------------------------------------------------- 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 From jtinley at unirez.com Tue Sep 10 15:41:37 2002 From: jtinley at unirez.com (Jeremy Tinley) Date: Tue, 10 Sep 2002 08:41:37 -0500 Subject: NSClient 1.0.7.0 / NT4.0 In-Reply-To: References: Message-ID: <000801c258cf$c9233ec0$b201a8c0@unirez.com> The author's site says to use the DLLs from 1.06.0. http://nsclient.ready2run.nl/whatsnew.htm#sat-march-16 -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Jakscht Sent: Tuesday, September 10, 2002 2:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient 1.0.7.0 / NT4.0 Hi! I have a problem with NSClient 1.0.7.0 running (sorry *not* running) on Windows NT 4.0, SP6. Installing it as a service seems to work great, but after starting the service I wait a minute and then get the following error: "pNSClient.exe: js32.dll not found" Then NSClient crashes and in the event log you see that it doesn't run anymore. So I googled a little bit and found out that this must be an javasound-dll. Has anyone of you any idea about this problem? The NSClient runs great on several other WinNT4 servers also with SP6 installed... Michael ------------------------------------------------------- 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 From ryan at ryancasey.net Tue Sep 10 15:54:46 2002 From: ryan at ryancasey.net (Ryan Casey) Date: 10 Sep 2002 09:54:46 -0400 Subject: Limiting Views of hostsgroups in Web Interface In-Reply-To: <000901c258d0$8d243f40$b201a8c0@unirez.com> References: <000901c258d0$8d243f40$b201a8c0@unirez.com> Message-ID: <1031666089.2130.35.camel@bongo> On Tue, 2002-09-10 at 09:47, Jeremy Tinley wrote: > Users should only have the ability to view groups/hosts they are > contacts for. Awesome...Thanks I hadn't thought to just add the contact name(s) defined in contacts.cfg to the htpasswd.users file. It works perfectly. Thanks, -Ryan Casey > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ryan > Casey > Sent: Monday, September 09, 2002 3:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Limiting Views of hostsgroups in Web Interface > > Is it possible to restrict an authenticated user to only viewing > information for a particular hostgroup in the Web interface? I saw the > "authorized_for_all_services" tag, and I'm wondering if there is a way > to limit a user to viewing info for just one hostgroup. > > If it isn't possible, how hard do you think it would be to implement? > Or is this a better question for nagios-devel? > > Thanks, > -Ryan Casey > ------------------------------------------------------- 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 From bamundson at bbn.com Tue Sep 10 16:11:31 2002 From: bamundson at bbn.com (Brandon Amundson) Date: Tue, 10 Sep 2002 10:11:31 -0400 Subject: Disk Percentage Question Message-ID: All; Could someone tell me where it is that I specify the percentage of disk space used before an error is returned. I can not find reference to it in any of my config files and am sure this is possible to do. Brandon ------------------------------------------------------- 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 From rpatl at gmx.at Tue Sep 10 16:14:45 2002 From: rpatl at gmx.at (rpatl at gmx.at) Date: Tue, 10 Sep 2002 16:14:45 +0200 (MEST) Subject: Status Information Field Message-ID: <5936.1031667285@www20.gmx.net> 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 From ajeffco at orhs.org Tue Sep 10 16:29:00 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Tue, 10 Sep 2002 10:29:00 -0400 Subject: Status Information Field Message-ID: <6319AEF0FF0BC4488F10029776CEAC07014EF493@MAIL01.orhs.org> 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 From jsellens at generalconcepts.com Tue Sep 10 16:25:38 2002 From: jsellens at generalconcepts.com (John Sellens) Date: Tue, 10 Sep 2002 10:25:38 -0400 (EDT) Subject: Issues with 1.0b5 Message-ID: <200209101425.g8AEPcf95483@gc0.generalconcepts.com> | From: Brian Wilson | Date: Thu, 22 Aug 2002 10:22:16 -0400 | | 3rd problem: One problem with netsaint, which I still see in nagios, is | the lack of a tool to bulk manage a number of devices. (ie, if I know a | building is going to loose power from 08:00 to 14:00, then I want to | schedule downtime for all devices in that building. With the current | process of setting downtime, this is rather tedius. I'll probably get | around it by writing my own interface to do this (as I did with netsaint), | but this would be a great feature to add to your wishlist. Could you put all the devices in a hostgroup, and then schedule downtime for the hostgroup? (You didn't mention that you had tried this and found it wanting, so apologies if this is painfully obvious and not helpful.) I think you can have a device in multiple hostgroups. I had trouble finding the place where you can schedule hostgroup downtime, I only found eventually it by reading the source. If you choose "Status Summary" from the "Monitoring" section of the left frame in the web interface, I think you should get a screen that says "Status Summary For All Host Groups". The host groups are listed in a column, with "Long host group name (shortname)". If you click on the "(shortname)" you should get "Hostgroup Commands" which will let you run commands on the host group, including scheduling downtime. I think it ends up recording separate downtime events for each host/service in the host group, but it's much less tedious than doing each host separately. Hope this helps! John jsellens at generalconcepts.com ------------------------------------------------------- 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 From jasonm at kelman.com Tue Sep 10 16:36:40 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 10 Sep 2002 08:36:40 -0600 (MDT) Subject: Nagios and SSL In-Reply-To: <200209091348.35440.generalkael@vastknowledge.com> References: <200209091348.35440.generalkael@vastknowledge.com> Message-ID: > How do I go about wrapping all Nagios pages with SSL using apache? Scott, this is _way_ outside the scope of this mailing list. Go get mod_ssl and openssl for your platform, and read the mod_ssl documentation -- it's quite straight forward upon reading the installation document there. --- 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: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 From Robert.Wagner at wausaubenefits.com Tue Sep 10 16:38:38 2002 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Tue, 10 Sep 2002 09:38:38 -0500 Subject: Plugin: check_rrd Message-ID: Just curious.. Thanks to Google, I know there have been whispers of a check_rrd plugin that may have existed in the past. Unfortunately, I cannot find any such plugin, and I'm curious if anyone has one. We've got a pretty extensive Cricket installation here, and even our small use of MRTG around the place uses RRD files to store the data. This would be a big help. Rob Wagner ------------------------------------------------------- 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 From jcarro10 at sprintspectrum.com Tue Sep 10 16:46:24 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 10 Sep 2002 09:46:24 -0500 Subject: nagios..... timeperiod.... limit the maximum o f mails/service(host) Message-ID: Read the documentation regarding escalations. jc > -----Original Message----- > From: Michael Hayder [mailto:mic-lists-nagios at wlug.de] > Sent: Tuesday, September 10, 2002 1:31 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] nagios..... timeperiod.... limit the > maximum of > mails/service(host) > > > Hi there, > maybe I am stupid or I can not see it. :-> > > I want to limit nagios to send an maximum of e.g 5 Mails for each > brocken service or host. I could not find the solutions somewhere. > > Does it have something to do with timeperiod or the escalation level. > > Thanx for any help > > Greets > mic > > > > > > > > > > ------------------------------------------------------- > 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 From jcarro10 at sprintspectrum.com Tue Sep 10 16:47:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 10 Sep 2002 09:47:00 -0500 Subject: Disk Percentage Question Message-ID: check_disk --help > -----Original Message----- > From: Brandon Amundson [mailto:bamundson at bbn.com] > Sent: Tuesday, September 10, 2002 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disk Percentage Question > > > All; > > Could someone tell me where it is that I specify the > percentage of disk > space used before an error is returned. > > I can not find reference to it in any of my config files and > am sure this is > possible to do. > > Brandon > > > > ------------------------------------------------------- > 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 From ejl at man.fwltech.com Tue Sep 10 16:52:59 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 10 Sep 2002 15:52:59 +0100 Subject: Status Information Field Message-ID: <1012BD903945D411915500105A48FF57F062C4@nt.man.fwltech.com> 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 From wilcoxc at troycorp.com Tue Sep 10 16:54:13 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Tue, 10 Sep 2002 10:54:13 -0400 Subject: HELP, In need of a script Message-ID: <5F735AF7A501D411910600104B76901E01EA96DC@POSTAL> Does anyone have a script that I could modify that kind of does the following...... (Think MRTG and Nagios here) When using check_mrtg on a particular circuit it returns a value...say 100. The script would do the following. It would take the output of the check_mrtg plugin and if this value is greater than 100 it would run tcpdump (dumping output to a file) for 15 minutes and then stop. How does Nagios run external script files based on output from a plugin, is there a direct call somewhere? Any help or scripts can be emailed to me directly if you don't mind giving me your hard earned scripting. I'm new at this and my VP said that I have to have it working by COB Monday. Thanks in Advance for any info. Chris. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nate.lists at tbh.info Tue Sep 10 16:58:34 2002 From: nate.lists at tbh.info (Nate) Date: Tue, 10 Sep 2002 10:58:34 -0400 Subject: Nagios and SSL In-Reply-To: References: Message-ID: <200209101058.34756.nate.lists@tbh.info> I have a question of my own on this topic: I currently have Nagios running quite well without SSL. I'm going to add SSL to the virtual host in Apache - Is there anything I need to be aware of, or should this work just as it did without the SSL (I'm thinking it should, but I have to ask...)? Thanks, Nate D. On Tuesday 10 September 2002 10:36 am, Jason Marshall wrote: > > How do I go about wrapping all Nagios pages with SSL using apache? > > Scott, this is _way_ outside the scope of this mailing list. > > Go get mod_ssl and openssl for your platform, and read the mod_ssl > documentation -- it's quite straight forward upon reading the installation > document there. > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. ------------------------------------------------------- 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 From kurt.ziegenbein at saarstahl.de Tue Sep 10 17:05:00 2002 From: kurt.ziegenbein at saarstahl.de (ZIEGENBEIN, Kurt) Date: Tue, 10 Sep 2002 17:05:00 +0200 Subject: Any experiences with check_udp Message-ID: Hi all! I've some kind of trouble with the check_udp plugin. I want to check a W2k-Terminalserver (1604/UDP), but it seems that the way I use the plugin isn't correct. I made the following tests with the "well-known-port" 53 (DNS), so that I can be sure that there is nothing special with w2k. The command (direct from shell) "check_udp -p 54" exits directly with "No response from host on port 54". Thats ok, because there is nothing listening. The command "check_udp -p 53" waits for the timeout (10 sec) and then exits with "No data was recieved from host! No response from host on port 53" Where is the problem? Since the code for check_udp didn't change in the past half year, I don't expect bugs there... Kurt ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 10 17:25:26 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Sep 2002 11:25:26 -0400 (EDT) Subject: Plugin: check_rrd In-Reply-To: References: Message-ID: On Tue, 10 Sep 2002, Robert Wagner wrote: > > Just curious.. Thanks to Google, I know there have been whispers of a > check_rrd plugin that may have existed in the past. Unfortunately, I cannot > find any such plugin, and I'm curious if anyone has one. > > We've got a pretty extensive Cricket installation here, and even our > small use of MRTG around the place uses RRD files to store the data. This > would be a big help. > > Rob Wagner > contrib/check_rrd-data -- ------------------------------------------------------- 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 From kuehne at sietec.de Tue Sep 10 17:10:10 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Tue, 10 Sep 2002 17:10:10 +0200 Subject: Nagios and SSL Message-ID: <3D7E0B52.2080205@sietec.de> > -----Original Message----- > From: Nate [mailto:nate.lists at tbh.info] > Sent: Tuesday, September 10, 2002 4:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios and SSL > > > I have a question of my own on this topic: > > I currently have Nagios running quite well without SSL. I'm > going to add SSL > to the virtual host in Apache - Is there anything I need to > be aware of, or > should this work just as it did without the SSL (I'm thinking > it should, but > I have to ask...)? Basically Nagios is a web app, and independent from the webserver it is being served. So it is independent from the underlying protocol. All I want to say is HTTPS works very well for me. (Apache/1.3.26 w/ mod_ssl/2.8.10) Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- 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 From davide.depaoli at labinf.it Tue Sep 10 17:20:53 2002 From: davide.depaoli at labinf.it (Davide Depaoli) Date: Tue, 10 Sep 2002 17:20:53 +0200 Subject: More notes_url in hostextinfo.cfg ? Message-ID: <000e01c258dd$a80c72c0$8d818dd4@hmssipac.it> Hi, is possible to have more that one notes_url in hostextinfo.cfg ? For example for me is useful to have traceroute and telnet to manage a node: define hostextinfo{ host_name www.cisco.com notes_url http://212.141.129.230/nagios/cgi-bin/traceroute.cgi?198.133.219.25 --> notes_url_1 telnet://$HOSTNAME$ thanks to all Davide ------------------------------------------------------------- Davide Depaoli HMS SIPAC SpA - Strada Moleto III, 2 13048 Santhia' (VC) Phone: +39 0161 928749 Mobile: +39 329 8633999 davide.depaoli at labinf.it www.hms.labinf.it ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 10 17:15:48 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Sep 2002 11:15:48 -0400 (EDT) Subject: Nagios and SSL In-Reply-To: <200209101058.34756.nate.lists@tbh.info> References: <200209101058.34756.nate.lists@tbh.info> Message-ID: Nagios doesn't care what webserver, so long as it can support CGIs On Tue, 10 Sep 2002, Nate wrote: > I have a question of my own on this topic: > > I currently have Nagios running quite well without SSL. I'm going to add SSL > to the virtual host in Apache - Is there anything I need to be aware of, or > should this work just as it did without the SSL (I'm thinking it should, but > I have to ask...)? > > Thanks, > > Nate D. > > > On Tuesday 10 September 2002 10:36 am, Jason Marshall wrote: > > > How do I go about wrapping all Nagios pages with SSL using apache? > > > > Scott, this is _way_ outside the scope of this mailing list. > > > > Go get mod_ssl and openssl for your platform, and read the mod_ssl > > documentation -- it's quite straight forward upon reading the installation > > document there. > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > ------------------------------------------------------- > 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_______________________________________________ > Nagios-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 From cleguern at artful.net Tue Sep 10 17:49:55 2002 From: cleguern at artful.net (Christophe Le Guern) Date: Tue, 10 Sep 2002 17:49:55 +0200 Subject: Any experiences with check_udp In-Reply-To: References: Message-ID: <20020910174955.22f07bd2.cleguern@artful.net> it seems that Terminal server uses TCP/3389 http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& christophe On Tue, 10 Sep 2002 17:05:00 +0200 "ZIEGENBEIN, Kurt" wrote: > Hi all! > > I've some kind of trouble with the check_udp plugin. I want to check > a W2k-Terminalserver (1604/UDP), but it seems that the way I use the > plugin isn't correct. > > I made the following tests with the "well-known-port" 53 (DNS), so that > I can be sure that there is nothing special with w2k. > > The command (direct from shell) "check_udp -p 54" exits directly > with "No response from host on port 54". Thats ok, because there is nothing > listening. > > The command "check_udp -p 53" waits for the timeout (10 sec) and then > exits with "No data was recieved from host! No response from host on port > 53" > > Where is the problem? > > Since the code for check_udp didn't change in the past half year, I don't > expect bugs there... > > Kurt > > > ------------------------------------------------------- > 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 From ppng at yahoo.com Tue Sep 10 18:11:48 2002 From: ppng at yahoo.com (ppng) Date: Tue, 10 Sep 2002 09:11:48 -0700 (PDT) Subject: Can nrpe or nsca run on Windows platform ?? Message-ID: <20020910161148.23036.qmail@web10005.mail.yahoo.com> Hi Shawn, thank you for your response, but what I am try to do is to have the ability to monitor remote machines thru firewall and routers using Window box. The scenario that I encountered is that: I have installed the Nagios host in a Linux box in the main office, and I like to monitor the Windows machines in the branch office (the branch office has Windows machines only (no Linux box) and is separated by internet, firewall, routers), hence, I need to have the "nrpe" type of function on a Windows box. I did have nsClient install locally in the main office and it is working fine, I have browse thru the README, doc ... of nsClient but don't seem to mention anything that it can do the job of "nrpe". Again, thank for time and your response, your help are greatly appreciated. Regards Patrick *********************************************************************** From: Shawn Zayac RE: Can nrpe or nsca run on Windows platform ??? 2002-09-06 14:45 You need to use nsclient for windows boxes. > >Hi, does anyone have experience getting the "nrpe" addon working on the >Windows platform ? > >I got the "Nagios" and "nrpe" up and running already on 2 Linux boxes >(they are separated by router, firewall, internet, etc... of course), I >like to test out whether I can do some tweaks to get "nrpe" working on >WindowsXP/2000/NT platforms. > >If you know how to do it, could you please let me know. > >If you know this cannot be done, please let me know as well. > >Thanks in advance for you help. > >Regards, > >Patrick > >===== >ppng at ya... > >__________________________________________________ ===== ppng at yahoo.com __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute ------------------------------------------------------- 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 From sghosh at sghosh.org Tue Sep 10 17:27:07 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Sep 2002 11:27:07 -0400 (EDT) Subject: HELP, In need of a script In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96DC@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96DC@POSTAL> Message-ID: Check the archive over the last couple of weeks - monitoring traffic spikes. no scripts were posted, but others are working on the issue as well. -sg On Tue, 10 Sep 2002, Wilcox, Chris wrote: > Does anyone have a script that I could modify that kind of does the > following...... > > (Think MRTG and Nagios here) > > When using check_mrtg on a particular circuit it returns a value...say 100. > > The script would do the following. > > It would take the output of the check_mrtg plugin and if this value is > greater than 100 it would run tcpdump (dumping output to a file) for 15 > minutes and then stop. > > How does Nagios run external script files based on output from a plugin, is > there a direct call somewhere? > > Any help or scripts can be emailed to me directly if you don't mind giving > me your hard earned scripting. I'm new at this and my VP said that I have > to have it working by COB Monday. > > Thanks in Advance for any info. > > Chris. > > > -- ------------------------------------------------------- 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 From atonns at mail.ivillage.com Tue Sep 10 18:57:32 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Tue, 10 Sep 2002 12:57:32 -0400 Subject: statusmap.cgi not showing dependencies properl y Message-ID: ok. i have answered my own question. it seems that statusmap.cgi does not draw dependencies (ie: lines to from host to host) based upon "hostdependency" object definitions. INSTEAD, it uses the "parents" directive that is part of the "host" object definition. aren't "parents" and "hostdependency"s now redundant? in what case would you have a parent that wasn't a hostdependency? in looking at the code, i can agree it might not be a trivial change, but should this fact be documented somewhere? -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -----Original Message----- From: atonns at mail.ivillage.com [mailto:atonns at mail.ivillage.com] Sent: Friday, September 06, 2002 11:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap.cgi not showing dependencies properly i'd like to know if the statusmap.cgi will understand the alternate method i'm using for configs and map the dependencies properly. basically, each host has one line in the main nagios.cfg: cfg_dir=/usr/local/nagios/etc/hosts/firewall cfg_dir=/usr/local/nagios/etc/hosts/testhost in each directory there is a host.cfg file that has something like this (as apropriate): define host{ use generic-host ; Name of host template to use host_name testhost alias Test for Nagios address testhost.foobar.com check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period workhours } define hostdependency{ host_name firewall dependent_host_name testhost notification_failure_criteria d,u } also in the appropriate directories are seperate config files for each service (http.cfg, ping.cfg, etc. etc.) statusmap.cgi prints a nice picture, but it doesn't show that "testhost" depends on "router". it shows all hosts directly connected to the "nagios process" icon. P.S. "testhost" is actually a virtual IP on "firewall" that is nat'd to testhost.nat.foobar.com using private 10.x.x.x addresses behind that firewall. P.P.S. I only have 3 hosts currently configured. The host that runs nagios, "firewall" and "testhost". They are all shown as directly connected to "nagios process". thanks in advance for any/all help. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Sep 10 19:18:26 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 10 Sep 2002 13:18:26 -0400 (EDT) Subject: Can nrpe or nsca run on Windows platform ?? In-Reply-To: <20020910161148.23036.qmail@web10005.mail.yahoo.com> References: <20020910161148.23036.qmail@web10005.mail.yahoo.com> Message-ID: You might want to try and see if nrpe will work under cygwin on Windows. Haven't tried it myself as yet. -sg On Tue, 10 Sep 2002, ppng wrote: > > Hi Shawn, thank you for your response, but what I am try to do is to > have the ability to monitor remote machines thru firewall and routers > using Window box. > > The scenario that I encountered is that: > I have installed the Nagios host in a Linux box in the main office, and > I like to monitor the Windows machines in the branch office (the branch > office has Windows machines only (no Linux box) and is separated by > internet, firewall, routers), hence, I need to have the "nrpe" type of > function on a Windows box. > > I did have nsClient install locally in the main office and it is > working fine, I have browse thru the README, doc ... of nsClient but > don't seem to mention anything that it can do the job of "nrpe". > > Again, thank for time and your response, your help are greatly > appreciated. > > Regards > Patrick > > > *********************************************************************** > > From: Shawn Zayac > RE: Can nrpe or nsca run on Windows platform ??? > 2002-09-06 14:45 > > You need to use nsclient for windows boxes. > > > > >Hi, does anyone have experience getting the "nrpe" addon working on > the > >Windows platform ? > > > >I got the "Nagios" and "nrpe" up and running already on 2 Linux boxes > >(they are separated by router, firewall, internet, etc... of course), > I > >like to test out whether I can do some tweaks to get "nrpe" working > on > >WindowsXP/2000/NT platforms. > > > >If you know how to do it, could you please let me know. > > > >If you know this cannot be done, please let me know as well. > > > >Thanks in advance for you help. > > > >Regards, > > > >Patrick > > > >===== > >ppng at ya... > > > >__________________________________________________ > > > > ===== > ppng at yahoo.com > -- ------------------------------------------------------- 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 From Darren.Gamble at sjrb.ca Tue Sep 10 19:40:16 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Tue, 10 Sep 2002 11:40:16 -0600 Subject: statusmap.cgi not showing dependencies properl y Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB513@shawmail02> Good day, > ok. i have answered my own question. > it seems that statusmap.cgi does not draw dependencies (ie: lines to from host > to host) based upon "hostdependency" object definitions. INSTEAD, it uses the > "parents" directive that is part of the "host" object definition. > aren't "parents" and "hostdependency"s now redundant? in what case would you > have a parent that wasn't a hostdependency? in looking at the code, i can agree > it might not be a trivial change, but should this fact be documented somewhere? As one can see in the docs, "hostdependency" objects offer much more capability than what you had described here. You can set different dependencies for a host being up, down, or unreachable. You could say that a notification isn't send about a host so long as the other dependant host is up. You can associate devices with others that are not located in the same network. This could be important, for example, if you check a host's status via ssh from another trusted host since it's behind a firewall. Conversely, the "parents" attribute is designed for generating a network-type layout that lets one easily take network topology into account when suppressing notifications. I don't think it'll be possible to easily phase this out for the "hostdependency" object- what would happen if you had two hosts that depended on each other? How would you join those hosts to others in the diagram? Additionally, taking the first example into consideration, it probably wouldn't be logical to join those two hosts together in a diagram. I think the documentation for both "parents" and "hostdependency" is sufficient. It might not be a bad idea to make a note on the documentation page for the "Status Map CGI" that the "parent" attribute is used when creating the network diagram. ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- 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 From galimore at mac.com Tue Sep 10 19:51:17 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 10 Sep 2002 11:51:17 -0600 Subject: Notification bug In-Reply-To: <3D7DECE5.84E1A44C@travelersla.com> References: <3D7DECE5.84E1A44C@travelersla.com> Message-ID: On Tuesday, September 10, 2002, at 07:00 AM, Kenneth.ray wrote: > I have noticed that if you put them in different groups it does not > stop either > Nagios nor Netsaint from re-notifying that same contact. That is a > good thing for > me, because I have notification groups set up so a person might exist > in several > groups and receive different notifications for different reasons. > > Is this a bug? I can't say it is or isn't, but I would say, if its a > bug, then > KEEP IT. I need it. > your information doesnt look like it includes the whole picture, you > are only > showing one definition of the users, I suspect one of two things, > either these users > are defined somewhere else OR you have the Contact group microgroup > defined > somewhere else as a member of another group, possibly two. This is ok > but would > produce the effect your describing. No, this is the whole picture. The problem comes into play because bob, joe, and sam are using the microgroup-default template and are subsequently getting the same E-mail address. Since the microgroup-default template contact, bob, joe, and sam are all part of the microgroup, and microgroup is getting sent the notifications it's sending an email to the micro-default contact's e-mail, bob's e-mail, sam's e-mail, and joe's e-mail... which all happen to be the same address. This is a problem for me because let's say hosta goes down. That means I get 4 notifications to the mailing list that hosta is down... I'd like to only have 1. I think it makes sense that if you have 1 host go down, and you have 4 people with the same address, it should only send out one notification for that one host... If you had 2 hosts go down, it should send out 2 notifications... 1 for each host... but I'm getting 4 notifications for each host/service. I guess I'll have to redesign my templates and whatnot, but it seems like this isn't something that would be very useful... I can see how having someone in two groups would produce this behavior, but I don't have anyone of these users in any other groups. They are only in the microgroup. > You might want to check that first, If that is > not the case then i would suggest reposting and actually include a > service that is > displaying the effect as well as your entire contacts and contact > groups. without > this information, IMHO it would be hard to help you further. I've verified that these contacts exist in no other groups via the "View Config" option on the website. They only exist in microgroup. It affects any service or host that goes down that microgroup should be contacted for. What is happening is that instead of getting 1 notification to the list, I'm getting 1 notification per person (since they all inherit the e-mail address from the template I use) and therefore each person that inherits that template is another duplicate message that gets sent to the list. I could quite easily expand my templates out and show you what I'm talking about, but someone else said that this is not a bug... so I'll go with that and figure out another way to accomplish this... - Terry > > > > > > Message: 4 > Date: Mon, 9 Sep 2002 15:58:46 -0600 > From: Terry Simons > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification Bug > > Hi, > > A while ago I posted that it seemed like I was getting duplicate > messages about outages with Nagios, and that I'd post more when I could > determine whether or not it was true... Today I noticed that it is > indeed a problem. > > Here's the problem: > > Bob, Joe, and Sam are all including a "default" template for their > contact information. > > Bob, Joe, Sam, and the default template are members of the contact > group. (I did this because I wanted bob, joe, and sam to have separate > logins for the web interface, but their notifications need to go to the > same mailing list... the config below explains better than I can.) > > What I'm noticing is that for each notification that gets sent out, I > get 4 copies of said notification. > > This seems like it shouldn't happen based on the filtering rules for > notifications... My understanding is that Nagios should only send one > notification out for each E-mail address/pager/whatever if duplicates > exist. > > Here are the relevant configs: (names and E-mail addresses have been > changed) > > The 4 contacts which have the same E-mail are microgroup-email, bob, > joe, and sam. > > bob, joe, and sam get that information from microgroup-email, as > microgroup-email is the template... but it appears that for all 4 of > these contacts a separate E-mail is getting sent out. > > define contactgroup{ > contactgroup_name microgroup > alias Micro Group > members microgroup-pager, microgroup-email, > bob, joe, sam > } > > define contact{ > contact_name microgroup-pager > alias Microgroup via Pager > service_notification_period microgroup-pager > host_notification_period microgroup-pager > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-pager > host_notification_commands host-notify-by-pager > pager microgroup > } > > define contact{ > name microgroup-default > contact_name microgroup-email > alias Microgroup via E-mail > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-email > host_notification_commands host-notify-by-email > email list1 at foo.com, list2 at foo.com > } > > define contact{ > use microgroup-default > contact_name sam > } > > define contact{ > use microgroup-default > contact_name joe > } > > define contact{ > use microgroup-default > contact_name bob > } > > > > > > > ------------------------------------------------------- > 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 From kenneth.ray at travelersla.com Tue Sep 10 20:13:52 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Tue, 10 Sep 2002 14:13:52 -0400 Subject: Notification bug References: Message-ID: <3D7E3660.AEAE1DF0@travelersla.com> oh ok, see now that makes sense to me, Yeah if they have the same address that is ok but i have a solution for you, instead of playing with the default groups, you can create another contact set it to the email address, call it something like shared-email-micro or something to define it better. then change the 4 users contacts notification times to be null. this will give you the functionality you need. that way they have the ability to be different but the same in that respect. so here is an example define contact{ use microgroup-default contact_name sam service_notification_options n host_notification_options n } what the above does is now sam gets no notifications but is still using the microdefault group. so now you can make a contact that will cover all your people at that one addy like so define contact{ use microgroup-default contact_name shared-address } one thing to remember is that local variables overide ones in the template hope this helps your problem.. Terry Simons wrote: On Tuesday, September 10, 2002, at 07:00 AM, Kenneth.ray wrote: > I have noticed that if you put them in different groups it does not > stop either > Nagios nor Netsaint from re-notifying that same contact. That is a > good thing for > me, because I have notification groups set up so a person might exist > in several > groups and receive different notifications for different reasons. > > Is this a bug? I can't say it is or isn't, but I would say, if its a > bug, then > KEEP IT. I need it. > your information doesnt look like it includes the whole picture, you > are only > showing one definition of the users, I suspect one of two things, > either these users > are defined somewhere else OR you have the Contact group microgroup > defined > somewhere else as a member of another group, possibly two. This is ok > but would > produce the effect your describing. No, this is the whole picture. The problem comes into play because bob, joe, and sam are using the microgroup-default template and are subsequently getting the same E-mail address. Since the microgroup-default template contact, bob, joe, and sam are all part of the microgroup, and microgroup is getting sent the notifications it's sending an email to the micro-default contact's e-mail, bob's e-mail, sam's e-mail, and joe's e-mail... which all happen to be the same address. This is a problem for me because let's say hosta goes down. That means I get 4 notifications to the mailing list that hosta is down... I'd like to only have 1. I think it makes sense that if you have 1 host go down, and you have 4 people with the same address, it should only send out one notification for that one host... If you had 2 hosts go down, it should send out 2 notifications... 1 for each host... but I'm getting 4 notifications for each host/service. I guess I'll have to redesign my templates and whatnot, but it seems like this isn't something that would be very useful... I can see how having someone in two groups would produce this behavior, but I don't have anyone of these users in any other groups. They are only in the microgroup. > You might want to check that first, If that is > not the case then i would suggest reposting and actually include a > service that is > displaying the effect as well as your entire contacts and contact > groups. without > this information, IMHO it would be hard to help you further. I've verified that these contacts exist in no other groups via the "View Config" option on the website. They only exist in microgroup. It affects any service or host that goes down that microgroup should be contacted for. What is happening is that instead of getting 1 notification to the list, I'm getting 1 notification per person (since they all inherit the e-mail address from the template I use) and therefore each person that inherits that template is another duplicate message that gets sent to the list. I could quite easily expand my templates out and show you what I'm talking about, but someone else said that this is not a bug... so I'll go with that and figure out another way to accomplish this... - Terry > > > > > > Message: 4 > Date: Mon, 9 Sep 2002 15:58:46 -0600 > From: Terry Simons > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification Bug > > Hi, > > A while ago I posted that it seemed like I was getting duplicate > messages about outages with Nagios, and that I'd post more when I could > determine whether or not it was true... Today I noticed that it is > indeed a problem. > > Here's the problem: > > Bob, Joe, and Sam are all including a "default" template for their > contact information. > > Bob, Joe, Sam, and the default template are members of the contact > group. (I did this because I wanted bob, joe, and sam to have separate > logins for the web interface, but their notifications need to go to the > same mailing list... the config below explains better than I can.) > > What I'm noticing is that for each notification that gets sent out, I > get 4 copies of said notification. > > This seems like it shouldn't happen based on the filtering rules for > notifications... My understanding is that Nagios should only send one > notification out for each E-mail address/pager/whatever if duplicates > exist. > > Here are the relevant configs: (names and E-mail addresses have been > changed) > > The 4 contacts which have the same E-mail are microgroup-email, bob, > joe, and sam. > > bob, joe, and sam get that information from microgroup-email, as > microgroup-email is the template... but it appears that for all 4 of > these contacts a separate E-mail is getting sent out. > > define contactgroup{ > contactgroup_name microgroup > alias Micro Group > members microgroup-pager, microgroup-email, > bob, joe, sam > } > > define contact{ > contact_name microgroup-pager > alias Microgroup via Pager > service_notification_period microgroup-pager > host_notification_period microgroup-pager > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-pager > host_notification_commands host-notify-by-pager > pager microgroup > } > > define contact{ > name microgroup-default > contact_name microgroup-email > alias Microgroup via E-mail > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options u,c,r > host_notification_options d,u,r > service_notification_commands svc-notify-by-email > host_notification_commands host-notify-by-email > email list1 at foo.com, list2 at foo.com > } > > define contact{ > use microgroup-default > contact_name sam > } > > define contact{ > use microgroup-default > contact_name joe > } > > define contact{ > use microgroup-default > contact_name bob > } > > > > > > > ------------------------------------------------------- > 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 From AHKAPLAN at PARTNERS.ORG Tue Sep 10 20:34:09 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 10 Sep 2002 14:34:09 -0400 Subject: How Do I Add Hosts and Monitor Them Message-ID: <5593DA408212D511B0910002A513501F01D2872A@phsexch20.mgh.harvard.edu> I have Nagios up and running and I went to add an NT server to the hosts.cfg file. After entering the information I restarted the server and went back to the main page and expected to see some reference to the server, but there was none. My question is how do I correctly add hosts to be monitored by nagios and have them configured so they will appear on the various screens? ------------------------------------------------------- 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 From Joerg.Lutz at lycos-europe.com Tue Sep 10 22:24:38 2002 From: Joerg.Lutz at lycos-europe.com (Joerg.Lutz at lycos-europe.com) Date: Tue, 10 Sep 2002 22:24:38 +0200 Subject: question to processing performance data Message-ID: <295C5EDF1D27D411A76900508B62578101CCDFD3@debage55.bertelsmann.de> Hi all, the directive 'process_perf_data' for the host and service definition does't have any effect on performance processing. Even the $PERFDATA$ macro gets set properly. Is this intended? Also, nagios doesn't set the $PERFDATA$ macro when there's a '\n' before the pipe char in the plugin output. Feature or bug? Thanx in advance, Joerg ------------------------------------------------------- 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 From daniel-wittenberg at uiowa.edu Tue Sep 10 22:25:38 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 10 Sep 2002 15:25:38 -0500 Subject: Error: Could not read host and service status information! Message-ID: <1031689538.20125.8.camel@tux.its.uiowa.edu> Error: Could not read host and service status information! I was playing with nagios, and all was going well, I decided to move the directories, so I trashed it all, recompiled everything, and now I suddenly get this error. I have checked permissions on the files, nagios is running, only 2 minor errors about groups that are defined but not used, and I don't see anything in the log. The history is working so it obviously is working in the background. What exactly does this error mean? Is there a file or CGI or socket or something it is trying to contact and it can't? Thanks, Dan ------------------------------------------------------- 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 From kray1 at travelersla.com Tue Sep 10 22:23:16 2002 From: kray1 at travelersla.com (Kenneth Ray) Date: Tue, 10 Sep 2002 16:23:16 -0400 Subject: How Do I Add Hosts and Monitor Them Message-ID: <3D7E54B4.24A24DEB@travelersla.com> Hi, what you need to do is put the NT plugin on the NT server in question, and then set it up. there is a specific plugin designed by another developer. However other than giving you that bit of information i cannot help you. I dont use the functionality of Nagios to monitor NT servers. Message: 2 From: "Kaplan, Andrew H." To: nagios-users at lists.sourceforge.net Date: Tue, 10 Sep 2002 14:34:09 -0400 Subject: [Nagios-users] How Do I Add Hosts and Monitor Them I have Nagios up and running and I went to add an NT server to the hosts.cfg file. After entering the information I restarted the server and went back to the main page and expected to see some reference to the server, but there was none. My question is how do I correctly add hosts to be monitored by nagios and have them configured so they will appear on the various screens? -- 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 privileged. 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 recipient. 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, therefore, does not accept liability for any errors or omissions in the content of this message or any damage or other consequences arising as a result of Internet transmission. Opinions, conclusions and other information in this message that do not relate to the official business of CITIGROUP shall be understood as neither given nor endorsed by it. ------------------------------------------------------- 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 From nate.lists at tbh.info Tue Sep 10 22:46:03 2002 From: nate.lists at tbh.info (Nate) Date: Tue, 10 Sep 2002 16:46:03 -0400 Subject: Error: Could not read host and service status information! In-Reply-To: <1031689538.20125.8.camel@tux.its.uiowa.edu> References: <1031689538.20125.8.camel@tux.its.uiowa.edu> Message-ID: <200209101646.03811.nate.lists@tbh.info> I received this message yesterday when I had started Nagios manually, and then *thought* I had stopped it manually, and then started it again with the init script. I keept getting very random results on the web interface (things dissapearing at random & the error you mentioned). All I did was kill every single lingering Nagios process and waited for about 5 minutes, checked for Nagios processes again, and when there were none, started Nagios with the init script again.. Your issue may be different, but that's what I did in my instance. Nate D. On Tuesday 10 September 2002 04:25 pm, Daniel Wittenberg wrote: > Error: Could not read host and service status information! > > I was playing with nagios, and all was going well, I decided to move the > directories, so I trashed it all, recompiled everything, and now I > suddenly get this error. I have checked permissions on the files, > nagios is running, only 2 minor errors about groups that are defined but > not used, and I don't see anything in the log. The history is working > so it obviously is working in the background. What exactly does this > error mean? Is there a file or CGI or socket or something it is trying > to contact and it can't? > > Thanks, > Dan > > > ------------------------------------------------------- > 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 From jcarro10 at sprintspectrum.com Tue Sep 10 22:57:31 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 10 Sep 2002 15:57:31 -0500 Subject: Error: Could not read host and service status information! Message-ID: Did you remember to make the appropriate changes to the paths in nagios.cfg and cgi.cfg? > -----Original Message----- > From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] > Sent: Tuesday, September 10, 2002 3:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error: Could not read host and service status > information! > > > Error: Could not read host and service status information! > > I was playing with nagios, and all was going well, I decided > to move the > directories, so I trashed it all, recompiled everything, and now I > suddenly get this error. I have checked permissions on the files, > nagios is running, only 2 minor errors about groups that are > defined but > not used, and I don't see anything in the log. The history is working > so it obviously is working in the background. What exactly does this > error mean? Is there a file or CGI or socket or something it > is trying > to contact and it can't? > > Thanks, > Dan > > > ------------------------------------------------------- > 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 From daniel-wittenberg at uiowa.edu Tue Sep 10 22:57:33 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 10 Sep 2002 15:57:33 -0500 Subject: Error: Could not read host and service status information! In-Reply-To: References: Message-ID: <1031691456.1792.4.camel@runabout.noc.starken.com> Yup, re-did all the configs from scratch (only had a couple machines for testing in it). Dan On Tue, 2002-09-10 at 15:57, Carroll, Jim P [Contractor] wrote: > Did you remember to make the appropriate changes to the paths in nagios.cfg > and cgi.cfg? > > > -----Original Message----- > > From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] > > Sent: Tuesday, September 10, 2002 3:26 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Error: Could not read host and service status > > information! > > > > > > Error: Could not read host and service status information! > > > > I was playing with nagios, and all was going well, I decided > > to move the > > directories, so I trashed it all, recompiled everything, and now I > > suddenly get this error. I have checked permissions on the files, > > nagios is running, only 2 minor errors about groups that are > > defined but > > not used, and I don't see anything in the log. The history is working > > so it obviously is working in the background. What exactly does this > > error mean? Is there a file or CGI or socket or something it > > is trying > > to contact and it can't? > > > > Thanks, > > Dan > > ------------------------------------------------------- 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 From Daniel.Rusch at GlobalCrossing.com Tue Sep 10 23:01:39 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Tue, 10 Sep 2002 17:01:39 -0400 Subject: NSClient Message-ID: <0DA06E553C3BD511823500508BB8965A020120DD@exnadetmbx3.ams.gblxint.com> 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 The check_nt_service!MESSENGER works where as the check_nt_service!TREND SERVERPROTECT does not. I suspect it is the space that is the problem. I have tried: check_nt_service!"TREND SERVERPROTECT" check_nt_service!TREND\x20SERVERPROTECT check_nt_service!"TREND\x20SERVERPROTECT" to no avail, any ideas Thanks, Dan ------------------------------------------------------- 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 From jcarro10 at sprintspectrum.com Tue Sep 10 23:43:48 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 10 Sep 2002 16:43:48 -0500 Subject: NSClient Message-ID: Would it help if you made these changes: # '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$ $ARG2$ } and: check_command check_nt_service!TREND!SERVERPROTECT Try that, see how it goes. jc > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Tuesday, September 10, 2002 4:02 PM > To: Nagios-User (E-mail) > Subject: [Nagios-users] NSClient > > > 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 > > > The check_nt_service!MESSENGER works where as the > check_nt_service!TREND > SERVERPROTECT does not. I suspect it is the space that is > the problem. I > have tried: > > check_nt_service!"TREND SERVERPROTECT" > check_nt_service!TREND\x20SERVERPROTECT > check_nt_service!"TREND\x20SERVERPROTECT" > > to no avail, any ideas > > Thanks, > > Dan > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- In remembrance www.osdn.com/911/ From jasonm at kelman.com Wed Sep 11 00:17:26 2002 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 10 Sep 2002 16:17:26 -0600 (MDT) Subject: Status Information Field In-Reply-To: <1012BD903945D411915500105A48FF57F062C4@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F062C4@nt.man.fwltech.com> Message-ID: > #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. You don't want to do this in Linux. I do it in my Solaris nagios installation because it's safe to bump it up. The reason for the limit is there is a 512-byte limit in atomic operations on names pipes in Linux. In other words, 512 bytes is the most you can read or write from or to a pipe with a GUARANTEE that the data will not be interleaved with other reads/writes. This is critical when passing as much information, and as often as Nagios does. Solaris has a similar limit, but it's 5120-bytes. I can fit this nice long status into my plugin output, for instance (see attachment (sorry for the binary post -- it's tiny)... > > 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 > --- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: peace.jpg Type: image/jpeg Size: 27637 bytes Desc: URL: From jcarro10 at sprintspectrum.com Wed Sep 11 00:33:27 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 10 Sep 2002 17:33:27 -0500 Subject: How Do I Add Hosts and Monitor Them Message-ID: You'll need to create a hostgroup and add the NT host to it. You might also want to consider monitoring some rudimentary network service, updating services.cfg accordingly. > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Tuesday, September 10, 2002 1:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How Do I Add Hosts and Monitor Them > > > I have Nagios up and running and I went to add an NT server > to the hosts.cfg > file. After entering the information I restarted the server > and went back to the > main page and expected to see some reference to the server, > but there was none. > My question is how do I correctly add hosts to be monitored > by nagios and have > them configured so they will appear on the various screens? > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- In remembrance www.osdn.com/911/ From stephen at clari.net.au Wed Sep 11 03:42:16 2002 From: stephen at clari.net.au (Stephen Cimarelli) Date: 11 Sep 2002 11:42:16 +1000 Subject: ACKNOWLEDGEMENT notifcation Message-ID: <1031708536.16855.75.camel@theforce.clari.net.au> Hi all No sure if this is a problem. I running Nagios Version 1.0b4 on a FreeBSD 4.3 system and have setup a contact who's host and server notification periods are non work hours. ie 00:00-09:00 and 17:00-24:00 weekdays and 24hrs weekend. and service/host notification is only critical and down. But he received a ACKNOWLEDGEMENT notifcation on a service which was at a warning level during work hrs. 11:23:41am? Do ACKNOWLEDGEMENT go out to all contacts regards less of time periods? Stephen ------------------------------------------------------- In remembrance www.osdn.com/911/ From jsellens at generalconcepts.com Wed Sep 11 04:05:25 2002 From: jsellens at generalconcepts.com (John Sellens) Date: Tue, 10 Sep 2002 22:05:25 -0400 (EDT) Subject: NSClient - and args with spaces Message-ID: <200209110205.g8B25Pq31217@gc0.generalconcepts.com> 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/ From g.vickers at qut.edu.au Wed Sep 11 07:05:26 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 11 Sep 2002 15:05:26 +1000 Subject: Default host check Message-ID: <5.1.0.14.2.20020911145223.03231210@pop.qut.edu.au> Hi all, I've been doing a strange thing - i've been reading the documentation instead of jumping in head-first into configuration... and I have a question about configuring the check_command variable for host definitions. I have a varied set of servers that I want to monitor, web, file, domain controllers, etc etc. I want to use the check_command variable (with the check_ping plugin) for host availability. Yet I have a group of servers that I only want to see if they are available or not. (i.e. only monitor with ping - but we *may* monitor services on these hosts in the future) I understand that the host check defined by check_command will only be run when Nagios sees a need, i.e. a service fails on that host. But if I'm not monitoring any services on that host, what is the best approach to configuring that host?? (My test rig runs check_ping as a service on all servers atm) Or, is there a better way of checking host availability that I'm not aware of? (i.e. without using the check_command variable) (For these servers where I only want to see if they are pingable or not) 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From kurt.ziegenbein at saarstahl.de Wed Sep 11 08:37:43 2002 From: kurt.ziegenbein at saarstahl.de (ZIEGENBEIN, Kurt) Date: Wed, 11 Sep 2002 08:37:43 +0200 Subject: AW: Any experiences with check_udp Message-ID: > it seems that Terminal server uses TCP/3389 > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& Thanks for the hint! But I'm still not able to use the check_udp plugin. As you can see below, I have even trouble to check the UDP port 53 (DNS). Please check someone the command "check_udp -p 53" for a DNS-Server. I'm not sure what's wrong with it.... Or how I have to use it... > > Hi all! > > > > I've some kind of trouble with the check_udp plugin. I want to check > > a W2k-Terminalserver (1604/UDP), but it seems that the way I use the > > plugin isn't correct. > > > > I made the following tests with the "well-known-port" 53 > (DNS), so that > > I can be sure that there is nothing special with w2k. > > > > The command (direct from shell) "check_udp -p 54" > exits directly > > with "No response from host on port 54". Thats ok, because > there is nothing > > listening. > > > > The command "check_udp -p 53" waits for the timeout > (10 sec) and then > > exits with "No data was recieved from host! No response > from host on port > > 53" > > > > Where is the problem? > > > > Since the code for check_udp didn't change in the past half > year, I don't > > expect bugs there... > > > > Kurt ------------------------------------------------------- In remembrance www.osdn.com/911/ From tdeblend at gcc.dhl.com Wed Sep 11 08:53:21 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 11 Sep 2002 08:53:21 +0200 Subject: NSClient - and args with spaces References: <200209110205.g8B25Pq31217@gc0.generalconcepts.com> Message-ID: <3D7EE861.E0B4DB7E@gcc.dhl.com> Read the Readme File... Services states Syntax: check_nt -H -p -v SERVICESTATE [-d SHOWALL] -l [,,,...] should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm -d SHOWALL can be specified if you want to see all tested services including started ones. You can specify serveral services in one request. NO BLANK SHOULD APPEAR IN THE LIST ! If not all services are running, you get the faulty one(s) and a critical state. Example: ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l LanmanServer,Schedule John Sellens wrote: > > 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From JPietzka at metabo.de Wed Sep 11 10:49:33 2002 From: JPietzka at metabo.de (Pietzka, Jakob) Date: Wed, 11 Sep 2002 10:49:33 +0200 Subject: (no subject) Message-ID: Hi all, I set up a nagios test enviroment, everything went fine. After some days.... but i regonize that i don't have the file statusmap.cgi, therefore I can't see the map in web-interface. compiling the programm finished without errors........ Anybody knows why statusmap haven't been compiled? greetings Jakob Pietzka --------------------------------------------------- Jakob Pietzka Praktikant Information Technology Systeme Phone: +49 (0) 7022 - 72 23 19 Fax: +49 (0) 7022 - 72 25 82 Email: JPietzka at metabo.de Metabowerke GmbH Metabo-Allee D-72622 N?rtingen http://www.metabo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Wed Sep 11 10:56:22 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 11 Sep 2002 10:56:22 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <20020911105622.5b0356aa.freddy.frouin@fluxus.net> Did you have installed the gd lib ? On Wed, 11 Sep 2002 10:49:33 +0200 "Pietzka, Jakob" wrote: > Hi all, > > I set up a nagios test enviroment, everything went fine. After some days.... > but i regonize that i don't have the file statusmap.cgi, therefore I can't > see the map in web-interface. > compiling the programm finished without errors........ > Anybody knows why statusmap haven't been compiled? > > greetings > > Jakob Pietzka > > --------------------------------------------------- > Jakob Pietzka > Praktikant > Information Technology Systeme > Phone: +49 (0) 7022 - 72 23 19 > Fax: +49 (0) 7022 - 72 25 82 > Email: JPietzka at metabo.de > > Metabowerke GmbH > Metabo-Allee > D-72622 N?rtingen > > http://www.metabo.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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From bamundson at bbn.com Wed Sep 11 14:54:14 2002 From: bamundson at bbn.com (Brandon Amundson) Date: Wed, 11 Sep 2002 08:54:14 -0400 Subject: Two Questions Message-ID: All; I am using nagios 1.0b3 and have two questions that I cannot find the answers to. First: I receive the following email when one of my server is reported as down.\ Notification Type: PROBLEM Host: 192.168.0.1 State: DOWN Address: 192.168.0.1 Info: check_ping: %s: Warning threshold must be integer or percentage! Date/Time: Wed Sept 11 02:19:58 EDT 200 What can I do to get this to report an actual error rather than this Warning. Second: When a service for a particular server goes down, it changes the Host status (On the Service Detail page) to be highlighted in red and marked as down. Once the service is restored the Host is still marked as down and highlighted in red. What can I do to have the server rechecked and the status of the server restored to the up state? Thanks Brandon ------------------------------------------------------- In remembrance www.osdn.com/911/ From dean.bishop at tcdsb.org Wed Sep 11 16:09:05 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 11 Sep 2002 10:09:05 -0400 Subject: nagios.cmd pipe is overwritten?? Message-ID: Good morning all, So, i am working cleaning up a script that takes windows events that are directed to my local (nagios machine) syslog and which are watched by swatch which formats and pipes into the external command pipe of nagios. Things were proceeding. Basically, the scripts were all doing what i needed and i was just working on the format of the notifications generated from the content of the events. i left yesterday at about 5p with the system continuing to send alerts at a stupifying 10/minute (problematic server) as it had over the weekend and throughout yesterday. i came in this morning to continue my formatting cleanup and i see that no notifications are coming from these external commands. It took me a few minutes to realize that my nagios.cmd is no longer a pipe but now a file with 644 permissions. The contents were all of my missing commands, the first coming at 9:54p. i am the only one with access and was tucking kids into bed at the time. What happened?? My first guess is that nagios.cmd was simply rm'd by some glitch in the system and then every command is simply appended to a new file. This all makes sense...or does it? Why are the permissions 644?? anybody have a thought?? thanks, dean ------------------------------------------------------- In remembrance www.osdn.com/911/ From Daniel.Rusch at GlobalCrossing.com Wed Sep 11 16:36:28 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 11 Sep 2002 10:36:28 -0400 Subject: NSClient - and args with spaces Message-ID: <0DA06E553C3BD511823500508BB8965A020120E2@exnadetmbx3.ams.gblxint.com> Got it working, see the tips below. Sorry, I did read the FM several times, but not being a windoze aficionado I had no idea what it meant and therefore I thought I was using the "real" name (now I know what regedit is). The windows sys admins frown on installing "free" software onto production systems..... Anyway for my fellow Unix geeks who have been blessed and never had the misfortune of working on a windows box here are some tips: 1. Look either in My Computer/Manage/Services or Control Panel/Services and find the service you want to monitor. Next view it's properties. Look at the "Path to executable" and note the name of the executable. Next, run regedit to view the contents of the registry and find: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and search for the service you want it should be the same name as the name of the executable. Remember that the registry name may not even remotely look like the display name. Use this name! Thanks, Dan -----Original Message----- From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com] Sent: Wednesday, September 11, 2002 1:53 AM To: John Sellens Cc: Rusch, Daniel; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient - and args with spaces Read the Readme File... Services states Syntax: check_nt -H -p -v SERVICESTATE [-d SHOWALL] -l [,,,...] should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm -d SHOWALL can be specified if you want to see all tested services including started ones. You can specify serveral services in one request. NO BLANK SHOULD APPEAR IN THE LIST ! If not all services are running, you get the faulty one(s) and a critical state. Example: ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l LanmanServer,Schedule John Sellens wrote: > > 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From Daniel.Rusch at GlobalCrossing.com Wed Sep 11 16:54:56 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 11 Sep 2002 10:54:56 -0400 Subject: Update NSClient Service Name Tips Message-ID: <0DA06E553C3BD511823500508BB8965A020120E5@exnadetmbx3.ams.gblxint.com> Further info. The idea of using the executable name doesn't always work (it will on 90%+ of the services), take the "World Wide Publishing Service" for example. It's executable is inetinfo, but the service name is W3svc. I just noticed that under My Computer/Manage/Services Find the service you want, select it, and then view it's properties. Notice that the first item is "Service Name" bingo that's what we want. Of course if you can use the free tool then this is all mute, but those of us who can't this should get the info you need. Sincerely, Daniel G. Rusch ------------------------------------------------------- In remembrance www.osdn.com/911/ From atonns at mail.ivillage.com Wed Sep 11 17:04:51 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Wed, 11 Sep 2002 11:04:51 -0400 Subject: performance data from plugins - does it exist? Message-ID: I've noticed that none of the plugins that I'm interested in using (http, ftp, dns, etc.) do not have any options to return performance data. I'd like to be able to collect performance data for graphing and analyzing trends, service peaks, etc., but I can't find it in the plugins. Are there configuration directives other than process_performance_data, host_perfdata_command and service_perfdata_command that I'm missing? Finally, if someone HAS created custom plugins that make use these directives (or other methods for collecting performance data) can you share them? Thanks in advance. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Wed Sep 11 17:04:52 2002 From: jasonm at kelman.com (Jason Marshall) Date: Wed, 11 Sep 2002 09:04:52 -0600 (MDT) Subject: Default host check In-Reply-To: <5.1.0.14.2.20020911145223.03231210@pop.qut.edu.au> References: <5.1.0.14.2.20020911145223.03231210@pop.qut.edu.au> Message-ID: > configuring that host?? (My test rig runs check_ping as a service on all > servers atm) That's exactly what we do here, too, even if there are other services defined for a host (ya ya, I know). --- 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From joblow7777 at yahoo.com Wed Sep 11 17:09:53 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 11 Sep 2002 08:09:53 -0700 (PDT) Subject: New question In-Reply-To: References: Message-ID: <20020911150954.80721.qmail@web13001.mail.yahoo.com> Does anyone running Solaris 8 have a working statusmap.cgi that they can send me? I would be most grateful. Thanks! Jo --- Jason Marshall wrote: > You're running Solaris 8? Did you get your package > of png stuff from > sunfreeware.com? > > Me too, and I've got the exact same problems (same > versions and > everything). > > Time to find the libpng source, and built it all > myself. > > > I just double-checked the libpng 1.2.4 and it > compiled > > just fine. I don't know where the 1.0.6 could be > > coming from. Any ideas? > > > > > [Tue Sep 3 12:11:20 2002] [error] [client > > > 1.1.2.185] > > > Premature end of script headers: > > > /usr/local/nagios/sbin/statusmap.cgi > > > libpng warning: Application was compiled with > png.h > > > from libpng-1.0.6 > > > libpng warning: Application is running with > png.c > > > from libpng-1.2.4 > > > gd-png: fatal libpng error: Incompatible libpng > > > version in application and library > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > --- > 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 > > __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute ------------------------------------------------------- In remembrance www.osdn.com/911/ From jcarro10 at sprintspectrum.com Wed Sep 11 17:08:02 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 11 Sep 2002 10:08:02 -0500 Subject: Any experiences with check_udp Message-ID: That's weird. I'm having the same problem. Check this: $ ../libexec/check_udp -H ml15 -p 53 No data was recieved from host! No response from host on port 53 And now check this: $ ../libexec/check_dns -H ml15 DNS ok - 0 seconds response time, Address(es) is/are 10.108.56.15 Wild speculation, but it looks like check_udp is aB0rken. jc > -----Original Message----- > From: ZIEGENBEIN, Kurt [mailto:kurt.ziegenbein at saarstahl.de] > Sent: Wednesday, September 11, 2002 1:38 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Any experiences with check_udp > > > > it seems that Terminal server uses TCP/3389 > > > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& > > Thanks for the hint! But I'm still not able to use the > check_udp plugin. > As you can see below, I have even trouble to check the UDP > port 53 (DNS). > > Please check someone the command "check_udp -p 53" for a > DNS-Server. > I'm not sure what's wrong with it.... Or how I have to use it... > > > > Hi all! > > > > > > I've some kind of trouble with the check_udp plugin. I > want to check > > > a W2k-Terminalserver (1604/UDP), but it seems that the > way I use the > > > plugin isn't correct. > > > > > > I made the following tests with the "well-known-port" 53 > > (DNS), so that > > > I can be sure that there is nothing special with w2k. > > > > > > The command (direct from shell) "check_udp -p 54" > > exits directly > > > with "No response from host on port 54". Thats ok, because > > there is nothing > > > listening. > > > > > > The command "check_udp -p 53" waits for the timeout > > (10 sec) and then > > > exits with "No data was recieved from host! No response > > from host on port > > > 53" > > > > > > Where is the problem? > > > > > > Since the code for check_udp didn't change in the past half > > year, I don't > > > expect bugs there... > > > > > > Kurt > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ From jasonm at kelman.com Wed Sep 11 17:16:33 2002 From: jasonm at kelman.com (Jason Marshall) Date: Wed, 11 Sep 2002 09:16:33 -0600 (MDT) Subject: Nagios and SSL In-Reply-To: <200209101058.34756.nate.lists@tbh.info> References: <200209101058.34756.nate.lists@tbh.info> Message-ID: > I currently have Nagios running quite well without SSL. I'm going to add SSL > to the virtual host in Apache - Is there anything I need to be aware of, or > should this work just as it did without the SSL (I'm thinking it should, but > I have to ask...)? I haven't done it, but watch out for old CGI's point to http:// when it should be pointing to https://. I'd recommend a recompile of everything if that turns into a problem. > > Thanks, > > Nate D. > > > On Tuesday 10 September 2002 10:36 am, Jason Marshall wrote: > > > How do I go about wrapping all Nagios pages with SSL using apache? > > > > Scott, this is _way_ outside the scope of this mailing list. > > > > Go get mod_ssl and openssl for your platform, and read the mod_ssl > > documentation -- it's quite straight forward upon reading the installation > > document there. > > > > --- > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > ------------------------------------------------------- > 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_______________________________________________ > 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From jasonm at kelman.com Wed Sep 11 17:18:51 2002 From: jasonm at kelman.com (Jason Marshall) Date: Wed, 11 Sep 2002 09:18:51 -0600 (MDT) Subject: Any experiences with check_udp In-Reply-To: <20020910174955.22f07bd2.cleguern@artful.net> References: <20020910174955.22f07bd2.cleguern@artful.net> Message-ID: Yes. Citrix MetaFrame uses ports 1604 and 1494, one of them being TCP and the other UDP, though I forget which is which... > it seems that Terminal server uses TCP/3389 > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& > > christophe > > On Tue, 10 Sep 2002 17:05:00 +0200 > "ZIEGENBEIN, Kurt" wrote: > > > Hi all! > > > > I've some kind of trouble with the check_udp plugin. I want to check > > a W2k-Terminalserver (1604/UDP), but it seems that the way I use the > > plugin isn't correct. > > > > I made the following tests with the "well-known-port" 53 (DNS), so that > > I can be sure that there is nothing special with w2k. > > > > The command (direct from shell) "check_udp -p 54" exits directly > > with "No response from host on port 54". Thats ok, because there is nothing > > listening. > > > > The command "check_udp -p 53" waits for the timeout (10 sec) and then > > exits with "No data was recieved from host! No response from host on port > > 53" > > > > Where is the problem? > > > > Since the code for check_udp didn't change in the past half year, I don't > > expect bugs there... > > > > Kurt > > > > > > ------------------------------------------------------- > > 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 > --- 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 ------------------------------------------------------- In remembrance www.osdn.com/911/ From atonns at mail.ivillage.com Wed Sep 11 17:30:42 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Wed, 11 Sep 2002 11:30:42 -0400 Subject: Any experiences with check_udp Message-ID: Isn't the "!" in the response an error? Will the data following it be considered performance data even if the return value isn't "OK"? Just curious... -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Wednesday, September 11, 2002 11:08 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any experiences with check_udp That's weird. I'm having the same problem. Check this: $ ../libexec/check_udp -H ml15 -p 53 No data was recieved from host! No response from host on port 53 And now check this: $ ../libexec/check_dns -H ml15 DNS ok - 0 seconds response time, Address(es) is/are 10.108.56.15 Wild speculation, but it looks like check_udp is aB0rken. jc > -----Original Message----- > From: ZIEGENBEIN, Kurt [mailto:kurt.ziegenbein at saarstahl.de] > Sent: Wednesday, September 11, 2002 1:38 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Any experiences with check_udp > > > > it seems that Terminal server uses TCP/3389 > > > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& > > Thanks for the hint! But I'm still not able to use the > check_udp plugin. > As you can see below, I have even trouble to check the UDP > port 53 (DNS). > > Please check someone the command "check_udp -p 53" for a > DNS-Server. > I'm not sure what's wrong with it.... Or how I have to use it... > > > > Hi all! > > > > > > I've some kind of trouble with the check_udp plugin. I > want to check > > > a W2k-Terminalserver (1604/UDP), but it seems that the > way I use the > > > plugin isn't correct. > > > > > > I made the following tests with the "well-known-port" 53 > > (DNS), so that > > > I can be sure that there is nothing special with w2k. > > > > > > The command (direct from shell) "check_udp -p 54" > > exits directly > > > with "No response from host on port 54". Thats ok, because > > there is nothing > > > listening. > > > > > > The command "check_udp -p 53" waits for the timeout > > (10 sec) and then > > > exits with "No data was recieved from host! No response > > from host on port > > > 53" > > > > > > Where is the problem? > > > > > > Since the code for check_udp didn't change in the past half > > year, I don't > > > expect bugs there... > > > > > > Kurt > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ 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 kenneth.ray at travelersla.com Wed Sep 11 17:03:50 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Wed, 11 Sep 2002 11:03:50 -0400 Subject: Default host check References: Message-ID: <3D7F5B56.3A457C33@travelersla.com> no what you are doing is probably the best way of handling it. just an FYI we use a host check command that uses check_tcp for port 23 as our host check command and have a "host alive" service for each host in each host group that just does a simple ping to the machine. But we are monitoring a pure POSIX environment Message: 4 Date: Wed, 11 Sep 2002 15:05:26 +1000 From: Greg Vickers To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Default host check Hi all, I've been doing a strange thing - i've been reading the documentation instead of jumping in head-first into configuration... and I have a question about configuring the check_command variable for host definitions. I have a varied set of servers that I want to monitor, web, file, domain controllers, etc etc. I want to use the check_command variable (with the check_ping plugin) for host availability. Yet I have a group of servers that I only want to see if they are available or not. (i.e. only monitor with ping - but we *may* monitor services on these hosts in the future) I understand that the host check defined by check_command will only be run when Nagios sees a need, i.e. a service fails on that host. But if I'm not monitoring any services on that host, what is the best approach to configuring that host?? (My test rig runs check_ping as a service on all servers atm) Or, is there a better way of checking host availability that I'm not aware of? (i.e. without using the check_command variable) (For these servers where I only want to see if they are pingable or not) TIA ------------------------------------------------------- In remembrance www.osdn.com/911/ From tguthmann at cvf.fr Wed Sep 11 18:33:37 2002 From: tguthmann at cvf.fr (Thomas) Date: Wed, 11 Sep 2002 18:33:37 +0200 Subject: performance data from plugins - does it exist? References: Message-ID: <3D7F7061.7000004@cvf.fr> H?h?, I need exactly the same things ;) We can reformulate the question to: << What's the solution to graph performance data (cpu, http, ftp, mysql cnx, etc) >> For example, it's very interesting to see the cpu load rising in a time period (like a month, etc) thanks Thomas atonns at mail.ivillage.com wrote: > I've noticed that none of the plugins that I'm interested in using > (http, ftp, dns, etc.) do not have any options to return performance > data. I'd like to be able to collect performance data for graphing and > analyzing trends, service peaks, etc., but I can't find it in the plugins. > > Are there configuration directives other than > process_performance_data, host_perfdata_command and > service_perfdata_command that I'm missing? > > Finally, if someone HAS created custom plugins that make use these > directives (or other methods for collecting performance data) can you > share them? > > Thanks in advance. > > -- > "Computer science is as much about computers as > astronomy is about telescopes" -- Edsger Dijkstra > --------------------------------------------------------- > Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > ------------------------------------------------------- In remembrance www.osdn.com/911/ From thieke at tagesspiegel.de Wed Sep 11 19:04:53 2002 From: thieke at tagesspiegel.de (Oliver Thieke) Date: Wed, 11 Sep 2002 19:04:53 +0200 Subject: Monitors on Solaris (Nagios, MON) - which one 2 choose Message-ID: <5.1.0.14.0.20020911190253.00a93110@pop.tagesspiegel.de> Hi out there at the screens ! I want to set up a monitoring of a bunch of Solaris server using one of the OpenSource Monitoring Tools available (MON, BigSister, Nagios). I browsed already some articles and the online docu of the 3 packages. Nonetheless I cannot decide yet which one to choose. MON and Nagios (formely known as NetSaint) seem to be most promising. It would be nice to hear about your experiences with those two tools. Which one would you choose ? Why ? Any traps to be aware of ? MON seems to be easier to install and configure. Furthermore it's all written in PERL, a language I'm quite familiar with. On the other hand the Web-GUI of Nagios looks nicer and provides more and better arranged info. But Nagios seems to be much harder to install (must compile) and to configure. Finally I MUST write some custom monitors (checks) and this seems to be easier (and better documented) in MON. In Nagios I followed the link in the online docu and ended in Nirwana (some sourceforge page, no docu on it :-( ). Thanx for your help in advance Oliver ------------------------------------------------------- In remembrance www.osdn.com/911/ From joblow7777 at yahoo.com Wed Sep 11 18:59:11 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 11 Sep 2002 09:59:11 -0700 (PDT) Subject: performance data from plugins - does it exist? In-Reply-To: <3D7F7061.7000004@cvf.fr> References: <3D7F7061.7000004@cvf.fr> Message-ID: <20020911165911.37997.qmail@web13001.mail.yahoo.com> I would like to see those as well. What are people using? --- Thomas wrote: > H?h?, > > I need exactly the same things ;) > We can reformulate the question to: > > << What's the solution to graph performance data > (cpu, http, ftp, mysql > cnx, etc) >> > > For example, it's very interesting to see the cpu > load rising in a time > period (like a month, etc) > > thanks > Thomas > > > atonns at mail.ivillage.com wrote: > > > I've noticed that none of the plugins that I'm > interested in using > > (http, ftp, dns, etc.) do not have any options to > return performance > > data. I'd like to be able to collect performance > data for graphing and > > analyzing trends, service peaks, etc., but I can't > find it in the plugins. > > > > Are there configuration directives other than > > process_performance_data, host_perfdata_command > and > > service_perfdata_command that I'm missing? > > > > Finally, if someone HAS created custom plugins > that make use these > > directives (or other methods for collecting > performance data) can you > > share them? > > > > Thanks in advance. > > > > -- > > "Computer science is as much about computers as > > astronomy is about telescopes" -- Edsger > Dijkstra > > > --------------------------------------------------------- > > Anthony Tonns, UNIX Administrator - > atonns at mail.ivillage.com > > > > > > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute ------------------------------------------------------- In remembrance www.osdn.com/911/ From jcarro10 at sprintspectrum.com Wed Sep 11 20:50:17 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 11 Sep 2002 13:50:17 -0500 Subject: Monitors on Solaris (Nagios, MON) - which one 2 choose Message-ID: The configuration of Nagios does seem a bit overwhemling at first glance. But once you understand the goals and interrelationships, it starts to make perfect sense. And as soon as you understand how to create a host/service/whatever template, populating defitions for new hosts/services/whatever becomes quite straightforward. In fact, you *can* write custom monitors (what is termed "plugin" in Nagios) in Perl. Or in C. Or in sh/csh/ksh/bash. Or in Python, if that's your cuppa tea. Or or or. I'm not sure what difficulty you're having while compiling Nagios. (Granted, I'm running Nagios itself on Linux, but I had virtually no problems compiling the plugins or NRPE under Solaris8.) As far as documentation, check this link: http://www.nagios.org/docs/ Be aware that this is only current as of version 1.0. Upon installing Nagios (and properly configuring your Apache server (assuming you're using Apache)), you shouldn't have any difficulty accessing the included docs with your web browser (from your Nagios server). Current version is 1.0b5. Honestly, I've never looked at MON, so take what I say with a grain of salt. If you can find the MON mailing list, try getting some feedback from that list. Hope this helps. jc > -----Original Message----- > From: Oliver Thieke [mailto:thieke at tagesspiegel.de] > Sent: Wednesday, September 11, 2002 12:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitors on Solaris (Nagios, MON) - > which one 2 > choose > > > Hi out there at the screens ! > > I want to set up a monitoring of a bunch of Solaris server > using one of the OpenSource Monitoring Tools available (MON, > BigSister, Nagios). I browsed already some articles and the > online docu of the 3 packages. Nonetheless I cannot decide > yet which one to choose. MON and Nagios (formely known as > NetSaint) seem to be most promising. > It would be nice to hear about your experiences with those > two tools. > Which one would you choose ? > Why ? > Any traps to be aware of ? > > MON seems to be easier to install and configure. Furthermore > it's all written in PERL, a language I'm quite familiar with. > On the other hand the Web-GUI of Nagios looks nicer and > provides more and better arranged info. > But Nagios seems to be much harder to install (must compile) > and to configure. > > Finally I MUST write some custom monitors (checks) and this > seems to be easier (and better documented) in MON. > > In Nagios I followed the link in the online docu and ended > in Nirwana (some sourceforge page, no docu on it :-( ). > > Thanx for your help in advance > > Oliver > > > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ From felipe.martins at primesys.com.br Wed Sep 11 20:53:47 2002 From: felipe.martins at primesys.com.br (Felipe Martins) Date: Wed, 11 Sep 2002 15:53:47 -0300 Subject: Nagios - Notification by SMS Message-ID: <4B9C5742BB8F8D4895316485C08165A2B59E05@brsaoex01.primesys.br> Hi, Someone knows how I can send notifications by SMS on Nagios?? Thanks! ------------------------------------------------------- In remembrance www.osdn.com/911/ From shawnz at npgenvelope.com Wed Sep 11 21:14:41 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Wed, 11 Sep 2002 14:14:41 -0500 Subject: Nagios - Notification by SMS Message-ID: There's a link in the documentation to a linux SMS utility that actually dial's out via modem to your telco to send the message. However where I'm located I'll have to do is send a e-mail to my wireless provider for it to appear as a SMS message on my phone. Works well as long as the Nagios server has access to the internet :-). > >Hi, > >Someone knows how I can send notifications by SMS on Nagios?? > >Thanks! > > > > > >------------------------------------------------------- >In remembrance >www.osdn.com/911/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ From sripley at chiaro.com Wed Sep 11 21:19:39 2002 From: sripley at chiaro.com (Scott Ripley) Date: Wed, 11 Sep 2002 14:19:39 -0500 Subject: Any experiences with check_udp Message-ID: <668C5EBD23862F459CF63DAFFCA6268C023927@rchst006.chiaro.com> I don't think check_udp is broken, but more that bind is expecting something as query input. Try something like this (hostnames changed to protect the innocent): swt1# ./check_udp -p 53 -s "A? validhost.mydomain.com." Connection accepted on port 53 - 0 second response time swt1# Scott. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Wednesday, September 11, 2002 10:08 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any experiences with check_udp That's weird. I'm having the same problem. Check this: $ ../libexec/check_udp -H ml15 -p 53 No data was recieved from host! No response from host on port 53 And now check this: $ ../libexec/check_dns -H ml15 DNS ok - 0 seconds response time, Address(es) is/are 10.108.56.15 Wild speculation, but it looks like check_udp is aB0rken. jc > -----Original Message----- > From: ZIEGENBEIN, Kurt [mailto:kurt.ziegenbein at saarstahl.de] > Sent: Wednesday, September 11, 2002 1:38 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Any experiences with check_udp > > > > it seems that Terminal server uses TCP/3389 > > > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& > > Thanks for the hint! But I'm still not able to use the > check_udp plugin. > As you can see below, I have even trouble to check the UDP > port 53 (DNS). > > Please check someone the command "check_udp -p 53" for a > DNS-Server. > I'm not sure what's wrong with it.... Or how I have to use it... > > > > Hi all! > > > > > > I've some kind of trouble with the check_udp plugin. I > want to check > > > a W2k-Terminalserver (1604/UDP), but it seems that the > way I use the > > > plugin isn't correct. > > > > > > I made the following tests with the "well-known-port" 53 > > (DNS), so that > > > I can be sure that there is nothing special with w2k. > > > > > > The command (direct from shell) "check_udp -p 54" > > exits directly > > > with "No response from host on port 54". Thats ok, because > > there is nothing > > > listening. > > > > > > The command "check_udp -p 53" waits for the timeout > > (10 sec) and then > > > exits with "No data was recieved from host! No response > > from host on port > > > 53" > > > > > > Where is the problem? > > > > > > Since the code for check_udp didn't change in the past half > > year, I don't > > > expect bugs there... > > > > > > Kurt > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- ----------------------------------------- (on rchss001) This e-mail and any files transmitted with it are the property of Chiaro Networks, Ltd., and may contain confidential and privileged material for the sole use of the intended recipient(s) to whom this e-mail is addressed. If you are not one of the named recipient(s), or otherwise have reason to believe that you have received this message in error, please notify the sender and delete all copies from your system. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. --------------------------------------------------------- From jjf at mind.net Wed Sep 11 21:30:30 2002 From: jjf at mind.net (John Fox) Date: Wed, 11 Sep 2002 12:30:30 -0700 Subject: Confusion re: logging of notifications Message-ID: <20020911123030.K8237@mind.net> Hi, Folks, Another conundrum... I am working on setting up logging of notifications. To that end I contrived a 'critical' state on one of my monitored services and let the systems sit that way for awhile...until several notifications had arrived in my mailbox. I then clicked the "Notification" link in the "Reporting" section of the nagios navigation bar and got the message "No notifications have been recorded in the current logfile." I *do* have "log_notifications=1" in my nagios.cfg. Is there something else I need to set, as well? This is nagios 1.0b4, installed via the ports mechanism on a FreeBSD 4.6-STABLE machine. Any thoughts greatly welcomed! Thank you 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 | +---------------------------------------------------------------------------+ ------------------------------------------------------- In remembrance www.osdn.com/911/ From prisoner at addventure.com Wed Sep 11 21:40:59 2002 From: prisoner at addventure.com (Allen S. Firstenberg) Date: Wed, 11 Sep 2002 15:40:59 -0400 Subject: Monitors on Solaris (Nagios, MON) - which one 2 choose In-Reply-To: <5.1.0.14.0.20020911190253.00a93110@pop.tagesspiegel.de>; from Oliver Thieke on Wed, Sep 11, 2002 at 07:04:53PM +0200 References: <5.1.0.14.0.20020911190253.00a93110@pop.tagesspiegel.de> Message-ID: <20020911154059.24259@addventure.com> On Wed, Sep 11, 2002 at 07:04:53PM +0200, Oliver Thieke wrote: > MON seems to be easier to install and configure. Odly enough, I thought just the opposite when I was doing my evaluation. MON seemed easier, but the instructions were incomplete and left many unanswered questions. (I don't remember all of them, just reading off my notes from the time.) > Furthermore > it's all written in PERL, a language I'm quite familiar with. That was my first thought - but then I found that parts of it required compilation. One of the unanswered questions from the documentation was "why". > But Nagios seems to be much harder to install (must compile) > and to configure. The configuration for Nagios seems more complex, but I found the manual very clear on this point, while the MON manual was not very clear at all. > Finally I MUST write some custom monitors (checks) and this > seems to be easier (and better documented) in MON. I haevn't tried this yet in Nagios, but plan to. Plug-ins/monitors are separately executable programs - so you can feel free to write this in perl or whatever you wish. Nagios uses the return code and output to stdout in its status checking. ------------------------------------------------------- In remembrance www.osdn.com/911/ From dean.bishop at tcdsb.org Wed Sep 11 21:56:49 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 11 Sep 2002 15:56:49 -0400 Subject: HOWTO: handle windows events. Message-ID: k, so here it is. cleaned up and everythang. Basic BackLog config and Swatch configs are comments in the perl script below. now...to get it paging people all this crap... enjoy, dean ################################### # # # here is the service definition: # # # ################################### define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 is_volatile 0 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 check_period 24x7 max_check_attempts 3 retry_check_interval 5 notification_interval 45 notification_period 24x7 notification_options w,u,c,r register 0 } # Service definition for a Windows Event define service{ name WindowsEvent use generic-service service_description Windows Event ;<--this is important. Don't change the name here. check_period none contact_groups ServerAdmins check_command check-host-alive is_volatile 1 max_check_attempts 1 normal_check_interval 10 retry_check_interval 10 notification_interval 15 host_name fs03.tcdsb.org ;<--this is important. it must match the name recorded by syslog. ; check /var/log/winevents.log. } ################################### # # # here is the perl script that i # # use to make it happen. # # # ################################### #!/usr/bin/perl # The purpose of this script is to receive the windows events from swatch, # format them, and dump them into the nagios external command file. # # Written, through much blood sweat and coffee by Dean Bishop # ( dbishop at ehvert.com). # Mileage may vary. You can ask me for help, but this is about the 5th # perl script i have written. # # # Swatch is watching a syslog file that is dumped to by the windows 2000 # servers using Intersect Allaince's Backlog. # (http://www.intersectalliance.com/products/BackLogNT). # # When configuring Backlog i set the Category to "local0" and "notice". # Also it is necessary to set the delimiter to "comma". # # Then add the following line to /etc/syslog.conf: #local0.* /var/log/winevents.log # # My swatch config looks like this right now but will be cleaned up and # ammended as necessary. #watchfor /1000/ and /User Error/ # ignore #watchfor /fs03.tcdsb.org/ and /529,Security/ # exec echo $0 | /usr/local/bin/parser # # Don't need this # echo = random # ignore #watchfor /fs03.tcdsb.org/ and /9,System|11,System|15,System|51,System/ # exec echo $0 | /usr/local/bin/parser #watchfor /Warning|Error|Failure/ # # Don't need the next two lines either. Just for testing purposes. # bell 3 # echo = random # exec echo $0 | /usr/local/bin/parser # Written, through much blood sweat and coffee by Dean Bishop # ( dbishop at ehvert.com). # Mileage may vary. You can ask me for help, but this is about the 5th # perl script i have written. # Get the windows event from swatch. $event = ; # Substitute all commas for spaces. $event =~ s/,/ /g; # Substitute all double-spaces for single-spaces. $event =~ s/ / /g; # Substitute the irritating "^I" character from backlog (which seems to be like # a tab or other sort of whitespace thang) for nothing. In other words, # remove it. $event =~ s/\^I//g; # Split the scalar bits into an array using space as the delimiter. # Most messages seem to be <= 40 words long so that's all we will deal with. @line = split (/ /, $event ); # Clean, rearrange, and add to the message to make it clear in the # notifications. $problem= "Date:$line[7] $line[8] $line[9] $line[11] Time:$line[10] Source:$line[5] Category:$line[17] Type:$line[16] EventID:$line[12] EventNumber:$line[6] User:$line[14] Computer:$line[18] Description:"; # The first 18 words are before the description of the event. The rest is # from the description block. # Here we are jumping to the 19th word and lumping words 19-40 into one scalar. $i=19; while ( $i < "35" ) { $problem = $problem . "$line[$i] "; ++$i; }; # Get the time in seconds from UNIX epoch and clear off the trailing . chomp ($date = `date +%s`); # Form the command to be dumped into the Nagios external command file. $command = "[$date] PROCESS_SERVICE_CHECK_RESULT;$line[3];Windows Event;2;$problem\n"; # Define the Nagios external command file. $file = "/usr/local/nagios/var/rw/nagios.cmd"; # Open the Nagios external command file for appending. open (FILE, ">>$file"); # Write the full command to the Nagios external command file. print FILE $command; # Close the external command file. close (FILE); # Enjoy. Currently from just 1 of about 150 windows 2000 servers i am # getting about 10 messages per minute. Had to un-tweak sendmail so that # it wouldn't throttle the outbound messages and number of MTA children. ------------------------------------------------------- In remembrance www.osdn.com/911/ From Jason.Ahrens at telus.com Wed Sep 11 22:19:24 2002 From: Jason.Ahrens at telus.com (Jason Ahrens) Date: Wed, 11 Sep 2002 14:19:24 -0600 Subject: Reproducible nagios crash Message-ID: <853ED27B8537D611AD1000508BAFBB11820207@ONMSG001> I'm having a problem with Nagios processing external commands when there's a lot of them. I currently have a very large backlog of external commands (from a distributed monitoring environment). Currently, Nagios is incapable of processing the amount of command traffic this generates. When we attempt to dump the command log (56M) into the command pipe, Nagios starts chewing CPU and memory. Eventually when CPU reaches near 50% (usually hovers around 1-2% max) usage and memory has reached almost 20MB (usually about 2MB or so) Nagios dies. The log message is always the same: [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1031774837] Caught SIGSEGV, shutting down... It seems to be a problem with processing the large number of check results back logged. Has anyone seen this before? This is on Solaris 8, E420, compiled with gcc 2.95 19990728. Thanks Jason -- Jason Ahrens, System Analyst TELUS Enterprise Solutions http://www.telus.com ------------------------------------------------------- In remembrance www.osdn.com/911/ From Nicole.Haehnel at epost.de Wed Sep 11 23:02:24 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Wed, 11 Sep 2002 23:02:24 +0200 Subject: Problems with check_smtp Message-ID: <001401c259d6$877e7400$0a00a8c0@nh> Hi! I'm having problems with the check_smtp command. I only get 'CRITICAL' status when checking smtp on a server, but status information is 'SMTP OK - 0 second response time '. My checkcommands.cfg: # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } and service.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name notes-web service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups notes-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!60!100 } Is there something wrong? I have checked smtp without nagios. ./check_smtp -H 217.110.232.10 -w 60 -c 100 -v SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200 Socket timeout after 10 seconds Why timeout? Thanks for help! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kaufmanm at gtc.edu Wed Sep 11 23:14:24 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Wed, 11 Sep 2002 16:14:24 -0500 Subject: performance data from plugins - does it exist? Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D58E@gtc.edu> Almost all the data u can pull from the plugins can be put into a format that MRTG can graph. U would have to run different plugins but they work great. See http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ I currently graph my cpu and connections. Works great. -----Original Message----- From: jo smith [mailto:joblow7777 at yahoo.com] Sent: Wednesday, September 11, 2002 11:59 AM To: Thomas; atonns at mail.ivillage.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] performance data from plugins - does it exist? I would like to see those as well. What are people using? --- Thomas wrote: > H?h?, > > I need exactly the same things ;) > We can reformulate the question to: > > << What's the solution to graph performance data > (cpu, http, ftp, mysql > cnx, etc) >> > > For example, it's very interesting to see the cpu > load rising in a time > period (like a month, etc) > > thanks > Thomas > > > atonns at mail.ivillage.com wrote: > > > I've noticed that none of the plugins that I'm > interested in using > > (http, ftp, dns, etc.) do not have any options to > return performance > > data. I'd like to be able to collect performance > data for graphing and > > analyzing trends, service peaks, etc., but I can't > find it in the plugins. > > > > Are there configuration directives other than > > process_performance_data, host_perfdata_command > and > > service_perfdata_command that I'm missing? > > > > Finally, if someone HAS created custom plugins > that make use these > > directives (or other methods for collecting > performance data) can you > > share them? > > > > Thanks in advance. > > > > -- > > "Computer science is as much about computers as > > astronomy is about telescopes" -- Edsger > Dijkstra > > > --------------------------------------------------------- > > Anthony Tonns, UNIX Administrator - > atonns at mail.ivillage.com > > > > > > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- In remembrance www.osdn.com/911/ From jcarro10 at sprintspectrum.com Wed Sep 11 23:51:59 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 11 Sep 2002 16:51:59 -0500 Subject: Confusion re: logging of notifications Message-ID: Do you have log_file properly defined in nagios.cfg? Does nagios have write permission to the specified file? > -----Original Message----- > From: John Fox [mailto:jjf at mind.net] > Sent: Wednesday, September 11, 2002 2:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Confusion re: logging of notifications > > > Hi, Folks, > > Another conundrum... > > I am working on setting up logging of notifications. > > To that end I contrived a 'critical' state on one of my monitored > services and let the systems sit that way for awhile...until several > notifications had arrived in my mailbox. > > I then clicked the "Notification" link in the "Reporting" section of > the nagios navigation bar and got the message "No notifications have > been recorded in the current logfile." > > I *do* have "log_notifications=1" in my nagios.cfg. Is there > something > else I need to set, as well? > > This is nagios 1.0b4, installed via the ports mechanism on a FreeBSD > 4.6-STABLE machine. > > Any thoughts greatly welcomed! > > Thank you 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 | > +------------------------------------------------------------- > --------------+ > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- In remembrance www.osdn.com/911/ From joblow7777 at yahoo.com Wed Sep 11 23:53:14 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 11 Sep 2002 14:53:14 -0700 (PDT) Subject: performance data from plugins - does it exist? In-Reply-To: <15694EEC92EA694B88AF7CF6EE8ACBE666D58E@gtc.edu> References: <15694EEC92EA694B88AF7CF6EE8ACBE666D58E@gtc.edu> Message-ID: <20020911215314.88312.qmail@web13003.mail.yahoo.com> Hi Michael. This sounds pretty cool. I looked at the web site, but don't really know where to begin to get MRTG to pull in the nagios data output. Can you please provide us with a few clues as to how you did it? Thanx! --- "Kaufman, Michael" wrote: > Almost all the data u can pull from the plugins can > be put into a format > that MRTG can graph. U would have to run different > plugins but they work > great. > > See http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ > > I currently graph my cpu and connections. Works > great. > > -----Original Message----- > From: jo smith [mailto:joblow7777 at yahoo.com] > Sent: Wednesday, September 11, 2002 11:59 AM > To: Thomas; atonns at mail.ivillage.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] performance data from > plugins - does it exist? > > I would like to see those as well. What are people > using? > --- Thomas wrote: > > H?h?, > > > > I need exactly the same things ;) > > We can reformulate the question to: > > > > << What's the solution to graph performance data > > (cpu, http, ftp, mysql > > cnx, etc) >> > > > > For example, it's very interesting to see the cpu > > load rising in a time > > period (like a month, etc) > > > > thanks > > Thomas > > > > > > atonns at mail.ivillage.com wrote: > > > > > I've noticed that none of the plugins that I'm > > interested in using > > > (http, ftp, dns, etc.) do not have any options > to > > return performance > > > data. I'd like to be able to collect performance > > data for graphing and > > > analyzing trends, service peaks, etc., but I > can't > > find it in the plugins. > > > > > > Are there configuration directives other than > > > process_performance_data, host_perfdata_command > > and > > > service_perfdata_command that I'm missing? > > > > > > Finally, if someone HAS created custom plugins > > that make use these > > > directives (or other methods for collecting > > performance data) can you > > > share them? > > > > > > Thanks in advance. > > > > > > -- > > > "Computer science is as much about computers as > > > astronomy is about telescopes" -- Edsger > > Dijkstra > > > > > > --------------------------------------------------------- > > > Anthony Tonns, UNIX Administrator - > > atonns at mail.ivillage.com > > > > > > > > > > > > > > > > ------------------------------------------------------- > > In remembrance > > www.osdn.com/911/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute ------------------------------------------------------- In remembrance www.osdn.com/911/ From DManuel at continuumit.com.au Thu Sep 12 00:16:03 2002 From: DManuel at continuumit.com.au (Damien Manuel) Date: Thu, 12 Sep 2002 08:16:03 +1000 Subject: Problems with check_smtp Message-ID: <784A12BC71EF2C42B996EFB2BC4031201F8D54@contit-mlb-mx2.continuumit.com.au> Greetings Nicole, I get the same thing. It only started to occur when I upgraded to Red Hat 7.3 with plug-in version nagiosplug-1.3-beta1. However after some more investigation I have determined that the issue is not with Nagios, but possibly the way the plug-in (the version I am using) deals with Microsoft Exchange 2000 SP3 servers. It works ok tested against the following: Postfix (latest versions), Sendmail (latest versions), Exchange 5.5 SP3 and SP4 and Exchange 2000 (with no SP) But fails with the error you described when checking Exchange 2000 SP3. Regards, Damien Manuel -----Original Message----- From: Nicole Haehnel [mailto:Nicole.Haehnel at epost.de] Sent: Thursday, 12 September 2002 7:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with check_smtp Hi! ? I'm having problems with the check_smtp command. I only get 'CRITICAL' status when checking smtp on a server, but status information is 'SMTP OK - 0 second response time?'. ? My checkcommands.cfg: ? # 'check_smtp' command definition define command{ ??????? command_name??? check_smtp ??????? command_line??? $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ ??????? } ? and service.cfg: ? ? # Service definition define service{ ??????? use???????????????????????????? generic-service???????? ; Name of service template to use ? ??????? host_name?????????????????????? notes-web ??????? service_description????????????SMTP ??????? is_volatile???????????????????????? 0 ??????? check_period??????????????????? 24x7 ??????? max_check_attempts????????3 ??????? normal_check_interval???????3 ??????? retry_check_interval??????????1 ??????? contact_groups????????????????notes-admins ??????? notification_interval???????????120 ??????? notification_period??? ??? ???? 24x7 ??????? notification_options???????????w,u,c,r ??????? check_command??????????????check_smtp!60!100 ??????? } ? ? Is there something wrong? ? I have checked smtp without nagios. ? ./check_smtp -H 217.110.232.10 -w 60 -c 100 -v SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200 Socket timeout after 10 seconds ? Why timeout? ? ? Thanks for help! ? Nicole ------------------------------------------------------- In remembrance www.osdn.com/911/ From mpowell at ena.com Thu Sep 12 00:52:55 2002 From: mpowell at ena.com (Marc Powell) Date: Wed, 11 Sep 2002 17:52:55 -0500 Subject: Problems with check_smtp Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71121@mismail.ena.com> http://www.geocrawler.com/archives/3/13608/2002/6/0/8924911/ -- Marc > -----Original Message----- > From: Damien Manuel [mailto:DManuel at continuumit.com.au] > Sent: Wednesday, September 11, 2002 5:16 PM > To: Nicole Haehnel > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problems with check_smtp > > Greetings Nicole, > > I get the same thing. It only started to occur when I upgraded to Red Hat > 7.3 with plug-in version nagiosplug-1.3-beta1. > > However after some more investigation I have determined that the issue is > not with Nagios, but possibly the way the plug-in (the version I am using) > deals with Microsoft Exchange 2000 SP3 servers. > > It works ok tested against the following: > > Postfix (latest versions), Sendmail (latest versions), Exchange 5.5 SP3 > and SP4 and Exchange 2000 (with no SP) > > But fails with the error you described when checking Exchange 2000 SP3. > > Regards, > > Damien Manuel > > -----Original Message----- > From: Nicole Haehnel [mailto:Nicole.Haehnel at epost.de] > Sent: Thursday, 12 September 2002 7:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_smtp > > Hi! > > I'm having problems with the check_smtp command. > I only get 'CRITICAL' status when checking smtp on a server, but status > information is 'SMTP OK - 0 second response time?'. > > My checkcommands.cfg: > > # 'check_smtp' command definition > define command{ > ??????? command_name??? check_smtp > ??????? command_line??? $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ > ??????? } > > and service.cfg: > > > # Service definition > define service{ > ??????? use???????????????????????????? generic-service???????? ; Name of > service template to use > > ??????? host_name?????????????????????? notes-web > ??????? service_description????????????SMTP > ??????? is_volatile???????????????????????? 0 > ??????? check_period??????????????????? 24x7 > ??????? max_check_attempts????????3 > ??????? normal_check_interval???????3 > ??????? retry_check_interval??????????1 > ??????? contact_groups????????????????notes-admins > ??????? notification_interval???????????120 > ??????? notification_period??? ??? ???? 24x7 > ??????? notification_options???????????w,u,c,r > ??????? check_command??????????????check_smtp!60!100 > ??????? } > > > Is there something wrong? > > I have checked smtp without nagios. > > ./check_smtp -H 217.110.232.10 -w 60 -c 100 -v > SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release > 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200 > Socket timeout after 10 seconds > > Why timeout? > > > Thanks for help! > > Nicole > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- In remembrance www.osdn.com/911/ From sghosh at sghosh.org Thu Sep 12 00:57:54 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 11 Sep 2002 18:57:54 -0400 (EDT) Subject: Problems with check_smtp In-Reply-To: <784A12BC71EF2C42B996EFB2BC4031201F8D54@contit-mlb-mx2.continuumit.com.au> References: <784A12BC71EF2C42B996EFB2BC4031201F8D54@contit-mlb-mx2.continuumit.com.au> Message-ID: Try the latest CVS version with the -f option -sg On Thu, 12 Sep 2002, Damien Manuel wrote: > Greetings Nicole, > > I get the same thing. It only started to occur when I upgraded to Red Hat 7.3 with plug-in version nagiosplug-1.3-beta1. > > However after some more investigation I have determined that the issue is not with Nagios, but possibly the way the plug-in (the version I am using) deals with Microsoft Exchange 2000 SP3 servers. > > It works ok tested against the following: > > Postfix (latest versions), Sendmail (latest versions), Exchange 5.5 SP3 and SP4 and Exchange 2000 (with no SP) > > But fails with the error you described when checking Exchange 2000 SP3. > > Regards, > > Damien Manuel > > -----Original Message----- > From: Nicole Haehnel [mailto:Nicole.Haehnel at epost.de] > Sent: Thursday, 12 September 2002 7:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_smtp > > Hi! > ? > I'm having problems with the check_smtp command. > I only get 'CRITICAL' status when checking smtp on a server, but status information is 'SMTP OK - 0 second response time?'. > ? > My checkcommands.cfg: > ? > # 'check_smtp' command definition > define command{ > ??????? command_name??? check_smtp > ??????? command_line??? $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ > ??????? } > ? > and service.cfg: > ? > ? > # Service definition > define service{ > ??????? use???????????????????????????? generic-service???????? ; Name of service template to use > ? > ??????? host_name?????????????????????? notes-web > ??????? service_description????????????SMTP > ??????? is_volatile???????????????????????? 0 > ??????? check_period??????????????????? 24x7 > ??????? max_check_attempts????????3 > ??????? normal_check_interval???????3 > ??????? retry_check_interval??????????1 > ??????? contact_groups????????????????notes-admins > ??????? notification_interval???????????120 > ??????? notification_period??? ??? ???? 24x7 > ??????? notification_options???????????w,u,c,r > ??????? check_command??????????????check_smtp!60!100 > ??????? } > ? > ? > Is there something wrong? > ? > I have checked smtp without nagios. > ? > ./check_smtp -H 217.110.232.10 -w 60 -c 100 -v > SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200 > Socket timeout after 10 seconds > ? > Why timeout? > ? > ? > Thanks for help! > ? > Nicole > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ------------------------------------------------------- In remembrance www.osdn.com/911/ From DManuel at continuumit.com.au Thu Sep 12 01:50:36 2002 From: DManuel at continuumit.com.au (Damien Manuel) Date: Thu, 12 Sep 2002 09:50:36 +1000 Subject: Update NSClient Service Name Tips Message-ID: <784A12BC71EF2C42B996EFB2BC4031201F8D55@contit-mlb-mx2.continuumit.com.au> Greetings, Greetings, In dealing with monitoring PCs with Nagios here are some useful tools to use to find out what counters there are on a Micro$oft system and to find out what the name of services are. To find out the counters so you can monitor mail queues etc download Ctrlist from Microsoft. It's a free (scary...its free from M$)tool that you run on the command line to generate a list of counters the system has and what they are with full descriptions. Example: ctrlist -c \\127.0.0.1 > list.txt This will then generate a file called list.txt with all the counters. Some sample output is as follows (please note that this is only some Exchange counters): "O","21514","MSExchangeIMC","Novice","0","0","21515","The Microsoft Exchange Internet Mail Service" "C","21514","MSExchangeIMC","21516","Queued MTS-IN","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21517","T he number of messages awaiting final delivery in MS Exchange Server" "C","21514","MSExchangeIMC","21518","Bytes Queued MTS-IN","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21519","T he size, in bytes, of the messages that have been converted from Internet Mail and are awaiting final delivery within MS Exchange Server" "C","21514","MSExchangeIMC","21520","Messages Entering MTS-IN","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21521","T he number of messages entering the MTS-IN folder after conversion from Internet Mail format per hour" "C","21514","MSExchangeIMC","21522","Queued MTS-OUT","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21523"," The number of messages waiting to be converted to Internet Mail format" "C","21514","MSExchangeIMC","21524","Bytes Queued MTS-OUT","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21525"," The size, in bytes, of the messages waiting to be converted to Internet Mail format" "C","21514","MSExchangeIMC","21526","Messages Entering MTS-OUT","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21527"," Messages that have entered the Internet Mail Service" "C","21514","MSExchangeIMC","21528","Messages Leaving MTS-OUT","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21529"," The number of messages entering the Outbound Queue per hour" "C","21514","MSExchangeIMC","21530","Connections Inbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21531"," The number of current SMTP connections to the Internet Mail Service established by other SMTP hosts" "C","21514","MSExchangeIMC","21532","Connections Outbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21533", "The number of current SMTP connections the Internet Mail Service has established to other SMTP hosts" "C","21514","MSExchangeIMC","21534","Connections Total Outbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21535", "The total number of successful SMTP connections that the Internet Mail Service has established since it was started" "C","21514","MSExchangeIMC","21536","Connections Total Inbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21537"," The total number of SMTP connections the Internet Mail Service has accepted from other hosts since it was started" "C","21514","MSExchangeIMC","21538","Connections Total Rejected","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21539", "The total number of SMTP connections that the Internet Mail Service has rejected from other hosts since it was started" "C","21514","MSExchangeIMC","21540","Connections Total Failed","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21541","T he total number of SMTP connections the Internet Mail Service has attempted to other hosts that failed since it was started" "C","21514","MSExchangeIMC","21542","Queued Outbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21543", "The number of messages from MS Exchange Server, that are queued to be delivered to the Internet" "C","21514","MSExchangeIMC","21544","Queued Inbound","Novice","0x00010000","PERF_COUNTER_RAWCOUNT","4","1","21545"," The number of messages received from the Internet destined for MS Exchange Server" Hence if you want to monitor the number of messages in the mail queue, your check would look like: /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\MSExchangeIMC\Queued Outbound","%.f Messages in Queue" -p 1248 -w $ARG1$ -c $ARG2$ To download Ctrlist go to: http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/ctrl ist-o.asp To get a list of services and their names download Typhon from http://www.nextgenss.com/typhon/eval.html Version 1 is free, but version II is not. However version 1 is sufficient. Run Typhon and perform a NT check. This will generate a list of services and some other stuff. The report will be in HTML and some sample output looks like the following: Service name :AvSynMgr Display Name :AVSync Manager Binary Path :"C:\Program Files\Network Associates\VirusScan\Avsynmgr.exe" Service is running in the security context of LocalSystem ------------------------------------------------------------------------ --------Service name :awhost32 Display Name :pcAnywhere Host Service Binary Path :C:\Program Files\Symantec\pcAnywhere\awhost32.exe Service is running in the security context of LocalSystem Regards, Damien Manuel -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Thursday, 12 September 2002 12:55 AM To: Nagios-User (E-mail) Subject: [Nagios-users] Update NSClient Service Name Tips Further info. The idea of using the executable name doesn't always work (it will on 90%+ of the services), take the "World Wide Publishing Service" for example. It's executable is inetinfo, but the service name is W3svc. I just noticed that under My Computer/Manage/Services Find the service you want, select it, and then view it's properties. Notice that the first item is "Service Name" bingo that's what we want. Of course if you can use the free tool then this is all mute, but those of us who can't this should get the info you need. Sincerely, Daniel G. Rusch ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- In remembrance www.osdn.com/911/ From simon at uow.edu.au Thu Sep 12 04:12:15 2002 From: simon at uow.edu.au (Simon Coggins) Date: Thu, 12 Sep 2002 12:12:15 +1000 Subject: Feat Req: Service Groups for stats. Message-ID: <20020912021215.GG3347@uow.edu.au> Just wondering if anyone has been talking about adding service groups to nagios mainly for the stats cgis. I'd like to have the functionality to have a group 'Mail System'. Which has members that are imap/pop/smtp/etc and beable to do an availablity on the Mail system and it'll tell me the the availability of all the services in that group. -- Simon Coggins (SAGE-AU Member) Email: simon at uow.edu.au Network and System Management Officer Phone: +61-2-4221-3775 Information Technology Systems (ITS) Mobile: 0408 115861 University of Wollongong, 2522, Australia Fax: +61-2-4229-1985 ------------------------------------------------------- In remembrance www.osdn.com/911/ From karl at debisschop.net Thu Sep 12 04:20:10 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 11 Sep 2002 22:20:10 -0400 Subject: performance data from plugins - does it exist? In-Reply-To: <3D7F7061.7000004@cvf.fr> References: <3D7F7061.7000004@cvf.fr> Message-ID: <1031797211.4319.3.camel@miles.debisschop.net> On Wed, 2002-09-11 at 12:33, Thomas wrote: > H?h?, > > I need exactly the same things ;) > We can reformulate the question to: > > << What's the solution to graph performance data (cpu, http, ftp, mysql > cnx, etc) >> > > For example, it's very interesting to see the cpu load rising in a time > period (like a month, etc) > > thanks > Thomas > > > atonns at mail.ivillage.com wrote: > > > I've noticed that none of the plugins that I'm interested in using > > (http, ftp, dns, etc.) do not have any options to return performance > > data. I'd like to be able to collect performance data for graphing and > > analyzing trends, service peaks, etc., but I can't find it in the plugins. > > > > Are there configuration directives other than > > process_performance_data, host_perfdata_command and > > service_perfdata_command that I'm missing? > > > > Finally, if someone HAS created custom plugins that make use these > > directives (or other methods for collecting performance data) can you > > share them? The only patches I ever got for performance data were for a previous version. I never had the time to prot them forward to the CVS tree at that time. If anyone makes patches relative to the current nagiosplug CVS tree, and make sure only the perf data part is patched, we could get it in fairly quickly. Otherwise, its just a question of when we can get to it. It's pretty high on my priority list, but my job and my family are higher. -- Karl ------------------------------------------------------- In remembrance www.osdn.com/911/ From blaq.ice at interfold.com Thu Sep 12 06:46:28 2002 From: blaq.ice at interfold.com (Onyi C. Ejiasa) Date: Wed, 11 Sep 2002 22:46:28 -0600 Subject: check_radius Message-ID: <005701c25a17$5cac2b50$141c1fc6@blaq> Hello, Anyone have any idea what the config file for the check_radius plugin requires? What is the format? I don't believe the new check_radius plugin uses the same command format as the old Netsaint plugin? God Bless. _ xxxxx _ /_;-.__ / _\ _.-;_\ `-._`'`_/'`.-' `\ /` | / /-.( \_._\ \ \`; > |/ / // |// \(\ `` Onyi C. Ejiasa Chairmain, ACFyouth http://www.acfyouth.org onyi.ejiasa at acfyouth.org 303.596.5858 C 877.339.6566 x 8269 W ----------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikael.olsson at roxtec.se Thu Sep 12 07:32:35 2002 From: mikael.olsson at roxtec.se (Mikael Olsson) Date: Thu, 12 Sep 2002 07:32:35 +0200 Subject: Nagios - Notification by SMS References: <4B9C5742BB8F8D4895316485C08165A2B59E05@brsaoex01.primesys.br> Message-ID: <3D8026F3.6040608@roxtec.se> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Felipe Martins wrote: > Hi, > > Someone knows how I can send notifications by SMS on Nagios?? > > Thanks! > > > > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users I'l use a command line tool whos called "gsmlib". A pcmcia bridge with Nokia Cardphone. It works perfect. The only thing i had to do was a small adjustment to the misccommands.cfg, i modified the pager definition to fit in with gsmlib - -- - ------------------------------------- Mikael Olsson IT-technician -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9gCbzIQY9KsafpfsRAsnuAKC8qpRet4Nvs1FgFOXL8N5lrrel2QCgoGus Aee+ugPo6aDCnSxeHBB0Zks= =7TY6 -----END PGP SIGNATURE----- ------------------------------------------------------- In remembrance www.osdn.com/911/ From kurt.ziegenbein at saarstahl.de Thu Sep 12 08:33:34 2002 From: kurt.ziegenbein at saarstahl.de (ZIEGENBEIN, Kurt) Date: Thu, 12 Sep 2002 08:33:34 +0200 Subject: AW: Any experiences with check_udp Message-ID: Hi Scott! You're right: checking UDP is a little bit more complicated than TCP, because there are no connections. The only thing that causes the bind to fail is a ICMP-error of the host that has to be checked. And since we can't asume that everyting is ok, if no error was returned, we can't do such a simple check as for TCP... Now I've to find out, how I can get Citrix to return a UDP packet... ciao Kurt > -----Urspr?ngliche Nachricht----- > Von: Scott Ripley [mailto:sripley at chiaro.com] > Gesendet: Mittwoch, 11. September 2002 21:20 > An: nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] Any experiences with check_udp > > > > I don't think check_udp is broken, but more that bind is > expecting something > as query input. Try something like this (hostnames changed to > protect the > innocent): > > swt1# ./check_udp -p 53 -s "A? validhost.mydomain.com." > Connection accepted on port 53 - 0 second response time > swt1# > > Scott. > > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Wednesday, September 11, 2002 10:08 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Any experiences with check_udp > > > That's weird. I'm having the same problem. Check this: > > $ ../libexec/check_udp -H ml15 -p 53 > No data was recieved from host! > No response from host on port 53 > > And now check this: > > $ ../libexec/check_dns -H ml15 > DNS ok - 0 seconds response time, Address(es) is/are 10.108.56.15 > > Wild speculation, but it looks like check_udp is aB0rken. > > jc > > > -----Original Message----- > > From: ZIEGENBEIN, Kurt [mailto:kurt.ziegenbein at saarstahl.de] > > Sent: Wednesday, September 11, 2002 1:38 AM > > To: nagios-users at lists.sourceforge.net > > Subject: AW: [Nagios-users] Any experiences with check_udp > > > > > > > it seems that Terminal server uses TCP/3389 > > > > > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543& > > > > Thanks for the hint! But I'm still not able to use the > > check_udp plugin. > > As you can see below, I have even trouble to check the UDP > > port 53 (DNS). > > > > Please check someone the command "check_udp -p 53" for a > > DNS-Server. > > I'm not sure what's wrong with it.... Or how I have to use it... > > > > > > Hi all! > > > > > > > > I've some kind of trouble with the check_udp plugin. I > > want to check > > > > a W2k-Terminalserver (1604/UDP), but it seems that the > > way I use the > > > > plugin isn't correct. > > > > > > > > I made the following tests with the "well-known-port" 53 > > > (DNS), so that > > > > I can be sure that there is nothing special with w2k. > > > > > > > > The command (direct from shell) "check_udp -p 54" > > > exits directly > > > > with "No response from host on port 54". Thats ok, because > > > there is nothing > > > > listening. > > > > > > > > The command "check_udp -p 53" waits for the timeout > > > (10 sec) and then > > > > exits with "No data was recieved from host! No response > > > from host on port > > > > 53" > > > > > > > > Where is the problem? > > > > > > > > Since the code for check_udp didn't change in the past half > > > year, I don't > > > > expect bugs there... > > > > > > > > Kurt > > > > > > ------------------------------------------------------- > > In remembrance > > www.osdn.com/911/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > 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 andrew_kemp at pacific.net.au Thu Sep 12 09:15:48 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Thu, 12 Sep 2002 17:15:48 +1000 Subject: Event handlers and scheduled downtime Message-ID: <020f01c25a2c$386502c0$758317d2@ozpacnet.office.pacific.net.au> Greetings, We are looking to set up event handlers under Nagios to automatically restart services rather than paging engineers - allows the engineers to sleep a little longer at night. During our testing, we scheduled downtime for the host, which automatically in turn schedules it for each service on the host, but have found that the event handler still executed and tried to restart the service. Is this a feature or an oversight ? Thanks. Regards, Andrew ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Thu Sep 12 09:23:11 2002 From: greis at grinco.de (Olaf Greis) Date: Thu, 12 Sep 2002 09:23:11 +0200 Subject: nsca for solaris 8 Message-ID: <200209120923.11496@grinco.de> hi, has anybody got a working nacs for solaris 8? every time i try to compile it, i get u_int_32 errors. brdgs olaf ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 12 09:29:13 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 12 Sep 2002 12:59:13 +0530 (IST) Subject: web caching problem Message-ID: <1465.202.88.151.191.1031815753.squirrel@www.webyarn.com> Hi I have been getting a very serious problem using Nagios.The service details.cgi very often starts showing the old status of the services and thus many times show wrong states on the browser. Allthough the service execution and notifications are working well but the cgi's often show wrong status which go away after some refreshes on the browser. According to me , its doing some caching on server side, because i saw it on two different browsers on my system at same time and they both were showing wrong status at the same time. This is a very serious problem. If somebody have a solution or know the ause of this problem, please help. -- 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 tdeblend at gcc.dhl.com Thu Sep 12 09:48:14 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 12 Sep 2002 09:48:14 +0200 Subject: web caching problem References: <1465.202.88.151.191.1031815753.squirrel@www.webyarn.com> Message-ID: <3D8046BE.B040356B@gcc.dhl.com> Check for multiple Nagios deamons running. Atul Gosain wrote: > > Hi > > I have been getting a very serious problem using Nagios.The service > details.cgi very often starts showing the old status of the services and > thus many times show wrong states on the browser. Allthough the service > execution and notifications are working well but the cgi's often show > wrong status which go away after some refreshes on the browser. > According to me , its doing some caching on server side, because i saw it > on two different browsers on my system at same time and they both were > showing wrong status at the same time. > This is a very serious problem. If somebody have a solution or know the > ause of this problem, please help. > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 alistair at berthengron.co.uk Thu Sep 12 10:11:05 2002 From: alistair at berthengron.co.uk (Alistair Hopkins) Date: Thu, 12 Sep 2002 09:11:05 +0100 Subject: parallelize_check in define service In-Reply-To: <4B9C5742BB8F8D4895316485C08165A2B59E05@brsaoex01.primesys.br> References: <4B9C5742BB8F8D4895316485C08165A2B59E05@brsaoex01.primesys.br> Message-ID: Can I just check exactly how this works? quote rtfm: If all else fails you can effectively prevent service checks from being parallelized by setting the max_concurrent_checks option to 1. This will allow only one service to be checked at a time, so it isn't a spectacular solution. If there is enough demand, I will add an option to the service definitions which will allow you to specify on a per-service basis whether or not a service check can be parallelized. If there isn't enough demand, I won't... Does this mean that the parallelize option has been implemented for a single service? Specifically, if I am monitoring machines by dialling out over ISDN, and I set parallelize_check to 0 for the service template I use for launching the dial-check-and-disconnect plugin, should that prevent parallelization for those services only, or for all services? There are rather a lot of machines to be checked, some ISDN some ADSL... It seems to be preventing all services on the host from paralellising, which is not ideal atall! Thanks, Alistair --- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 12 11:13:48 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 12 Sep 2002 14:43:48 +0530 (IST) Subject: Event handlers and scheduled downtime In-Reply-To: <020f01c25a2c$386502c0$758317d2@ozpacnet.office.pacific.net.au> References: <020f01c25a2c$386502c0$758317d2@ozpacnet.office.pacific.net.au> Message-ID: <1608.202.88.151.191.1031822028.squirrel@www.webyarn.com> This is totally right approach. but i dont think that paging should stop. Atleat the engineers should know what happened to their network . There may be the case that problem is'nt solved by restarting the service. > Greetings, > > We are looking to set up event handlers under Nagios to automatically > restart services rather than paging engineers - allows the engineers to > sleep a little longer at night. > > During our testing, we scheduled downtime for the host, which > automatically in turn schedules it for each service on the host, but > have found that the event handler still executed and tried to restart > the service. > > Is this a feature or an oversight ? Thanks. > > 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 -- 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 tguthmann at cvf.fr Thu Sep 12 11:43:52 2002 From: tguthmann at cvf.fr (Thomas) Date: Thu, 12 Sep 2002 11:43:52 +0200 Subject: performance data from plugins - does it exist? References: <15694EEC92EA694B88AF7CF6EE8ACBE666D58E@gtc.edu> Message-ID: <3D8061D8.9070700@cvf.fr> Hello Michael, You say, you use mrtg, but you must have a script to parse the performance data file, no ? As say Jo, if you have time to explain a bit it will be cool ;) And perhaps complete the FAQ because it seems that it's an important question that a lot of people ask or just think about it Little question, why mrtg and not rrdtool ? Thanks Tom Kaufman, Michael wrote: >Almost all the data u can pull from the plugins can be put into a format >that MRTG can graph. U would have to run different plugins but they work >great. > >See http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ > >I currently graph my cpu and connections. Works great. > >-----Original Message----- >From: jo smith [mailto:joblow7777 at yahoo.com] >Sent: Wednesday, September 11, 2002 11:59 AM >To: Thomas; atonns at mail.ivillage.com >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] performance data from plugins - does it exist? > >I would like to see those as well. What are people >using? >--- Thomas wrote: > > >>H?h?, >> >>I need exactly the same things ;) >>We can reformulate the question to: >> >><< What's the solution to graph performance data >>(cpu, http, ftp, mysql >>cnx, etc) >> >> >>For example, it's very interesting to see the cpu >>load rising in a time >>period (like a month, etc) >> >>thanks >>Thomas >> >> >>atonns at mail.ivillage.com wrote: >> >> >> >>>I've noticed that none of the plugins that I'm >>> >>> >>interested in using >> >> >>>(http, ftp, dns, etc.) do not have any options to >>> >>> >>return performance >> >> >>>data. I'd like to be able to collect performance >>> >>> >>data for graphing and >> >> >>>analyzing trends, service peaks, etc., but I can't >>> >>> >>find it in the plugins. >> >> >>>Are there configuration directives other than >>>process_performance_data, host_perfdata_command >>> >>> >>and >> >> >>>service_perfdata_command that I'm missing? >>> >>>Finally, if someone HAS created custom plugins >>> >>> >>that make use these >> >> >>>directives (or other methods for collecting >>> >>> >>performance data) can you >> >> >>>share them? >>> >>>Thanks in advance. >>> >>>-- >>>"Computer science is as much about computers as >>> astronomy is about telescopes" -- Edsger >>> >>> >>Dijkstra >> >> >--------------------------------------------------------- > > >>>Anthony Tonns, UNIX Administrator - >>> >>> >>atonns at mail.ivillage.com >> >> >> >> >> >> >> >> >------------------------------------------------------- > > >>In remembrance >>www.osdn.com/911/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >__________________________________________________ >Yahoo! - We Remember >9-11: A tribute to the more than 3,000 lives lost >http://dir.remember.yahoo.com/tribute > > >------------------------------------------------------- >In remembrance >www.osdn.com/911/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >------------------------------------------------------- >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 tguthmann at cvf.fr Thu Sep 12 11:45:42 2002 From: tguthmann at cvf.fr (Thomas) Date: Thu, 12 Sep 2002 11:45:42 +0200 Subject: performance data from plugins - does it exist? References: <3D7F7061.7000004@cvf.fr> <1031797211.4319.3.camel@miles.debisschop.net> Message-ID: <3D806246.1010201@cvf.fr> Karl DeBisschop wrote: >On Wed, 2002-09-11 at 12:33, Thomas wrote: > > >>H?h?, >> >>I need exactly the same things ;) >>We can reformulate the question to: >> >><< What's the solution to graph performance data (cpu, http, ftp, mysql >>cnx, etc) >> >> >>For example, it's very interesting to see the cpu load rising in a time >>period (like a month, etc) >> >>thanks >>Thomas >> >> >>atonns at mail.ivillage.com wrote: >> >> >> >>>I've noticed that none of the plugins that I'm interested in using >>>(http, ftp, dns, etc.) do not have any options to return performance >>>data. I'd like to be able to collect performance data for graphing and >>>analyzing trends, service peaks, etc., but I can't find it in the plugins. >>> >>>Are there configuration directives other than >>>process_performance_data, host_perfdata_command and >>>service_perfdata_command that I'm missing? >>> >>>Finally, if someone HAS created custom plugins that make use these >>>directives (or other methods for collecting performance data) can you >>>share them? >>> >>> > >The only patches I ever got for performance data were for a previous >version. I never had the time to prot them forward to the CVS tree at >that time. > >If anyone makes patches relative to the current nagiosplug CVS tree, and >make sure only the perf data part is patched, we could get it in fairly >quickly. Otherwise, its just a question of when we can get to it. It's >pretty high on my priority list, but my job and my family are higher. > >-- >Karl > > > > > Hi Karl, You said a "patch" for nagios_plugins or for the nagios motor ? Thanks, Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Joerg.Lutz at lycos-europe.com Thu Sep 12 12:19:22 2002 From: Joerg.Lutz at lycos-europe.com (Joerg.Lutz at lycos-europe.com) Date: Thu, 12 Sep 2002 12:19:22 +0200 Subject: AW: question to processing performance data Message-ID: <295C5EDF1D27D411A76900508B62578101CCDFE0@debage55.bertelsmann.de> Hi, thanx for the info. Anyone knows anything about why the 'process_perf_data' directive doesn't prevent the performance processing command to be executed? I only want to get performance data from a part of the service checks. I know I can filter them before processing, but what is the 'process_perf_data' directive there for then? Or is it intended for later use and is defunc at the moment? TIA, Joerg -----Urspr?ngliche Nachricht----- Von: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] Gesendet: Mittwoch, 11. September 2002 08:24 An: Joerg.Lutz at lycos-europe.com Betreff: RE: [Nagios-users] question to processing performance data As the gudelines for plugins-development states, only onle line of output is read from the plugin. I think in your case it is a feature, not a bug. /FredrikW -----Original Message----- From: Joerg.Lutz at lycos-europe.com [mailto:Joerg.Lutz at lycos-europe.com] Sent: Tue 10-Sep-02 22:24 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] question to processing performance data Hi all, the directive 'process_perf_data' for the host and service definition does't have any effect on performance processing. Even the $PERFDATA$ macro gets set properly. Is this intended? Also, nagios doesn't set the $PERFDATA$ macro when there's a '\n' before the pipe char in the plugin output. Feature or bug? Thanx in advance, Joerg ------------------------------------------------------- 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 pspa at gp.novis.pt Thu Sep 12 12:29:33 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 12 Sep 2002 11:29:33 +0100 Subject: performance data from plugins - does it exist? In-Reply-To: <3D806246.1010201@cvf.fr>; from tguthmann@cvf.fr on Thu, Sep 12, 2002 at 11:45:42AM +0200 References: <3D7F7061.7000004@cvf.fr> <1031797211.4319.3.camel@miles.debisschop.net> <3D806246.1010201@cvf.fr> Message-ID: <20020912112933.C18264@gp.novis.pt> Hi all. The $PERFDATA$ macro contains everything that the plugin returns after a "|" (pipe) char. At the moment, the plugins don't have that 'feature' implemented, but with a little code-hammering it's a no-brainer to achieve :) Take, for example, check_http.c: on line 836, you have: printf ("HTTP ok: %s - %d second response time %s%s", status_line, If you change this to: printf ("HTTP ok: %s - %d second response time %s%s|http=%d", status_line, and recompile ( "make" will do the trick ), you'll have "http=time" on the $PERFDATA$ macro everytime you use check_http. BTW, on check_http.c, you have to change lines 799, 807, 820, 837 and 860. On other plugins, you'll have to search ... :-) Hope this helps ... Hugz, On Thu, Sep 12, 2002 at 11:45:42AM +0200, Thomas wrote: > Karl DeBisschop wrote: > > >On Wed, 2002-09-11 at 12:33, Thomas wrote: > > > > > >>H?h?, > >> > >>I need exactly the same things ;) > >>We can reformulate the question to: > >> > >><< What's the solution to graph performance data (cpu, http, ftp, mysql > >>cnx, etc) >> > >> > >>For example, it's very interesting to see the cpu load rising in a time > >>period (like a month, etc) > >> > >>thanks > >>Thomas > >> > >> > >>atonns at mail.ivillage.com wrote: > >> > >> > >> > >>>I've noticed that none of the plugins that I'm interested in using > >>>(http, ftp, dns, etc.) do not have any options to return performance > >>>data. I'd like to be able to collect performance data for graphing and > >>>analyzing trends, service peaks, etc., but I can't find it in the plugins. > >>> > >>>Are there configuration directives other than > >>>process_performance_data, host_perfdata_command and > >>>service_perfdata_command that I'm missing? > >>> > >>>Finally, if someone HAS created custom plugins that make use these > >>>directives (or other methods for collecting performance data) can you > >>>share them? > >>> > >>> > > > >The only patches I ever got for performance data were for a previous > >version. I never had the time to prot them forward to the CVS tree at > >that time. > > > >If anyone makes patches relative to the current nagiosplug CVS tree, and > >make sure only the perf data part is patched, we could get it in fairly > >quickly. Otherwise, its just a question of when we can get to it. It's > >pretty high on my priority list, but my job and my family are higher. > > > >-- > >Karl > > > > > > > > > > > > Hi Karl, > > You said a "patch" for nagios_plugins or for the nagios motor ? > > Thanks, > 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 > -- Paulo Pinto Novis GSP pspa at gp.novis.pt ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cadennis1 at attbi.com Thu Sep 12 13:30:35 2002 From: cadennis1 at attbi.com (cadennis1 at attbi.com) Date: Thu, 12 Sep 2002 11:30:35 +0000 Subject: Nagios/Apache compatibility Message-ID: <20020912113036.CYMS25351.rwcrmhc52.attbi.com@rwcrwbc55> I'm starting to build a system (Solaris 7) with Nagios 1.05b and Apache 2.0.40. Are there any known compatibility issues with this configuration? Also is PGP highly recommended to check the Apache download? I've never used PGP before and welcome any advice. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From d.pavani at cineca.it Thu Sep 12 13:43:54 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Thu, 12 Sep 2002 13:43:54 +0200 Subject: check_radius References: <005701c25a17$5cac2b50$141c1fc6@blaq> Message-ID: <3D807DFA.3090207@cineca.it> The new check_radius plugin is much more user friendly and it works perfectly. Usage: check_radius username passwd servername nas_port_id secretkey [ppphint] [nasname] No config file. Bye Onyi C. Ejiasa wrote: > Hello, > > > > Anyone have any idea what the config file for the check_radius plugin > requires? What is the format? I don't believe the new check_radius > plugin uses the same command format as the old Netsaint plugin? > > > > God Bless. > > > > _ xxxxx _ > /_;-.__ / _\ _.-;_\ > `-._`'`_/'`.-' > `\ /` > | / > /-.( > \_._\ > \ \`; > > |/ > / // > |// > \(\ > `` > > > > Onyi C. Ejiasa > Chairmain, ACFyouth > http://www.acfyouth.org > onyi.ejiasa at acfyouth.org > 303.596.5858 C > 877.339.6566 x 8269 W > > > > ----------------------------------------------------------------------------------------------------------- > -- ************************************************************************ 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 bastiaan at iptower.nl Thu Sep 12 13:48:34 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 12 Sep 2002 13:48:34 +0200 Subject: Nagios/Apache compatibility In-Reply-To: <20020912113036.CYMS25351.rwcrmhc52.attbi.com@rwcrwbc55> References: <20020912113036.CYMS25351.rwcrmhc52.attbi.com@rwcrwbc55> Message-ID: <1031831314.3609.30.camel@baw> On Thu, 2002-09-12 at 13:30, cadennis1 at attbi.com wrote: > I'm starting to build a system (Solaris 7) with Nagios > 1.05b and Apache 2.0.40. Are there any known > compatibility issues with this configuration? Also is > PGP highly recommended to check the Apache download? > I've never used PGP before and welcome any advice. as i read , there are known compatibility issues with everything in apache2 , i'd first get a working webserver , and then run nagios on it ;) and using pgp for checking is kinda pointless , you could just as well use cksum ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Kaufmanm at gtc.edu Thu Sep 12 15:09:27 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Thu, 12 Sep 2002 08:09:27 -0500 Subject: performance data from plugins - does it exist? Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D58F@gtc.edu> Well it depends on what server u r going to graph. Novell, use mrtgext at http://www.cae.wisc.edu/~drews/mrtg/ it has the perl script with it for mrtg. On linux, u can use http://www.bursztein.net/prog/stat/index.html or http://www.geek.net.au/mrtg.html this does not need snmpd. On NT u can use this reference http://snmpboy.msft.net/ I am currently just graphing novell server connections,memory , and cisco router traffic etc. I also use mrtg WITH nagios to do traffic checking. I have a T1 that likes to fill up with p2p traffic. Nagios keep a look at the mrtg log to see if the traffic goes over 90% for 5 minute avg. Works like a charm. (boss also likes the graphs).... mike -----Original Message----- From: Thomas [mailto:tguthmann at cvf.fr] Sent: Thursday, September 12, 2002 4:44 AM To: Kaufman, Michael Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] performance data from plugins - does it exist? Hello Michael, You say, you use mrtg, but you must have a script to parse the performance data file, no ? As say Jo, if you have time to explain a bit it will be cool ;) And perhaps complete the FAQ because it seems that it's an important question that a lot of people ask or just think about it Little question, why mrtg and not rrdtool ? Thanks Tom Kaufman, Michael wrote: >Almost all the data u can pull from the plugins can be put into a format >that MRTG can graph. U would have to run different plugins but they work >great. > >See http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ > >I currently graph my cpu and connections. Works great. > >-----Original Message----- >From: jo smith [mailto:joblow7777 at yahoo.com] >Sent: Wednesday, September 11, 2002 11:59 AM >To: Thomas; atonns at mail.ivillage.com >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] performance data from plugins - does it exist? > >I would like to see those as well. What are people >using? >--- Thomas wrote: > > >>H?h?, >> >>I need exactly the same things ;) >>We can reformulate the question to: >> >><< What's the solution to graph performance data >>(cpu, http, ftp, mysql >>cnx, etc) >> >> >>For example, it's very interesting to see the cpu >>load rising in a time >>period (like a month, etc) >> >>thanks >>Thomas >> >> >>atonns at mail.ivillage.com wrote: >> >> >> >>>I've noticed that none of the plugins that I'm >>> >>> >>interested in using >> >> >>>(http, ftp, dns, etc.) do not have any options to >>> >>> >>return performance >> >> >>>data. I'd like to be able to collect performance >>> >>> >>data for graphing and >> >> >>>analyzing trends, service peaks, etc., but I can't >>> >>> >>find it in the plugins. >> >> >>>Are there configuration directives other than >>>process_performance_data, host_perfdata_command >>> >>> >>and >> >> >>>service_perfdata_command that I'm missing? >>> >>>Finally, if someone HAS created custom plugins >>> >>> >>that make use these >> >> >>>directives (or other methods for collecting >>> >>> >>performance data) can you >> >> >>>share them? >>> >>>Thanks in advance. >>> >>>-- >>>"Computer science is as much about computers as >>> astronomy is about telescopes" -- Edsger >>> >>> >>Dijkstra >> >> >--------------------------------------------------------- > > >>>Anthony Tonns, UNIX Administrator - >>> >>> >>atonns at mail.ivillage.com >> >> >> >> >> >> >> >> >------------------------------------------------------- > > >>In remembrance >>www.osdn.com/911/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >__________________________________________________ >Yahoo! - We Remember >9-11: A tribute to the more than 3,000 lives lost >http://dir.remember.yahoo.com/tribute > > >------------------------------------------------------- >In remembrance >www.osdn.com/911/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >------------------------------------------------------- >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 daniel-wittenberg at uiowa.edu Thu Sep 12 15:10:57 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 12 Sep 2002 08:10:57 -0500 Subject: performance data from plugins - does it exist? In-Reply-To: <20020911215314.88312.qmail@web13003.mail.yahoo.com> References: <20020911215314.88312.qmail@web13003.mail.yahoo.com> Message-ID: <1031836257.28361.3.camel@tux.its.uiowa.edu> The right way to do this would be with rrdtool and not mrtg, since mrtg wasn't really designed for this, and rrdtool was (created by the same person if you didn't know). I haven't looked at this at all under Nagios, but would be willing to help put together an rrdtool performance package if others are willing to help too. Dan On Wed, 2002-09-11 at 16:53, jo smith wrote: > Hi Michael. > > This sounds pretty cool. I looked at the web site, but > don't really know where to begin to get MRTG to pull > in the nagios data output. Can you please provide us > with a few clues as to how you did it? Thanx! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel-wittenberg at uiowa.edu Thu Sep 12 15:18:54 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 12 Sep 2002 08:18:54 -0500 Subject: check_bandwidth (was performance data from plugins) In-Reply-To: <15694EEC92EA694B88AF7CF6EE8ACBE666D58F@gtc.edu> References: <15694EEC92EA694B88AF7CF6EE8ACBE666D58F@gtc.edu> Message-ID: <1031836734.28364.7.camel@tux.its.uiowa.edu> Along these lines, has anyone written a "check_bandwidth" plugin? It would be cool to have something you can just point to an interface and acceptable thresholds. Dan On Thu, 2002-09-12 at 08:09, Kaufman, Michael wrote: > I also use mrtg WITH nagios to do traffic checking. I have a T1 that likes > to fill up with p2p traffic. Nagios keep a look at the mrtg log to see if > the traffic goes over 90% for 5 minute avg. Works like a charm. (boss also > likes the graphs).... > > mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From glauber_mcp at hotmail.com Thu Sep 12 15:31:14 2002 From: glauber_mcp at hotmail.com (Glauber Herbert) Date: Thu, 12 Sep 2002 10:31:14 -0300 Subject: Question... Message-ID: I'm doing everything that how to install in site... And when I go to the folder that I installed Nagios, I can't find the folder called ETC.... I'm making anything wrong, or there are another king of installation that I need to do??? Thankx a lot _________________________________________________________________ Tenha voc? tamb?m um MSN Hotmail, o maior webmail do mundo: http://www.hotmail.com/br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 12 15:45:53 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 12 Sep 2002 19:15:53 +0530 (IST) Subject: Query!!!! Message-ID: <3795.202.88.151.191.1031838353.squirrel@www.webyarn.com> Can somebody in the nagios community please answer my query????????? I have been getting a very serious problem using Nagios.The service details.cgi very often starts showing the old status of the services and thus many times show wrong states on the browser. Allthough the service execution and notifications are working well but the cgi's often show wrong status which go away after some refreshes on the browser. According to me , its doing some caching on server side, because i saw it on two different browsers on my system at same time and they both were showing wrong status at the same time. This is a very serious problem. If somebody have a solution or know the ause of this problem, please help. -- 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 Joerg.Lutz at lycos-europe.com Thu Sep 12 16:01:09 2002 From: Joerg.Lutz at lycos-europe.com (Joerg.Lutz at lycos-europe.com) Date: Thu, 12 Sep 2002 16:01:09 +0200 Subject: AW: Query!!!! Message-ID: <295C5EDF1D27D411A76900508B62578101CCDFE9@debage55.bertelsmann.de> Did you check for multiple nagios daemons running as suggested by Tom de Blende? -----Urspr?ngliche Nachricht----- Von: Atul Gosain [mailto:atul at mindsw.com] Gesendet: Donnerstag, 12. September 2002 15:46 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Query!!!! Can somebody in the nagios community please answer my query????????? I have been getting a very serious problem using Nagios.The service details.cgi very often starts showing the old status of the services and thus many times show wrong states on the browser. Allthough the service execution and notifications are working well but the cgi's often show wrong status which go away after some refreshes on the browser. According to me , its doing some caching on server side, because i saw it on two different browsers on my system at same time and they both were showing wrong status at the same time. This is a very serious problem. If somebody have a solution or know the ause of this problem, please help. -- 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 glauber_mcp at hotmail.com Thu Sep 12 16:03:51 2002 From: glauber_mcp at hotmail.com (Glauber Herbert) Date: Thu, 12 Sep 2002 11:03:51 -0300 Subject: Another Question... Message-ID: Thankx... And now I have another question... When I try to access per example, HOST DETAIL and others, I get this message: Whoops! Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Here are some things you should check in order to resolve this error: Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution. Make sure the user your web server is running as has permission to read the CGI config file. Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. _________________________________________________________________ MSN Photos ? a maneira mais f?cil e pr?tica de editar e compartilhar sua fotos: http://photos.msn.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 12 16:07:46 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 12 Sep 2002 19:37:46 +0530 (IST) Subject: AW: Query!!!! In-Reply-To: <295C5EDF1D27D411A76900508B62578101CCDFE9@debage55.bertelsmann.de> References: <295C5EDF1D27D411A76900508B62578101CCDFE9@debage55.bertelsmann.de> Message-ID: <4585.202.88.151.191.1031839666.squirrel@www.webyarn.com> Yes i replied him that multiple nagios daemons are running and they r supposed to run because many service checks are done in parallel and nagios forks its processes so that it may execute multiple checks simultaneously. > Did you check for multiple nagios daemons running as suggested by Tom de > Blende? > > -----Urspr?ngliche Nachricht----- > Von: Atul Gosain [mailto:atul at mindsw.com] > Gesendet: Donnerstag, 12. September 2002 15:46 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Query!!!! > > > > > > Can somebody in the nagios community please answer my query????????? > > > I have been getting a very serious problem using Nagios.The service > details.cgi very often starts showing the old status of the services and > thus many times show wrong states on the browser. Allthough the service > execution and notifications are working well but the cgi's often show > wrong status which go away after some refreshes on the browser. > According to me , its doing some caching on server side, because i saw > it on two different browsers on my system at same time and they both > were showing wrong status at the same time. > This is a very serious problem. If somebody have a solution or know the > ause of this problem, please help. > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 -- 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 brian at whiteheadconsulting.com Thu Sep 12 15:56:27 2002 From: brian at whiteheadconsulting.com (Brian Whitehead) Date: 12 Sep 2002 08:56:27 -0500 Subject: Query!!!! In-Reply-To: <3795.202.88.151.191.1031838353.squirrel@www.webyarn.com> References: <3795.202.88.151.191.1031838353.squirrel@www.webyarn.com> Message-ID: <1031838987.8069.5.camel@spasm.whiteheadconsulting.com> On Thu, 2002-09-12 at 08:45, Atul Gosain wrote: > > > > Can somebody in the nagios community please answer my query????????? > > > I have been getting a very serious problem using Nagios.The service > details.cgi very often starts showing the old status of the services and > thus many times show wrong states on the browser. Allthough the service > execution and notifications are working well but the cgi's often show > wrong status which go away after some refreshes on the browser. > According to me , its doing some caching on server side, because i saw it > on two different browsers on my system at same time and they both were > showing wrong status at the same time. > This is a very serious problem. If somebody have a solution or know the > ause of this problem, please help. > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users I don't know if I can help with the problem, but It would be much easier to get a response if you would include some minimal information. OS version Nagios version maybe the install configure switches or if it is an rpm install maybe some configuration samples Are you sure you're not having a network issue that is actually causing the service to be unreachable. I experienced a problem with a router last week that made it appear that something was wrong with some servers, but it was just caused by the router causing packet loss and slow responses. -- Brian Whitehead - A+, LCP, RHCE Systems Administrator - Linux Consultant Direct: 816.512.9417 Mobile: 816.215.1598 mailto:brian at whiteheadconsulting.com Whitehead Consulting Group 1505 Bradford Drive Greenwood, MO 64034 Phone: 816.537.7170 http://www.whiteheadconsulting.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Joerg.Lutz at lycos-europe.com Thu Sep 12 16:22:56 2002 From: Joerg.Lutz at lycos-europe.com (Joerg.Lutz at lycos-europe.com) Date: Thu, 12 Sep 2002 16:22:56 +0200 Subject: AW: AW: Query!!!! Message-ID: <295C5EDF1D27D411A76900508B62578101CCDFEA@debage55.bertelsmann.de> That's not exactly what I meant. Is there another 'main' nagios process running? I know that nagios forks processes to do the checking. It's a little tricky to find those additional main processes. You have to check the TIME field in the output of 'ps -ef | grep nagios' and look for processes with values greater than 0:00.01 or something like that. Is there another processes which runs for a while already? If yes, that might be the reason for the described behaviour. -----Urspr?ngliche Nachricht----- Von: Atul Gosain [mailto:atul at mindsw.com] Gesendet: Donnerstag, 12. September 2002 16:08 An: nagios-users at lists.sourceforge.net Betreff: Re: AW: [Nagios-users] Query!!!! Yes i replied him that multiple nagios daemons are running and they r supposed to run because many service checks are done in parallel and nagios forks its processes so that it may execute multiple checks simultaneously. > Did you check for multiple nagios daemons running as suggested by Tom de > Blende? > > -----Urspr?ngliche Nachricht----- > Von: Atul Gosain [mailto:atul at mindsw.com] > Gesendet: Donnerstag, 12. September 2002 15:46 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Query!!!! > > > > > > Can somebody in the nagios community please answer my query????????? > > > I have been getting a very serious problem using Nagios.The service > details.cgi very often starts showing the old status of the services and > thus many times show wrong states on the browser. Allthough the service > execution and notifications are working well but the cgi's often show > wrong status which go away after some refreshes on the browser. > According to me , its doing some caching on server side, because i saw > it on two different browsers on my system at same time and they both > were showing wrong status at the same time. > This is a very serious problem. If somebody have a solution or know the > ause of this problem, please help. > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 -- 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 Thu Sep 12 16:21:54 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 12 Sep 2002 16:21:54 +0200 Subject: AW: Query!!!! References: <295C5EDF1D27D411A76900508B62578101CCDFE9@debage55.bertelsmann.de> Message-ID: <3D80A302.9BBE67DC@gcc.dhl.com> To be honest I find your posting rather annoying. First of all the title of your email is very lame. A title is used to summarize what the actual posting is about. I -and a lot of other people- tend to ignore posting with pointless titles, especially when they are in capitals or end with a lot of exclamation marks. You might find this link very useful: http://www.tuxedo.org/~esr/faqs/smart-questions.html. Second: could you please, as I advised, check whether you have got two instances of Nagios running? In other words: kill all Nagios processes until 'ps -ef' tells you there are none left. Then start Nagios again and verify whether your problem is resolved. If not, and only then, come back to the list. I'm not saying this is the problem here, but at least give it a try. Really, if you don't want to take advice and pretend you know best, what are you coming here for then? Joerg.Lutz at lycos-europe.com wrote: > > Did you check for multiple nagios daemons running as suggested by Tom de > Blende? > > -----Urspr?ngliche Nachricht----- > Von: Atul Gosain [mailto:atul at mindsw.com] > Gesendet: Donnerstag, 12. September 2002 15:46 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Query!!!! > > Can somebody in the nagios community please answer my query????????? > > I have been getting a very serious problem using Nagios.The service > details.cgi very often starts showing the old status of the services and > thus many times show wrong states on the browser. Allthough the service > execution and notifications are working well but the cgi's often show > wrong status which go away after some refreshes on the browser. > According to me , its doing some caching on server side, because i saw it > on two different browsers on my system at same time and they both were > showing wrong status at the same time. > This is a very serious problem. If somebody have a solution or know the > ause of this problem, please help. > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Thu Sep 12 16:50:10 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 12 Sep 2002 09:50:10 -0500 Subject: performance data from plugins - does it exist? Message-ID: As someone else here has suggested, check out cacti: http://www.raxnet.net/ http://www.raxnet.net/products/cacti/ Yes, it uses rrdtool. :) jc > -----Original Message----- > From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] > Sent: Thursday, September 12, 2002 8:11 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] performance data from plugins - does it > exist? > > > The right way to do this would be with rrdtool and not mrtg, > since mrtg > wasn't really designed for this, and rrdtool was (created by the same > person if you didn't know). I haven't looked at this at all under > Nagios, but would be willing to help put together an rrdtool > performance > package if others are willing to help too. > > Dan > > On Wed, 2002-09-11 at 16:53, jo smith wrote: > > Hi Michael. > > > > This sounds pretty cool. I looked at the web site, but > > don't really know where to begin to get MRTG to pull > > in the nagios data output. Can you please provide us > > with a few clues as to how you did it? Thanx! > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Sep 12 16:54:48 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 12 Sep 2002 09:54:48 -0500 Subject: AW: Query!!!! Message-ID: If you do a graceful shutdown of nagios, are there any nagios processes still left running? (You might have to wait a bit for the existing ones to die off... I'm not sure what the implication is of just doing a pkill on them w.r.t. trending/reporting.) Also, is/are your browsers set to use a proxy server to get out of your private network? It's possible that if you're bouncing off that proxy to get to your internal network, that that proxy is doing the caching. Food for thought. jc > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Thursday, September 12, 2002 9:08 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: AW: [Nagios-users] Query!!!! > > > Yes i replied him that multiple nagios daemons are running and they r > supposed to run because many service checks are done in parallel and > nagios forks its processes so that it may execute multiple checks > simultaneously. > > > > Did you check for multiple nagios daemons running as > suggested by Tom de > > Blende? > > > > -----Urspr?ngliche Nachricht----- > > Von: Atul Gosain [mailto:atul at mindsw.com] > > Gesendet: Donnerstag, 12. September 2002 15:46 > > An: nagios-users at lists.sourceforge.net > > Betreff: [Nagios-users] Query!!!! > > > > > > > > > > > > Can somebody in the nagios community please answer my query????????? > > > > > > I have been getting a very serious problem using Nagios.The service > > details.cgi very often starts showing the old status of the > services and > > thus many times show wrong states on the browser. Allthough > the service > > execution and notifications are working well but the cgi's > often show > > wrong status which go away after some refreshes on the browser. > > According to me , its doing some caching on server side, > because i saw > > it on two different browsers on my system at same time and they both > > were showing wrong status at the same time. > > This is a very serious problem. If somebody have a solution > or know the > > ause of this problem, please help. > > > > > > -- > > 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Thu Sep 12 18:05:32 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Thu, 12 Sep 2002 11:05:32 -0500 Subject: Netware Server Time in Sync Plugin Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D592@gtc.edu> I have pieced together a plugin that will check a novell server to see if the server is in time sync. Just copy the files to the libexec change them to execute and and the command to the checkcommand.cfg There is no command options, it will get the hostname from nagios. It will return critical if time is out of sync. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nwread Type: application/octet-stream Size: 9227 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nwtyme Type: application/octet-stream Size: 221 bytes Desc: not available URL: From tguthmann at cvf.fr Thu Sep 12 18:41:41 2002 From: tguthmann at cvf.fr (Thomas) Date: Thu, 12 Sep 2002 18:41:41 +0200 Subject: performance data from plugins - does it exist? References: <20020911215314.88312.qmail@web13003.mail.yahoo.com> <1031836257.28361.3.camel@tux.its.uiowa.edu> Message-ID: <3D80C3C5.6090405@cvf.fr> hi, Ok, I'm going in, just let me a week to finish some important job, than I will work with you to put an rrdtool into nagios It would be cool to do a howto for the others who will want to put performance graph into their nagios... sure when it will be finished ;) So to sumup, - put good infos in the file (means perhaps modify source code from plugins) - extract them to put into rrdtool - find a way to integrate them for each host (urlize or in extinfo ...) - test & test - do a howto Excuse me, but I'm a bit "speed" today, I got some important work, I hope you understand my bad english Bye Tom Daniel Wittenberg wrote: >The right way to do this would be with rrdtool and not mrtg, since mrtg >wasn't really designed for this, and rrdtool was (created by the same >person if you didn't know). I haven't looked at this at all under >Nagios, but would be willing to help put together an rrdtool performance >package if others are willing to help too. > >Dan > >On Wed, 2002-09-11 at 16:53, jo smith wrote: > > >>Hi Michael. >> >>This sounds pretty cool. I looked at the web site, but >>don't really know where to begin to get MRTG to pull >>in the nagios data output. Can you please provide us >>with a few clues as to how you did it? Thanx! >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >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-wittenberg at uiowa.edu Thu Sep 12 18:45:29 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 12 Sep 2002 11:45:29 -0500 Subject: performance data from plugins - does it exist? In-Reply-To: <3D80C3C5.6090405@cvf.fr> References: <20020911215314.88312.qmail@web13003.mail.yahoo.com> <1031836257.28361.3.camel@tux.its.uiowa.edu> <3D80C3C5.6090405@cvf.fr> Message-ID: <1031849129.28364.21.camel@tux.its.uiowa.edu> The only part I worry about is the "modify source code from plugins". Not that I mind doing the coding, but if we do, just want to make sure these changes can be committed so it doesn't have to be re-done at every version. Dan On Thu, 2002-09-12 at 11:41, Thomas wrote: > hi, > > Ok, I'm going in, just let me a week to finish some important job, than > I will work with you to put an rrdtool into nagios > It would be cool to do a howto for the others who will want to put > performance graph into their nagios... sure when it will be finished ;) > So to sumup, > - put good infos in the file (means perhaps modify source code from plugins) > - extract them to put into rrdtool > - find a way to integrate them for each host (urlize or in extinfo ...) > - test & test > - do a howto > > Excuse me, but I'm a bit "speed" today, I got some important work, I > hope you understand my bad english > > Bye > Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From shnikees at shnikees.com Thu Sep 12 19:02:51 2002 From: shnikees at shnikees.com (morgan) Date: Thu, 12 Sep 2002 10:02:51 -0700 (PDT) Subject: Cgi Authentication Message-ID: <20020912095644.O15048-100000@deadspot.com> Morning Everyone, I'm haveing a problem with user authentication, I want people to be able to use the "guest" account without having to login, I'm able to to log in as myself but everyone a "guest" tries to connect it it still asks for a password. Here is a sample if the cgi.cfg file please let me know if this is the wrong format. # 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=guest,morgan,scott,wayne.jeffers authorized_for_all_hosts=guest,morgan,scott,wayne.jeffers Thanks Morgan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cmsu_tech2 at yahoo.com Thu Sep 12 19:19:08 2002 From: cmsu_tech2 at yahoo.com (Nathan Hill) Date: Thu, 12 Sep 2002 10:19:08 -0700 (PDT) Subject: Nagios Verification and NIS integration Message-ID: <20020912171908.22737.qmail@web13003.mail.yahoo.com> Hello I have two issues that I am having problems with. The first issue: I compiled and installed nagios with the --with-pgsql-xdata option to allow for PostgreSQL extended data. I set up all the configuration files as directed in the documentation. I go to verify the configuration using nagios -v /usr/local/nagios/etc/nagios.cfg and get the following error message: Error: Unexpected token or statement in file '/usr/local/ nagios/etc/cgi.cfg' on line 15.I used the sample configuration file as a template. On line 15 in cgi.cfg it reads main_config_file=/usr/local/nagios/etc/nagios.cfg which is the location of the nagios main configuration file. Do I have a wrong directive somewhere? Second issue: I am trying to set up apache 1.3 with authorization to nagios through NIS+ using the mod_auth_pam module. Here is what my virtual host configuration is: ServerName localhost.localdomain ServerAlias localhost ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig order allow,deny allow from all The rest of the httpd.conf file is the standard when you install apache. My .htaccess files look like: AuthType Basic AuthName "Nagios" AuthPAM_Enabled on AuthPAM_FallThrough on require group groupname When I try to access the page through the browser, it gives me an internal server error. Does anyone have any idea what I'm doing wrong? Thanks, Nathan Hill __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Darren.Gamble at sjrb.ca Thu Sep 12 19:14:10 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Thu, 12 Sep 2002 11:14:10 -0600 Subject: Cgi Authentication Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB526@shawmail02> Good day, > Morning Everyone, > > I'm haveing a problem with user authentication, I want people > to be able > to > use the "guest" account without having to login, I'm able to > to log in as > myself but everyone a "guest" tries to connect it it still asks for a > password. Remember that it is not Nagios, but Apache (or whatever you are using as a web server) that is asking for authentication. You will either have to create a "guest" account with a user/password in a readable location or printed in the authentication realm, or have your authentication module allow a blank username and password. ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atonns at mail.ivillage.com Thu Sep 12 19:32:33 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Thu, 12 Sep 2002 13:32:33 -0400 Subject: performance data from plugins - does it exist? Message-ID: Since I started this thread... Another thing to consider is what metrics to measure / keep? For example, a 3rd party monitoring service we use here keeps statistics on these metrics for HTTP: DNS Lookup Time Connection Time First Byte Content Download Redirect time Given, not all of it is relevant to HTTP, but it is all relevant to "user experience". But that's not the point. The point is that if there is going to be a system for collecting performance metrics, it should allow for a custom levels of verbosity. In an example: check_http -w 3 -c 8 -Pdcf www.nagios.org would yield performance data for dns lookup (d), connection time (c) and time to first byte (f) while check_http -w 3 -c 8 -Pcl www.nagios.org would yield performance data for connection time (c) and content download time (l). Finally, although nagios is only in a test phase here at my office, I would be interested in assisting with plugin modifications for performance data collection. I have already written a plugin (without performance data collection) that checks disk space for arbitrary partitions (ie: --path=/usr) using the net-snmp host resources mib via Net::SNMP and perl. I supect this conversation should be moved to nagiosplug-devel at this point... -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -----Original Message----- From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] Sent: Thursday, September 12, 2002 12:45 PM To: Thomas Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] performance data from plugins - does it exist? The only part I worry about is the "modify source code from plugins". Not that I mind doing the coding, but if we do, just want to make sure these changes can be committed so it doesn't have to be re-done at every version. Dan On Thu, 2002-09-12 at 11:41, Thomas wrote: > hi, > > Ok, I'm going in, just let me a week to finish some important job, than > I will work with you to put an rrdtool into nagios > It would be cool to do a howto for the others who will want to put > performance graph into their nagios... sure when it will be finished ;) > So to sumup, > - put good infos in the file (means perhaps modify source code from plugins) > - extract them to put into rrdtool > - find a way to integrate them for each host (urlize or in extinfo ...) > - test & test > - do a howto > > Excuse me, but I'm a bit "speed" today, I got some important work, I > hope you understand my bad english > > Bye > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenneth.ray at travelersla.com Thu Sep 12 19:44:21 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Thu, 12 Sep 2002 13:44:21 -0400 Subject: Query!! References: Message-ID: <3D80D275.A55AD478@travelersla.com> there are many possible scenarios that can produce the effect you are referring to, look at your refresh rate of the CGI's is it set really high? look at your check times on a particular service and see if they are set too high? if your not expecting to check a service how can you expect it to refresh. if you have all your checks configureed to 10 minutes and you have your configuration set to execute checks in such a way that possibly your rotation of checks is such taht the refresh of your browser actually caches the data and supplies you with the same detail as before. when using the details.cgi it is highly possible to not see a screen refresh even though behind the screen it actually is. but because we are talking the Details CGI i would look directly at the refresh rate for your cgi's, if this is set to a very high number, even though the nagios daemon is running, the data passed to the browser will not be refreshed... try setting this rate to every 30 seconds.. and see if this provides your solution, again this number is normally pretty high, and i think the default is actually set to 90 so, that is a minute and a half before the cgi will refresh. if its set to higher at least drop it down to this level as in most cases 90 is a pertty good tradeoff.. nagios-users-request at lists.sourceforge.net wrote: > 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. AW: AW: [Nagios-users] Query!!!! (Joerg.Lutz at lycos-europe.com) > 2. RE: performance data from plugins - does it exist? (Carroll, Jim P [Contractor]) > 3. RE: AW: [Nagios-users] Query!!!! (Carroll, Jim P [Contractor]) > 4. Netware Server Time in Sync Plugin (Kaufman, Michael) > 5. Re: performance data from plugins - does it exist? (Thomas) > 6. Re: performance data from plugins - does it exist? (Daniel Wittenberg) > > --__--__-- > > Message: 1 > From: Joerg.Lutz at lycos-europe.com > To: nagios-users at lists.sourceforge.net > Subject: AW: AW: [Nagios-users] Query!!!! > Date: Thu, 12 Sep 2002 16:22:56 +0200 > > That's not exactly what I meant. Is there another 'main' nagios process > running? I know that nagios forks processes to do the checking. It's a > little tricky to find those additional main processes. You have to = > check the > TIME field in the output of 'ps -ef | grep nagios' and look for = > processes > with values greater than 0:00.01 or something like that. Is there = > another > processes which runs for a while already? If yes, that might be the = > reason > for the described behaviour. > > -----Urspr=FCngliche Nachricht----- > Von: Atul Gosain [mailto:atul at mindsw.com] > Gesendet: Donnerstag, 12. September 2002 16:08 > An: nagios-users at lists.sourceforge.net > Betreff: Re: AW: [Nagios-users] Query!!!! > > Yes i replied him that multiple nagios daemons are running and they r > supposed to run because many service checks are done in parallel and > nagios forks its processes so that it may execute multiple checks > simultaneously. > > > Did you check for multiple nagios daemons running as suggested by Tom = > de > > Blende? > > > > -----Urspr=FCngliche Nachricht----- > > Von: Atul Gosain [mailto:atul at mindsw.com] > > Gesendet: Donnerstag, 12. September 2002 15:46 > > An: nagios-users at lists.sourceforge.net > > Betreff: [Nagios-users] Query!!!! > > > > > > > > > > > > Can somebody in the nagios community please answer my query????????? > > > > > > I have been getting a very serious problem using Nagios.The service > > details.cgi very often starts showing the old status of the services = > and > > thus many times show wrong states on the browser. Allthough the = > service > > execution and notifications are working well but the cgi's often show > > wrong status which go away after some refreshes on the browser. > > According to me , its doing some caching on server side, because i = > saw > > it on two different browsers on my system at same time and they both > > were showing wrong status at the same time. > > This is a very serious problem. If somebody have a solution or know = > the > > ause of this problem, please help. > > > > > > -- > > 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 > > --=20 > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Thu Sep 12 19:54:45 2002 From: jragle at unm.edu (Jamin) Date: Thu, 12 Sep 2002 11:54:45 -0600 (MDT) Subject: [nagios-usrs] check_ldap plugin wierdness Message-ID: Has anyone else had problems when running the check_ldap monitor in nagios? It reports back a critical in that it can't connect to the ldap port. I run the command by hand from the prompt and it executes correctly with a "LDAP ok - 0 seconds response time", but in nagios it barfs. Let me know if you see anything wrong here. # 'check_ldap' command definition define command{ command_name check_ldap command_line $USER1$/check_ldap -H $HOSTADDRESS -b "o=University, \ c=us" -p 389 -w 5 -c 120 } # Service definition 'ldap' define service{ use generic-service host_name ldap_host service_description ldap is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ldap } Thanks, -Jamin ---------------------------------------------------------------------- Manus manum lavat. -- Petronius ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tprendergast at reserveamerica.com Thu Sep 12 20:09:40 2002 From: tprendergast at reserveamerica.com (Tim Prendergast) Date: Thu, 12 Sep 2002 11:09:40 -0700 Subject: informix monitoring plugin Message-ID: <008801c25a87$90722640$851e1e0a@WEBADMIN> Does anyone have any form of an Informix monitoring plugin in use with Nagios? I was curious to see if anyone had already written something we could possibly use. If not, I may be writing one soon. :-) Regards, Tim Prendergast -------------- next part -------------- An HTML attachment was scrubbed... URL: From Yohann.Darsigny at sungard.com Thu Sep 12 20:30:42 2002 From: Yohann.Darsigny at sungard.com (Yohann.Darsigny at sungard.com) Date: Thu, 12 Sep 2002 14:30:42 -0400 Subject: plugging for NRPE on SCO, AIX and SUN Message-ID: <9B340D0F797E5E418024AF04760355E20C4FC2@e2kmtl1.internal.sungard.corp> An HTML attachment was scrubbed... URL: From daniel-wittenberg at uiowa.edu Thu Sep 12 22:06:01 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 12 Sep 2002 15:06:01 -0500 Subject: performance data from plugins - does it exist? In-Reply-To: References: Message-ID: <1031861167.14122.11.camel@hawk.wittenberg.org> I could be wrong, but I would imagine we could probably come up with a list of "standard" performance-related measurements for every server, which would make things pretty standard from module to module. There are always going to be specifics for some modules, but I think a good first step might be to identify the common stats, and then we can see what needs to be done for the other modules. Dan On Thu, 2002-09-12 at 12:32, atonns at mail.ivillage.com wrote: > Since I started this thread... > > Another thing to consider is what metrics to measure / keep? > For example, a 3rd party monitoring service we use here keeps statistics on > these metrics for HTTP: > > DNS Lookup Time > Connection Time > First Byte > Content Download > Redirect time ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cadennis1 at attbi.com Thu Sep 12 22:31:27 2002 From: cadennis1 at attbi.com (cadennis1 at attbi.com) Date: Thu, 12 Sep 2002 20:31:27 +0000 Subject: compiled versions of nagios Message-ID: <20020912203127.BYIV25351.rwcrmhc52.attbi.com@rwcrwbc56> Does anyone know where I can find a compiled version of Nagios 1.0b5 for Solaris 7? Thanks, Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jtinley at unirez.com Thu Sep 12 22:43:34 2002 From: jtinley at unirez.com (Jeremy Tinley) Date: Thu, 12 Sep 2002 15:43:34 -0500 Subject: performance data from plugins - does it exist? In-Reply-To: <1031861167.14122.11.camel@hawk.wittenberg.org> References: <1031861167.14122.11.camel@hawk.wittenberg.org> Message-ID: <000b01c25a9d$1016f320$b201a8c0@unirez.com> IIRC, you return metrics with the variable=value,variable=value format. Why not get all the data that the plugin returns and let the user do what they want? For HTTP... dns_time=2,conn_time=4,fb=2,cont_dl=... etc. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Wittenberg Sent: Thursday, September 12, 2002 3:06 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] performance data from plugins - does it exist? I could be wrong, but I would imagine we could probably come up with a list of "standard" performance-related measurements for every server, which would make things pretty standard from module to module. There are always going to be specifics for some modules, but I think a good first step might be to identify the common stats, and then we can see what needs to be done for the other modules. Dan On Thu, 2002-09-12 at 12:32, atonns at mail.ivillage.com wrote: > Since I started this thread... > > Another thing to consider is what metrics to measure / keep? > For example, a 3rd party monitoring service we use here keeps statistics on > these metrics for HTTP: > > DNS Lookup Time > Connection Time > First Byte > Content Download > Redirect time ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 randy.omeara at lmco.com Thu Sep 12 22:12:45 2002 From: randy.omeara at lmco.com (OMeara, Randy) Date: Thu, 12 Sep 2002 13:12:45 -0700 Subject: performance data from plugins - does it exist? Message-ID: ... > It's pretty high on my priority list, but my job and my family are higher. Hmmm. It's good to see priorities in black and white. Sometimes I forget and need to be reminded. Thanks. R ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel-wittenberg at uiowa.edu Thu Sep 12 23:01:55 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 12 Sep 2002 16:01:55 -0500 Subject: performance data from plugins - does it exist? In-Reply-To: <000b01c25a9d$1016f320$b201a8c0@unirez.com> References: <000b01c25a9d$1016f320$b201a8c0@unirez.com> Message-ID: <1031864520.14121.16.camel@hawk.wittenberg.org> Yeah, I'm not saying how you do it, just would be nice if one module uses dns=5 to catch dns times, and another module uses dnstime=5, and another uses dns_time=5. I'm just saying any of the 'generic' or common ones should be defined so it's always the same, so there is some resemblance of a standard. Dan On Thu, 2002-09-12 at 15:43, Jeremy Tinley wrote: > IIRC, you return metrics with the variable=value,variable=value format. > Why not get all the data that the plugin returns and let the user do > what they want? > > For HTTP... > dns_time=2,conn_time=4,fb=2,cont_dl=... etc. > e to geek heaven. > http://thinkgeek.com/sf ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andrew_kemp at pacific.net.au Fri Sep 13 01:05:47 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Fri, 13 Sep 2002 09:05:47 +1000 Subject: Event handlers and scheduled downtime In-Reply-To: <1608.202.88.151.191.1031822028.squirrel@www.webyarn.com> References: <1608.202.88.151.191.1031822028.squirrel@www.webyarn.com> Message-ID: <002b01c25ab0$ee396d00$758317d2@ozpacnet.office.pacific.net.au> True, it is nice for the engineers to know what happened to their network, but my understanding of scheduled downtime is that the maintenance window is scheduled and hence there should be no notifications sent out during this period. Ethan, is this how you envisage it working ? Thanks. Andrew > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Atul Gosain > Sent: Thursday, 12 September 2002 7:14 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Event handlers and scheduled downtime > > > This is totally right approach. > but i dont think that paging should stop. Atleat the > engineers should know > what happened to their network . There may be the case that > problem is'nt > solved by restarting the service. > > Greetings, > > > > We are looking to set up event handlers under Nagios to > automatically > > restart services rather than paging engineers - allows the > engineers to > > sleep a little longer at night. > > > > During our testing, we scheduled downtime for the host, which > > automatically in turn schedules it for each service on the host, but > > have found that the event handler still executed and tried > to restart > > the service. > > > > Is this a feature or an oversight ? Thanks. > > > > 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 > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 helvio at ctbctelecom.net.br Fri Sep 13 00:12:06 2002 From: helvio at ctbctelecom.net.br (helvio at ctbctelecom.net.br) Date: Thu, 12 Sep 2002 19:12:06 -0300 Subject: (no subject) Message-ID: (Embedded image moved to file: pic29358.gif) -------------- next part -------------- A non-text attachment was scrubbed... Name: pic29358.gif Type: image/gif Size: 1933 bytes Desc: not available URL: From e!mullin at Confi-chek.com Thu Sep 12 23:27:34 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Thu, 12 Sep 2002 14:27:34 -0700 Subject: Nagios the compendium Message-ID: Does anyone know of a good location to find walk throughs or tutorials on Nagios for installation, and/or configurations for Nagios? If we don't seem to have any. Do we need one? Erik M -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikael.olsson at roxtec.se Fri Sep 13 08:25:16 2002 From: mikael.olsson at roxtec.se (Mikael Olsson) Date: Fri, 13 Sep 2002 08:25:16 +0200 Subject: Question... References: Message-ID: <3D8184CC.9090907@roxtec.se> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Have you tried... make install-config Glauber Herbert wrote: > I'm doing everything that how to install in site... > And when I go to the folder that I installed Nagios, I can't find the > folder called ETC.... > I'm making anything wrong, or there are another king of installation > that I need to do??? > > > > Thankx a lot > > > _________________________________________________________________ > Tenha voc? tamb?m um MSN Hotmail, o maior webmail do mundo: > http://www.hotmail.com/br > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users - -- - ------------------------------------- Mikael Olsson IT-technician Roxtec International AB - - mikael.olsson at roxtec.se Mobile phone +46(0)733 313047 Phone direct +46(0)455 366747 Box 540 SE-371 23 Karlskrona SWEDEN - - Red Hat Certified Engineer Certificate Number: 807100382304137 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9gYTMIQY9KsafpfsRAnrwAJ0bMmgt0o4tNOVM0OFQVKclTgz4SgCfUE+c pFaHTQzjHgpSCSfwVRe2B4k= =zHX9 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at skycablenet.com Fri Sep 13 09:35:47 2002 From: fireant at skycablenet.com (Christopher Louie Cagasan) Date: Fri, 13 Sep 2002 15:35:47 +0800 Subject: Trends/Availability Undetermined status Message-ID: <002401c25af8$2d439bf0$52624eca@skyinet.net> Hi All, I've been running Nagios for more than a week now but there are services and hosts w/c still have status undetermined in trends/availability report whereas others have data, either ok or critical. Would anyone know how this is so and how I can correct this? Thanks. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireant at zpdee.net Fri Sep 13 09:47:29 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Fri, 13 Sep 2002 15:47:29 +0800 Subject: Trends/Availability status undetermined Message-ID: <006101c25af9$cfa3f2e0$52624eca@skyinet.net> Hi All, I've been running Nagios for more than a week now but there are services and hosts w/c still have status undetermined in trends/availability report whereas others have data, either ok or critical. Would anyone know how this is so and how I can correct this? Thanks. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Wanglund at datavis.se Fri Sep 13 10:15:54 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 13 Sep 2002 10:15:54 +0200 Subject: Strange log-file permission problems.. Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802C8@storevis.datavis.se> (almost) every time I start Nagios it says Warning: Cannot open log file '/var/log/nagios.log' for writing. If I look at the file, its owned by root with perms 644. I then change owner to nagios and everything is OK. BUT, next time I restart Nagios the owner and perms are reset to root and 644. How is this done?? I start nagios as the user nagios, the file bin/nagios is owned by nagios, the processes is run by nagisos, root is not logged in at all on the system!!! Mabye Ethan have included some kind of backdoor in Nagios:-) /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ejl at man.fwltech.com Fri Sep 13 10:24:16 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 13 Sep 2002 09:24:16 +0100 Subject: Trends/Availability status undetermined Message-ID: <1012BD903945D411915500105A48FF57F062F8@nt.man.fwltech.com> try adding log_initial_states=1 to nagios.cfg -----Original Message----- From: Christopher Louie Cagasan [mailto:fireant at zpdee.net] Sent: 13 September 2002 08:47 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Trends/Availability status undetermined Hi All, I've been running Nagios for more than a week now but there are services and hosts w/c still have status undetermined in trends/availability report whereas others have data, either ok or critical. Would anyone know how this is so and how I can correct this? Thanks. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Sep 13 10:40:36 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 13 Sep 2002 10:40:36 +0200 Subject: performance data from plugins - does it exist? Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802C9@storevis.datavis.se> I'm with you. I've just got a nice graph showing the ping roundtrip when I click on the 'notes-url' defined for the service. The problem now is to find a generic way to set up rrd's and feed them with data. /FredrikW -----Original Message----- From: Thomas [mailto:tguthmann at cvf.fr] Sent: Thu 12-Sep-02 18:41 To: Daniel Wittenberg Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] performance data from plugins - does it exist? hi, Ok, I'm going in, just let me a week to finish some important job, than I will work with you to put an rrdtool into nagios It would be cool to do a howto for the others who will want to put performance graph into their nagios... sure when it will be finished ;) So to sumup, - put good infos in the file (means perhaps modify source code from plugins) - extract them to put into rrdtool - find a way to integrate them for each host (urlize or in extinfo ...) - test & test - do a howto Excuse me, but I'm a bit "speed" today, I got some important work, I hope you understand my bad english Bye Tom Daniel Wittenberg wrote: >The right way to do this would be with rrdtool and not mrtg, since mrtg >wasn't really designed for this, and rrdtool was (created by the same >person if you didn't know). I haven't looked at this at all under >Nagios, but would be willing to help put together an rrdtool performance >package if others are willing to help too. > >Dan > >On Wed, 2002-09-11 at 16:53, jo smith wrote: > > >>Hi Michael. >> >>This sounds pretty cool. I looked at the web site, but >>don't really know where to begin to get MRTG to pull >>in the nagios data output. Can you please provide us >>with a few clues as to how you did it? Thanx! >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >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 fireant at zpdee.net Fri Sep 13 11:02:43 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Fri, 13 Sep 2002 17:02:43 +0800 Subject: Trends/Availability status undetermined References: <1012BD903945D411915500105A48FF57F062F8@nt.man.fwltech.com> Message-ID: <010601c25b04$52598330$52624eca@skyinet.net> Hey thanks a bunch, Ewan. It worked! Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. ----- Original Message ----- From: "Ewan Leith" To: "'Christopher Louie Cagasan'" ; Sent: Friday, September 13, 2002 4:24 PM Subject: RE: [Nagios-users] Trends/Availability status undetermined > try adding > > log_initial_states=1 > > to nagios.cfg > > -----Original Message----- > From: Christopher Louie Cagasan [mailto:fireant at zpdee.net] > Sent: 13 September 2002 08:47 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trends/Availability status undetermined > > > Hi All, > > I've been running Nagios for more than a week now but there are services and > hosts > w/c still have status undetermined in trends/availability report whereas > others have > data, either ok or critical. Would anyone know how this is so and how I can > correct this? > > Thanks. > > Christopher Louie Cagasan > Network Operations Center > Skycablenet, Inc. > Christopher Louie Cagasan > Network Operations Center > Skycablenet, Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rmayhew at mweb.com Fri Sep 13 12:48:13 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Fri, 13 Sep 2002 12:48:13 +0200 Subject: Database Problem Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9B8B3ED0@mwjdc2.mweb.com> Hi All, I am in the process of upgrading from Netsaint to Nagios, however I can't seem to get Nagios to use the database. I have created and initialised the Nagios database, compiled in MySQL support for Nagios, and migrated my netsaint Database configs across. I have added the new users etc. All seems to fine, I can query the Nagios Database with out a problem, but it seems Nagios can't insert any data in to the database. Here are some errors. [1031910555] Error: Could not read program retention data from table programretention [1031910555] Error: Could not read host retention data from table hostretention [1031910555] Error: Could not read service retention data from table serviceretention [1031910555] Error: Could not lock status data tables in database '' [1031910588] Error: Could not insert row for program retention data in table 'programretention' [1031910588] Error: Could not insert retention data for host 'hostname'in table 'hostretention' Any ideas, I have compiled in DEBUG support for MYSQL but I don't see any more info regarding it? Is there something I need to activate? -- Regards, R i c h a r d M a y h e w -------------------------------------------- Unix Team Leader Tel: +27 11 340 7200 Fax: +27 11 340 7288 -------------------------------------------- M-WEB Business Solutions Making it happen. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kuehne at sietec.de Fri Sep 13 13:10:36 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Fri, 13 Sep 2002 13:10:36 +0200 Subject: Database Problem Message-ID: <3D81C7AC.6080806@sietec.de> > -----Original Message----- > From: Richard Mayhew [mailto:rmayhew at mweb.com] > Sent: Friday, September 13, 2002 12:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Database Problem > > > Hi All, > > I am in the process of upgrading from Netsaint to Nagios, however I > can't seem to get Nagios to use the database. > I have created and initialised the Nagios database, compiled in MySQL > support for Nagios, and migrated my netsaint > Database configs across. I have added the new users etc. > > All seems to fine, I can query the Nagios Database with out a problem, > but it seems Nagios can't insert any data in to the database. > > [...] > > Any ideas, I have compiled in DEBUG support for MYSQL but I don't see > any more info regarding it? > Is there something I need to activate? Make sure the nagios core process can read its database configuration from ${NAGIOS_HOME}/etc/resource.cfg. I assume you have such a file with the correct configuration data. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rmayhew at mweb.com Fri Sep 13 13:22:16 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Fri, 13 Sep 2002 13:22:16 +0200 Subject: Database Problem Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9BBDC720@mwjdc2.mweb.com> Hi Yes I do. -----Original Message----- From: Alex Kuehne [mailto:kuehne at sietec.de] Sent: 13 September 2002 01:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Database Problem > -----Original Message----- > From: Richard Mayhew [mailto:rmayhew at mweb.com] > Sent: Friday, September 13, 2002 12:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Database Problem > > > Hi All, > > I am in the process of upgrading from Netsaint to Nagios, however I > can't seem to get Nagios to use the database. > I have created and initialised the Nagios database, compiled in MySQL > support for Nagios, and migrated my netsaint > Database configs across. I have added the new users etc. > > All seems to fine, I can query the Nagios Database with out a problem, > but it seems Nagios can't insert any data in to the database. > > [...] > > Any ideas, I have compiled in DEBUG support for MYSQL but I don't see > any more info regarding it? > Is there something I need to activate? Make sure the nagios core process can read its database configuration from ${NAGIOS_HOME}/etc/resource.cfg. I assume you have such a file with the correct configuration data. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 rmayhew at mweb.com Fri Sep 13 13:24:33 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Fri, 13 Sep 2002 13:24:33 +0200 Subject: Database Problem Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9BBDC721@mwjdc2.mweb.com> Hi Wow, didn't think of that..... I fixed the ownership of the dir for nagios...was owned by root :) typical!! Ooops! Thanks -----Original Message----- From: Alex Kuehne [mailto:kuehne at sietec.de] Sent: 13 September 2002 01:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Database Problem > -----Original Message----- > From: Richard Mayhew [mailto:rmayhew at mweb.com] > Sent: Friday, September 13, 2002 12:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Database Problem > > > Hi All, > > I am in the process of upgrading from Netsaint to Nagios, however I > can't seem to get Nagios to use the database. > I have created and initialised the Nagios database, compiled in MySQL > support for Nagios, and migrated my netsaint > Database configs across. I have added the new users etc. > > All seems to fine, I can query the Nagios Database with out a problem, > but it seems Nagios can't insert any data in to the database. > > [...] > > Any ideas, I have compiled in DEBUG support for MYSQL but I don't see > any more info regarding it? > Is there something I need to activate? Make sure the nagios core process can read its database configuration from ${NAGIOS_HOME}/etc/resource.cfg. I assume you have such a file with the correct configuration data. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 Nicole.Haehnel at epost.de Fri Sep 13 13:52:34 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Fri, 13 Sep 2002 13:52:34 +0200 Subject: WARNING: failed to install socket filter Message-ID: <000901c25b1c$0c634740$13121bac@pc1072> Hi, after starting nagios I get error messages pinging other hosts (on 2 machines tried, same result): [root at Notes-FFM2 var]# ping 172.27.48.4 PING 172.27.48.4 (172.27.48.4) from 172.27.16.235 : 56(84) bytes of data. 64 bytes from 172.27.48.4: icmp_seq=1 ttl=126 time=51.9 ms 64 bytes from 172.27.48.4: icmp_seq=2 ttl=126 time=29.2 ms 64 bytes from 172.27.48.4: icmp_seq=3 ttl=126 time=43.2 ms 64 bytes from 172.27.48.4: icmp_seq=4 ttl=126 time=18.4 ms 64 bytes from 172.27.48.4: icmp_seq=5 ttl=126 time=28.5 ms 64 bytes from 172.27.48.4: icmp_seq=6 ttl=126 time=23.8 ms 64 bytes from 172.27.48.4: icmp_seq=7 ttl=126 time=27.6 ms 64 bytes from 172.27.48.4: icmp_seq=8 ttl=126 time=15.4 ms 64 bytes from 172.27.48.4: icmp_seq=9 ttl=126 time=57.1 ms 64 bytes from 172.27.48.4: icmp_seq=10 ttl=126 time=29.8 ms 64 bytes from 172.27.48.4: icmp_seq=11 ttl=126 time=21.9 ms 64 bytes from 172.27.48.4: icmp_seq=12 ttl=126 time=19.2 ms 64 bytes from 172.27.48.4: icmp_seq=13 ttl=126 time=21.4 ms WARNING: failed to install socket filter : Protocol not available This also occurs in the host details, I see ping OK, but then WARNING: failed to install socket filter : Protocol not available It's Redhat Linux with kernel 2.4.18 and 2.4.19. There are 42 hosts to be checked. What's wrong with this? Thanks in advance Nicole ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rstein at persogo.com.br Fri Sep 13 14:11:48 2002 From: rstein at persogo.com.br (Rodolfo Siviero Stein) Date: Fri, 13 Sep 2002 09:11:48 -0300 Subject: WARNING: failed to install socket filter In-Reply-To: <000901c25b1c$0c634740$13121bac@pc1072> References: <000901c25b1c$0c634740$13121bac@pc1072> Message-ID: <5.1.0.14.0.20020913090320.02049ea0@webmail.persogo.com.br> What kind of Network cards you have ? I am experiencing the same problem and thinking about a driver problem. In a IBM Netfinity 3000 (etherexpress pro 10/100 onboard) and any others NIC inside, I see a strange problem. I will explain.... eth0 - 192.168.1.1 eth1 - 192.168.1.2 eth2 - 192.168.1.3 If I remove the network cable from eth1 and eth2, the machine remains responding to ping - for an unknown reason.... eth0 assumes the address of eth1 and eth2. if I remove the network cable from eth0, but connect the cable in eth1 or eth2, the machine stops responding on the network. All the addresses stop responding.... The system is a RedHat 7.3 with Kernel 2.4.19 compiled from sources.... Anybody have an Idea ? Is that normal because all the ip address are in the same subnet ? Any idea of why the NICs stop responding if I remove the cable of the onboard NIC ? thx Rodolfo At 13:52 13/9/2002 +0200, Nicole H?hnel wrote: >Hi, >after starting nagios I get error messages pinging other hosts >(on 2 machines tried, same result): > >[root at Notes-FFM2 var]# ping 172.27.48.4 >PING 172.27.48.4 (172.27.48.4) from 172.27.16.235 : 56(84) bytes of data. >64 bytes from 172.27.48.4: icmp_seq=1 ttl=126 time=51.9 ms >64 bytes from 172.27.48.4: icmp_seq=2 ttl=126 time=29.2 ms >64 bytes from 172.27.48.4: icmp_seq=3 ttl=126 time=43.2 ms >64 bytes from 172.27.48.4: icmp_seq=4 ttl=126 time=18.4 ms >64 bytes from 172.27.48.4: icmp_seq=5 ttl=126 time=28.5 ms >64 bytes from 172.27.48.4: icmp_seq=6 ttl=126 time=23.8 ms >64 bytes from 172.27.48.4: icmp_seq=7 ttl=126 time=27.6 ms >64 bytes from 172.27.48.4: icmp_seq=8 ttl=126 time=15.4 ms >64 bytes from 172.27.48.4: icmp_seq=9 ttl=126 time=57.1 ms >64 bytes from 172.27.48.4: icmp_seq=10 ttl=126 time=29.8 ms >64 bytes from 172.27.48.4: icmp_seq=11 ttl=126 time=21.9 ms >64 bytes from 172.27.48.4: icmp_seq=12 ttl=126 time=19.2 ms >64 bytes from 172.27.48.4: icmp_seq=13 ttl=126 time=21.4 ms >WARNING: failed to install socket filter >: Protocol not available > >This also occurs in the host details, >I see ping OK, but then >WARNING: failed to install socket filter >: Protocol not available > >It's Redhat Linux with kernel 2.4.18 and 2.4.19. >There are 42 hosts to be checked. > >What's wrong with this? > >Thanks in advance >Nicole > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users _________________________ Rodolfo Siviero Stein PersoCom Network - Goiania http://www.persogo.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From glauber_mcp at hotmail.com Fri Sep 13 14:32:29 2002 From: glauber_mcp at hotmail.com (Glauber Herbert) Date: Fri, 13 Sep 2002 09:32:29 -0300 Subject: Problems with 3D View.... Message-ID: When I try 2 view the 3D map, it's question to open with another program... Which program that I can set up in Browser to view this option???? Thankx _________________________________________________________________ MSN Photos ? a maneira mais f?cil e pr?tica de editar e compartilhar sua fotos: http://photos.msn.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rmayhew at mweb.com Fri Sep 13 14:43:02 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Fri, 13 Sep 2002 14:43:02 +0200 Subject: WARNING: failed to install socket filter Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9BBDC722@mwjdc2.mweb.com> Hi Enable the "Socket Filtering" under Networking Options in your Kernel Settings. And possibly "Network Device Emulation" This should fix the problem. -----Original Message----- From: Rodolfo Siviero Stein [mailto:rstein at persogo.com.br] Sent: 13 September 2002 02:12 PM To: Nicole H?hnel; Nagios Subject: Re: [Nagios-users] WARNING: failed to install socket filter What kind of Network cards you have ? I am experiencing the same problem and thinking about a driver problem. In a IBM Netfinity 3000 (etherexpress pro 10/100 onboard) and any others NIC inside, I see a strange problem. I will explain.... eth0 - 192.168.1.1 eth1 - 192.168.1.2 eth2 - 192.168.1.3 If I remove the network cable from eth1 and eth2, the machine remains responding to ping - for an unknown reason.... eth0 assumes the address of eth1 and eth2. if I remove the network cable from eth0, but connect the cable in eth1 or eth2, the machine stops responding on the network. All the addresses stop responding.... The system is a RedHat 7.3 with Kernel 2.4.19 compiled from sources.... Anybody have an Idea ? Is that normal because all the ip address are in the same subnet ? Any idea of why the NICs stop responding if I remove the cable of the onboard NIC ? thx Rodolfo At 13:52 13/9/2002 +0200, Nicole H?hnel wrote: >Hi, >after starting nagios I get error messages pinging other hosts (on 2 >machines tried, same result): > >[root at Notes-FFM2 var]# ping 172.27.48.4 >PING 172.27.48.4 (172.27.48.4) from 172.27.16.235 : 56(84) bytes of >data. 64 bytes from 172.27.48.4: icmp_seq=1 ttl=126 time=51.9 ms 64 >bytes from 172.27.48.4: icmp_seq=2 ttl=126 time=29.2 ms 64 bytes from >172.27.48.4: icmp_seq=3 ttl=126 time=43.2 ms 64 bytes from 172.27.48.4: >icmp_seq=4 ttl=126 time=18.4 ms 64 bytes from 172.27.48.4: icmp_seq=5 >ttl=126 time=28.5 ms 64 bytes from 172.27.48.4: icmp_seq=6 ttl=126 >time=23.8 ms 64 bytes from 172.27.48.4: icmp_seq=7 ttl=126 time=27.6 ms >64 bytes from 172.27.48.4: icmp_seq=8 ttl=126 time=15.4 ms >64 bytes from 172.27.48.4: icmp_seq=9 ttl=126 time=57.1 ms >64 bytes from 172.27.48.4: icmp_seq=10 ttl=126 time=29.8 ms >64 bytes from 172.27.48.4: icmp_seq=11 ttl=126 time=21.9 ms >64 bytes from 172.27.48.4: icmp_seq=12 ttl=126 time=19.2 ms >64 bytes from 172.27.48.4: icmp_seq=13 ttl=126 time=21.4 ms >WARNING: failed to install socket filter >: Protocol not available > >This also occurs in the host details, >I see ping OK, but then >WARNING: failed to install socket filter >: Protocol not available > >It's Redhat Linux with kernel 2.4.18 and 2.4.19. >There are 42 hosts to be checked. > >What's wrong with this? > >Thanks in advance >Nicole > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf _______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users _________________________ Rodolfo Siviero Stein PersoCom Network - Goiania http://www.persogo.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 rmayhew at mweb.com Fri Sep 13 14:47:46 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Fri, 13 Sep 2002 14:47:46 +0200 Subject: Problems with 3D View.... Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9BBDC723@mwjdc2.mweb.com> Hi Try This URL http://NAGIOS SERVER/docs/cgis.html#statuswrl_cgi -----Original Message----- From: Glauber Herbert [mailto:glauber_mcp at hotmail.com] Sent: 13 September 2002 02:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with 3D View.... When I try 2 view the 3D map, it's question to open with another program... Which program that I can set up in Browser to view this option???? Thankx _________________________________________________________________ MSN Photos ? a maneira mais f?cil e pr?tica de editar e compartilhar sua fotos: http://photos.msn.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 bastiaan at iptower.nl Fri Sep 13 14:50:04 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 13 Sep 2002 14:50:04 +0200 Subject: Problems with 3D View.... In-Reply-To: References: Message-ID: <1031921404.3609.40.camel@baw> install a vrml viewer , just as it says in the docs On Fri, 2002-09-13 at 14:32, Glauber Herbert wrote: > When I try 2 view the 3D map, it's question to open with another program... > > Which program that I can set up in Browser to view this option???? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kenneth.ray at travelersla.com Fri Sep 13 15:22:30 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Fri, 13 Sep 2002 09:22:30 -0400 Subject: compiled versions References: Message-ID: <3D81E696.9061F8B1@travelersla.com> You can use the compiled versions for either 2.6 or 8 I believe they are on the download site?? Message: 2 From: cadennis1 at attbi.com To: nagios-users at lists.sourceforge.net Date: Thu, 12 Sep 2002 20:31:27 +0000 Subject: [Nagios-users] compiled versions of nagios Does anyone know where I can find a compiled version of Nagios 1.0b5 for Solaris 7? Thanks, Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jdhicks at cableone.net Fri Sep 13 15:27:51 2002 From: jdhicks at cableone.net (jdhicks at cableone.net) Date: Fri, 13 Sep 2002 06:27:51 -0700 Subject: Citrix Plugin Message-ID: <861c01c25b29$5c051960$2c00740a@cableone.net> Does anyone know of any Citrix plugins? Thanks, John Hicks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From John at pickaprof.com Fri Sep 13 15:28:39 2002 From: John at pickaprof.com (John W Cunningham) Date: 13 Sep 2002 08:28:39 -0500 Subject: Install Problem Message-ID: <1031923719.1556.254.camel@BigDog.townsville.us> Hello all, I'm a first-time user of Nagios, just evaluating a couple of potential monitoring solutions for a new rack setup. After running a standard install on a RH 7.3 machine with Apache 2.0.40 installed, and editing the base configuration files (mostly just hosts.conf) I am unable to get anywhere in the web interface. I get an error telling me that the service may not be running. So I ran ./nagios status from the /etc/inetd.d/ directory and recieved the following message: nagios dead but subsys locked Any ideas? Thanks, -John ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From chrisd at better-investing.org Fri Sep 13 15:33:44 2002 From: chrisd at better-investing.org (Chris Ditri) Date: Fri, 13 Sep 2002 09:33:44 -0400 Subject: Out of Bounds Message-ID: <200209130933.44195.chrisd@better-investing.org> Hello everyone. I have just finished setting up nagios, to do what my old netsaint system was doing. One of the things I am monitoring is a cluster. I am using passive service checks with nsca/send_nsca for most of the processes monitored within this cluster. On these services I get this a lot: (Return code of 127 is out of bounds - plugin may be missing) Typically, I am checking for numbers of processes, for example, how many cron daemon's are running, how man httpd's, how many zombies etc. So I am using check_procs a lot, and using send_nsca to jam to them to the nagios server. I never used to get these when I was using Netsaint. The cluster machines send out info about every five minutes on all of their monitored processes. They do not do this simultaneously, they are all staggered so that the nagios server is not hit all at once. I have the check_freshness_interval set to 7 minutes... I am pretty sure it was about that on the netsaint server too. What is going on ? Thank you! chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 13 15:37:47 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 13 Sep 2002 09:37:47 -0400 Subject: Citrix Plugin Message-ID: what do you need to check? if you just want to check for existance use check_tcp!1494 if you want something more search the archives. i remember someone had a VB script that did something. i don't remember details but i think it check the registry for logon ability. let me know if you need it, i may have it in an archive. later, dean -----Original Message----- From: jdhicks at cableone.net [mailto:jdhicks at cableone.net] Sent: Friday, September 13, 2002 9:28 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Citrix Plugin Does anyone know of any Citrix plugins? Thanks, John Hicks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 dmourati at cm.math.uiuc.edu Fri Sep 13 15:38:13 2002 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 13 Sep 2002 08:38:13 -0500 (CDT) Subject: Install Problem In-Reply-To: <1031923719.1556.254.camel@BigDog.townsville.us> References: <1031923719.1556.254.camel@BigDog.townsville.us> Message-ID: <20020913083503.F25215-100000@cm.math.uiuc.edu> First idea is to back off to Apache 1.3.x. I don't know whether anyone has Nagios running under 2.0 so I wouldn't recommend a first-timer go that route. Secondly, you need to do the pre-flight check of Nagios to make sure your configuration is correct. Something like /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. It's in the documentation. Most likely, you haven't modified your configuration files at all from the sample ones that were put there bu make install-config. Look at /usr/local/nagios/etc and see if you still have -sample after each of the config files. HTH. On 13 Sep 2002, John W Cunningham wrote: > Hello all, > > I'm a first-time user of Nagios, just evaluating a couple of potential > monitoring solutions for a new rack setup. > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > installed, and editing the base configuration files (mostly just > hosts.conf) I am unable to get anywhere in the web interface. I get an > error telling me that the service may not be running. > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > the following message: > > nagios dead but subsys locked > > Any ideas? > > > Thanks, > -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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Fri Sep 13 15:40:36 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 09:40:36 -0400 Subject: Cgi Authentication Message-ID: <0DA06E553C3BD511823500508BB8965A020120EC@exnadetmbx3.ams.gblxint.com> THis is how I did it: Change the DocumentRoot to DocumentRoot "/usr/local/nagios/share" ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/.htpasswd.users require valid-user Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Apache.conf is set up this way to allow guests to view the nagios site without being prompted for a login (and only prompting if someone attempts to change something I did this here instead of in an .htaccess file for two reasons: 1. The httpd.conf is loaded once, where as the .htaccess file is read every time access to the directory is requested. 2. It puts all the config stuff in one place -----Original Message----- From: Darren Gamble [mailto:Darren.Gamble at sjrb.ca] Sent: Thursday, September 12, 2002 12:14 PM To: 'morgan'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Cgi Authentication Good day, > Morning Everyone, > > I'm haveing a problem with user authentication, I want people > to be able > to > use the "guest" account without having to login, I'm able to > to log in as > myself but everyone a "guest" tries to connect it it still asks for a > password. Remember that it is not Nagios, but Apache (or whatever you are using as a web server) that is asking for authentication. You will either have to create a "guest" account with a user/password in a readable location or printed in the authentication realm, or have your authentication module allow a blank username and password. ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 Fri Sep 13 16:08:30 2002 From: atul at mindsw.com (Atul Gosain) Date: Fri, 13 Sep 2002 19:38:30 +0530 (IST) Subject: Query!! In-Reply-To: <3D80D275.A55AD478@travelersla.com> References: <3D80D275.A55AD478@travelersla.com> Message-ID: <2606.202.88.151.191.1031926110.squirrel@www.webyarn.com> Thanks to all of you. I apologise to some of the members of nagios community, who did not like the title of my mail. Actually I wrote this problem to list with relevant headers but no one was replying. Its just that after some time, i gave the header as "Query". The problem is solved by killing all the processes first after each configuration change and then starting nagios again. Thanks to all of you Atul > there are many possible scenarios that can produce the effect you are > referring to, look at your refresh rate of the CGI's is it set really > high? look at your check times on a particular service and see if they > are set too high? if your not expecting to check a service how can you > expect it to refresh. > if you have all your checks configureed to 10 minutes and you have your > configuration set to execute checks in such a way that possibly your > rotation of checks is such taht the refresh of your browser actually > caches the data and supplies you with the same detail as before. when > using the details.cgi it is highly possible to not see a screen refresh > even though behind the screen it actually is. but because we are talking > the Details CGI i would look directly at the refresh rate for your > cgi's, if this is set to a very high number, even though the nagios > daemon is running, the data passed to the browser will not be > refreshed... > > try setting this rate to every 30 seconds.. and see if this provides > your solution, again this number is normally pretty high, and i think > the default is actually set to 90 so, that is a minute and a half before > the cgi will refresh. if its set to higher at least drop it down to this > level as in most cases 90 is a pertty good tradeoff.. > > > nagios-users-request at lists.sourceforge.net wrote: > >> 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. AW: AW: [Nagios-users] Query!!!! (Joerg.Lutz at lycos-europe.com) >> 2. RE: performance data from plugins - does it exist? (Carroll, Jim >> P [Contractor]) 3. RE: AW: [Nagios-users] Query!!!! (Carroll, Jim P >> [Contractor]) 4. Netware Server Time in Sync Plugin (Kaufman, >> Michael) >> 5. Re: performance data from plugins - does it exist? (Thomas) 6. >> Re: performance data from plugins - does it exist? (Daniel >> Wittenberg) >> >> --__--__-- >> >> Message: 1 >> From: Joerg.Lutz at lycos-europe.com >> To: nagios-users at lists.sourceforge.net >> Subject: AW: AW: [Nagios-users] Query!!!! >> Date: Thu, 12 Sep 2002 16:22:56 +0200 >> >> That's not exactly what I meant. Is there another 'main' nagios >> process running? I know that nagios forks processes to do the >> checking. It's a little tricky to find those additional main >> processes. You have to = check the >> TIME field in the output of 'ps -ef | grep nagios' and look for = >> processes >> with values greater than 0:00.01 or something like that. Is there = >> another >> processes which runs for a while already? If yes, that might be the = >> reason >> for the described behaviour. >> >> -----Urspr=FCngliche Nachricht----- >> Von: Atul Gosain [mailto:atul at mindsw.com] >> Gesendet: Donnerstag, 12. September 2002 16:08 >> An: nagios-users at lists.sourceforge.net >> Betreff: Re: AW: [Nagios-users] Query!!!! >> >> Yes i replied him that multiple nagios daemons are running and they r >> supposed to run because many service checks are done in parallel and >> nagios forks its processes so that it may execute multiple checks >> simultaneously. >> >> > Did you check for multiple nagios daemons running as suggested by >> Tom = >> de >> > Blende? >> > >> > -----Urspr=FCngliche Nachricht----- >> > Von: Atul Gosain [mailto:atul at mindsw.com] >> > Gesendet: Donnerstag, 12. September 2002 15:46 >> > An: nagios-users at lists.sourceforge.net >> > Betreff: [Nagios-users] Query!!!! >> > >> > >> > >> > >> > >> > Can somebody in the nagios community please answer my query????????? >> > >> > >> > I have been getting a very serious problem using Nagios.The service >> details.cgi very often starts showing the old status of the services >> = >> and >> > thus many times show wrong states on the browser. Allthough the = >> service >> > execution and notifications are working well but the cgi's often >> show wrong status which go away after some refreshes on the browser. >> According to me , its doing some caching on server side, because i >> = >> saw >> > it on two different browsers on my system at same time and they both >> were showing wrong status at the same time. >> > This is a very serious problem. If somebody have a solution or know >> = >> the >> > ause of this problem, please help. >> > >> > >> > -- >> > 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 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > 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 >> >> --=20 >> 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 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> 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 -- 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 Daniel.Rusch at GlobalCrossing.com Fri Sep 13 16:20:43 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 10:20:43 -0400 Subject: Install Problem Message-ID: <0DA06E553C3BD511823500508BB8965A020120ED@exnadetmbx3.ams.gblxint.com> FYI, I'm running Apache 2.0.39 No problems Dan -----Original Message----- From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] Sent: Friday, September 13, 2002 8:38 AM To: John W Cunningham Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install Problem First idea is to back off to Apache 1.3.x. I don't know whether anyone has Nagios running under 2.0 so I wouldn't recommend a first-timer go that route. Secondly, you need to do the pre-flight check of Nagios to make sure your configuration is correct. Something like /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. It's in the documentation. Most likely, you haven't modified your configuration files at all from the sample ones that were put there bu make install-config. Look at /usr/local/nagios/etc and see if you still have -sample after each of the config files. HTH. On 13 Sep 2002, John W Cunningham wrote: > Hello all, > > I'm a first-time user of Nagios, just evaluating a couple of potential > monitoring solutions for a new rack setup. > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > installed, and editing the base configuration files (mostly just > hosts.conf) I am unable to get anywhere in the web interface. I get an > error telling me that the service may not be running. > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > the following message: > > nagios dead but subsys locked > > Any ideas? > > > Thanks, > -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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 tdeblend at gcc.dhl.com Fri Sep 13 16:20:18 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 13 Sep 2002 16:20:18 +0200 Subject: Citrix Plugin References: Message-ID: <3D81F422.D9CB8EDF@gcc.dhl.com> That was me :-) This script needs plink.exe (http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe) in the same folder and should be scheduled to run every five minutes on the Citrix server. It writes the logon status of a server straight into the external command file. Be sure to enable this in the configuration of your NetSaint/Nagios setup. You might have to change some stuff every here and there. For example: the line where plink makes the connection (password, hostname, username). Also make sure that you run plink once to connect to your NetSaint server in order to save the SSH host key in the registry. Then while being logged in as that user, using regedit, copy the key from [HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys] to [HKEY_USERS\.DEFAULT\Software\SimonTatham\PuTTY\SshHostKeys] as well. As this is a passive service check, don't forget to read that part from the documentation. This script works in NetSaint, but should work on Nagios as well. If you need any additional info, don't hesitate to contact me. ********************************************************************************************************************************************** '*** Citrix check *** ' 'Created by Tom De Blende ~ 2002 ' '################################################################################################################################# Option Explicit 'All variables should be explicitly declared '################################################################################################################################# 'DECLARING VARIABLES 'Declaring Objects ' Dim objFSO 'Object file system Dim objWshNetwork 'Object network Dim objWshShell 'Object shell Dim objWshEnv 'Object environment Dim objFile 'Declaring string variables ' Dim strStatus Dim strNote Dim strDateUnix0 Dim strDateNow Dim strDate Dim strFile Dim strHost Dim strService Dim strTemp 'Declaring integers Dim intTimeDiff 'Declaring arrays ' '################################################################################################################################# Set objWshNetwork = Wscript.CreateObject("Wscript.Network") Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject") Set objWshShell = Wscript.CreateObject("Wscript.Shell") Set objWshEnv = objWshShell.Environment("PROCESS") 'Setting strTemp '################################################################################################################################# 'CHANGE THESE SETTINGS: 'Enter the hostname the Citrix host has in NetSaint (case sensitive!), you can use the predefined function, or enter this hard-coded strHost = LCase(objWshNetwork.ComputerName) 'Enter the Service Description this service has in NetSaint (case sensitive!) strService = "Citrix Logins" 'Enter the time difference in minutes between your time zone and UTC. intTimeDiff = "7200" 'Enter the name of command file strFile = "status.tmp" '################################################################################################################################# 'NOTHING TO BE CHANGED FROM HERE EXCEPT SSH PARAMETERS OF PLINK 'Calculate time_t Unix Time strDateUnix0 = "1/01/70 00:00:00" strDateNow = Now strDate = DateDiff ("s", strDateUnix0, strDateNow) strDate = strDate - intTimeDiff 'Read logon status from registry strStatus = objWshShell.RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\WinStationsDisabled") 'Assign error code and comments If strStatus = "0" Then strNote = "Remote Citrix logins are currently ENABLED." ElseIf strStatus = "1" Then strNote = "Remote Citrix logins are currently DISABLED." End If 'Append info to a text file in the correct format. Set objFile = objFSO.OpenTextFile(strFile, 2, True) objFile.WriteLine "echo '[" & strDate & "] PROCESS_SERVICE_CHECK_RESULT;" & strHost & ";" & strService & ";" & strStatus & ";" & strNote & "' >> /usr/local/netsaint/var/rw/netsaint.cmd" objFile.Close objWshShell.Run "plink.exe -ssh -pw -m status.tmp @", 0, True Wscript.Quit ********************************************************************************************************************************************** "Bishop, Dean" wrote: > > what do you need to check? if you just want to check for existance use > check_tcp!1494 > > if you want something more search the archives. i remember someone had a VB > script that did something. i don't remember details but i think it check > the registry for logon ability. > > let me know if you need it, i may have it in an archive. > > later, > dean > > -----Original Message----- > From: jdhicks at cableone.net [mailto:jdhicks at cableone.net] > Sent: Friday, September 13, 2002 9:28 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Citrix Plugin > > Does anyone know of any Citrix plugins? Thanks, > > John Hicks > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 -- 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 jasonm at kelman.com Fri Sep 13 16:26:38 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 13 Sep 2002 08:26:38 -0600 (MDT) Subject: Install Problem In-Reply-To: <20020913083503.F25215-100000@cm.math.uiuc.edu> References: <20020913083503.F25215-100000@cm.math.uiuc.edu> Message-ID: > First idea is to back off to Apache 1.3.x. I don't know whether anyone > has Nagios running under 2.0 so I wouldn't recommend a first-timer go that > route. nagios:(root):/usr/local/apache/bin# ./httpd -v Server version: Apache/2.0.40 Server built: Aug 19 2002 15:46:28 Piece of cake getting it going -- no surprises whatsoever. This is self-built, from source, on Solaris 8 SPARC, though, so your mileage may vary. --- 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 John at pickaprof.com Fri Sep 13 16:25:59 2002 From: John at pickaprof.com (John W Cunningham) Date: 13 Sep 2002 09:25:59 -0500 Subject: Install Problem In-Reply-To: <20020913083503.F25215-100000@cm.math.uiuc.edu> References: <20020913083503.F25215-100000@cm.math.uiuc.edu> Message-ID: <1031927160.1555.259.camel@BigDog.townsville.us> Unfortunately backing down Apache isn't really an option - but I don't think that's the problem... I'm getting errors in the checkcommands.cfg file - it doesn't like a single command. If I run them live in lib_exec it works fine. I wonder if the HOSTADDRESS and ARGS1 variables aren't getting set - I couldn't find them in any config file - where are those? -John On Fri, 2002-09-13 at 08:38, Demetri Mouratis wrote: > First idea is to back off to Apache 1.3.x. I don't know whether anyone > has Nagios running under 2.0 so I wouldn't recommend a first-timer go that > route. > > Secondly, you need to do the pre-flight check of Nagios to make sure your > configuration is correct. Something like /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg. It's in the documentation. > > Most likely, you haven't modified your configuration files at all from the > sample ones that were put there bu make install-config. > > Look at /usr/local/nagios/etc and see if you still have -sample after each > of the config files. > > HTH. > On 13 Sep 2002, John W Cunningham wrote: > > > Hello all, > > > > I'm a first-time user of Nagios, just evaluating a couple of potential > > monitoring solutions for a new rack setup. > > > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > > installed, and editing the base configuration files (mostly just > > hosts.conf) I am unable to get anywhere in the web interface. I get an > > error telling me that the service may not be running. > > > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > > the following message: > > > > nagios dead but subsys locked > > > > Any ideas? > > > > > > Thanks, > > -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 > > > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 Garry.Cook at mactec.com Fri Sep 13 16:26:44 2002 From: Garry.Cook at mactec.com (Garry Cook) Date: Fri, 13 Sep 2002 08:26:44 -0600 Subject: Citrix Plugin Message-ID: <186C7335CA35094D95611F4F61A63EAD44DB0C@gdn-exch1.mactec.com> I use the following line in my services.cfg to check Citrix. service[citrix1]=CITRIX;0;24x7;2;9;3;servers-citrix-pri,servers-citrix-sec;60;workhours;1;1;0;;check_tcp!1494 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: jdhicks at cableone.net [mailto:jdhicks at cableone.net] > Sent: Friday, September 13, 2002 7:28 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Citrix Plugin > > > Does anyone know of any Citrix plugins? Thanks, > > John Hicks > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Fri Sep 13 16:28:23 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 10:28:23 -0400 Subject: Recall: Install Problem Message-ID: <0DA06E553C3BD511823500508BB8965A020120EE@exnadetmbx3.ams.gblxint.com> Rusch, Daniel would like to recall the message, "[Nagios-users] Install Problem". ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Fri Sep 13 16:35:25 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 10:35:25 -0400 Subject: Install Problem Message-ID: <0DA06E553C3BD511823500508BB8965A020120EF@exnadetmbx3.ams.gblxint.com> Sorry my bad, I've gotten about 10 hrs of sleep total in the last four days. I meant to write that I too had problems with Apache 2.0.39 but had No problems with the exact same nagios build/cfg's on Apache 1 Thanks, once again sorry Dan -----Original Message----- From: Rusch, Daniel Sent: Friday, September 13, 2002 9:21 AM To: 'Demetri Mouratis'; John W Cunningham Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Install Problem FYI, I'm running Apache 2.0.39 No problems Dan -----Original Message----- From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] Sent: Friday, September 13, 2002 8:38 AM To: John W Cunningham Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install Problem First idea is to back off to Apache 1.3.x. I don't know whether anyone has Nagios running under 2.0 so I wouldn't recommend a first-timer go that route. Secondly, you need to do the pre-flight check of Nagios to make sure your configuration is correct. Something like /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. It's in the documentation. Most likely, you haven't modified your configuration files at all from the sample ones that were put there bu make install-config. Look at /usr/local/nagios/etc and see if you still have -sample after each of the config files. HTH. On 13 Sep 2002, John W Cunningham wrote: > Hello all, > > I'm a first-time user of Nagios, just evaluating a couple of potential > monitoring solutions for a new rack setup. > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > installed, and editing the base configuration files (mostly just > hosts.conf) I am unable to get anywhere in the web interface. I get an > error telling me that the service may not be running. > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > the following message: > > nagios dead but subsys locked > > Any ideas? > > > Thanks, > -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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From John at pickaprof.com Fri Sep 13 16:38:27 2002 From: John at pickaprof.com (John W Cunningham) Date: 13 Sep 2002 09:38:27 -0500 Subject: Install Problem In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120EF@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120EF@exnadetmbx3.ams.gblxint.com> Message-ID: <1031927908.1561.262.camel@BigDog.townsville.us> Understood - but I can't even get the daemon running right now. It doesn't like any of the command lines. On Fri, 2002-09-13 at 09:35, Rusch, Daniel wrote: > Sorry my bad, I've gotten about 10 hrs of sleep total in the last four days. > > > I meant to write that I too had problems with Apache 2.0.39 > > but had No problems with the exact same nagios build/cfg's on Apache 1 > > Thanks, once again sorry > > Dan > > > -----Original Message----- > From: Rusch, Daniel > Sent: Friday, September 13, 2002 9:21 AM > To: 'Demetri Mouratis'; John W Cunningham > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Install Problem > > > FYI, I'm running Apache 2.0.39 > > No problems > > Dan > > -----Original Message----- > From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] > Sent: Friday, September 13, 2002 8:38 AM > To: John W Cunningham > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Install Problem > > > First idea is to back off to Apache 1.3.x. I don't know whether anyone > has Nagios running under 2.0 so I wouldn't recommend a first-timer go that > route. > > Secondly, you need to do the pre-flight check of Nagios to make sure your > configuration is correct. Something like /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg. It's in the documentation. > > Most likely, you haven't modified your configuration files at all from the > sample ones that were put there bu make install-config. > > Look at /usr/local/nagios/etc and see if you still have -sample after each > of the config files. > > HTH. > On 13 Sep 2002, John W Cunningham wrote: > > > Hello all, > > > > I'm a first-time user of Nagios, just evaluating a couple of potential > > monitoring solutions for a new rack setup. > > > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > > installed, and editing the base configuration files (mostly just > > hosts.conf) I am unable to get anywhere in the web interface. I get an > > error telling me that the service may not be running. > > > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > > the following message: > > > > nagios dead but subsys locked > > > > Any ideas? > > > > > > Thanks, > > -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 > > > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From SMF at lbsltd.co.uk Fri Sep 13 16:43:04 2002 From: SMF at lbsltd.co.uk (Steve Freegard) Date: Fri, 13 Sep 2002 15:43:04 +0100 Subject: Install Problem Message-ID: <67D9E7698329D411936E00508B6590B9A5B41B@neelix.lbsltd.co.uk> John, Please post the pre-flight check output to the list, and maybe attach your checkcommands.cfg file as well. This should help the list determine what the problem is. Regards, Steve. -- Steve Freegard Systems Manager Littlehampton Book Services Ltd. DDI: +44 (0)1903 828594 FAX: +44 (0)1903 828620 -----Original Message----- From: John W Cunningham [mailto:John at pickaprof.com] Sent: 13 September 2002 15:26 To: Demetri Mouratis Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install Problem Unfortunately backing down Apache isn't really an option - but I don't think that's the problem... I'm getting errors in the checkcommands.cfg file - it doesn't like a single command. If I run them live in lib_exec it works fine. I wonder if the HOSTADDRESS and ARGS1 variables aren't getting set - I couldn't find them in any config file - where are those? -John On Fri, 2002-09-13 at 08:38, Demetri Mouratis wrote: > First idea is to back off to Apache 1.3.x. I don't know whether anyone > has Nagios running under 2.0 so I wouldn't recommend a first-timer go that > route. > > Secondly, you need to do the pre-flight check of Nagios to make sure your > configuration is correct. Something like /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg. It's in the documentation. > > Most likely, you haven't modified your configuration files at all from the > sample ones that were put there bu make install-config. > > Look at /usr/local/nagios/etc and see if you still have -sample after each > of the config files. > > HTH. > On 13 Sep 2002, John W Cunningham wrote: > > > Hello all, > > > > I'm a first-time user of Nagios, just evaluating a couple of potential > > monitoring solutions for a new rack setup. > > > > After running a standard install on a RH 7.3 machine with Apache 2.0.40 > > installed, and editing the base configuration files (mostly just > > hosts.conf) I am unable to get anywhere in the web interface. I get an > > error telling me that the service may not be running. > > > > So I ran ./nagios status from the /etc/inetd.d/ directory and recieved > > the following message: > > > > nagios dead but subsys locked > > > > Any ideas? > > > > > > Thanks, > > -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 > > > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ejl at man.fwltech.com Fri Sep 13 16:46:47 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 13 Sep 2002 15:46:47 +0100 Subject: Install Problem Message-ID: <1012BD903945D411915500105A48FF57F06305@nt.man.fwltech.com> HOSTADDRESS is set internally by nagios - its the ip address of whatever you are testing. $ARG1$ $ARG2$ and so on are set in your services definition. define service{ host_name abc service_description users check_command check_users!500!1000 use defaultaixservice } will set ARG1 to be 500 and ARG2 to be 1000 Ewan > -----Original Message----- > From: John W Cunningham [mailto:John at pickaprof.com] > Sent: 13 September 2002 15:26 > To: Demetri Mouratis > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Install Problem > > > Unfortunately backing down Apache isn't really an option - but I don't > think that's the problem... > > I'm getting errors in the checkcommands.cfg file - it doesn't like a > single command. If I run them live in lib_exec it works > fine. I wonder > if the HOSTADDRESS and ARGS1 variables aren't getting set - I couldn't > find them in any config file - where are those? > > -John > > On Fri, 2002-09-13 at 08:38, Demetri Mouratis wrote: > > First idea is to back off to Apache 1.3.x. I don't know > whether anyone > > has Nagios running under 2.0 so I wouldn't recommend a > first-timer go that > > route. > > > > Secondly, you need to do the pre-flight check of Nagios to > make sure your > > configuration is correct. Something like > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg. It's in the documentation. > > > > Most likely, you haven't modified your configuration files > at all from the > > sample ones that were put there bu make install-config. > > > > Look at /usr/local/nagios/etc and see if you still have > -sample after each > > of the config files. > > > > HTH. > > On 13 Sep 2002, John W Cunningham wrote: > > > > > Hello all, > > > > > > I'm a first-time user of Nagios, just evaluating a couple > of potential > > > monitoring solutions for a new rack setup. > > > > > > After running a standard install on a RH 7.3 machine with > Apache 2.0.40 > > > installed, and editing the base configuration files (mostly just > > > hosts.conf) I am unable to get anywhere in the web > interface. I get an > > > error telling me that the service may not be running. > > > > > > So I ran ./nagios status from the /etc/inetd.d/ directory > and recieved > > > the following message: > > > > > > nagios dead but subsys locked > > > > > > Any ideas? > > > > > > > > > Thanks, > > > -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 > > > > > > > > --------------------------------------------------------------------- > > Demetri Mouratis > > dmourati at linfactory.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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ajeffco at orhs.org Fri Sep 13 17:12:56 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Fri, 13 Sep 2002 11:12:56 -0400 Subject: Weirdness with check_ping Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F566A@MAIL01.orhs.org> Hello All, I've noticed some weirdness in my event log for Nagios. Here is a sample entry: [09-13-2002 07:55:42] SERVICE ALERT: hawk;SMTP;OK;SOFT;3;SMTP OK - 0 second response time [09-13-2002 07:54:23] SERVICE ALERT: hawk;SMTP;CRITICAL;SOFT;2;Connection refused by host [09-13-2002 07:53:53] SERVICE ALERT: hawk;SMTP;CRITICAL;SOFT;1;Connection refused by host [09-13-2002 07:32:22] SERVICE ALERT: falcon1;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 0.00 ms [09-13-2002 07:31:32] SERVICE ALERT: falcon1;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 858993472.00 ms [09-13-2002 07:28:52] Auto-save of retention data completed successfully. [09-13-2002 07:20:22] SERVICE ALERT: eagle;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 0.00 ms [09-13-2002 07:19:32] SERVICE ALERT: eagle;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 858993472.00 ms [09-13-2002 07:04:32] SERVICE ALERT: eagle;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 0.00 ms [09-13-2002 07:03:42] SERVICE ALERT: eagle;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 858993472.00 ms Notice the high RTA entries... I have many more entries from multiple machines like that one. When I run the check_ping command by hand, it works fine. Here's a sample: [/nagios/libexec] ># ./check_ping -H eagle -w100,20% -c500,60% PING OK - Packet loss = 0%, RTA = 0.00 ms Just to show that it actually get's a really real RTA: [/nagios/libexec] ># ./check_ping -H orhs.org -w100,20% -c500,60% PING OK - Packet loss = 0%, RTA = 9.00 ms Any ideas why it would be getting such an outrageous RTA? And, what's the first step to try to troubleshoot this? I'm running Nagios 1.05b, with nagiosplug-1.3-beta1, on an AIX 5.1 system. TIA, Al Jeffcoat -------------- next part -------------- An HTML attachment was scrubbed... URL: From John at pickaprof.com Fri Sep 13 17:47:44 2002 From: John at pickaprof.com (John W Cunningham) Date: 13 Sep 2002 10:47:44 -0500 Subject: Install Problem In-Reply-To: <1012BD903945D411915500105A48FF57F06305@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F06305@nt.man.fwltech.com> Message-ID: <1031932064.1555.266.camel@BigDog.townsville.us> Thanks for all the help Nagios-ers - I got it running on a fresh install on a different box - the problem was all in the config files. Now I just play with some permissions and I'm all set. -John On Fri, 2002-09-13 at 09:46, Ewan Leith wrote: > HOSTADDRESS is set internally by nagios - its the ip address of whatever you > are testing. $ARG1$ $ARG2$ and so on are set in your services definition. > > > define service{ > host_name abc > service_description users > check_command check_users!500!1000 > use defaultaixservice > } > > will set ARG1 to be 500 and ARG2 to be 1000 > > Ewan > > > -----Original Message----- > > From: John W Cunningham [mailto:John at pickaprof.com] > > Sent: 13 September 2002 15:26 > > To: Demetri Mouratis > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Install Problem > > > > > > Unfortunately backing down Apache isn't really an option - but I don't > > think that's the problem... > > > > I'm getting errors in the checkcommands.cfg file - it doesn't like a > > single command. If I run them live in lib_exec it works > > fine. I wonder > > if the HOSTADDRESS and ARGS1 variables aren't getting set - I couldn't > > find them in any config file - where are those? > > > > -John > > > > On Fri, 2002-09-13 at 08:38, Demetri Mouratis wrote: > > > First idea is to back off to Apache 1.3.x. I don't know > > whether anyone > > > has Nagios running under 2.0 so I wouldn't recommend a > > first-timer go that > > > route. > > > > > > Secondly, you need to do the pre-flight check of Nagios to > > make sure your > > > configuration is correct. Something like > > /usr/local/nagios/bin/nagios -v > > > /usr/local/nagios/etc/nagios.cfg. It's in the documentation. > > > > > > Most likely, you haven't modified your configuration files > > at all from the > > > sample ones that were put there bu make install-config. > > > > > > Look at /usr/local/nagios/etc and see if you still have > > -sample after each > > > of the config files. > > > > > > HTH. > > > On 13 Sep 2002, John W Cunningham wrote: > > > > > > > Hello all, > > > > > > > > I'm a first-time user of Nagios, just evaluating a couple > > of potential > > > > monitoring solutions for a new rack setup. > > > > > > > > After running a standard install on a RH 7.3 machine with > > Apache 2.0.40 > > > > installed, and editing the base configuration files (mostly just > > > > hosts.conf) I am unable to get anywhere in the web > > interface. I get an > > > > error telling me that the service may not be running. > > > > > > > > So I ran ./nagios status from the /etc/inetd.d/ directory > > and recieved > > > > the following message: > > > > > > > > nagios dead but subsys locked > > > > > > > > Any ideas? > > > > > > > > > > > > Thanks, > > > > -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 > > > > > > > > > > > > --------------------------------------------------------------------- > > > Demetri Mouratis > > > dmourati at linfactory.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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Fri Sep 13 17:49:32 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 11:49:32 -0400 Subject: urlize usage Message-ID: <0DA06E553C3BD511823500508BB8965A020120F1@exnadetmbx3.ams.gblxint.com> All I have defined the following command: # 'check_ping_local_urlized' command definition define command{ command_name check_ping_local_urlized command_line $USER1$/urlize /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ check_ping -H $HOSTADDRESS$ -w 150:25% -c 1000:50% -p 5 } If I run it from the command line (replacing HOSADDRESS of course) it works, but from nagios I get an error: Problem no data recieived from host. Any thoughs. Sincerely, Daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris.Ehlers at Mosaic-UK.com Fri Sep 13 17:59:02 2002 From: Chris.Ehlers at Mosaic-UK.com (Chris Ehlers) Date: Fri, 13 Sep 2002 16:59:02 +0100 Subject: (no subject) Message-ID: <91F7DC4846569F4E8952586A8BCBE95F69C00D@willie.mail.mosaicps.co.uk> When I want to start nagios I get the following error message. [root at stats cxxx]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 1.0b5 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 08-12-2002 License: GPL Reading configuration data... Error: Host 'mail.mdsuk.net' has already been defined Error: Could not register host (config file '/usr/local/nagios/etc/hosts.cfg', line 34) ***> 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. I have the following hosts.cfg file # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/res olution 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 acro ss 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! } # 'host.name' host definition define host{ use generic-host ; Name of host template to use host_name host.name alias Mail address a.x.y.z check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Christiaan Ehlers Network Specialist Mosaic UK 40 The Strand, London, WC2N 5HZ Direct Dial: 0207925 8741 Fax: 0870 7368822 Email: chris.ehlers at mosaic-uk.com www.mosaic.com Real Solutions. Real Results ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Sep 13 18:38:03 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 13 Sep 2002 12:38:03 -0400 Subject: urlize usage References: <0DA06E553C3BD511823500508BB8965A020120F1@exnadetmbx3.ams.gblxint.com> Message-ID: <3D82146B.1020805@quadrix.com> Wait, lets try this again...I missed something: Try changing the command_line to: command_line $USER1$/urlize "/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$" "$USER1$/check_ping -H $HOSTADDRESS$ -w 150,25% -c 1000,50% -p 5" All I did was put quotes around the two arguments to urlize and changed the colons to commas for the warning/critical levels. I know commas work, I don't know about the colons. * I also added the $USER1$ before the check_ping...I have a feeling that's your real problem. Otherwise it might not find the plugin. If you were trying this from within your libexec directory, then it would have worked, but Nagios wouldn't be able to find the plugin. * -Russell Rusch, Daniel wrote: >All > >I have defined the following command: > ># 'check_ping_local_urlized' command definition >define command{ > command_name check_ping_local_urlized > command_line $USER1$/urlize >/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ check_ping -H $HOSTADDRESS$ -w >150:25% -c 1000:50% -p 5 > } > >If I run it from the command line (replacing HOSADDRESS of course) it works, >but from nagios I get an error: Problem no data recieived from host. > >Any thoughs. > >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 > > -- 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 russell at quadrix.com Fri Sep 13 18:35:24 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 13 Sep 2002 12:35:24 -0400 Subject: urlize usage References: <0DA06E553C3BD511823500508BB8965A020120F1@exnadetmbx3.ams.gblxint.com> Message-ID: <3D8213CC.1080808@quadrix.com> Try changing the command_line to: command_line $USER1$/urlize "/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$" "check_ping -H $HOSTADDRESS$ -w 150,25% -c 1000,50% -p 5" All I did was put quotes around the two arguments to urlize and changed the colons to commas for the warning/critical levels. I know commas work, I don't know about the colons. -Russell Rusch, Daniel wrote: >All > >I have defined the following command: > ># 'check_ping_local_urlized' command definition >define command{ > command_name check_ping_local_urlized > command_line $USER1$/urlize >/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ check_ping -H $HOSTADDRESS$ -w >150:25% -c 1000:50% -p 5 > } > >If I run it from the command line (replacing HOSADDRESS of course) it works, >but from nagios I get an error: Problem no data recieived from host. > >Any thoughs. > >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 > > -- 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 Sep 13 18:58:01 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 12:58:01 -0400 Subject: urlize usage Message-ID: <0DA06E553C3BD511823500508BB8965A020120F2@exnadetmbx3.ams.gblxint.com> Russell, Thanks for your help, been awake for 36+ hrs, yep it can't execute something it can't find.... Thanks again BTW quotes weren't needed Dan -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Friday, September 13, 2002 11:38 AM To: Rusch, Daniel Cc: Nagios-User (E-mail) Subject: Re: [Nagios-users] urlize usage Wait, lets try this again...I missed something: Try changing the command_line to: command_line $USER1$/urlize "/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$" "$USER1$/check_ping -H $HOSTADDRESS$ -w 150,25% -c 1000,50% -p 5" All I did was put quotes around the two arguments to urlize and changed the colons to commas for the warning/critical levels. I know commas work, I don't know about the colons. * I also added the $USER1$ before the check_ping...I have a feeling that's your real problem. Otherwise it might not find the plugin. If you were trying this from within your libexec directory, then it would have worked, but Nagios wouldn't be able to find the plugin. * -Russell Rusch, Daniel wrote: >All > >I have defined the following command: > ># 'check_ping_local_urlized' command definition >define command{ > command_name check_ping_local_urlized > command_line $USER1$/urlize >/nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ check_ping -H $HOSTADDRESS$ -w >150:25% -c 1000:50% -p 5 > } > >If I run it from the command line (replacing HOSADDRESS of course) it works, >but from nagios I get an error: Problem no data recieived from host. > >Any thoughs. > >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 > > -- 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 joblow7777 at yahoo.com Fri Sep 13 19:32:33 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 13 Sep 2002 10:32:33 -0700 (PDT) Subject: Libraries needed Message-ID: <20020913173233.31716.qmail@web13005.mail.yahoo.com> According to the FAQs, to compile nagios and get the graphics to display properly (at least with the statusmap), you need the following things installed: libgd libgd-devel libpng libpng-devel libjpeg libjpeg-devel zlib zlib-devel I've been able to find libgd, libpng, libjpeg, and zlib, but where are the development libraries? Specifically, I'm looking for the ones for Solaris for SPARC. Thanks! __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Fri Sep 13 05:26:53 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 13 Sep 2002 13:26:53 +1000 Subject: How does Nagios determine that a host recovers? Message-ID: <5.1.0.14.2.20020913132050.00ab36a8@imap.qut.edu.au> Hi all, This may be one of those questions that has a painfully obvious answer, but I can't find it after checking documentation - How does nagios determine that a host has recovered? If a host is in a critical or unreachable state, Nagios stops doing service checks, right? Am I missing the obvious here? 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 Daniel.Rusch at GlobalCrossing.com Fri Sep 13 19:51:32 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 13 Sep 2002 13:51:32 -0400 Subject: Cygwin and nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A020120F3@exnadetmbx3.ams.gblxint.com> All, I have successfully compiled and run nrpe on a windows box in a cygwin shell. I then was able to have my nagios host execute an nrpe command against the nrpe daemon running in the cygwin shell on the windows box and the daemon returned the correct data. Has anyone actually done this in a production environment? Are there security concerns (other than the obvious like ensure telnet is disabled)? Stability concerns? Can Cygwin run as a service under windows? I was able to get nrpe to run (or appear to run ) without cygwin running but without cygwin running nrpe doesn't seem to actually listen on a port. What we are doing is using nrpe to cascade through several servers to ensure that the actual path is up (through DMZ's and the like). For example Nagios is running on server A, nrpe daemon run on servers B, C and D. Nagios executes a service for B with a command of check_nrpe!check_c The daemon on B then executes check_c which in turn causes server c to execute check_d. This works great as long as all boxes are unix or all are unix and the last one is windows running nsclient. Unfortunately some of the systems us windows boxes in the middle of the system and this breaks the chain. With cygwin I believe I can over come this problem. Sincerely, Daniel G. Rusch ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Sep 13 20:09:11 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 13 Sep 2002 14:09:11 -0400 Subject: How does Nagios determine that a host recovers? References: <5.1.0.14.2.20020913132050.00ab36a8@imap.qut.edu.au> Message-ID: <3D8229C7.8060908@quadrix.com> No, it continues on with the normally scheduled service checks at whatever interval the normal_check_interval is set at. It doesn't do the retries at the retry_check_interval since the service is already in a Hard Non-OK state. Whenever Nagios sees that a service is OK on a host that is currently "Down", the host state will return to OK. -Russell Greg Vickers wrote: > Hi all, > This may be one of those questions that has a painfully obvious > answer, but I can't find it after checking documentation - How does > nagios determine that a host has recovered? If a host is in a critical > or unreachable state, Nagios stops doing service checks, right? Am I > missing the obvious here? > > 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 > _______________________________________________ > 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 mp at xmission.com Fri Sep 13 20:25:45 2002 From: mp at xmission.com (Myke Place) Date: Fri, 13 Sep 2002 12:25:45 -0600 (MDT) Subject: Granular authorization Message-ID: Hi all, I'm trying configure authorization and I'm running into a spot of trouble. I'm hoping that somebody can provide some helpful comments or direction. Right now we're allowing guests to authenticate to the webserver without a username and password through a configuration in the Apache webserver that looks like this: ScriptAlias /nagios/cgi-bin/ /usr/local/adm/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order Deny,Allow Deny from [INTERNAL IP'S] Satisfy any with nagios/sbin being protected with the following: AuthName "Monitoring and Administration" AuthType Basic AuthUserFile /usr/local/adm/nagios/etc/htpasswd.users require valid-user The cgi.cfg file include the following: authorized_for_all_services=adminuser,guest authorized_for_all_hosts=adminuser,guest Of course guest is not listed in authorized_for_system_commands, etc. The net result of this is that anyone who is not coming from an IP address not specified in httpd.conf (the public) is prompted for a username and password and those who are get a prompt (our staff) where they can view and change hosts and services for which they are a contact. Here's the dillema: We want to be able to give guests who don't get a uname/pass prompt access to some hosts and not others. However, if we add as a contact for a host, this also allows the public to be able to issue commands to those hosts through the Nagios web interface. Is there a way to give this guest user perms such that they could only view a certain set of hosts and not be able to issue commands anywhere? Any ideas or suggestions would be very much appreciated. Thanks. -------------------- Myke Place mp at xmission.com 801.539.0852 www.radiojournal.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From glauber_mcp at hotmail.com Fri Sep 13 20:31:08 2002 From: glauber_mcp at hotmail.com (Glauber Herbert) Date: Fri, 13 Sep 2002 15:31:08 -0300 Subject: How to.... Message-ID: Now I trying to organize my computer ins groups.... It's possible to create, per example: Enterprise Group ( with all computers of my enterprise) Stores Group ( with all computers of stores ) ???? I trying to organize the view of Nagios.. Please help me... Thankx _________________________________________________________________ MSN Photos ? a maneira mais f?cil e pr?tica de editar e compartilhar sua fotos: http://photos.msn.com.br ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Fri Sep 13 20:59:42 2002 From: jragle at unm.edu (Jamin) Date: Fri, 13 Sep 2002 12:59:42 -0600 (MDT) Subject: Nagios and SSL In-Reply-To: References: Message-ID: I'm using ssl with webmin and wrapped nagios inside it. It took a little hacking but it works nicely. Now if the netsaint module for webmin got updated, I could edit the config files via webmin too and I could drop that hacks I put in. Webmin is useful for the ssl and authentication when using nagios. It is almost as easy as installing nagios into the webmin dir. -Jamin On Tue, 10 Sep 2002, Subhendu Ghosh wrote: > Nagios doesn't care what webserver, so long as it can support CGIs > > > On Tue, 10 Sep 2002, Nate wrote: > > > I have a question of my own on this topic: > > > > I currently have Nagios running quite well without SSL. I'm going to add SSL > > to the virtual host in Apache - Is there anything I need to be aware of, or > > should this work just as it did without the SSL (I'm thinking it should, but > > I have to ask...)? > > > > Thanks, > > > > Nate D. > > > > > > On Tuesday 10 September 2002 10:36 am, Jason Marshall wrote: > > > > How do I go about wrapping all Nagios pages with SSL using apache? > > > > > > Scott, this is _way_ outside the scope of this mailing list. > > > > > > Go get mod_ssl and openssl for your platform, and read the mod_ssl > > > documentation -- it's quite straight forward upon reading the installation > > > document there. > > > > > > --- > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > > > > > > > ------------------------------------------------------- > > 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_______________________________________________ > > Nagios-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 > ---------------------------------------------------------------------- "Holy jumpin mother o' God in a side-car with chocolate jimmies and a lobster bib." -- Sam from Sam & Max ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bamundson at bbn.com Fri Sep 13 21:09:46 2002 From: bamundson at bbn.com (Brandon Amundson) Date: Fri, 13 Sep 2002 15:09:46 -0400 Subject: How does Nagios determine that a host recovers? Message-ID: I posted a message similar to this last week and did not receive a response. My question was, When a service goes down the status of the host also is shown as down. And when the service recovers, the status of the host is still shown as down. So, according to the message below, host status should return to the ok state once the service comes up? What if it doesn't? What should I look at, what could be misconfigured. I also was wondering what causes this error in my alert email? Info: check_ping: %s: Warning threshold must be integer or percentage! No, it continues on with the normally scheduled service checks at whatever interval the normal_check_interval is set at. It doesn't do the retries at the retry_check_interval since the service is already in a Hard Non-OK state. Whenever Nagios sees that a service is OK on a host that is currently "Down", the host state will return to OK. Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jragle at unm.edu Sat Sep 14 00:04:48 2002 From: jragle at unm.edu (Jamin) Date: Fri, 13 Sep 2002 16:04:48 -0600 (MDT) Subject: check_ldap strangeness Message-ID: I am running check_ldap (nagios-plugins 1.3.0-alpha1) version 1.1.1.1 and am getting some strange behavior. If someone else who is running ldap server let me know if their plugin is working, that would be great. It seems to me that the $HOSTADDRESS$ variable is not being transfered to nagios correctly. # 'check_ldap' command definition define command{ command_name check_ldap command_line $USER1$/check_ldap -H $HOSTADDRESS$ -p 389 -b "o=Acme Industries, c=us" -w 5 -c 120 } If I replace the $HOSTADDRESS$ variable with a real IP, the plugin works fine. If I keep it the same, the IP is not passed correctly when it gets executed and reports an error saying it could not connect to port 389. If you are wondering, the host ip is correct becuase the oter services on the host report back fine too. -Jamin ---------------------------------------------------------------------- "If tautology is a good word for circular reasoning, then shouldn't it be its own definition?" ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Sat Sep 14 01:29:52 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 13 Sep 2002 19:29:52 -0400 Subject: performance data from plugins - does it exist? In-Reply-To: <3D806246.1010201@cvf.fr> References: <3D7F7061.7000004@cvf.fr> <1031797211.4319.3.camel@miles.debisschop.net> <3D806246.1010201@cvf.fr> Message-ID: <1031959793.6146.3.camel@miles.debisschop.net> On Thu, 2002-09-12 at 05:45, Thomas wrote: > Karl DeBisschop wrote: > > >On Wed, 2002-09-11 at 12:33, Thomas wrote: > > > > > >>H?h?, > >> > >>I need exactly the same things ;) > >>We can reformulate the question to: > >> > >><< What's the solution to graph performance data (cpu, http, ftp, mysql > >>cnx, etc) >> > >> > >>For example, it's very interesting to see the cpu load rising in a time > >>period (like a month, etc) > >> > >>thanks > >>Thomas > >> > >> > >>atonns at mail.ivillage.com wrote: > >> > >> > >> > >>>I've noticed that none of the plugins that I'm interested in using > >>>(http, ftp, dns, etc.) do not have any options to return performance > >>>data. I'd like to be able to collect performance data for graphing and > >>>analyzing trends, service peaks, etc., but I can't find it in the plugins. > >>> > >>>Are there configuration directives other than > >>>process_performance_data, host_perfdata_command and > >>>service_perfdata_command that I'm missing? > >>> > >>>Finally, if someone HAS created custom plugins that make use these > >>>directives (or other methods for collecting performance data) can you > >>>share them? > >>> > >>> > > > >The only patches I ever got for performance data were for a previous > >version. I never had the time to prot them forward to the CVS tree at > >that time. > > > >If anyone makes patches relative to the current nagiosplug CVS tree, and > >make sure only the perf data part is patched, we could get it in fairly > >quickly. Otherwise, its just a question of when we can get to it. It's > >pretty high on my priority list, but my job and my family are higher. > > > >-- > >Karl > > > > > > > > > > > > Hi Karl, > > You said a "patch" for nagios_plugins or for the nagios motor ? I would want separate patches for each nagions plugin against the current CVS tree. The 'motor' (I assume you mean nagios itself) already has the support. If I/we get a managable trickle of such patches (say 2 per week), and they are of good quality, then we can pretty much asure everyone they will be applied within days. Otherwise, we'll try our best, but there are other patches and bugs too, plus or jobs... Well you know the drill. That;s what would make it go fastest. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Sat Sep 14 04:23:15 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 13 Sep 2002 22:23:15 -0400 Subject: performance data from plugins - does it exist? In-Reply-To: <000b01c25a9d$1016f320$b201a8c0@unirez.com> References: <000b01c25a9d$1016f320$b201a8c0@unirez.com> Message-ID: <1031970196.7583.7.camel@miles.debisschop.net> On Thu, 2002-09-12 at 16:43, Jeremy Tinley wrote: > IIRC, you return metrics with the variable=value,variable=value format. > Why not get all the data that the plugin returns and let the user do > what they want? > > For HTTP... > dns_time=2,conn_time=4,fb=2,cont_dl=... etc. These are not currently tracked separately. The could be, but I'd like to get basic performance stuff in, do some bug squashing, and make a formal release. It just doesn't make sense to delay a formal release for these (IMHO). > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel > Wittenberg > Sent: Thursday, September 12, 2002 3:06 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] performance data from plugins - does it > exist? > > I could be wrong, but I would imagine we could probably come up with a > list of "standard" performance-related measurements for every server, > which would make things pretty standard from module to module. There > are always going to be specifics for some modules, but I think a good > first step might be to identify the common stats, and then we can see > what needs to be done for the other modules. To start with, let's say "time" is one. Units will be defined to be seconds. I have taken a quick stab at logging time for check_http. Turns out it's not quite as clear as one might think. If the plugin returns an CRITICAL state because a desired string is not found, should a time be logged? Probably depends on the user. There's at least a few judgement calls like that. I assume errors on 404s should not be logged, generally, but that again may depend on the application. But I took a crack at it, and I'll commit it for comment. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Sat Sep 14 04:36:48 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 13 Sep 2002 22:36:48 -0400 Subject: performance data from plugins - does it exist? In-Reply-To: <1031970196.7583.7.camel@miles.debisschop.net> References: <000b01c25a9d$1016f320$b201a8c0@unirez.com> <1031970196.7583.7.camel@miles.debisschop.net> Message-ID: <1031971009.7623.12.camel@miles.debisschop.net> On Fri, 2002-09-13 at 22:23, Karl DeBisschop wrote: > On Thu, 2002-09-12 at 16:43, Jeremy Tinley wrote: > > IIRC, you return metrics with the variable=value,variable=value format. > > Why not get all the data that the plugin returns and let the user do > > what they want? > > > > For HTTP... > > dns_time=2,conn_time=4,fb=2,cont_dl=... etc. > > These are not currently tracked separately. The could be, but I'd like > to get basic performance stuff in, do some bug squashing, and make a > formal release. It just doesn't make sense to delay a formal release for > these (IMHO). > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel > > Wittenberg > > Sent: Thursday, September 12, 2002 3:06 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] performance data from plugins - does it > > exist? > > > > I could be wrong, but I would imagine we could probably come up with a > > list of "standard" performance-related measurements for every server, > > which would make things pretty standard from module to module. There > > are always going to be specifics for some modules, but I think a good > > first step might be to identify the common stats, and then we can see > > what needs to be done for the other modules. > > To start with, let's say "time" is one. Units will be defined to be > seconds. > > I have taken a quick stab at logging time for check_http. > > Turns out it's not quite as clear as one might think. If the plugin > returns an CRITICAL state because a desired string is not found, should > a time be logged? Probably depends on the user. There's at least a few > judgement calls like that. I assume errors on 404s should not be logged, > generally, but that again may depend on the application. > > But I took a crack at it, and I'll commit it for comment. I also just commited check_tcp. And it's a little know fact that checp_tcp includes the code for check_ftp, check_imap, check_simap, check_pop, check_nntp, and check_smtp. So if you symlink to check_tcp under those names, there is now a fairly large set of plugins that will return performance data for time. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Sat Sep 14 11:13:39 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sat, 14 Sep 2002 11:13:39 +0200 Subject: Problems with check_smtp References: <5DB017510818EC468B05BD7BD9EACF8301F71121@mismail.ena.com> Message-ID: <002401c25bcf$0893d860$0a00a8c0@nh> Thank you! It fixed the problem. Nicole ----- Original Message ----- From: "Marc Powell" To: "Damien Manuel" ; "Nicole Haehnel" Cc: Sent: Thursday, September 12, 2002 12:52 AM Subject: RE: [Nagios-users] Problems with check_smtp http://www.geocrawler.com/archives/3/13608/2002/6/0/8924911/ -- Marc > -----Original Message----- > From: Damien Manuel [mailto:DManuel at continuumit.com.au] > Sent: Wednesday, September 11, 2002 5:16 PM > To: Nicole Haehnel > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problems with check_smtp > > Greetings Nicole, > > I get the same thing. It only started to occur when I upgraded to Red Hat > 7.3 with plug-in version nagiosplug-1.3-beta1. > > However after some more investigation I have determined that the issue is > not with Nagios, but possibly the way the plug-in (the version I am using) > deals with Microsoft Exchange 2000 SP3 servers. > > It works ok tested against the following: > > Postfix (latest versions), Sendmail (latest versions), Exchange 5.5 SP3 > and SP4 and Exchange 2000 (with no SP) > > But fails with the error you described when checking Exchange 2000 SP3. > > Regards, > > Damien Manuel > > -----Original Message----- > From: Nicole Haehnel [mailto:Nicole.Haehnel at epost.de] > Sent: Thursday, 12 September 2002 7:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_smtp > > Hi! > > I'm having problems with the check_smtp command. > I only get 'CRITICAL' status when checking smtp on a server, but status > information is 'SMTP OK - 0 second response time '. > > My checkcommands.cfg: > > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ > } > > and service.cfg: > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name notes-web > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups notes-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp!60!100 > } > > > Is there something wrong? > > I have checked smtp without nagios. > > ./check_smtp -H 217.110.232.10 -w 60 -c 100 -v > SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release > 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200 > Socket timeout after 10 seconds > > Why timeout? > > > Thanks for help! > > Nicole > > > ------------------------------------------------------- > 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 karl at debisschop.net Sat Sep 14 13:50:01 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 14 Sep 2002 07:50:01 -0400 Subject: performance data from plugins - does it exist? In-Reply-To: References: Message-ID: <1032004202.18622.30.camel@miles.debisschop.net> On Fri, 2002-09-13 at 23:59, Jeremy Tinley wrote: > On 9/13/02 9:23 PM, Karl DeBisschop (karl at debisschop.net) said: > > >These are not currently tracked separately. The could be, but I'd like > >to get basic performance stuff in, do some bug squashing, and make a > >formal release. It just doesn't make sense to delay a formal release for > >these (IMHO). > > Hmm, it wasn't terribly tough to do. In the check_disk.c, I return 2 > variables, percentage used and kb free. Just modify the printf line. I > finished about 4 modifications today (plus some of my custom scripts) so > I could get some sample data from the weekend. Ping, Disk, HTTP and Swap. Nobody at all said it was tough. I just said there were infants with diapers needing to be changed, jobs with project deadlines, houses that need to be sold, NT servers with catastrophic disc failures, relatives getting married.... It simply isn't the only thing on my plate. I suspect the same is true for most of us. As for your patches, I'd be gald to have them posted to the list (nagiosplug-devel). People can comment on them, and they can get added to CVS. > Maybe you can help me with saving my diff as a patch, or commiting to CVS. Forgive my bluntness, but if I need to teach you haw to make a patch, then I'm certainly not going to authorize you to commit directly to CVS. Nor does your posting to me alone instead of the plugin development list suggest a great commitment to working with the group, another prerequisite for CVS access. As for how to make a patch, I refer you to http://nagiosplug.sourceforge.net/developer-guidelines.html#SUBMITTINGCHANGES with the additional comment that a patch is simply the output of diff. I prefer unified diffs. I think the following works: cvs diff -U 4 Makefile.am | tail +5 Ah but now I've spent 20 minutes time looking this up, which means I will basically not have time to work on actual coding or looking at patches :-( > >To start with, let's say "time" is one. Units will be defined to be > >seconds. > > > >I have taken a quick stab at logging time for check_http. > > > >Turns out it's not quite as clear as one might think. If the plugin > >returns an CRITICAL state because a desired string is not found, should > >a time be logged? Probably depends on the user. There's at least a few > >judgement calls like that. I assume errors on 404s should not be logged, > >generally, but that again may depend on the application. > > > >But I took a crack at it, and I'll commit it for comment. > > > In this example, I would return response time of null and a status code > of 404 (or whatever HTTP status code was returned. Does everyone else agree? Are all handlers able to accept a response time of null? I assume that would be 'time='. IIRC, that is not in the syntax, so I'm not even sure nagios will like it. > Part of the information that gets logged is the state (OK, CRIT, WARN, > UNKNOWN). I suppose you could log EVERYTHING to a database that is > returned from the plugin... but that seemed a bit overkill to me. So state (returned by the plugin) is another standard variable? Probably 'status', like '404' should also be. Should 'state be the number or the word? > My database consists of host, timestamp, Nagios description, State, > variable and metric with a key off of host,timestamp,description and > variable. The PHP code takes a host, description and variable as the > query, and optionally a timestamp. > > Getting back to the task at hand, the code should be sufficiently > modified to include what each possible variable returned and it's > correponding unit in the --help/-h screen. Above you said the task was trivial -- just modify the printf line. But now we also need to modify the help page. And there's 38 plugins in C alone, and many plugins have more than one printf line, and many have interesting variables that are not currently tracked - like the dns reslottion time that one user requested for check_http. I've now spent a full half hour just on this letter. Is it now becoming clear how going into too much detail could distract from other things that are essential for a true release. I do feel that performance data should be part of the formal 1.3.0 release, although it's never been discussed to my knowlege. I just don't want to spend time logging performance data for every concievable variable on this pass, especailly if it requires tracking new timers and varibles for them, and other ancillary coding. I'd rather focus on getting a formal release that includes an acceptable level of detail done in a way that the most (all?) users and developers feel makes sense. -- Karl > -J > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sybase at vantageltd.com Sun Sep 15 09:40:41 2002 From: sybase at vantageltd.com (SyBase) Date: Sun, 15 Sep 2002 02:40:41 -0500 Subject: [Nagios-devel] Re: Perceived problem with host checks References: <20020906124659.F71743@mind.net> <3D791034.2050505@quadrix.com> Message-ID: <3D843979.1070502@vantageltd.com> This may be by design, but IMHO this logic is flawed. Say you have a problem with a particular host service that first caused the box to reboot (setting host state to down) then when the box comes back up the service fails to start. Your monitoring tool will falsely continue to report the host as down when this is not the case. If shooting for accuracy is the idea (which I would think it would be) then maybe this should be changed? Russell Scibetti wrote: > We were confused by this at first too, but believe it or not, the > behavior you saw is what is expected. You said that when you > eventually turned HTTP back on, both the host and service came back > up. The way the nagios logic works is: > > 1. check the service - if it fails... > 2. check the host - it it fails (incl. the retries)... > 3. host and service are now in a Hard non-OK state > 4. Wait the service's normal_check_interval > 5. Run the service (NOT the host) check > 6. If the service is still down, then the host must still be down. > 7. Wait the service's check interval.....repeat endlessly > > The Nagios logic appears to be "well, if the host is down, we can tell > its back up when any of the services are running again" - similar > logic to "if a service is running, the host must be fine." Also, > you'll see there is no check_interval for hosts. This is because it > uses the service checks as the basis for the monitoring logic. > > This is at least what we can tell. If someone know's something else, > please share. > > -Russell Scibetti > > John Fox wrote: > >> Hello, >> >> I'm configuring a Nagios 1.0b4 installation. It's the first time I've >> used this product, and I've run into somewhat of a stumbling block. >> >> Both hosts used in my tests are running FreeBSD 4.6-STABLE and nagios >> is installed via the ports system. >> >> That said, here are the details: >> >> I've configured nagios to do host checks for host A" and service >> checks for HTTPD on A. >> >> I start HTTPD on host A and fire up nagios (in daemon mode) on host B. >> >> Everything is fine. Host and service are both marked up UP. >> >> I use ipfw to disable ICMP on host A. This is done with the intent of >> provoking a host check, knowing that the host-check test makes use of >> ping. >> >> Host continues to remain marked as up. This makes sense to me, given >> that HTTPD is still running and accessible there. >> >> I kill HTTPD on A. >> Both host and service become marked as 'down' and I begin to >> receive problem notifications. >> >> I enable ICMP on A, knowing that the host-check-alive command >> makes us of 'check_ping' plugin, and expecting that host A will >> soon be marked as 'UP'. >> >> But that does not happen; the host continues to be marked as down. I >> watch the various status screen and see multiple host tests >> performed. I recieve multiple problem notifications. >> >> I'm flummoxed by this, and login to host B (the nagios machine) and >> veryify that I can ping A from there. I can. I then run >> check-host-alive's "check_ping" plugin from the command line. It >> instantly returns with a "PING OK" response. (Note: I used the exact >> same command structure as nagios would -- I took it from the >> 'check-host-alive' definition found in 'checkcommands.cfg'.) >> >> Yet the 'Host Information' pages shows the Status info as >> "Critical -- Plugin timed out after 10 seconds". >> >> So to all appearances, nagios and I are getting different results >> from the exact same command line. I don't believe this is what's >> really going on, because it seems absurd to me. So I go to the FAQ. >> >> I see a question that seems to apply: "Hosts are incorrectly listed >> as being DOWN or UNREACHABLE". But after reading it, I'm not sure >> that it does apply. >> >> The way I read it, nagios didn't perform any host checks on A until >> A's HTTPD went down. Makes sense. >> >> At which point a host check is performed -- if the host check doesn't >> return 'OK', it is run again and again until it has made >> max_check_attempts (from the host definition) attemps OR recieved >> an "OK' response. >> >> My max_check_attempts is set to 3. But in observing the various >> status screen, I saw the "Last Status Check" value changing every 3 >> minutes. In the course of this test, I allowed the downtime to reach >> 46 minutes, which to me indicates that 15 host checks were run. >> Obviously, this is a much larger number than 3. And certainly it >> seems that the plugin never recieved an 'OK' response. This is quite >> a conundrum to me! >> >> I then restarted HTTPD on host A. Within three minutes, this service >> was once again marked as 'UP' and the host, too, was again marked as >> 'UP', with the 'Host Information' pages "Status Information" field >> reading "PING OK...". >> >> On the off chance that my IPFW/ping machinations were somehow causing >> wierdness, I repeated the same basic experiment, but rather than >> disabling ICMP, I ifconfig'd my network card down. And rather than >> re-enabling ICMP, I ifconfig'd the interface back up. This resulted >> in the same behavior as the previous test. >> >> I don't see this as a major issue, given that a successful service >> check causes the host to be again considered 'UP'. But it troubles me >> to not understand the behavior I'm seeing, as I'm simply unable to >> account for it. >> >> Any advice or thoughts would be very much welcomed! >> >> >> Thanks in advance, >> >> >> John >> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Sun Sep 15 09:35:37 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Sun, 15 Sep 2002 15:35:37 +0800 Subject: Nagios-users digest, Vol 1 #864 - 11 msgs References: Message-ID: <00d901c25c8a$7c458bd0$52624eca@skyinet.net> Hi, Even though I installed a vrml viewer (tried two, as a matter of fact), I still don't see anything on these. I'm thinking the problem is in the host definitions in hostextinfo.cfg but I'm not sure what. I already have vrml_image and 3d_coords filled out for all my hosts. Anyone out there know what would be missing? I'm really stumped and I really need help on this... =( Louie ----- Original Message ----- > Subject: Re: [Nagios-users] Problems with 3D View.... > From: Bastiaan van den Berg > To: nagios-users at lists.sourceforge.net > Date: 13 Sep 2002 14:50:04 +0200 > > install a vrml viewer > , just as it says in the docs > > On Fri, 2002-09-13 at 14:32, Glauber Herbert wrote: > > When I try 2 view the 3D map, it's question to open with another program... > > > > Which program that I can set up in Browser to view this option???? > > > > > --__--__-- > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Grae.Noble at newcastle.edu.au Sun Sep 15 09:49:56 2002 From: Grae.Noble at newcastle.edu.au (Grae Noble) Date: Sun, 15 Sep 2002 17:49:56 +1000 Subject: Citrix Plugin Message-ID: Theres some interesting plugins for BigBrother that could be modified to work with netsaint. I've modified a few but most require extensive changes to work. http://www.deadcat.net >From memory there is one there for citrix. (quite neat too, it will check for the existence of a specific application ). 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 >>> Garry Cook 09/14/02 12:26am >>> I use the following line in my services.cfg to check Citrix. service[citrix1]=CITRIX;0;24x7;2;9;3;servers-citrix-pri,servers-citrix-sec;60;workhours;1;1;0;;check_tcp!1494 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: jdhicks at cableone.net [mailto:jdhicks at cableone.net] > Sent: Friday, September 13, 2002 7:28 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Citrix Plugin > > > Does anyone know of any Citrix plugins? Thanks, > > John Hicks > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Nicole.Haehnel at epost.de Sun Sep 15 10:30:34 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sun, 15 Sep 2002 10:30:34 +0200 Subject: Check HTTPS? Message-ID: <000a01c25c92$2a1d2950$0a00a8c0@nh> Hi, is it possible to check HTTPS with nagios? I tried to check it with check_tcp -p 443, but this only checks if there can be made a valid tcp-connection and not if my application can still serve HTTPS. Thanks. Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From geert at kemuri.org Sun Sep 15 13:02:42 2002 From: geert at kemuri.org (Geert Vanderkelen) Date: 15 Sep 2002 13:02:42 +0200 Subject: Check HTTPS? In-Reply-To: <000a01c25c92$2a1d2950$0a00a8c0@nh> References: <000a01c25c92$2a1d2950$0a00a8c0@nh> Message-ID: <1032087762.26216.22.camel@phobos> Hey Nicole, Sure, you have to compile the plugins with: ./configure --with-openssl=/path/to/your/openssl then the check_http will be compiled with SSL support. Or check if it doesn't already support it with: check_http --help You should see some options for SSL. Geert On Sun, 2002-09-15 at 10:30, Nicole Haehnel wrote: > Hi, > > is it possible to check HTTPS with nagios? > I tried to check it with check_tcp -p 443, but this only checks if there can be made a valid tcp-connection and not if my application can still serve HTTPS. > > > Thanks. > > > Nicole -- Geert Vanderkelen Kemuri.Org http://kemuri.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Sun Sep 15 13:16:57 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Sun, 15 Sep 2002 19:16:57 +0800 Subject: 3D View Message-ID: <001e01c25ca9$677933e0$52624eca@skyinet.net> I have this error on my VRML viewer and I don't know where to look for the error. Can anybody help me with this? Thanks. -------------------------------------------------------------------------------------- Welcome to Cosmo Player 2.1.1. Current Graphics Renderer Name: DirectX 5 Direct3D Renderer Description: Microsoft Direct3D RGB Software Emulation # Error parsing '.' at line 302: node name expected -------------------------------------------------------------------------------------- Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgarcia at bak.rr.com Sun Sep 15 16:05:22 2002 From: sgarcia at bak.rr.com (sgarcia at bak.rr.com) Date: Sun, 15 Sep 2002 07:05:22 -0700 Subject: Libraries needed In-Reply-To: <20020913173233.31716.qmail@web13005.mail.yahoo.com> References: <20020913173233.31716.qmail@web13005.mail.yahoo.com> Message-ID: <200209151409.g8FE92G06675@orngca-mls01.socal.rr.com> In <20020913173233.31716.qmail at web13005.mail.yahoo.com>, on 09/13/2002 at 09:32 AM, jo smith said: >According to the FAQs, to compile nagios and get the >graphics to display properly (at least with the >statusmap), you need the following things installed: >libgd >libgd-devel >libpng >libpng-devel >libjpeg >libjpeg-devel >zlib >zlib-devel >I've been able to find libgd, libpng, libjpeg, and >zlib, but where are the development libraries? >Specifically, I'm looking for the ones for Solaris for >SPARC. Thanks! That's an artifact of how RedHat packages its libraries. For some reason, they separate out the libraries necessary to run applications from those necessary to compile against them. The end user only has to install the "normal libraries if he doesn't instend to be building anything from source. If you build the libraries from source you don't have to worry, you'll get the whole deal. -- ----------------------------------------------------------- Steve Garcia using MR/2 ICE #10133 with Warp 4 sgarcia at bak.rr.com For PGP key, send mail to sgarcia at bak.rr.com with subject "PGP key" ----------------------------------------------------------- The Operating System/2 Version is 4.50 Revision 14.062 There are 40 Processes with 143 Threads. GHARLANE: uptime is 8 days, 23:12 hours and 50 seconds * They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Sun Sep 15 19:02:30 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sun, 15 Sep 2002 19:02:30 +0200 Subject: Check HTTPS? References: <000a01c25c92$2a1d2950$0a00a8c0@nh> <1032087762.26216.22.camel@phobos> Message-ID: <000d01c25cd9$adef6080$0a00a8c0@nh> Hi, sadly the configure script doesn't find my openssl dirs (redhat 7.3). Here is my configure command: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi os-group=nagios --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/op enssl output: ... 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 ... openssl is installed: (although I don't know if I need all 3 packages) [root at Linux-Nagios nagiosplug-1.3-beta1]# rpm -qa|grep openssl openssl-0.9.6b-28 openssl-devel-0.9.6b-28 openssl096-0.9.6-13 Thanks Nicole ----- Original Message ----- From: "Geert Vanderkelen" To: "Nagios" Cc: Sent: Sunday, September 15, 2002 1:02 PM Subject: Re: [Nagios-users] Check HTTPS? > Hey Nicole, > > Sure, you have to compile the plugins with: > ./configure --with-openssl=/path/to/your/openssl > > then the check_http will be compiled with SSL support. Or check if it > doesn't already support it with: check_http --help > You should see some options for SSL. > > Geert > > On Sun, 2002-09-15 at 10:30, Nicole Haehnel wrote: > > Hi, > > > > is it possible to check HTTPS with nagios? > > I tried to check it with check_tcp -p 443, but this only checks if there can be made a valid tcp-connection and not if my application can still serve HTTPS. > > > > > > Thanks. > > > > > > Nicole > -- > Geert Vanderkelen > Kemuri.Org > > http://kemuri.org > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Sun Sep 15 23:21:38 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sun, 15 Sep 2002 23:21:38 +0200 Subject: Check HTTPS? References: <000a01c25c92$2a1d2950$0a00a8c0@nh><1032087762.26216.22.camel@phobos> <000d01c25cd9$adef6080$0a00a8c0@nh> <1032116976.8556.27.camel@phobos> Message-ID: <001501c25cfd$e33703f0$0a00a8c0@nh> Hi, no it's not working. I believe it's a bug in the configure script. As you can see, I can give the path to openssl but that is ignored. ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi os-group=nagios --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/openssl > > checking for openssl... (cached) /usr/bin/openssl Thanks Nicole ----- Original Message ----- From: "Geert Vanderkelen" To: "Nicole Haehnel" Sent: Sunday, September 15, 2002 9:09 PM Subject: Re: [Nagios-users] Check HTTPS? > Hey, > > Shouldn't that be --with-openssl=/usr/ > on a RedHat? Mine is installed there, but I'm not running Nagios on > RedHat workstation, only on Debian servers.. > > Geert > > > On Sun, 2002-09-15 at 19:02, Nicole Haehnel wrote: > > Hi, > > sadly the configure script doesn't find my openssl dirs (redhat 7.3). > > Here is my configure command: > > > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi > > os-group=nagios --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/op > > enssl > > > > output: > > ... > > 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 > > ... > > > > openssl is installed: > > (although I don't know if I need all 3 packages) > > [root at Linux-Nagios nagiosplug-1.3-beta1]# rpm -qa|grep openssl > > openssl-0.9.6b-28 > > openssl-devel-0.9.6b-28 > > openssl096-0.9.6-13 > > > > Thanks > > Nicole > > > > > > ----- Original Message ----- > > From: "Geert Vanderkelen" > > To: "Nagios" > > Cc: > > Sent: Sunday, September 15, 2002 1:02 PM > > Subject: Re: [Nagios-users] Check HTTPS? > > > > > > > Hey Nicole, > > > > > > Sure, you have to compile the plugins with: > > > ./configure --with-openssl=/path/to/your/openssl > > > > > > then the check_http will be compiled with SSL support. Or check if it > > > doesn't already support it with: check_http --help > > > You should see some options for SSL. > > > > > > Geert > > > > > > On Sun, 2002-09-15 at 10:30, Nicole Haehnel wrote: > > > > Hi, > > > > > > > > is it possible to check HTTPS with nagios? > > > > I tried to check it with check_tcp -p 443, but this only checks if there > > can be made a valid tcp-connection and not if my application can still serve > > HTTPS. > > > > > > > > > > > > Thanks. > > > > > > > > > > > > Nicole > > > -- > > > Geert Vanderkelen > > > Kemuri.Org > > > > > > http://kemuri.org > > > > > > > > > -- > Geert Vanderkelen > Kemuri.Org > > http://kemuri.org > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nicole.Haehnel at epost.de Sun Sep 15 23:35:25 2002 From: Nicole.Haehnel at epost.de (Nicole Haehnel) Date: Sun, 15 Sep 2002 23:35:25 +0200 Subject: Check HTTPS? References: <000a01c25c92$2a1d2950$0a00a8c0@nh><1032087762.26216.22.camel@phobos> <000d01c25cd9$adef6080$0a00a8c0@nh> <1032116976.8556.27.camel@phobos> <001501c25cfd$e33703f0$0a00a8c0@nh> <1032125415.8556.39.camel@phobos> Message-ID: <002101c25cff$cf59f430$0a00a8c0@nh> Thank you! That did it. I only tried make clean. Nicole ----- Original Message ----- From: "Geert Vanderkelen" To: "Nicole Haehnel" Sent: Sunday, September 15, 2002 11:30 PM Subject: Re: [Nagios-users] Check HTTPS? > before doing ./configure, you might do: > > rm config.cache > make clean > > and then try again with --with-openssl=/usr/ > > Geert > > On Sun, 2002-09-15 at 23:21, Nicole Haehnel wrote: > > Hi, > > no it's not working. > > I believe it's a bug in the configure script. > > As you can see, I can give the path to openssl > > but that is ignored. > > > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi > > os-group=nagios > > --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/openssl > > > > > > checking for openssl... (cached) /usr/bin/openssl > > > > Thanks > > Nicole > > > > ----- Original Message ----- > > From: "Geert Vanderkelen" > > To: "Nicole Haehnel" > > Sent: Sunday, September 15, 2002 9:09 PM > > Subject: Re: [Nagios-users] Check HTTPS? > > > > > > > Hey, > > > > > > Shouldn't that be --with-openssl=/usr/ > > > on a RedHat? Mine is installed there, but I'm not running Nagios on > > > RedHat workstation, only on Debian servers.. > > > > > > Geert > > > > > > > > > On Sun, 2002-09-15 at 19:02, Nicole Haehnel wrote: > > > > Hi, > > > > sadly the configure script doesn't find my openssl dirs (redhat 7.3). > > > > Here is my configure command: > > > > > > > > > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagi > > > > > > os-group=nagios --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/op > > > > enssl > > > > > > > > output: > > > > ... > > > > 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 > > > > ... > > > > > > > > openssl is installed: > > > > (although I don't know if I need all 3 packages) > > > > [root at Linux-Nagios nagiosplug-1.3-beta1]# rpm -qa|grep openssl > > > > openssl-0.9.6b-28 > > > > openssl-devel-0.9.6b-28 > > > > openssl096-0.9.6-13 > > > > > > > > Thanks > > > > Nicole > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Geert Vanderkelen" > > > > To: "Nagios" > > > > Cc: > > > > Sent: Sunday, September 15, 2002 1:02 PM > > > > Subject: Re: [Nagios-users] Check HTTPS? > > > > > > > > > > > > > Hey Nicole, > > > > > > > > > > Sure, you have to compile the plugins with: > > > > > ./configure --with-openssl=/path/to/your/openssl > > > > > > > > > > then the check_http will be compiled with SSL support. Or check if it > > > > > doesn't already support it with: check_http --help > > > > > You should see some options for SSL. > > > > > > > > > > Geert > > > > > > > > > > On Sun, 2002-09-15 at 10:30, Nicole Haehnel wrote: > > > > > > Hi, > > > > > > > > > > > > is it possible to check HTTPS with nagios? > > > > > > I tried to check it with check_tcp -p 443, but this only checks if > > there > > > > can be made a valid tcp-connection and not if my application can still > > serve > > > > HTTPS. > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > Nicole > > > > > -- > > > > > Geert Vanderkelen > > > > > Kemuri.Org > > > > > > > > > > http://kemuri.org > > > > > > > > > > > > > > > > > -- > > > Geert Vanderkelen > > > Kemuri.Org > > > > > > http://kemuri.org > > > > > > > > > -- > Geert Vanderkelen > Kemuri.Org > > http://kemuri.org > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Sun Sep 15 23:48:32 2002 From: greis at grinco.de (Olaf Greis) Date: Sun, 15 Sep 2002 23:48:32 +0200 Subject: Check HTTPS? In-Reply-To: <001501c25cfd$e33703f0$0a00a8c0@nh> References: <000a01c25c92$2a1d2950$0a00a8c0@nh> <1032116976.8556.27.camel@phobos> <001501c25cfd$e33703f0$0a00a8c0@nh> Message-ID: <200209152348.32646@grinco.de> hi, try ./configure --with-openssl=/usr - that should work. brdgs olaf Am Sonntag, 15. September 2002 23:21 schrieb Nicole Haehnel: > Hi, > no it's not working. > I believe it's a bug in the configure script. > As you can see, I can give the path to openssl > but that is ignored. > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagi os-group=nagios > --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/include/openssl > > > > checking for openssl... (cached) /usr/bin/openssl > > Thanks > Nicole > > ----- Original Message ----- > From: "Geert Vanderkelen" > To: "Nicole Haehnel" > Sent: Sunday, September 15, 2002 9:09 PM > Subject: Re: [Nagios-users] Check HTTPS? > > > Hey, > > > > Shouldn't that be --with-openssl=/usr/ > > on a RedHat? Mine is installed there, but I'm not running Nagios on > > RedHat workstation, only on Debian servers.. > > > > Geert > > > > On Sun, 2002-09-15 at 19:02, Nicole Haehnel wrote: > > > Hi, > > > sadly the configure script doesn't find my openssl dirs (redhat 7.3). > > > Here is my configure command: > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagi > > os-group=nagios --with-cgiurl=/nagios/cgi-bin > --with-openssl=/usr/include/op > > > > enssl > > > > > > output: > > > ... > > > 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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jamie at bclnz.net Mon Sep 16 05:14:16 2002 From: jamie at bclnz.net (Jamie) Date: Mon, 16 Sep 2002 15:14:16 +1200 Subject: Notifications - Additional Info. References: <00d901c25c8a$7c458bd0$52624eca@skyinet.net> Message-ID: <02e701c25d2f$23e9b4c0$b58031ca@bcl977307> Hi, I've got Nagios running pretty well. But I've got a problem with email notifications - they drop off the detail on the ping results.. All I get is : Additional Info: PING CRITICAL - Packet loss = 20 I'm not worried about the event itself, I'd just like to have more informative emails! (most of the time it's the delay metric that I want to know about) Hope someone has already seen this. Cheers Jamie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jgiles at joeman1.com Mon Sep 16 06:03:00 2002 From: jgiles at joeman1.com (Joe Giles) Date: Sun, 15 Sep 2002 22:03 MDT Subject: NT Monitoring Info Message-ID: <20020916040358.5945.qmail@joeman1.com> List, Is there a document that discribes how to set up monitoring of NT machines. Such as Disk space monitoring and process monitoring? I cant seem to find any info. Thanks Joe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From raven at paradise.net.nz Mon Sep 16 19:03:31 2002 From: raven at paradise.net.nz (Colin) Date: 16 Sep 2002 17:03:31 +0000 Subject: detecting HUBS Message-ID: <1032195814.18566.3.camel@plank> Greetings Does any know of a way to detect if a HUB is still functioing? Managed HUB and Switchs are easy, but plane HUB i cant find a way to tell if its still there Colin ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gmacminn at emergency.qld.gov.au Mon Sep 16 07:44:05 2002 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Mon, 16 Sep 2002 15:44:05 +1000 Subject: Changing Graphic Files with Status Message-ID: <83ED588DB0D0FB4EB424E5C6E46DB14D2A69CB@deskpe2k2.des> Hi All, Is there any way to make the icons in the statusmap change when the state of a device changes? I'd like to be able to make the router images I'm using change to a router on a red background or a router with a big cross through it if one goes down. At present, the wording beneath changed from up to down and from green to red but this is not as easily seen as I'd like. Any thoughts? Thanks, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_SafeStamp.txt URL: From atul at mindsw.com Mon Sep 16 08:22:29 2002 From: atul at mindsw.com (Atul Gosain) Date: Mon, 16 Sep 2002 11:52:29 +0530 (IST) Subject: NT Monitoring Info In-Reply-To: <20020916040358.5945.qmail@joeman1.com> References: <20020916040358.5945.qmail@joeman1.com> Message-ID: <1131.202.88.151.191.1032157349.squirrel@www.webyarn.com> go to http://nsclient.ready2run.nl/. and download the stuff to monitor NT and 2000 machines. > > List, > Is there a document that discribes how to set up monitoring of NT > machines. Such as Disk space monitoring and process monitoring? > > I cant seem to find any info. > > Thanks > > 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 -- 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 Mon Sep 16 10:57:15 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Mon, 16 Sep 2002 10:57:15 +0200 Subject: send mail notifications Message-ID: <001b01c25d5f$0db64300$13121bac@pc1072> Hi, after solving most of my troubles with nagios with the help of this mailing list it's working very good. But how do I send mails? By default nagios uses the mail command, but this cannot send to another machine?! Do I need to configure a MTA sth. like sendmail (or procmail?) to send the mail to our internal domino-mail server? If so, can anybody help me to configure it? We have a domino server behind our FW which accepts mails per smtp, but how do send mail to this server? Thanks Nicole ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Mon Sep 16 11:03:47 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Mon, 16 Sep 2002 11:03:47 +0200 Subject: Availability reports for hostgroups Message-ID: Hi! Is there a possibility to generate statistics for hostgroups which tell me the uptime (in percent) of the specified hostgroup as well as the uptime (in percent) of each host in the hostgroup? So here we have several groups like linux-servers, nt-servers, novell-servers, s390 and so on and we do want a statistic where we can see "okay, the uptime of the linux-servers was 100% and the uptime of the nt-servers was only 87%" or so. Anyone any ideas? Would be great ! Thanx, Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cleguern at artful.net Mon Sep 16 10:59:50 2002 From: cleguern at artful.net (Christophe Le Guern) Date: Mon, 16 Sep 2002 10:59:50 +0200 Subject: send mail notifications In-Reply-To: <001b01c25d5f$0db64300$13121bac@pc1072> References: <001b01c25d5f$0db64300$13121bac@pc1072> Message-ID: <20020916105950.19e20f76.cleguern@artful.net> On Mon, 16 Sep 2002 10:57:15 +0200 Nicole H?hnel wrote: > Hi, > after solving most of my troubles with nagios with the help of this mailing > list > it's working very good. > But how do I send mails? use postfix, it's simple to configure > By default nagios uses the mail command, but this cannot send to another > machine?! > Do I need to configure a MTA sth. like sendmail (or procmail?) to send > the mail to our internal domino-mail server? > If so, can anybody help me to configure it? yes > We have a domino server behind our FW which accepts mails per smtp, > but how do send mail to this server? > > Thanks > Nicole > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Mon Sep 16 11:11:47 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Mon, 16 Sep 2002 11:11:47 +0200 Subject: Listing of actual logged in users Message-ID: Hi, is there a possibility to view the names of the users which are currently logged in on a linux-server with the check_users plugin? What have I got to do to view the names of the users? Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From a.schrogl at 21torr.com Mon Sep 16 11:27:35 2002 From: a.schrogl at 21torr.com (Andreas Schrogl) Date: Mon, 16 Sep 2002 11:27:35 +0200 Subject: send mail notifications References: <001b01c25d5f$0db64300$13121bac@pc1072> Message-ID: <3D85A407.8010107@21torr.com> Hi Nicole, you can use the Mail Command but on some linux version, also mine, the default configuration won't work. I had to change the script a little bit, i changed it also to the sendmail command. it looks like this (misccommand.cfg): with mail command: define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0b5 *****\n\nNotification 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$ } with sendmail command (i use this to send xml mails to the sms server): define command { command_name notify-by-epager command_line /usr/bin/printf "%b" "From: xxxxxxx at 21torr.com\nTo: smsserver at xxxxxxxxxxx\nSubject: SEND SMS\n\n\n\n$CONTACTPAGER$\n0049171234567\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$\n\n" | /usr/sbin/sendmail -t } Try one of these, it should work for you. Regards Andreas Schrogl Nicole H?hnel wrote: > Hi, > after solving most of my troubles with nagios with the help of this mailing > list > it's working very good. > But how do I send mails? > By default nagios uses the mail command, but this cannot send to another > machine?! > Do I need to configure a MTA sth. like sendmail (or procmail?) to send > the mail to our internal domino-mail server? > If so, can anybody help me to configure it? > We have a domino server behind our FW which accepts mails per smtp, > but how do send mail to this server? > > Thanks > Nicole > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Andreas Schrogl 21TORR AGENCY GmbH Email:a.schrogl at 21torr.com System Administrator Tel: +49-711-62 00 91-339 Augustenstrasse 124 Fax: +49-711-62 00 91-399 D-70197 Stuttgart 21TORR - die neue medien leidenschaft www.21torr.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tguthmann at cvf.fr Mon Sep 16 12:45:43 2002 From: tguthmann at cvf.fr (Thomas) Date: Mon, 16 Sep 2002 12:45:43 +0200 Subject: check_ldap strangeness References: Message-ID: <3D85B657.3030800@cvf.fr> Works fine for me # 'check_ldap' commande execution define command{ command_name check_ldap command_line $USER1$/check_ldap -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } and in the service config file : check_command check_ldap!5!10 Simple ;) Nagios: 1.0.5b Plugin: 1.3-beta1 But I haven't try with the "-b" option Good luck Jamin wrote: >I am running check_ldap (nagios-plugins 1.3.0-alpha1) version 1.1.1.1 and >am getting some strange behavior. > >If someone else who is running ldap server let me know if their plugin is >working, that would be great. It seems to me that the $HOSTADDRESS$ >variable is not being transfered to nagios correctly. > ># 'check_ldap' command definition >define command{ > command_name check_ldap > command_line $USER1$/check_ldap -H $HOSTADDRESS$ -p 389 -b "o=Acme Industries, c=us" -w 5 -c 120 >} > >If I replace the $HOSTADDRESS$ variable with a real IP, the plugin works >fine. If I keep it the same, the IP is not passed correctly when it gets >executed and reports an error saying it could not connect to port 389. > >If you are wondering, the host ip is correct becuase the oter services on >the host report back fine too. > >-Jamin > >---------------------------------------------------------------------- >"If tautology is a good word for circular reasoning, then shouldn't it > be its own definition?" >---------------------------------------------------------------------- > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >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 tguthmann at cvf.fr Mon Sep 16 12:50:06 2002 From: tguthmann at cvf.fr (Thomas) Date: Mon, 16 Sep 2002 12:50:06 +0200 Subject: 3D View References: <001e01c25ca9$677933e0$52624eca@skyinet.net> Message-ID: <3D85B75E.4090205@cvf.fr> Hi, Do you have dots in your differents hostname ? If yes, just rename all your hosts to avoid dot :-) It could be great to modify the source to support hostname with dot... I know I say that "someone could" but I'm not good enough to understand the CGI and to correct it :( Christopher Louie Cagasan wrote: > I have this error on my VRML viewer and I don't know where to look for > the error. > Can anybody help me with this? Thanks. > -------------------------------------------------------------------------------------- > Welcome to Cosmo Player 2.1.1. > Current Graphics Renderer > Name: DirectX 5 Direct3D Renderer > Description: Microsoft Direct3D RGB Software Emulation > # Error parsing '.' at line 302: node name expected > -------------------------------------------------------------------------------------- > > Christopher Louie Cagasan > Network Operations Center > Skycablenet, Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bastiaan at iptower.nl Mon Sep 16 12:56:38 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 16 Sep 2002 12:56:38 +0200 Subject: pausing notifications In-Reply-To: <1032195814.18566.3.camel@plank> References: <1032195814.18566.3.camel@plank> Message-ID: <1032173798.324.8.camel@baw> Hiya I would like to setup something for some of our services They sometimes just fall out , and return within 4 minutes , so i want to delay the notification with 10 minutes after it has gone offline. Is this possible? with regards, Bastiaan v/d Berg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tguthmann at cvf.fr Mon Sep 16 13:20:32 2002 From: tguthmann at cvf.fr (Thomas) Date: Mon, 16 Sep 2002 13:20:32 +0200 Subject: Listing of actual logged in users References: Message-ID: <3D85BE80.3080604@cvf.fr> Hi, There is a plugin in nagiosplug 1.3b1 which is check_users (ouah ;), it will do the trick if you modify some C code. Check the var. "input_buffer" do a copy of this variable (buffer) and then put it in returned string You have to modify the while loop a bit (line 86 to 99) and the line 121... Good luck :) Thomas PS: Got no more time to help you otherwise I would do the patch # 'check_local_users' command definition define command{ command_name check_local_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ } Michael Jakscht wrote: >Hi, > >is there a possibility to view the names of the users which are currently >logged in on a linux-server with the check_users plugin? >What have I got to do to view the names of the users? > >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 petar at escape.net.au Mon Sep 16 13:41:31 2002 From: petar at escape.net.au (Petar Nikolich) Date: Mon, 16 Sep 2002 19:41:31 +0800 Subject: nagios breaks with strict.pm error after up2date on Red Hat 7.1 Message-ID: <016b01c25d76$00e9ed90$1000a8c0@noonoo> [new listmember warning] Hello All, After doing an up2date on a red hat box running Nagios I am faced with the following message. A quick search with google brings no joy in solving my problem. Maybe someone else who has recently updated their perl distro can assist? The Line 13 referred to in p1.pl is the first of these three: use strict; use vars '%Cache'; use Symbol qw(delete_package); I don't understand /why/ it is looking for strict.pm when it is a scoping directive and not a module (I think?) The box is a RH 7.1 just updated. Any help VERY appreciated. ..Petar ------------------------- [root at server root]# /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/local/nagios/bin/p1.pl line 13. BEGIN failed--compilation aborted at /usr/local/nagios/bin/p1.pl line 13. PID TTY TIME CMD 18625 ? 00:00:00 nagios ------------------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From html-kurs at gmx.de Mon Sep 16 14:58:39 2002 From: html-kurs at gmx.de (Martin Stingl) Date: Mon, 16 Sep 2002 14:58:39 +0200 (MEST) Subject: Loss of nagios-Log-File Message-ID: <22126.1032181119@www29.gmx.net> Hello List, I've got a problem with the archive of nagios.log-files (in /usr/local/nagios/var/archives): For the second time now the content of a logfile is only [1032040799] LOG ROTATION: DAILY Which is [Log Rotation] [14-09-2002 23:59:59] LOG ROTATION: DAILY in the web-interface. Time synchonisation of this computers is done at 4am and not at midnight. So nagios should not be confused. I'm using Version 1.0b5 on Linux. Does anybody has a hint, why this happens? Thanks a lot, Martin -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thieke at tagesspiegel.de Mon Sep 16 15:05:08 2002 From: thieke at tagesspiegel.de (Oliver Thieke) Date: Mon, 16 Sep 2002 15:05:08 +0200 Subject: nagios breaks with strict.pm error after up2date on Red Hat 7.1 In-Reply-To: <016b01c25d76$00e9ed90$1000a8c0@noonoo> References: <016b01c25d76$00e9ed90$1000a8c0@noonoo> Message-ID: <5.1.0.14.0.20020916145939.00a9ba10@pop.tagesspiegel.de> Hi, > my problem > The Line 13 referred to in p1.pl is the first of these three: > use strict; > ERROR: Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux > I don't understand /why/ it is looking for strict.pm when it is a > scoping directive and not a module (I think?) Well, right now I don't have access to an LX box to check it. But on Solaris (sunfreeware) and NT (ActiveState) "Strict" IS a module (strict.pm). Hence something with your perl installation or the $PATH seems to be screwed up... HTH Oliver ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From petar at escape.net.au Mon Sep 16 15:18:10 2002 From: petar at escape.net.au (Petar Nikolich) Date: Mon, 16 Sep 2002 21:18:10 +0800 Subject: nagios breaks with strict.pm error after up2date on Red Hat 7.1 References: <5.1.0.14.0.20020916145939.00a9ba10@pop.tagesspiegel.de> Message-ID: <019901c25d83$81555f70$1000a8c0@noonoo> Thanks Oliver, The error message refers to strict.pm but the line in p1.pl (nagios) does not refer to strict.pm but 'use strict' which is not a module. I would have through the correct line would be 'use Strict.pm;' instead of 'use strict;' if the module was the issue. Cheers ..Petar ----- Original Message ----- From: "Oliver Thieke" To: Sent: Monday, September 16, 2002 9:05 PM Subject: Re: [Nagios-users] nagios breaks with strict.pm error after up2date on Red Hat 7.1 > Hi, > > > my problem > > The Line 13 referred to in p1.pl is the first of these three: > > use strict; > > ERROR: Can't locate strict.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.0/i386-linux > > I don't understand /why/ it is looking for strict.pm when it is a > > scoping directive and not a module (I think?) > > Well, right now I don't have access to an LX box to check it. > But on Solaris (sunfreeware) and NT (ActiveState) "Strict" > IS a module (strict.pm). Hence something with your perl installation > or the $PATH seems to be screwed up... > > HTH > > Oliver > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Sep 16 17:54:00 2002 From: jgiles at joeman1.com (Joe Giles) Date: Mon, 16 Sep 2002 09:54 MDT Subject: NT Monitoring Info Message-ID: <20020916155430.25516.qmail@joeman1.com> Ok, I went there and downloaded the files. But, when I go to install the pNSClient.exe on the NT 4.0 machine, I get this error: "The Procedure entry point RtlStringFormGUID could not be located in the dynamic link library ntdll.dll. I am using SP 6 and I have copied the 2 dll's that came with the app to both the location where the pNSClient.exe is and in the system32 folder. Any ideas why this isnt working? Thanks Joe Atul Gosain writes: > go to http://nsclient.ready2run.nl/. and download the stuff to monitor NT > and 2000 machines. > > > > List, > > Is there a document that discribes how to set up monitoring of NT > > machines. Such as Disk space monitoring and process monitoring? > > > > I cant seem to find any info. > > > > Thanks > > > > 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 > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 cmsu_tech2 at yahoo.com Mon Sep 16 18:07:18 2002 From: cmsu_tech2 at yahoo.com (Nathan Hill) Date: Mon, 16 Sep 2002 09:07:18 -0700 (PDT) Subject: detecting HUBS In-Reply-To: <1032195814.18566.3.camel@plank> References: <1032195814.18566.3.camel@plank> Message-ID: <20020916160718.82949.qmail@web13001.mail.yahoo.com> Colin, It depends. Different network equipment manufacturers define "Managed" in different ways. If you can assign an ip address to the hub, then you could use the check_ping command to make sure the hub is working. With most enterprise level hubs that I've worked with that can have an assigned ip, if you could not ping it, then there was a problem with the hub. Otherwise, the only other option that I can think of is run a check_ping on a host that you know is connected through the hub. If the ping is good, then you are getting packets transmitted through the hub. If the ping is bad, then you are not. Nathan --- Colin wrote: > Greetings > > Does any know of a way to detect if a HUB is still > functioing? > Managed HUB and Switchs are easy, but plane HUB i > cant find a way to > tell if its still there > > Colin > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to 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!? Yahoo! News - Today's headlines http://news.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thieke at tagesspiegel.de Mon Sep 16 18:11:59 2002 From: thieke at tagesspiegel.de (Oliver Thieke) Date: Mon, 16 Sep 2002 18:11:59 +0200 Subject: nagios breaks with strict.pm error after up2date on Red Hat 7.1 In-Reply-To: <019901c25d83$81555f70$1000a8c0@noonoo> References: <5.1.0.14.0.20020916145939.00a9ba10@pop.tagesspiegel.de> Message-ID: <5.1.0.14.0.20020916180120.00ab3580@pop.tagesspiegel.de> Hi Petar, > The error message refers to strict.pm but the line in p1.pl (nagios) > does not refer to strict.pm but 'use strict' which is not a module. Well, maybe I miss some tricky detail but according to my present limited wisdom the PERL line use strict; calls the module strict.pm (and includes all its exported variables, functions,...). To quote the docu "perlmodlib": "THE PERL MODULE LIBRARY Many modules are included the Perl distribution. These are described below, and all end in .pm. (...) Pragmatic Modules They work somewhat like compiler directives (pragmata) in that they tend to affect the compilation of your program, (...) The following pragmas are defined (and have their own documentation). (...) strict Restrict unsafe constructs" And the module docu provides: "NAME strict - Perl pragma to restrict unsafe constructs SUPPORTED PLATFORMS Linux Solaris Windows SYNOPSIS use strict; use strict "vars"; use strict "refs"; use strict "subs"; (...)" Therefor I still assume some screwed up installation or execution environment.... > I would have through the correct line would be 'use Strict.pm;' > instead of 'use strict;' if the module was the issue. Nope - see above. HTH Oliver ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cmsu_tech2 at yahoo.com Mon Sep 16 18:17:34 2002 From: cmsu_tech2 at yahoo.com (Nathan Hill) Date: Mon, 16 Sep 2002 09:17:34 -0700 (PDT) Subject: check_smtp and check_imap issues Message-ID: <20020916161734.87894.qmail@web13001.mail.yahoo.com> Hello I am having some issues with the check_smtp and the check_imap plugins. I am running an imap server on a Red Hat 7.2 server. The definition in the checkcommands.cfg file is: # 'check_imap' command definition define command{ command_name check_imap command_line $USER$/check_imap -H $HOSTADDRESS$ -e 220 cmsu2 } When I run the command external to nagios to test it against the imap server, I get a response of IMAP ok. When I enable the service in nagios, it will not work and gives me the error (Return code of 127 is out of bounds - plugin may be missing). I know the plugin is there and in the correct directory. I am getting the same issue on my smtp server. I'm not sure whether it will make a difference, but my smtp server is Novell Groupwise 5.5. It's checkcommands.cfg entry is: # 'check_mail' command definition define command{ command_name check_mail command_line $USER$/check_smtp -H $HOSTADDRESS$ -p 25 -e 220 smtp.server.address } Does anyone have any ideas on these issues? Thanks, Nathan Hill __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jgiles at joeman1.com Mon Sep 16 18:34:00 2002 From: jgiles at joeman1.com (Joe Giles) Date: Mon, 16 Sep 2002 10:34 MDT Subject: NT Monitoring Info Message-ID: <20020916163426.26760.qmail@joeman1.com> That worked. Thanks man :) Joe blange writes: > Did you try this . . . It is from the FAQ on the website. > > Q. Why can't I install NSClient 1.06.2 on Win NT4 ? > A. Use the DLLs from NSClient 1.06.0 > > -----Original Message----- > From: Joe Giles [mailto:jgiles at joeman1.com] > Sent: Monday, September 16, 2002 10:54 AM > To: atul at mindsw.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NT Monitoring Info > > > > Ok, I went there and downloaded the files. But, when I go to install the > pNSClient.exe on the NT 4.0 machine, I get this error: > > "The Procedure entry point RtlStringFormGUID could not be located in the dynamic > link library ntdll.dll. > > > I am using SP 6 and I have copied the 2 dll's that came with the app to both the > location where the pNSClient.exe is and in the system32 folder. > > Any ideas why this isnt working? > > Thanks > > Joe > > Atul Gosain writes: > > > go to http://nsclient.ready2run.nl/. and download the stuff to monitor NT > > and 2000 machines. > > > > > > List, > > > Is there a document that discribes how to set up monitoring of NT > > > machines. Such as Disk space monitoring and process monitoring? > > > > > > I cant seem to find any info. > > > > > > Thanks > > > > > > 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 > > > > > > -- > > 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 Darren.Gamble at sjrb.ca Mon Sep 16 18:35:53 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Mon, 16 Sep 2002 10:35:53 -0600 Subject: check_smtp and check_imap issues Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB537@shawmail02> Good day, > # 'check_imap' command definition > define command{ > command_name check_imap > command_line $USER$/check_imap -H > $HOSTADDRESS$ -e 220 cmsu2 > } Nagios is correctly reporting that it can not find the plugin. $USER$ is not a valid macro. Check the documentation on naming for user macros. HTH, ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gwartney at hotmail.com Mon Sep 16 18:53:05 2002 From: gwartney at hotmail.com (Scott Gwartney) Date: Mon, 16 Sep 2002 09:53:05 -0700 Subject: (no subject) Message-ID: I've installed nagios [mostly] trouble-free. However, I'm having some trouble with the image packs. I looked through the archives for this list and have been able to get the status map to work with the following configuration: cgi.cfg; xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg ....and in hostextinfo.cfg; define hostextinfo { host_name Computer_name icon_image image.png vrml_image image.png gd2_image image.gd2 icon_image_alt Server statusmap_image image.png # 3d_coords 100,50;3.5,0.0,-1.5 } Like I said, this works for the 2D images, just not the cool 3D ones.... TIA, --Scott _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Mon Sep 16 19:40:43 2002 From: greis at grinco.de (Olaf Greis) Date: Mon, 16 Sep 2002 19:40:43 +0200 Subject: pausing notifications In-Reply-To: <1032173798.324.8.camel@baw> References: <1032195814.18566.3.camel@plank> <1032173798.324.8.camel@baw> Message-ID: <200209161940.43355@grinco.de> why don't you set the check interval to 10 minutes, and give it 3 rechecks with 3 minutes as recheck interval? brdgs olaf Am Montag, 16. September 2002 12:56 schrieb Bastiaan van den Berg: > Hiya > > I would like to setup something for some of our services > > They sometimes just fall out , and return within 4 minutes , so i want > to delay the notification with 10 minutes after it has gone offline. > > Is this possible? > > with regards, > Bastiaan v/d Berg > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From fireant at zpdee.net Mon Sep 16 19:43:51 2002 From: fireant at zpdee.net (Christopher Louie Cagasan) Date: Tue, 17 Sep 2002 01:43:51 +0800 Subject: 3D View References: Message-ID: <001301c25da8$9e81c9b0$52624eca@skyinet.net> Hi Erik/Thomas, I tried Thomas's suggestion to check those nodes w/c have "dots" in their names and that's the culprit. It worked! I have another node with a dash in the name but that appeared in the map too. I wonder why it won't accept dots. Would this be a limitation on the viewers or a definition issue in Nagios? Thanks all! Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. ----- Original Message ----- From: Erik N. Mullinix To: Christopher Louie Cagasan Sent: Tuesday, September 17, 2002 12:09 AM Subject: RE: [Nagios-users] 3D View Hello Christopher. I have seen this issue myself before in more than one method under VRML sights. Have you updated your Cosmo Player? Also there are a variety of VRML engines available although I currently do not have resources for any of them. What this looks like is your Cosmo player is unable to define an object because of a special character or event within the VRML page. You might want to check your Nodes and see if they have any non-alpha numeric characters or a space within the name. This looks as if you might have a node defined without a name as well. It is not reading the end of the node argument for that object. Please let us know what you find. Erik Mullinix -----Original Message----- From: Christopher Louie Cagasan [mailto:fireant at zpdee.net] Sent: Sunday, September 15, 2002 4:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3D View I have this error on my VRML viewer and I don't know where to look for the error. Can anybody help me with this? Thanks. -------------------------------------------------------------------------------------- Welcome to Cosmo Player 2.1.1. Current Graphics Renderer Name: DirectX 5 Direct3D Renderer Description: Microsoft Direct3D RGB Software Emulation # Error parsing '.' at line 302: node name expected -------------------------------------------------------------------------------------- Christopher Louie Cagasan Network Operations Center Skycablenet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwartney at hotmail.com Mon Sep 16 20:51:00 2002 From: gwartney at hotmail.com (Scott Gwartney) Date: Mon, 16 Sep 2002 11:51:00 -0700 Subject: Was: (no subject) Now: 3D icons Message-ID: Sorry, forgot a subject line >From: "Scott Gwartney" >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] (no subject) >Date: Mon, 16 Sep 2002 09:53:05 -0700 > >I've installed nagios [mostly] trouble-free. However, I'm having some >trouble with the image packs. I looked through the archives for this list >and have been able to get the status map to work with the following >configuration: > >cgi.cfg; >xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > >....and in hostextinfo.cfg; > >define hostextinfo { > host_name Computer_name > icon_image image.png > vrml_image image.png > gd2_image image.gd2 > icon_image_alt Server > statusmap_image image.png ># 3d_coords 100,50;3.5,0.0,-1.5 > } >Like I said, this works for the 2D images, just not the cool 3D ones.... > >TIA, > >--Scott > > > > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.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 _________________________________________________________________ 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 rpiazza at niatech.ca Mon Sep 16 21:18:25 2002 From: rpiazza at niatech.ca (NiATech) Date: Mon, 16 Sep 2002 15:18:25 -0400 Subject: Nagios Installation Message-ID: <000101c25db5$d4db49c0$6b01a8c0@files.ecmoffice.com> Anyone have any problems installing Nagios. I have just installed from source on RedHat 7.3 and when I try to run it for the first time I get: Error: Unexpected token or statement in file ?/usr/local/nagios/etc/command.cfg? on line 29. So I commented that line out and it just finds errors at the next uncommented line? Roberto Piazza -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Mon Sep 16 21:44:19 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 16 Sep 2002 15:44:19 -0400 Subject: Cygwin and nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A020120F5@exnadetmbx3.ams.gblxint.com> I posted this last week, am I to assume by the overwhelming lack of response that I am the only one trying this? Does that mean this is, hmm, stupid?? Thanks, DR All, I have successfully compiled and run nrpe on a windows box in a cygwin shell. I then was able to have my nagios host execute an nrpe command against the nrpe daemon running in the cygwin shell on the windows box and the daemon returned the correct data. Has anyone actually done this in a production environment? Are there security concerns (other than the obvious like ensure telnet is disabled)? Stability concerns? Can Cygwin run as a service under windows? I was able to get nrpe to run (or appear to run ) without cygwin running but without cygwin running nrpe doesn't seem to actually listen on a port. What we are doing is using nrpe to cascade through several servers to ensure that the actual path is up (through DMZ's and the like). For example Nagios is running on server A, nrpe daemon run on servers B, C and D. Nagios executes a service for B with a command of check_nrpe!check_c The daemon on B then executes check_c which in turn causes server c to execute check_d. This works great as long as all boxes are unix or all are unix and the last one is windows running nsclient. Unfortunately some of the systems us windows boxes in the middle of the system and this breaks the chain. With cygwin I believe I can over come this problem. Sincerely, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Mon Sep 16 23:39:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 16 Sep 2002 16:39:00 -0500 Subject: Cygwin and nrpe Message-ID: I wouldn't say it's stupid at all. It's always interesting to see the creative juices flowing, provided they don't wash you out to sea. ;) Now that you are able to compile/run nrpe under cygwin, I'd be curious to know if there are any (open source/freeware/shareware) utils which act as a 'wrapper' for programs, letting you run them as a service, in a sort of bare-bones, hackneyed way. Just adding my own juices to the punch mix.... jc > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Monday, September 16, 2002 2:44 PM > To: Nagios-User (E-mail) > Subject: [Nagios-users] Cygwin and nrpe > > > I posted this last week, am I to assume by the overwhelming > lack of response > that I am the only one trying this? Does that mean this is, > hmm, stupid?? > > Thanks, > > DR > > All, > > I have successfully compiled and run nrpe on a windows box in a cygwin > shell. I then was able to have my nagios host execute an nrpe command > against the nrpe daemon running in the cygwin shell on the > windows box and > the daemon returned the correct data. > > Has anyone actually done this in a production environment? Are there > security concerns (other than the obvious like ensure telnet > is disabled)? > Stability concerns? > > Can Cygwin run as a service under windows? > > I was able to get nrpe to run (or appear to run ) without > cygwin running but > without cygwin running nrpe doesn't seem to actually listen > on a port. > > > What we are doing is using nrpe to cascade through several > servers to ensure > that the actual path is up (through DMZ's and the like). For > example Nagios > is running on server A, nrpe daemon run on servers B, C and D. Nagios > executes a service for B with a command of check_nrpe!check_c > The daemon > on B then executes check_c which in turn causes server c to > execute check_d. > This works great as long as all boxes are unix or all are > unix and the last > one is windows running nsclient. > > Unfortunately some of the systems us windows boxes in the > middle of the > system and this breaks the chain. With cygwin I believe I can > over come this > problem. > > Sincerely, > > 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 travisll at comfedcu.org Tue Sep 17 00:37:29 2002 From: travisll at comfedcu.org (Travis Llewellyn) Date: Mon, 16 Sep 2002 17:37:29 -0500 Subject: Cygwin and nrpe Message-ID: I think that is what the cygrunsrv is for. I am checking on it now. Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Posted At: Monday, September 16, 2002 4:39 PM Posted To: Nagios Lists Conversation: [Nagios-users] Cygwin and nrpe Subject: RE: [Nagios-users] Cygwin and nrpe I wouldn't say it's stupid at all. It's always interesting to see the creative juices flowing, provided they don't wash you out to sea. ;) Now that you are able to compile/run nrpe under cygwin, I'd be curious to know if there are any (open source/freeware/shareware) utils which act as a 'wrapper' for programs, letting you run them as a service, in a sort of bare-bones, hackneyed way. Just adding my own juices to the punch mix.... jc > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Monday, September 16, 2002 2:44 PM > To: Nagios-User (E-mail) > Subject: [Nagios-users] Cygwin and nrpe > > > I posted this last week, am I to assume by the overwhelming > lack of response > that I am the only one trying this? Does that mean this is, > hmm, stupid?? > > Thanks, > > DR > > All, > > I have successfully compiled and run nrpe on a windows box in a cygwin > shell. I then was able to have my nagios host execute an nrpe command > against the nrpe daemon running in the cygwin shell on the > windows box and > the daemon returned the correct data. > > Has anyone actually done this in a production environment? Are there > security concerns (other than the obvious like ensure telnet > is disabled)? > Stability concerns? > > Can Cygwin run as a service under windows? > > I was able to get nrpe to run (or appear to run ) without > cygwin running but > without cygwin running nrpe doesn't seem to actually listen > on a port. > > > What we are doing is using nrpe to cascade through several > servers to ensure > that the actual path is up (through DMZ's and the like). For > example Nagios > is running on server A, nrpe daemon run on servers B, C and D. Nagios > executes a service for B with a command of check_nrpe!check_c > The daemon > on B then executes check_c which in turn causes server c to > execute check_d. > This works great as long as all boxes are unix or all are > unix and the last > one is windows running nsclient. > > Unfortunately some of the systems us windows boxes in the > middle of the > system and this breaks the chain. With cygwin I believe I can > over come this > problem. > > Sincerely, > > 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 Sep 17 01:01:21 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 16 Sep 2002 18:01:21 -0500 Subject: pausing notifications Message-ID: One alternative would require leveraging escalations. You would need to define a special contact group (or groups), and shorten the notification down from the out-of-box config of 120 mins to something like 15 mins. (This may or may not be desireable, but only you can decide that.) Configure your escalations.cfg such that first_notification occurs at 2. (You should read the docs on escalations to decide what your other options are, such as last_notification, or whether to have it escalated.) Another option (based on the above) would be to have this escalation group handle first_notification of 1, but only for e-mail, then have your usual group(s) handle it starting from the second notification. Food for thought. jc > -----Original Message----- > From: Bastiaan van den Berg [mailto:bastiaan at iptower.nl] > Sent: Monday, September 16, 2002 5:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] pausing notifications > > > Hiya > > I would like to setup something for some of our services > > They sometimes just fall out , and return within 4 minutes , > so i want > to delay the notification with 10 minutes after it has gone offline. > > Is this possible? > > with regards, > Bastiaan v/d Berg > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Sep 17 01:09:47 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 16 Sep 2002 18:09:47 -0500 Subject: send mail notifications Message-ID: Yes, it sounds like you need to configure an MTA on your Nagios host. Sendmail (if you like that sort of thing), Qmail or Postfix. (procmail is a mail filter.) There are other MTAs, if you feel like researching which one might be best for you. If you're running Solaris8 or Linux, feel free to send me your sendmail.cf file (don't forget to make a backup copy) and I'll have at it. Also let me know the following: - name of the Nagios host - domain name of the Nagios host - name of your smarterhost (it appears this may be your domino-mail server) Please also verify that either there are DNS records which the Nagios can use to resolve your smarterhost, or an entry in /etc/hosts. Please be patient; like many others, I have my own job to do, which takes precedence. For future reference, check out the O'Reilly books on Sendmail, also DNS and BIND. Also check out www.sendmail.org. jc > -----Original Message----- > From: Nicole H?hnel [mailto:Nicole.Haehnel at epost.de] > Sent: Monday, September 16, 2002 3:57 AM > To: Nagios Plug; Nagios > Subject: [Nagios-users] send mail notifications > > > Hi, > after solving most of my troubles with nagios with the help > of this mailing > list > it's working very good. > But how do I send mails? > By default nagios uses the mail command, but this cannot send > to another > machine?! > Do I need to configure a MTA sth. like sendmail (or procmail?) to send > the mail to our internal domino-mail server? > If so, can anybody help me to configure it? > We have a domino server behind our FW which accepts mails per smtp, > but how do send mail to this server? > > Thanks > Nicole > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 blange at imperialinc.com Mon Sep 16 18:21:07 2002 From: blange at imperialinc.com (blange) Date: Mon, 16 Sep 2002 11:21:07 -0500 Subject: NT Monitoring Info Message-ID: Did you try this . . . It is from the FAQ on the website. Q. Why can't I install NSClient 1.06.2 on Win NT4 ? A. Use the DLLs from NSClient 1.06.0 -----Original Message----- From: Joe Giles [mailto:jgiles at joeman1.com] Sent: Monday, September 16, 2002 10:54 AM To: atul at mindsw.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NT Monitoring Info Ok, I went there and downloaded the files. But, when I go to install the pNSClient.exe on the NT 4.0 machine, I get this error: "The Procedure entry point RtlStringFormGUID could not be located in the dynamic link library ntdll.dll. I am using SP 6 and I have copied the 2 dll's that came with the app to both the location where the pNSClient.exe is and in the system32 folder. Any ideas why this isnt working? Thanks Joe Atul Gosain writes: > go to http://nsclient.ready2run.nl/. and download the stuff to monitor NT > and 2000 machines. > > > > List, > > Is there a document that discribes how to set up monitoring of NT > > machines. Such as Disk space monitoring and process monitoring? > > > > I cant seem to find any info. > > > > Thanks > > > > 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 > > > -- > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 ------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab From bliwanag at yahoo.com Tue Sep 17 02:22:01 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Mon, 16 Sep 2002 17:22:01 -0700 (PDT) Subject: How to check oracle8i In-Reply-To: <20020916161734.87894.qmail@web13001.mail.yahoo.com> References: <20020916161734.87894.qmail@web13001.mail.yahoo.com> Message-ID: <20020917002201.15132.qmail@web40606.mail.yahoo.com> Good day to everyone! I just want to ask how to check the databases in nagios such as oracle8i.When I tried a simple command in the command prompt like ./check_oracle -H it says : "Cannot determine ORACLE_HOME for sid " Thank you very much! Bernie __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab From robin at primus.ca Tue Sep 17 04:30:47 2002 From: robin at primus.ca (Robin Mordasiewicz) Date: Mon, 16 Sep 2002 22:30:47 -0400 (EDT) Subject: Webmin Module In-Reply-To: <001301c25da8$9e81c9b0$52624eca@skyinet.net> References: <001301c25da8$9e81c9b0$52624eca@skyinet.net> Message-ID: Is there a webmin module for nagios like the netsaint module. ------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab From atul at mindsw.com Tue Sep 17 08:49:00 2002 From: atul at mindsw.com (Atul Gosain) Date: Tue, 17 Sep 2002 12:19:00 +0530 (IST) Subject: Cygwin and nrpe In-Reply-To: <0DA06E553C3BD511823500508BB8965A020120F5@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A020120F5@exnadetmbx3.ams.gblxint.com> Message-ID: <1230.202.88.151.191.1032245340.squirrel@www.webyarn.com> I wonder why do u want to use nrpe on windows box when nsclient is allready available for it. Its work is to provide information about ur NT machine. > I posted this last week, am I to assume by the overwhelming lack of > response that I am the only one trying this? Does that mean this is, > hmm, stupid?? > > Thanks, > > DR > > All, > > I have successfully compiled and run nrpe on a windows box in a cygwin > shell. I then was able to have my nagios host execute an nrpe command > against the nrpe daemon running in the cygwin shell on the windows box > and the daemon returned the correct data. > > Has anyone actually done this in a production environment? Are there > security concerns (other than the obvious like ensure telnet is > disabled)? Stability concerns? > > Can Cygwin run as a service under windows? > > I was able to get nrpe to run (or appear to run ) without cygwin running > but without cygwin running nrpe doesn't seem to actually listen on a > port. > > > What we are doing is using nrpe to cascade through several servers to > ensure that the actual path is up (through DMZ's and the like). For > example Nagios is running on server A, nrpe daemon run on servers B, C > and D. Nagios executes a service for B with a command of > check_nrpe!check_c The daemon on B then executes check_c which in turn > causes server c to execute check_d. This works great as long as all > boxes are unix or all are unix and the last one is windows running > nsclient. > > Unfortunately some of the systems us windows boxes in the middle of the > system and this breaks the chain. With cygwin I believe I can over come > this problem. > > Sincerely, > > 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 -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab From rturner at gnr.com Tue Sep 17 08:57:07 2002 From: rturner at gnr.com (Rue Turner) Date: Tue, 17 Sep 2002 07:57:07 +0100 Subject: NSCA client-server logic References: <000a01c25c92$2a1d2950$0a00a8c0@nh> <1032087762.26216.22.camel@phobos> <000d01c25cd9$adef6080$0a00a8c0@nh> Message-ID: <018301c25e17$70107260$9601010a@ops.gnr.com> Pretty sure I've followed everything in the distributed docs but my service remains 'stale' one thought: nsca.cfg has a line to set the server port (default 5667) but the example client (send_nsca.cfg) doesn't - so how does it know where to connect? Information contained herein is Global Name Registry Proprietary Information and is made available to you because of your interest in our company. This information is submitted in confidence and its disclosure to you is not intended to constitute public disclosure or authorization for disclosure to other parties. ***************** What's your .name? Get one at www.name ***************** From tdeblend at gcc.dhl.com Tue Sep 17 09:16:55 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 17 Sep 2002 09:16:55 +0200 Subject: [Nagios-users] Citrix Plugin References: Message-ID: <3D86D6E7.FA6D25E3@gcc.dhl.com> Grae Noble wrote: > > Theres some interesting plugins for BigBrother that could be modified to work with netsaint. I've modified a few but most require extensive changes to work. > > http://www.deadcat.net > > >From memory there is one there for citrix. (quite neat too, it will check for the existence of a specific application ). OK. I've grabbed the Big Brother Citrix plugin from Ed Rolison (http://www.deadcat.net/cgi-bin/download.pl?section=1&file=bb-citrix.pl). He managed to write it with the help of tcpdump. I personally think this is very cool and a job well done. Thanks Ed. However, the output that NetSaint expects is totally different from the output BB wants. So I've changed parts of the code so it works with NetSaint. I then tested it in our environment, and it works OK. This plugin does not take any command line arguments. Just adjust the beginning of the script so it reflects your setup. If you use a farm, then you can use the broadcast address (that's how I use it), otherwise add the server address(es) you want to check. Good luck, Tom De Blende So here it is: ******************************************************************************************************************************************** #!/usr/bin/perl -w # 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. # # No liability accepted for problems, mistakes, inaccuracies or nuclear war. # # 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 :) # version 1.5 ish # # Revision history: # version 1.0 ish. Shell script which used netcat # version 1.1 ish. extended script to use a non-broadcast method of querying # version 1.3 re-written in perl # version 1.4 updated perl for 'yellow' and 'red' apps + some minor fixes. # version 1.5 ish added support for 'long' published apps lists. # Changed plugin output so it works with NetSaint. # Tom De Blende 16/09/02 # tom.db at pandora.be use IO::Socket::INET; use IO::Select; use FileHandle; #configuration section my $debug = 0; my $timeout = 1; my $test_count = 2; #You might have to change this... my $date = `date +%s`; my $buffer_size = 1500; # buffer size used for 'recv' calls. #a word of warning - at the moment these test _will_ match substrings #of the applications. So if you have something like 'Desktop' and 'DesktopFull' #Desktop will match on either. I'll probably fix this in a later version. #a 'single' target will be assumed to be a broadcast address for a cluster. #that's probably not right, but I've got a local subnet cluster, and #a remote cluster that I can't broadcast to. So this works well enough. #feel free to hack in support for discriminating between broadcast/standalone though.... my (%tests) = ( 'netsaint' => #this is the name of the 'machine that this test appears to #be from in the bb display { testname => 'icaclstr', #hopefully fairly obvious - which column in BB target => [ "172.16.200.255" ], #either a list of servers, or a broadcast address red_published_apps => # apps which trigger a 'CRITICAL' when down [ "Critical1", "Critical2", "Critical With Spaces 3" ], yellow_published_apps => #apps which trigger a 'WARNING' when down. [ "Warning1", "Not So Critical", "Warning App 3" ], longlist => 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). }, # 'othersite' => # { # testname => 'icaclstr', # target => # [ "server1","server2","server3","server4","server5"], # red_published_apps => # [ "Critical 4" ], # yellow_published_apps => [ "Critical 5" ], # longlist => 1 # }, ); #End user config. #ica port number. my $ica_port = 1604; #what port ICA runs on. Unlikely to change. #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 $app_response_offset = 0x28; my @bcast_helo = ( 0x1e,0x00,0x01,0x30,0x02,0xfd,0xa8,0xe3,0x00,0x02,0xf5,0x95,0x9f,0xf5,0x30,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00 ); my @bcast_query_app = ( 0x24,0x00,0x01,0x32,0x02,0xfd,0xa8,0xe3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x02,0x00,0x00,0x00,0x00,0x00, 0x00 ); my @direct_helo = ( 0x20,0x00,0x01,0x30,0x02,0xfd,0xa8,0xe3,0x00,0x00,0x