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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ); my @direct_query_app = ( 0x2c,0x00,0x02,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,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ); if ( $debug == 1 ) { print "*** Running in test mode\n"; } #we open 2 UDP ports - one to send the 'search' and the other to query the app list. my $UDP_HELO = IO::Socket::INET -> new ( Proto => "udp" ) || die "Socket failure: $!"; my $UDP_QUERY = IO::Socket::INET -> new ( Proto => "udp" ) || die "Socket failure: $!"; #select is here to allow us to set timeouts on the connections. Otherwise they #just 'stop' until a server appears. my $select_helo = IO::Select -> new ($UDP_HELO) || die "Select failure: $!"; my $select_query = IO::Select -> new ($UDP_QUERY) || die "Select failure: $!"; my $send_addr ; #helo needs to be broadcast, but query does not. $UDP_HELO -> sockopt(SO_BROADCAST, 1 ); #autoflush both. $UDP_HELO -> autoflush(1); $UDP_QUERY -> autoflush(1); my ( $remote_host, $buff, $buff2, $raddr, $rport, $rhost, @remote_response ); #right, run through the %tests hash above, and test each of the machines listed. foreach my $test_target ( keys ( %tests ) ) { $color = "clear"; $line2 = ""; if ( $debug ) { print "testing $test_target\n" }; $buff = ""; $buff2 = ""; my $this_test = 0; #If the first test fails, (as it sometimes does, UDP being unreliable) #then it'll retry up to $test_count times (see at the top). while ( $this_test <= $test_count && !$buff ) { if ( $debug ) { print "Running test: ", ++$this_test,"\n" }; #if we have multiple targets, we probe each of them until we get a #response... foreach my $destination ( @ { $tests{$test_target}{target} } ) { my @query_message = @bcast_helo; #if we haven't got a response yet, try this one. if ( !$buff ) { if ( $debug ) { print "Querying $destination for master browser\n"; } $send_addr = sockaddr_in("$ica_port", inet_aton("$destination") ); if ( $#{ $tests{$test_target}{target} } > 1) { @query_message = @direct_helo; } $UDP_HELO -> send ( pack ("C"x $#query_message, @query_message), 0, $send_addr ); if ( $select_helo -> can_read($timeout) ) { $remote_host = $UDP_HELO -> recv($buff, $buffer_size, 0 ); } } # if (!$buff) } #foreach destination } # if test count loop #ok we've looped several times, looking for a response. If we don't have one #yet, we simply mark the whole lot as being unavailable. if ( $buff ) { ($rport, $raddr) = sockaddr_in ( $remote_host ); $rhost = gethostbyaddr ( $raddr, AF_INET ); my @tmpbuf = unpack ("C" x length($buff), $buff ); if ( $debug ) { print "$rhost:$rport responded with: ",length($buff), " bytes\n"; foreach (@tmpbuf) { printf ("%02X ", $_ ); } print "\n"; } #if debug #now we have a response, then we need to figure out the master browser, and #query it for published applications... $master_browser = "$tmpbuf[32].$tmpbuf[33].$tmpbuf[34].$tmpbuf[35]"; #ok should probably error check this, because it's remotely possible #that a server response might be completely wrong... $color="green"; if ( $debug ) { print "Master browser = $master_browser\n" } ; $send_addr = sockaddr_in($ica_port, inet_aton("$master_browser") ); if ( $#{ $tests{$test_target}{target} } > 1) { if ( $debug ) { print "using directed query\n" }; @query_message = @direct_query_app; } else { if ( $debug ) { print "using broadcast query\n" }; @query_message = @bcast_query_app; } #now we send the appropriate query string, to the master browser we've found. $buff = ""; while ( $this_test <= $test_count && !$buff ) { $UDP_QUERY -> send ( pack ("C"x $#query_message, @query_message), 0, $send_addr ); if ( $select_query -> can_read($timeout) ) { $remote_host = $UDP_QUERY -> recv($buff, $buffer_size, 0 ); } #this is icky, because i _most_ situations, there isn't going to be #any more data... but we have a server with a LONG published apps list #which takes two packets to deliver. Good eh? if ( $tests{$test_target}{longlist} && $select_query -> can_read($timeout) ) { $UDP_QUERY -> recv($buff2, $buffer_size, 0 ); if ( $buff2 ) { $buff = join ("", $buff, $buff2); } } } #while test_count if ($buff) #eg if we got a response from a couple of retries of the app query { ($rport, $raddr) = sockaddr_in ( $remote_host ); $rhost = gethostbyaddr ( $raddr, AF_INET ); @tmpbuf = unpack ("C" x length($buff), $buff ); if ( $debug ) { print "$rhost:$rport responded to app query with: ",length($buff), " bytes\n"; foreach (@tmpbuf) { printf ("%02X ",$_ ); } print "\n"; } #debug #now we strip out the icky null chars. This is what makes the pattern #matching on the app list less selective. The problem is that some #serves return an app list in ASCII, and others return it in unicode... #stripping the nulls is the easiest way of converting it to a common format. my @newbuf; foreach my $value (@tmpbuf) { if ( $value > 31 ) { push(@newbuf, $value); } } #now after trashing the nulls, we need to append one as a string terminator. push(@newbuf, 0 ); @tmpbuf=@newbuf; my $app_list = join("", pack("C" x $#tmpbuf, @tmpbuf ) ); if ( $debug ) { print "Recieved list of applications: $app_list\n" }; $line2 = ""; #yellow first, so a red overrides it... foreach $app (@{$tests{$test_target}{yellow_published_apps}} ) { my $app_test = $app_list; if ( $app_test =~ /$app/ ) { $line2 = join ( "", $line2 ); } else { $line2 = join ( " -", $line2, " $app" ); $color = "yellow"; } } #foreach foreach $app (@{$tests{$test_target}{red_published_apps}} ) { my $app_test = $app_list; if ( $app_test =~ /$app/ ) { $line2 = join ( "", $line2 ); } else { $line2 = join ( " -", $line2, " $app" ); $color = "red"; } } #foreach sleep $timeout; #because otherwise we can get responses from the WRONG servers. DOH } # if ( !$buff) else { $color = "red"; $line2 = "CRITICAL - No response from master browser."; print "$line2"; exit 2; } } #if !$buff - so we skip this chunk if there was no response from any of our master browsers, since #there's not point trying to get an app list... else { $color = "red"; $line2 = "CRITICAL - No response recieved to discovery messages.\n"; print "$line2"; exit 2; } if ( $color eq 'green' ) { $line = "OK - All published applications are available.\n"; print "$line"; $exitvalue = "0"; } elsif( $color eq 'yellow' ) { $line = "WARNING$line2 unavailable!\n"; print "$line"; $exitvalue = "1"; } else { $line = "CRITICAL$line2 unavailable!\n"; print "$line"; $exitvalue = "2"; } } #foreach close $UDP_QUERY; close $UDP_HELO; exit $exitvalue ******************************************************************************************************************************************** ------------------------------------------------------- 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 Nicole.Haehnel at epost.de Tue Sep 17 09:22:53 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Tue, 17 Sep 2002 09:22:53 +0200 Subject: No nagios pc in statusmap? Message-ID: <000c01c25e1b$098d5360$13121bac@pc1072> Hi, I used 2d_coords in the hostextinfo.cfg for all my hosts, but then it doesn't draw the nagios pc in the statusmap. I change layout method from user supplied to circular(marked up) and there it draw the nagios pc. Why? Thanks! Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.pavani at cineca.it Tue Sep 17 09:48:01 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Tue, 17 Sep 2002 09:48:01 +0200 Subject: detecting HUBS References: <20020916160718.82949.qmail@web13001.mail.yahoo.com> Message-ID: <3D86DE31.6080204@cineca.it> Hi. The only thing I may figure is that you monitor the data link status of the switch interface on the uplink side of the HUB. When it goes down, then the hub is unreachable. You can monitor it by snmp. Nathan Hill wrote: > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti phone:+39 0516171411 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- 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 kuehne at sietec.de Tue Sep 17 09:56:45 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Tue, 17 Sep 2002 09:56:45 +0200 Subject: How to check oracle8i Message-ID: <3D86E03D.9010707@sietec.de> > -----Original Message----- > From: bernie liwanag [mailto:bliwanag at yahoo.com] > Sent: Tuesday, September 17, 2002 2:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to check oracle8i > > > > 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 " I assume you are using the shell script check_oracle. Insert a line similar to this at the beginning: ORACLE_HOME=/path/to/oracle_home; export ORACLE_HOME This should work, provided that you have the required progs and libs available. Best regards Alex Kuehne -- Network Manager, SAG, Berlin, Germany ------------------------------------------------------- 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 jamie at bclnz.net Tue Sep 17 10:32:14 2002 From: jamie at bclnz.net (Jamie) Date: Tue, 17 Sep 2002 20:32:14 +1200 Subject: Cygwin and nrpe References: <0DA06E553C3BD511823500508BB8965A020120F5@exnadetmbx3.ams.gblxint.com> Message-ID: <00ab01c25e24$ba835d00$fe784fcb@paradise.net.nz> Well, On a social note, I imagine the last thing that it means is "..this is, hmm, stupid..". Following up on the reminder about the prior email, can i aks (no it's not a spelling mistake. it's local pronoun-ciation) you'se (ditto) a question? Anyone have any thoughts on *my previous mail* (nagios - NAG the Internet Operating System): additional information in notifications... why the............does it chop the end off? Recap: sends mail. the info at the end. not there.... Why the RTA problems? If you have [a clue],[a witty suggestion],[no idea] then please send thoughts, comments etc. ------------------------------------------------- Anyway, Please allow me to introduce myself........... (Generally attributed to Mick Jagger - Rolling Stones ecetera) New Zealand. 100% Pure. Personally, Dubya doin' WAR is uncool. OK? Open Source is basically the future. ----------------------------------------- Fellow engineers, Welcome. ----------------------------------------- I think the basic principle is trust. Can I trust you all? Hmm. Maybe. Maybe not. Anyway. ----------------------------------------- Nagios/Netsaint, call it what you will....... ----------------------------------------- Right! I hope this email finds you well. I hope I haven't introduced a unwanted element in the community. Cheers Jamie. ----- Original Message ----- From: "Rusch, Daniel" To: "Nagios-User (E-mail)" Sent: Tuesday, September 17, 2002 7:44 AM 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 > ------------------------------------------------------- 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 tguthmann at cvf.fr Tue Sep 17 10:17:19 2002 From: tguthmann at cvf.fr (Thomas) Date: Tue, 17 Sep 2002 10:17:19 +0200 Subject: check_smtp and check_imap issues References: <078EC26E265CD411BD9100508BDFFC861BCBB537@shawmail02> Message-ID: <3D86E50F.5030402@cvf.fr> Yes, darren is right, you mistake $USER$ with $USER1$ (see the '1') Darren Gamble wrote: >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 >_______________________________________________ >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 novickj at toysrus.com Tue Sep 17 13:20:33 2002 From: novickj at toysrus.com (Novick, Jeff) Date: Tue, 17 Sep 2002 07:20:33 -0400 Subject: Cygwin and nrpe Message-ID: <7CB57EABD6C23342AA8282DA8206989901B0B9CD@msg01psp> Hi, Dan, To run nrpe as a service, get the Resource Kit for your Windows (NT/2K/XP) machine and check out: HOWTO: Create a User-Defined Service http://support.microsoft.com/default.aspx?scid=kb;en-us;Q137890 I've used this for other home-grown services without any issues, but have never tried nrpe. Let me know how it works. Jeff -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Monday, September 16, 2002 3: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 email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to EmailAdmin at toysrus.com. Toys "R" Us, Inc. ------------------------------------------------------- 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 proux at freesurf.fr Tue Sep 17 14:50:25 2002 From: proux at freesurf.fr (jpp) Date: Tue, 17 Sep 2002 14:50:25 +0200 Subject: How to check oracle8i In-Reply-To: <3D86E03D.9010707@sietec.de> References: <3D86E03D.9010707@sietec.de> Message-ID: Le Mardi 17 Septembre 2002 09:56, Alex Kuehne a ?crit : > > -----Original Message----- > > From: bernie liwanag [mailto:bliwanag at yahoo.com] > > Sent: Tuesday, September 17, 2002 2:22 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] How to check oracle8i > > > > > > > > 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 " > > I assume you are using the shell script check_oracle. Insert a line > similar to this at the beginning: > > ORACLE_HOME=/path/to/oracle_home; export ORACLE_HOME > > This should work, provided that you have the required progs and libs > available. is it necessary to install an oracle client ? > > Best regards > Alex Kuehne ------------------------------------------------------- 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 tdeblend at gcc.dhl.com Tue Sep 17 14:57:30 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 17 Sep 2002 14:57:30 +0200 Subject: How to check oracle8i References: <3D86E03D.9010707@sietec.de> Message-ID: <3D8726BA.D7A62D4C@gcc.dhl.com> jpp wrote: > is it necessary to install an oracle client ? yes ------------------------------------------------------- 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 fba at teamlog.fr Tue Sep 17 15:17:23 2002 From: fba at teamlog.fr (=?iso-8859-1?Q?Fr=E9d=E9ric_BARLET?=) Date: Tue, 17 Sep 2002 15:17:23 +0200 Subject: How to check oracle8i In-Reply-To: References: Message-ID: Hi everybody Yes, you have to install the Oracle Client on your linux server in order to monitor your Database. And with the client, it will be possible for you to do some extend monitoring with some sql script and sqlplus. Regards Fr?d?ric BARLET -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de jpp Envoy??: mardi 17 septembre 2002 14:50 ??: Alex Kuehne; nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] How to check oracle8i Le Mardi 17 Septembre 2002 09:56, Alex Kuehne a ?crit : > > -----Original Message----- > > From: bernie liwanag [mailto:bliwanag at yahoo.com] > > Sent: Tuesday, September 17, 2002 2:22 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] How to check oracle8i > > > > > > > > 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 " > > I assume you are using the shell script check_oracle. Insert a line > similar to this at the beginning: > > ORACLE_HOME=/path/to/oracle_home; export ORACLE_HOME > > This should work, provided that you have the required progs and libs > available. is it necessary to install an oracle client ? > > Best regards > Alex Kuehne ------------------------------------------------------- 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 _______________________________________________ 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 daniel.geske at yoc.de Tue Sep 17 16:22:33 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 17 Sep 2002 16:22:33 +0200 Subject: many nagios processes start and quit Message-ID: <000601c25e55$aa1725b0$7f00a8c0@pc127> Hi all, I start the nagios process once and it runs fine. When I do a ps, however, I see many other process daemonizing, then disappearing soon thereafter. The first process I started manually stays. What can I do against this sort of behavior? I think removing this problem would reduce load on my system. Below you will find two ps returns, one that shows all the weird ones that disappear, the other one doen right afterwards, being alright - the way it should be. I'd be happy to hear from you soon. Sincerely Daniel ---------------------------------------------- :/usr/local/nagios/etc # ps waux | grep bin/nagios nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4917 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4945 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4949 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5005 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5049 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5078 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5115 0.0 1.0 2584 1372 ? S 15:30 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 5174 0.0 0.4 1600 536 pts/2 R 15:30 0:00 grep bin/nagios ---------------------------------------------- :/usr/local/nagios/etc # ps waux | grep bin/nagios nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 14446 0.0 0.4 1600 536 pts/2 R 15:33 0:00 grep bin/nagios ---------------------------------------------- Comment: PID 2645 was originally started by me and stays in the process list. The others come and go...? Is this normal behaviour? I am running the latest Nagios 1.0b6 on Linux. ------------------------------------------------------- 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 tdeblend at gcc.dhl.com Tue Sep 17 16:24:14 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 17 Sep 2002 16:24:14 +0200 Subject: many nagios processes start and quit References: <000601c25e55$aa1725b0$7f00a8c0@pc127> Message-ID: <3D873B0E.B078312D@gcc.dhl.com> This behaviour is by design. Nagios forks processes when it launches service checks. No need to worry. Daniel Geske wrote: > > Hi all, > > I start the nagios process once and it runs fine. When I do a ps, however, I > see many other process daemonizing, then disappearing soon thereafter. > The first process I started manually stays. > What can I do against this sort of behavior? I think removing this problem > would reduce load on my system. > Below you will find two ps returns, one that shows all the weird ones that > disappear, the other one doen right afterwards, being alright - the way it > should be. > > I'd be happy to hear from you soon. > > Sincerely > > Daniel > > ---------------------------------------------- > :/usr/local/nagios/etc # ps waux | grep bin/nagios > > nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 4917 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 4945 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 4949 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 5005 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 5049 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 5078 0.0 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 5115 0.0 1.0 2584 1372 ? S 15:30 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > root 5174 0.0 0.4 1600 536 pts/2 R 15:30 0:00 grep > bin/nagios > > ---------------------------------------------- > :/usr/local/nagios/etc # ps waux | grep bin/nagios > nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > root 14446 0.0 0.4 1600 536 pts/2 R 15:33 0:00 grep > bin/nagios > > ---------------------------------------------- > Comment: PID 2645 was originally started by me and stays in the process > list. The others come and go...? > Is this normal behaviour? > I am running the latest Nagios 1.0b6 on Linux. > > ------------------------------------------------------- > 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 > _______________________________________________ > 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 daniel.geske at yoc.de Tue Sep 17 16:35:13 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 17 Sep 2002 16:35:13 +0200 Subject: many nagios processes start and quit Message-ID: <001401c25e57$6ef04140$7f00a8c0@pc127> Hi Tom, thanks for your answer. I'm glad it's nothing. Greetings Daniel ------------------------------------------------------- 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 jtinley at unirez.com Tue Sep 17 16:30:22 2002 From: jtinley at unirez.com (Jeremy Tinley) Date: Tue, 17 Sep 2002 09:30:22 -0500 Subject: many nagios processes start and quit In-Reply-To: <000601c25e55$aa1725b0$7f00a8c0@pc127> References: <000601c25e55$aa1725b0$7f00a8c0@pc127> Message-ID: <000701c25e56$c17899e0$b201a8c0@unirez.com> IIRC, this is normal. Nagios starts new processes for each of its host/service checks. Naturally, stopping all your service and host checks would decrease the load, but then you aren't really doing any monitoring then, are you? :) Try changing your grep to look for just nagios. You should see a check_xxxxx where xxxx is the type of check, ex., check_http) for each instance of nagios, minus one for the parent. -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Geske Sent: Tuesday, September 17, 2002 9:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] many nagios processes start and quit Hi all, I start the nagios process once and it runs fine. When I do a ps, however, I see many other process daemonizing, then disappearing soon thereafter. The first process I started manually stays. What can I do against this sort of behavior? I think removing this problem would reduce load on my system. Below you will find two ps returns, one that shows all the weird ones that disappear, the other one doen right afterwards, being alright - the way it should be. I'd be happy to hear from you soon. Sincerely Daniel ---------------------------------------------- :/usr/local/nagios/etc # ps waux | grep bin/nagios nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4917 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4945 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4949 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5005 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5049 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5078 0.0 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5115 0.0 1.0 2584 1372 ? S 15:30 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 5174 0.0 0.4 1600 536 pts/2 R 15:30 0:00 grep bin/nagios ---------------------------------------------- :/usr/local/nagios/etc # ps waux | grep bin/nagios nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 14446 0.0 0.4 1600 536 pts/2 R 15:33 0:00 grep bin/nagios ---------------------------------------------- Comment: PID 2645 was originally started by me and stays in the process list. The others come and go...? Is this normal behaviour? I am running the latest Nagios 1.0b6 on Linux. ------------------------------------------------------- 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 _______________________________________________ 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 bas at brijn.nu Tue Sep 17 16:45:05 2002 From: bas at brijn.nu (Bas Rijniersce) Date: Tue, 17 Sep 2002 16:45:05 +0200 Subject: Blocked router in host list Message-ID: <000701c25e58$d20e4a00$0514c639@sysdvb15904> Hello, I started with Nagios yesterday and i'm very impressed and started to map our corparate WAN/LAN. Some of the WAN links are going over routers that we don't admin. These are I guess blocked by firewalls. I did a nmap on them and they don't show any open ports (let see how good their security monitoring is ;-) I entered the router in the hosts.cfg with any check commands, also no services are bound to it. If I understood the document well enough, leaving out the check_command should give me a host with assumed state always up. Unfortunately this isn't the case. It still showing as undetermined. What to try? Another questions, is there somewhere a good overview of how to implement all the monitors and tricks with them. In the archives I saw some trick with check_udp and check_tcp for Citrix monitoring. An overview would be excellent The last questions, I only found HTTP docs for nagios, is there also a PS/PDF version available? Kind regards, Bas ------------------------------------------------------- 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 mpowell at ena.com Tue Sep 17 17:00:13 2002 From: mpowell at ena.com (Marc Powell) Date: Tue, 17 Sep 2002 10:00:13 -0500 Subject: Blocked router in host list Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F711F0@mismail.ena.com> > -----Original Message----- > From: Bas Rijniersce [mailto:bas at brijn.nu] > Sent: Tuesday, September 17, 2002 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Blocked router in host list > > Hello, > > I started with Nagios yesterday and i'm very impressed and started to map > our corparate WAN/LAN. Some of the WAN links are going over routers that > we > don't admin. These are I guess blocked by firewalls. I did a nmap on them > and they don't show any open ports (let see how good their security > monitoring is ;-) > > I entered the router in the hosts.cfg with any check commands, also no > services are bound to it. If I understood the document well enough, > leaving > out the check_command should give me a host with assumed state always up. > Unfortunately this isn't the case. It still showing as undetermined. > > What to try? It will always stay undetermined until a service check is completed. I'm confused why you would want to add a device to Nagios that you can't actually verify it's status in some fashion. It would have no bearing on host or service dependencies or any other aspect of Nagios I can think of. If, however, you feel strongly about it, I would suggest that you define a placeholder service using check_dummy to always return an OK state. I.e. # 'always-OK' command definition define command{ command_name always-ok command_line $USER1$/check_dummy 0 } # Service definition -- Your specific service definitions may vary define service{ active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 0 retain_nonstatus_information 1 is_volatile 0 check_period none max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 notification_interval 10080 notification_period 24x7 notification_options c,r host_name my-always-ok-router service_description ALWAYS-OK retry_check_interval 3 contact_groups mycontactgroup check_command always-ok } -- Marc ------------------------------------------------------- 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 paul_pot at nl.sonymusic.com Tue Sep 17 16:44:12 2002 From: paul_pot at nl.sonymusic.com (paul_pot at nl.sonymusic.com) Date: Tue, 17 Sep 2002 16:44:12 +0200 Subject: mysql & redhat 7.3 - Message-ID: Hi, I'm trying to get a fresh install of nagios 1b6 on rh 73. machine. (mysql installed, created the db, installed all tables, set all privileges according to the document. When I compile and install nagios using the line below, all work fine, no problems encountered with the webbrowser. ./configure --with-command-user=nagioscmd --with-command-group=nagioscmd --with-template-extinfo --with-template-objects ' --with-ping-command=/bin/ping -U -n %s -c %d' --with-mysql-downtime --with-mysql-comments --with-mysql-retention --with-mysql-extinfo However, when I compile with --with-mysql-status added to the configure options, and do an install, nagios works fine, but the browser complains with the Whoops message (Error: Could not read host and service status information!) I have been crosschecking the privileges in mysql, usernames etc, but I cannot find the exact cause. When I run nagios with debug5, all the inserts are happily running over my screen. What do I miss ? Any clue ? thanks regards paul *speaking for himself ------------------------------------------------------- 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 daniel.geske at yoc.de Tue Sep 17 17:25:51 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 17 Sep 2002 17:25:51 +0200 Subject: many nagios processes start and quit Message-ID: <002d01c25e5e$817e73c0$7f00a8c0@pc127> Hi again, how about if the processes don't exit anymore? I have turned off notifications in the web interface and restarted. Oh, and here's some weird behaviour: in the nagios.cfg file I set performance data and flap detection to "0" which means do not process performance data and do not detect flapping services. Now, on the web interface both of these settings are ON instead of off. Since I switched them to OFF on the web interface, they're really OFF, at least I think so. On the performance data tab I still get values. I have no idea where they come from, because after turning perfdata off I deleted the files that go with it, too. Anyway, these 3 changes are all I did to nagios, I reloaded/restarted it and it keeps on coming up with new processes. By now I've got 537 nagios processes running. How can I turn this off? Now it's 579 already. I will shut nagios down until I have received an answer. Thank you! I hope to hear from anybody soon. Sincerely Daniel (598! Ohh!) ------------------------------------------------------- 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 joblow7777 at yahoo.com Tue Sep 17 17:31:24 2002 From: joblow7777 at yahoo.com (jo smith) Date: Tue, 17 Sep 2002 08:31:24 -0700 (PDT) Subject: check_log Message-ID: <20020917153124.68570.qmail@web13004.mail.yahoo.com> When I run the following command: sudo ./check_log -F /var/adm/messages -O /tmp/check_log.kern-notice.old -q "kern.notice" I get the message ./check_log: test: argument expected Any ideas? __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.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 daniel.geske at yoc.de Tue Sep 17 17:42:20 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Tue, 17 Sep 2002 17:42:20 +0200 Subject: many nagios processes start and quit Message-ID: <003b01c25e60$cf704cf0$7f00a8c0@pc127> ATT my previous mail: I have turned process performance data ON in the web interface again. It remains to be OFF in the config file. This setting prevents this odd error from occuring. All nagios processes but the mother one go away when they're done again. I would still like to turn off the performance thingy though. I haven't been on the nagios server since 3 months and now when I checked the disk space I found some 2 files, both in /nagios/var/ with the ending out. The "service-perfdata.out" was well over one gig huge. AFAIK the two .out files are for performance data, so my idea was to simply turn that off. Doesn't work out that way, huh? Maybe yall have any ideas on that. I'm puzzled with this nagios sometimes. Thanks Daniel ------------------------------------------------------- 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 jcarro10 at sprintspectrum.com Tue Sep 17 17:38:05 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 17 Sep 2002 10:38:05 -0500 Subject: Cygwin and nrpe Message-ID: That was quite the ramble. Not sure what it has to do with the Subject though. If you're going to start a new thread, start a new thread. If you're going to refer to an old thread, bring up the old e-mail and stuff it back in the mailing list pipe, with comments. Please. jc > -----Original Message----- > From: Jamie [mailto:jamie at bclnz.net] > Sent: Tuesday, September 17, 2002 3:32 AM > To: Rusch, Daniel; Nagios-User (E-mail) > Subject: Re: [Nagios-users] Cygwin and nrpe > > > Well, > > On a social note, I imagine the last thing that it means is > "..this is, hmm, > stupid..". > > Following up on the reminder about the prior email, can i aks > (no it's not a > spelling mistake. it's local pronoun-ciation) you'se (ditto) > a question? > > Anyone have any thoughts on *my previous mail* (nagios - NAG > the Internet > Operating System): > > additional information in notifications... > > why the............does it chop the end off? > > Recap: > sends mail. the info at the end. not there.... > > Why the RTA problems? > > If you have [a clue],[a witty suggestion],[no idea] then please send > thoughts, comments etc. > ------------------------------------------------- > > > Anyway, > > Please allow me to introduce myself........... (Generally > attributed to Mick > Jagger - Rolling Stones ecetera) > > New Zealand. 100% Pure. > > Personally, Dubya doin' WAR is uncool. > > OK? > > Open Source is basically the future. > > ----------------------------------------- > > Fellow engineers, > > Welcome. > > ----------------------------------------- > > I think the basic principle is trust. > > Can I trust you all? > > Hmm. Maybe. Maybe not. > > Anyway. > > ----------------------------------------- > > Nagios/Netsaint, call it what you will....... > > ----------------------------------------- > > Right! > > I hope this email finds you well. > > I hope I haven't introduced a unwanted element in the community. > > Cheers > > Jamie. > > ----- Original Message ----- > From: "Rusch, Daniel" > To: "Nagios-User (E-mail)" > Sent: Tuesday, September 17, 2002 7:44 AM > 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 > > > > > > ------------------------------------------------------- > 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 > _______________________________________________ > 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 jcarro10 at sprintspectrum.com Tue Sep 17 17:52:17 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 17 Sep 2002 10:52:17 -0500 Subject: How to check oracle8i Message-ID: > is it necessary to install an oracle client ? In case it isn't clear: As near as I can tell, you will probably want to execute check_oracle on the host where Oracle is installed. This implies running NRPE or NSCA, unless you're running Oracle on the same host as where you have Nagios installed. jc ------------------------------------------------------- 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 Darren.Gamble at sjrb.ca Tue Sep 17 18:04:54 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Tue, 17 Sep 2002 10:04:54 -0600 Subject: Service checks not being executed Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB53D@shawmail02> Good day, Awhile ago, I posted an intermittent problem with Nagios not executing its service checks. At least one other user did as well. To quickly summarize, when the problem occurs, Nagios still properly schedules services for checks- it just doesn't execute them. I noticed something yesterday that caused Nagios to do this. I don't believe that this was the same cause as before, but, it's a cause, nonetheless. We had an ACL change yesterday that caused a handful of our devices to refuse any checks from the Nagios machine, including ICMP. We have Nagios configured to retry its host check for about two minutes (12 x 10s). During the time that it was retrying all of the host checks, no other service checks were being performed (!?). Essentially, Nagios was checking only a tiny percentage of its services for about a half hour. I presume that this behavior isn't desired. Is this a bug? Red Hat 7.2, Intel, running a late 1.0b4 version of Nagios. Thanks in advance, ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- 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 daniel-wittenberg at uiowa.edu Tue Sep 17 18:15:28 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 17 Sep 2002 11:15:28 -0500 Subject: Cygwin and nrpe In-Reply-To: References: Message-ID: <1032279334.11873.76.camel@hawk.wittenberg.org> I'm not sure if cygwin is still this way, but it used to use a shared-memory model (from my understanding anyway), in that another user on the system had access to the memory used by cygwin-apps, which made it a bad choice for systems that had users that could login. I don't know many servers that do that, but it's a possibility. (this is how it was explained to me maybe 6+ months ago, so I apologize if it's wrong). Dan On Mon, 2002-09-16 at 16:39, Carroll, Jim P [Contractor] wrote: > 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. ------------------------------------------------------- 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 mmontiel at bolchile.cl Tue Sep 17 18:47:28 2002 From: mmontiel at bolchile.cl (Mauricio Montiel G.) Date: Tue, 17 Sep 2002 12:47:28 -0400 Subject: Error compiling plugins Message-ID: <000701c25e69$e843ce10$2d900cc8@MMONTIEL> Hi Everybidy, I'm newbie with Nagios. I compiled everything OK in a Red-Hat box that will be the host for Nagios. I will check a Solaris farm, so I need to compile the plugins in both Solaris 6 and 8. But when i compile the plugins i get the following error: Mksh: Fatal error in reader: = missing from replacement macro reference Current directory ...... *** Error code 1 If someone can help, I'll appreciate. Mauricio Montiel G. ------------------------------------------------------- This SF.NET email is 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 David.Kassemos at DBAdirect.com Tue Sep 17 19:12:49 2002 From: David.Kassemos at DBAdirect.com (Kassemos, David) Date: Tue, 17 Sep 2002 13:12:49 -0400 Subject: Sharing compiled NRPE and plug-ins Message-ID: I'm trying to monitor several different flavors of Unix but do not have the availability to compile the plug-ins or the NRPE daemon. Can anyone help by sharing their compiled files? I'm looking for: HPUX - plug-ins and NRPE AIX - check_ping plugin OSF1 - plug-ins and NRPE Thanks in advance. David M. Kassemos dbaDIRECT Inc david.kassemos at dbadirect.com ------------------------------------------------------- This SF.NET email is 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 Nolan.Martin at co.travis.tx.us Tue Sep 17 19:00:27 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 17 Sep 2002 12:00:27 -0500 Subject: Service checks not being executed Message-ID: I was one of the other users that also experienced this behavior. I still experience it on the 1.0b5 (on RH 7.3). I now have Nagios set to perform host checks for 5 minutes, although I experienced this issue equally so when it was set to the default parameters. How did you determine that it was hung processing just the host checks on the handful of devices? In other words, what commands did you run to capture that information? Thanks. Nolan >>> Darren Gamble 09/17/02 11:04AM >>> Good day, Awhile ago, I posted an intermittent problem with Nagios not executing its service checks. At least one other user did as well. To quickly summarize, when the problem occurs, Nagios still properly schedules services for checks- it just doesn't execute them. I noticed something yesterday that caused Nagios to do this. I don't believe that this was the same cause as before, but, it's a cause, nonetheless. We had an ACL change yesterday that caused a handful of our devices to refuse any checks from the Nagios machine, including ICMP. We have Nagios configured to retry its host check for about two minutes (12 x 10s). During the time that it was retrying all of the host checks, no other service checks were being performed (!?). Essentially, Nagios was checking only a tiny percentage of its services for about a half hour. I presume that this behavior isn't desired. Is this a bug? Red Hat 7.2, Intel, running a late 1.0b4 version of Nagios. Thanks in advance, ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 ------------------------------------------------------- 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 Darren.Gamble at sjrb.ca Tue Sep 17 19:50:15 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Tue, 17 Sep 2002 11:50:15 -0600 Subject: Service checks not being executed Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB540@shawmail02> Good day, > I was one of the other users that also experienced this behavior. I > still experience it on the 1.0b5 (on RH 7.3). I now have > Nagios set to > perform host checks for 5 minutes, although I experienced this issue > equally so when it was set to the default parameters. > > How did you determine that it was hung processing just the host checks > on the handful of devices? In other words, what commands did > you run to > capture that information? Thanks. > > Nolan Well, I was just tail-ing the nagios.log when all of this was happening to watch for soft alerts, as I was expecting dozens of services to flare up. I noted that no service failures were logged while it was doing its host checking of one of the machines that was no longer reachable. When Nagios had finished its host checking (emphasis on host checking, not a service checking) and marked the host as down, it would resume logging failed services until it ran into another service of another host that was also "down", which due to scheduling order, tended to be near each other. Basically, most of my service checks didn't get run during all of this. I should note that only 7 hosts out of 203 were actually unreachable, but the other hosts' services didn't get checked. Looking at the times on the Service Detail page during all of this confirmed that the service checks weren't being done. Using the .cgi's to reschedule the event had no affect. I distinctly remember looking at the log when I first had this problem months ago, and noting very little activity in it, so I am pretty sure this is not the same cause (but perhaps they were related). Sounds like a bug to me, but, I'm hoping to get some feedback before I post to the devel list. ============================ 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: 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 bryantg at otc.edu Tue Sep 17 21:10:40 2002 From: bryantg at otc.edu (Jerry Bryant) Date: Tue, 17 Sep 2002 14:10:40 -0500 Subject: 3D icons In-Reply-To: References: Message-ID: I have the Cortona 4.0 viewer installed and can not get any objects to show up in 3D view. the console gives this message. name expected File: http://172.16.3.2/nagios/cgi-bin/statuswrl.cgi?host=all Line: 306 Column: 11 Any clues? Jerry Bryant Director Computer Networks Ozarks Technical Community College 417.895.7169 ------------------------------------------------------- This SF.NET email is 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 jonathan at valuelinx.net Tue Sep 17 21:36:22 2002 From: jonathan at valuelinx.net (Jonathan Carpenter) Date: 17 Sep 2002 14:36:22 -0500 Subject: having problems with installing pluggins Message-ID: <1032291413.24156.6.camel@slackhappy> Hello everyone, Im hate to do this so early in the install but Iv gotten nagios installed and iv been trying to install the pluggins. This is the error I get when I try to run make all on the nagios pluggins. make all Making all in plugins make[1]: Entering directory `/home/user/install/nagiosplug-1.3-beta1/plugins' Makefile:692: *** missing separator. Stop. make[1]: Leaving directory `/home/user/install/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 I can not seem to find any documentation on this error. Thanks, ------------------------------------------------------- This SF.NET email is 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 dominique at espacecourbe.com Wed Sep 18 00:13:32 2002 From: dominique at espacecourbe.com (Dominique Arpin) Date: Tue, 17 Sep 2002 18:13:32 -0400 (EDT) Subject: check_http problem Message-ID: <3470.192.168.1.4.1032300812.squirrel@darwin.espacecourbe.com> hi, ./check_http server HTTP WARNING: HTTP/1.1 403 Forbidden but my apache server is running and its works perfectly. What's the test it use to find if the server is running or not? excuse me for my english. -- Dominique Arpin_______________________[ espace gestionnaire r?seau courbe ] http://www.espacecourbe.com/ t?l?phone 514.933.9861 t?l?copieur 514.933.9546 ------------------------------------------------------- This SF.NET email is sponsored by: 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 e!mullin at Confi-chek.com Wed Sep 18 00:32:15 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Tue, 17 Sep 2002 15:32:15 -0700 Subject: check_http problem Message-ID: Hello Dominique. This is an issue with permissions. The problem is the page it is attempting to display does not have the right web server user permissions set. You might check your file permissions to make sure it is viewable or usable by your web server. Erik Mullinix -----Original Message----- From: Dominique Arpin [mailto:dominique at espacecourbe.com] Sent: Tuesday, September 17, 2002 3:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http problem hi, ./check_http server HTTP WARNING: HTTP/1.1 403 Forbidden but my apache server is running and its works perfectly. What's the test it use to find if the server is running or not? excuse me for my english. -- Dominique Arpin_______________________[ espace gestionnaire r?seau courbe ] http://www.espacecourbe.com/ t?l?phone 514.933.9861 t?l?copieur 514.933.9546 ------------------------------------------------------- This SF.NET email is sponsored by: 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 jcarro10 at sprintspectrum.com Wed Sep 18 00:34:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 17 Sep 2002 17:34:50 -0500 Subject: check_http problem Message-ID: Strictly speaking, the test didn't fail. It only gave you a warning, based on the 403 error. As far as check_http is concerned, your server is up; it's just not too happy about the 403. I'm curious, did it not specify a response time? What happens when you use a web browser (or even use 'links', if you're on Linux or some other o/s which has it installed) and use "http://server/" as the URL? Is it successful? Is it possible to test for a URL which is known to succeed? For example: ./check_http server /some/place/index.html Food for thought. jc > -----Original Message----- > From: Dominique Arpin [mailto:dominique at espacecourbe.com] > Sent: Tuesday, September 17, 2002 5:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http problem > > > hi, > > ./check_http server > HTTP WARNING: HTTP/1.1 403 Forbidden > > but my apache server is running and its works perfectly. > > What's the test it use to find if the server is running or not? > > > excuse me for my english. > > > -- > Dominique Arpin_______________________[ espace > gestionnaire r?seau courbe ] > > http://www.espacecourbe.com/ > t?l?phone 514.933.9861 > t?l?copieur 514.933.9546 > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 andy at droidmcse.com Wed Sep 18 01:18:50 2002 From: andy at droidmcse.com (Andy) Date: Tue, 17 Sep 2002 19:18:50 -0400 Subject: NS Client Page file Message-ID: <001601c25ea0$9500c870$0501a8c0@asus> Hey Everybody, I've been using Nagios and the check_nt plugin's for a few months now and the group just pushed SP3 out to the win2k boxes. Now, the check that pulls the counter data from the page file returns '0'. I've checked the command by hand and I receive the same results. Has anybody else encountered this or am I a fluke Thanks! Andy ------------------------------------------------------- This SF.NET email is 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 shnikees at shnikees.com Wed Sep 18 02:55:45 2002 From: shnikees at shnikees.com (morgan) Date: Tue, 17 Sep 2002 17:55:45 -0700 (PDT) Subject: NSClient Message-ID: <20020917172810.D53195-100000@deadspot.com> Evening, Im having a problem on one of my WIN2k servers, when I try to query the server via check_nt it generates TONS of errers in the application log on the server, There errors are (minus quotes) "NSClient Error: PDH.dll Collect CommitByte - ERROR: 0xC0000BBC" "NSClient Error: PDH.dll Collect CommitLimit - ERROR: 0xC0000BBC" "NSClient Error: PDH.dll Collect Uptime - ERROR: 0xC0000BBC" "NSClient Error: PDH.dll Collect CPU - ERROR: 0xC0000BBC" "NSClient Error: PDH.dll Collect - ERROR: 0x800007D5 " Ive tried everything in my power to figout whats causing these errors, but ive had no success, I downloaded the newist beta of NSClient, i've service packed 3 the machine but nothing has worked. If anyone has any idea on what I can do to fix this please let me know Thanks. Morgan ------------------------------------------------------- This SF.NET email is 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 tdeblend at gcc.dhl.com Wed Sep 18 08:44:51 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 18 Sep 2002 08:44:51 +0200 Subject: Blocked router in host list References: <000701c25e58$d20e4a00$0514c639@sysdvb15904> Message-ID: <3D8820E3.578C1DA8@gcc.dhl.com> Hi, I'm still a NetSaint 0.0.7 user. As it happens I added a host without a check command for the first time yesterday, and it worked OK. I think it might have something to do with the "log_initial_states" value in your nagios.cfg. At least, there is such a value in the netsaint.cfg, so I assume Nagios has a similar setting. Try it out. There is not a real overview on all plugins that are available. You have the official plugins at sourceforge for starters (http://nagiosplug.sourceforge.net/). Then there's the contribs as well (http://www.netsaint.org/download/contrib/plugins/). Subhendu has got some home brewed plugins (http://guinness.cs.stevens-tech.edu/~sghosh/netsaint/). And then every now and then things get posted here and kept aside in the contribs by Subhendu if useful. As far as Citrix is concerned: in the beginning there was nothing :-) The only thing you could do was indeed do a check on the TCP port (1494). This however only tells you whether something is listening on that port: [root at netsaint root]# /usr/local/netsaint/libexec/check_tcp server -p 1494 TCP OK - 0 second response time on port 1494 As I am responsible for a high availability Citrix farm, this was not good enough. So I've written a VBS script that is scheduled every five minutes or so on the Citrix servers and reports whether Remote Logons are enabled or disabled on that server. The result is then written in the external command file by means of a command line SSH client. I've reposted that script a few days ago. However, it does not actually check the service itself. But it is already something. If something is listening on the TCP port and the logons are enabled, chances are you can use the service. The best plugin for Citrix however, was a Big Brother plugin that checks for the availability of published applications. Unfortunately the syntax of the plugin output is totally different and the plugin could not be used as it was. So I "ported" it to NetSaint and posted the result one or two days ago. [root at netsaint root]# /usr/local/netsaint/libexec/check_citrix_apps.pl OK - All published applications are available. Those are the three ways to monitor Citrix (as far as I know, and I've been following these mailing lists for some time now). If anyone else has got another way, please do tell :-) Finally: there is a pdf version of the NetSaint docs, so I guess there will be one of Nagios as well in the future. I assume people are waiting to do the effort of converting the docs until the stable release of Nagios. Kind regards, Tom Bas Rijniersce wrote: > > Hello, > > I started with Nagios yesterday and i'm very impressed and started to map > our corparate WAN/LAN. Some of the WAN links are going over routers that we > don't admin. These are I guess blocked by firewalls. I did a nmap on them > and they don't show any open ports (let see how good their security > monitoring is ;-) > > I entered the router in the hosts.cfg with any check commands, also no > services are bound to it. If I understood the document well enough, leaving > out the check_command should give me a host with assumed state always up. > Unfortunately this isn't the case. It still showing as undetermined. > > What to try? > > Another questions, is there somewhere a good overview of how to implement > all the monitors and tricks with them. In the archives I saw some trick with > check_udp and check_tcp for Citrix monitoring. An overview would be > excellent > > The last questions, I only found HTTP docs for nagios, is there also a > PS/PDF version available? > > Kind regards, > Bas > > ------------------------------------------------------- > 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 > _______________________________________________ > 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: 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 gbruhin at vianetworks.ch Wed Sep 18 09:09:43 2002 From: gbruhin at vianetworks.ch (Bruhin Gregor) Date: Wed, 18 Sep 2002 09:09:43 +0200 Subject: cgi.cfg & logo problem Message-ID: <44DD250CCB01D51188CD0000E83C052E016E8019@smartweb01.smartweb.ch> Hi everybody, I am really happy with nagios, this is really a cool piece of software ! I have a problem with the pictures, I alwas get the unknown logo for all my hosts ? I have gd2 and all the libraries I need, my /usr/local/nagios/share/images/logos folder contains my logos for example the sample redhat logos In the cgi.cfg I have: hostextinfo[webci]=/;redhat.gif;redhat.jpg;redhat.gd2;Red Hat 7.3;;; Why doesn?t it work ??? I tried to change webci my defined hostname in hosts.cfg and put blahblahblah a host which does not exist (in cgi.cfg file) and I got no warning nor error when running nagios ?v I tried to debug it myself, and read a few lines in the sources but could not find the problem ? Please help me ? Thanks Greg ------------------------------------------------------- This SF.NET email is 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 g.vickers at qut.edu.au Wed Sep 18 09:46:28 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 18 Sep 2002 17:46:28 +1000 Subject: Event handlers for handling Windows services Message-ID: <5.1.0.14.2.20020918173557.00a81e20@imap.qut.edu.au> Hi all, I was wondering if there is a way to stop/start windows services from linux? (i.e. event handlers with Nagios and Win2K servers) 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: 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 g.vickers at qut.edu.au Wed Sep 18 12:46:02 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 18 Sep 2002 20:46:02 +1000 Subject: Tactical Overview is not refreshing Message-ID: <5.1.0.14.2.20020918195633.033ea208@imap.qut.edu.au> Hi all, Maybe I should not use IE6 (tell my entire admin section), but my problem is that IE6 is caching the cgi results! You can imagine the problems this causes. This is kind of a dead loss since it appears that all my hosts/services are blissfully working, but actually, i've had a server meltdown... I've had a dig around in IE, and found: Temporary Internet Files folder. If you delete the tac.cgi & tac.css file the next time you go to that page, voila. Of course having all the people who need to know about our servers do this is not going to work. Tools -> Internet Options -> Temporary Internet Files -> Settings -> Check for newer versions of stored pages. None of these settings are appropriate/will do what I want (I don't want IE to cache .cgi files, damnit!) Is there a configuration directive in apache that will allow me to set particular pages uncachable? Apart from having my entire admin section change browsers (yeah, right), does anyone have any suggestions? 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: 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 g.vickers at qut.edu.au Wed Sep 18 14:18:39 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 18 Sep 2002 22:18:39 +1000 Subject: Tactical Overview is not refreshing Message-ID: <5.1.0.14.2.20020918221814.03418210@imap.qut.edu.au> YESSSS! Oh boy, I got it figured out. I had to configure apache with .meta files for each of the .cgi files. I put this line Cache-control: no-cache into the *.meta files to tell whatever browser is looking at the .cgi pages that it's not allowed to cache that page. (This also works for proxies as well - the proxies won't cache the page either :) ) Anyone know why my IE was caching the pages? FYI, my config changes: Apache httpd.conf directive (uncomment this line) LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so Apache httpd.conf directive (Directory based) MetaFiles on nagios:/usr/lib/cgi-bin/nagios# ls avail.cgi extinfo.cgi nagios showlog.cgi statuswml.cgi tac.cgi cmd.cgi histogram.cgi notifications.cgi status.cgi statuswrl.cgi trends.cgi config.cgi history.cgi outages.cgi statusmap.cgi summary.cgi nagios:/usr/lib/cgi-bin/nagios# cd .web nagios:/usr/lib/cgi-bin/nagios/.web# ls avail.cgi.meta extinfo.cgi.meta no-cache.meta.file showlog.cgi.meta statuswml.cgi.meta tac.cgi.meta cmd.cgi.meta histogram.cgi.meta notifications.cgi.meta status.cgi.meta statuswrl.cgi.meta trends.cgi.meta config.cgi.meta history.cgi.meta outages.cgi.meta statusmap.cgi.meta summary.cgi.meta nagios:/usr/lib/cgi-bin/nagios/.web# At 20:46 18/09/2002, you wrote: >Hi all, >Maybe I should not use IE6 (tell my entire admin section), but my problem >is that IE6 is caching the cgi results! You can imagine the problems this >causes. This is kind of a dead loss since it appears that all my >hosts/services are blissfully working, but actually, i've had a server >meltdown... > >I've had a dig around in IE, and found: >Temporary Internet Files folder. If you delete the tac.cgi & tac.css file >the next time you go to that page, voila. Of course having all the people >who need to know about our servers do this is not going to work. >Tools -> Internet Options -> Temporary Internet Files -> Settings -> Check >for newer versions of stored pages. None of these settings are >appropriate/will do what I want (I don't want IE to cache .cgi files, damnit!) > >Is there a configuration directive in apache that will allow me to set >particular pages uncachable? > >Apart from having my entire admin section change browsers (yeah, right), >does anyone have any suggestions? > >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: 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 >_______________________________________________ >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: 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 milena_s at postmaster.co.uk Wed Sep 18 14:24:40 2002 From: milena_s at postmaster.co.uk (milena schrevel) Date: Wed, 18 Sep 2002 13:24:40 +0100 Subject: starting nagios Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From atul at mindsw.com Wed Sep 18 14:31:32 2002 From: atul at mindsw.com (Atul Gosain) Date: Wed, 18 Sep 2002 18:01:32 +0530 (IST) Subject: Cisco CPU Load Check Message-ID: <1351.202.88.151.191.1032352292.squirrel@www.webyarn.com> Hi Has anybody checked the Cisco router's CPU load through nagios. If checking through SNMP, whats the oid to check for it . And also what are the other information that we can monitor on a Cisco Router (lets say Cisco2610). Thanks -- 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: 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 gbruhin at vianetworks.ch Wed Sep 18 14:50:36 2002 From: gbruhin at vianetworks.ch (Bruhin Gregor) Date: Wed, 18 Sep 2002 14:50:36 +0200 Subject: radius / ISP references Message-ID: <44DD250CCB01D51188CD0000E83C052E016E8031@smartweb01.smartweb.ch> Hi, Is there a radius plugin existing ? Are there some ISP's using nagios ? Thanks Greg ------------------------------------------------------- This SF.NET email is 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 ghaygood at brightlane.com Wed Sep 18 14:48:53 2002 From: ghaygood at brightlane.com (Greg Haygood) Date: Wed, 18 Sep 2002 08:48:53 -0400 Subject: Cisco CPU Load Check In-Reply-To: <1351.202.88.151.191.1032352292.squirrel@www.webyarn.com> References: <1351.202.88.151.191.1032352292.squirrel@www.webyarn.com> Message-ID: I don't have Nagios watching the CPUs, but I do have Cacti polling them. For and IOS-based device, you can use: 5sec: .1.3.6.1.4.1.9.2.1.56.0 1min: .1.3.6.1.4.1.9.2.1.57.0 5min: .1.3.6.1.4.1.9.2.1.58.0 which I got from: http://www.cisco.com/warp/public/477/SNMP/collect_cpu_util_snmp.html The Cisco site lists everything that you can fetch via SNMP, which is just about any piece of information the device collects. Here are some links to peruse: http://www.cisco.com/warp/public/477/Gen_NMS/38.html#fourth ftp://ftp.cisco.com/pub/mibs/supportlists/c2610/c2610-supportlist.html Enjoy! -g -- Greg Haygood ghaygood at brightlane.com v) 678.385.2837 Director of Operations BrightLane, a TeamStaff, Inc. Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Atul Gosain Sent: Wednesday, September 18, 2002 8:32 AM To: nagios Subject: [Nagios-users] Cisco CPU Load Check Hi Has anybody checked the Cisco router's CPU load through nagios. If checking through SNMP, whats the oid to check for it . And also what are the other information that we can monitor on a Cisco Router (lets say Cisco2610). Thanks -- 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: 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 tdeblend at gcc.dhl.com Wed Sep 18 15:07:19 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 18 Sep 2002 15:07:19 +0200 Subject: radius / ISP references References: <44DD250CCB01D51188CD0000E83C052E016E8031@smartweb01.smartweb.ch> Message-ID: <3D887A87.2F4FEC20@gcc.dhl.com> Bruhin Gregor wrote: > > Hi, > > Is there a radius plugin existing ? at least two for NetSaint at http://www.netsaint.org/download/contrib/plugins/ > Are there some ISP's using nagios ? http://www.nagios.org/userprofiles/ ------------------------------------------------------- This SF.NET email is 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 freddy.frouin at fluxus.net Wed Sep 18 15:10:25 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 18 Sep 2002 15:10:25 +0200 Subject: radius / ISP references In-Reply-To: <44DD250CCB01D51188CD0000E83C052E016E8031@smartweb01.smartweb.ch> References: <44DD250CCB01D51188CD0000E83C052E016E8031@smartweb01.smartweb.ch> Message-ID: <20020918151025.3c2813fb.freddy.frouin@fluxus.net> yep, it exists... and it works... On Wed, 18 Sep 2002 14:50:36 +0200 Bruhin Gregor wrote: > Hi, > > Is there a radius plugin existing ? > > Are there some ISP's using nagios ? > > Thanks Greg > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > 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: 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 dominique at espacecourbe.com Wed Sep 18 15:21:03 2002 From: dominique at espacecourbe.com (Dominique Arpin) Date: Wed, 18 Sep 2002 09:21:03 -0400 (EDT) Subject: check_http problem In-Reply-To: References: Message-ID: <3753.192.168.1.4.1032355263.squirrel@darwin.espacecourbe.com> > Strictly speaking, the test didn't fail. It only gave you a warning, > based on the 403 error. As far as check_http is concerned, your server > is up; it's just not too happy about the 403. I'm curious, did it not > specify a response time? > > What happens when you use a web browser (or even use 'links', if you're > on Linux or some other o/s which has it installed) and use > "http://server/" as the URL? Is it successful? > > Is it possible to test for a URL which is known to succeed? For > example: > > ./check_http server /some/place/index.html > > Food for thought. > > jc > Sorry its my fault.... i didnt have a index.html in my / of my web server. -- Dominique Arpin_______________________[ espace gestionnaire r?seau courbe ] http://www.espacecourbe.com/ t?l?phone 514.933.9861 t?l?copieur 514.933.9546 ------------------------------------------------------- This SF.NET email is sponsored by: 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 daniel.geske at yoc.de Wed Sep 18 15:25:36 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Wed, 18 Sep 2002 15:25:36 +0200 Subject: radius / ISP references Message-ID: <000d01c25f16$df95c950$7f00a8c0@pc127> -----Urspr?ngliche Nachricht----- Von: Bruhin Gregor An: nagios Datum: Mittwoch, 18. September 2002 15:02 Betreff: [Nagios-users] radius / ISP references >Hi, > >Is there a radius plugin existing ? > Hi, yes, there is! It's part of the plugins package: http://sourceforge.net/projects/nagiosplug/ >Are there some ISP's using nagios ? > For a list of some registered users, check www.nagios.org. I remember having seen ISPs there. I think the site is down since a few hours - I can't connect to it. >Thanks Greg > Hope I could help ya, welcome, Daniel. > >------------------------------------------------------- >This SF.NET email is 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 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 ajeffco at orhs.org Wed Sep 18 15:33:18 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Wed, 18 Sep 2002 09:33:18 -0400 Subject: Sharing compiled NRPE and plug-ins Message-ID: <6319AEF0FF0BC4488F10029776CEAC07014EF4A4@MAIL01.orhs.org> I can send you the AIX plug-in. Should I send it directly, or to the list? Al Jeffcoat -----Original Message----- From: Kassemos, David [mailto:David.Kassemos at DBAdirect.com] Sent: Tuesday, September 17, 2002 1:13 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Sharing compiled NRPE and plug-ins I'm trying to monitor several different flavors of Unix but do not have the availability to compile the plug-ins or the NRPE daemon. Can anyone help by sharing their compiled files? I'm looking for: HPUX - plug-ins and NRPE AIX - check_ping plugin OSF1 - plug-ins and NRPE Thanks in advance. David M. Kassemos dbaDIRECT Inc david.kassemos at dbadirect.com ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 nora.bernhard at avl.com Wed Sep 18 15:44:38 2002 From: nora.bernhard at avl.com (Nora Bernhard) Date: Wed, 18 Sep 2002 15:44:38 +0200 Subject: Error in service notification Message-ID: <3D888346.40704@avl.com> Hi all :) I get the following error: [1032340786] SERVICE NOTIFICATION: nora;lnxc42;PING;UNKNOWN;notify-by-email;check_ping: %s: Warning threshold must be integer or percentage! But in my checkcommands.cfg the command definition (preconfigured!) looks as follows: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 There is no option -s anywhere. I also tried the above directly from the shell and it worked fine without any errors. Any hints? Thanks in advance. -- Nora Bernhard Systems Administrator Associate EDS Austria - Core Infrastructure ------------------------------------------------------- This SF.NET email is 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 daniel.geske at yoc.de Wed Sep 18 15:45:47 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Wed, 18 Sep 2002 15:45:47 +0200 Subject: passive services get stale Message-ID: <001401c25f19$b1553e10$7f00a8c0@pc127> Hi all, I used to log everything in nagios, but now, since the amount of services has grown I have over 30M of logs per day. Therefore I wanted to turn off some logging options. But since I turned off logging for passive checks I keep on getting messages like this in my event log: [2002-09-18 15:32:16] Warning: The results of service 'service' on host 'host' are stale by 59 seconds (threshold=120 seconds). I'm forcing an immediate check of the service. Also, if I turn off logging external commands, they keep on coming, as long as passive checks are still activated. If I turn off passive checks logging, and leave external commands logging active, the event log does not show any external commands anyway. Yet another problem I experience is that I can't turn off performance data. It IS set to off in the configuration file, but on the web interface it shows enabled. Disabling it on the web interface results in the piling up of nagios processes on the monitoring host. Has anybody experienced these or similar problems? How can I solve them? I hope to hear from you soon. Sincerely Daniel Geske ------------------------------------------------------- This SF.NET email is 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 rmayhew at mweb.com Wed Sep 18 16:08:19 2002 From: rmayhew at mweb.com (Richard Mayhew) Date: Wed, 18 Sep 2002 16:08:19 +0200 Subject: Availability Reports Message-ID: <6F76E514B4D4EA469DACC8D4E2F2AF9BBDC74B@mwjdc2.mweb.com> Hi Is it possible to have a availability report created where there is average % for the server with all its services. I.e. SERVER = 99% HTTP = 78% FTP = 94% Average Availability = 90% This would be useful to get an idea of the servers health as a whole. -- 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: 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 jcarro10 at sprintspectrum.com Wed Sep 18 17:14:58 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 18 Sep 2002 10:14:58 -0500 Subject: Event handlers for handling Windows services Message-ID: The question can be answered if you can answer the question, "Can you start/stop Windows services from the command line?" I think. If you install Cygwin, you have the option of turning on an SSH daemon service. Once you get the proper authentication set up (most likely using a null passphrase), so long as you can access the start/stop command from within the Cygwin environment (might require copying/linking the authroitative Windows command), then I don't see why not. If you try this approach, let us know how it works out. jc > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Wednesday, September 18, 2002 2:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event handlers for handling Windows services > > > Hi all, > I was wondering if there is a way to stop/start windows services from > linux? (i.e. event handlers with Nagios and Win2K servers) > > 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: 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 George.Miscioscia at Ticketmaster.com Wed Sep 18 17:59:17 2002 From: George.Miscioscia at Ticketmaster.com (George Miscioscia) Date: Wed, 18 Sep 2002 08:59:17 -0700 Subject: realistic system requirements and capacity Message-ID: To any and all experienced nagios users, what system requirements would you recommend to run a Nagios install at full capacity, and what would you consider full capacity before impementing distributed servers? I.E., how many checks would you recommend one server perform? thanks, George Miscioscia Manager, Internet Systems Ticketmaster/Citysearch office (213)739-3521 cell (310)902-6743 ------------------------------------------------------- This SF.NET email is 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 RLAdams at Kelsey-Seybold.com Wed Sep 18 19:33:57 2002 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 18 Sep 2002 12:33:57 -0500 Subject: realistic system requirements and capacity In-Reply-To: References: Message-ID: <24065.0662490681$1032370723@news.gmane.org> I ran Netsaint 0.0.4b on a P90 w/ 64MB for many years, until the load levels reached about 300-500% monitoring 120 hosts and 200 services. Netsaint was still single-threaded, and at this load level took about 10-12 minutes to complete each run of service checks... I recently upgraded to Netsaint 0.0.7 on a PII/450 w/ 128MB which is monitoring 230 hosts and 350 services and its now at about 200% load. The parallel checks mean that my service checks are running within a fraction of a second of when the scheduler says they should, so there's little latency. However the execution time varies by a few seconds depending on the load. I'm planning on getting a Ghz machine w/ 256MB next to upgrade to Nagios. Even though my server load could increase to monitoring about 300+ hosts and 500 services, I think I could handle that on a single system still. After that, I would consider doing the distributed monitoring. Depends on the number and type of services being checked. A ping check takes very little time and resources, and a single machine could handle thousands I'm sure. However I'm monitoring processes, disks, and more via SNMP, and some other custom shell scripts, at about 5-6 services per host. These really load down the system, when compared to my 130 ping only checks. >From my experience, disk space is nearly irrelevant, CPU does all the work and some memory can speed it up. I've also heard good things about putting your plugins into a RAM disk, but if the machine does nothing but Netsaint then I'd think the cache is just as effective when there's enough memory available. Perhaps this historic data can put your machine selection into perspective. Russell Adams Systems Administrator Kelsey Seybold Clinics On Wed, Sep 18, 2002 at 08:59:17AM -0700, George Miscioscia wrote: > To any and all experienced nagios users, what system requirements would you > recommend to run a Nagios install at full capacity, and what would you > consider full capacity before impementing distributed servers? I.E., how > many checks would you recommend one server perform? > > thanks, > > George Miscioscia > Manager, Internet Systems > Ticketmaster/Citysearch > office (213)739-3521 > cell (310)902-6743 > > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 andy at droidmcse.com Wed Sep 18 19:39:40 2002 From: andy at droidmcse.com (Andy) Date: Wed, 18 Sep 2002 13:39:40 -0400 Subject: Event handlers for handling Windows services In-Reply-To: References: Message-ID: <000d01c25f3a$5e4fb8a0$0501a8c0@asus> I have another idea. Probably exposes some security risks.....but that's another discussion. Have your service check on Nagios pipe some arguments out to a file and then ftp them to a windows server. From there, have a task scheduler job run on windows with enough permissions to be able to use the params in the ftp'd file to act on it. I have been thinking about this and thought about this scenario. Nagios checks a web server Web server fails Nagios executes a script that has $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEATTEMPT$ In the script, it eventually runs it and all of the checks line up and then the script would create a small text file with the hostname and the service - probably a good idea to adjust this to be the actual line that would start / stop the service (eg: netsvc IISADMIN \\hostname /stop) Then have a script on the ftp server that is able to run that script. Again, this leave open all kinds of holes for someone to arbitrarily start and stop services....but you could throw in some text to act like a password and also restrict ftp from certain hosts. My intent is only to show a way to pull this off. Andy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Wednesday, September 18, 2002 11:15 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Event handlers for handling Windows services The question can be answered if you can answer the question, "Can you start/stop Windows services from the command line?" I think. If you install Cygwin, you have the option of turning on an SSH daemon service. Once you get the proper authentication set up (most likely using a null passphrase), so long as you can access the start/stop command from within the Cygwin environment (might require copying/linking the authroitative Windows command), then I don't see why not. If you try this approach, let us know how it works out. jc > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Wednesday, September 18, 2002 2:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event handlers for handling Windows services > > > Hi all, > I was wondering if there is a way to stop/start windows services from > linux? (i.e. event handlers with Nagios and Win2K servers) > > 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: 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 Chris.Robertson at instill.com Wed Sep 18 19:46:47 2002 From: Chris.Robertson at instill.com (Chris Robertson) Date: Wed, 18 Sep 2002 10:46:47 -0700 Subject: realistic system requirements and capacity Message-ID: You can also try browsing the user profiles at http://www.nagios.org/userprofiles/ to get some idea of what people run. Chris ------------------------------------------------------- This SF.NET email is 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 Darren.Gamble at sjrb.ca Wed Sep 18 19:56:28 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Wed, 18 Sep 2002 11:56:28 -0600 Subject: realistic system requirements and capacity Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB54B@shawmail02> Good day, > To any and all experienced nagios users, what system > requirements would you > recommend to run a Nagios install at full capacity, and what would you > consider full capacity before impementing distributed > servers? I.E., how > many checks would you recommend one server perform? There is really no quick answer for this, as there are a lot of factors to weigh in. - the performance of the monitoring machine - the number of checks being done - what type of checks are done - the frequency of the checks Provided that the monitoring machine can keep up with the frequency of the checks, you will be all right. Nagios comes with some tools to check latency of its service checks to determine if one is having performance problems. We have a single-proc P3 that easily handles one check per second. Really, it comes down to installing the software and watch the load on the machine as well as its service checking statistics. After you've done this, you may want to consider changing the frequency of some checks depending on their importance. Overall, Nagios and its plugins are pretty lightweight, so you should be able to handle a few hundred machines with services on just a single machine. ============================ 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: 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 dshurett at gahost.com Wed Sep 18 20:58:27 2002 From: dshurett at gahost.com (Danny Shurett) Date: Wed, 18 Sep 2002 14:58:27 -0400 Subject: cgi.cfg & logo problem References: <44DD250CCB01D51188CD0000E83C052E016E8019@smartweb01.smartweb.ch> Message-ID: <00d201c25f45$63414800$6401a8c0@dancpuman> If someone provides a resolution on this, I am having the same problem ----- Original Message ----- From: "Bruhin Gregor" To: Sent: Wednesday, September 18, 2002 3:09 AM Subject: [Nagios-users] cgi.cfg & logo problem > > Hi everybody, > > I am really happy with nagios, this is really a cool piece of software ! > > I have a problem with the pictures, I alwas get the unknown logo for all my > hosts ? > I have gd2 and all the libraries I need, my > /usr/local/nagios/share/images/logos folder contains my logos for example > the sample redhat logos > In the cgi.cfg I have: > hostextinfo[webci]=/;redhat.gif;redhat.jpg;redhat.gd2;Red Hat 7.3;;; > Why doesn?t it work ??? > > I tried to change webci my defined hostname in hosts.cfg and put > blahblahblah a host which does not exist (in cgi.cfg file) and I got no > warning nor error when running nagios ?v > I tried to debug it myself, and read a few lines in the sources but could > not find the problem ? > > Please help me ? > > Thanks Greg > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 e!mullin at Confi-chek.com Wed Sep 18 20:58:45 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Wed, 18 Sep 2002 11:58:45 -0700 Subject: Event handlers for handling Windows services Message-ID: This is an interesting concept Andy. The ability to handle common failures within a service or system is valuable to larger scale networks. You can however within an active directory dc network use command line on a remote system to start services such as IIS. Take a look at the Windows 2000 Active Directory Black Book by Adam Wood with Coriolis Press (ISBN 1-57610-256-4). This might give you the method you're searching for without exposing your environment to the evils of security failure and reduce the load or need of using FTP or allowing FTP access to and from windows servers. You will also get a lot more out of your Nagios machine if you do not run FTP sessions. Erik Mullinix -----Original Message----- From: Andy [mailto:andy at droidmcse.com] Sent: Wednesday, September 18, 2002 10:40 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Event handlers for handling Windows services I have another idea. Probably exposes some security risks.....but that's another discussion. Have your service check on Nagios pipe some arguments out to a file and then ftp them to a windows server. From there, have a task scheduler job run on windows with enough permissions to be able to use the params in the ftp'd file to act on it. I have been thinking about this and thought about this scenario. Nagios checks a web server Web server fails Nagios executes a script that has $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEATTEMPT$ In the script, it eventually runs it and all of the checks line up and then the script would create a small text file with the hostname and the service - probably a good idea to adjust this to be the actual line that would start / stop the service (eg: netsvc IISADMIN \\hostname /stop) Then have a script on the ftp server that is able to run that script. Again, this leave open all kinds of holes for someone to arbitrarily start and stop services....but you could throw in some text to act like a password and also restrict ftp from certain hosts. My intent is only to show a way to pull this off. Andy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Wednesday, September 18, 2002 11:15 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Event handlers for handling Windows services The question can be answered if you can answer the question, "Can you start/stop Windows services from the command line?" I think. If you install Cygwin, you have the option of turning on an SSH daemon service. Once you get the proper authentication set up (most likely using a null passphrase), so long as you can access the start/stop command from within the Cygwin environment (might require copying/linking the authroitative Windows command), then I don't see why not. If you try this approach, let us know how it works out. jc > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Wednesday, September 18, 2002 2:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event handlers for handling Windows services > > > Hi all, > I was wondering if there is a way to stop/start windows services from > linux? (i.e. event handlers with Nagios and Win2K servers) > > 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: 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 mpowell at ena.com Wed Sep 18 20:58:18 2002 From: mpowell at ena.com (Marc Powell) Date: Wed, 18 Sep 2002 13:58:18 -0500 Subject: realistic system requirements and capacity Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71255@mismail.ena.com> I'm utilizing a distributed setup and my most heavily loaded data collector is monitoring PING service on 592 hosts. It easily completes all the checks within 5 minutes with minimal load on the server. That machines is also running Smokeping and Cricket for the same number of hosts. My data collector machines are PIII 800's with 512MB Ram. Another data collector which is doing significantly more varied service checks (ping, http, ntp, dns, smtp, practically the whole gamut along with several custom plugins we use; 440 services on 206 hosts) is exhibiting the same performance. Average check execution time is 4.389 seconds and average check latency is 0.226 seconds. This machine is again also running Cricket and Smokeping for the same hosts. Not even breaking a sweat. I feel that I can scale this up 2x or higher on the same hardware. My only challenge right now is the 4K size of the named pipe on my central Nagios server and the fact that Nagios doesn't check it often enough, even with command_check_interval=-1. I'll have periods when I have 2000+ nsca processes waiting to write to the pipe. -- Marc > -----Original Message----- > From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] > Sent: Wednesday, September 18, 2002 12:34 PM > To: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] realistic system requirements and capacity > > I ran Netsaint 0.0.4b on a P90 w/ 64MB for many years, until the load > levels reached about 300-500% monitoring 120 hosts and 200 > services. Netsaint was still single-threaded, and at this load level > took about 10-12 minutes to complete each run of service checks... > > I recently upgraded to Netsaint 0.0.7 on a PII/450 w/ 128MB which is > monitoring 230 hosts and 350 services and its now at about 200% > load. The parallel checks mean that my service checks are running > within a fraction of a second of when the scheduler says they should, > so there's little latency. However the execution time varies by a few > seconds depending on the load. > > I'm planning on getting a Ghz machine w/ 256MB next to upgrade to > Nagios. Even though my server load could increase to monitoring about > 300+ hosts and 500 services, I think I could handle that on a single > system still. After that, I would consider doing the distributed > monitoring. Depends on the number and type of services being > checked. A ping check takes very little time and resources, and a > single machine could handle thousands I'm sure. However I'm monitoring > processes, disks, and more via SNMP, and some other custom shell > scripts, at about 5-6 services per host. These really load down the > system, when compared to my 130 ping only checks. > > From my experience, disk space is nearly irrelevant, CPU does all the > work and some memory can speed it up. I've also heard good things > about putting your plugins into a RAM disk, but if the machine does > nothing but Netsaint then I'd think the cache is just as effective > when there's enough memory available. > > Perhaps this historic data can put your machine selection into > perspective. > > Russell Adams > Systems Administrator > Kelsey Seybold Clinics > > On Wed, Sep 18, 2002 at 08:59:17AM -0700, George Miscioscia wrote: > > To any and all experienced nagios users, what system requirements would > you > > recommend to run a Nagios install at full capacity, and what would you > > consider full capacity before impementing distributed servers? I.E., how > > many checks would you recommend one server perform? > > > > thanks, > > > > George Miscioscia > > Manager, Internet Systems > > Ticketmaster/Citysearch > > office (213)739-3521 > > cell (310)902-6743 > > > > > > > > ------------------------------------------------------- > > This SF.NET email is 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 dean.bishop at tcdsb.org Wed Sep 18 21:33:09 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 18 Sep 2002 15:33:09 -0400 Subject: realistic system requirements and capacity Message-ID: As a sidenote i have found a limit to Nagios. After making a ton of minor changes to the config files hosts.cfg, services.cfg, and hostgroups.cfg (basically i grouped better and alphabetized the files for ease of use) as well as adding a few extra hosts, i experienced serious performance problems. i have about 1250 hosts, one service per, and once i had made these changes ping checks were taking up to 10 seconds and then the check-host-alive and check_tcp!23 were simply timing out on a varying number of devices. Different devices each time. i began to imagine that Nagios didn't like the way i organized my config files or something and anticipated (or despaired) having to redo my files. As we have been experiencing network delays due to other problems i set out to find the culprit. i enable a few sniffers and started investigating. Alas, the network looked fine. i changed where my Nagios box was connected...no luck. We were going through our firewall dealing with a different issue and i asked, purely out of curiosity, whether the Nagios box traffic was being logged. Indeed it was, as successful connections. All is well. "Should be every 15 minutes right?" i half enquired and half stated. "No." "Pardon?" "No. They are 2 to 5 minutes apart." "What!!??" apparently, while making my "minor changes" i inadvertantly deleted the "5" from "15" from the "normal_check_interval" parameter in the object template that is used for all 1250 service checks. Whoops! Moral of the story? It actually did quite well, all things considered, monitoring 1250 devices at 1 minute intervals. It hovered at 20-40 timed-out services. This on a P-II 350 w/384M of RAM. regards, dean the [slightly] more attentive typer. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, September 18, 2002 2:58 PM To: Nagios-Users (E-mail) Subject: RE: [Nagios-users] realistic system requirements and capacity I'm utilizing a distributed setup and my most heavily loaded data collector is monitoring PING service on 592 hosts. It easily completes all the checks within 5 minutes with minimal load on the server. That machines is also running Smokeping and Cricket for the same number of hosts. My data collector machines are PIII 800's with 512MB Ram. Another data collector which is doing significantly more varied service checks (ping, http, ntp, dns, smtp, practically the whole gamut along with several custom plugins we use; 440 services on 206 hosts) is exhibiting the same performance. Average check execution time is 4.389 seconds and average check latency is 0.226 seconds. This machine is again also running Cricket and Smokeping for the same hosts. Not even breaking a sweat. I feel that I can scale this up 2x or higher on the same hardware. My only challenge right now is the 4K size of the named pipe on my central Nagios server and the fact that Nagios doesn't check it often enough, even with command_check_interval=-1. I'll have periods when I have 2000+ nsca processes waiting to write to the pipe. -- Marc > -----Original Message----- > From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] > Sent: Wednesday, September 18, 2002 12:34 PM > To: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] realistic system requirements and capacity > > I ran Netsaint 0.0.4b on a P90 w/ 64MB for many years, until the load > levels reached about 300-500% monitoring 120 hosts and 200 > services. Netsaint was still single-threaded, and at this load level > took about 10-12 minutes to complete each run of service checks... > > I recently upgraded to Netsaint 0.0.7 on a PII/450 w/ 128MB which is > monitoring 230 hosts and 350 services and its now at about 200% > load. The parallel checks mean that my service checks are running > within a fraction of a second of when the scheduler says they should, > so there's little latency. However the execution time varies by a few > seconds depending on the load. > > I'm planning on getting a Ghz machine w/ 256MB next to upgrade to > Nagios. Even though my server load could increase to monitoring about > 300+ hosts and 500 services, I think I could handle that on a single > system still. After that, I would consider doing the distributed > monitoring. Depends on the number and type of services being > checked. A ping check takes very little time and resources, and a > single machine could handle thousands I'm sure. However I'm monitoring > processes, disks, and more via SNMP, and some other custom shell > scripts, at about 5-6 services per host. These really load down the > system, when compared to my 130 ping only checks. > > From my experience, disk space is nearly irrelevant, CPU does all the > work and some memory can speed it up. I've also heard good things > about putting your plugins into a RAM disk, but if the machine does > nothing but Netsaint then I'd think the cache is just as effective > when there's enough memory available. > > Perhaps this historic data can put your machine selection into > perspective. > > Russell Adams > Systems Administrator > Kelsey Seybold Clinics > > On Wed, Sep 18, 2002 at 08:59:17AM -0700, George Miscioscia wrote: > > To any and all experienced nagios users, what system requirements would > you > > recommend to run a Nagios install at full capacity, and what would you > > consider full capacity before impementing distributed servers? I.E., how > > many checks would you recommend one server perform? > > > > thanks, > > > > George Miscioscia > > Manager, Internet Systems > > Ticketmaster/Citysearch > > office (213)739-3521 > > cell (310)902-6743 > > > > > > > > ------------------------------------------------------- > > This SF.NET email is 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.NET email is 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 jcarro10 at sprintspectrum.com Wed Sep 18 21:59:35 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 18 Sep 2002 14:59:35 -0500 Subject: cgi.cfg & logo problem Message-ID: >From the Nagios documentation on Object Configuration Data: [quote] Default (old) method - This is the old style of configuring objects and is provided for backward compatabilty. I do not recommend using this method for storing object definitions. Template-based method - This is the new style of configuring object definitions that is flexible and easy to understand. You can use templates to define entries for multiple hosts, services, etc quickly and easily. [end quote] It's been discussed before that you should use the template-based method. You may find that once you've rewritten your config files (the extended host info in particular) to use the template-based methodology, that your problems will be resolved. jc > -----Original Message----- > From: Danny Shurett [mailto:dshurett at gahost.com] > Sent: Wednesday, September 18, 2002 1:58 PM > To: Bruhin Gregor; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] cgi.cfg & logo problem > > > If someone provides a resolution on this, I am having the same problem > ----- Original Message ----- > From: "Bruhin Gregor" > To: > Sent: Wednesday, September 18, 2002 3:09 AM > Subject: [Nagios-users] cgi.cfg & logo problem > > > > > > Hi everybody, > > > > I am really happy with nagios, this is really a cool piece > of software ! > > > > I have a problem with the pictures, I alwas get the unknown > logo for all > my > > hosts ? > > I have gd2 and all the libraries I need, my > > /usr/local/nagios/share/images/logos folder contains my > logos for example > > the sample redhat logos > > In the cgi.cfg I have: > > hostextinfo[webci]=/;redhat.gif;redhat.jpg;redhat.gd2;Red Hat 7.3;;; > > Why doesn?t it work ??? > > > > I tried to change webci my defined hostname in hosts.cfg and put > > blahblahblah a host which does not exist (in cgi.cfg file) > and I got no > > warning nor error when running nagios ?v > > I tried to debug it myself, and read a few lines in the > sources but could > > not find the problem ? > > > > Please help me ? > > > > Thanks Greg > > > > > > ------------------------------------------------------- > > This SF.NET email is 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 dshurett at gahost.com Wed Sep 18 22:08:02 2002 From: dshurett at gahost.com (Danny Shurett) Date: Wed, 18 Sep 2002 16:08:02 -0400 Subject: cgi.cfg & logo problem References: Message-ID: <010601c25f4f$1b1fa8f0$6401a8c0@dancpuman> Found this and it solved my problem: > >>> "Steve Loughran" 07/19/02 04:09PM >>> > in cgi.cfg, i removed all references to > > hostextinfo[whatever]=...... > > and added: > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > then in that file specified above, i added my host extended info details: > > define hostextinfo { > host_name host1 > icon_image workstation.png > statusmap_image workstation.png > } > > > > BTW i couldnt get GIFs or JPGs to work with this (1.03b), only PNG files. > > Steve ----- Original Message ----- From: "Carroll, Jim P [Contractor]" To: Sent: Wednesday, September 18, 2002 3:59 PM Subject: RE: [Nagios-users] cgi.cfg & logo problem > >From the Nagios documentation on Object Configuration Data: > > [quote] > Default (old) method - This is the old style of configuring objects and is > provided for backward compatabilty. I do not recommend using this method for > storing object definitions. > > Template-based method - This is the new style of configuring object > definitions that is flexible and easy to understand. You can use templates > to define entries for multiple hosts, services, etc quickly and easily. > [end quote] > > It's been discussed before that you should use the template-based method. > You may find that once you've rewritten your config files (the extended host > info in particular) to use the template-based methodology, that your > problems will be resolved. > > jc > > > -----Original Message----- > > From: Danny Shurett [mailto:dshurett at gahost.com] > > Sent: Wednesday, September 18, 2002 1:58 PM > > To: Bruhin Gregor; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] cgi.cfg & logo problem > > > > > > If someone provides a resolution on this, I am having the same problem > > ----- Original Message ----- > > From: "Bruhin Gregor" > > To: > > Sent: Wednesday, September 18, 2002 3:09 AM > > Subject: [Nagios-users] cgi.cfg & logo problem > > > > > > > > > > Hi everybody, > > > > > > I am really happy with nagios, this is really a cool piece > > of software ! > > > > > > I have a problem with the pictures, I alwas get the unknown > > logo for all > > my > > > hosts ? > > > I have gd2 and all the libraries I need, my > > > /usr/local/nagios/share/images/logos folder contains my > > logos for example > > > the sample redhat logos > > > In the cgi.cfg I have: > > > hostextinfo[webci]=/;redhat.gif;redhat.jpg;redhat.gd2;Red Hat 7.3;;; > > > Why doesn?t it work ??? > > > > > > I tried to change webci my defined hostname in hosts.cfg and put > > > blahblahblah a host which does not exist (in cgi.cfg file) > > and I got no > > > warning nor error when running nagios ?v > > > I tried to debug it myself, and read a few lines in the > > sources but could > > > not find the problem ? > > > > > > Please help me ? > > > > > > Thanks Greg > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is 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 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.NET email is 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 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This SF.NET email is 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 benny at bennyvision.com Thu Sep 19 01:27:12 2002 From: benny at bennyvision.com (C. Bensend) Date: Wed, 18 Sep 2002 18:27:12 -0500 (CDT) Subject: Bug? Was: "Re: cgi.cfg & logo problem" In-Reply-To: <010601c25f4f$1b1fa8f0$6401a8c0@dancpuman> References: <010601c25f4f$1b1fa8f0$6401a8c0@dancpuman> Message-ID: On Wed, 18 Sep 2002, Danny Shurett wrote: > Found this and it solved my problem: > > > >>> "Steve Loughran" 07/19/02 04:09PM >>> > > in cgi.cfg, i removed all references to > > > > hostextinfo[whatever]=...... > > > > and added: > > > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > > > then in that file specified above, i added my host extended info details: > > > > define hostextinfo { > > host_name host1 > > icon_image workstation.png > > statusmap_image workstation.png > > } > > > > > > > > BTW i couldnt get GIFs or JPGs to work with this (1.03b), only PNG files. I too had been wrestling with this, and it fixed my installation. HOWEVER: Something that might be noted for the next release, is the following: I accidentally added the "xedtemplate_config_file=" line to the nagios.cfg file (brainfart). It did not complain when I did a preflight check, but it also did not work. It _does_ work when that line is added to cgi.cfg. I personally would consider this a minor bug - if it's not going to work in nagios.cfg, I think it would be useful to complain about it during preflight check. It would have saved me a few minutes of head-scratching, anyway. :) If the developers don't see things this way, that's fine too. I have no right to "demand" anything. :) Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Now, to unleash screaming temporal doom!" --- Invader Zim ------------------------------------------------------- This SF.NET email is 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 nagios at nagios.org Wed Sep 18 04:22:51 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 17 Sep 2002 21:22:51 -0500 Subject: Bug? Was: "Re: cgi.cfg & logo problem" In-Reply-To: References: <010601c25f4f$1b1fa8f0$6401a8c0@dancpuman> Message-ID: <3D879D2B.27638.7BA59F@localhost> On 18 Sep 2002 at 18:27, C. Bensend wrote: > > On Wed, 18 Sep 2002, Danny Shurett wrote: > > > Found this and it solved my problem: > > > > > >>> "Steve Loughran" 07/19/02 04:09PM >>> > > > in cgi.cfg, i removed all references to > > > > > > hostextinfo[whatever]=...... > > > > > > and added: > > > > > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > > > > > then in that file specified above, i added my host extended info details: > > > > > > define hostextinfo { > > > host_name host1 > > > icon_image workstation.png > > > statusmap_image workstation.png > > > } > > > > > > > > > > > > BTW i couldnt get GIFs or JPGs to work with this (1.03b), only PNG files. > > I too had been wrestling with this, and it fixed my installation. > > HOWEVER: Something that might be noted for the next release, is > the following: > > I accidentally added the "xedtemplate_config_file=" line to the > nagios.cfg file (brainfart). It did not complain when I did a > preflight check, but it also did not work. It _does_ work when > that line is added to cgi.cfg. > > I personally would consider this a minor bug - if it's not going > to work in nagios.cfg, I think it would be useful to complain > about it during preflight check. It would have saved me a few > minutes of head-scratching, anyway. :) > > If the developers don't see things this way, that's fine too. > I have no right to "demand" anything. :) > > Benny Any directive that starts with an 'x' is ignored by the core process right now. I'll add a warning message for this in 2.0. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.NET email is 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 chris at harvestroad.com Thu Sep 19 04:48:47 2002 From: chris at harvestroad.com (Chris Waltham) Date: Thu, 19 Sep 2002 10:48:47 +0800 Subject: Errors compiling NRPE under IRIX Message-ID: <5.1.0.14.2.20020919104545.01d8f8b0@mail.harvestroad.com> Hi guys, I'm having some problems compiling NRPE 1.5 on an IRIX 6.3 machine (an R10k O2). I get a whole bunch of library/linking errors, but I don't think I know enough to be able to fix them! I'm using all the GNU tools, including gcc (2.95.2) and make (3.76.1). Can anybody help? thanks guys, Chris (log below): cd ./src/; make ; cd .. make[1]: Entering directory `/home/staff/chris/BUILD/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe ld32: WARNING 84: /usr/lib32/libnsl.so is not used for resolving any symbol. ld32: WARNING 84: /usr/lib32/libsocket.so is not used for resolving any symbol. ld32: WARNING 85: definition of _ffs in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of ffs in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of dial in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _dial in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of undial in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of authnone_create in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_create in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_create_vers in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _clnt_create_vers in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_sperror in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_perror in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_sperrno in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_perrno in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _clnt_perrno in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_spcreateerror in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_pcreateerror in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _clntraw_create in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clntraw_create in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _callrpc in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of callrpc in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnttcp_create in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clntudp_bufcreate in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clntudp_create in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _get_myaddress in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of get_myaddress in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of netname2user in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _netname2user in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of netname2host in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _netname2host in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _getnetname in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of getnetname in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of user2netname in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of host2netname in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of pmap_set in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of pmap_unset in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of pmap_getmaps in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _pmap_getmaps in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of pmap_getport in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_pmap in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_pmaplist in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of pmap_rmtcall in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _pmap_rmtcall in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_rmtcall_args in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_rmtcallres in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 85: definition of _clnt_broadcast in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of clnt_broadcast in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_callmsg in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: WARNING 134: weak definition of xdr_opaque_auth in /usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so. ld32: Giving up after printing 50 warnings. Use -wall to print all warnings. ld32: ERROR 33: Unresolved text symbol "snprintf" -- 1st referenced by /var/tmp/ccJV7qfe.o. ld32: INFO 152: Output file removed because of error. collect2: ld returned 2 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/home/staff/chris/BUILD/nrpe-1.5/src' *** Compile finished *** ------------------------------------------------------- This SF.NET email is 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 g.vickers at qut.edu.au Thu Sep 19 05:49:18 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 19 Sep 2002 13:49:18 +1000 Subject: SAMBA messages and Nagios Message-ID: <5.1.0.14.2.20020919134537.0340aed0@imap.qut.edu.au> Hi all, I'm looking at sending winpopup messages to my admin group when a critical failure occurs, and i've found that 'net send' under windows has the ability to send to a user on that domain. The message will appear on that users' desktop irrespective of which PC they are logged in at. This ability is missing in my version of Samba (and doesn't appear to be implemented in newer versions of Samba) and I was wondering if someone knows of a method of doing this under Linux? (without the terminal connection to a DC & sending the message that way :) ================================= 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: 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 derek at omegabyte.com Thu Sep 19 10:32:47 2002 From: derek at omegabyte.com (Derek Belrose) Date: Thu, 19 Sep 2002 04:32:47 -0400 Subject: Checking for cron In-Reply-To: References: Message-ID: <000501c25fb7$226cba40$0300a8c0@euclid> Hey guys, I'm running Nagios to monitor a bunch of different systems (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond to make sure it DOES NOT drop. I'm running it on one server and having it check others using the standard check_* plugins and I tend to want to stay away from SNMP due to a severe lack of understanding of it. Any ideas on how I may check this on a reoccurring basis? Derek Omegabyte Networks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bas at brijn.nu Tue Sep 17 18:05:54 2002 From: bas at brijn.nu (Bas Rijniersce) Date: Tue, 17 Sep 2002 18:05:54 +0200 Subject: Blocked router in host list References: <5DB017510818EC468B05BD7BD9EACF8301F711F0@mismail.ena.com> Message-ID: <000001c25fc5$e2f79e70$0514c639@sysdvb15904> Hi, >It will always stay undetermined until a service check is completed. I'm >confused why you would want to add a device to Nagios that you can't Yup, you might be right. But I wanted to stay as close as possible to the traceroutes with the host mapping. If isn't draw in the picture it's a little harder to follow if this router really dies (and all the hosts behind it go down). What is strange, in a traceroute it is turning up as a host. Is there somesort of check that could use this behaviour?? Thanx, Bas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ffejes at sears.com Thu Sep 19 14:13:17 2002 From: ffejes at sears.com (ffejes at sears.com) Date: Thu, 19 Sep 2002 07:13:17 -0500 Subject: realistic system requirements and capacity Message-ID: Hello. Our Nagios 1.0b4 system currently has ~250 hosts and ~350 services. We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU and 128MB RAM. This machine is also serving HTTP, FTP, and SMB. Lately the load average has been hovering around 0.1 and the cpu is virtually idle most of the time. I have not fully investigated distributed servers and, for the moment, simply have a smaller sparc linux machine serving as a hot standby. Hope this info helps. --frank George Miscioscia r.com> cc: Sent by: Subject: [Nagios-users] realistic system requirements and capacity nagios-users-admin at lists.sourc eforge.net 09/18/2002 10:59 AM To any and all experienced nagios users, what system requirements would you recommend to run a Nagios install at full capacity, and what would you consider full capacity before impementing distributed servers? I.E., how many checks would you recommend one server perform? thanks, George Miscioscia Manager, Internet Systems Ticketmaster/Citysearch office (213)739-3521 cell (310)902-6743 ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jason.Ahrens at telus.com Thu Sep 19 14:49:21 2002 From: Jason.Ahrens at telus.com (Jason Ahrens) Date: Thu, 19 Sep 2002 06:49:21 -0600 Subject: realistic system requirements and capacity Message-ID: <853ED27B8537D611AD1000508BAFBB1182028F@ONMSG001> We have ~3000 service checks in our system. We use a distributed model with 4 FreeBSD Intel boxes doing the actual checks, and a Sun Solaris system (E420, 3CPU, 4GB memory) collecting all the results and paging. This configuration works well, when it works. Unfortunately Nagios seems to have a stability problem on the "master" system and dies frequently. We upgraded a day or two ago to 1.0b6 hoping for stability improvements but those hopes were not realized. Different systems produce the same result so I doubt it's hardware related. As yet, we've been unable to track down *why* nagios is crashing and we're having a harder and harder time convincing those in power to stick with it. They're starting to look at other options. Does anyone know what might be causing our instability here, or how it might be fixed? It seems to die while processing all the external returns from the farmed out checks. The last lines in the log file are always something like this: [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1031774837] Caught SIGSEGV, shutting down... Jason -- Jason Ahrens, System Analyst TELUS Enterprise Solutions http://www.telus.com -----Original Message----- From: ffejes at sears.com [mailto:ffejes at sears.com] Sent: Thursday, September 19, 2002 8:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] realistic system requirements and capacity Hello. Our Nagios 1.0b4 system currently has ~250 hosts and ~350 services. We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU and 128MB RAM. This machine is also serving HTTP, FTP, and SMB. Lately the load average has been hovering around 0.1 and the cpu is virtually idle most of the time. I have not fully investigated distributed servers and, for the moment, simply have a smaller sparc linux machine serving as a hot standby. Hope this info helps. --frank George Miscioscia r.com> cc: Sent by: Subject: [Nagios-users] realistic system requirements and capacity nagios-users-admin at lists.sourc eforge.net 09/18/2002 10:59 AM To any and all experienced nagios users, what system requirements would you recommend to run a Nagios install at full capacity, and what would you consider full capacity before impementing distributed servers? I.E., how many checks would you recommend one server perform? thanks, George Miscioscia Manager, Internet Systems Ticketmaster/Citysearch office (213)739-3521 cell (310)902-6743 ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 bastiaan at iptower.nl Thu Sep 19 15:12:32 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 19 Sep 2002 15:12:32 +0200 Subject: SAMBA messages and Nagios In-Reply-To: <5.1.0.14.2.20020919134537.0340aed0@imap.qut.edu.au> References: <5.1.0.14.2.20020919134537.0340aed0@imap.qut.edu.au> Message-ID: <1032441152.491.19.camel@baw> > This ability is missing in my version of Samba (and doesn't appear to be > implemented in newer versions of Samba) and I was wondering if someone > knows of a method of doing this under Linux? looks like you did some very excellent investigating ;P Usage: smbclient service [options] Version 2.2.4 -M host send a winpopup message to the host if you need it per user , just use nmblookup over all yr hosts 2 find out were the user is logged on ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Thu Sep 19 16:33:21 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 19 Sep 2002 09:33:21 -0500 Subject: Checking for cron Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71272@mismail.ena.com> Well, if you have apache running on the Raqs, a quick and dirty (very dirty) solution would be to write a 10 liner cgi to simply do a 'ps -ef | grep crond | grep -v grep' and output that as HTML. The check command you would use in Nagios would be something like: # 'check_remote_crond' command definition define command{ command_name check_remote_crond command_line $USER1$/check_http -I $HOSTADDRESS$ -u http:// $HOSTADDRESS$/croncheck.cgi -s crond } -- Marc > -----Original Message----- > From: Derek Belrose [mailto:derek at omegabyte.com] > Sent: Thursday, September 19, 2002 3:33 AM > To: 'Nagios-Users (E-mail)' > Subject: [Nagios-users] Checking for cron > > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ffejes at sears.com Thu Sep 19 16:28:58 2002 From: ffejes at sears.com (ffejes at sears.com) Date: Thu, 19 Sep 2002 09:28:58 -0500 Subject: realistic system requirements and capacity Message-ID: Out of curiosity, have you tried running your Nagios master service on another platform like Linux or, like your other systems, FreeBSD? I wonder if you're looking at a file descriptor limit or something similar. --frank "Jason Ahrens" To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sourc Subject: RE: [Nagios-users] realistic system requirements and eforge.net capacity 09/19/2002 07:49 AM We have ~3000 service checks in our system. We use a distributed model with 4 FreeBSD Intel boxes doing the actual checks, and a Sun Solaris system (E420, 3CPU, 4GB memory) collecting all the results and paging. This configuration works well, when it works. Unfortunately Nagios seems to have a stability problem on the "master" system and dies frequently. We upgraded a day or two ago to 1.0b6 hoping for stability improvements but those hopes were not realized. Different systems produce the same result so I doubt it's hardware related. As yet, we've been unable to track down *why* nagios is crashing and we're having a harder and harder time convincing those in power to stick with it. They're starting to look at other options. Does anyone know what might be causing our instability here, or how it might be fixed? It seems to die while processing all the external returns from the farmed out checks. The last lines in the log file are always something like this: [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1031774837] Caught SIGSEGV, shutting down... Jason -- Jason Ahrens, System Analyst TELUS Enterprise Solutions http://www.telus.com -----Original Message----- From: ffejes at sears.com [mailto:ffejes at sears.com] Sent: Thursday, September 19, 2002 8:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] realistic system requirements and capacity Hello. Our Nagios 1.0b4 system currently has ~250 hosts and ~350 services. We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU and 128MB RAM. This machine is also serving HTTP, FTP, and SMB. Lately the load average has been hovering around 0.1 and the cpu is virtually idle most of the time. I have not fully investigated distributed servers and, for the moment, simply have a smaller sparc linux machine serving as a hot standby. Hope this info helps. --frank George Miscioscia r.com> cc: Sent by: Subject: [Nagios-users] realistic system requirements and capacity nagios-users-admin at lists.sourc eforge.net 09/18/2002 10:59 AM To any and all experienced nagios users, what system requirements would you recommend to run a Nagios install at full capacity, and what would you consider full capacity before impementing distributed servers? I.E., how many checks would you recommend one server perform? thanks, George Miscioscia Manager, Internet Systems Ticketmaster/Citysearch office (213)739-3521 cell (310)902-6743 ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Sep 19 16:45:50 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 09:45:50 -0500 Subject: Checking for cron Message-ID: Write a plugin to basically do "ps -ef | grep cron | grep -v grep" and if the answer is null, return a critical error "exit 2". Then call it remotely using NRPE from your Nagios host. But this begs the question... are you seriously having problems with cron abending? If I were you, I'd be checking logfiles and/or running truss and/or checking with SunSolve. If you're still not having any luck, try and install xinetd. But seriously, I'd consider cron to be one of those daemons that never exits, unless someone's been mucking with the libraries (or the binary, for that matter). jc > -----Original Message----- > From: Derek Belrose [mailto:derek at omegabyte.com] > Sent: Thursday, September 19, 2002 3:33 AM > To: 'Nagios-Users (E-mail)' > Subject: [Nagios-users] Checking for cron > > > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://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 19 16:49:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 09:49:00 -0500 Subject: Blocked router in host list Message-ID: This might sound silly, but you could use the usual ICMP host check, but also do an ICMP service check. Are there no ports open on the router itself? Not even telnet? jc > -----Original Message----- > From: Bas Rijniersce [mailto:bas at brijn.nu] > Sent: Tuesday, September 17, 2002 11:06 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Blocked router in host list > > > Hi, > > >It will always stay undetermined until a service check is > completed. I'm > >confused why you would want to add a device to Nagios that you can't > > Yup, you might be right. But I wanted to stay as close as > possible to the > traceroutes with the host mapping. If isn't draw in the picture it's a > little harder to follow if this router really dies (and all > the hosts behind > it go down). > > What is strange, in a traceroute it is turning up as a host. Is there > somesort of check that could use this behaviour?? > > Thanx, > Bas > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://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 19 16:57:52 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 09:57:52 -0500 Subject: realistic system requirements and capacity Message-ID: Hmm. I don't know FreeBSD well enough to offer expert opinion, but you might want to investigate tuning the o/s itself. Possibly there's some sort of buffer overflow happening...? Speculating wildly.... Time to pull out all the stops on tuning the o/s. You might also want to do a truss or strace or whatever the FreeBSD equivalent is on the master Nagios process, logging it all to a file. Something to dissect the next time it abends. If it's even an option, why not burn in a system with Linux and configure that as your master? If nothing else, you've eliminated FreeBSD as the possible culprit. Yet another option would be Solaris on Intel. If that's your cuppa tea. jc > -----Original Message----- > From: Jason Ahrens [mailto:Jason.Ahrens at telus.com] > Sent: Thursday, September 19, 2002 7:49 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] realistic system requirements and capacity > > > We have ~3000 service checks in our system. We use a > distributed model with > 4 FreeBSD Intel boxes doing the actual checks, and a Sun > Solaris system > (E420, 3CPU, 4GB memory) collecting all the results and paging. > > This configuration works well, when it works. Unfortunately > Nagios seems to > have a stability problem on the "master" system and dies > frequently. We > upgraded a day or two ago to 1.0b6 hoping for stability > improvements but > those hopes were not realized. Different systems produce the > same result so > I doubt it's hardware related. As yet, we've been unable to > track down *why* > nagios is crashing and we're having a harder and harder time > convincing > those in power to stick with it. They're starting to look at > other options. > > Does anyone know what might be causing our instability here, > or how it might > be fixed? It seems to die while processing all the external > returns from the > farmed out checks. The last lines in the log file are always > something like > this: > > [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > [1031774837] Caught SIGSEGV, shutting down... > > Jason > > -- > Jason Ahrens, System Analyst > TELUS Enterprise Solutions > http://www.telus.com > > > -----Original Message----- > From: ffejes at sears.com [mailto:ffejes at sears.com] > Sent: Thursday, September 19, 2002 8:13 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] realistic system requirements and capacity > > > > Hello. Our Nagios 1.0b4 system currently has ~250 hosts and > ~350 services. > We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU > and 128MB > RAM. This machine is also serving HTTP, FTP, and SMB. > Lately the load > average has been hovering around 0.1 and the cpu is virtually > idle most of > the time. I have not fully investigated distributed servers > and, for the > moment, simply have a smaller sparc linux machine serving as > a hot standby. > > Hope this info helps. > > --frank > > > > > > George Miscioscia > > "Nagios-Users (E-mail)" > r.com> cc: > > Sent by: Subject: > [Nagios-users] realistic system requirements and capacity > nagios-users-admin at lists.sourc > > eforge.net > > > > > > 09/18/2002 10:59 AM > > > > > > > > > > To any and all experienced nagios users, what system > requirements would you > recommend to run a Nagios install at full capacity, and what would you > consider full capacity before impementing distributed > servers? I.E., how > many checks would you recommend one server perform? > > thanks, > > George Miscioscia > Manager, Internet Systems > Ticketmaster/Citysearch > office (213)739-3521 > cell (310)902-6743 > > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 mpowell at ena.com Thu Sep 19 17:01:33 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 19 Sep 2002 10:01:33 -0500 Subject: Blocked router in host list Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71277@mismail.ena.com> Just my $0.02, but it's generally not a good idea to be telneting to routers you don't own or maintain ;) What you really need is a check_icmp probe that uses TTL. I'm not aware of any that exist right now. I suppose you could write a wrapper to traceroute itself. Pass the wrapper the host name or IP you want to trace to and what to look for (probably the same has the host name or IP), issue the traceroute command and watch the output. If you see the hostname/IP you're looking for, then everything's great. If not then something's wrong. This could potentially be a highly latent kind of check though, especially if the host _is_ down and you have to wait for traceroute to time out. The -m switch might be useful. -- Marc > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, September 19, 2002 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Blocked router in host list > > This might sound silly, but you could use the usual ICMP host check, but > also do an ICMP service check. > > Are there no ports open on the router itself? Not even telnet? > > jc > > > -----Original Message----- > > From: Bas Rijniersce [mailto:bas at brijn.nu] > > Sent: Tuesday, September 17, 2002 11:06 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Blocked router in host list > > > > > > Hi, > > > > >It will always stay undetermined until a service check is > > completed. I'm > > >confused why you would want to add a device to Nagios that you can't > > > > Yup, you might be right. But I wanted to stay as close as > > possible to the > > traceroutes with the host mapping. If isn't draw in the picture it's a > > little harder to follow if this router really dies (and all > > the hosts behind > > it go down). > > > > What is strange, in a traceroute it is turning up as a host. Is there > > somesort of check that could use this behaviour?? > > > > Thanx, > > Bas > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 electro at subpar.net Thu Sep 19 17:07:47 2002 From: electro at subpar.net (J Bilder) Date: Thu, 19 Sep 2002 10:07:47 -0500 Subject: Service Problem Misrepresentation References: Message-ID: <00ab01c25fee$507dc4b0$df03010a@decode.is> Hello Everyone, I've recently upgraded to Nagios 1.06b and I've been experiencing problems with the Service Problems section. It appears that in the "Service Detail, everything seems to be accounted for correctly, but in the Service Problems, its displaying old problems that have been resolved. It appears as if they were never updated after having been fully checked. Is anyone experiencing this? Thanks a lot! Jeff Bilder Network Manager deCODE Genetics, INC electro at subpar.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bas at brijn.nu Thu Sep 19 17:22:19 2002 From: bas at brijn.nu (Bas Rijniersce) Date: Thu, 19 Sep 2002 17:22:19 +0200 Subject: Blocked router in host list References: <5DB017510818EC468B05BD7BD9EACF8301F71277@mismail.ena.com> Message-ID: <002901c25ff0$5a13c4f0$0514c639@sysdvb15904> Hi, >Just my $0.02, but it's generally not a good idea to be telneting to >routers you don't own or maintain ;) :-) Well, we hired them to provide us with save network. So i'm just checking how well their security alerting is working :-) They didn't call me yet >What you really need is a check_icmp probe that uses TTL. I'm not aware >of any that exist right now. I suppose you could write a wrapper to >traceroute itself. Pass the wrapper the host name or IP you want to >trace to and what to look for (probably the same has the host name or >IP), issue the traceroute command and watch the output. If you see the >hostname/IP you're looking for, then everything's great. If not then >something's wrong. This could potentially be a highly latent kind of >check though, especially if the host _is_ down and you have to wait for >traceroute to time out. The -m switch might be useful. THat's a good idea. I'm not yet very familair with the way the plugins are setup. And also i'm not fully aware why a traceroute is showing the host, while a ping is not (but my network book will show me :).. Using the output is a simple and effective way (if you work around timeout problems) -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Sep 19 17:36:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 10:36:06 -0500 Subject: Blocked router in host list Message-ID: In a strict environment, even ICMP and UDP can be blocked. So much for ping and traceroute. Argh... I wish there were a better way. A 'virtual parent' or some such, and a threshold, eg, "when 4 or more hosts from this hostgroup fail, check the others, and if all the others have failed, send a single alert on the virtual parent". :P jc > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Thursday, September 19, 2002 10:02 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Blocked router in host list > > > Just my $0.02, but it's generally not a good idea to be telneting to > routers you don't own or maintain ;) > > What you really need is a check_icmp probe that uses TTL. I'm > not aware > of any that exist right now. I suppose you could write a wrapper to > traceroute itself. Pass the wrapper the host name or IP you want to > trace to and what to look for (probably the same has the host name or > IP), issue the traceroute command and watch the output. If you see the > hostname/IP you're looking for, then everything's great. If not then > something's wrong. This could potentially be a highly latent kind of > check though, especially if the host _is_ down and you have > to wait for > traceroute to time out. The -m switch might be useful. > > -- > Marc > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] > [mailto:jcarro10 at sprintspectrum.com] > > Sent: Thursday, September 19, 2002 9:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Blocked router in host list > > > > This might sound silly, but you could use the usual ICMP host check, > but > > also do an ICMP service check. > > > > Are there no ports open on the router itself? Not even telnet? > > > > jc > > > > > -----Original Message----- > > > From: Bas Rijniersce [mailto:bas at brijn.nu] > > > Sent: Tuesday, September 17, 2002 11:06 AM > > > To: Marc Powell > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Blocked router in host list > > > > > > > > > Hi, > > > > > > >It will always stay undetermined until a service check is > > > completed. I'm > > > >confused why you would want to add a device to Nagios that you > can't > > > > > > Yup, you might be right. But I wanted to stay as close as > > > possible to the > > > traceroutes with the host mapping. If isn't draw in the > picture it's > a > > > little harder to follow if this router really dies (and all > > > the hosts behind > > > it go down). > > > > > > What is strange, in a traceroute it is turning up as a host. Is > there > > > somesort of check that could use this behaviour?? > > > > > > Thanx, > > > Bas > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > 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 mpowell at ena.com Thu Sep 19 18:14:16 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 19 Sep 2002 11:14:16 -0500 Subject: Blocked router in host list Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71279@mismail.ena.com> > -----Original Message----- > From: Bas Rijniersce [mailto:bas at brijn.nu] > Sent: Thursday, September 19, 2002 10:22 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Blocked router in host list > > THat's a good idea. I'm not yet very familair with the way the plugins are > setup. And also i'm not fully aware why a traceroute is showing the host, > while a ping is not (but my network book will show me :).. Using the > output > is a simple and effective way (if you work around timeout problems) Take a look at check_sensors... It's fairly simple and straightforward and could easily be modified to do the traceroute check. Traceroute and ping utilize two different types of ICMP packets. From the traceroute man page "Traceroute utilizes the IP protocol `time to live' field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host." For security reasons, ping is typically blocked to prevent ping floods etc... Since there are no known DOS attacts related to single packet ICMP requests, they're typically allowed as they're very useful in troubleshooting. Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Thu Sep 19 18:20:12 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 19 Sep 2002 11:20:12 -0500 Subject: Blocked router in host list Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7127A@mismail.ena.com> Sounds like a perfectly reasonable use of the mysterious check_cluster plugin that's in the current nagiosplug CVS... -- Marc > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, September 19, 2002 10:36 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Blocked router in host list > > In a strict environment, even ICMP and UDP can be blocked. So much for > ping > and traceroute. > > Argh... I wish there were a better way. A 'virtual parent' or some such, > and a threshold, eg, "when 4 or more hosts from this hostgroup fail, check > the others, and if all the others have failed, send a single alert on the > virtual parent". :P > > jc > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Thursday, September 19, 2002 10:02 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Blocked router in host list > > > > > > Just my $0.02, but it's generally not a good idea to be telneting to > > routers you don't own or maintain ;) > > > > What you really need is a check_icmp probe that uses TTL. I'm > > not aware > > of any that exist right now. I suppose you could write a wrapper to > > traceroute itself. Pass the wrapper the host name or IP you want to > > trace to and what to look for (probably the same has the host name or > > IP), issue the traceroute command and watch the output. If you see the > > hostname/IP you're looking for, then everything's great. If not then > > something's wrong. This could potentially be a highly latent kind of > > check though, especially if the host _is_ down and you have > > to wait for > > traceroute to time out. The -m switch might be useful. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Carroll, Jim P [Contractor] > > [mailto:jcarro10 at sprintspectrum.com] > > > Sent: Thursday, September 19, 2002 9:49 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Blocked router in host list > > > > > > This might sound silly, but you could use the usual ICMP host check, > > but > > > also do an ICMP service check. > > > > > > Are there no ports open on the router itself? Not even telnet? > > > > > > jc > > > > > > > -----Original Message----- > > > > From: Bas Rijniersce [mailto:bas at brijn.nu] > > > > Sent: Tuesday, September 17, 2002 11:06 AM > > > > To: Marc Powell > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Blocked router in host list > > > > > > > > > > > > Hi, > > > > > > > > >It will always stay undetermined until a service check is > > > > completed. I'm > > > > >confused why you would want to add a device to Nagios that you > > can't > > > > > > > > Yup, you might be right. But I wanted to stay as close as > > > > possible to the > > > > traceroutes with the host mapping. If isn't draw in the > > picture it's > > a > > > > little harder to follow if this router really dies (and all > > > > the hosts behind > > > > it go down). > > > > > > > > What is strange, in a traceroute it is turning up as a host. Is > > there > > > > somesort of check that could use this behaviour?? > > > > > > > > Thanx, > > > > Bas > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pspa at gp.novis.pt Thu Sep 19 18:23:14 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 19 Sep 2002 17:23:14 +0100 Subject: Service Problem Misrepresentation In-Reply-To: <00ab01c25fee$507dc4b0$df03010a@decode.is>; from electro@subpar.net on Thu, Sep 19, 2002 at 10:07:47AM -0500 References: <00ab01c25fee$507dc4b0$df03010a@decode.is> Message-ID: <20020919172314.B25492@gp.novis.pt> Yep. I've experienced the same problem. Then I've moved to from my laptop (running W2K+IE6) to my Desktop (running RH + opera) and the problem was gone... Then I've installed mozilla on my laptop ... and the problem is gone :-) Then I've cleared the IE's cache, and the problem was gone ... for a couple of hours... then it got back :-P Conclusion: there is some weirdo problem with IE's cache ... for some unknown dumb reason, it sometimes won't expire the cache and keep sending you it's contents ... If you're using IE, try switching to mozilla, for a try. Hope this is your problem ... if it is, it's "solved" :-) Hugz, On Thu, Sep 19, 2002 at 10:07:47AM -0500, J Bilder wrote: > Hello Everyone, > > I've recently upgraded to Nagios 1.06b and I've been experiencing problems > with the Service Problems section. It appears that in the "Service Detail, > everything seems to be accounted for correctly, but in the Service Problems, > its displaying old problems that have been resolved. It appears as if they > were never updated after having been fully checked. Is anyone experiencing > this? Thanks a lot! > > Jeff Bilder > > Network Manager > > deCODE Genetics, INC > > electro at subpar.net > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- 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 mmusone at shatterit.com Thu Sep 19 20:03:15 2002 From: mmusone at shatterit.com (Mark Musone) Date: Thu, 19 Sep 2002 14:03:15 -0400 Subject: Checking for cron In-Reply-To: References: Message-ID: <000201c26006$d4139a80$0a01a8c0@office> The standard nagios plugin check_procs should be able to easily do this. This is what it's made for. -Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Thursday, September 19, 2002 10:46 AM To: 'Nagios-Users (E-mail)' Subject: RE: [Nagios-users] Checking for cron Write a plugin to basically do "ps -ef | grep cron | grep -v grep" and if the answer is null, return a critical error "exit 2". Then call it remotely using NRPE from your Nagios host. But this begs the question... are you seriously having problems with cron abending? If I were you, I'd be checking logfiles and/or running truss and/or checking with SunSolve. If you're still not having any luck, try and install xinetd. But seriously, I'd consider cron to be one of those daemons that never exits, unless someone's been mucking with the libraries (or the binary, for that matter). jc > -----Original Message----- > From: Derek Belrose [mailto:derek at omegabyte.com] > Sent: Thursday, September 19, 2002 3:33 AM > To: 'Nagios-Users (E-mail)' > Subject: [Nagios-users] Checking for cron > > > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 felipe.martins at primesys.com.br Thu Sep 19 21:26:09 2002 From: felipe.martins at primesys.com.br (Felipe Martins) Date: Thu, 19 Sep 2002 16:26:09 -0300 Subject: Router Monitoring Tool Message-ID: <4B9C5742BB8F8D4895316485C08165A2B59E36@brsaoex01.primesys.br> Hello All !!! Do you know any nagios plugin or another tool to monitor routers and other networks equipaments ? I need to monitor network traffic and the operacional system of the equipament , I had used the MRTG but it?s don?t give me a response that I want , It?s can monitor only the traffic . Can anyone help-me , please ? Tks a lot !!! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Thu Sep 19 21:35:32 2002 From: greis at grinco.de (Olaf Greis) Date: Thu, 19 Sep 2002 21:35:32 +0200 Subject: Checking for cron In-Reply-To: <000501c25fb7$226cba40$0300a8c0@euclid> References: <000501c25fb7$226cba40$0300a8c0@euclid> Message-ID: <200209192135.33000@grinco.de> hi, consider using nrpe to perform local checks on the target machine. on the target use check_procs -c 1:1 cron brdgs olaf Am Donnerstag, 19. September 2002 10:32 schrieb Derek Belrose: > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Sep 19 21:45:18 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 14:45:18 -0500 Subject: Router Monitoring Tool Message-ID: What exactly are you looking to monitor? If you want to monitor a router but aren't interested in the output that MRTG gives (that's how I'm interpreting what you mean by "don't give me a reponse that I want"), you'll need to look into some other sort of SNMP tool. Either that, or you'll end up hand-crafting any number of Expect scripts (with the telnet password encoded :P) to extract the data that you want. Again, what is it that you find lacking in MRTG? Are you looking for a tool which gives you up-to-the-second info? Are you looking for reports which you currently aren't getting (like CPU load on your router, for example)? Are you looking for e-mail/pager alerts (like the ones Nagios sends out)? Instead of making nebulous claims about what a given tool doesn't do, please make a (wish) list of things you want to see in a (dream) tool. jc > -----Original Message----- > From: Felipe Martins [mailto:felipe.martins at primesys.com.br] > Sent: Thursday, September 19, 2002 2:26 PM > To: Nagios-Users (E-mail) > Subject: [Nagios-users] Router Monitoring Tool > > > Hello All !!! > Do you know any nagios plugin or another tool to monitor > routers and other networks equipaments ? I need to monitor > network traffic and the operacional system of the equipament > , I had used the MRTG but it?s don?t give me a response that > I want , It?s can monitor only the traffic . > Can anyone help-me , please ? > Tks a lot !!! > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wilcoxc at troycorp.com Thu Sep 19 22:24:38 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Thu, 19 Sep 2002 16:24:38 -0400 Subject: Router Monitoring Tool Message-ID: <5F735AF7A501D411910600104B76901E01EA970A@POSTAL> What kind of monitoring are you talking about other than bandwidth.....If there is a MIB for it Nagios can monitor it. Look into as well RRDTool and Cacti for uses as well..... Chris. -----Original Message----- From: Felipe Martins [mailto:felipe.martins at primesys.com.br] Sent: Thursday, September 19, 2002 3:26 PM To: Nagios-Users (E-mail) Subject: [Nagios-users] Router Monitoring Tool Hello All !!! Do you know any nagios plugin or another tool to monitor routers and other networks equipaments ? I need to monitor network traffic and the operacional system of the equipament , I had used the MRTG but it?s don?t give me a response that I want , It?s can monitor only the traffic . Can anyone help-me , please ? Tks a lot !!! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nolan.Martin at co.travis.tx.us Thu Sep 19 22:20:26 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 19 Sep 2002 15:20:26 -0500 Subject: Host Group Notifications - Possible display suppression? Message-ID: I am at a loss on how to best configure Nagios to handle my environment needs and would appreciate input and suggestions. In my environment, my department oversees the overall health of the entire network and its devices. There are also individual departments with their own administrators that provide dedicated support for their devices. I have set up host groups that reflect the major groupings of devices, such as NetWare servers, NT Servers, Routers, etc. In turn, I have assigned appropriate contacts for my department for each of those host groups. The problem I have is how to handle notifications for devices that belong to another department. I only want the department admins to receive specific notifications for their devices. As such, I can't just simply add them as a contact groups for the overall host group of NetWare servers (for example). I understand I can create additional host groups and assign the hosts to more than one group. But... if I go that route, I will then have a whole range of host groups displayed on each console. I am happy with my major groupings and don't want to clutter the console with individual department groupings as well. Is there a way to suppress the display of a host group within each of the web console screens? If not, can anyone suggest another way to handle this within the current boundaries of Nagios? Any thoughts or suggestions are appreciated. Thanks. Nolan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Darren.Gamble at sjrb.ca Thu Sep 19 22:54:56 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Thu, 19 Sep 2002 14:54:56 -0600 Subject: Host Group Notifications - Possible display su ppression? Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB551@shawmail02> Good day, > The problem I have is how to handle notifications for devices that > belong to another department. I only want the department admins to > receive specific notifications for their devices. As such, I > can't just > simply add them as a contact groups for the overall host group of > NetWare servers (for example). I understand I can create additional > host groups and assign the hosts to more than one group. > > But... if I go that route, I will then have a whole range of host > groups displayed on each console. I am happy with my major groupings > and don't want to clutter the console with individual department > groupings as well. Alas, that's probably the best way to do it, which is similar to what I do. If you don't want the host groups to clutter up your display, you may want to prefix the name of your host groups in a way that makes them appear together (i.e. your "host type" host groups first and then your "the same people admin us" groups second) . I don't believe there is any way to suppress the display of a group outright. Feature request? It probably won't be too hard to code yourself. Alternatively, if your server admins never need access to the .cgi programs (i.e. they only care about the e-mail notifications), you could instead leave your groups as they are, and instead use host and service escalations to independently control who's notified for what. Check the docco for more information on those. ============================ 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 Nolan.Martin at co.travis.tx.us Thu Sep 19 23:27:28 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 19 Sep 2002 16:27:28 -0500 Subject: Host Group Notifications - Possible display suppression? Message-ID: I had not considered using escalations... I had wondered about the possibility of using event handlers. However, based on my (admittedly) cursory look at event handlers, it seems using event handlers would bypass the usual system of notification time periods and eliminate the potential restrictions/filtering based on those periods. At this point I am only concerned about the notifications part. I will take a look at the escalations. In terms of a feature request... would others like to weigh in on whether or not this would be equally beneficial in their environment? Nolan >>> Darren Gamble 09/19/02 03:54PM >>> Good day, > The problem I have is how to handle notifications for devices that > belong to another department. I only want the department admins to > receive specific notifications for their devices. As such, I > can't just > simply add them as a contact groups for the overall host group of > NetWare servers (for example). I understand I can create additional > host groups and assign the hosts to more than one group. > > But... if I go that route, I will then have a whole range of host > groups displayed on each console. I am happy with my major groupings > and don't want to clutter the console with individual department > groupings as well. Alas, that's probably the best way to do it, which is similar to what I do. If you don't want the host groups to clutter up your display, you may want to prefix the name of your host groups in a way that makes them appear together (i.e. your "host type" host groups first and then your "the same people admin us" groups second) . I don't believe there is any way to suppress the display of a group outright. Feature request? It probably won't be too hard to code yourself. Alternatively, if your server admins never need access to the .cgi programs (i.e. they only care about the e-mail notifications), you could instead leave your groups as they are, and instead use host and service escalations to independently control who's notified for what. Check the docco for more information on those. ============================ 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 g.vickers at qut.edu.au Fri Sep 20 01:49:05 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 20 Sep 2002 09:49:05 +1000 Subject: SAMBA messages and Nagios In-Reply-To: <1032441152.491.19.camel@baw> References: <5.1.0.14.2.20020919134537.0340aed0@imap.qut.edu.au> <5.1.0.14.2.20020919134537.0340aed0@imap.qut.edu.au> Message-ID: <5.1.0.14.2.20020920093249.03426048@imap.qut.edu.au> Thanks Bastiaan and everyone else who replied. When I said other versions, I meant TNG-Samba :) and I got a reply from one of the developers with a patch to send winpopup messages to a user! Woohoo! Greg At 23:12 19/09/2002, Bastiaan van den Berg wrote: > > This ability is missing in my version of Samba (and doesn't appear to be > > implemented in newer versions of Samba) and I was wondering if someone > > knows of a method of doing this under Linux? > >looks like you did some very excellent investigating ;P > >Usage: smbclient service [options] >Version 2.2.4 > -M host send a winpopup message to the host > >if you need it per user , just use nmblookup over all yr hosts 2 find >out were the user is logged on > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Sep 20 02:04:05 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 19:04:05 -0500 Subject: Host Group Notifications - Possible display su ppression? Message-ID: See comments below. Nolan Martin wrote: > I am at a loss on how to best configure Nagios to handle my > environment > needs and would appreciate input and suggestions. > > In my environment, my department oversees the overall health of the > entire network and its devices. There are also individual departments > with their own administrators that provide dedicated support for their > devices. Sounds like there's already a precedent for a definition of other hostgroups, ie, the hosts which a given group of administrators have ownership of. > I have set up host groups that reflect the major groupings of devices, > such as NetWare servers, NT Servers, Routers, etc. In turn, I have > assigned appropriate contacts for my department for each of those host > groups. Sounds good so far, so long as there isn't any unnecessary redundancy, and also no unwanted gaps. > The problem I have is how to handle notifications for devices that > belong to another department. I only want the department admins to > receive specific notifications for their devices. As such, I > can't just > simply add them as a contact groups for the overall host group of > NetWare servers (for example). I understand I can create additional > host groups and assign the hosts to more than one group. Sounds like the perfect solution. > But... if I go that route, I will then have a whole range of host > groups displayed on each console. I am happy with my major groupings > and don't want to clutter the console with individual department > groupings as well. I'm not sure what you mean by "displayed on each console", or "clutter" for that matter. If by "console" you mean the workstation of an admin, then I'm following you. Personally, I always leave my browser parked on the Tactical Overview screen, which is quite uncluttered. If, OTOH, you're referring to one of the various other screens which effectively give you an inventory listing of your hosts and services, then yeah, it can get a little busy. > Is there a way to suppress the display of a host group within each of > the web console screens? Not unless you're up for some re-coding of status.cgi. > If not, can anyone suggest another way to handle this within the > current boundaries of Nagios? What exactly are you trying to solve? To keep the fewest number of hostgroups? To avoid hostgroup overlap? To respond to a PHB request of "This screen looks too cluttered. Clean it up, it looks messy"? From the outset, it sounded like your concern was primarily to do with notification. Defining new hostgroups would address that. But you're concerned with a cluttered screen. Removing hosts/services from Nagios would address that (but would probably defeat the purpose of having Nagios to begin with). Of course, you could create new contactgroups and apply them individually to the hosts in question, thus keeping your hostgroup count to a minimum. But if a department decides to, say, take a switch down (and thus impacting all the hosts connected to that switch) and assuming the parent directive wasn't implemented, the appropriate admin could schedule the entire hostgroup for maintenance downtime. Saves lots of clicks and keystrokes (vs. scheduling each host individually). I trust that wherever the concern is coming from, that the party involved understands that the clutter will only grow, in all likelihood. This conclusion is based on the fact that just about every network out there will get hosts added to them, and just about every host out there will need to have at least one (and probably more) services added to them. The PHB should stay focused on the Tactical Overview; green is good, red is bad. If you're looking to carve things up into tiny snapshots of the bigger picture, you could always implement other Nagios servers and let them run with a subset, based on the hosts/services a given group needs to monitor. Of course, more administrative overhead. If you're looking for a screen which is a quick list of hostgroups (without all the host/service detail), then yes, that might be something nice to see. But I wouldn't remove any of the existing menu options on the left side; that particular feature might best be listed as a separate item. Click, list hostgroups. Click, drill down into hostgroup. Etc. Just understand that organizing many things into tiny little compartments and adding extra levels of indirection may eventually lead to a feature that very few people will use. I know I don't want to click too many times to get to where I'm going, but maybe that's just me. Just my $0.02. jc > Any thoughts or suggestions are appreciated. > > Thanks. > > Nolan > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Sep 20 02:21:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 19 Sep 2002 19:21:06 -0500 Subject: Host Group Notifications - Possible display su ppression? Message-ID: Er, one small change (below): Carroll, Jim wrote: > If you're looking for a screen which is a quick list of > hostgroups (without > all the host/service detail), then yes, that might be > something nice to see. > But I wouldn't remove any of the existing menu options on the > left side; > that particular feature might best be listed as a separate > item. Click, > list hostgroups. Click, drill down into hostgroup. Etc. This feature is already there. Oops! :) jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dhoffman at mylittleplanet.org Fri Sep 20 04:46:06 2002 From: dhoffman at mylittleplanet.org (Daniel Hoffman) Date: Fri, 20 Sep 2002 12:46:06 +1000 (EST) Subject: squid and nagios Message-ID: peoples, I am trying to generate a request for a website from a squid server to see if the server is functioning correctly. Mainly so if it responds with a standard http error I can be alerted. I have played with the check_http application but I cant get it just right. I am currently using the check_tcp to see if the port is open. but this does not always mean the service is running... any help provided off list would be great. - daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From benny at bennyvision.com Fri Sep 20 05:12:49 2002 From: benny at bennyvision.com (C. Bensend) Date: Thu, 19 Sep 2002 22:12:49 -0500 (CDT) Subject: squid and nagios In-Reply-To: References: Message-ID: On Fri, 20 Sep 2002, Daniel Hoffman wrote: > I am trying to generate a request for a website from a squid server to see > if the server is functioning correctly. Mainly so if it responds with a > standard http error I can be alerted. I have played with the check_http > application but I cant get it just right. Hey Daniel, Translation: "I'm doing this thing, and this other thing, and it's not working. What's wrong?" Answer: We really do need more details - you've told us what you're trying, but you omitted several things that are necessary to properly debug: * How are you "generating the request" ? * What is the exact command you're trying to use, via checkcommands.cfg? * Does that command work from the command line? Simply - we need more details about exactly how you're trying to test this service. :) Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Now, to unleash screaming temporal doom!" --- Invader Zim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Thu Sep 19 06:34:57 2002 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 18 Sep 2002 23:34:57 -0500 Subject: SAMBA messages and Nagios In-Reply-To: <5.1.0.14.2.20020920093249.03426048@imap.qut.edu.au> References: <1032441152.491.19.camel@baw> Message-ID: <3D890DA1.18658.15961D7@localhost> These types of things make excellent FAQs. I just added this to the notification section. People who are using other notification methods may want to consider adding a FAQ of their own. :-) http://www.nagios.org/faqs/viewfaq.php?faq_id=63 On 20 Sep 2002 at 9:49, Greg Vickers wrote: > Thanks Bastiaan and everyone else who replied. > > When I said other versions, I meant TNG-Samba :) and I got a reply from one > of the developers with a patch to send winpopup messages to a user! Woohoo! > > Greg > > At 23:12 19/09/2002, Bastiaan van den Berg wrote: > > > This ability is missing in my version of Samba (and doesn't appear to be > > > implemented in newer versions of Samba) and I was wondering if someone > > > knows of a method of doing this under Linux? > > > >looks like you did some very excellent investigating ;P > > > >Usage: smbclient service [options] > >Version 2.2.4 > > -M host send a winpopup message to the host > > > >if you need it per user , just use nmblookup over all yr hosts 2 find > >out were the user is logged on > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Sep 20 07:58:00 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 20 Sep 2002 07:58:00 +0200 Subject: Checking for cron Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802D8@storevis.datavis.se> Nagios_statd from http://www.twoevils.org/html/files.php will do the trick. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thu 19-Sep-02 16:45 To: 'Nagios-Users (E-mail)' Cc: Subject: RE: [Nagios-users] Checking for cron Write a plugin to basically do "ps -ef | grep cron | grep -v grep" and if the answer is null, return a critical error "exit 2". Then call it remotely using NRPE from your Nagios host. But this begs the question... are you seriously having problems with cron abending? If I were you, I'd be checking logfiles and/or running truss and/or checking with SunSolve. If you're still not having any luck, try and install xinetd. But seriously, I'd consider cron to be one of those daemons that never exits, unless someone's been mucking with the libraries (or the binary, for that matter). jc > -----Original Message----- > From: Derek Belrose [mailto:derek at omegabyte.com] > Sent: Thursday, September 19, 2002 3:33 AM > To: 'Nagios-Users (E-mail)' > Subject: [Nagios-users] Checking for cron > > > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 g.vickers at qut.edu.au Fri Sep 20 09:33:44 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 20 Sep 2002 17:33:44 +1000 Subject: checking Win2k file shares Message-ID: <5.1.0.14.2.20020920172848.0341f120@imap.qut.edu.au> Hi all, I was wondering what mechanisms people out there may have implemented to check the existence of file shares on win2k servers? I want to check that the share is still available from our Lab servers. This directory is the same across 10 servers, with the same access permissions. It's a logon directory, accessible from the lab machines with the default logon user, which doesn't have a password (we use a secondary mechanism for allowing access, not NT authentication.) I'm having a play with smbclient, but can't seem to connect to the share from my nagios server. How could I check for the existence of this share? 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 greis at grinco.de Fri Sep 20 09:35:07 2002 From: greis at grinco.de (Olaf Greis) Date: Fri, 20 Sep 2002 09:35:07 +0200 Subject: squid and nagios In-Reply-To: References: Message-ID: <200209200923.41324@grinco.de> there are two things you can do: - make squid serve at least one static page (read the squid documentation on how to do this) an use check_http to fetch this page - check the accessibility of a diffrent server via the squid proxy (but keep in mind that this check will give you the warnings about the availibility of the different server) check_http -I ip.of.pro.xy -p proxyport -u http://somplace/somewhere/ brgds olaf Am Freitag, 20. September 2002 04:46 schrieb Daniel Hoffman: > peoples, > > > I am trying to generate a request for a website from a squid server to see > if the server is functioning correctly. Mainly so if it responds with a > standard http error I can be alerted. I have played with the check_http > application but I cant get it just right. > > I am currently using the check_tcp to see if the port is open. but this > does not always mean the service is running... any help provided off list > would be great. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Fri Sep 20 09:51:48 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 20 Sep 2002 09:51:48 +0200 Subject: checking Win2k file shares References: <5.1.0.14.2.20020920172848.0341f120@imap.qut.edu.au> Message-ID: <3D8AD394.779FEAB0@gcc.dhl.com> This is what I use to check a clustered file system that very rarely crashes. It's still available then, and everything in the root is visible, but nothing is in the subdirectories. You can use the same script for your checks, I guess. Provide the sharename as argument. ************************************************************************************************************** #!/bin/bash share=$1 sudo /bin/umount /mnt/$share -f &>/dev/null /bin/mount /mnt/$share &>/dev/null count=`ls /mnt/$share/subdir | wc -l` if [ ! "$count" -eq "0" ]; then exit="0" && stdio="OK - directory listing succeeded."; else exit="2" && stdio="Could not list directory contents. $share is not available." fi sudo /bin/umount /mnt/$share/ -f &>/dev/null echo $stdio exit $exit ************************************************************************************************************** Make sure your nagios account is in the sudoers file for umount. I did the umounts with the netsaint account at first, but in rare occasions the umount failed and could only be done with root previliges. Also mak sure that the fileshares are in your /etc/fstab like this: //server/share /mnt/mountpoint smbfs noauto,user,username=,password=,workgroup= 0 0 If I'm making no sense to you, then just tell me :-) Good luck, Tom Greg Vickers wrote: > > Hi all, > I was wondering what mechanisms people out there may have implemented to > check the existence of file shares on win2k servers? > I want to check that the share is still available from our Lab servers. > This directory is the same across 10 servers, with the same access permissions. > It's a logon directory, accessible from the lab machines with the default > logon user, which doesn't have a password (we use a secondary mechanism for > allowing access, not NT authentication.) > > I'm having a play with smbclient, but can't seem to connect to the share > from my nagios server. > > How could I check for the existence of this share? > > 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 -- 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 keisenhauer at picturesafe.de Fri Sep 20 10:39:30 2002 From: keisenhauer at picturesafe.de (Karl-Fried Eisenhauer) Date: Fri, 20 Sep 2002 10:39:30 +0200 Subject: squid and nagios References: Message-ID: <3D8ADEC2.1040902@picturesafe.de> Daniel, I use this command definition: check_proxy $USER1$/check_tcp -H $HOSTADDRESS$ -p 1234 -s 'GET http://www.someoutside-server.xx HTTP/1.0\n\n' -e 'HTTP/1.0 200 OK' -v (be careful, all in one line) -p 1234 is the port th proxy listens on It will by automagically called with the address of the host definition (the IP of the proxy server) My plugin version is: ./check_tcp -V -> check_tcp (netsaint-plugins 1.2.9-4) 1.20 Works great for me... - Kalle Daniel Hoffman wrote: > peoples, > I am trying to generate a request for a website from a squid server to see > if the server is functioning correctly. Mainly so if it responds with a > standard http error I can be alerted. I have played with the check_http > application but I cant get it just right. > > I am currently using the check_tcp to see if the port is open. but this > does not always mean the service is running... any help provided off list > would be great. > > - daniel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ralf.lebeda at ezi.de Fri Sep 20 14:22:02 2002 From: ralf.lebeda at ezi.de (ralf.lebeda at ezi.de) Date: Fri, 20 Sep 2002 14:22:02 +0200 Subject: Nagios Logfile Message-ID: Hello, in the nagios logfile is at the begining of each line a unix time stamp. Is there a way to get this time stamp changed in a human readable time stamp??? Nagios Log file Unix time Stamp --> ??????? --> logfile with human readable timestamp It would be nice, if someone could help me, becaus I need it. Thanks in advance --------- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From a.wassatsch at meg-gmbh.de Fri Sep 20 14:40:18 2002 From: a.wassatsch at meg-gmbh.de (Andreas Wassatsch) Date: Fri, 20 Sep 2002 14:40:18 +0200 Subject: Nagios Logfile In-Reply-To: References: Message-ID: <200209201440.23013.a.wassatsch@meg-gmbh.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 With a little perl.. Best regards from Heidelberg, Andreas - --- #!/usr/bin/perl use Time::Local; open(LOG,"/usr/local/nagios/var/nagios.log"); while (! eof(LOG)) { $line = ; ($part1, $part2) = split(/\s+/, $line, 2); $part1 =~ s/\[//; $part1 =~ s/\]//; print "[", scalar localtime($part1), "] $part2"; }; close(LOG); - --- On 20. September 2002 14:22, ralf.lebeda at ezi.de wrote: > Hello, > > in the nagios logfile is at the begining of each line a unix time stamp. > > Is there a way to get this time stamp changed in a human readable time > stamp??? > > Nagios Log file Unix time Stamp --> ??????? --> logfile with human > readable timestamp > > It would be nice, if someone could help me, becaus I need it. > > Thanks in advance > --------- > 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users - -- [ Bitte keine HTML-Mail / MS-Attachments *.xls *.doc ] Andreas Wassatsch MEG Kommunikationssysteme GmbH Dipl.-Ing. Hans-Bunte-Stra?e 20 D-69123 Heidelberg using Linux since 0.99pl10 Fon 06221-8320-490 Fax -444 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9ixc2hfo0oE4rIFERAvKRAJ9UEiJ/Jxad3ykAHZ4a6AtY5uVo1ACdHDHD IAdDtsvwsGPYBW+65OktytQ= =Rxt2 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Fri Sep 20 17:45:47 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Fri, 20 Sep 2002 09:45:47 -0600 Subject: Eventhandlers and SUDO Message-ID: I am setting up a clustering system using the Heartbeat project. I have configured the distributed monitoring on each system, and the Master (active) server sends results back to our Central Nagios server via the send_nsca script, works great. My problem, when Nagios detects either a problem with httpd, sendmail, named or ftp, I calling an EventHandler called resetart-httpd, restart-sendmail, restart-named, restart-xinetd, respectively. I have use the standard restart-httpd available in the Nagios installation for my "template" eventhandler script. In addition, I for each of the restart command I appended a sudo to the beginning of the line so my restart command looks like sudo /etc/rc.d/init.d/httpd restart I have tried multiple /etc/sudoers configs but the service is never able to restart, I have included several variations that I have tried. nagios localhost = NOPASSWD: /etc/rc.d/init.d/sendmail nagios localhost = (ALL) NOPASSWD: ALL nagios ALL = NOPASSWD: ALL One thing I notice, the sendmail will complet the STOP correctly but will not perform the Start of the service. When I execute restart-sendmail CRITICAL SOFT 3 from the command line as the Nagios user, Sendmail, stops, fails and then starts up fine. But when Nagios runs the restart-sendmail it fails at the STOP everytime, note I have manually caused sendmail to stop and am trying to run restart. Has anyone used SUDO for this purpose? Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Sep 20 17:52:09 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 20 Sep 2002 11:52:09 -0400 Subject: CGI Patch for Nagios 1.0b6 Message-ID: <3D8B4429.3080108@quadrix.com> I previously submitted a patch file for Nagios1.0b3 that would allow for the CGI's to be truly portable, as in no need to reconfigure or remake whenever you wanted to move them or have multiple instances of the CGI's on the same box. What I did was added a method to the cgiutils.c class to get the location of the cgi.cfg file from an environment variable, NAGIOS_CGI_CONFIG. If there is no environment variable set, then it will do what Nagios currently does and use the hard-coded value in the locations.h file (created with you ran ./configure). The patch never made it to the 1.0b6 release, so I recreated it and attached it to this email. It's easy to run. All you have to do is, before you do a make (after ./configure), copy this patch file into the /nagios-1.0b6/cgi directory and type patch -p1 < nagios1.0b6-cgi.patch and it will edit the cgi's properly. Then to set the environment variable, you need to edit your httpd.conf. I know how to do this for Apache (you need version 1.3.7 or higher). Inside the Directory entry you made for the /nagios/cgi-bin path you add the line: SetEnv NAGIOS_CGI_CONFIG /usr/local/nagios/etc/cgi.cfg Obviously change the value to be wherever your cgi.cfg is located. So if you ahve multiple set of CGI's running on one box (like we do here), for each different Directory entry, set the environment variable appropriately and all the CGI's will work fine. This is the only hardcoded reference the CGI's use. Inside cgi.cfg is the location of the main cfg file (nagios.cfg), and the cgi's parse the rest of the information they need from there. Just make sure that you have all your directory and file settings set properly in the config files. I'd really like to see this change added to the distribution. It allows for CGI portability and it is completely backward compatible. If someone can let me know how I can go about having this added to the normal Nagios distribution, I'd really appreciate it. Thanks. -Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios1.0b6-cgi.patch URL: From daniel-wittenberg at uiowa.edu Fri Sep 20 17:58:44 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 20 Sep 2002 10:58:44 -0500 Subject: supress unreachable messages Message-ID: <1032537529.22814.15.camel@hawk.wittenberg.org> Is there anyway to suppress the unreachable messages? Mainly because I've got everything tied to parents, and if a main one of those were to go down I'd get tons of pages for hosts that were unreachable, but all I care about is the one that is down. (I thought the whole point of using parents). Thanks, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 20 18:07:48 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 20 Sep 2002 12:07:48 -0400 Subject: supress unreachable messages Message-ID: Check your hosts file for "notification_options". Options are r,u,d for recovered, unreachable, and down respectively. remove "u" later, dean -----Original Message----- From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] Sent: Friday, September 20, 2002 11:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] supress unreachable messages Is there anyway to suppress the unreachable messages? Mainly because I've got everything tied to parents, and if a main one of those were to go down I'd get tons of pages for hosts that were unreachable, but all I care about is the one that is down. (I thought the whole point of using parents). Thanks, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jmarquart at planalytics.com Fri Sep 20 18:40:24 2002 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Fri, 20 Sep 2002 12:40:24 -0400 Subject: Checking for cron Message-ID: <85256C3A.005B974C.00@mailhost.planalytics.com> or - if already running ssh - you can do: checkcommand: define command{ command_name check_remote_procs command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ /path/to/host/checks/check_procs -c $ARG1$ -w $ARG2$ -u $ARG3$ -C $ARG4$ } and then a service: define service{ use your-favorite-template host_name host.to.check service_description CROND proc check_command check_remote_procs!1:50!1:20!root!crond } and then you can check your process using the plugins - and securely. -j Fredrik W -------------- next part -------------- ?nglund on 09/20/2002 01:58:00 AM To: "Carroll, Jim P [Contractor]" , "Nagios-Users (E-mail)" cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: RE: [Nagios-users] Checking for cron -------------- next part -------------- Nagios_statd from http://www.twoevils.org/html/files.php will do the trick. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thu 19-Sep-02 16:45 To: 'Nagios-Users (E-mail)' Cc: Subject: RE: [Nagios-users] Checking for cron Write a plugin to basically do "ps -ef | grep cron | grep -v grep" and if the answer is null, return a critical error "exit 2". Then call it remotely using NRPE from your Nagios host. But this begs the question... are you seriously having problems with cron abending? If I were you, I'd be checking logfiles and/or running truss and/or checking with SunSolve. If you're still not having any luck, try and install xinetd. But seriously, I'd consider cron to be one of those daemons that never exits, unless someone's been mucking with the libraries (or the binary, for that matter). jc > -----Original Message----- > From: Derek Belrose [mailto:derek at omegabyte.com] > Sent: Thursday, September 19, 2002 3:33 AM > To: 'Nagios-Users (E-mail)' > Subject: [Nagios-users] Checking for cron > > > Hey guys, I'm running Nagios to monitor a bunch of different systems > (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond > to make sure it DOES NOT drop. > > I'm running it on one server and having it check others using the > standard check_* plugins and I tend to want to stay away from SNMP due > to a severe lack of understanding of it. > > Any ideas on how I may check this on a reoccurring basis? > > Derek > Omegabyte Networks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 From jcarro10 at sprintspectrum.com Fri Sep 20 18:50:57 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 20 Sep 2002 11:50:57 -0500 Subject: supress unreachable messages Message-ID: I'm curious: Does 'unreachable' also apply to plugins which timeout? I'm still dealing with the issue of the check_log2 (Perl-based) plugin which randomly times out (when checked via NRPE). The client is Solaris-based. I don't have the timeout problems with any other NRPE plugin on those exact same Solaris boxes. It would be great if I could put in the logic of "if the NRPE times out for this service, I don't want to be notified", at least for pages. (I still wouldn't mind seeing the e-mails, in case I eventually do notice a relationship with some other event on said hosts.) jc > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: Friday, September 20, 2002 11:08 AM > To: 'Daniel Wittenberg'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] supress unreachable messages > > > Check your hosts file for "notification_options". Options > are r,u,d for > recovered, unreachable, and down respectively. > > remove "u" > > later, > dean > > -----Original Message----- > From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] > Sent: Friday, September 20, 2002 11:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] supress unreachable messages > > > Is there anyway to suppress the unreachable messages? Mainly because > I've got everything tied to parents, and if a main one of > those were to > go down I'd get tons of pages for hosts that were > unreachable, but all I > care about is the one that is down. (I thought the whole > point of using > parents). > > Thanks, > Dan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Fri Sep 20 19:03:55 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Fri, 20 Sep 2002 11:03:55 -0600 Subject: Eventhandlers and SUDO Message-ID: I just tested "nagios ALL=(root) /etc/rc.d/init.d/sendmail" and still the same thing. My process of testing, 1. Start Nagios 2. Stop Sendmail 3. Force service check of sendmail server 4. Watch log Below are the log messages I receive. *comment* below you can see from my restart-sendmail the various commands I have tried echo -n "Restarting Sendmail service (3rd soft critical state)..." # Call the init script to restart the sendmail server sudo /etc/rc.d/init.d/sendmail restart # sudo /etc/rc.d/init.d/sendmail stop # sleep 5 # sudo /etc/rc.d/init.d/sendmail start ;; esac /var/log/messages Sep 20 08:49:49 localhost nagios: SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host Sep 20 08:49:49 localhost nagios: SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail Sep 20 08:49:49 localhost sendmail: sendmail shutdown failed *comment* note nagios ran the restart-sendmail, but stopped running it after the sendmail stop command failed. /var/log/secure Sep 20 08:49:49 localhost sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/rc.d/init.d/sendmail restart /var/log/nagios/nagios.log [1032533378] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;ACTIVE;SMTP;1032533377 [1032533389] SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host [1032533389] SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail *comment* Example of running command outside of nagios eventhandler [root at tux1 log]# su nagios [nagios at tux1 log]$ sudo /etc/rc.d/init.d/sendmail restart Shutting down sendmail: [FAILED] Starting sendmail: [ OK ] [nagios at tux1 log]$ /etc/sudoers nagios ALL = (root) NOPASSWD: /etc/rc.d/init.d/sendmail Tony |---------+--------------------------------> | | "Jolet, John" | | | | | | | | | 09/20/2002 09:59 AM | | | | |---------+--------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: "'twebster at daksoft.com'" | | cc: | | Subject: RE: [Nagios-users] Eventhandlers and SUDO | >------------------------------------------------------------------------------------------------------------------------------| well, have you tried "nagios ALL=(root) /etc/rc.d/init.d/sendmail" ? -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Friday, September 20, 2002 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Eventhandlers and SUDO I am setting up a clustering system using the Heartbeat project. I have configured the distributed monitoring on each system, and the Master (active) server sends results back to our Central Nagios server via the send_nsca script, works great. My problem, when Nagios detects either a problem with httpd, sendmail, named or ftp, I calling an EventHandler called resetart-httpd, restart-sendmail, restart-named, restart-xinetd, respectively. I have use the standard restart-httpd available in the Nagios installation for my "template" eventhandler script. In addition, I for each of the restart command I appended a sudo to the beginning of the line so my restart command looks like sudo /etc/rc.d/init.d/httpd restart I have tried multiple /etc/sudoers configs but the service is never able to restart, I have included several variations that I have tried. nagios localhost = NOPASSWD: /etc/rc.d/init.d/sendmail nagios localhost = (ALL) NOPASSWD: ALL nagios ALL = NOPASSWD: ALL One thing I notice, the sendmail will complet the STOP correctly but will not perform the Start of the service. When I execute restart-sendmail CRITICAL SOFT 3 from the command line as the Nagios user, Sendmail, stops, fails and then starts up fine. But when Nagios runs the restart-sendmail it fails at the STOP everytime, note I have manually caused sendmail to stop and am trying to run restart. Has anyone used SUDO for this purpose? Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jason.Ahrens at telus.com Fri Sep 20 20:50:12 2002 From: Jason.Ahrens at telus.com (Jason Ahrens) Date: Fri, 20 Sep 2002 12:50:12 -0600 Subject: Nagios 1.0b6 not stable on sun Message-ID: <853ED27B8537D611AD1000508BAFBB118202C1@ONMSG001> I don't even know if FreeBSD runs on Solaris systems. Our master (the one that keeps dying) is a Sun Solaris system on an E420. Jason -- Jason Ahrens, Hosting Analyst TELUS Enterprise Solutions http://www.telus.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, September 19, 2002 10:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] realistic system requirements and capacity Hmm. I don't know FreeBSD well enough to offer expert opinion, but you might want to investigate tuning the o/s itself. Possibly there's some sort of buffer overflow happening...? Speculating wildly.... Time to pull out all the stops on tuning the o/s. You might also want to do a truss or strace or whatever the FreeBSD equivalent is on the master Nagios process, logging it all to a file. Something to dissect the next time it abends. If it's even an option, why not burn in a system with Linux and configure that as your master? If nothing else, you've eliminated FreeBSD as the possible culprit. Yet another option would be Solaris on Intel. If that's your cuppa tea. jc > -----Original Message----- > From: Jason Ahrens [mailto:Jason.Ahrens at telus.com] > Sent: Thursday, September 19, 2002 7:49 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] realistic system requirements and capacity > > > We have ~3000 service checks in our system. We use a > distributed model with > 4 FreeBSD Intel boxes doing the actual checks, and a Sun > Solaris system > (E420, 3CPU, 4GB memory) collecting all the results and paging. > > This configuration works well, when it works. Unfortunately > Nagios seems to > have a stability problem on the "master" system and dies > frequently. We > upgraded a day or two ago to 1.0b6 hoping for stability > improvements but > those hopes were not realized. Different systems produce the > same result so > I doubt it's hardware related. As yet, we've been unable to > track down *why* > nagios is crashing and we're having a harder and harder time > convincing > those in power to stick with it. They're starting to look at > other options. > > Does anyone know what might be causing our instability here, > or how it might > be fixed? It seems to die while processing all the external > returns from the > farmed out checks. The last lines in the log file are always > something like > this: > > [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > [1031774837] Caught SIGSEGV, shutting down... > > Jason > > -- > Jason Ahrens, System Analyst > TELUS Enterprise Solutions > http://www.telus.com > > > -----Original Message----- > From: ffejes at sears.com [mailto:ffejes at sears.com] > Sent: Thursday, September 19, 2002 8:13 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] realistic system requirements and capacity > > > > Hello. Our Nagios 1.0b4 system currently has ~250 hosts and > ~350 services. > We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU > and 128MB > RAM. This machine is also serving HTTP, FTP, and SMB. > Lately the load > average has been hovering around 0.1 and the cpu is virtually > idle most of > the time. I have not fully investigated distributed servers > and, for the > moment, simply have a smaller sparc linux machine serving as > a hot standby. > > Hope this info helps. > > --frank > > > > > > George Miscioscia > > "Nagios-Users (E-mail)" > r.com> cc: > > Sent by: Subject: > [Nagios-users] realistic system requirements and capacity > nagios-users-admin at lists.sourc > > eforge.net > > > > > > 09/18/2002 10:59 AM > > > > > > > > > > To any and all experienced nagios users, what system > requirements would you > recommend to run a Nagios install at full capacity, and what would you > consider full capacity before impementing distributed > servers? I.E., how > many checks would you recommend one server perform? > > thanks, > > George Miscioscia > Manager, Internet Systems > Ticketmaster/Citysearch > office (213)739-3521 > cell (310)902-6743 > > > > ------------------------------------------------------- > This SF.NET email is 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jason.Ahrens at telus.com Fri Sep 20 20:52:25 2002 From: Jason.Ahrens at telus.com (Jason Ahrens) Date: Fri, 20 Sep 2002 12:52:25 -0600 Subject: realistic system requirements and capacity Message-ID: <853ED27B8537D611AD1000508BAFBB118202C2@ONMSG001> I'd be hesitant to suspect that. 98% or more of the checks are being done by other systems. The point where Nagios dies is when processing a large amount of data from the external command pipe. I don't know if it would happen without the large influx of data, but a sigsegv seems to suggest some form of issue with Solaris. Jason -- Jason Ahrens, Hosting Analyst TELUS Enterprise Solutions http://www.telus.com -----Original Message----- From: ffejes at sears.com [mailto:ffejes at sears.com] Sent: Thursday, September 19, 2002 10:29 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] realistic system requirements and capacity Out of curiosity, have you tried running your Nagios master service on another platform like Linux or, like your other systems, FreeBSD? I wonder if you're looking at a file descriptor limit or something similar. --frank "Jason Ahrens" To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sourc Subject: RE: [Nagios-users] realistic system requirements and eforge.net capacity 09/19/2002 07:49 AM We have ~3000 service checks in our system. We use a distributed model with 4 FreeBSD Intel boxes doing the actual checks, and a Sun Solaris system (E420, 3CPU, 4GB memory) collecting all the results and paging. This configuration works well, when it works. Unfortunately Nagios seems to have a stability problem on the "master" system and dies frequently. We upgraded a day or two ago to 1.0b6 hoping for stability improvements but those hopes were not realized. Different systems produce the same result so I doubt it's hardware related. As yet, we've been unable to track down *why* nagios is crashing and we're having a harder and harder time convincing those in power to stick with it. They're starting to look at other options. Does anyone know what might be causing our instability here, or how it might be fixed? It seems to die while processing all the external returns from the farmed out checks. The last lines in the log file are always something like this: [1031774837] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1031774837] Caught SIGSEGV, shutting down... Jason -- Jason Ahrens, System Analyst TELUS Enterprise Solutions http://www.telus.com -----Original Message----- From: ffejes at sears.com [mailto:ffejes at sears.com] Sent: Thursday, September 19, 2002 8:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] realistic system requirements and capacity Hello. Our Nagios 1.0b4 system currently has ~250 hosts and ~350 services. We are running on a NetBSD 1.5.2 server with a PII/400MHz CPU and 128MB RAM. This machine is also serving HTTP, FTP, and SMB. Lately the load average has been hovering around 0.1 and the cpu is virtually idle most of the time. I have not fully investigated distributed servers and, for the moment, simply have a smaller sparc linux machine serving as a hot standby. Hope this info helps. --frank George Miscioscia r.com> cc: Sent by: Subject: [Nagios-users] realistic system requirements and capacity nagios-users-admin at lists.sourc eforge.net 09/18/2002 10:59 AM To any and all experienced nagios users, what system requirements would you recommend to run a Nagios install at full capacity, and what would you consider full capacity before impementing distributed servers? I.E., how many checks would you recommend one server perform? thanks, George Miscioscia Manager, Internet Systems Ticketmaster/Citysearch office (213)739-3521 cell (310)902-6743 ------------------------------------------------------- This SF.NET email is 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jjf at mind.net Fri Sep 20 21:00:21 2002 From: jjf at mind.net (John Fox) Date: Fri, 20 Sep 2002 12:00:21 -0700 Subject: Confusion re: std. check_disk plugin Message-ID: <20020920120021.B63898@mind.net> Hello, Folks, Confusion once again reigns. I'm fiddling with the check_disk plugin and find myself baffled. For purposes of testing, I wanted to have 50% disk space utilization cause a 'warning' state, and 55% utilization cause a 'critical' state. However, I appear to be doing something incorrectly: | $ plugins/check_disk -w 50% -c 55% -p / | INPUT ERROR: C_DFP (55.000000) should be less than W_DFP (50.000000) and \ | both should be between zero and 100 percent, inclusive Warning percentage, it seems to me, should be lower than critical percentage, and these comments from the source code appear to bear that thought out: | * $Id: check_disk.c,v 1.2 2002/06/06 04:15:49 sghosh Exp $ | * | * Description: | * | * This plugin will use the /bin/df command to check the free space on | * currently mounted filesystems. If the percent used disk space is | * above , a STATE_CRITICAL is returned. If the percent used | * disk space is above , a STATE_WARNING is returned. I suspect I'm being a dummy, but have no idea what concept I'm failing to grasp. Any advice would be helpful and appreciated. Thanks in advance, John -- +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmusone at shatterit.com Fri Sep 20 21:10:21 2002 From: mmusone at shatterit.com (Mark Musone) Date: Fri, 20 Sep 2002 15:10:21 -0400 Subject: Confusion re: std. check_disk plugin In-Reply-To: <20020920120021.B63898@mind.net> References: <20020920120021.B63898@mind.net> Message-ID: <000001c260d9$5e50ab70$0a01a8c0@office> I believe the check_disk does it's warning calculations on disk FREE, not disk utilization.. So for your need, you want -w 50% -c 45% -Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Fox Sent: Friday, September 20, 2002 3:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Confusion re: std. check_disk plugin Hello, Folks, Confusion once again reigns. I'm fiddling with the check_disk plugin and find myself baffled. For purposes of testing, I wanted to have 50% disk space utilization cause a 'warning' state, and 55% utilization cause a 'critical' state. However, I appear to be doing something incorrectly: | $ plugins/check_disk -w 50% -c 55% -p / | INPUT ERROR: C_DFP (55.000000) should be less than W_DFP (50.000000) | and \ both should be between zero and 100 percent, inclusive Warning percentage, it seems to me, should be lower than critical percentage, and these comments from the source code appear to bear that thought out: | * $Id: check_disk.c,v 1.2 2002/06/06 04:15:49 sghosh Exp $ | * | * Description: | * | * This plugin will use the /bin/df command to check the free space on | * currently mounted filesystems. If the percent used disk space is | * above , a STATE_CRITICAL is returned. If the percent used | * disk space is above , a STATE_WARNING is returned. I suspect I'm being a dummy, but have no idea what concept I'm failing to grasp. Any advice would be helpful and appreciated. Thanks in advance, John -- +----------------------------------------------------------------------- ----+ | John Fox | System Administrator | Internet Ventures | Oregon | +----------------------------------------------------------------------- ----+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +----------------------------------------------------------------------- ----+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jarbas.peixoto at go.previdenciasocial.gov.br Fri Sep 20 21:05:30 2002 From: jarbas.peixoto at go.previdenciasocial.gov.br (Jarbas Peixoto Junior - DATAPREVGO) Date: Fri, 20 Sep 2002 16:05:30 -0300 Subject: Problem with Nagios & MySQL Message-ID: When I install NAGIOS without using MySQL everything it usually works. Trying to install with the support to MySQL obtains: [root at lxgod002 nagios-1.0b6] #it configure --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime .... * * * Configuration summary for nagios 1.0b6 09-15-2002 * * *: General Options: ------------------------- Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: in the Install ${prefix}: /usr/local/nagios Lock cribs: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios / CGI URL: http://localhost/nagios/cgi-bin / TRACEROUTE (USED BY WAP): /USR/SBIN/TRACEROUTE External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Database (MySQL) Downtime data: Database (MySQL) Retention data: Database (MySQL) Peformance data: Default (external commands) Extended info data: Database (MySQL) Review the options above for accuracy. If they look okay, type ' make all' to compile the main program and CGIs. [root at lxgod002 nagios-1.0b6] # [root at lxgod002 nagios-1.0b6] #make all [root at lxgod002 nagios-1.0b6] #make install [root at lxgod002 nagios-1.0b6] #make install-init [root at lxgod002 nagios-1.0b6] #make install-commandmode [root at lxgod002 nagios-1.0b6] #make install-config [root at lxgod002 nagios-1.0b6] #cd . . . [root at lxgod002 init.d] #. /nagios start Starting network monitor: nagios PID TTY TIME CMD 7349? 00:00:00 nagios [root at lxgod002 init.d] # Everything was accomplished following the constant orientations in the manuals, however in the file /usr/local/nagios/var/nagios.log have: [1032541538] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1032541538] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1032541538] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime it data! BD was already created (nagios) in MySQL, the tables were created following the contrib/database/create_mysql, access was given to the user (nagios), and everything more. What can acontecento be? I point out that without MySQL everything usually works. Forced to all by any idea! _ ______________________________ _ / )| Jarbas Peixoto J?nior |( \ / / | Analista T?c. Informa??o | \ \ _( (_ | _ (0xx62) 501-2245 _ | _) )_ (((\ \)|_/ )______________________( \_|(/ /))) (\ \ \_/ / \ \_/ ////) \ \\ / Linuxuser: 198445 \ // / \ _/ \_ / / / Dataprev - Goi?nia - BRASIL \ \ /___/ ??? \___\ (o o) -----------------------------oOO-(_)-OOo----------------------------- Eu ap?io o Software Livre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Sep 20 21:25:27 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 20 Sep 2002 14:25:27 -0500 Subject: Host Group Notifications - Possible display suppression? Message-ID: Looks like host escalations will do the trick. Although I won't truly be using them for escalation, they obviously allow the flexibility to notify on an individual host or service basis, without adding extra, undesired hostgroups. I have not gotten to the stage of implementing any type of escalation policy, so I have not reviewed escalations or considered them in terms of a workaround solution for this problem. Thanks for the idea Darren. Nolan >>> Darren Gamble 09/19/02 03:54PM >>> Good day, > The problem I have is how to handle notifications for devices that > belong to another department. I only want the department admins to > receive specific notifications for their devices. As such, I > can't just > simply add them as a contact groups for the overall host group of > NetWare servers (for example). I understand I can create additional > host groups and assign the hosts to more than one group. > > But... if I go that route, I will then have a whole range of host > groups displayed on each console. I am happy with my major groupings > and don't want to clutter the console with individual department > groupings as well. Alas, that's probably the best way to do it, which is similar to what I do. If you don't want the host groups to clutter up your display, you may want to prefix the name of your host groups in a way that makes them appear together (i.e. your "host type" host groups first and then your "the same people admin us" groups second) . I don't believe there is any way to suppress the display of a group outright. Feature request? It probably won't be too hard to code yourself. Alternatively, if your server admins never need access to the .cgi programs (i.e. they only care about the e-mail notifications), you could instead leave your groups as they are, and instead use host and service escalations to independently control who's notified for what. Check the docco for more information on those. ============================ 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 hchu at fxcm.com Fri Sep 20 21:25:46 2002 From: hchu at fxcm.com (hchu at fxcm.com) Date: Fri, 20 Sep 2002 15:25:46 -0400 Subject: Scheduling downtime extremely slow Message-ID: <1032549946.3d8b763aaf08a@imap.fxcm.com> Hi, I'm having a problem with scheduling downtime for hosts. When scheduling downtime for the first time after a Nagios restart, the cgi takes several minutes to complete the request and give the confirmation. Subsequent downtime scheduling is extremely quick and completes in under a second. Is there a reason why the initial scheduling is so slow? Is this normal behavior? If not, has anyone else had this problem? Thanks in advance. Forex Capital Markets LLC 11 Broadway, 13th Floor New York, NY 10004 Tel (212) 897-7660 Fax (212) 897-7669 ________________________________________________________________________________ FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or omissions in these materials. FXCM, L.L.C.? does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. FXCM, L.L.C.? shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation losses, lost revenues, or lost profits that may result from these materials. All information contained in this e-mail is strictly confidential and is only intended for use by the recipient. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Fri Sep 20 21:51:40 2002 From: mpowell at ena.com (Marc Powell) Date: Fri, 20 Sep 2002 14:51:40 -0500 Subject: Problem with Nagios & MySQL Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F712DB@mismail.ena.com> Did you make the appropriate changes to resource.cfg and cgi.cfg? Marc > -----Original Message----- > From: Jarbas Peixoto Junior - DATAPREVGO > [mailto:jarbas.peixoto at go.previdenciasocial.gov.br] > Sent: Friday, September 20, 2002 2:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with Nagios & MySQL > > When I install NAGIOS without using MySQL everything it usually works. > Trying to install with the support to MySQL obtains: > > [root at lxgod002 nagios-1.0b6] #it configure --with-mysql-comments > --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime > .... > * * * Configuration summary for nagios 1.0b6 09-15-2002 * * *: > > General Options: > ------------------------- > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: in the > Install ${prefix}: /usr/local/nagios > Lock cribs: ${prefix}/var/nagios.lock > Init directory: /etc/rc.d/init.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios / > CGI URL: http://localhost/nagios/cgi-bin / > TRACEROUTE (USED BY WAP): /USR/SBIN/TRACEROUTE > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Database (MySQL) > Downtime data: Database (MySQL) > Retention data: Database (MySQL) > Peformance data: Default (external commands) > Extended info data: Database (MySQL) > > > Review the options above for accuracy. If they look okay, > type ' make all' to compile the main program and CGIs. > > [root at lxgod002 nagios-1.0b6] # > [root at lxgod002 nagios-1.0b6] #make all > [root at lxgod002 nagios-1.0b6] #make install > [root at lxgod002 nagios-1.0b6] #make install-init > [root at lxgod002 nagios-1.0b6] #make install-commandmode > [root at lxgod002 nagios-1.0b6] #make install-config > [root at lxgod002 nagios-1.0b6] #cd > . > . > . > [root at lxgod002 init.d] #. /nagios start > Starting network monitor: nagios > PID TTY TIME CMD > 7349? 00:00:00 nagios > [root at lxgod002 init.d] # > > Everything was accomplished following the constant orientations in the > manuals, however in the file > /usr/local/nagios/var/nagios.log have: > > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password ''. Retention data will not be processed or > saved! > > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password '' for comment data! > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password '' for downtime it data! > > BD was already created (nagios) in MySQL, the tables were created > following > the contrib/database/create_mysql, access was given to the user (nagios), > and everything more. > > What can acontecento be? > I point out that without MySQL everything usually works. > > Forced to all by any idea! > > _ ______________________________ _ > / )| Jarbas Peixoto J?nior |( \ > / / | Analista T?c. Informa??o | \ \ > _( (_ | _ (0xx62) 501-2245 _ | _) )_ > (((\ \)|_/ )______________________( \_|(/ /))) > (\ \ \_/ / \ \_/ ////) > \ \\ / Linuxuser: 198445 \ // / > \ _/ \_ / > / / Dataprev - Goi?nia - BRASIL \ \ > /___/ ??? \___\ > (o o) > -----------------------------oOO-(_)-OOo----------------------------- > Eu ap?io o Software Livre > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Fri Sep 20 22:13:36 2002 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 20 Sep 2002 16:13:36 -0400 Subject: Status Log Data and two small questions Message-ID: <3D8B8170.6040607@quadrix.com> I've been working on a plugin where I need to know the exact structure of the status.log file, as in what each ;-delimited value stands for. So I went into the code and found out, and I figured it would be a good reference to share with the list. It could come in very handy for debugging, plugin development, custom CGI's, etc. So here is a list of what the status.log actually means. I attached it as a text file and printed it out at the bottom of the email. If I have the time to write a Perl function that can easily grab data from a line of the status log (like representing the line as a hash), I'll email that to the list as well. I noticed two fields that I'm curious about. There is a failure_prediction_enabled setting for hosts and services. Is this something that was going to be created but hasn't yet and the hook for the status log is there, or is there any failure prediction occurring? Also, the field that says if something is in downtime is called the scheduled_downtime_depth. Can this be something other than 0 or 1? How is downtime depth determined? Thanks, and here is the list of values: -Russell Host Lines: [Time of last update] HOST; Host Name (string); Status (OK/DOWN/UNREACHABLE); Last Check Time (long time); Last State Change (long time); Acknowledged (0/1); Time Up (long time); Time Down (long time); Time Unreachable (long time); Last Notification Time (long time); Current Notification Number (#); Notifications Enabled (0/1); Event Handlers Enabled (0/1); Checks Enabled (0/1); Flap Detection Enabled (0/1); Host is Flapping (0/1); Percent State Change (###.##); Scheduled downtime depth (# - 0/1 ???); Failure Prediction Enabled (0/1); Process Performance Data(0/1); Plugin Output (string) Service Lines: [Time of last update] SERVICE; Host Name (string); Service Description (string); Status (OK/WARNING/CRITICAL/UNKNOWN); Retry number (#/#); State Type (SOFT/HARD); Last check time (long time); Next check time (long time); Check type (ACTIVE/PASSIVE); Checks enabled (0/1); Accept Passive Checks (0/1); Event Handlers Enabled (0/1); Last state change (long time); Problem acknowledged (0/1); Last Hard State (OK/WARNING/CRITICAL/UNKNOWN); Time OK (long time); Time Unknown (long time); Time Warning (long time); Time Critical (long time); Last Notification Time (long time); Current Notification Number (#); Notifications Enabled (0/1); Latency (#); Execution Time (#); Flap Detection Enabled (0/1); Service is Flapping (0/1); Percent State Change (###.##); Scheduled Downtime Depth (# - 0/1 ???); Failure Prediction Enabled (0/1 ???); Process Performance Date (0/1); Obsess Over Service (0/1); Plugin Output (string) Program line (second line of log): [Current Time] PROGRAM; Program Start Time (long time); Nagios PID (#); Daemon Mode (0/1); Last Command Check (long time); Last Log Rotation (long time); Notifications Enabled (0/1); Execute Service Checks (0/1); Accept Passive Service Checks (0/1); Enable Event Handlers (0/1); Obsess Over Services (0/1); Enable Flap Detection (0/1); Enable Failure Prediction (0/1 ???); Process Performance Data (0/1) -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: logfields.txt URL: From Richard.Wu at fusepoint.com Fri Sep 20 22:27:01 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Fri, 20 Sep 2002 13:27:01 -0700 Subject: plugin to check oracle query result Message-ID: <77F055FA968580429F4546414D8C10E70C2F40@s102b.rhcci.net> Hi, Want to have a plugin to check oracle query result, i.e. "select proc() from dual" and then OK if return 0 ,Warning if return 1, etc. Does anyone already have such a plugin ? Thanks, Richard Wu Email:richard.wu at fusepoint.com Web : www.fusepoint.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bryan at integrity.com Thu Sep 19 05:48:42 2002 From: bryan at integrity.com (Bryan Irvine) Date: 18 Sep 2002 20:48:42 -0700 Subject: install help Message-ID: <1032407322.3036.78.camel@bryan> I'm trying to install nagios. I've gotten as far as testing the web interface (after setting up apache and the htaccess file and creating a passwrod, and restarting the whole machine (i like to do a restart just to make sure configs are going to work if the power goes out, ive had changes that were done months before come out when a restart happened) i get a ============ Forbidden You don't have permission to access /nagios/cgi-bin/tac.cgi on this server. Apache-AdvancedExtranetServer/1.3.26 Server at 192.233.100.178 Port 80 =========== the documentation says the cgi's should be blank until i've added hosts... anyone know what's going on here? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From e!mullin at Confi-chek.com Fri Sep 20 23:39:30 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Fri, 20 Sep 2002 14:39:30 -0700 Subject: install help Message-ID: At first looks this would sound like you have all the variables and the server is failing on an unexpected note. However here are a few tests that might help determine the issue. First off try to figure what the file calls (within itself as resources to make it work). Also if more than one file within this one directory, check the other files independently to determine if they are available to. You might have a virtual server configuration issue, and everything from a files perspective looks right but not the server's perspective. If you only have the one file or there are multiples that cause the same problem try adding a test.html file and see if the web server will serve it up. Admittedly my suggestions are based on a troubleshooting method I use for similar but not the exact same problem you're having. If you come across the solution for your problem in any fashion could you let the rest of us know what was done and how you found the fix? Erik Mullinix -----Original Message----- From: Bryan Irvine [mailto:bryan at integrity.com] Sent: Wednesday, September 18, 2002 9:28 PM To: Erik N. Mullinix Subject: RE: [Nagios-users] install help On Fri, 2002-09-20 at 14:23, Erik N. Mullinix wrote: > Hello. > Have you checked to see if this file exists on the server? yes it's there... > Have you checked to make sure the file and or directory has access via > the Apache approved user? (what user is used for allowing access to a > web page.) Yes I've checked that also, I've also tried setting the user/group to apache:apache > Also have you checked to make sure the file permissions are accurate for > use via web services? yup chmod 755 * > > Erik Mullinix > > -----Original Message----- > From: Bryan Irvine [mailto:bryan at integrity.com] > Sent: Wednesday, September 18, 2002 8:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] install help > > I'm trying to install nagios. I've gotten as far as testing the web > interface (after setting up apache and the htaccess file and creating a > passwrod, and restarting the whole machine > > (i like to do a restart just to make sure configs are going to work if > the power goes out, ive had changes that were done months before come > out when a restart happened) > > i get a > ============ > Forbidden > You don't have permission to access /nagios/cgi-bin/tac.cgi on this > server. > > Apache-AdvancedExtranetServer/1.3.26 Server at 192.233.100.178 Port 80 > =========== > the documentation says the cgi's should be blank until i've added > hosts... > anyone know what's going on here? > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Sep 20 23:56:54 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 20 Sep 2002 16:56:54 -0500 Subject: Host Group Notifications - Possible displaysuppression? Message-ID: Well, the host escalation work around is not working exactly as I expected. I configured a separate department admin and associated group. I created a host escalation configuration for a test server and assigned the corresponding department admin as the contact group under contact_groups and configured it for a first_notification of 1 (since I want them to be notified along with our administrators upon the first instance of a host down event). What I found is this. After implementing the host escalation, notifications processed fine for the department admin, but not for administrators on my side (doing a simulated host down event). However, when I disable the escalation for that test server and then simulate a down event, the notifications resume again for administrators on my side. I understand that I am using escalations in a non-traditional sense, in that the first_notification would typically be greater than 1. However, I did not expect (based on the documentation at hand) that setting it to 1 would basically hijack other notifications. Nolan >>> "Nolan Martin" 09/20/02 02:25PM >>> Looks like host escalations will do the trick. Although I won't truly be using them for escalation, they obviously allow the flexibility to notify on an individual host or service basis, without adding extra, undesired hostgroups. I have not gotten to the stage of implementing any type of escalation policy, so I have not reviewed escalations or considered them in terms of a workaround solution for this problem. Thanks for the idea Darren. Nolan >>> Darren Gamble 09/19/02 03:54PM >>> Good day, > The problem I have is how to handle notifications for devices that > belong to another department. I only want the department admins to > receive specific notifications for their devices. As such, I > can't just > simply add them as a contact groups for the overall host group of > NetWare servers (for example). I understand I can create additional > host groups and assign the hosts to more than one group. > > But... if I go that route, I will then have a whole range of host > groups displayed on each console. I am happy with my major groupings > and don't want to clutter the console with individual department > groupings as well. Alas, that's probably the best way to do it, which is similar to what I do. If you don't want the host groups to clutter up your display, you may want to prefix the name of your host groups in a way that makes them appear together (i.e. your "host type" host groups first and then your "the same people admin us" groups second) . I don't believe there is any way to suppress the display of a group outright. Feature request? It probably won't be too hard to code yourself. Alternatively, if your server admins never need access to the .cgi programs (i.e. they only care about the e-mail notifications), you could instead leave your groups as they are, and instead use host and service escalations to independently control who's notified for what. Check the docco for more information on those. ============================ 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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bryan at integrity.com Thu Sep 19 07:15:03 2002 From: bryan at integrity.com (Bryan Irvine) Date: 18 Sep 2002 22:15:03 -0700 Subject: install help In-Reply-To: References: Message-ID: <1032412504.3036.110.camel@bryan> Ok I found the problem. I was missing a "/" in the httpd.conf file where the link is established to the cgi directory...ooops that did it though *yay* Something so innocent looking makes a huge difference. Thanks for your help though! Bryan On Fri, 2002-09-20 at 14:39, Erik N. Mullinix wrote: > At first looks this would sound like you have all the variables and the > server is failing on an unexpected note. However here are a few tests > that might help determine the issue. > First off try to figure what the file calls (within itself as resources > to make it work). Also if more than one file within this one directory, > check the other files independently to determine if they are available > to. You might have a virtual server configuration issue, and everything > from a files perspective looks right but not the server's perspective. > If you only have the one file or there are multiples that cause the same > problem try adding a test.html file and see if the web server will serve > it up. > > Admittedly my suggestions are based on a troubleshooting method I use > for similar but not the exact same problem you're having. If you come > across the solution for your problem in any fashion could you let the > rest of us know what was done and how you found the fix? > > Erik Mullinix > > -----Original Message----- > From: Bryan Irvine [mailto:bryan at integrity.com] > Sent: Wednesday, September 18, 2002 9:28 PM > To: Erik N. Mullinix > Subject: RE: [Nagios-users] install help > > On Fri, 2002-09-20 at 14:23, Erik N. Mullinix wrote: > > Hello. > > Have you checked to see if this file exists on the server? > yes it's there... > > Have you checked to make sure the file and or directory has access via > > the Apache approved user? (what user is used for allowing access to a > > web page.) > Yes I've checked that also, I've also tried setting the user/group to > apache:apache > > Also have you checked to make sure the file permissions are accurate > for > > use via web services? > yup chmod 755 * > > > > > > Erik Mullinix > > > > -----Original Message----- > > From: Bryan Irvine [mailto:bryan at integrity.com] > > Sent: Wednesday, September 18, 2002 8:49 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] install help > > > > I'm trying to install nagios. I've gotten as far as testing the web > > interface (after setting up apache and the htaccess file and creating > a > > passwrod, and restarting the whole machine > > > > (i like to do a restart just to make sure configs are going to work if > > the power goes out, ive had changes that were done months before come > > out when a restart happened) > > > > i get a > > ============ > > Forbidden > > You don't have permission to access /nagios/cgi-bin/tac.cgi on this > > server. > > > > Apache-AdvancedExtranetServer/1.3.26 Server at 192.233.100.178 Port 80 > > =========== > > the documentation says the cgi's should be blank until i've added > > hosts... > > anyone know what's going on here? > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From galimore at mac.com Sat Sep 21 00:45:44 2002 From: galimore at mac.com (Terry Simons) Date: Fri, 20 Sep 2002 16:45:44 -0600 Subject: Scheduling downtime extremely slow In-Reply-To: <1032549946.3d8b763aaf08a@imap.fxcm.com> References: <1032549946.3d8b763aaf08a@imap.fxcm.com> Message-ID: I've seen something similar, but I don't know what causes it. I haven't had the problem for a while... What version of nagios are you using? -Terry On Friday, September 20, 2002, at 01:25 PM, hchu at fxcm.com wrote: > Hi, > > I'm having a problem with scheduling downtime for hosts. When > scheduling > downtime for the first time after a Nagios restart, the cgi takes > several > minutes to complete the request and give the confirmation. Subsequent > downtime > scheduling is extremely quick and completes in under a second. Is > there a > reason why the initial scheduling is so slow? Is this normal behavior? > If not, > has anyone else had this problem? > > Thanks in advance. > > > > Forex Capital Markets LLC > 11 Broadway, 13th Floor New York, NY 10004 > Tel (212) 897-7660 Fax (212) 897-7669 > _______________________________________________________________________ > _________ > FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or > omissions > in these materials. FXCM, L.L.C.? does not warrant the accuracy or > completeness of the information, text, graphics, links or other items > contained > within these materials. FXCM, L.L.C.? shall not be liable for any > special, > indirect, incidental, or consequential damages, including without > limitation > losses, lost revenues, or lost profits that may result from these > materials. > All information contained in this e-mail is strictly confidential and > is only > intended for use by the recipient. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From lists at sancho2k.net Sat Sep 21 03:25:22 2002 From: lists at sancho2k.net (Sancho2k Lists) Date: Fri, 20 Sep 2002 19:25:22 -0600 Subject: Scheduling downtime extremely slow References: Message-ID: <3D8BCA82.8020807@sancho2k.net> Terry Simons wrote: > I've seen something similar, but I don't know what causes it. > > I haven't had the problem for a while... > > What version of nagios are you using? > > -Terry > > > On Friday, September 20, 2002, at 01:25 PM, hchu at fxcm.com wrote: > >> Hi, >> >> I'm having a problem with scheduling downtime for hosts. When scheduling >> downtime for the first time after a Nagios restart, the cgi takes >> several >> minutes to complete the request and give the confirmation. Subsequent >> downtime >> scheduling is extremely quick and completes in under a second. Is >> there a >> reason why the initial scheduling is so slow? Is this normal >> behavior? If not, >> has anyone else had this problem? I had, but only under IE 5.5. Minimal testing under other browsers showed they didn't seem to be affected, but this may have been coincidal with subsequent requests. Darren >> >> Thanks in advance. >> >> >> >> Forex Capital Markets LLC >> 11 Broadway, 13th Floor New York, NY 10004 >> Tel (212) 897-7660 Fax (212) 897-7669 >> _______________________________________________________________________ >> _________ >> FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or >> omissions >> in these materials. FXCM, L.L.C.? does not warrant the accuracy or >> completeness of the information, text, graphics, links or other items >> contained >> within these materials. FXCM, L.L.C.? shall not be liable for any >> special, >> indirect, incidental, or consequential damages, including without >> limitation >> losses, lost revenues, or lost profits that may result from these >> materials. >> All information contained in this e-mail is strictly confidential and >> is only >> intended for use by the recipient. >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> 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 atul at mindsw.com Sat Sep 21 10:19:02 2002 From: atul at mindsw.com (Atul Gosain) Date: Sat, 21 Sep 2002 13:49:02 +0530 (IST) Subject: Service Problem Misrepresentation In-Reply-To: <00ab01c25fee$507dc4b0$df03010a@decode.is> References: <00ab01c25fee$507dc4b0$df03010a@decode.is> Message-ID: <1789.202.88.151.191.1032596342.squirrel@www.webyarn.com> Yes thats the problem which i was experiencing and i got the solution also from nagios community. Whenever you start your nagios daemon . Just make sure there are no nagios processes running at present. ie. kill all the nagios processes after stopping nagios daemon and then start the nagios daemon again. This should hopefully solve ur problem > Hello Everyone, > > I've recently upgraded to Nagios 1.06b and I've been experiencing > problems with the Service Problems section. It appears that in the > "Service Detail, everything seems to be accounted for correctly, but in > the Service Problems, its displaying old problems that have been > resolved. It appears as if they were never updated after having been > fully checked. Is anyone experiencing this? Thanks a lot! > > Jeff Bilder > > Network Manager > > deCODE Genetics, INC > > electro at subpar.net > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- 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 David.Deaves at dd.id.au Sun Sep 22 17:16:56 2002 From: David.Deaves at dd.id.au (David Deaves) Date: Mon, 23 Sep 2002 01:16:56 +1000 Subject: Nagios 1.0b6 not stable on sun In-Reply-To: Message from "Jason Ahrens" of "Fri, 20 Sep 2002 12:50:12 CST." <853ED27B8537D611AD1000508BAFBB118202C1@ONMSG001> References: Message-ID: <200209221516.BAA16060@rimmer.smeg.emu.id.au> I am intrigued by your issues. We have happily run nagios 1.02b, 1.04b and 1.05b on Solaris 2.6 on 2 different 420Rs with no problems. Have you played with MAX_PLUGINOUTPUT_LENGTH changing it from 352 ? Are you using files or MySQL database ? You may want to disable the capturing of SIGSEGV by commenting out that line in setup_sighandler in base/utils.c so that you can capture a core file. Dave ! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Mon Sep 23 01:08:06 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 23 Sep 2002 09:08:06 +1000 Subject: Dual NICs in a host Message-ID: <5.1.0.14.2.20020923090059.00a9e658@imap.qut.edu.au> Hi all, We have servers with dual NICs in them (up to four NICs for a few, on different subnets). I was wondering how I might be able to link them together so that in the 3D view, you can see the separate paths (via routers/switches) that are taken to the same host. 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 bliwanag at yahoo.com Mon Sep 23 05:43:00 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Sun, 22 Sep 2002 20:43:00 -0700 (PDT) Subject: How to increase the refresh rate of the nagios web site monitoring In-Reply-To: References: Message-ID: <20020923034300.85285.qmail@web40613.mail.yahoo.com> Hi to all i just want to ask how to increase the time for the refresh rate of the web site monitoring.Such that it wont check it every almost 2 minutes which is the default. Thanks! Bernie __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bliwanag at yahoo.com Mon Sep 23 08:42:06 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Sun, 22 Sep 2002 23:42:06 -0700 (PDT) Subject: Web Browsers refresh time in nagios In-Reply-To: <3D8ADEC2.1040902@picturesafe.de> References: <3D8ADEC2.1040902@picturesafe.de> Message-ID: <20020923064206.42882.qmail@web40607.mail.yahoo.com> Hi! Anybody can tell me how I can I change or adjust the refresh time for the web browser using currntly the nagios site? I want to delay the refresh time of the web browers currntly using the nagios monitoring link site. Thank you very much! Bernie __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Sep 23 09:28:22 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 23 Sep 2002 09:28:22 +0200 Subject: How to increase the refresh rate of the nagios web site monitoring Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802DD@storevis.datavis.se> Have you tried to change the variable 'refresh_rate' in cgi.cfg? /FredrikW -----Original Message----- From: bernie liwanag [mailto:bliwanag at yahoo.com] Sent: Mon 23-Sep-02 05:43 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] How to increase the refresh rate of the nagios web site monitoring Hi to all i just want to ask how to increase the time for the refresh rate of the web site monitoring.Such that it wont check it every almost 2 minutes which is the default. Thanks! Bernie __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From macky at macky.co.uk Mon Sep 23 09:47:41 2002 From: macky at macky.co.uk (Macky) Date: Mon, 23 Sep 2002 08:47:41 +0100 Subject: Dual NICs in a host In-Reply-To: <5.1.0.14.2.20020923090059.00a9e658@imap.qut.edu.au> References: <5.1.0.14.2.20020923090059.00a9e658@imap.qut.edu.au> Message-ID: <200209230847.41339.macky@macky.co.uk> To do this, I have created a host with no parents at 127.0.0.1 (localhost) and then shown 2 hosts with a parent of localhost. You can choose a different name than localhost though. Macky On Monday 23 Sep 2002 12:08 am, Greg Vickers wrote: > Hi all, > We have servers with dual NICs in them (up to four NICs for a few, on > different subnets). > I was wondering how I might be able to link them together so that in the 3D > view, you can see the separate paths (via routers/switches) that are taken > to the same host. > > 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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Sep 23 11:26:06 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 23 Sep 2002 11:26:06 +0200 Subject: Dual NICs in a host Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802EF@storevis.datavis.se> You can also specify more than one host as parent; define host { .. .. parents hosta,hostb } (Assuming you are using template-based configureation) /FredrikW -----Original Message----- From: Macky [mailto:macky at macky.co.uk] Sent: Mon 23-Sep-02 09:47 To: Greg Vickers; nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] Dual NICs in a host To do this, I have created a host with no parents at 127.0.0.1 (localhost) and then shown 2 hosts with a parent of localhost. You can choose a different name than localhost though. Macky On Monday 23 Sep 2002 12:08 am, Greg Vickers wrote: > Hi all, > We have servers with dual NICs in them (up to four NICs for a few, on > different subnets). > I was wondering how I might be able to link them together so that in the 3D > view, you can see the separate paths (via routers/switches) that are taken > to the same host. > > 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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Mon Sep 23 08:07:26 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 23 Sep 2002 16:07:26 +1000 Subject: Using nmblookup with smbclient to send winpopup messages Message-ID: <5.1.0.14.2.20020923155155.00afec98@imap.qut.edu.au> Hi all, Has anyone done this? I can't figure out how to get nmblookup to give me back the IP of the machine where a given user is logged in to. (i.e. I log in on the secretaries PC, which has a different IP from my usual machine, I will still get my winpopup messages) We don't have a WINS server on our domain controller, we have a enterprise-wide WINS server which obviously does not keep track of where a user is logged on in our domain. 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 bliwanag at yahoo.com Mon Sep 23 12:41:13 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Mon, 23 Sep 2002 03:41:13 -0700 (PDT) Subject: Additional inquiry on nagios check interval In-Reply-To: <9EA0F1554816EB499A4B1136B80E8DE27802DD@storevis.datavis.se> References: <9EA0F1554816EB499A4B1136B80E8DE27802DD@storevis.datavis.se> Message-ID: <20020923104113.18298.qmail@web40605.mail.yahoo.com> Thanks a lot fredrik. To all, I have addt'l inquiry regarding the check interval time of nagios. I want to know and change the configuration of the nagios regarding the time in which it will start the monitoring or checking of all the hosts and services.I want to setup my nagios such that it will start to check the hosts and services every 30 minutes or 1 hr. I have edited th nagios.cfg and changed the check_interval and freshness interval but it looks like it has still no effects. Thanks a lot! Bernie - Fredrik_W?nglund wrote: > Have you tried to change the variable 'refresh_rate' > in cgi.cfg? > > > /FredrikW > > > -----Original Message----- > From: bernie liwanag [mailto:bliwanag at yahoo.com] > Sent: Mon 23-Sep-02 05:43 > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] How to increase the refresh > rate of the nagios web site monitoring > > Hi to all > > i just want to ask how to increase the time for > the > refresh rate of the web site monitoring.Such that it > wont check it every almost 2 minutes which is the > default. > > Thanks! > Bernie > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jeff.verheyen at ampersant.be Mon Sep 23 12:53:08 2002 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: 23 Sep 2002 12:53:08 +0200 Subject: Web Browsers refresh time in nagios In-Reply-To: <20020923064206.42882.qmail@web40607.mail.yahoo.com> References: <20020923064206.42882.qmail@web40607.mail.yahoo.com> Message-ID: <1032778388.32699.24.camel@picard.enterprise.be> Change the line refresh_rate=120 in cgi.cgf to whatever you want. On Mon, 2002-09-23 at 08:42, bernie liwanag wrote: > Hi! > > Anybody can tell me how I can I change or adjust > the refresh time for the web browser using currntly > the nagios site? I want to delay the refresh time of > the web browers currntly using the nagios monitoring > link site. > > Thank you very much! > > > Bernie > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From anders.karlsson at arrowhead.se Mon Sep 23 13:20:25 2002 From: anders.karlsson at arrowhead.se (Anders Karlsson) Date: Mon, 23 Sep 2002 13:20:25 +0200 Subject: [Nagios-devel] plugin to check oracle query result In-Reply-To: <77F055FA968580429F4546414D8C10E70C2F40@s102b.rhcci.net> References: <77F055FA968580429F4546414D8C10E70C2F40@s102b.rhcci.net> Message-ID: <200209231320.25728.anders.karlsson@arrowhead.se> Hello! Can't you just make a small shell script ie snip #!/bin/sh oracle= query="SELECT proc() FROM dual;" val=$(`echo $query | $oracle`) if [ $val -eq 0 ]; then return 0; else return 1; fi exit; snip Rgrds Anders Karlsson fredagen den 20 september 2002 22.27 skrev Richard Wu: > Hi, > > Want to have a plugin to check oracle query result, i.e. "select proc() > from dual" and then OK if return 0 ,Warning if return 1, etc. Does anyone > already have such a plugin ? > > Thanks, > Richard Wu > Email:richard.wu at fusepoint.com > Web : www.fusepoint.com > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel -- Arrowhead AB anders.karlsson at arrowhead.se Have you hugged your firewall today? No spam, thanks. -------------------------------------------------------- Are you the police? . . . . No ma'am, we're sysadmins ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From shaavik at soc.lib.md.us Mon Sep 23 14:13:36 2002 From: shaavik at soc.lib.md.us (Steve Haavik) Date: Mon, 23 Sep 2002 08:13:36 -0400 (EDT) Subject: Nagios 1.0b6 not stable on sun In-Reply-To: <853ED27B8537D611AD1000508BAFBB118202C1@ONMSG001> References: <853ED27B8537D611AD1000508BAFBB118202C1@ONMSG001> Message-ID: I've been running 1.0b6 on a Netra X1 with Solaris 9 for a while. The only problem I've had is I messed up my apache (2.0.40) somehow and now apache keeps needing to be restarted after a while. For some reason the old threads don't seem to die off. But Nagios appears to work fine. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From felipe.martins at primesys.com.br Mon Sep 23 14:33:07 2002 From: felipe.martins at primesys.com.br (Felipe Martins) Date: Mon, 23 Sep 2002 09:33:07 -0300 Subject: RES: Router Monitoring Tool Message-ID: <4B9C5742BB8F8D4895316485C08165A2B59E39@brsaoex01.primesys.br> Hello Dear , Tks for mail me back . I think that you got what I want . I?m looking for a SNMP tool for network equipaments ( routers , switchs , etc ..) that can have the same functions as nagios ( reports , alerts , load monitor , each port of the switch with load of the port , etc ) anyway I want to monitor all resources that I can get from the equipament !! For example , Do you know any tool that can monitor the quantity of packet and the volume of the packets in a router ? Using the MRTG I got only the minimum or average or maximum information of the traffic and that is my problem , I need a tool that can give me a detailed information !! Do you know any tool that can help-me ? Tks a lot !! -----Mensagem original----- De: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Enviada em: quinta-feira, 19 de setembro de 2002 16:45 Para: Nagios-Users (E-mail) Assunto: RE: [Nagios-users] Router Monitoring Tool What exactly are you looking to monitor? If you want to monitor a router but aren't interested in the output that MRTG gives (that's how I'm interpreting what you mean by "don't give me a reponse that I want"), you'll need to look into some other sort of SNMP tool. Either that, or you'll end up hand-crafting any number of Expect scripts (with the telnet password encoded :P) to extract the data that you want. Again, what is it that you find lacking in MRTG? Are you looking for a tool which gives you up-to-the-second info? Are you looking for reports which you currently aren't getting (like CPU load on your router, for example)? Are you looking for e-mail/pager alerts (like the ones Nagios sends out)? Instead of making nebulous claims about what a given tool doesn't do, please make a (wish) list of things you want to see in a (dream) tool. jc > -----Original Message----- > From: Felipe Martins [mailto:felipe.martins at primesys.com.br] > Sent: Thursday, September 19, 2002 2:26 PM > To: Nagios-Users (E-mail) > Subject: [Nagios-users] Router Monitoring Tool > > > Hello All !!! > Do you know any nagios plugin or another tool to monitor > routers and other networks equipaments ? I need to monitor > network traffic and the operacional system of the equipament > , I had used the MRTG but it?s don?t give me a response that > I want , It?s can monitor only the traffic . > Can anyone help-me , please ? > Tks a lot !!! > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Kaufmanm at gtc.edu Mon Sep 23 14:53:09 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Mon, 23 Sep 2002 07:53:09 -0500 Subject: Looked, and Looked ,and a gallon of rum and i still don't know... .. Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D5B1@gtc.edu> I am having a problem that I can not seem to fix. The "old command file problem". I have looked back in the threads and only found one message from todd.jones at weirslurry.com with any similar problem, but I did not see a resolution. Nagios works fine, no problem if I run it from a command line. When I add it to init.d the external command file acts up. I get command file '/usr/local/nagios/var/rw/nagios.cmd' the external command file may be missing. The rights are: drwxrwsrwx 2 nagios nagiocmd 4096 Sep 20 12:16 . drwxrwxr-x 6 nagios nagiocmd 4096 Sep 23 07:21 .. prw-rw---- 1 nagios nagiocmd 0 Sep 20 12:16 nagios.cmd if anyone has any ideas please let me know... I can not afford much more rum... mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Mon Sep 23 15:05:02 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 23 Sep 2002 09:05:02 -0400 Subject: Looked, and Looked ,and a gallon of rum and i still don't know... .. Message-ID: Try: Stopping nagios if you managed to get it started (i'm guessing not); if it exists, rm nagios.cmd start nagios using /path-to-nagios/bin/nagios /path-to-nagios/etc/nagios.cfg; stop nagios using favourite method; start nagios using /etc/rc.d/init.d/nagios start hth, dean p.s. there should be more in the archives. i have seen this a couple times over the last few months. -----Original Message----- From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] Sent: Monday, September 23, 2002 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Looked, and Looked ,and a gallon of rum and i still don't know... .. I am having a problem that I can not seem to fix. The "old command file problem". I have looked back in the threads and only found one message from todd.jones at weirslurry.com with any similar problem, but I did not see a resolution. Nagios works fine, no problem if I run it from a command line. When I add it to init.d the external command file acts up. I get command file '/usr/local/nagios/var/rw/nagios.cmd' the external command file may be missing. The rights are: drwxrwsrwx 2 nagios nagiocmd 4096 Sep 20 12:16 . drwxrwxr-x 6 nagios nagiocmd 4096 Sep 23 07:21 .. prw-rw---- 1 nagios nagiocmd 0 Sep 20 12:16 nagios.cmd if anyone has any ideas please let me know... I can not afford much more rum... mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mag at ixif.com Mon Sep 23 15:49:02 2002 From: mag at ixif.com (Mark Gillett) Date: Mon, 23 Sep 2002 14:49:02 +0100 Subject: Problem with Nagios & MySQL In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301F712DB@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8301F712DB@mismail.ena.com> Message-ID: Hi , Did you create the databases from the scripts in the /xdata/contrib/ directory in the distribution ? Regards, Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Friday, September 20, 2002 8:52 PM To: Jarbas Peixoto Junior - DATAPREVGO; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problem with Nagios & MySQL Did you make the appropriate changes to resource.cfg and cgi.cfg? Marc > -----Original Message----- > From: Jarbas Peixoto Junior - DATAPREVGO > [mailto:jarbas.peixoto at go.previdenciasocial.gov.br] > Sent: Friday, September 20, 2002 2:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with Nagios & MySQL > > When I install NAGIOS without using MySQL everything it usually works. > Trying to install with the support to MySQL obtains: > > [root at lxgod002 nagios-1.0b6] #it configure --with-mysql-comments > --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime > .... > * * * Configuration summary for nagios 1.0b6 09-15-2002 * * *: > > General Options: > ------------------------- > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: in the > Install ${prefix}: /usr/local/nagios > Lock cribs: ${prefix}/var/nagios.lock > Init directory: /etc/rc.d/init.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios / > CGI URL: http://localhost/nagios/cgi-bin / > TRACEROUTE (USED BY WAP): /USR/SBIN/TRACEROUTE > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Database (MySQL) > Downtime data: Database (MySQL) > Retention data: Database (MySQL) > Peformance data: Default (external commands) > Extended info data: Database (MySQL) > > > Review the options above for accuracy. If they look okay, > type ' make all' to compile the main program and CGIs. > > [root at lxgod002 nagios-1.0b6] # > [root at lxgod002 nagios-1.0b6] #make all > [root at lxgod002 nagios-1.0b6] #make install > [root at lxgod002 nagios-1.0b6] #make install-init > [root at lxgod002 nagios-1.0b6] #make install-commandmode > [root at lxgod002 nagios-1.0b6] #make install-config > [root at lxgod002 nagios-1.0b6] #cd > . > . > . > [root at lxgod002 init.d] #. /nagios start > Starting network monitor: nagios > PID TTY TIME CMD > 7349? 00:00:00 nagios > [root at lxgod002 init.d] # > > Everything was accomplished following the constant orientations in the > manuals, however in the file > /usr/local/nagios/var/nagios.log have: > > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password ''. Retention data will not be processed or > saved! > > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password '' for comment data! > [1032541538] Error: Could not connect to MySQL database '' on host '' > using > username '' and password '' for downtime it data! > > BD was already created (nagios) in MySQL, the tables were created > following > the contrib/database/create_mysql, access was given to the user (nagios), > and everything more. > > What can acontecento be? > I point out that without MySQL everything usually works. > > Forced to all by any idea! > > _ ______________________________ _ > / )| Jarbas Peixoto J?nior |( \ > / / | Analista T?c. Informa??o | \ \ > _( (_ | _ (0xx62) 501-2245 _ | _) )_ > (((\ \)|_/ )______________________( \_|(/ /))) > (\ \ \_/ / \ \_/ ////) > \ \\ / Linuxuser: 198445 \ // / > \ _/ \_ / > / / Dataprev - Goi?nia - BRASIL \ \ > /___/ ??? \___\ > (o o) > -----------------------------oOO-(_)-OOo----------------------------- > Eu ap?io o Software Livre > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 Kaufmanm at gtc.edu Mon Sep 23 16:09:30 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Mon, 23 Sep 2002 09:09:30 -0500 Subject: Router Monitoring Tool Message-ID: <15694EEC92EA694B88AF7CF6EE8ACBE666D5B4@gtc.edu> try NMIS. i am still installing it but i think it will do what you ask. http://www.sins.com.au/nmis/ -----Original Message----- From: Felipe Martins To: Carroll, Jim P [Contractor]; Nagios-Users (E-mail) Sent: 9/23/02 7:33 AM Subject: RES: [Nagios-users] Router Monitoring Tool Hello Dear , Tks for mail me back . I think that you got what I want . I?m looking for a SNMP tool for network equipaments ( routers , switchs , etc ..) that can have the same functions as nagios ( reports , alerts , load monitor , each port of the switch with load of the port , etc ) anyway I want to monitor all resources that I can get from the equipament !! For example , Do you know any tool that can monitor the quantity of packet and the volume of the packets in a router ? Using the MRTG I got only the minimum or average or maximum information of the traffic and that is my problem , I need a tool that can give me a detailed information !! Do you know any tool that can help-me ? Tks a lot !! -----Mensagem original----- De: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Enviada em: quinta-feira, 19 de setembro de 2002 16:45 Para: Nagios-Users (E-mail) Assunto: RE: [Nagios-users] Router Monitoring Tool What exactly are you looking to monitor? If you want to monitor a router but aren't interested in the output that MRTG gives (that's how I'm interpreting what you mean by "don't give me a reponse that I want"), you'll need to look into some other sort of SNMP tool. Either that, or you'll end up hand-crafting any number of Expect scripts (with the telnet password encoded :P) to extract the data that you want. Again, what is it that you find lacking in MRTG? Are you looking for a tool which gives you up-to-the-second info? Are you looking for reports which you currently aren't getting (like CPU load on your router, for example)? Are you looking for e-mail/pager alerts (like the ones Nagios sends out)? Instead of making nebulous claims about what a given tool doesn't do, please make a (wish) list of things you want to see in a (dream) tool. jc > -----Original Message----- > From: Felipe Martins [mailto:felipe.martins at primesys.com.br] > Sent: Thursday, September 19, 2002 2:26 PM > To: Nagios-Users (E-mail) > Subject: [Nagios-users] Router Monitoring Tool > > > Hello All !!! > Do you know any nagios plugin or another tool to monitor > routers and other networks equipaments ? I need to monitor > network traffic and the operacional system of the equipament > , I had used the MRTG but it?s don?t give me a response that > I want , It?s can monitor only the traffic . > Can anyone help-me , please ? > Tks a lot !!! > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://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 23 16:13:50 2002 From: jgiles at joeman1.com (jgiles at joeman1.com) Date: 23 Sep 2002 14:13:50 -0000 Subject: Uptime Check Message-ID: <20020923141350.13184.qmail@joeman1.com> List, Im sure there is a way to check a Linux system's uptime, but I cant find the plugin for it. I have version 1.0b6 of nagios, and version v1.3 Beta1 of the plugins. Any assistance would be great. Thanks Joe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios-list at thinlayer.co.uk Mon Sep 23 18:11:59 2002 From: nagios-list at thinlayer.co.uk (blokey bloke) Date: Mon, 23 Sep 2002 17:11:59 +0100 Subject: Uptime Check References: <20020923141350.13184.qmail@joeman1.com> Message-ID: <3D8F3D4F.9070007@thinlayer.co.uk> When you say 'check' did you have limits in mind? you could easily write a script to return the uptime and say set the status to non-zero depending on the uptime. for example you'd probably want it to go CRITICAL after a reboot so you don't miss one ;) jgiles at joeman1.com wrote: > List, Im sure there is a way to check a Linux system's uptime, but I cant find the plugin for it. I have version 1.0b6 of nagios, and version v1.3 Beta1 of the plugins. > > Any assistance would be great. > > 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 > > . > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jgiles at joeman1.com Mon Sep 23 19:57:00 2002 From: jgiles at joeman1.com (Joe Giles) Date: Mon, 23 Sep 2002 11:57 MDT Subject: Uptime Check Message-ID: <20020923175734.21279.qmail@joeman1.com> Yeah, This would be for monitoring Linux servers. I would just like to see the uptime status like the NT check. Dont really care at this point about any kind of status check persay, But for the future, that might be added. How/where could I find information about writing a script for this sort of thing. Thanks Joe blokey bloke writes: >When you say 'check' did you have limits in mind? you could >easily write >a script to return the uptime and say set the status to non-zero > >depending on the uptime. for example you'd probably want it to >go >CRITICAL after a reboot so you don't miss one ;) > > > >jgiles at joeman1.com wrote: > >> List, Im sure there is a way to check a Linux system's uptime, >but I cant find the plugin for it. I have version 1.0b6 of >nagios, and version v1.3 Beta1 of the plugins. >> >> Any assistance would be great. >> >> 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 >> >> . >> >> > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bryan.irvine at eastsidejournal.com Sat Sep 21 20:25:58 2002 From: bryan.irvine at eastsidejournal.com (Bryan Irvine) Date: 21 Sep 2002 11:25:58 -0700 Subject: new services Message-ID: <1032632759.9309.4.camel@bryan> I'm wondering how I can add service definitions for services that don't exist (near as I can tell, I'm new though). I want to add a service definaition to check mysql, imap, openldap, sybase, and things of that nature...is there a way to create something that says ping => thisport => everysooften and call it mysql? Bryan Irvine ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bryan.irvine at eastsidejournal.com Sat Sep 21 21:08:29 2002 From: bryan.irvine at eastsidejournal.com (Bryan Irvine) Date: 21 Sep 2002 12:08:29 -0700 Subject: new services In-Reply-To: <000201c2632f$b7980040$b201a8c0@unirez.com> References: <000201c2632f$b7980040$b201a8c0@unirez.com> Message-ID: <1032635309.9353.15.camel@bryan> how would I add that, i'm looking at the services file, and I've addeda line. Where else am I supposed to add this, as nagios -v give me an error that service HTTPS is not configured antwhere...hmmmmm Bryan Irvine On Mon, 2002-09-23 at 11:33, Jeremy Tinley wrote: > Take a look at check_tcp. It should give you what you want. > > -J > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bryan > Irvine > Sent: Saturday, September 21, 2002 1:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] new services > > I'm wondering how I can add service definitions for services that don't > exist (near as I can tell, I'm new though). I want to add a service > definaition to check mysql, imap, openldap, sybase, and things of that > nature...is there a way to create something that says > ping => thisport => everysooften and call it mysql? > > > Bryan Irvine > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Sep 23 22:27:41 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 23 Sep 2002 15:27:41 -0500 Subject: Epager question Message-ID: <20020923152741.0276ea83.marguz@ameritech.net> I can't seem to get the epager notification to work. I have Nagios running on a basic RedHat 7.3 install. Email does work just not epager. Any info if the scripts need to be changed for my install? ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Mon Sep 23 22:42:47 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 23 Sep 2002 16:42:47 -0400 Subject: Epager question Message-ID: i just got mine working, the problem: quotes were incorrect in misccommands.cfg here is my entry: command_line /bin/echo -e 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$\n' | /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$ and my contact has a pager entry of 4165551212 at mrpager.com hth, dean -----Original Message----- From: Mark Guzzo [mailto:marguz at ameritech.net] Sent: Monday, September 23, 2002 4:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Epager question I can't seem to get the epager notification to work. I have Nagios running on a basic RedHat 7.3 install. Email does work just not epager. Any info if the scripts need to be changed for my install? ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Mon Sep 23 23:00:57 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Mon, 23 Sep 2002 15:00:57 -0600 Subject: More Ideas? Eventhandlers and SUDO Message-ID: Does anybody else have any ideas as to what may be causing SUDO to fail in my event-handler scripts? Basically, they work fine from the command as the Nagios user but when the event handerl execute 'sudo /etc/rc.d/init.d/sendmail restart' it fails on the stop command. The start command will work but the stop command fails. Is there something internal in Nagios that will cause the script to exit if a script that I am executing sends back a "FAILURE in execution"? For instance, if sendmail is already stopped and the event handler issues a restart, the stop command fails because there are not processes to stop, but it should continue on and complete the restart command by issueing a start, after the stop fails. Any more ideas? Tony |---------+--------------------------------> | | "Jolet, John" | | | | | | | | | 09/20/2002 11:08 AM | | | | |---------+--------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: "'twebster at daksoft.com'" | | cc: | | Subject: RE: [Nagios-users] Eventhandlers and SUDO | >------------------------------------------------------------------------------------------------------------------------------| what happens if you go to root, then su - nagios, then sudo -u root /etc/rc.d/init.d/sendmail? -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Friday, September 20, 2002 12:04 PM To: Jolet, John; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Eventhandlers and SUDO I just tested "nagios ALL=(root) /etc/rc.d/init.d/sendmail" and still the same thing. My process of testing, 1. Start Nagios 2. Stop Sendmail 3. Force service check of sendmail server 4. Watch log Below are the log messages I receive. *comment* below you can see from my restart-sendmail the various commands I have tried echo -n "Restarting Sendmail service (3rd soft critical state)..." # Call the init script to restart the sendmail server sudo /etc/rc.d/init.d/sendmail restart # sudo /etc/rc.d/init.d/sendmail stop # sleep 5 # sudo /etc/rc.d/init.d/sendmail start ;; esac /var/log/messages Sep 20 08:49:49 localhost nagios: SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host Sep 20 08:49:49 localhost nagios: SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail Sep 20 08:49:49 localhost sendmail: sendmail shutdown failed *comment* note nagios ran the restart-sendmail, but stopped running it after the sendmail stop command failed. /var/log/secure Sep 20 08:49:49 localhost sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/rc.d/init.d/sendmail restart /var/log/nagios/nagios.log [1032533378] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;ACTIVE;SMTP;1032533377 [1032533389] SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host [1032533389] SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail *comment* Example of running command outside of nagios eventhandler [root at tux1 log]# su nagios [nagios at tux1 log]$ sudo /etc/rc.d/init.d/sendmail restart Shutting down sendmail: [FAILED] Starting sendmail: [ OK ] [nagios at tux1 log]$ /etc/sudoers nagios ALL = (root) NOPASSWD: /etc/rc.d/init.d/sendmail Tony |---------+--------------------------------> | | "Jolet, John" | | | | | | | | | 09/20/2002 09:59 AM | | | | |---------+--------------------------------> > --------------------------------------------------------------------------- ---------------------------------------------------| | | | To: "'twebster at daksoft.com'" | | cc: | | Subject: RE: [Nagios-users] Eventhandlers and SUDO | > --------------------------------------------------------------------------- ---------------------------------------------------| well, have you tried "nagios ALL=(root) /etc/rc.d/init.d/sendmail" ? -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Friday, September 20, 2002 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Eventhandlers and SUDO I am setting up a clustering system using the Heartbeat project. I have configured the distributed monitoring on each system, and the Master (active) server sends results back to our Central Nagios server via the send_nsca script, works great. My problem, when Nagios detects either a problem with httpd, sendmail, named or ftp, I calling an EventHandler called resetart-httpd, restart-sendmail, restart-named, restart-xinetd, respectively. I have use the standard restart-httpd available in the Nagios installation for my "template" eventhandler script. In addition, I for each of the restart command I appended a sudo to the beginning of the line so my restart command looks like sudo /etc/rc.d/init.d/httpd restart I have tried multiple /etc/sudoers configs but the service is never able to restart, I have included several variations that I have tried. nagios localhost = NOPASSWD: /etc/rc.d/init.d/sendmail nagios localhost = (ALL) NOPASSWD: ALL nagios ALL = NOPASSWD: ALL One thing I notice, the sendmail will complet the STOP correctly but will not perform the Start of the service. When I execute restart-sendmail CRITICAL SOFT 3 from the command line as the Nagios user, Sendmail, stops, fails and then starts up fine. But when Nagios runs the restart-sendmail it fails at the STOP everytime, note I have manually caused sendmail to stop and am trying to run restart. Has anyone used SUDO for this purpose? Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Mon Sep 23 23:06:45 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Mon, 23 Sep 2002 16:06:45 -0500 Subject: Epager question In-Reply-To: References: Message-ID: <20020923160645.77b1b1b0.marguz@ameritech.net> Strange, the mail command will work on the command line to send a email but when I try to send a email-page, I get nothing. No error or nothing. But if I use my email client to sent an epage, it works. On Mon, 23 Sep 2002 16:42:47 -0400 "Bishop, Dean" wrote: > i just got mine working, the problem: quotes were incorrect in > misccommands.cfg > > here is my entry: > > command_line /bin/echo -e > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$\n' | > /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$' $CONTACTPAGER$ > > and my contact has a pager entry of 4165551212 at mrpager.com > > hth, > dean > > -----Original Message----- > From: Mark Guzzo [mailto:marguz at ameritech.net] > Sent: Monday, September 23, 2002 4:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Epager question > > > I can't seem to get the epager notification to work. I have Nagios running > on a > basic RedHat 7.3 install. > Email does work just not epager. > > Any info if the scripts need to be changed for my install? > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From galimore at mac.com Mon Sep 23 23:13:17 2002 From: galimore at mac.com (Terry Simons) Date: Mon, 23 Sep 2002 15:13:17 -0600 Subject: Epager question In-Reply-To: <20020923160645.77b1b1b0.marguz@ameritech.net> References: <20020923160645.77b1b1b0.marguz@ameritech.net> Message-ID: <47966F6A-CF39-11D6-880C-0003938FDD5C@mac.com> Nagios probably doesn't have rights to send the mail. Try logging in as the nagios user, and running the command that way. Also, check your mail client's logs to see if it's gathering errors. - Terry On Monday, September 23, 2002, at 03:06 PM, Mark Guzzo wrote: > Strange, the mail command will work on the command line to send a > email but when > I try to send a email-page, I get nothing. No error or nothing. But if > I use my > email client to sent an epage, it works. > > > On Mon, 23 Sep 2002 16:42:47 -0400 > "Bishop, Dean" wrote: > >> i just got mine working, the problem: quotes were incorrect in >> misccommands.cfg >> >> here is my entry: >> >> command_line /bin/echo -e >> 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$\n >> ' | >> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is >> $SERVICESTATE$' $CONTACTPAGER$ >> >> and my contact has a pager entry of 4165551212 at mrpager.com >> >> hth, >> dean >> >> -----Original Message----- >> From: Mark Guzzo [mailto:marguz at ameritech.net] >> Sent: Monday, September 23, 2002 4:28 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Epager question >> >> >> I can't seem to get the epager notification to work. I have Nagios >> running >> on a >> basic RedHat 7.3 install. >> Email does work just not epager. >> >> Any info if the scripts need to be changed for my install? >> >> ^^^ got Linux ^^^ >> >> >> Mark Guzzo >> Citrix Administrator >> >> "Don't Fear The Penguin." >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From brian.whitehead at digitalevergreen.com Mon Sep 23 23:29:57 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 23 Sep 2002 16:29:57 -0500 Subject: More Ideas? Eventhandlers and SUDO In-Reply-To: References: Message-ID: <1032816597.3077.76.camel@linuxrulz.digitalevergreen.com> On Mon, 2002-09-23 at 16:00, twebster at daksoft.com wrote: > > Does anybody else have any ideas as to what may be causing SUDO to fail in > my event-handler scripts? > > Basically, they work fine from the command as the Nagios user but when the > event handerl execute 'sudo /etc/rc.d/init.d/sendmail restart' it fails on > the stop command. The start command will work but the stop command fails. > Two things to think about. First just because you gave the user access to /etc/rc.d/init.d/sendmail doesn't mean they have access to anything that is run within the script. The next problem you may run into is that the user may not have the correct PATH setup to give access to a file without using the full path. These things may be completely off. Also, the /etc/sudoers file can be very particular about the syntax. Your line should look like this nagios ALL = NOPASSWD: /etc/rc.d/init.d/sendmail but depending on the need, you may consider doing something more like nagios ALL = NOPASSWD: /sbin/service but again that use will have to have /sbin in their PATH. -- Brian Whitehead - A+, LCP, RHCE Systems Administrator Direct: 816.512.9417 Mobile: 816.510.3996 mailto:brian.whitehead at digitalevergreen.com Digital Evergreen 423 West 8th Street Suite 410 Kansas City, MO 64105 Phone: 816.512.9399 http://www.digitalevergreen.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcoleman at lrn.com Tue Sep 24 00:38:35 2002 From: jcoleman at lrn.com (Jason Coleman) Date: Mon, 23 Sep 2002 15:38:35 -0700 Subject: /etc directory Message-ID: <8A4F07369400D511B1890060CF204C2A031BEA36@lrnex01.corp.lrn.com> Sorry newbie here. I have tried multiple times to try to install nagios, but every time it seems that the /etc directory is missing. Little help. Thanks. Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From twebster at daksoft.com Tue Sep 24 00:48:23 2002 From: twebster at daksoft.com (twebster at daksoft.com) Date: Mon, 23 Sep 2002 16:48:23 -0600 Subject: More Ideas? Eventhandlers and SUDO Message-ID: The below perl script works great in my restart-sendmail event handler, I just call the sendmail-wrapper from the eventhandler and it works great. I will investigate a bit more, but I believe I either rewrite the event handler in Perl or change the below script to accept a couple variables for my other services and I should be in business. Thanks for the help and all the suggestions. Tony |---------+----------------------------> | | "Jeremy Tinley" | | | | | | | | | 09/23/2002 03:58 | | | PM | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: | | cc: | | Subject: RE: [Nagios-users] More Ideas? Eventhandlers and SUDO | >------------------------------------------------------------------------------------------------------------------------------| You'd probably want to start by just getting it to work. #!/usr/bin/perl my $command = '/etc/rc.d/init.d/sendmail'; my $return = `sudo $command $ARGV[0]`; print "\$return = $return\n"; exit; First, run the script from command line: script.pl [option] Ex.: ./script.pl start -or- ./script.pl stop When you get the output you desire from $return, you can start logging it to a file by adding something like this to the end. open(LOG, ">>sendmail-wrapper.log"); print LOG "$command\n"; print LOG "$return\n"; print LOG "\n"; close(LOG); That should get something nice enough for readability sake. -J -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Monday, September 23, 2002 4:54 PM To: Jeremy Tinley Subject: RE: [Nagios-users] More Ideas? Eventhandlers and SUDO A wrapper would be an exellent option, but my skills with perl are a bit, may I say, weak. But my curiosity makes me ask, if I was to attempt to write a wrapper how would I go about it? Would I simple perform more checks prior to executing each sendmail command, say start and stop, perform some logging? Tony |---------+----------------------------> | | "Jeremy Tinley" | | | | | | | | | 09/23/2002 03:29 | | | PM | | | | |---------+----------------------------> >----------------------------------------------------------------------- -------------------------------------------------------| | | | To: | | cc: | | Subject: RE: [Nagios-users] More Ideas? Eventhandlers and SUDO | >----------------------------------------------------------------------- -------------------------------------------------------| I don't know how good your Perl is, but you could write a quick wrapper for that command and trap the output and return code from a system() call. Then write it to a log and get a little closer to tracing down the problem. -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of twebster at daksoft.com Sent: Monday, September 23, 2002 4:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] More Ideas? Eventhandlers and SUDO Does anybody else have any ideas as to what may be causing SUDO to fail in my event-handler scripts? Basically, they work fine from the command as the Nagios user but when the event handerl execute 'sudo /etc/rc.d/init.d/sendmail restart' it fails on the stop command. The start command will work but the stop command fails. Is there something internal in Nagios that will cause the script to exit if a script that I am executing sends back a "FAILURE in execution"? For instance, if sendmail is already stopped and the event handler issues a restart, the stop command fails because there are not processes to stop, but it should continue on and complete the restart command by issueing a start, after the stop fails. Any more ideas? Tony |---------+--------------------------------> | | "Jolet, John" | | | | | | | | | 09/20/2002 11:08 AM | | | | |---------+--------------------------------> >----------------------------------------------------------------------- -------------------------------------------------------| | | | To: "'twebster at daksoft.com'" | | cc: | | Subject: RE: [Nagios-users] Eventhandlers and SUDO | >----------------------------------------------------------------------- -------------------------------------------------------| what happens if you go to root, then su - nagios, then sudo -u root /etc/rc.d/init.d/sendmail? -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Friday, September 20, 2002 12:04 PM To: Jolet, John; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Eventhandlers and SUDO I just tested "nagios ALL=(root) /etc/rc.d/init.d/sendmail" and still the same thing. My process of testing, 1. Start Nagios 2. Stop Sendmail 3. Force service check of sendmail server 4. Watch log Below are the log messages I receive. *comment* below you can see from my restart-sendmail the various commands I have tried echo -n "Restarting Sendmail service (3rd soft critical state)..." # Call the init script to restart the sendmail server sudo /etc/rc.d/init.d/sendmail restart # sudo /etc/rc.d/init.d/sendmail stop # sleep 5 # sudo /etc/rc.d/init.d/sendmail start ;; esac /var/log/messages Sep 20 08:49:49 localhost nagios: SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host Sep 20 08:49:49 localhost nagios: SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail Sep 20 08:49:49 localhost sendmail: sendmail shutdown failed *comment* note nagios ran the restart-sendmail, but stopped running it after the sendmail stop command failed. /var/log/secure Sep 20 08:49:49 localhost sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/rc.d/init.d/sendmail restart /var/log/nagios/nagios.log [1032533378] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;ACTIVE;SMTP;1032533377 [1032533389] SERVICE ALERT: ACTIVE;SMTP;CRITICAL;SOFT;1;Connection refused by host [1032533389] SERVICE EVENT HANDLER: ACTIVE;SMTP;CRITICAL;SOFT;1;restart-sendmail *comment* Example of running command outside of nagios eventhandler [root at tux1 log]# su nagios [nagios at tux1 log]$ sudo /etc/rc.d/init.d/sendmail restart Shutting down sendmail: [FAILED] Starting sendmail: [ OK ] [nagios at tux1 log]$ /etc/sudoers nagios ALL = (root) NOPASSWD: /etc/rc.d/init.d/sendmail Tony |---------+--------------------------------> | | "Jolet, John" | | | | | | | | | 09/20/2002 09:59 AM | | | | |---------+--------------------------------> > ------------------------------------------------------------------------ --- ---------------------------------------------------| | | | To: "'twebster at daksoft.com'" | | cc: | | Subject: RE: [Nagios-users] Eventhandlers and SUDO | > ------------------------------------------------------------------------ --- ---------------------------------------------------| well, have you tried "nagios ALL=(root) /etc/rc.d/init.d/sendmail" ? -----Original Message----- From: twebster at daksoft.com [mailto:twebster at daksoft.com] Sent: Friday, September 20, 2002 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Eventhandlers and SUDO I am setting up a clustering system using the Heartbeat project. I have configured the distributed monitoring on each system, and the Master (active) server sends results back to our Central Nagios server via the send_nsca script, works great. My problem, when Nagios detects either a problem with httpd, sendmail, named or ftp, I calling an EventHandler called resetart-httpd, restart-sendmail, restart-named, restart-xinetd, respectively. I have use the standard restart-httpd available in the Nagios installation for my "template" eventhandler script. In addition, I for each of the restart command I appended a sudo to the beginning of the line so my restart command looks like sudo /etc/rc.d/init.d/httpd restart I have tried multiple /etc/sudoers configs but the service is never able to restart, I have included several variations that I have tried. nagios localhost = NOPASSWD: /etc/rc.d/init.d/sendmail nagios localhost = (ALL) NOPASSWD: ALL nagios ALL = NOPASSWD: ALL One thing I notice, the sendmail will complet the STOP correctly but will not perform the Start of the service. When I execute restart-sendmail CRITICAL SOFT 3 from the command line as the Nagios user, Sendmail, stops, fails and then starts up fine. But when Nagios runs the restart-sendmail it fails at the STOP everytime, note I have manually caused sendmail to stop and am trying to run restart. Has anyone used SUDO for this purpose? Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 e!mullin at Confi-chek.com Tue Sep 24 01:18:19 2002 From: e!mullin at Confi-chek.com (Erik N. Mullinix) Date: Mon, 23 Sep 2002 16:18:19 -0700 Subject: /etc directory Message-ID: Hello. The /etc directory will not be created unless you have plugin's or a configuration of some sort. This is not abnormal. Please refer to the documentation for installing a default or test configuration and you should be pleasantly surprised to find the /etc directory. ENM -----Original Message----- From: Jason Coleman [mailto:jcoleman at lrn.com] Sent: Monday, September 23, 2002 3:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] /etc directory Sorry newbie here. I have tried multiple times to try to install nagios, but every time it seems that the /etc directory is missing. Little help. Thanks. Jason Coleman Systems Administrator LRN - The Legal Knowledge Company Inter Office:5381 jcoleman at lrn.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 Shane_Seidel at gwf.com.au Tue Sep 24 03:52:11 2002 From: Shane_Seidel at gwf.com.au (Shane_Seidel at gwf.com.au) Date: Tue, 24 Sep 2002 12:52:11 +1100 Subject: Temptrax returns incorect data Message-ID: <4A256C3E.000AD22D.00@gisw900.gwf.com.au> I am using a Temptrax 2000 digital thermometer and seeing incorrect data reported by Nagios. When run from the command line output seems correct. /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 2 Temp Ok: Sensor 2 = 21.6 Deg. C /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 1 Temp Warning: Sensor 1 = 25.1 Deg. C But Nagios reports:- Server Room Temp OK 13-09-2002 08:56:02 7d 18h 47m 6s 1/3 Temp Ok: Sensor 1 = -17.8 Deg. C Server Room Temp 2 OK 13-09-2002 08:57:37 7d 15h 22m 16s 1/3 Temp Ok: Sensor 2 = -17.8 Deg. C These values are still reported by Nagios even when the device is detatched from the server. I have been informed by the helpful people at Temptrax that a value of 0 deg farenheight is being reported. checkcommands.cfg is as follows:- command[check_temptrax]=/usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 1 -f 0 command[check_temptrax2]=/usr/local/nagios/libexec/./check_temptrax -w 25 -c 30 -S 2 -f 0 service.cfg is as follows:- service[nms-GWFIS-Monitoring-System]=Server Room Temp;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax service[nms-GWFIS-Monitoring-System]=Server Room Temp 2;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax2 Nagios is v 1.0b5 on Red Hat 7.3 and compiled with default options and the latest plugin / binary Can someone shed some light as to why this is occuring and how to fix the problem? Thank Shane ********************************************************************************************************************************************** This document is intended solely for the named addressee. The information contained in these pages is confidential and contains legally privileged information. The copying or distribution of these pages or any information contained therein by any person other than the addressee is strictly prohibited. If you have received this communication in error, please contact the sender and delete the email. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From benny at bennyvision.com Tue Sep 24 04:40:14 2002 From: benny at bennyvision.com (C. Bensend) Date: Mon, 23 Sep 2002 21:40:14 -0500 (CDT) Subject: Event handlers not executing - Nagios 1.05b Message-ID: Hey folks, I'm having a problem with a test installation of Nagios 1.05b. It doesn't appear to be executing a custom event handler that I have defined. nagios.cfg: log_event_handlers=1 enable_event_handlers=1 misccommands.cfg: # 'qwest-event' command definition define command{ command_name qwest-event command_line $USER1$/qwest-event } hosts.cfg: define host{ use generic-host host_name myrouter parents routerparent event_handler_enabled 1 event_handler qwest-event alias Router address 216.161.x.y check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I am seeing several events a day, where this router becomes unreachable, but the event handler is not executing. I have made sure that it is executable via the nagios user, and can write to the directory in the event handler: #!/bin/bash # Script to document Qwest's routing problems # To be used with Nagios - as an event handler, it can track these # events automagically # # Benny, 9-2002 # What host are we tracing the route to? TARGET="216.161.x.y" # Where is the traceroute binary? TRACEROUTE="/usr/sbin/traceroute" # What options do we want for traceroute? TRACEROUTEOPT="-m 18 -n" # Where do you want to dump the traces? LOGFILEDIR="/home/nagios/qwest/" # What date format do you want to use for the traces? # Default: 09-08-2002_16:42:32 (M-D-Y_H:M:S) DATEFORMAT="+%m-%d-%Y_%H:%M:%S" export TARGET TRACEROUTE TRACEROUTEOPT LOGFILEDIR DATEFORMAT # For debugging purposes #echo "${TRACEROUTE} ${TRACEROUTEOPT} ${TARGET} > ${LOGFILEDIR}`date ${DATEFORMAT}`" DATE=`date ${DATEFORMAT}` ; export DATE echo "" > ${LOGFILEDIR}${DATE} echo `date ${DATEFORMAT}` >> ${LOGFILEDIR}${DATE} ${TRACEROUTE} ${TRACEROUTEOPT} ${TARGET} >> \ ${LOGFILEDIR}${DATE} echo "" >> ${LOGFILEDIR}${DATE} Any thoughts, folks? I would very much appreciate any hints. Thanks! Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Now, to unleash screaming temporal doom!" --- Invader Zim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thutchis at ns2.umesd.k12.or.us Tue Sep 24 05:00:33 2002 From: thutchis at ns2.umesd.k12.or.us (Tom Hutchison) Date: Mon, 23 Sep 2002 20:00:33 -0700 Subject: Icons on Status MapI Message-ID: <3D8FD551.2090008@ns2.umesd.k12.or.us> Dear Nagios-listers, I installed Nagios 1.0b6 yesterday from RPMs on my RH 7.3 server. Everything works great except the "pretty" icons on the Status Map. I installed the "base" icons to /usr/share/nagios/images/logos/ same rights as the existing icons. Configured /etc/nagios/cgi.cfg with "xedtemplate_config_file=/etc/nagios/hostexinfo.cfg" Created a hostexinfo.cfg file in /etc/nagios/. Sample below: define hostextinfo { host_name mail icon_image novell40.png icon_image_alt GroupWise E-mail Server statusmap_image novell40.gd2 } Tried both novell40.png and novell40.gif. Checked the cgi.cfg for "hostextinfo" directives, none found. No errors show up in the Apache HTTD log files. After about 3 hours of head banging and reading past posts to this list I am stumped! The only thing left is the " --with-template-extinfo " option to the configure script. Does anyone know if the RPMS were configured with " --with-template-extinfo " option? Any other suggestions would be much appreciated. Tom Hutchison Network Analyst UMESD ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Mon Sep 23 05:11:10 2002 From: nagios at nagios.org (Ethan Galstad) Date: Sun, 22 Sep 2002 22:11:10 -0500 Subject: Event handlers not executing - Nagios 1.05b In-Reply-To: References: Message-ID: <3D8E3FFE.23895.124FB6C@localhost> If you had this service previously defined with the event handler disabled, chances are its still disabled. This can happen if you have state retention enabled and non-status information for the service is being retained. Check the web interface to see if the event handler is enabled or not. I'm guessing its not. On 23 Sep 2002 at 21:40, C. Bensend wrote: > > Hey folks, > > I'm having a problem with a test installation of > Nagios 1.05b. It doesn't appear to be executing a custom > event handler that I have defined. > > nagios.cfg: > > log_event_handlers=1 > enable_event_handlers=1 > > misccommands.cfg: > > # 'qwest-event' command definition > define command{ > command_name qwest-event > command_line $USER1$/qwest-event > } > > hosts.cfg: > > define host{ > use generic-host > host_name myrouter > parents routerparent > event_handler_enabled 1 > event_handler qwest-event > alias Router > address 216.161.x.y > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > I am seeing several events a day, where this router > becomes unreachable, but the event handler is not executing. > I have made sure that it is executable via the nagios user, > and can write to the directory in the event handler: > > > #!/bin/bash > > # Script to document Qwest's routing problems > # To be used with Nagios - as an event handler, it can track these > # events automagically > # > # Benny, 9-2002 > > # What host are we tracing the route to? > TARGET="216.161.x.y" > > # Where is the traceroute binary? > TRACEROUTE="/usr/sbin/traceroute" > > # What options do we want for traceroute? > TRACEROUTEOPT="-m 18 -n" > > # Where do you want to dump the traces? > LOGFILEDIR="/home/nagios/qwest/" > > # What date format do you want to use for the traces? > # Default: 09-08-2002_16:42:32 (M-D-Y_H:M:S) > DATEFORMAT="+%m-%d-%Y_%H:%M:%S" > > export TARGET TRACEROUTE TRACEROUTEOPT LOGFILEDIR DATEFORMAT > > # For debugging purposes > #echo "${TRACEROUTE} ${TRACEROUTEOPT} ${TARGET} > ${LOGFILEDIR}`date > ${DATEFORMAT}`" > DATE=`date ${DATEFORMAT}` ; export DATE > echo "" > ${LOGFILEDIR}${DATE} > echo `date ${DATEFORMAT}` >> ${LOGFILEDIR}${DATE} > ${TRACEROUTE} ${TRACEROUTEOPT} ${TARGET} >> \ > ${LOGFILEDIR}${DATE} > echo "" >> ${LOGFILEDIR}${DATE} > > > Any thoughts, folks? I would very much appreciate any > hints. > > Thanks! > > Benny > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "Now, to unleash screaming temporal doom!" > --- Invader Zim > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From benny at bennyvision.com Tue Sep 24 06:00:32 2002 From: benny at bennyvision.com (C. Bensend) Date: Mon, 23 Sep 2002 23:00:32 -0500 (CDT) Subject: Event handlers not executing - Nagios 1.05b In-Reply-To: <3D8E3FFE.23895.124FB6C@localhost> References: <3D8E3FFE.23895.124FB6C@localhost> Message-ID: On Sun, 22 Sep 2002, Ethan Galstad wrote: > If you had this service previously defined with the event handler > disabled, chances are its still disabled. This can happen if you > have state retention enabled and non-status information for the > service is being retained. Check the web interface to see if the > event handler is enabled or not. I'm guessing its not. Hello Ethan, Yes, the event handler is enabled, according to the web interface. :/ Thoughts? Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Now, to unleash screaming temporal doom!" --- Invader Zim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mijakscht at vit.de Tue Sep 24 07:21:21 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 24 Sep 2002 07:21:21 +0200 Subject: Upgrading to 1.0b6 Message-ID: Hi, while having the idea of upgrading to 1.0b6, I have one question: Is it possible to use my old configuration file for the new version? At the moment I use 1.0b4. Also, is it possible to use the .css files contained with 1.0b4 which I changed a bit to suit my needs? Thanx for your answers, Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Tue Sep 24 08:03:29 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 24 Sep 2002 08:03:29 +0200 Subject: Additional inquiry on nagios check interval Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802F1@storevis.datavis.se> You have to set 'normal_check_interval' for each service (or template) i n services.cfg. Then, restart nagios.. /FredrikW -----Original Message----- From: bernie liwanag [mailto:bliwanag at yahoo.com] Sent: Mon 23-Sep-02 12:41 To: Fredrik W?nglund; nagios-users at lists.sourceforge.net Cc: Subject: Additional inquiry on nagios check interval Thanks a lot fredrik. To all, I have addt'l inquiry regarding the check interval time of nagios. I want to know and change the configuration of the nagios regarding the time in which it will start the monitoring or checking of all the hosts and services.I want to setup my nagios such that it will start to check the hosts and services every 30 minutes or 1 hr. I have edited th nagios.cfg and changed the check_interval and freshness interval but it looks like it has still no effects. Thanks a lot! Bernie - Fredrik_W?nglund wrote: > Have you tried to change the variable 'refresh_rate' > in cgi.cfg? > > > /FredrikW > > > -----Original Message----- > From: bernie liwanag [mailto:bliwanag at yahoo.com] > Sent: Mon 23-Sep-02 05:43 > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] How to increase the refresh > rate of the nagios web site monitoring > > Hi to all > > i just want to ask how to increase the time for > the > refresh rate of the web site monitoring.Such that it > wont check it every almost 2 minutes which is the > default. > > Thanks! > Bernie > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Tue Sep 24 08:10:32 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 24 Sep 2002 08:10:32 +0200 Subject: new services References: <000201c2632f$b7980040$b201a8c0@unirez.com> <1032635309.9353.15.camel@bryan> Message-ID: <3D9001D8.BDE48E93@gcc.dhl.com> No offense, but this stuff is so basic, that I'm afraid I'll have to rtfm you... Bryan Irvine wrote: > > how would I add that, i'm looking at the services file, and I've addeda > line. Where else am I supposed to add this, as nagios -v give me an > error that service HTTPS is not configured antwhere...hmmmmm > > Bryan Irvine > > On Mon, 2002-09-23 at 11:33, Jeremy Tinley wrote: > > Take a look at check_tcp. It should give you what you want. > > > > -J > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bryan > > Irvine > > Sent: Saturday, September 21, 2002 1:26 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] new services > > > > I'm wondering how I can add service definitions for services that don't > > exist (near as I can tell, I'm new though). I want to add a service > > definaition to check mysql, imap, openldap, sybase, and things of that > > nature...is there a way to create something that says > > ping => thisport => everysooften and call it mysql? > > > > > > Bryan Irvine > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 tdeblend at gcc.dhl.com Tue Sep 24 08:12:11 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 24 Sep 2002 08:12:11 +0200 Subject: Epager question References: <20020923160645.77b1b1b0.marguz@ameritech.net> Message-ID: <3D90023B.D3189990@gcc.dhl.com> Hi, Make sure your epager client is not returning any output back to Nagios. Redirect all output to /dev/null or check whether it has got some kind of a -quiet switch. Kind regards, Tom Mark Guzzo wrote: > > Strange, the mail command will work on the command line to send a email but when > I try to send a email-page, I get nothing. No error or nothing. But if I use my > email client to sent an epage, it works. > > On Mon, 23 Sep 2002 16:42:47 -0400 > "Bishop, Dean" wrote: > > > i just got mine working, the problem: quotes were incorrect in > > misccommands.cfg > > > > here is my entry: > > > > command_line /bin/echo -e > > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$\n' | > > /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > > $SERVICESTATE$' $CONTACTPAGER$ > > > > and my contact has a pager entry of 4165551212 at mrpager.com > > > > hth, > > dean > > > > -----Original Message----- > > From: Mark Guzzo [mailto:marguz at ameritech.net] > > Sent: Monday, September 23, 2002 4:28 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Epager question > > > > > > I can't seem to get the epager notification to work. I have Nagios running > > on a > > basic RedHat 7.3 install. > > Email does work just not epager. > > > > Any info if the scripts need to be changed for my install? > > > > ^^^ got Linux ^^^ > > > > > > Mark Guzzo > > Citrix Administrator > > > > "Don't Fear The Penguin." > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ^^^ got Linux ^^^ > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jeff.verheyen at ampersant.be Tue Sep 24 09:43:59 2002 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: 24 Sep 2002 09:43:59 +0200 Subject: Icons on Status MapI In-Reply-To: <3D8FD551.2090008@ns2.umesd.k12.or.us> References: <3D8FD551.2090008@ns2.umesd.k12.or.us> Message-ID: <1032853439.32699.48.camel@picard.enterprise.be> I installed Nagios 1.0b6 on two RH 7.3 servers last week using the rpm's at: ftp://development.origix.net/pub/RPMS/ Just had to edit the xedtemplate_config_file parameter in cgi.cfg and to edit the hostextinfo file. My configs: # grep xedtemplate cgi.cfg xedtemplate_config_file=/etc/nagios/hostextinfo.cfg # cat hostextinfo.cfg define hostextinfo{ host_name picard icon_image my_pc.png icon_image_alt Workstation Jeff statusmap_image my_pc.gd2 } Anyway, I think the rpm's are ok... On Tue, 2002-09-24 at 05:00, Tom Hutchison wrote: > Dear Nagios-listers, > > I installed Nagios 1.0b6 yesterday from RPMs on my RH 7.3 server. Everything > works great except the "pretty" icons on the Status Map. I installed the "base" > icons to /usr/share/nagios/images/logos/ same rights as the existing icons. > Configured /etc/nagios/cgi.cfg with > "xedtemplate_config_file=/etc/nagios/hostexinfo.cfg" Created a hostexinfo.cfg > file in /etc/nagios/. Sample below: > > define hostextinfo { > host_name mail > icon_image novell40.png > icon_image_alt GroupWise E-mail Server > statusmap_image novell40.gd2 > } > > Tried both novell40.png and novell40.gif. Checked the cgi.cfg for "hostextinfo" > directives, none found. No errors show up in the Apache HTTD log files. > > After about 3 hours of head banging and reading past posts to this list I am > stumped! The only thing left is the " --with-template-extinfo " option to the > configure script. Does anyone know if the RPMS were configured with " > --with-template-extinfo " option? > > Any other suggestions would be much appreciated. > > Tom Hutchison > Network Analyst > UMESD > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From alistair at berthengron.co.uk Tue Sep 24 10:19:08 2002 From: alistair at berthengron.co.uk (Alistair Hopkins) Date: Tue, 24 Sep 2002 09:19:08 +0100 Subject: Looked, and Looked ,and a gallon of rum and i still don't know... .. In-Reply-To: References: Message-ID: is root in the nagiocmd group? the test for existence in the nagios startup script for nagios.cmd is not suid nagios, so root cannot remove, etc, the file if it is not in the group al -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Bishop, Dean Sent: 23 September 2002 14:05 To: 'Kaufman, Michael'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Looked, and Looked ,and a gallon of rum and i still don't know... .. Try: Stopping nagios if you managed to get it started (i'm guessing not); if it exists, rm nagios.cmd start nagios using /path-to-nagios/bin/nagios /path-to-nagios/etc/nagios.cfg; stop nagios using favourite method; start nagios using /etc/rc.d/init.d/nagios start hth, dean p.s. there should be more in the archives. i have seen this a couple times over the last few months. -----Original Message----- From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] Sent: Monday, September 23, 2002 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Looked, and Looked ,and a gallon of rum and i still don't know... .. I am having a problem that I can not seem to fix. The "old command file problem". I have looked back in the threads and only found one message from todd.jones at weirslurry.com with any similar problem, but I did not see a resolution. Nagios works fine, no problem if I run it from a command line. When I add it to init.d the external command file acts up. I get command file '/usr/local/nagios/var/rw/nagios.cmd' the external command file may be missing. The rights are: drwxrwsrwx 2 nagios nagiocmd 4096 Sep 20 12:16 . drwxrwxr-x 6 nagios nagiocmd 4096 Sep 23 07:21 .. prw-rw---- 1 nagios nagiocmd 0 Sep 20 12:16 nagios.cmd if anyone has any ideas please let me know... I can not afford much more rum... mike --- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bas at brijn.nu Tue Sep 24 11:42:27 2002 From: bas at brijn.nu (Bas Rijniersce) Date: Tue, 24 Sep 2002 11:42:27 +0200 Subject: The smart Citrix check plugin Message-ID: <000b01c263ae$b3a8f910$0514c639@sysdvb15904> Hi, I exchanged some mail over the list about checking citrix. I think it was Tom dB who replied with a ported Netsaint script (writen in Perl) to check published apps. I searched the archives but couldn't find this script. Could someone point me to it (or mailif off-list)? We are running Metaframe XP FR2, I think there is a bug in unpatched version with published apps, at least we just run into that bug yesterday while configuring a Packeteer packetshaper Bas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Tue Sep 24 10:29:11 2002 From: atul at mindsw.com (Atul Gosain) Date: Tue, 24 Sep 2002 13:59:11 +0530 (IST) Subject: chek_vsz plugin units Message-ID: <1345.202.88.151.191.1032856151.squirrel@www.webyarn.com> hi Has anyone used check_vsz plugin before.Its used to get the memory image of some process.I dont understand that what are the units of result that it gives.is it in bytes or kb. -- 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 Tue Sep 24 11:58:20 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 24 Sep 2002 11:58:20 +0200 Subject: The smart Citrix check plugin References: <000b01c263ae$b3a8f910$0514c639@sysdvb15904> Message-ID: <3D90373C.5D499BB3@gcc.dhl.com> See attached. At the moment Stanley is working on a clean version of the plugin and will place the result in the contrib. My original email: Subject: Re: [Nagios-users] Citrix Plugin Date: Tue, 17 Sep 2002 09:16:55 +0200 From: Tom DE BLENDE Organization: DHL GCC To: Grae Noble CC: Nagios-users at lists.sourceforge.net, netsaint list , ed at nightstalker.net 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 Bas Rijniersce wrote: > > Hi, > > I exchanged some mail over the list about checking citrix. I think it was > Tom dB who replied with a ported Netsaint script (writen in Perl) to check > published apps. I searched the archives but couldn't find this script. Could > someone point me to it (or mailif off-list)? > > We are running Metaframe XP FR2, I think there is a bug in unpatched version > with published apps, at least we just run into that bug yesterday while > configuring a Packeteer packetshaper > > Bas > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- A non-text attachment was scrubbed... Name: check_citrix_apps.pl Type: application/x-perl Size: 11523 bytes Desc: not available URL: From jarbas.peixoto at go.previdenciasocial.gov.br Tue Sep 24 14:08:35 2002 From: jarbas.peixoto at go.previdenciasocial.gov.br (Jarbas Peixoto Junior - DATAPREVGO) Date: Tue, 24 Sep 2002 09:08:35 -0300 Subject: RES: Problem with Nagios & MySQL Message-ID: I especially thank Mark Gillett and Marc Powell for the orientations. My problem was: the file " resource.cfg " was with the configurations for access to MySQL in white, that is, it was not configured. Reading the documentation again verified that had made a mistake with the file " cgi.cfg ". Correcting the problem Nagios worked perfectly. I also thank the author (Ethan Galstad) for having developed this precious tool and mainly for having developed her/it under the terms GNU/GPL. _ ______________________________ _ / )| Jarbas Peixoto J?nior |( \ / / | Analista T?c. Informa??o | \ \ _( (_ | _ (0xx62) 501-2245 _ | _) )_ (((\ \)|_/ )______________________( \_|(/ /))) (\ \ \_/ / \ \_/ ////) \ \\ / Linuxuser: 198445 \ // / \ _/ \_ / / / Dataprev - Goi?nia - BRASIL \ \ /___/ ??? \___\ (o o) -----------------------------oOO-(_)-OOo----------------------------- Eu ap?io o Software Livre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Tue Sep 24 14:39:14 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Tue, 24 Sep 2002 14:39:14 +0200 Subject: chek_vsz plugin units Message-ID: Hi Atul, on my system (Solaris 8 x86) check_vsz uses "/bin/ps -Ao 'vsz comm'" to get the image sizes. On Linux (Redhat 6.x) the command is "/bin/ps -axo 'vsz comm'". The man page for ps says that the vsz is in kilobytes. You can check the used command with strings /your/nagios/dir/libexec/check_vsz | fgrep ps or fgrep VSZ_COMMAND /your/plugin/make/dir/plugins/config.h -vol > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Tuesday, September 24, 2002 10:29 AM > To: nagios > Subject: [Nagios-users] chek_vsz plugin units > > > > hi > Has anyone used check_vsz plugin before.Its used to get the > memory image > of some process.I dont understand that what are the units of > result that > it gives.is it in bytes or kb. > > > > -- > 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 Nicole.Haehnel at epost.de Tue Sep 24 15:47:40 2002 From: Nicole.Haehnel at epost.de (=?iso-8859-1?Q?Nicole_H=E4hnel?=) Date: Tue, 24 Sep 2002 15:47:40 +0200 Subject: down-times for hosts? Message-ID: <001001c263d0$f3524e00$13121bac@pc1072> Hi, what is the best way to specifiy down times for server/services? Nagios should not check the service and assume up for this time. It should not affect uptime statistics. Gruss Nicole -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Tue Sep 24 15:57:24 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 24 Sep 2002 09:57:24 -0400 Subject: down-times for hosts? References: <001001c263d0$f3524e00$13121bac@pc1072> Message-ID: <3D906F44.1000704@quadrix.com> The way nagios handles downtime (assuming you are talking about entering in scheduled downtime) is as a suppression of notifications, not a suppression of checks. If you put a host into a scheduled downtime, the service check will occur still. If that service is down, nagios will then do a host check. If the host is down (the downtime has begun), it will show that the host is down. But when it goes to do the notification, it checks to see if the host is in a period of downtime. Since it is, the notifications will not go out, but the host will be in a down state, not assumed OK. This is actually beneficial if the downtime ends and for some reason a problem still exists. The host or service should have come back up but hasn't. So instead of having to go through all the retries (if you have retries set up), the host/service is already in a Hard non-OK state, so you will get notified after the first check. -Russell Nicole H?hnel wrote: > Hi, > > what is the best way to specifiy down times for server/services? > > Nagios should not check the service and assume up for this time. > > It should not affect uptime statistics. > > > > Gruss > > Nicole > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bas at brijn.nu Tue Sep 24 16:08:16 2002 From: bas at brijn.nu (Bas Rijniersce) Date: Tue, 24 Sep 2002 16:08:16 +0200 Subject: Preventing cached pages Message-ID: <002301c263d3$d6807fb0$0514c639@sysdvb15904> Hello, It has probably been mentioned already very often, but I sometimes have a proxy enabled (it could also be the local cache) and warning/errors are still shown when they are already gone. What I often used to prevent is to add something to every generated link: ?uniq=kjusdhjfhkjas8erw5 Where the string is always different. This prevents caching 100% safely, all other additions to META headers etc don't work that well Bas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Eric.Capellari at socgen.com Tue Sep 24 16:09:17 2002 From: Eric.Capellari at socgen.com (CAPELLARI E InfoEdpEtcRes) Date: Tue, 24 Sep 2002 16:09:17 +0200 Subject: Perf pb with nagios 1.0b6 Message-ID: Hi, Recently, I migrate my Nagios 1.0b4 to the newest 1.0b6 with performance logging. In my configuration, I have a script to check web services with curl. The output of this script is like : 'HTTP_RC = 200 Response Time = 0.254 s | 0.254'. I, also, have in may nagios.cfg the folowing lines : xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$HOSTNAME$ $SERVICEDESC$ $TIMET$ $PERFDATA$ In 1.0b4 version, it's work perfectly ... I have all the perf data in my file. But, since I migrate to 1.0b6, the file do'esn't receive anymor information. If I delete it, Nagios doesn't recreate it ! Is-it a new parameter or is-it a bug ? Eric CAPELLARI A french user of Nagios. ************************************************************************* 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 electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent 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. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Garry.Cook at mactec.com Tue Sep 24 16:17:06 2002 From: Garry.Cook at mactec.com (Garry Cook) Date: Tue, 24 Sep 2002 08:17:06 -0600 Subject: down-times for hosts? Message-ID: <186C7335CA35094D95611F4F61A63EAD44DB37@gdn-exch1.mactec.com> As Russell mentioned, 'scheduling downtime' only suppresses notifications, so doing this WILL affect your statistics if the host/service is down during the timeperiod in question. I believe that the best way to accomplish what you want to do would be to create a timeperiod that does NOT include the downtime. Then, use this timeperiod for the 'check_period' in your service definitions. If none of the services on a host are being checked during a certain time, they should not appear as down, and therefore the host will not be checked either. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Tuesday, September 24, 2002 7:57 AM To: Nicole H?hnel Cc: Nagios Subject: Re: [Nagios-users] down-times for hosts? The way nagios handles downtime (assuming you are talking about entering in scheduled downtime) is as a suppression of notifications, not a suppression of checks. If you put a host into a scheduled downtime, the service check will occur still. If that service is down, nagios will then do a host check. If the host is down (the downtime has begun), it will show that the host is down. But when it goes to do the notification, it checks to see if the host is in a period of downtime. Since it is, the notifications will not go out, but the host will be in a down state, not assumed OK. This is actually beneficial if the downtime ends and for some reason a problem still exists. The host or service should have come back up but hasn't. So instead of having to go through all the retries (if you have retries set up), the host/service is already in a Hard non-OK state, so you will get notified after the first check. -Russell Nicole H?hnel wrote: Hi, what is the best way to specifiy down times for server/services? Nagios should not check the service and assume up for this time. It should not affect uptime statistics. Gruss Nicole -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mijakscht at vit.de Tue Sep 24 16:25:42 2002 From: mijakscht at vit.de (Michael Jakscht) Date: Tue, 24 Sep 2002 16:25:42 +0200 Subject: down-times for hosts? Message-ID: > Hi, > what is the best way to specifiy down times for server/services? > Nagios should not check the service and assume up for this time. > It should not affect uptime statistics. Hi! ;-) Oh yes, this would be great to know, I have the same problem here. So, well, maybe anyone could give a hint here ;-)) Would be awesome! ;-) Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Tue Sep 24 17:28:30 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Tue, 24 Sep 2002 11:28:30 -0400 Subject: Creative use of check_cluster Message-ID: <0DA06E553C3BD511823500508BB8965A02012114@exnadetmbx3.ams.gblxint.com> All, Like many of you, we need to monitor Systems which are comprised of many servers some in clusters and some providing standalone mission critical services, so I thought I would share what we did with the check_cluster pluggin: We found that if you have 500+ services defined it can be hard to tell if a "system" is up when a few services are critical. In other words, suppose that Host/Service A is in a cluster (the cluster is mission critical not the individual members of the cluster) and Host/Service Z is mission critical. If Host/Service A goes critical, a central monitoring point, with out specific heuristic knowledge, won't know that it's not that important. Where as if Host/Service Z is down the world just came to an end. To accomplish this we created a service that uses the check_cluster plugin to check the status of a cluster of services. We'll call this service cluster1. Then (here is the creative part) we added another service that checked the status of the cluster1 service plus the status of several mission critical services using check_cluster. In other words: 1. A service (cluster1) that checks a cluster of services using check_cluster with normal warning and critical values (i.e. 4 and 7 respectively). 2. A service (master cluster) that checks cluster1 and several mission critical services using check_cluster. Here the warning and critical values are set to 1. The idea with the warning and critical values being set to 1 is that if any of the services in this "cluster" aren't running we have a mission critical failure. This includes the cluster1's status. If cluster1 is critical then the System is critical. I'd like to take credit for the idea, but it was my bosses, I was going to write a wrapper plugin based on check_cluster to do the same thing. I created a "fictitious" Host and Hostgroup (with the name of the System) to run the services under Sincerely, Daniel G. Rusch Sincerely, Daniel G. Rusch ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Tue Sep 24 17:54:07 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Tue, 24 Sep 2002 10:54:07 -0500 Subject: Epager question In-Reply-To: <3D90023B.D3189990@gcc.dhl.com> References: <20020923160645.77b1b1b0.marguz@ameritech.net> <3D90023B.D3189990@gcc.dhl.com> Message-ID: <20020924105407.5d1acf01.marguz@ameritech.net> Hello again, Still having problems with Epage. I tried this as root... mail -s test 115001675 at page.metrocall.com and it still did not work. I then checked the root mail for a return reason on the mail and found this... The following addresses had permanent fatal errors ----- 115001675 at page.metrocall.com (reason: 501 ... Sender domain must exist) What! I'm really a sendmail dumba$$! Can someone please help :-( On Tue, 24 Sep 2002 08:12:11 +0200 "Tom DE BLENDE" wrote: > Hi, > > Make sure your epager client is not returning any output back to > Nagios. Redirect all output to /dev/null or check whether it has got > some kind of a -quiet switch. > > Kind regards, > Tom > > Mark Guzzo wrote: > > > > Strange, the mail command will work on the command line to send a email but when > > I try to send a email-page, I get nothing. No error or nothing. But if I use my > > email client to sent an epage, it works. > > > > On Mon, 23 Sep 2002 16:42:47 -0400 > > "Bishop, Dean" wrote: > > > > > i just got mine working, the problem: quotes were incorrect in > > > misccommands.cfg > > > > > > here is my entry: > > > > > > command_line /bin/echo -e > > > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$\n' | > > > /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > > > $SERVICESTATE$' $CONTACTPAGER$ > > > > > > and my contact has a pager entry of 4165551212 at mrpager.com > > > > > > hth, > > > dean > > > > > > -----Original Message----- > > > From: Mark Guzzo [mailto:marguz at ameritech.net] > > > Sent: Monday, September 23, 2002 4:28 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Epager question > > > > > > > > > I can't seem to get the epager notification to work. I have Nagios running > > > on a > > > basic RedHat 7.3 install. > > > Email does work just not epager. > > > > > > Any info if the scripts need to be changed for my install? > > > > > > ^^^ got Linux ^^^ > > > > > > > > > Mark Guzzo > > > Citrix Administrator > > > > > > "Don't Fear The Penguin." > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ^^^ got Linux ^^^ > > > > Mark Guzzo > > Citrix Administrator > > > > "Don't Fear The Penguin." > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Tue Sep 24 18:19:07 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 24 Sep 2002 12:19:07 -0400 Subject: Configuring the External Command Interface Message-ID: <5593DA408212D511B0910002A513501F01D2873F@phsexch20.mgh.harvard.edu> Hi, I am attempting to configure the External Command Interface in order to enable checks of all services on a particular host. I clicked on the appropriate link on the webpage and made sure to check the Enable For Host Too option on the next page. When I clicked on Commit the following message appeared: ERROR: COULD NOT OPEN COMMAND FILE '/USR/LOCAL/NAGIOS/VAR/RW/NAGIOS.CMD' FOR UPDATE! THE PERMISSIONS ON THE EXTERNAL COMMAND FILE AND/OR DIRECTORY MAY BE INCORRECT. I checked the rw directory and the permissions are drwxrwsr-x 2 nagios:nagios while those for the file itself are prw-rw--- 1 nagios:nagios The size of the file is 0 bytes. What permissions are necessary for me to continue? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From galimore at mac.com Tue Sep 24 18:42:41 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 24 Sep 2002 10:42:41 -0600 Subject: Epager question In-Reply-To: <20020924105407.5d1acf01.marguz@ameritech.net> References: <20020924105407.5d1acf01.marguz@ameritech.net> Message-ID: It looks like page.metrocall.com might be checking the name of the host that is sending the mail... Do you have valid forward and reverse records set up for your host? Is k1044nm.shsystem.org actually the name of your host? I could be completely wrong though... can anyone else elaborate? - Terry On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > Hello again, > Still having problems with Epage. > > I tried this as root... > mail -s test 115001675 at page.metrocall.com > and it still did not work. > > I then checked the root mail for a return reason on the mail and found > this... > > The following addresses had permanent fatal errors ----- > 115001675 at page.metrocall.com > (reason: 501 ... Sender domain must > exist) > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > "Tom DE BLENDE" wrote: > >> Hi, >> >> Make sure your epager client is not returning any output back to >> Nagios. Redirect all output to /dev/null or check whether it has got >> some kind of a -quiet switch. >> >> Kind regards, >> Tom >> >> Mark Guzzo wrote: >>> >>> Strange, the mail command will work on the command line to send a >>> email but when >>> I try to send a email-page, I get nothing. No error or nothing. But >>> if I use my >>> email client to sent an epage, it works. >>> >>> On Mon, 23 Sep 2002 16:42:47 -0400 >>> "Bishop, Dean" wrote: >>> >>>> i just got mine working, the problem: quotes were incorrect in >>>> misccommands.cfg >>>> >>>> here is my entry: >>>> >>>> command_line /bin/echo -e >>>> 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ >>>> \n' | >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is >>>> $SERVICESTATE$' $CONTACTPAGER$ >>>> >>>> and my contact has a pager entry of 4165551212 at mrpager.com >>>> >>>> hth, >>>> dean >>>> >>>> -----Original Message----- >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] >>>> Sent: Monday, September 23, 2002 4:28 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] Epager question >>>> >>>> >>>> I can't seem to get the epager notification to work. I have Nagios >>>> running >>>> on a >>>> basic RedHat 7.3 install. >>>> Email does work just not epager. >>>> >>>> Any info if the scripts need to be changed for my install? >>>> >>>> ^^^ got Linux ^^^ >>>> >>>> >>>> Mark Guzzo >>>> Citrix Administrator >>>> >>>> "Don't Fear The Penguin." >>>> >>>> >>>> ------------------------------------------------------- >>>> This sf.net email is sponsored by:ThinkGeek >>>> Welcome to geek heaven. >>>> http://thinkgeek.com/sf >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>> ^^^ got Linux ^^^ >>> >>> Mark Guzzo >>> Citrix Administrator >>> >>> "Don't Fear The Penguin." >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Tue Sep 24 20:31:46 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 24 Sep 2002 13:31:46 -0500 Subject: Epager question Message-ID: Yes, Metrocall does do a reverse lookup. If you configure your sendmail with an organization that ties to a valid MX record, you should be in good shape. Check out Steve Loughran's posting on 8/22/2002 around 3:16 PM (subject RE: mail notifications). Nolan >>> Terry Simons 09/24/02 11:42AM >>> It looks like page.metrocall.com might be checking the name of the host that is sending the mail... Do you have valid forward and reverse records set up for your host? Is k1044nm.shsystem.org actually the name of your host? I could be completely wrong though... can anyone else elaborate? - Terry On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > Hello again, > Still having problems with Epage. > > I tried this as root... > mail -s test 115001675 at page.metrocall.com > and it still did not work. > > I then checked the root mail for a return reason on the mail and found > this... > > The following addresses had permanent fatal errors ----- > 115001675 at page.metrocall.com > (reason: 501 ... Sender domain must > exist) > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > "Tom DE BLENDE" wrote: > >> Hi, >> >> Make sure your epager client is not returning any output back to >> Nagios. Redirect all output to /dev/null or check whether it has got >> some kind of a -quiet switch. >> >> Kind regards, >> Tom >> >> Mark Guzzo wrote: >>> >>> Strange, the mail command will work on the command line to send a >>> email but when >>> I try to send a email-page, I get nothing. No error or nothing. But >>> if I use my >>> email client to sent an epage, it works. >>> >>> On Mon, 23 Sep 2002 16:42:47 -0400 >>> "Bishop, Dean" wrote: >>> >>>> i just got mine working, the problem: quotes were incorrect in >>>> misccommands.cfg >>>> >>>> here is my entry: >>>> >>>> command_line /bin/echo -e >>>> 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ >>>> \n' | >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is >>>> $SERVICESTATE$' $CONTACTPAGER$ >>>> >>>> and my contact has a pager entry of 4165551212 at mrpager.com >>>> >>>> hth, >>>> dean >>>> >>>> -----Original Message----- >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] >>>> Sent: Monday, September 23, 2002 4:28 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] Epager question >>>> >>>> >>>> I can't seem to get the epager notification to work. I have Nagios >>>> running >>>> on a >>>> basic RedHat 7.3 install. >>>> Email does work just not epager. >>>> >>>> Any info if the scripts need to be changed for my install? >>>> >>>> ^^^ got Linux ^^^ >>>> >>>> >>>> Mark Guzzo >>>> Citrix Administrator >>>> >>>> "Don't Fear The Penguin." >>>> >>>> >>>> ------------------------------------------------------- >>>> This sf.net email is sponsored by:ThinkGeek >>>> Welcome to geek heaven. >>>> http://thinkgeek.com/sf >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>> ^^^ got Linux ^^^ >>> >>> Mark Guzzo >>> Citrix Administrator >>> >>> "Don't Fear The Penguin." >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Tue Sep 24 21:02:14 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 24 Sep 2002 21:02:14 +0200 Subject: down-times for hosts? Message-ID: <200209242102.14807@grinco.de> how does a sceduled downtime efect eventhandlers? are those suppressed as well? brdgs olaf Am Dienstag, 24. September 2002 15:57 schrieb Russell Scibetti: > The way nagios handles downtime (assuming you are talking about entering > in scheduled downtime) is as a suppression of notifications, not a > suppression of checks. If you put a host into a scheduled downtime, the > service check will occur still. If that service is down, nagios will > then do a host check. If the host is down (the downtime has begun), it > will show that the host is down. But when it goes to do the > notification, it checks to see if the host is in a period of downtime. > Since it is, the notifications will not go out, but the host will be in > a down state, not assumed OK. > > This is actually beneficial if the downtime ends and for some reason a > problem still exists. The host or service should have come back up but > hasn't. So instead of having to go through all the retries (if you have > retries set up), the host/service is already in a Hard non-OK state, so > you will get notified after the first check. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From greis at grinco.de Tue Sep 24 21:07:01 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 24 Sep 2002 21:07:01 +0200 Subject: down-times for hosts? In-Reply-To: References: Message-ID: <200209242107.07390@grinco.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Dienstag, 24. September 2002 16:25 schrieb Michael Jakscht: > > Hi, > > what is the best way to specifiy down times for server/services? > > Nagios should not check the service and assume up for this time. > > It should not affect uptime statistics. > > Hi! ;-) > > Oh yes, this would be great to know, I have the same problem here. > So, well, maybe anyone could give a hint here ;-)) > Would be awesome! ;-) the dirty way would be to also disable checks for the service and provied an ok passive check result. brdgs olaf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9kLfZ6M72XLtdDtsRAgMCAJ9QFmZGv/0GiV/Xp0AWnVBWT6D3BACgjL+C Zn648d9O5m1Q33LhaIUkftI= =0cm/ -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Tue Sep 24 21:23:57 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Tue, 24 Sep 2002 14:23:57 -0500 Subject: Epager question In-Reply-To: References: Message-ID: <20020924142357.1e14fda5.marguz@ameritech.net> I looked for the post, but I could not find it. Can you please send it. On Tue, 24 Sep 2002 13:31:46 -0500 "Nolan Martin" wrote: > Yes, Metrocall does do a reverse lookup. > > If you configure your sendmail with an organization that ties to a > valid MX record, you should be in good shape. > > Check out Steve Loughran's posting on 8/22/2002 around 3:16 PM (subject > RE: mail notifications). > > Nolan > > > >>> Terry Simons 09/24/02 11:42AM >>> > It looks like page.metrocall.com might be checking the name of the host > > that is sending the mail... > > Do you have valid forward and reverse records set up for your host? > > Is k1044nm.shsystem.org actually the name of your host? > > I could be completely wrong though... can anyone else elaborate? > > - Terry > > > On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > > > Hello again, > > Still having problems with Epage. > > > > I tried this as root... > > mail -s test 115001675 at page.metrocall.com > > and it still did not work. > > > > I then checked the root mail for a return reason on the mail and > found > > this... > > > > The following addresses had permanent fatal errors ----- > > 115001675 at page.metrocall.com > > (reason: 501 ... Sender domain must > > exist) > > > > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > > "Tom DE BLENDE" wrote: > > > >> Hi, > >> > >> Make sure your epager client is not returning any output back to > >> Nagios. Redirect all output to /dev/null or check whether it has > got > >> some kind of a -quiet switch. > >> > >> Kind regards, > >> Tom > >> > >> Mark Guzzo wrote: > >>> > >>> Strange, the mail command will work on the command line to send a > > >>> email but when > >>> I try to send a email-page, I get nothing. No error or nothing. But > > >>> if I use my > >>> email client to sent an epage, it works. > >>> > >>> On Mon, 23 Sep 2002 16:42:47 -0400 > >>> "Bishop, Dean" wrote: > >>> > >>>> i just got mine working, the problem: quotes were incorrect in > >>>> misccommands.cfg > >>>> > >>>> here is my entry: > >>>> > >>>> command_line /bin/echo -e > >>>> > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ > >>>> \n' | > >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > >>>> $SERVICESTATE$' $CONTACTPAGER$ > >>>> > >>>> and my contact has a pager entry of 4165551212 at mrpager.com > >>>> > >>>> hth, > >>>> dean > >>>> > >>>> -----Original Message----- > >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] > >>>> Sent: Monday, September 23, 2002 4:28 PM > >>>> To: nagios-users at lists.sourceforge.net > >>>> Subject: [Nagios-users] Epager question > >>>> > >>>> > >>>> I can't seem to get the epager notification to work. I have Nagios > > >>>> running > >>>> on a > >>>> basic RedHat 7.3 install. > >>>> Email does work just not epager. > >>>> > >>>> Any info if the scripts need to be changed for my install? > >>>> > >>>> ^^^ got Linux ^^^ > >>>> > >>>> > >>>> Mark Guzzo > >>>> Citrix Administrator > >>>> > >>>> "Don't Fear The Penguin." > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> This sf.net email is sponsored by:ThinkGeek > >>>> Welcome to geek heaven. > >>>> http://thinkgeek.com/sf > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> > >>> ^^^ got Linux ^^^ > >>> > >>> Mark Guzzo > >>> Citrix Administrator > >>> > >>> "Don't Fear The Penguin." > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ^^^ got Linux ^^^ > > > > > > Mark Guzzo > > Citrix Administrator > > > > "Don't Fear The Penguin." > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Tue Sep 24 21:41:39 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 24 Sep 2002 14:41:39 -0500 Subject: Epager question Message-ID: >From the original/referenced e-mail by Steve Loughran: * * * you either have to set the hostname of the host to a fully qualified and `real` externally visible hostname (or at least a hostname that has a valid MX record for it), or you can cheat and tell sendmail what host it should think it is by editing /etc/sendmail, find the line that looks like: #Dj$w.Foo.COM and then uncomment and change it to: Djmyreal.hostname.com the hostname **MUST** be a name that has either a real name to IP lookup in the outside world, or **MUST** have a valid MX record tied to that hostname (or most anti-spoofing rules in mail servers will deny it) Steve * * * >>> Mark Guzzo 09/24/02 02:23PM >>> I looked for the post, but I could not find it. Can you please send it. On Tue, 24 Sep 2002 13:31:46 -0500 "Nolan Martin" wrote: > Yes, Metrocall does do a reverse lookup. > > If you configure your sendmail with an organization that ties to a > valid MX record, you should be in good shape. > > Check out Steve Loughran's posting on 8/22/2002 around 3:16 PM (subject > RE: mail notifications). > > Nolan > > > >>> Terry Simons 09/24/02 11:42AM >>> > It looks like page.metrocall.com might be checking the name of the host > > that is sending the mail... > > Do you have valid forward and reverse records set up for your host? > > Is k1044nm.shsystem.org actually the name of your host? > > I could be completely wrong though... can anyone else elaborate? > > - Terry > > > On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > > > Hello again, > > Still having problems with Epage. > > > > I tried this as root... > > mail -s test 115001675 at page.metrocall.com > > and it still did not work. > > > > I then checked the root mail for a return reason on the mail and > found > > this... > > > > The following addresses had permanent fatal errors ----- > > 115001675 at page.metrocall.com > > (reason: 501 ... Sender domain must > > exist) > > > > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > > "Tom DE BLENDE" wrote: > > > >> Hi, > >> > >> Make sure your epager client is not returning any output back to > >> Nagios. Redirect all output to /dev/null or check whether it has > got > >> some kind of a -quiet switch. > >> > >> Kind regards, > >> Tom > >> > >> Mark Guzzo wrote: > >>> > >>> Strange, the mail command will work on the command line to send a > > >>> email but when > >>> I try to send a email-page, I get nothing. No error or nothing. But > > >>> if I use my > >>> email client to sent an epage, it works. > >>> > >>> On Mon, 23 Sep 2002 16:42:47 -0400 > >>> "Bishop, Dean" wrote: > >>> > >>>> i just got mine working, the problem: quotes were incorrect in > >>>> misccommands.cfg > >>>> > >>>> here is my entry: > >>>> > >>>> command_line /bin/echo -e > >>>> > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ > >>>> \n' | > >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > >>>> $SERVICESTATE$' $CONTACTPAGER$ > >>>> > >>>> and my contact has a pager entry of 4165551212 at mrpager.com > >>>> > >>>> hth, > >>>> dean > >>>> > >>>> -----Original Message----- > >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] > >>>> Sent: Monday, September 23, 2002 4:28 PM > >>>> To: nagios-users at lists.sourceforge.net > >>>> Subject: [Nagios-users] Epager question > >>>> > >>>> > >>>> I can't seem to get the epager notification to work. I have Nagios > > >>>> running > >>>> on a > >>>> basic RedHat 7.3 install. > >>>> Email does work just not epager. > >>>> > >>>> Any info if the scripts need to be changed for my install? > >>>> > >>>> ^^^ got Linux ^^^ > >>>> > >>>> > >>>> Mark Guzzo > >>>> Citrix Administrator > >>>> > >>>> "Don't Fear The Penguin." > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> This sf.net email is sponsored by:ThinkGeek > >>>> Welcome to geek heaven. > >>>> http://thinkgeek.com/sf > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> > >>> ^^^ got Linux ^^^ > >>> > >>> Mark Guzzo > >>> Citrix Administrator > >>> > >>> "Don't Fear The Penguin." > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ^^^ got Linux ^^^ > > > > > > Mark Guzzo > > Citrix Administrator > > > > "Don't Fear The Penguin." > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Tue Sep 24 21:49:26 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Tue, 24 Sep 2002 14:49:26 -0500 Subject: Epager question In-Reply-To: References: Message-ID: <20020924144926.1eb08b5e.marguz@ameritech.net> Is there a way to select the SMTP when using /bin/mail ? I want to change it to the one that DOES work when using Sylpheed. On Tue, 24 Sep 2002 13:31:46 -0500 "Nolan Martin" wrote: > Yes, Metrocall does do a reverse lookup. > > If you configure your sendmail with an organization that ties to a > valid MX record, you should be in good shape. > > Check out Steve Loughran's posting on 8/22/2002 around 3:16 PM (subject > RE: mail notifications). > > Nolan > > > >>> Terry Simons 09/24/02 11:42AM >>> > It looks like page.metrocall.com might be checking the name of the host > > that is sending the mail... > > Do you have valid forward and reverse records set up for your host? > > Is k1044nm.shsystem.org actually the name of your host? > > I could be completely wrong though... can anyone else elaborate? > > - Terry > > > On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > > > Hello again, > > Still having problems with Epage. > > > > I tried this as root... > > mail -s test 115001675 at page.metrocall.com > > and it still did not work. > > > > I then checked the root mail for a return reason on the mail and > found > > this... > > > > The following addresses had permanent fatal errors ----- > > 115001675 at page.metrocall.com > > (reason: 501 ... Sender domain must > > exist) > > > > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > > "Tom DE BLENDE" wrote: > > > >> Hi, > >> > >> Make sure your epager client is not returning any output back to > >> Nagios. Redirect all output to /dev/null or check whether it has > got > >> some kind of a -quiet switch. > >> > >> Kind regards, > >> Tom > >> > >> Mark Guzzo wrote: > >>> > >>> Strange, the mail command will work on the command line to send a > > >>> email but when > >>> I try to send a email-page, I get nothing. No error or nothing. But > > >>> if I use my > >>> email client to sent an epage, it works. > >>> > >>> On Mon, 23 Sep 2002 16:42:47 -0400 > >>> "Bishop, Dean" wrote: > >>> > >>>> i just got mine working, the problem: quotes were incorrect in > >>>> misccommands.cfg > >>>> > >>>> here is my entry: > >>>> > >>>> command_line /bin/echo -e > >>>> > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ > >>>> \n' | > >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > >>>> $SERVICESTATE$' $CONTACTPAGER$ > >>>> > >>>> and my contact has a pager entry of 4165551212 at mrpager.com > >>>> > >>>> hth, > >>>> dean > >>>> > >>>> -----Original Message----- > >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] > >>>> Sent: Monday, September 23, 2002 4:28 PM > >>>> To: nagios-users at lists.sourceforge.net > >>>> Subject: [Nagios-users] Epager question > >>>> > >>>> > >>>> I can't seem to get the epager notification to work. I have Nagios > > >>>> running > >>>> on a > >>>> basic RedHat 7.3 install. > >>>> Email does work just not epager. > >>>> > >>>> Any info if the scripts need to be changed for my install? > >>>> > >>>> ^^^ got Linux ^^^ > >>>> > >>>> > >>>> Mark Guzzo > >>>> Citrix Administrator > >>>> > >>>> "Don't Fear The Penguin." > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> This sf.net email is sponsored by:ThinkGeek > >>>> Welcome to geek heaven. > >>>> http://thinkgeek.com/sf > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> > >>> ^^^ got Linux ^^^ > >>> > >>> Mark Guzzo > >>> Citrix Administrator > >>> > >>> "Don't Fear The Penguin." > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ^^^ got Linux ^^^ > > > > > > Mark Guzzo > > Citrix Administrator > > > > "Don't Fear The Penguin." > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Tue Sep 24 22:06:15 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Tue, 24 Sep 2002 15:06:15 -0500 Subject: Epager question In-Reply-To: References: Message-ID: <20020924150615.2f9318f6.marguz@ameritech.net> I WORKS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :-) That was it. Thanks A LOT for all the feedback :-) On Tue, 24 Sep 2002 14:41:39 -0500 "Nolan Martin" wrote: > From the original/referenced e-mail by Steve Loughran: > > * * * > > you either have to set the hostname of the host to a fully qualified > and > `real` externally visible hostname (or at least a hostname that has a > valid > MX record for it), or you can cheat and tell sendmail what host it > should > think it is by editing /etc/sendmail, find the line that looks like: > > #Dj$w.Foo.COM > > and then uncomment and change it to: > > Djmyreal.hostname.com > > the hostname **MUST** be a name that has either a real name to IP > lookup in > the outside world, or **MUST** have a valid MX record tied to that > hostname > (or most anti-spoofing rules in mail servers will deny it) > > Steve > > > * * * > > > > >>> Mark Guzzo 09/24/02 02:23PM >>> > I looked for the post, but I could not find it. Can you please send > it. > > > > On Tue, 24 Sep 2002 13:31:46 -0500 > "Nolan Martin" wrote: > > > Yes, Metrocall does do a reverse lookup. > > > > If you configure your sendmail with an organization that ties to a > > valid MX record, you should be in good shape. > > > > Check out Steve Loughran's posting on 8/22/2002 around 3:16 PM > (subject > > RE: mail notifications). > > > > Nolan > > > > > > >>> Terry Simons 09/24/02 11:42AM >>> > > It looks like page.metrocall.com might be checking the name of the > host > > > > that is sending the mail... > > > > Do you have valid forward and reverse records set up for your host? > > > > Is k1044nm.shsystem.org actually the name of your host? > > > > I could be completely wrong though... can anyone else elaborate? > > > > - Terry > > > > > > On Tuesday, September 24, 2002, at 09:54 AM, Mark Guzzo wrote: > > > > > Hello again, > > > Still having problems with Epage. > > > > > > I tried this as root... > > > mail -s test 115001675 at page.metrocall.com > > > and it still did not work. > > > > > > I then checked the root mail for a return reason on the mail and > > found > > > this... > > > > > > The following addresses had permanent fatal errors ----- > > > 115001675 at page.metrocall.com > > > (reason: 501 ... Sender domain must > > > > exist) > > > > > > > > > What! I'm really a sendmail dumba$$! Can someone please help :-( > > > > > > > > > > > > On Tue, 24 Sep 2002 08:12:11 +0200 > > > "Tom DE BLENDE" wrote: > > > > > >> Hi, > > >> > > >> Make sure your epager client is not returning any output back to > > >> Nagios. Redirect all output to /dev/null or check whether it has > > got > > >> some kind of a -quiet switch. > > >> > > >> Kind regards, > > >> Tom > > >> > > >> Mark Guzzo wrote: > > >>> > > >>> Strange, the mail command will work on the command line to send a > > > > > >>> email but when > > >>> I try to send a email-page, I get nothing. No error or nothing. > But > > > > >>> if I use my > > >>> email client to sent an epage, it works. > > >>> > > >>> On Mon, 23 Sep 2002 16:42:47 -0400 > > >>> "Bishop, Dean" wrote: > > >>> > > >>>> i just got mine working, the problem: quotes were incorrect in > > >>>> misccommands.cfg > > >>>> > > >>>> here is my entry: > > >>>> > > >>>> command_line /bin/echo -e > > >>>> > > 'Svc:$SERVICEDESC$\nHost:$HOSTNAME$\nIP:$HOSTADDRESS$\nInfo:$OUTPUT$ > > > >>>> \n' | > > >>>> /bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is > > >>>> $SERVICESTATE$' $CONTACTPAGER$ > > >>>> > > >>>> and my contact has a pager entry of 4165551212 at mrpager.com > > >>>> > > >>>> hth, > > >>>> dean > > >>>> > > >>>> -----Original Message----- > > >>>> From: Mark Guzzo [mailto:marguz at ameritech.net] > > >>>> Sent: Monday, September 23, 2002 4:28 PM > > >>>> To: nagios-users at lists.sourceforge.net > > >>>> Subject: [Nagios-users] Epager question > > >>>> > > >>>> > > >>>> I can't seem to get the epager notification to work. I have > Nagios > > > > >>>> running > > >>>> on a > > >>>> basic RedHat 7.3 install. > > >>>> Email does work just not epager. > > >>>> > > >>>> Any info if the scripts need to be changed for my install? > > >>>> > > >>>> ^^^ got Linux ^^^ > > >>>> > > >>>> > > >>>> Mark Guzzo > > >>>> Citrix Administrator > > >>>> > > >>>> "Don't Fear The Penguin." > > >>>> > > >>>> > > >>>> ------------------------------------------------------- > > >>>> This sf.net email is sponsored by:ThinkGeek > > >>>> Welcome to geek heaven. > > >>>> http://thinkgeek.com/sf > > >>>> _______________________________________________ > > >>>> Nagios-users mailing list > > >>>> Nagios-users at lists.sourceforge.net > > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>> > > >>> ^^^ got Linux ^^^ > > >>> > > >>> Mark Guzzo > > >>> Citrix Administrator > > >>> > > >>> "Don't Fear The Penguin." > > >>> > > >>> ------------------------------------------------------- > > >>> This sf.net email is sponsored by:ThinkGeek > > >>> Welcome to geek heaven. > > >>> http://thinkgeek.com/sf > > >>> _______________________________________________ > > >>> Nagios-users mailing list > > >>> Nagios-users at lists.sourceforge.net > > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > ^^^ got Linux ^^^ > > > > > > > > > Mark Guzzo > > > Citrix Administrator > > > > > > "Don't Fear The Penguin." > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ^^^ got Linux ^^^ > > > Mark Guzzo > Citrix Administrator > > "Don't Fear The Penguin." > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ericblumenau at techtvcorp.com Tue Sep 24 22:38:55 2002 From: ericblumenau at techtvcorp.com (ericblumenau at techtvcorp.com) Date: Tue, 24 Sep 2002 13:38:55 -0700 Subject: Dependency efficiency Message-ID: <88256C3E.006FAD5A.00@zdtvmta.techtvcorp.com> Greetings all, I have 66 hosts, averaging 3 services(load, disk space, reachable). Each is dependent on switch1 and switch2. By my reckoning, that means I have to write 66x3x2=396 service dependency entries. If this is true, then I will try to automate the process. But is there a more efficient way? Can I lump all similar services under the same dependency? I know that you can lump hosts onto the same service, but I haven't seen anyone do that for dependencies in the documentation or on this list. I will summarize all answers. Thanks, Eric PLEASE NOTE: This message, including any attachments, may include privileged, confidential and/or inside information. Any distribution or use of this communication by anyone other than the intended recipient(s) is strictly prohibited and may be unlawful. If you are not the intended recipient, please notify the sender by replying to this message and then delete it from your system. Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From npaufler at incentre.net Tue Sep 24 23:33:17 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Tue, 24 Sep 2002 14:33:17 -0700 Subject: Nagios 1.0b6 on FreeBSD... problems and fixes Message-ID: <026801c26411$fede2c30$99d54bce@kallisti> I've just gone through installing Nagios on a FreeBSD 4.6.2-RELEASE machine out of the ports collection. It went well and thanks to the documentation I've almost been able to get everything working. I did run into one out-right problem (which I have confirmed still exists in the CVS tree) which is easy to fix. In the side.html file the link to "Service Detail" is linked as: a href="/nagios/cgi-bin/status.cgi?host=all" However, that wasn't working for me so I poked at it and by comparing it to some of the other links, realized it should be: a href="/nagios/cgi-bin/status.cgi?hosts=all" (notice, hosts vs host in the other link). This works and the link now displays the full service detail page as expected. The other problem I haven't been able to figure out. When I click the "tactical overview" link I get an error page telling me "Error: Could not read host and service status information!" along with the explanation that Nagios may not actually be running. However, it definitely is since every other page works and shows my correctly authenticated. To further test this, I tried running the tac.cgi file from the commandline. I set the appropriate environment variables (REMOTE_USER to the user I have setup, and REQUEST_METHOD to GET). Oddly enough, this works. If I change the REQUEST_METHOD to PUT, though, all of the cgi's segfault and core dump so it doesn't like that, despite what the warning you get while running from the commandline implies. I've looked at the commandline output of tac.cgi and it is showing what I'd expect and is showing all of the services I'm monitoring as up. I'm rather confused. My configs pass the tests and all of the other CGI's are working and tac.cgi works from the commandline ... so why isn't it working when I try and access it over http? Nagios (1.0b6) and Apache (1.3.25) are both fresh installs out of ports and I don't have any additional modules loaded yet so this is as stock as it gets. I'd appreciate any insight anyone can offer. Nicholas Paufler Systems Administrator The Internet Centre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From marguz at ameritech.net Tue Sep 24 22:43:27 2002 From: marguz at ameritech.net (Mark Guzzo) Date: Tue, 24 Sep 2002 15:43:27 -0500 Subject: bb-citrix.pl Message-ID: <20020924154327.3af40997.marguz@ameritech.net> In response to the file 'bb-citrix.pl' what do I need to change/add to the *.cfg files of Nagios in order to get this Perl script to work. I just started it, but I don't understand how to setup Nagios to use it. ^^^ got Linux ^^^ Mark Guzzo Citrix Administrator "Don't Fear The Penguin." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Tue Sep 24 01:07:51 2002 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 23 Sep 2002 18:07:51 -0500 Subject: Dependency efficiency In-Reply-To: <88256C3E.006FAD5A.00@zdtvmta.techtvcorp.com> References: <88256C3E.006FAD5A.00@zdtvmta.techtvcorp.com> Message-ID: <3D8F5877.6289.408710@localhost> Dependency definitions now support many of the same shortcuts that other definitions do: http://nagios.sourceforge.net/docs/1_0/templatetricks.html#servicedependency On 24 Sep 2002 at 13:38, ericblumenau at techtvcorp.com wrote: > > > > Greetings all, > I have 66 hosts, averaging 3 services(load, disk space, reachable). > Each is dependent on switch1 and switch2. By my reckoning, that means I > have to write 66x3x2=396 service dependency entries. If this is true, > then I will try to automate the process. But is there a more efficient > way? Can I lump all similar services under the same dependency? I know > that you can lump hosts onto the same service, but I haven't seen anyone > do that for dependencies in the documentation or on this list. > I will summarize all answers. > > Thanks, > Eric > > > > > > PLEASE NOTE: This message, including any attachments, may include privileged, > confidential and/or inside information. Any distribution or use of this > communication by anyone other than the intended recipient(s) is strictly > prohibited and may be unlawful. If you are not the intended recipient, please > notify the sender by replying to this message and then delete it from your > system. Thank you. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bliwanag at yahoo.com Wed Sep 25 03:24:32 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Tue, 24 Sep 2002 18:24:32 -0700 (PDT) Subject: change in date/time format in nagios logs In-Reply-To: <200209242107.07390@grinco.de> References: <200209242107.07390@grinco.de> Message-ID: <20020925012432.35081.qmail@web40614.mail.yahoo.com> Hi can anybody teel me how can I change the format of the dat/time output in nagios logs.Here is an example of my nagios.log [1032912585] Nagios 1.0b5 starting [1032912585] HOST NOTIFICATION:nagios;server1;DOWN;host . __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bliwanag at yahoo.com Wed Sep 25 03:26:34 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Tue, 24 Sep 2002 18:26:34 -0700 (PDT) Subject: change in date/time format in nagios logs In-Reply-To: <200209242107.07390@grinco.de> References: <200209242107.07390@grinco.de> Message-ID: <20020925012634.35332.qmail@web40614.mail.yahoo.com> Hi can anybody teel me how can I change the format of the dat/time output in nagios logs.Such that it could read easily.Here is an example of my nagios.log. [1032912585] Nagios 1.0b5 starting [1032912585] HOST NOTIFICATION:nagios;server1;DOWN;host example of status.log [1032917145] Service:proxyserver;ssh;OK;1/3;HARD ..... Thanks! Bernie __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bliwanag at yahoo.com Wed Sep 25 03:32:58 2002 From: bliwanag at yahoo.com (bernie liwanag) Date: Tue, 24 Sep 2002 18:32:58 -0700 (PDT) Subject: date/time format in nagios logs In-Reply-To: <200209242107.07390@grinco.de> References: <200209242107.07390@grinco.de> Message-ID: <20020925013258.37338.qmail@web40611.mail.yahoo.com> Hi, Anybody can tell me How can I change the date/time format of nagios logs,such that it could easily be read. Example of nagios.log [1032912585] Nagios 1.0b5 starting [1032912585] HOST NOTIFICATION:nagios;server1;DOWN;... Example of status.log [1032917145] SERVICE:proxyserver;ssh;ok;1/3;HARD;102 Thanks! Bernie __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nagios at nagios.org Tue Sep 24 03:43:37 2002 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 23 Sep 2002 20:43:37 -0500 Subject: change in date/time format in nagios logs In-Reply-To: <20020925012634.35332.qmail@web40614.mail.yahoo.com> References: <200209242107.07390@grinco.de> Message-ID: <3D8F7CF9.30744.CF27EE@localhost> I just added this to the FAQs: http://www.nagios.org/faqs/viewfaq.php?faq_id=68 On 24 Sep 2002 at 18:26, bernie liwanag wrote: > > Hi can anybody teel me how can I change the format of > the dat/time output in nagios logs.Such that it could > read easily.Here is an example of my nagios.log. > > [1032912585] Nagios 1.0b5 starting > > [1032912585] HOST > NOTIFICATION:nagios;server1;DOWN;host > > example of status.log > > [1032917145] Service:proxyserver;ssh;OK;1/3;HARD ..... > > > Thanks! > Bernie > > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From thutchis at ns2.umesd.k12.or.us Wed Sep 25 03:48:00 2002 From: thutchis at ns2.umesd.k12.or.us (Tom Hutchison) Date: Tue, 24 Sep 2002 18:48:00 -0700 Subject: Icons on Status MapI References: <3D8FD551.2090008@ns2.umesd.k12.or.us> <1032853439.32699.48.camel@picard.enterprise.be> Message-ID: <3D9115D0.8020902@ns2.umesd.k12.or.us> Thanks Jeff! I VERY CAREFULLY compared your configuration to what I had. There it was! I had spelled hostextinfo.cfg hostexinfo.cfg in cgi.cfg, Oh well, 40+ eyes will do that to you. Thanks again everyone. Tom Jeff Verheyen wrote: >I installed Nagios 1.0b6 on two RH 7.3 servers last week using the rpm's >at: >ftp://development.origix.net/pub/RPMS/ > >Just had to edit the xedtemplate_config_file parameter in cgi.cfg and to >edit the hostextinfo file. > >My configs: > ># grep xedtemplate cgi.cfg >xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > ># cat hostextinfo.cfg >define hostextinfo{ > host_name picard > icon_image my_pc.png > icon_image_alt Workstation Jeff > statusmap_image my_pc.gd2 > } > > >Anyway, I think the rpm's are ok... > > >On Tue, 2002-09-24 at 05:00, Tom Hutchison wrote: > > >>Dear Nagios-listers, >> >>I installed Nagios 1.0b6 yesterday from RPMs on my RH 7.3 server. Everything >>works great except the "pretty" icons on the Status Map. I installed the "base" >>icons to /usr/share/nagios/images/logos/ same rights as the existing icons. >>Configured /etc/nagios/cgi.cfg with >>"xedtemplate_config_file=/etc/nagios/hostexinfo.cfg" Created a hostexinfo.cfg >>file in /etc/nagios/. Sample below: >> >>define hostextinfo { >> host_name mail >> icon_image novell40.png >> icon_image_alt GroupWise E-mail Server >> statusmap_image novell40.gd2 >> } >> >>Tried both novell40.png and novell40.gif. Checked the cgi.cfg for "hostextinfo" >>directives, none found. No errors show up in the Apache HTTD log files. >> >>After about 3 hours of head banging and reading past posts to this list I am >>stumped! The only thing left is the " --with-template-extinfo " option to the >>configure script. Does anyone know if the RPMS were configured with " >>--with-template-extinfo " option? >> >>Any other suggestions would be much appreciated. >> >>Tom Hutchison >>Network Analyst >>UMESD >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wilson at ifndef.com Wed Sep 25 04:54:06 2002 From: wilson at ifndef.com (Brian Wilson) Date: Tue, 24 Sep 2002 21:54:06 -0500 (CDT) Subject: date/time format in nagios logs In-Reply-To: <20020925013258.37338.qmail@web40611.mail.yahoo.com> References: <20020925013258.37338.qmail@web40611.mail.yahoo.com> Message-ID: On Tue, 24 Sep 2002, bernie liwanag wrote: > > Hi, Anybody can tell me How can I change the date/time format of nagios > logs,such that it could easily be read. > > Example of nagios.log > > [1032912585] Nagios 1.0b5 starting > [1032912585] HOST > NOTIFICATION:nagios;server1;DOWN;... > > Example of status.log > > [1032917145] SERVICE:proxyserver;ssh;ok;1/3;HARD;102 > > If you want to translate it to something more meaningful, just do it in a perl script: $ perl -e 'print scalar localtime(1032917145)' Tue Sep 24 21:25:45 2002 -B -- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Wed Sep 25 06:52:58 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 25 Sep 2002 00:52:58 -0400 Subject: chek_vsz plugin units In-Reply-To: <1345.202.88.151.191.1032856151.squirrel@www.webyarn.com> References: <1345.202.88.151.191.1032856151.squirrel@www.webyarn.com> Message-ID: <1032929579.1112.18.camel@miles.debisschop.net> On Tue, 2002-09-24 at 04:29, Atul Gosain wrote: > > hi > Has anyone used check_vsz plugin before.Its used to get the memory image > of some process.I dont understand that what are the units of result that > it gives.is it in bytes or kb. It parses the output of 'ps' -- therefor, it returns the same units as your ps command does. I think that it's uually kb, but I'm not 100% sure, and my ps documentation does not seem clear on that point. When I wrote it, my concern was for processess that got stuck, and started consuming too much ram. So I was most concerned with relative changes in size. Didn't really matter to me what the absolute size was. Hope that helps some, even though it's not as clear as you were probably hoping an answer would be. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From joel at diggy.com.au Wed Sep 25 08:00:16 2002 From: joel at diggy.com.au (Joel Michael) Date: 25 Sep 2002 16:00:16 +1000 Subject: ocsp_command not being executed Message-ID: <1032933619.25735.26.camel@bofhstation> Hi All, I'm in the process of setting up a distributed monitoring setup (to update our current NetSaint 0.6 setup) and am having problems getting the ocsp_command to run on the distributed server. I can't think what it might be, or where to look next. I know that the ocsp_command is defined, that the script it calls works fine (I can run it with no problems, when run manually the results appear in the status CGIs OK). It just seems as though the script is never being called. I have added a line in the script that appends to a logfile with whatever it is being called with, but the log file does not grow (except when running manually). I'm running 1.0b5, the distributed server is running on Linux (and otherwise appears to be working perfectly, checking services and logging them to syslog). I've checked the most obvious things, but everything appears to be OK. In my config file I have: obsess_over_services=1 ocsp_command=submit_check_result define command { command_name submit_check_result command_line /usr/local/nagios/libexec/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } If anyone has any clues where to start looking, I'd be very appreciative. Thanks for your help. -- Joel Michael | Phone: +61 7 3367 3555 Systems Administrator | Fax: +61 7 3367 3544 WorldHosting.org Pty. Ltd. | Mobile: +61 408 336 728 http://www.worldhosting.org/ | Email: joel at diggy.com.au ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From timo.koskela at datavahti.fi Wed Sep 25 09:46:56 2002 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Wed, 25 Sep 2002 10:46:56 +0300 Subject: Notifying by service ins't working? Message-ID: <001601c26467$b9371880$b50fa8c0@fi.poltto> Hi all! I'm a bit confused why I can't get working that service notifying. The only reason why I need it are in couple of cases which are in distributed services and I'm going to disable host notification in those hosts, but I need to be notified in services then, of course. My service check look likes this: define service{ host_name VMG-ts service_description ping check_command check-host-alive max_check_attempts 10 normal_check_interval 5 retry_check_interval 5 check_period 24x7 notification_interval 30 notification_period 24x7 active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 1200 check_command service-is-stale notification_options w,u,r contact_groups guard-admin } and contact group look like this: define contactgroup{ contactgroup_name guard-admin alias Own members timo,xxx } And contact look like this: define contact{ contact_name timo alias Timo Koskela service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,call.timo host_notification_commands host-notify-by-email,call.timo email timo at ... } There's something I'm missing but I really can't figure it out! I hope someone can help me in this!! Timo K -------------- next part -------------- An HTML attachment was scrubbed... URL: From CTIEXCH-SA at emp.ctc.net Wed Sep 25 09:47:22 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Wed, 25 Sep 2002 03:47:22 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-09-25\03-47-22.10934 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Wed Sep 25 09:58:29 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Wed, 25 Sep 2002 09:58:29 +0200 Subject: Configuring the External Command Interface Message-ID: Hi Andrew, the CGI runs with the user:group of the webserver and this user/group needs write access to the command file. You can ./configure your Nagios with --with-command-grp=nagioscmd, create this group and add the webserver user and user nagios to this group. Then do a make install-commandmode. -vol > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Tuesday, September 24, 2002 6:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring the External Command Interface > > > Hi, > > I am attempting to configure the External Command Interface > in order to enable > checks of all services on a particular host. I clicked on the > appropriate link > on the webpage and made sure to check the Enable For Host Too > option on the next > page. When I clicked on Commit the following message appeared: > > ERROR: COULD NOT OPEN COMMAND FILE > '/USR/LOCAL/NAGIOS/VAR/RW/NAGIOS.CMD' FOR > UPDATE! > THE PERMISSIONS ON THE EXTERNAL COMMAND FILE AND/OR DIRECTORY > MAY BE INCORRECT. > > I checked the rw directory and the permissions are > drwxrwsr-x 2 > nagios:nagios > while those for the file itself are > prw-rw--- 1 > nagios:nagios > > The size of the file is 0 bytes. > > What permissions are necessary for me to continue? Thanks. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Wed Sep 25 11:42:01 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Wed, 25 Sep 2002 11:42:01 +0200 Subject: Notifying by service ins't working? Message-ID: Hi Timo, you have set the notification_options of your service to w,u,r (warning,unknown,recovery). May be you have forgotten c (critical)? Your contact has notification_options u,c,r. So you can get only notifications for this service on u (unknown) and r (recovery). -vol -----Original Message----- From: Timo Koskela [mailto:timo.koskela at datavahti.fi] Sent: Wednesday, September 25, 2002 9:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notifying by service ins't working? Hi all! I'm a bit confused why I can't get working that service notifying. The only reason why I need it are in couple of cases which are in distributed services and I'm going to disable host notification in those hosts, but I need to be notified in services then, of course. My service check look likes this: define service{ host_name VMG-ts service_description ping check_command check-host-alive max_check_attempts 10 normal_check_interval 5 retry_check_interval 5 check_period 24x7 notification_interval 30 notification_period 24x7 active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 1200 check_command service-is-stale notification_options w,u,r contact_groups guard-admin } and contact group look like this: define contactgroup{ contactgroup_name guard-admin alias Own members timo,xxx } And contact look like this: define contact{ contact_name timo alias Timo Koskela service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,call.timo host_notification_commands host-notify-by-email,call.timo email timo at ... } There's something I'm missing but I really can't figure it out! I hope someone can help me in this!! Timo K -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at imc.nl Wed Sep 25 12:21:08 2002 From: nagios-users at imc.nl (Roelf) Date: Wed, 25 Sep 2002 12:21:08 +0200 Subject: clear availability reports Message-ID: <013001c2647d$43368010$c764a8c0@void> Hi How do I clear the availability report stats? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Wed Sep 25 13:13:39 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 25 Sep 2002 13:13:39 +0200 Subject: clear availability reports In-Reply-To: <013001c2647d$43368010$c764a8c0@void> References: <013001c2647d$43368010$c764a8c0@void> Message-ID: <20020925131339.5b2f0bfb.freddy.frouin@fluxus.net> Hi, I think you should delete some files in the $nagios_home/var/archives directory. You will find the log files used by nagios to process the availibility reports. I hope this help. Freddy. On Wed, 25 Sep 2002 12:21:08 +0200 "Roelf" wrote: > Hi > > How do I clear the availability report stats? > > 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Sep 25 13:51:59 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 25 Sep 2002 13:51:59 +0200 Subject: clear availability reports In-Reply-To: <20020925131339.5b2f0bfb.freddy.frouin@fluxus.net> References: <013001c2647d$43368010$c764a8c0@void> <20020925131339.5b2f0bfb.freddy.frouin@fluxus.net> Message-ID: <20020925135159.2d73bdf5.freddy.frouin@fluxus.net> more detail about my note, if you want to delete all the past archive and the current day archive, look at the following variables in the nagions main configuration file to delete the appropriate files: -> Current Day log # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/nagios/var/nagios.log -> Past log # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/nagios/var/archives Freddy. On Wed, 25 Sep 2002 13:13:39 +0200 Freddy Frouin wrote: > Hi, > > I think you should delete some files in the $nagios_home/var/archives > directory. You will find the log files used by nagios to process > the availibility reports. I hope this help. > > Freddy. > > On Wed, 25 Sep 2002 12:21:08 +0200 > "Roelf" wrote: > > > Hi > > > > How do I clear the availability report stats? > > > > 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Wed Sep 25 15:38:04 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 25 Sep 2002 09:38:04 -0400 (EDT) Subject: [Nagiosplug-devel] RE: performance data from plugins - does it exist? In-Reply-To: <1032004202.18622.30.camel@miles.debisschop.net> References: <1032004202.18622.30.camel@miles.debisschop.net> Message-ID: On 14 Sep 2002, Karl DeBisschop wrote: > > 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. > I would prefer to make the performance data part of the 1.3.x release and release 1.3.0 with additional stable plugins. It would also be useful to discuss the overall size of the retrun string and its impact in the nagios architecture. We are currently limited by the size on the non-interleaved pipe message size for passively submitted results. Do we want to differentiate plugins between active and passive (I would think not..) I thinks if a list of parameters to be measured from the existing plugins could be developed (via contributions :) then we could decide on a base set of parameters and naming guidelines for the parameters. >From a diskio perspective, I would like to minimize or coordinate diskio as much as possible for the perfdata - does this mean that nagios core would have to support aggregate perfdata in addition to aggregate status? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atonns at mail.ivillage.com Wed Sep 25 16:56:00 2002 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Wed, 25 Sep 2002 10:56:00 -0400 Subject: [Nagiosplug-devel] RE: performance data from p lugins - does it exist? Message-ID: > From a diskio perspective, I would like to minimize or coordinate diskio > as much as possible for the perfdata - does this mean that nagios core > would have to support aggregate perfdata in addition to aggregate status? my gut feel on this is to let the open source model work in your favor. it looks like the general populace hasn't moaned or groaned about the fact that performance data is missing. however, there are a few that would like to have the perf data (and generally know what they want to do with it). i think that once the data is provided with the plugins, a few methods for rationally collecting / displaying this data will arise. the core developers can take the one that fits best with the nagios core and integrate it later. or possibly keep it managed as a "key addon" like nrpe is right now. -- "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 CTIEXCH-SA at emp.ctc.net Wed Sep 25 16:59:01 2002 From: CTIEXCH-SA at emp.ctc.net (System Attendant) Date: Wed, 25 Sep 2002 10:59:01 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: nagios-users-request at lists.sourceforge.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Rule #4 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2002-09-25\10-59-00.16488 E-mail filter has detected questionable content. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Wed Sep 25 17:09:56 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Wed, 25 Sep 2002 17:09:56 +0200 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. In-Reply-To: References: Message-ID: <20020925170956.6e7c5458.freddy.frouin@fluxus.net> Just look on how Microsoft eXchange SuX... this software is really unable to understand mail headers... pff... really great thanks to the free development community to produce some goods products as nagios... just think that poeple are giving so much money to Micros_ft, but for what ? just for that bellow... incredible... On Wed, 25 Sep 2002 10:59:01 -0400 System Attendant wrote: > **************** eManager Notification ***************** > > The following mail was blocked since it contains sensitive content. > > Source mailbox: nagios-users-request at lists.sourceforge.net > Destination mailbox(es): nagios-users at lists.sourceforge.net > Rule/Policy: Rule #4 > Action: Quarantine to C:\Program > Files\Trend\SMCF\Quarantine\2002-09-25\10-59-00.16488 > > E-mail filter has detected questionable content. > > ******************* End of message ********************* > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From josh.larsen at monitoredsecurity.com Wed Sep 25 19:06:03 2002 From: josh.larsen at monitoredsecurity.com (Josh Larsen, Monitored Security) Date: Wed, 25 Sep 2002 17:06:03 -0000 Subject: log rotation broken? Message-ID: <41E3B5A08CC6954FB377C2F736996ADC146497@SOC01MAIL.be.soc01.monitoredsecurity.com> Is log rotation broken for anyone else? I'm usig 1.0b6, log rotation is set to daily. The log archive (ie, nagios-09-25-2002-00.log) gets written, but the original log file doesn't get zeroed out. So my archive log files get progressively larger and viewing log data through the web interface shows multiple days worth of data for one day. I have resorted to a cron job to clear out the working log file after nagios does the rotation. I don't know if it should matter, but I have nagios logging to /var/log/nagios.log and the archives going to /home/nagios/logs/. Any ideas? I've seen some discussion about log rotation in the past, but I can't remember if there was any resolution. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From rm-rpms at gmx.net Wed Sep 25 19:17:17 2002 From: rm-rpms at gmx.net (Ramiro Morales) Date: Wed, 25 Sep 2002 14:17:17 -0300 Subject: NetSaint -> Nagios: Retention data conversion Message-ID: <3D91C56D.26570.A21720@localhost> Hi all, I've just finished putting together (attached) a quick script to convert the status.sav NetSaint retention data file to the new format used by Nagios. This n2n-* script is the third of a set I made for inclusion on my Nagios RPM package that helps in migrate from NetSaint (the other two scripts migrate log files [using the rename command as suggested by the Nagios doc] and object definition files [using Ethan's convertcfg tool] respectively). The script works great for me with both file formats used by different NetSaint version but I have no previous Perl progra- mming experience and I'm posting it so people can test/use and contribute changes and enhancements. Ethan may even want to include [a variation of it] in the Nagios tarball, perhaps filling the value of the $nagios_version variable with a appropiate Nagios version token at ./configure time so it keeps synchronized with future software/retention data file format versions. For people going to test the script: Dont'forget to stop NetSaint before using the retention data as the NetSaint process updates it on exit. Thanks. - Ramiro -------------- next part -------------- #!/usr/bin/perl -wT # n2n-retention.pl # # Convert NetSaint retention data files to the new Nagios format. # # Ramiro Morales no strict 'refs'; sub usage { print <] Options: --pfp --ppp --hfp --hpp --sfp --spp --soos --sct EOT exit 1; } my ($ftype, $ldata, $ltype, @fields, $i, $limit); $ftype = 0; $pfp = $ppp = $hfp = $hpp = $sfp = $spp = $soos = $sct = 0; my $nagios_version = "1.0"; # Process command line options while (@ARGV && $ARGV[0] =~ /^--(.+)/ && (shift, ($_ = $1), 1)) { /^(pfp|ppp|hfp|hpp|sfp|spp|soos|sct)$/ && ($$1 = shift @ARGV); usage if (!defined $$1 || $$1 !~ /[01]/); } @ARGV = ($ARGV[0]) unless @ARGV <= 1; unshift (@ARGV, '-') unless @ARGV; while (<>) { chomp; $ldata = $_; # Detect the format of the input file #Trying to process an already converted file? if ($ldata =~ /#\ Nagios.+Retention\ File/) { die "This file is already a Nagios status retention file"; } # Status retention data file, pre NetSaint 0.0.7a5 format if ($ldata =~ /#\ NetSaint\ Host\/Service/) { $ftype = 1; } # status retention data file, post NetSaint 0.0.7a5 format if ($ldata =~ /#\ NetSaint.+Retention\ File/) { $ftype = 2; } die "Unknown file type" if ($ftype == 0); if ($. == 1) { print "# Nagios $nagios_version Retention File\n"; next; } # If the record has retention data for an entity, detect the type if ($ldata =~ /^(PROGRAM|HOST|SERVICE): /) { $ltype = $1; $ldata =~ s/^$ltype: //; } # Process records that have retention data for an entity, # the rest of the records will fall thru if (defined ( $ltype ) ) { if ($ltype eq "PROGRAM") { @fields = split(';', $ldata, 8); # Insert new fields as required by the new format if (@fields == 5) { push(@fields, 1); } if (@fields < 8) { push(@fields, $pfp, $ppp); } } if ($ltype eq "HOST") { $limit = ($ftype == 1)?13:15; @fields = split(';', $ldata, $limit); # Insert new fields as required by the new format if ($ftype == 1) { $fields[16] = $fields[12]; $fields[12] = 1; $fields[15] = time; } else { @fields[15,16] = @fields[13,14]; } $fields[13] = $hfp; $fields[14] = $hpp; } if ($ltype eq "SERVICE") { $limit = ($ftype == 1)?16:18; @fields = split(';', $ldata, $limit); # Insert new fields as required by the new format if ($ftype == 1) { $fields[21] = $fields[15]; @fields[5..15] = @fields[4..14]; $fields[16] = 1; $fields[20] = time; } else { @fields[20,21] = @fields[16,17]; @fields[5..16] = @fields[4..15]; } $fields[4] = $sct; $fields[17] = $sfp; $fields[18] = $spp; $fields[19] = $soos; } # Assemble the new record if ( defined ( @fields ) ) { $ldata = "$ltype: $fields[0]"; for ($i = 1; $i < @fields; $i++) { $ldata .= ";$fields[$i]"; } } } undef @fields; undef $ltype; print "$ldata\n"; close ARGV if eof; } #eof From Richard.Wu at fusepoint.com Wed Sep 25 19:52:56 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Wed, 25 Sep 2002 10:52:56 -0700 Subject: [Nagiosplug-devel] RE: performance data from plugins - does it exist? Message-ID: <77F055FA968580429F4546414D8C10E70C2F4D@s102b.rhcci.net> Hi, sg: Glad to hear that perfdata will be addressed in the core level. It is useful for users to look back for a while and do the trending. However, not every monitor is candidate for perfdata, only some of them are interested. So if you can put a perdata configuration per monitor level, it will be very helpful. Richard Wu -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, September 25, 2002 6:38 AM To: Karl DeBisschop Cc: Jeremy Tinley; nagiosplug-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagiosplug-devel] RE: [Nagios-users] performance data from plugins - does it exist? On 14 Sep 2002, Karl DeBisschop wrote: > > 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. > I would prefer to make the performance data part of the 1.3.x release and release 1.3.0 with additional stable plugins. It would also be useful to discuss the overall size of the retrun string and its impact in the nagios architecture. We are currently limited by the size on the non-interleaved pipe message size for passively submitted results. Do we want to differentiate plugins between active and passive (I would think not..) I thinks if a list of parameters to be measured from the existing plugins could be developed (via contributions :) then we could decide on a base set of parameters and naming guidelines for the parameters. >From a diskio perspective, I would like to minimize or coordinate diskio as much as possible for the perfdata - does this mean that nagios core would have to support aggregate perfdata in addition to aggregate status? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Daniel.Rusch at GlobalCrossing.com Wed Sep 25 20:09:00 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 25 Sep 2002 14:09:00 -0400 Subject: log rotation broken? Message-ID: <0DA06E553C3BD511823500508BB8965A0201211B@exnadetmbx3.ams.gblxint.com> Mine seems to be working fine, I upgraded to 1.0b6 last week (9/19). I don't think it matters, but I do stop and restart mine a few times a day (it's used for development and prototyping). -----Original Message----- From: Josh Larsen, Monitored Security [mailto:josh.larsen at monitoredsecurity.com] Sent: Wednesday, September 25, 2002 12:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] log rotation broken? Is log rotation broken for anyone else? I'm usig 1.0b6, log rotation is set to daily. The log archive (ie, nagios-09-25-2002-00.log) gets written, but the original log file doesn't get zeroed out. So my archive log files get progressively larger and viewing log data through the web interface shows multiple days worth of data for one day. I have resorted to a cron job to clear out the working log file after nagios does the rotation. I don't know if it should matter, but I have nagios logging to /var/log/nagios.log and the archives going to /home/nagios/logs/. Any ideas? I've seen some discussion about log rotation in the past, but I can't remember if there was any resolution. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From cristian at alestraidc.net.mx Wed Sep 25 20:40:32 2002 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Wed, 25 Sep 2002 13:40:32 -0500 Subject: change messages In-Reply-To: <0DA06E553C3BD511823500508BB8965A0201211B@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A0201211B@exnadetmbx3.ams.gblxint.com> Message-ID: RE: [Nagiosplug-devel] RE: [Nagios-users] performance data from plugins - does it exist?Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Wed Sep 25 21:15:42 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 25 Sep 2002 15:15:42 -0400 Subject: change messages Message-ID: the messages are defined in misccommands.cfg hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 2:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change messages Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Wed Sep 25 21:55:59 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 25 Sep 2002 15:55:59 -0400 Subject: Disk Usage Counter Message-ID: <5593DA408212D511B0910002A513501F01D28744@phsexch20.mgh.harvard.edu> Hi there, I am using the Disk Usage counter on three machines: the first two are Red Hat 7.3 machines. The first is running on three disks that are configured via a hard disk array. The file name for the array disk is /dev/sda while the second machine is on a single hard drive and its filename is /dev/hda1. The third machine an HP-UX 10.20 workstation, and its disk file name is /dev/vg00. When the counters are displayed on the web page, the diskarray machine has an unknown status and does not show any disk usage while the the other two machines show a disk usage of 87024kB (90%) free. I have checked the filesystems on both of these machines, and have confirmed that readout is inaccurate. Is there an additional setting that I need to configure? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Wed Sep 25 22:09:46 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 25 Sep 2002 16:09:46 -0400 Subject: Disk Usage Counter Message-ID: <5593DA408212D511B0910002A513501F01D28745@phsexch20.mgh.harvard.edu> Hi J, When run with the -V option I get the following: CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2 -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 4:05 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter What output do you get when you run the check_disk command from the command line? -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, September 25, 2002 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disk Usage Counter Hi there, I am using the Disk Usage counter on three machines: the first two are Red Hat 7.3 machines. The first is running on three disks that are configured via a hard disk array. The file name for the array disk is /dev/sda while the second machine is on a single hard drive and its filename is /dev/hda1. The third machine an HP-UX 10.20 workstation, and its disk file name is /dev/vg00. When the counters are displayed on the web page, the diskarray machine has an unknown status and does not show any disk usage while the the other two machines show a disk usage of 87024kB (90%) free. I have checked the filesystems on both of these machines, and have confirmed that readout is inaccurate. Is there an additional setting that I need to configure? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From gwartney at hotmail.com Wed Sep 25 22:37:13 2002 From: gwartney at hotmail.com (Scott Gwartney) Date: Wed, 25 Sep 2002 13:37:13 -0700 Subject: 3D Mapping woes Message-ID: I'm stumped! I'm having considerable trouble trying to manualy map 3D objects! I've specified "default_statuswrl_layout=0" in cgi.cfg, and in my hostextinfo.cfg I have the following: define hostextinfo { host_name Router notes_url http://host.url icon_image router40.png icon_image_alt Router vrml_image router40.png statusmap_image router40.png gd2_image router40.gd2 # 2d_coords 100,10 3d_coords 100.0,50.0,2.0 } (I have about 7 similar entries with different .png/2d/3d etc..) However, when I check the "3-D Status Map" in Nagios the page displays "You have not supplied any 3-D drawing coordinates. Read the FAQs for more information on doing this". If I used the above configuration in my hostextinfo.cfg with "default_statuswrl_layout=0" in the cgi.cfg, it reads the "z_3d" coordinates, but not the x and y... I'm sure it's a simple oversight, but I'm confounded! TIA --Scott p.s. my icons in the 3-D map are overlaid by green cubes; if anyone has an idea on how to get rid of that, I'm all ears! _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Wed Sep 25 22:41:40 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 25 Sep 2002 16:41:40 -0400 Subject: Disk Usage Counter Message-ID: <5593DA408212D511B0910002A513501F01D28746@phsexch20.mgh.harvard.edu> Hi J, I included the following line in the checkcommands.cfg file: COMMAND_LINE /USR/LOCAL/NAGIOS/LIBEXEC/CHECK_DISK -W 95 -C 95 -P /DEV/HDA1 For good measure I restarted the program. The app came back up but when I checked via the web interface, the same status information as before appeared. -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 4:16 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter You have a check_disk line configured in your check commands file. Something like: $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ Fill in the variables (the ARGx's from your services.cfg file)... /path/to/check_disk -w 95 -c 95 -p /dev/vg00 Now, run THAT from the command line (much like Nagios will) and see what you get. -J -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, September 25, 2002 3:10 PM To: 'Jeremy Tinley' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Disk Usage Counter Hi J, When run with the -V option I get the following: CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2 -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 4:05 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter What output do you get when you run the check_disk command from the command line? -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, September 25, 2002 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disk Usage Counter Hi there, I am using the Disk Usage counter on three machines: the first two are Red Hat 7.3 machines. The first is running on three disks that are configured via a hard disk array. The file name for the array disk is /dev/sda while the second machine is on a single hard drive and its filename is /dev/hda1. The third machine an HP-UX 10.20 workstation, and its disk file name is /dev/vg00. When the counters are displayed on the web page, the diskarray machine has an unknown status and does not show any disk usage while the the other two machines show a disk usage of 87024kB (90%) free. I have checked the filesystems on both of these machines, and have confirmed that readout is inaccurate. Is there an additional setting that I need to configure? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bryan.irvine at eastsidejournal.com Thu Sep 26 00:43:31 2002 From: bryan.irvine at eastsidejournal.com (Bryan Irvine) Date: 25 Sep 2002 15:43:31 -0700 Subject: Novell Message-ID: <1032993811.9376.167.camel@bryan> How do I add a Novell server to be checked? It doesn't have an IP address. What do I do with the hosts files? Bryan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From npaufler at incentre.net Thu Sep 26 00:59:13 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Wed, 25 Sep 2002 16:59:13 -0600 Subject: feature requests? Message-ID: <089801c264e7$2ac1eb90$99d54bce@kallisti> What's the best way to submit a feature request? I'm starting to add quite a number of hosts to my configuration and I was thinking that there was probably a better way of doing things. Imagine a directory structure like this: /hosts /hostgroups /contacts .... etc etc ... Each of those directories can then contain an infinite number of config files which are all read and included when Nagios starts up. This would be significantly easier to read and would allow you to break things down with no real effort. Want to add a new host? Just add a new file to the /hosts directory. Want to remove one? Just remove the file. If that was too much seperation, you could have groups of related servers in one config file so they could be handled en masse. Other benefits would be that this would make it even easier to write tools to generate config files for the different sections since they wouldn't need to actually edit any files, just add or remove them. Thoughts? Nicholas Paufler Systems Administrator The Internet Centre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From cristian at alestraidc.net.mx Thu Sep 26 01:06:32 2002 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Wed, 25 Sep 2002 18:06:32 -0500 Subject: change messages In-Reply-To: References: Message-ID: RE: [Nagiosplug-devel] RE: [Nagios-users] performance data from plugins - does it exist?excelent... but,,, how change CRITICAL with CRITICO (in spanish) and, PROBLEM with (PROBLEMA) in spanish... and so on... $NOTIFICATIONTYPE$ $SERVICESTATE$ thanks -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: mi?rcoles, 25 de septiembre de 2002 14:16 Para: 'Cristian Trujillo G.'; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages the messages are defined in misccommands.cfg hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 2:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change messages Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Wed Sep 25 01:41:10 2002 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 24 Sep 2002 18:41:10 -0500 Subject: feature requests? In-Reply-To: <089801c264e7$2ac1eb90$99d54bce@kallisti> References: <089801c264e7$2ac1eb90$99d54bce@kallisti> Message-ID: <3D90B1C6.25750.2F4AC9@localhost> The best way to submit feature requests is by sending a note to the nagios-devel list. The feature you're requesting alread exists through use of the cfg_dir directive in the main config file. Example: cfg_dir=/hosts will cause Nagios to read all config files (with a .cfg extension) in the /hosts directory. On 25 Sep 2002 at 16:59, Nicholas Paufler wrote: > What's the best way to submit a feature request? > > I'm starting to add quite a number of hosts to my configuration and I was > thinking that there was probably a better way of doing things. > > Imagine a directory structure like this: > > /hosts > /hostgroups > /contacts > .... > etc etc > ... > > Each of those directories can then contain an infinite number of config > files which are all read and included when Nagios starts up. This would be > significantly easier to read and would allow you to break things down with > no real effort. > Want to add a new host? Just add a new file to the /hosts directory. Want to > remove one? Just remove the file. If that was too much seperation, you could > have groups of related servers in one config file so they could be handled > en masse. > > Other benefits would be that this would make it even easier to write tools > to generate config files for the different sections since they wouldn't need > to actually edit any files, just add or remove them. > > Thoughts? > > Nicholas Paufler > Systems Administrator > The Internet Centre > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From whiatt at upstanding.com Thu Sep 26 01:44:18 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Wed, 25 Sep 2002 16:44:18 -0700 Subject: Default Service State Message-ID: <1363CF56CD255F448CEA231C4A63254B010529@exch-be-01.upstanding.com> Is there a way to make Nagios default a service state for some passive services I have to Ok? I have about 8 services per server (They receive Dell SMTP traps via snmptrapd for hardware failures) and they are all at Pending UNLESS a trap is sent first. I would like to default these to "Ok" if possible. Thank You william -------------- next part -------------- An HTML attachment was scrubbed... URL: From whiatt at upstanding.com Thu Sep 26 01:46:57 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Wed, 25 Sep 2002 16:46:57 -0700 Subject: Submitting passive check results manually Message-ID: <1363CF56CD255F448CEA231C4A63254B01052A@exch-be-01.upstanding.com> If I go to the External Command Interface and attempt to submit a passive check result for a service (I.E. A trap is not sent out when the service resorts to the Ok state) I enter the information in and I.E. just sits there busy. I have just browser to another page and the service never gets updated. Any ideas? Thanks william -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.verheyen at ampersant.be Thu Sep 26 01:52:10 2002 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: 26 Sep 2002 01:52:10 +0200 Subject: feature requests? In-Reply-To: <089801c264e7$2ac1eb90$99d54bce@kallisti> References: <089801c264e7$2ac1eb90$99d54bce@kallisti> Message-ID: <1032997930.23686.17.camel@picard.enterprise.be> Isn't this possible with the 'cfg_dir=' option in nagios.cfg? "This directive is used to specify a directory which contains object configuration files that Nagios should use for monitoring. All files in the directory with a .cfg extension are processed as object config files. You can seperate your configuration files into different directories and specify multiple cfg_dir= statements to have all config files in each directory processed." Seems Nagios already got your feature request :-) On Thu, 2002-09-26 at 00:59, Nicholas Paufler wrote: > What's the best way to submit a feature request? > > I'm starting to add quite a number of hosts to my configuration and I was > thinking that there was probably a better way of doing things. > > Imagine a directory structure like this: > > /hosts > /hostgroups > /contacts > .... > etc etc > ... > > Each of those directories can then contain an infinite number of config > files which are all read and included when Nagios starts up. This would be > significantly easier to read and would allow you to break things down with > no real effort. > Want to add a new host? Just add a new file to the /hosts directory. Want to > remove one? Just remove the file. If that was too much seperation, you could > have groups of related servers in one config file so they could be handled > en masse. > > Other benefits would be that this would make it even easier to write tools > to generate config files for the different sections since they wouldn't need > to actually edit any files, just add or remove them. > > Thoughts? > > Nicholas Paufler > Systems Administrator > The Internet Centre > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Thu Sep 26 02:56:34 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 26 Sep 2002 10:56:34 +1000 Subject: Only having one message sent out per event Message-ID: <5.1.0.14.2.20020926105529.00a87ff8@imap.qut.edu.au> Arrgh - I can't find the directive to configure nagios to only send one message per event - I found the directive the other day and of course can't find it again - can someone let me know please? Thanks, ================================= 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 g.vickers at qut.edu.au Thu Sep 26 03:25:39 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 26 Sep 2002 11:25:39 +1000 Subject: Only having one message sent out per event In-Reply-To: <5.1.0.14.2.20020926105529.00a87ff8@imap.qut.edu.au> References: <5.1.0.14.2.20020926105529.00a87ff8@imap.qut.edu.au> Message-ID: <5.1.0.14.2.20020926112345.0358e8c0@imap.qut.edu.au> Gaah - i've found the directive: set notification_interval for a service or host to 0. Nagios will not re-notify a contact when a service/host is still down. Thanks and don't mind me while I sail over the edge of the world... (To strains of Monty Python) At 10:56 26/09/2002, Greg Vickers wrote: >Arrgh - I can't find the directive to configure nagios to only send one >message per event - I found the directive the other day and of course >can't find it again - can someone let me know please? > >Thanks, > >================================= >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 ================================= 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 steveneu at tiny.net Thu Sep 26 07:33:05 2002 From: steveneu at tiny.net (Steve Neuharth) Date: Thu, 26 Sep 2002 00:33:05 -0500 Subject: Internal server error when running commands (cmd.cgi) Message-ID: <3D929C11.4030009@tiny.net> I have nagios up and running (beats the pants off of BigBrother IMHO). I'm running FreeBSD 4.7 and I installed nagios straight from the ports collection. I have done this several times before and the port maintainer does a great job of scripting the install so that it works "out-of-the-box" as it were. All of the cgi's seem to work BUT I get an internal server error when I try to make cmd.cgi "do stuff" such as adding a comment, scheduling a check. My first thought was file perms on the rw directory but I cannot find anything wrong after reading the netsaint faq (this info is missing from the nagios faq btw). Here is my var/nagios dir: tiny# pwd /usr/local/var/nagios tiny# ls -l total 24502 drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log -rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 host-perfdata.out -rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock -rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw -rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 service-perfdata.out -rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log -rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav another strange thing is the nagios.cmd file: tiny# pwd /usr/local/var/nagios/rw tiny# ls -l total 0 prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd why is it a pipe? should it be? maybe, but I thought it was strange. When I "submit" something I get "Internal Server Error" and in the apache log I get: [Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature end of script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 26 07:48:01 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 26 Sep 2002 11:18:01 +0530 (IST) Subject: CPU load's effect on services Message-ID: <1165.202.88.151.191.1033019281.squirrel@www.webyarn.com> hi I want to have some advice. Does CPU load on the monitoring server (ie on which nagios is running) affects the RTA values for ping services on various hosts. I think that does. So for that , do u think that all the service checks for hosts should be dependent on CPU load check of monitoring server and if thats to be done, what should we take as warning and critical limits. -- 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 mmcclure at pneservices.com Thu Sep 26 08:08:26 2002 From: mmcclure at pneservices.com (mmcclure at pneservices.com) Date: Thu, 26 Sep 2002 01:08:26 -0500 Subject: Novell In-Reply-To: <1032993811.9376.167.camel@bryan> References: <1032993811.9376.167.camel@bryan> Message-ID: <000b01c26523$212663e0$2801a8c0@dutch> http://www.nagios.org/faqs/viewfaq.php?faq_id=31 ---------- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bryan Irvine > Sent: Wednesday, September 25, 2002 5:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Novell > > How do I add a Novell server to be checked? It doesn't have an IP > address. What do I do with the hosts files? > > > Bryan > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Sep 26 08:16:03 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 26 Sep 2002 08:16:03 +0200 Subject: log rotation broken? Message-ID: <9EA0F1554816EB499A4B1136B80E8DE27802FD@storevis.datavis.se> I couldn't get it to work in 1.0b5, but then I did not spent much time on it because I was still in the core config phase. Since then I've upgraded and now I am looking at the details, but the log-rotation works! I don't know why it did not work earlier, I tuned the permissions and log_rotation_method. The only thing I surely know I've done is the upgrade... /FredrikW -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Wed 25-Sep-02 20:09 To: 'Josh Larsen, Monitored Security'; nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] log rotation broken? Mine seems to be working fine, I upgraded to 1.0b6 last week (9/19). I don't think it matters, but I do stop and restart mine a few times a day (it's used for development and prototyping). -----Original Message----- From: Josh Larsen, Monitored Security [mailto:josh.larsen at monitoredsecurity.com] Sent: Wednesday, September 25, 2002 12:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] log rotation broken? Is log rotation broken for anyone else? I'm usig 1.0b6, log rotation is set to daily. The log archive (ie, nagios-09-25-2002-00.log) gets written, but the original log file doesn't get zeroed out. So my archive log files get progressively larger and viewing log data through the web interface shows multiple days worth of data for one day. I have resorted to a cron job to clear out the working log file after nagios does the rotation. I don't know if it should matter, but I have nagios logging to /var/log/nagios.log and the archives going to /home/nagios/logs/. Any ideas? I've seen some discussion about log rotation in the past, but I can't remember if there was any resolution. Thanks, Josh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Sep 26 08:20:09 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 26 Sep 2002 08:20:09 +0200 Subject: Disk Usage Counter Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780300@storevis.datavis.se> I am using 'nagios-statd' for this check. It works for me in Linux, Solaris and AIX. -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wed 25-Sep-02 21:55 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Disk Usage Counter Hi there, I am using the Disk Usage counter on three machines: the first two are Red Hat 7.3 machines. The first is running on three disks that are configured via a hard disk array. The file name for the array disk is /dev/sda while the second machine is on a single hard drive and its filename is /dev/hda1. The third machine an HP-UX 10.20 workstation, and its disk file name is /dev/vg00. When the counters are displayed on the web page, the diskarray machine has an unknown status and does not show any disk usage while the the other two machines show a disk usage of 87024kB (90%) free. I have checked the filesystems on both of these machines, and have confirmed that readout is inaccurate. Is there an additional setting that I need to configure? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Thu Sep 26 08:25:17 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 26 Sep 2002 16:25:17 +1000 Subject: Specifiying an contact method for winpopup messages Message-ID: <5.1.0.14.2.20020926152630.00b12980@imap.qut.edu.au> Hi all, I want to be able to define in a contact a machine name that I can send a winpopup message to. so i'll have the following commands: host-notify-by-email.command.cfg host-notify-by-pager.command.cfg host-notify-by-winpopup.command.cfg And host-notify-by-winpopup.command.cfg looks like this: define command{ command_name host-notify-by-winpopup command_line printf "\"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a $HOSTSTATE$ state.\nThe output from the host check command: $OUTPUT$" | smbclient -M $MACHINENAME$ -U "Nagios Monitoring Station" } And a contact definition contains: define contact{ ... machine_name adminstation } Obviously there isn't a macro in nagios called MACHINENAME that you can define in a contact, but you get the idea - a variable that I can define in a contact and have it passed to my winpopup command. Any ideas? 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 atul at mindsw.com Thu Sep 26 09:18:49 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 26 Sep 2002 12:48:49 +0530 (IST) Subject: check_mrtgtraf plugin units Message-ID: <2126.202.88.151.191.1033024729.squirrel@www.webyarn.com> Have somebody used the check_mrtgtraf plugin. What are the units of the warning and critical bandwidth levels that we have to give. Is it in bits or bytes or Kilobits or Kilobytes. I dont see the result of this plugin coming as OK or warning or critical.Does anybody knows why? It shows its output in Kilo Bytes per second . Can we change it to Kilobits per second as in mrtg graphs also, its shown in kilo bits per second. -- 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 mborchers at spielemax.de Thu Sep 26 12:25:24 2002 From: mborchers at spielemax.de (Borchers, Matthias) Date: Thu, 26 Sep 2002 12:25:24 +0200 Subject: Nsclient with nagios? Message-ID: <43926C914BDCC14282341005840F906708FD15@exchange.spielemax.de> Hi, i had installed a Nsclient on a windows 2000 server and i want to have data about disk status and more so, i defined in NAGIOS, a checkcommand "check_nt_disk" with 3 Arguments -l -w -c if i use the check_nt_disk from the bash it worked fine, i get the wanted information on the bash The service that i had defined for the host, is displayed on the websurface by services for this host. But i reveice an error " fileserver nt CRITICAL 26-09-2002 11:48:41 0d 0h 35m 32s 3/3 (Return code of 127 is out of bounds - plugin may be missing) I've copied the check_nt binary from the nsclient package to the libexec dir Now i've compiled the originally check_nt.c from the nsclient package with the plugins 1.3 Beta1 Nagios starts without any error or warning so my questions works nsclient written for netsaint properly with nagios ? Or do you use another plug in to get status such as Dist status, processor load and other from the windows machines ? Can anyone help me ? Thanks Mit freundlichen Gr?ssen, Matthias Borchers Systemadministration SPIELE MAX AG Haynauer Stra?e 72A D-12249 Berlin Tel: +49 (30) 767 904 -701 Fax: +49 (30) 767 904 -19 Internet: http://www.spielemax.de Email: mborchers at spielemax.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Thu Sep 26 12:59:30 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 26 Sep 2002 16:29:30 +0530 (IST) Subject: Additional information in notifications Message-ID: <4237.202.88.151.191.1033037970.squirrel@www.webyarn.com> hi When the notifications are sent out by Nagios, it sends them by send notify-by-email or for host its host-notify-by-email which we set in contacts.cfg. I want to send ps snapshot in the mail sent out when cpu load increases ie on Load check service, but nagios doesn't let me configure different notify commands for each service . As a result, ps snapshot will go with each mail for service alerts whereas it should go for cpu load checks only. I have seen in misccommands.cfg that $output$ is used for sending additional information.How can we change the $output$ value to suit our needs. Any Pointers???? -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pspa at gp.novis.pt Thu Sep 26 13:58:26 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 26 Sep 2002 12:58:26 +0100 Subject: Additional information in notifications In-Reply-To: <4237.202.88.151.191.1033037970.squirrel@www.webyarn.com>; from atul@mindsw.com on Thu, Sep 26, 2002 at 04:29:30PM +0530 References: <4237.202.88.151.191.1033037970.squirrel@www.webyarn.com> Message-ID: <20020926125826.A3429@gp.novis.pt> Hmm.. a suggestion: Create your own 'filtering' script, and use that script as the notify-by-email and host-notify-by-email command. On that script, check what type of alarm you have: - If it is a service that you want a ps sent with or - if is is NOT a service that you want a ps sent with and proceed accordingly ( i.e., attach or not the ps with the mail) :-) It is just an idea ... Hugz, On Thu, Sep 26, 2002 at 04:29:30PM +0530, Atul Gosain wrote: > hi > > When the notifications are sent out by Nagios, it sends them by send > notify-by-email or for host its host-notify-by-email which we set in > contacts.cfg. > I want to send ps snapshot in the mail sent out when cpu load increases ie > on Load check service, but nagios doesn't let me configure different > notify commands for each service . As a result, ps snapshot will go with > each mail for service alerts whereas it should go for cpu load checks > only. > > I have seen in misccommands.cfg that $output$ is used for sending > additional information.How can we change the $output$ value to suit our > needs. > > Any Pointers???? > > > -- > Atul Gosain > Mindsw Software and Services Pvt. Ltd. > A-50, Sector-39 > Noida(UP). > ph no: 4500369,4575991 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > 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 freddy.frouin at fluxus.net Thu Sep 26 14:21:07 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 26 Sep 2002 14:21:07 +0200 Subject: Nsclient with nagios? In-Reply-To: <43926C914BDCC14282341005840F906708FD15@exchange.spielemax.de> References: <43926C914BDCC14282341005840F906708FD15@exchange.spielemax.de> Message-ID: <20020926142107.229f3949.freddy.frouin@fluxus.net> Hi, The error message "Return code of 127 is out of bounds - plugin may be missing" tell the binary was not accessible. Could put there your exact check_nt_disk command definition in order to check it ? Freddy. On Thu, 26 Sep 2002 12:25:24 +0200 "Borchers, Matthias" wrote: > Hi, > > i had installed a Nsclient on a windows 2000 server and i want to have > data about disk status and more > so, i defined in NAGIOS, a checkcommand "check_nt_disk" with 3 Arguments > -l -w -c > if i use the check_nt_disk from the bash it worked fine, i get the > wanted information on the bash > The service that i had defined for the host, is displayed on the > websurface by services for this host. > But i reveice an error " > > fileserver > > nt > ce=nt> > CRITICAL 26-09-2002 11:48:41 0d 0h 35m 32s 3/3 (Return > code of 127 is out of bounds - plugin may be missing) > > I've copied the check_nt binary from the nsclient package to the libexec > dir > Now i've compiled the originally check_nt.c from the nsclient package > with the plugins 1.3 Beta1 > Nagios starts without any error or warning > > > so my questions > works nsclient written for netsaint properly with nagios ? Or do you use > another plug in to get status such as Dist status, processor load and > other from the windows machines ? > Can anyone help me ? > > Thanks > > > > Mit freundlichen Gr?ssen, > > Matthias Borchers > Systemadministration > > SPIELE MAX AG > Haynauer Stra?e 72A > D-12249 Berlin > Tel: +49 (30) 767 904 -701 > Fax: +49 (30) 767 904 -19 > Internet: http://www.spielemax.de > Email: mborchers at spielemax.de > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Sep 26 14:34:58 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 08:34:58 -0400 Subject: change messages Message-ID: looks to me like it is in common/statusdata.c i expect that you could just change the status_strings. i don't know what sort of other things would need to be changed but it is worth a try. anyone else?? hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 7:07 PM To: Bishop, Dean; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] change messages excelent... but,,, how change CRITICAL with CRITICO (in spanish) and, PROBLEM with (PROBLEMA) in spanish... and so on... $NOTIFICATIONTYPE$ $SERVICESTATE$ thanks -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: mi?rcoles, 25 de septiembre de 2002 14:16 Para: 'Cristian Trujillo G.'; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages the messages are defined in misccommands.cfg hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 2:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change messages Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 14:39:09 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 08:39:09 -0400 Subject: Default Service State Message-ID: quick and dirty: write a script to run from the command line that jams the desired state into the external command pipe. -----Original Message----- From: Hiatt, William [mailto:whiatt at upstanding.com] Sent: Wednesday, September 25, 2002 7:44 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Default Service State Is there a way to make Nagios default a service state for some passive services I have to Ok? I have about 8 services per server (They receive Dell SMTP traps via snmptrapd for hardware failures) and they are all at Pending UNLESS a trap is sent first. I would like to default these to "Ok" if possible. Thank You william -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 14:47:23 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 08:47:23 -0400 Subject: Specifiying an contact method for winpopup mes sages Message-ID: could you use the contact's "pager" variable to store the machinename?? Then use $CONTACTPAGER$ in your smbclient call? also, someone posted a few days ago saying that there was a patch available for smbclient that allowed you to send winpopups to a username. You might chase that down too and just ensure that your Nagios contact name is syncronized with your windows user name. hth, dean -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Thursday, September 26, 2002 2:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Specifiying an contact method for winpopup messages Hi all, I want to be able to define in a contact a machine name that I can send a winpopup message to. so i'll have the following commands: host-notify-by-email.command.cfg host-notify-by-pager.command.cfg host-notify-by-winpopup.command.cfg And host-notify-by-winpopup.command.cfg looks like this: define command{ command_name host-notify-by-winpopup command_line printf "\"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a $HOSTSTATE$ state.\nThe output from the host check command: $OUTPUT$" | smbclient -M $MACHINENAME$ -U "Nagios Monitoring Station" } And a contact definition contains: define contact{ ... machine_name adminstation } Obviously there isn't a macro in nagios called MACHINENAME that you can define in a contact, but you get the idea - a variable that I can define in a contact and have it passed to my winpopup command. Any ideas? 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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Thu Sep 26 14:50:52 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 26 Sep 2002 14:50:52 +0200 Subject: Feature request... Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780301@storevis.datavis.se> Shouldn't everything be a little bit easier if you cold assign a host-group to a service instead of only hosts? I have some standard-services that should be run an all linux-boxes, and it would be great if I did not have to add every new host to all those service-definitions, but only to the host-group. /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From AHKAPLAN at PARTNERS.ORG Thu Sep 26 14:50:54 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 26 Sep 2002 08:50:54 -0400 Subject: Disk Usage Counter Message-ID: <5593DA408212D511B0910002A513501F01D28748@phsexch20.mgh.harvard.edu> Hi J, When the command is run from within my shell the output is DISK OK - [87024 kB (90%) free on /dev/hda1. This points to my /boot partition. This means the counter is reading it strictly on my machine and not the others. What did I miss here? -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 5:30 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter Aside from it being in all CAPS, that looks ok. What happens when you run that from your own shell? -J -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, September 25, 2002 3:42 PM To: 'Jeremy Tinley' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Disk Usage Counter Hi J, I included the following line in the checkcommands.cfg file: COMMAND_LINE /USR/LOCAL/NAGIOS/LIBEXEC/CHECK_DISK -W 95 -C 95 -P /DEV/HDA1 For good measure I restarted the program. The app came back up but when I checked via the web interface, the same status information as before appeared. -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 4:16 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter You have a check_disk line configured in your check commands file. Something like: $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ Fill in the variables (the ARGx's from your services.cfg file)... /path/to/check_disk -w 95 -c 95 -p /dev/vg00 Now, run THAT from the command line (much like Nagios will) and see what you get. -J -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, September 25, 2002 3:10 PM To: 'Jeremy Tinley' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Disk Usage Counter Hi J, When run with the -V option I get the following: CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2 -----Original Message----- From: Jeremy Tinley [mailto:jtinley at unirez.com] Sent: Wednesday, September 25, 2002 4:05 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Disk Usage Counter What output do you get when you run the check_disk command from the command line? -J -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, September 25, 2002 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disk Usage Counter Hi there, I am using the Disk Usage counter on three machines: the first two are Red Hat 7.3 machines. The first is running on three disks that are configured via a hard disk array. The file name for the array disk is /dev/sda while the second machine is on a single hard drive and its filename is /dev/hda1. The third machine an HP-UX 10.20 workstation, and its disk file name is /dev/vg00. When the counters are displayed on the web page, the diskarray machine has an unknown status and does not show any disk usage while the the other two machines show a disk usage of 87024kB (90%) free. I have checked the filesystems on both of these machines, and have confirmed that readout is inaccurate. Is there an additional setting that I need to configure? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Thu Sep 26 15:12:17 2002 From: w.moser at conova.com (Wolfgang Moser) Date: Thu, 26 Sep 2002 15:12:17 +0200 Subject: Notification Interval Problem Message-ID: <3D9307B1.9080905@conova.com> Hello!! I have migrated from Netsaint to Nagios 1.0b5, so far everything works fine. But I have a problem with the notification_interval of my service. Although the "notification_intervall = 60" in the service.cfg, I get a second notification just 3 minutes later. I watched the service for a while and noticed that every time a notification is send a second notification 3 minutes later is send. In my case I get every hour two notifications. As far as I know, with my settings I should get renotified after an hour, am I right ??????? Do I overlook something important, or is this a Bug ???? I attached my settings!!!! I would appreciate to get some help. Thanks in advance Wolfgang #### Nagios.cfg ######## I have checked the "interval_length = 60" in my nagios.cfg. #### SERVICE DEFINITION ###### define service{ use generic-service ; Name of service template to use host_name reed service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 5 retry_check_interval 1 contact_groups unix-admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_disk_reed } ###### 'reed' host definition ##### define host{ use generic-host ; Name of host template to use host_name reed alias reed address xxx.xxx.xxx.xxx parents someone check_command check-host-alive max_check_attempts 5 notification_interval 99 notification_period 24x7 notification_options d,u,r } -------------- 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 russell at quadrix.com Thu Sep 26 15:41:34 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 26 Sep 2002 09:41:34 -0400 Subject: Feature request... References: <9EA0F1554816EB499A4B1136B80E8DE2780301@storevis.datavis.se> Message-ID: <3D930E8E.4090103@quadrix.com> You can do this already. define service{ service_description HTTP hostgroup_name my_web_servers contact_groups admins ..... } It works beautifully. -Russell Fredrik W?nglund wrote: >Shouldn't everything be a little bit easier if you cold assign a host-group to a service instead of only hosts? >I have some standard-services that should be run an all linux-boxes, and it would be great if I did not have to add every new host to all those service-definitions, but only to the host-group. > > > > >/FredrikW > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Sep 26 15:44:33 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 09:44:33 -0400 Subject: multiprocessor capable?? Message-ID: Good morning all, Does nagios take advantage of dual processors?? i am in a bind right now in that my sandbox has been working too well. Alas, it has reached it's limit. My options, an old dual-processor P-II 350 or a P-III 400. thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From steveneu at tiny.net Thu Sep 26 15:44:40 2002 From: steveneu at tiny.net (Steve Neuharth) Date: Thu, 26 Sep 2002 08:44:40 -0500 Subject: Internal server error when running commands (cmd.cgi) Message-ID: <3D930F48.5080108@tiny.net> I have nagios up and running (beats the pants off of BigBrother IMHO). I'm running FreeBSD 4.7 and I installed nagios straight from the ports collection. I have done this several times before and the port maintainer does a great job of scripting the install so that it works "out-of-the-box" as it were. All of the cgi's seem to work BUT I get an internal server error when I try to make cmd.cgi "do stuff" such as adding a comment, scheduling a check. My first thought was file perms on the rw directory but I cannot find anything wrong after reading the netsaint faq (this info is missing from the nagios faq btw). Here is my var/nagios dir: tiny# pwd /usr/local/var/nagios tiny# ls -l total 24502 drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log -rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 host-perfdata.out -rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock -rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw -rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 service-perfdata.out -rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log -rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav another strange thing is the nagios.cmd file: tiny# pwd /usr/local/var/nagios/rw tiny# ls -l total 0 prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd why is it a pipe? should it be? maybe, but I thought it was strange. When I "submit" something I get "Internal Server Error" and in the apache log I get: [Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature end of script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jmarquart at planalytics.com Thu Sep 26 16:17:52 2002 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Thu, 26 Sep 2002 10:17:52 -0400 Subject: multiprocessor capable?? Message-ID: <85256C40.004E8AE2.00@mailhost.planalytics.com> sure it is. nagios can run many checks concurrently. since it forks off these processes, it is up to the SMP implementation to handle which processor to run on. Thus - nagios should be able to run on asmany processors as you like. -j "Bishop, Dean" on 09/26/2002 09:44:33 AM To: "'nagios-users at lists.sourceforge.net'" cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] multiprocessor capable?? Good morning all, Does nagios take advantage of dual processors?? i am in a bind right now in that my sandbox has been working too well. Alas, it has reached it's limit. My options, an old dual-processor P-II 350 or a P-III 400. thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Aaron.Conaway at HOSystems.com Thu Sep 26 16:29:44 2002 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Thu, 26 Sep 2002 10:29:44 -0400 Subject: Host Assumed to Be Up Message-ID: <7D55A9A792CFA24C8918768B5F977A2141A0D1@quigon.hosystems> Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 16:58:11 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 10:58:11 -0400 Subject: multiprocessor capable?? Message-ID: cool. sorry i am not very familiar with SMP. i understand that A) linux can deal with SMP and B) nagios forks it's checks as individual processes . Here is where i need clarification. If Nagios is forking theses checks off as individual processes does that mean that it is the OS's responsibility to allocate the processes (aka checks) to the processors? thanks, dean -----Original Message----- From: jmarquart at planalytics.com [mailto:jmarquart at planalytics.com] Sent: Thursday, September 26, 2002 10:18 AM To: Bishop, Dean Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] multiprocessor capable?? sure it is. nagios can run many checks concurrently. since it forks off these processes, it is up to the SMP implementation to handle which processor to run on. Thus - nagios should be able to run on asmany processors as you like. -j "Bishop, Dean" on 09/26/2002 09:44:33 AM To: "'nagios-users at lists.sourceforge.net'" cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] multiprocessor capable?? Good morning all, Does nagios take advantage of dual processors?? i am in a bind right now in that my sandbox has been working too well. Alas, it has reached it's limit. My options, an old dual-processor P-II 350 or a P-III 400. thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andy at droidmcse.com Thu Sep 26 17:13:04 2002 From: andy at droidmcse.com (Andy) Date: Thu, 26 Sep 2002 11:13:04 -0400 Subject: Service Dependencies Message-ID: <006a01c2656f$3640b220$0501a8c0@asus> Hey Gang, Been using Netsaint for a while and switching over to nagios. We have well over 400 hosts with many more to add. Most of them have at least the service of ping and I have run into the situation where if the ping time on a router goes crappy, the devices that are depending on that box and the ones below it will also go down, I've seen the need to create service dependencies on services between hosts with the check_ping service defined. I created a home grown database to store the config files that would be generated with the program needs to be restarted. I queried the database to find all of the boxes that had the check_ping service and auto-created service dependencies for this and a couple other services. I'm trying to avoid a db for Nagios mainly because of the object orientedness of the config files that let you dramatically streamline the number of 'things' that you end up creating. However, I'm kind of at a loss on how to create this setup quickly and easily. I've already written a routine to look through the hosts.cfg file and file all of the parents and their associated children. Then I will have to pull the data from the services.cfg file to find all of those that have check_ping on both parent & host. Then take that data and push it into a servicedependencies.cfg file. I'm almost there, but I was just curious how other people handle massive numbers of hosts. I have a few other scenarios. Like check_netsaint_client is just a check_tcp -p 1248. If that fails, then I suppress the NT checks. I'm just trying to keep the noise down mainly. Great program and great forums! Thanks! Andy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Sep 26 17:20:29 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 11:20:29 -0400 Subject: Host Assumed to Be Up Message-ID: The way that Nagios works is that it check services first. If the service associated with a host is checking "OK" then Nagios "assumes" that the host is OK therefore there is no need to check the host itself. hth, dean -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Thursday, September 26, 2002 10:30 AM To: Nagios User List (E-mail) Subject: [Nagios-users] Host Assumed to Be Up Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 17:24:06 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 11:24:06 -0400 Subject: multiprocessor capable?? Message-ID: sweetness. thanks guys -----Original Message----- From: Ewan Leith [mailto:ejl at man.fwltech.com] Sent: Thursday, September 26, 2002 11:23 AM To: 'Bishop, Dean' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] multiprocessor capable?? Linux will allocate the processes as the are generated to one or other cpu without your intervention. the central nagios process will always run on just 1 cpu, but all your checks and cgi processes (plus of course apache) will balance out over the 2 cpus. Ewan > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: 26 September 2002 15:58 > To: 'jmarquart at planalytics.com' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] multiprocessor capable?? > > > cool. > > sorry i am not very familiar with SMP. > > i understand that A) linux can deal with SMP and B) nagios > forks it's checks > as individual processes . > > Here is where i need clarification. If Nagios is forking > theses checks off > as individual processes does that mean that it is the OS's > responsibility to > allocate the processes (aka checks) to the processors? > > thanks, > dean > > > > -----Original Message----- > From: jmarquart at planalytics.com [mailto:jmarquart at planalytics.com] > Sent: Thursday, September 26, 2002 10:18 AM > To: Bishop, Dean > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] multiprocessor capable?? > > > > > sure it is. > > nagios can run many checks concurrently. since it forks off these > processes, it > is up to the SMP implementation to handle which processor to run on. > > Thus - nagios should be able to run on asmany processors as you like. > > -j > > > > > > > "Bishop, Dean" on 09/26/2002 09:44:33 AM > > > > > To: "'nagios-users at lists.sourceforge.net'" > > cc: (bcc: John J. der Schalla Marquart/Planalytics) > > Subject: [Nagios-users] multiprocessor capable?? > > > > > Good morning all, > > Does nagios take advantage of dual processors?? i am in a bind > right now in that my sandbox has been working too well. Alas, it has > reached it's limit. My options, an old dual-processor P-II > 350 or a P-III > 400. > > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From ejl at man.fwltech.com Thu Sep 26 17:23:05 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 26 Sep 2002 16:23:05 +0100 Subject: multiprocessor capable?? Message-ID: <1012BD903945D411915500105A48FF57F0635A@nt.man.fwltech.com> Linux will allocate the processes as the are generated to one or other cpu without your intervention. the central nagios process will always run on just 1 cpu, but all your checks and cgi processes (plus of course apache) will balance out over the 2 cpus. Ewan > -----Original Message----- > From: Bishop, Dean [mailto:dean.bishop at tcdsb.org] > Sent: 26 September 2002 15:58 > To: 'jmarquart at planalytics.com' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] multiprocessor capable?? > > > cool. > > sorry i am not very familiar with SMP. > > i understand that A) linux can deal with SMP and B) nagios > forks it's checks > as individual processes . > > Here is where i need clarification. If Nagios is forking > theses checks off > as individual processes does that mean that it is the OS's > responsibility to > allocate the processes (aka checks) to the processors? > > thanks, > dean > > > > -----Original Message----- > From: jmarquart at planalytics.com [mailto:jmarquart at planalytics.com] > Sent: Thursday, September 26, 2002 10:18 AM > To: Bishop, Dean > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] multiprocessor capable?? > > > > > sure it is. > > nagios can run many checks concurrently. since it forks off these > processes, it > is up to the SMP implementation to handle which processor to run on. > > Thus - nagios should be able to run on asmany processors as you like. > > -j > > > > > > > "Bishop, Dean" on 09/26/2002 09:44:33 AM > > > > > To: "'nagios-users at lists.sourceforge.net'" > > cc: (bcc: John J. der Schalla Marquart/Planalytics) > > Subject: [Nagios-users] multiprocessor capable?? > > > > > Good morning all, > > Does nagios take advantage of dual processors?? i am in a bind > right now in that my sandbox has been working too well. Alas, it has > reached it's limit. My options, an old dual-processor P-II > 350 or a P-III > 400. > > > thanks, > dean > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://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 26 17:49:00 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 26 Sep 2002 10:49:00 -0500 Subject: Host Assumed to Be Up Message-ID: If possible, try using a service for these routers, such as check_telnet. jc -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Thursday, September 26, 2002 9:30 AM To: Nagios User List (E-mail) Subject: [Nagios-users] Host Assumed to Be Up Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From npaufler at incentre.net Thu Sep 26 17:52:09 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Thu, 26 Sep 2002 09:52:09 -0600 Subject: feature requests? References: <089801c264e7$2ac1eb90$99d54bce@kallisti> <1032997930.23686.17.camel@picard.enterprise.be> Message-ID: <099001c26574$ac44b1b0$99d54bce@kallisti> Thanks Jeff, Andrew, and Ethan for the quick responses. It's nice to see that option in there and certainly makes my life easier. I hadn't noticed it since I assumed all possible config options were at least mentioned in the sample files. A bad assumption, apparently. I'm going through the full configuration docs right now and finding a few other interesting things. However I've got one other question related to cfg_dir. I have noticed that if you define parent/child relationships that the parent needs to be defined first otherwise Nagios will error on start. If you're doing the cfg_dir thing is there any easy way to make sure parents are always loaded before the children? Or do you just need to be really careful and ensure that that when you do cfg_dir and cfg_file declarations that you always define the parents first? Nicholas Paufler Systems Administrator The Internet Centre ----- Original Message ----- From: "Jeff Verheyen" To: Sent: Wednesday, September 25, 2002 5:52 PM Subject: Re: [Nagios-users] feature requests? > Isn't this possible with the 'cfg_dir=' option in > nagios.cfg? > > "This directive is used to specify a directory which contains object > configuration files that Nagios should use for monitoring. All files in > the directory with a .cfg extension are processed as object config > files. You can seperate your configuration files into different > directories and specify multiple cfg_dir= statements to have all config > files in each directory processed." > > Seems Nagios already got your feature request :-) > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From npaufler at incentre.net Thu Sep 26 18:00:11 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Thu, 26 Sep 2002 10:00:11 -0600 Subject: host/hostgroup contact Message-ID: <09a001c26575$cb9e3f80$99d54bce@kallisti> I have another quick question that's come up while reading the docs. When you define a host group you can set a contact for that group. You can also set an individual contact in a given host declaration. According to the docs, the contact_groups declaration is required. It seems kind of silly, though, to make both elements required. If I've set an overall contact group for a hostgroup it seems redundant to have to define them in the host entry as well (or worse, go through and change "x" number of files if I ever need to change the contact group). Are the docs right? Do you really need to define both? And if so, perhaps a future revision should allow you to skip out on a contact_group entry in a hosts declaration if one exists for it's hostgroup. Thanks Nicholas Paufler Systems Administrator The Internet Centre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Sep 26 18:02:00 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 12:02:00 -0400 Subject: Host Assumed to Be Up Message-ID: i concur. check_ping uses 4 pings by default. Even when things are good this can accumulate pretty quickly. When things are bad, ping waits for the each of the responses until it's timeout. Using a plugin like check_telnet or check_tcp is _way_ faster. later, dean -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, September 26, 2002 11:49 AM To: Nagios User List (E-mail) Subject: RE: [Nagios-users] Host Assumed to Be Up If possible, try using a service for these routers, such as check_telnet. jc -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Thursday, September 26, 2002 9:30 AM To: Nagios User List (E-mail) Subject: [Nagios-users] Host Assumed to Be Up Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Thu Sep 26 18:12:54 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 26 Sep 2002 11:12:54 -0500 Subject: Service Dependencies Message-ID: I'm not entirely certain what you're asking here. There appear to be 2 questions: 1. How do I deal with the fun and joy of not having Nagios freak out when a router between the Nagios host and the several hosts I'm trying to monitor goes down? 2. How do I save myself from making many many virtually identical entries in my services.cfg file? Here's my take on it: 1. Use the 'parents' directive in hosts.cfg, thusly: define host{ host_name www1 use www-template alias www1 - PROD address 10.11.12.13 parents router1 } (My entry might appear to be a little terse, since my templates are rather detailed.) 2. Create as many templates as you deem fit for your environment. One template per service is clearly excessive, but if you're hoping to have one template period, you might be a wee bit on the optimistic side. :^) Personally, I've got a handful of templates which meet most of my needs, and the few hosts which deviate from those requirements will merely require a localization in that particular definition. It's a bit of a balancing act. If ever you realize, "Hey, I'm defining service XYZ just about everywhere," it's probably time to create a template for that service. Another trick is to properly define your hostgroups, and leverage those in your services.cfg file. Use hostgroup_name instead of host_name where it makes sense to do so. That's a *major* savings in keystrokes, in my experience. Also, I'm not sure if you're doing what I was originally doing (until I realized the redundancy), but you need not use a ping service if you're already using check-host-alive in your hosts.cfg, since that's pinging your host anyway. The only instance I can see the need for using a ping service, is if you have no other way of validating that the host is functioning as desired (eg, it's not running any services, not telnetd, not ftpd, not sshd, not httpd, etc). Not trying to bust your chops here Andy; I think I may need another coffee. ;) jc > -----Original Message----- > From: Andy [mailto:andy at droidmcse.com] > Sent: Thursday, September 26, 2002 10:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Dependencies > > > Hey Gang, > > Been using Netsaint for a while and switching over to nagios. > > We have well over 400 hosts with many more to add. Most of > them have at > least the service of ping and I have run into the situation > where if the > ping time on a router goes crappy, the devices that are depending on > that box and the ones below it will also go down, I've seen > the need to > create service dependencies on services between hosts with the > check_ping service defined. > > I created a home grown database to store the config files > that would be > generated with the program needs to be restarted. I queried the > database to find all of the boxes that had the check_ping service and > auto-created service dependencies for this and a couple other > services. > > I'm trying to avoid a db for Nagios mainly because of the object > orientedness of the config files that let you dramatically streamline > the number of 'things' that you end up creating. > > However, I'm kind of at a loss on how to create this setup quickly and > easily. I've already written a routine to look through the hosts.cfg > file and file all of the parents and their associated > children. Then I > will have to pull the data from the services.cfg file to find all of > those that have check_ping on both parent & host. Then take that data > and push it into a servicedependencies.cfg file. > > I'm almost there, but I was just curious how other people > handle massive > numbers of hosts. > > I have a few other scenarios. Like check_netsaint_client is just a > check_tcp -p 1248. If that fails, then I suppress the NT checks. I'm > just trying to keep the noise down mainly. > > Great program and great forums! > > Thanks! > Andy > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jdoak at lucasarts.com Thu Sep 26 19:05:24 2002 From: jdoak at lucasarts.com (John Doak) Date: Thu, 26 Sep 2002 10:05:24 -0700 Subject: Trouble with the web interface, Message-ID: <73E1A4BD6275D411907000508B95B0D4096EC8BF@orwell-bu.lucasarts.com> I'm having some trouble with the web interface, which seems to be my only stumbling block with nagios. I'm experienced with netsaint, but I'm not sure what the problem is here. I've entered in the information correctly in my httpd.conf file. Saying that wasn't working, I copied my httpd.conf file from my netsaint server, re-wrote the lines to reflect nagios, and get the same error: The Whoops! Errror: Could not read host and service status information. I've done: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. as asked by the "Whoops!" webpage. Nothing in the log, -v says I'm fine. The proccess is running, and verified as I'm getting email alerts. I compiled the program with the --with-template....... option, to use template format. That should have compiled the cgi's to use the same, as they are included with the main program. What's also interesting to note is that the following get the error: Tactical Service Detail Status Map Host Problems Comments Downtime Proccess Info Schedueling Queue The Reporting Cgi's work fine. And the rest give me a "you dont' have priveledges" error. I have disabled authentication in the cgi's, until I get this working. When I had it enabled with authentication in apache, I would be prompted for a username/password, but it would never accept them. So I've removed .htaccess and the other access files. My system is RH 7.3, vanilla. Nagios is the first application running on it. Anyone have any ideas? __________________________________________ John G. Doak Jr. Network Administrator LucasArts Entertainment jdoak at lucasarts.com 415-444-8787 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nolan.Martin at co.travis.tx.us Thu Sep 26 19:41:49 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Thu, 26 Sep 2002 12:41:49 -0500 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: I am just now getting around to trying to implement the workaround Nathan suggested awhile back, and have been unsuccessful so far. I modified the check_ping.c file, lines 119 through 122 to the following: if (pl >= cpl || rta >= crta) result = STATE_CRITICAL; else if (pl >= wpl || rta >= wrta || rta < 0) result = STATE_WARNING; Basically, I moved the rta < 0 statement from resulting in a CRITICAL state to resulting in a WARNING state, assuming that that the rta < 0 statement is what is determining a timeout. I then recompiled the plugins and copied over the new check_ping executable to libexec. However, timeouts continue to generate CRITICAL alerts, and not WARNING alerts. Admittedly, I have limited development experience, particularly with C. Can you tell me if I am completely off base or just missing some steps? I would greatly appreciate the additional assistance. Nolan Martin >>> nathan 08/20/02 04:35PM >>> To stop the spam of alerts I recompiled my plugins so that timeouts were warnings and not critical then setup my contacts to not get alerted on service warnings. On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > I've seen this issue pop up several times in the archives, but without > any apparent resolution... Perhaps someone can shed some light this > time. > > I receive on-going (unexpected and undesired) service alerts due to > timed out plugins. This occurs for pretty much any service, including > the check_ping, the check_http and check_nwstat (for abends, etc.). > > The problem is that the plugin timed out alerts do not seem to follow > the max_check_attempts for the service. So, even if the previous ping > was okay, if the next ping check generates a time out, it immediately > generates a service alert (despite the fact that max_check_attempts is > set to 5. > > Can someone tell me if this is working as designed, a bug, or (always > unlikely) administrator error? > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > Thanks. > > Nolan > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From vitor at jamyrvasconcellos.com.br Thu Sep 26 20:02:35 2002 From: vitor at jamyrvasconcellos.com.br (Vitor Alexandre S Marinho) Date: Thu, 26 Sep 2002 15:02:35 -0300 Subject: Problems with the install of plugins Message-ID: <001701c26586$e7ed3220$f701e10a@localnet> who knows what?s happened [root at fslinux nagiosplug-1.3-beta1]# make all Making all in plugins make[1]: Entering directory `/home2/jamyr/nagios_1.0b5/Plugin/nagiosplug-1.3-beta1/plugins' gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include -g -O2 -c check_disk.c In file included from /usr/include/errno.h:36, from common.h:36, from check_disk.c:34: /usr/include/bits/errno.h:25: linux/errno.h: file or directory not found make[1]: *** [check_disk.o] Error 1 make[1]: Leaving directory `/home2/jamyr/nagios_1.0b5/Plugin/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 thank?s a lot Vitor Rio de Janeiro/Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Sep 26 21:03:50 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 26 Sep 2002 14:03:50 -0500 Subject: Problems with the install of plugins Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F71397@mismail.ena.com> Looks like you might not have a complete development environment on that box. The error below seems to indicate that you are missing at least the kernel-headers package. My guess is that if you are missing kernel-headers, there are likely other packages that you are missing as well. Since you've provided no information as to what hardware or distro you are using you might have luck at http://www.rpmfind.net/linux/rpm2html/search.php?query=%2Fusr%2Finclude%2Flinux%2Ferrno.h if you're using an RPM based distribution. Rpmfind.net is your friend. -- Marc -----Original Message----- From: Vitor Alexandre S Marinho [mailto:vitor at jamyrvasconcellos.com.br] Sent: Thursday, September 26, 2002 1:03 PM To: Nagios Subject: [Nagios-users] Problems with the install of plugins Importance: High who knows what?s happened [root at fslinux nagiosplug-1.3-beta1]# make all Making all in plugins make[1]: Entering directory `/home2/jamyr/nagios_1.0b5/Plugin/nagiosplug-1.3-beta1/plugins' gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include -g -O2 -c check_disk.c In file included from /usr/include/errno.h:36, from common.h:36, from check_disk.c:34: /usr/include/bits/errno.h:25: linux/errno.h: file or directory not found make[1]: *** [check_disk.o] Error 1 make[1]: Leaving directory `/home2/jamyr/nagios_1.0b5/Plugin/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 thank?s a lot Vitor Rio de Janeiro/Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From cristian at alestraidc.net.mx Thu Sep 26 21:14:48 2002 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Thu, 26 Sep 2002 14:14:48 -0500 Subject: put $OUTPUT$ into body mail In-Reply-To: References: Message-ID: RE: [Nagiosplug-devel] RE: [Nagios-users] performance data from plugins - does it exist?ok thanks, but how put $OUTPUT$ into body mail... ?? -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: jueves, 26 de septiembre de 2002 7:35 Para: 'Cristian Trujillo G.'; Bishop, Dean; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages looks to me like it is in common/statusdata.c i expect that you could just change the status_strings. i don't know what sort of other things would need to be changed but it is worth a try. anyone else?? hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 7:07 PM To: Bishop, Dean; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] change messages excelent... but,,, how change CRITICAL with CRITICO (in spanish) and, PROBLEM with (PROBLEMA) in spanish... and so on... $NOTIFICATIONTYPE$ $SERVICESTATE$ thanks -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: mi?rcoles, 25 de septiembre de 2002 14:16 Para: 'Cristian Trujillo G.'; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages the messages are defined in misccommands.cfg hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 2:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change messages Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 21:17:01 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 15:17:01 -0400 Subject: put $OUTPUT$ into body mail Message-ID: isn't it already there? This is setup in the misccommands.cfg. My misccommands.cfg is stock i think and $OUTPUT$ is already in the e-mail body. -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Thursday, September 26, 2002 3:15 PM To: Bishop, Dean; nagios-users at lists.sourceforge.net Subject: put $OUTPUT$ into body mail ok thanks, but how put $OUTPUT$ into body mail... ?? -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: jueves, 26 de septiembre de 2002 7:35 Para: 'Cristian Trujillo G.'; Bishop, Dean; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages looks to me like it is in common/statusdata.c i expect that you could just change the status_strings. i don't know what sort of other things would need to be changed but it is worth a try. anyone else?? hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 7:07 PM To: Bishop, Dean; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] change messages excelent... but,,, how change CRITICAL with CRITICO (in spanish) and, PROBLEM with (PROBLEMA) in spanish... and so on... $NOTIFICATIONTYPE$ $SERVICESTATE$ thanks -----Mensaje original----- De: Bishop, Dean [mailto:dean.bishop at tcdsb.org] Enviado el: mi?rcoles, 25 de septiembre de 2002 14:16 Para: 'Cristian Trujillo G.'; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] change messages the messages are defined in misccommands.cfg hth, dean -----Original Message----- From: Cristian Trujillo G. [mailto:cristian at alestraidc.net.mx] Sent: Wednesday, September 25, 2002 2:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change messages Hi, How can modify the messages for example when events occurs i recive a mail, or pagger, when this arrive i see, PROBLEM alert -myserver/Service is CRITICAL this only in the subjet, but nothing in the body..... how i can see more info about the message...?? how a can translate...?? or for example put thie message: Nagios say: myserver Service CRITICAL...?? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From thutchis at helper.umesd.k12.or.us Thu Sep 26 22:11:04 2002 From: thutchis at helper.umesd.k12.or.us (Tom Hutchison) Date: Thu, 26 Sep 2002 13:11:04 -0700 Subject: Host Assumed to Be Up References: Message-ID: <3D9369D8.1010207@helper.umesd.k12.or.us> Is there a SNMP service check. A plugin that would query SNMP and return a value such as Temp, or processor load etc. That would be more usefull than just checking for a Telnet connection. Just yesterday we had a Cisco 3810 router hose up, but was still pingable. Just not routing taking place. Tom Carroll, Jim P [Contractor] wrote: > If possible, try using a service for these routers, such as check_telnet. > > jc > > -----Original Message----- > *From:* Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > *Sent:* Thursday, September 26, 2002 9:30 AM > *To:* Nagios User List (E-mail) > *Subject:* [Nagios-users] Host Assumed to Be Up > > Newbie here. > > I just installed Nagios yesterday and am doing nothing but ping > monitoring on 5 routers. All the host status information fields > say "Host assumed to be up". What does that mean? I can't find > it in the FAQ. Can anyone point me in the right direction? > > Thanks for any help. > > ------------------------------------- > Aaron Conaway > Network Engineer III > Verisign, Inc. > http://www.verisign.com > > > -- "The only secure Microsoft software is what's still shrink-wrapped in their warehouse..." -------------------------------------------------------------------- Tom Hutchison voice: 541-966-3187 Network Analyst fax: 541-966-3231 Umatilla-Morrow ESD email: thutchis at helper.umesd.k12.or.us ------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Thu Sep 26 22:21:57 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 26 Sep 2002 16:21:57 -0400 Subject: Host Assumed to Be Up Message-ID: um..yeah, check_snmp. It comes with the rest of the plugins but i think that you must have SNMP installed on the Nagios server before compiling Nagios (actually before running 'configure...') for the plugin to be built though. hth, dean -----Original Message----- From: Tom Hutchison [mailto:thutchis at helper.umesd.k12.or.us] Sent: Thursday, September 26, 2002 4:11 PM Cc: Nagios User List (E-mail) Subject: Re: [Nagios-users] Host Assumed to Be Up Is there a SNMP service check. A plugin that would query SNMP and return a value such as Temp, or processor load etc. That would be more usefull than just checking for a Telnet connection. Just yesterday we had a Cisco 3810 router hose up, but was still pingable. Just not routing taking place. Tom Carroll, Jim P [Contractor] wrote: If possible, try using a service for these routers, such as check_telnet. jc -----Original Message----- From: Aaron Conaway [ mailto:Aaron.Conaway at HOSystems.com ] Sent: Thursday, September 26, 2002 9:30 AM To: Nagios User List (E-mail) Subject: [Nagios-users] Host Assumed to Be Up Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -- "The only secure Microsoft software is what's still shrink-wrapped in their warehouse..." -------------------------------------------------------------------- Tom Hutchison voice: 541-966-3187 Network Analyst fax: 541-966-3231 Umatilla-Morrow ESD email: thutchis at helper.umesd.k12.or.us ------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Sep 26 22:31:02 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 26 Sep 2002 15:31:02 -0500 Subject: Host Assumed to Be Up Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F7139D@mismail.ena.com> Nagios is primarily a service-centric monitor. Host checks are only executed when a service on that host returns a Non-OK status. Nagios is basically telling you that since a service on that host is currently ok, the host itself must be up so Nagios doesn't need to check it. If your check_ping service were to fail then Nagios would execute an active check of that host. -- Marc -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Thursday, September 26, 2002 9:30 AM To: Nagios User List (E-mail) Subject: [Nagios-users] Host Assumed to Be Up Newbie here. I just installed Nagios yesterday and am doing nothing but ping monitoring on 5 routers. All the host status information fields say "Host assumed to be up". What does that mean? I can't find it in the FAQ. Can anyone point me in the right direction? Thanks for any help. ------------------------------------- Aaron Conaway Network Engineer III Verisign, Inc. http://www.verisign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathan at sysadminsith.org Thu Sep 26 23:12:56 2002 From: nathan at sysadminsith.org (nathan) Date: Thu, 26 Sep 2002 14:12:56 -0700 Subject: Change timeout alerts from CRITICAL to WARNING In-Reply-To: ; from Nolan.Martin@co.travis.tx.us on Thu, Sep 26, 2002 at 12:41:49PM -0500 References: Message-ID: <20020926141256.A15771@sysadminsith.org> If I remember correctly I believe I had to modify utils.c (line 122/124) and change CRITICAL to WARNING and recompile the plugins.... When I did this I had compiled all plugins "stock" and then modified and recompiled so I had a modified version of check_by_ssh which was the one specific plugin I wanted only warnings for timeouts from. I think I ran strings on the binary plugin and found that modifying the .c for the plugin alone was not returning desired results 8-) Best of luck, Nathan On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > I am just now getting around to trying to implement the workaround > Nathan suggested awhile back, and have been unsuccessful so far. > > I modified the check_ping.c file, lines 119 through 122 to the > following: > > if (pl >= cpl || rta >= crta) > result = STATE_CRITICAL; > else if (pl >= wpl || rta >= wrta || rta < 0) > result = STATE_WARNING; > > Basically, I moved the rta < 0 statement from resulting in a CRITICAL > state to resulting in a WARNING state, assuming that that the rta < 0 > statement is what is determining a timeout. > > I then recompiled the plugins and copied over the new check_ping > executable to libexec. However, timeouts continue to generate CRITICAL > alerts, and not WARNING alerts. > > Admittedly, I have limited development experience, particularly with C. > Can you tell me if I am completely off base or just missing some steps? > I would greatly appreciate the additional assistance. > > Nolan Martin > > >>> nathan 08/20/02 04:35PM >>> > To stop the spam of alerts I recompiled my plugins so that timeouts > were > warnings and not critical then setup my contacts to not get alerted on > service warnings. > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > I've seen this issue pop up several times in the archives, but > without > > any apparent resolution... Perhaps someone can shed some light this > > time. > > > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. > > > > Can someone tell me if this is working as designed, a bug, or > (always > > unlikely) administrator error? > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > Thanks. > > > > Nolan > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From npaufler at incentre.net Thu Sep 26 23:21:26 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Thu, 26 Sep 2002 15:21:26 -0600 Subject: state change? Message-ID: <0c1401c265a2$ac5e8c60$99d54bce@kallisti> I've got two questions about the trending tools and I can't seem to find answers for them. 1) Is there any way to write out the current state such that in the case where some hosts have never gone up/down they still show the real state instead of undetermined in the trending tool? If I could manually tell it to record the state all hosts/services are on command I could make sure the graphs were always useful without needing to tell it to assume that the initial state is up 2) The second question follows. If I can't do the above, is there a way to make the default trend state "assume up" rather than undetermined? Thanks again Nicholas Paufler Systems Administrator The Internet Centre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Thu Sep 26 23:22:07 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 26 Sep 2002 16:22:07 -0500 Subject: logfile scraping Message-ID: I just wanted to check with everyone regarding the way they're checking logfiles for strings to be alerted on. For example: - check /var/adm/messages for 'panic'/'PANIC'/'Panic' - check /var/adm/messages for 'err'/'ERR'/'Err' - check /var/adm/messages for 'warn'/'WARN'/'Warn' I've mentioned before that check_log doesn't work (for me) and that the design seems inferior to the contributed Perl-based check_log2 script. But I'm open to suggestions. What way are you sifting through logfiles? Standard plugin? Something you wrote? How reliable has it been? Have you missed anything you should have been alerted on? Has your solution misbehaved, or has it been reasonably robust? If you did something which the average sysadmin wouldn't jump on, but in retrospect seems particularly clever, share your approach and reasoning. I'd like to stay away from 3rd party utilities (eg, SWATCH) where possible. I'm also interested in knowing whether you're scraping the logfiles on the hosts themselves, or whether you opted for a central syslog host for scraping, and the trials and tribulations and the "if I could do it over again, I would (not) do it this way again" sort of feedback. This doesn't seem to be a FAQ, but if I get some salient input, I'll gladly cobble something together to be added to Ethan's FAQ page. Logfile scraping is (to me) an important way of capturing things that would otherwise slip through the cracks. If you elect to send your response directly to me (off-list), I'll summarize early next week. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Richard.Wu at fusepoint.com Thu Sep 26 23:27:18 2002 From: Richard.Wu at fusepoint.com (Richard Wu) Date: Thu, 26 Sep 2002 14:27:18 -0700 Subject: check_nt CPULOAD unit Message-ID: <77F055FA968580429F4546414D8C10E70C2F56@s102b.rhcci.net> Hi, I am wondering what unit is used for CPULOAD in check_nt, is it % or something else? Thanks, Richard Wu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jeff.Bolden at sterlingsavings.com Fri Sep 27 00:38:36 2002 From: Jeff.Bolden at sterlingsavings.com (Jeff Bolden) Date: Thu, 26 Sep 2002 15:38:36 -0700 Subject: NS Client Page file Message-ID: <9C6850E058139C4FB8846E6E482367AB0311F879@exchange2000.sterlingsavings.com> I have Nsclient on over 120 SP3 servers here and after reading your post I checked it out to make sure I hadn't missed it. We are getting normal readings here. So you are a fluke... =) Of course, if I'm the only one on the list with a working setup, maybe I'm the fluke?? =) Jeff > -----Original Message----- > From: Andy [mailto:andy at droidmcse.com] > Sent: Tuesday, September 17, 2002 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NS Client Page file > > > Hey Everybody, > > I've been using Nagios and the check_nt plugin's for a few > months now and the group just pushed SP3 out to the win2k > boxes. Now, the check that pulls the counter data from the > page file returns '0'. I've checked the command by hand and > I receive the same results. > > Has anybody else encountered this or am I a fluke > > Thanks! > Andy > > > > ------------------------------------------------------- > This SF.NET email is 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 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From steveneu at tiny.net Fri Sep 27 01:58:03 2002 From: steveneu at tiny.net (Steve Neuharth) Date: Thu, 26 Sep 2002 18:58:03 -0500 Subject: Internal server error when running commands (cmd.cgi) References: <3D930F48.5080108@tiny.net> Message-ID: <3D939F0B.9060104@tiny.net> So... anybody got any suggestions? Steve Neuharth wrote: > I have nagios up and running (beats the pants off of BigBrother IMHO). > I'm running FreeBSD 4.7 and I installed nagios straight from the ports > collection. I have done this several times before and the port > maintainer does a great job of scripting the install so that it works > "out-of-the-box" as it were. > All of the cgi's seem to work BUT I get an internal server error when I > try to make cmd.cgi "do stuff" such as adding a comment, scheduling a > check. My first thought was file perms on the rw directory but I cannot > find anything wrong after reading the netsaint faq (this info is missing > from the nagios faq btw). Here is my var/nagios dir: > > tiny# pwd > /usr/local/var/nagios > tiny# ls -l > total 24502 > drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives > -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log > -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log > -rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 host-perfdata.out > -rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock > -rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log > drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw > -rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 service-perfdata.out > -rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log > -rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav > > another strange thing is the nagios.cmd file: > tiny# pwd > /usr/local/var/nagios/rw > tiny# ls -l > total 0 > prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd > > why is it a pipe? should it be? maybe, but I thought it was strange. > > When I "submit" something I get "Internal Server Error" and in the > apache log I get: > [Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature end of > script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Fri Sep 27 03:43:06 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 27 Sep 2002 11:43:06 +1000 Subject: Specifiying an contact method for winpopup mes sages In-Reply-To: References: Message-ID: <5.1.0.14.2.20020927113302.03235ac8@imap.qut.edu.au> Yes, I am currently using the pager variable to store the machine name :) This is fine until I implement the paging side! I can create a command that has the machine/user-names hard coded, but I'd like to have the machine/user names contained within the contact definitions (and not loose the OO structure!) Is there something funky I can do with USERx args? TIA, GV p.s. yes, i've ensured that the nagios user names are sync'ed with our QUT/Local Domain user names so my users won't get confuzzeded :) At 22:47 26/09/2002, Bishop, Dean wrote: >could you use the contact's "pager" variable to store the machinename?? >Then use $CONTACTPAGER$ in your smbclient call? > >also, someone posted a few days ago saying that there was a patch available >for smbclient that allowed you to send winpopups to a username. You might >chase that down too and just ensure that your Nagios contact name is >syncronized with your windows user name. > >hth, >dean > >-----Original Message----- >From: Greg Vickers [mailto:g.vickers at qut.edu.au] >Sent: Thursday, September 26, 2002 2:25 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Specifiying an contact method for winpopup >messages > > >Hi all, >I want to be able to define in a contact a machine name that I can send a >winpopup message to. > >so i'll have the following commands: > >host-notify-by-email.command.cfg >host-notify-by-pager.command.cfg >host-notify-by-winpopup.command.cfg > >And host-notify-by-winpopup.command.cfg looks like this: > >define command{ > command_name host-notify-by-winpopup > command_line printf "\"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a >$HOSTSTATE$ state.\nThe output from the host check command: $OUTPUT$" | >smbclient -M $MACHINENAME$ -U "Nagios Monitoring Station" > } > >And a contact definition contains: > >define contact{ > ... > machine_name adminstation >} > >Obviously there isn't a macro in nagios called MACHINENAME that you can >define in a contact, but you get the idea - a variable that I can define in >a contact and have it passed to my winpopup command. Any ideas? > >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 ================================= 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 mmcclure at pneservices.com Fri Sep 27 03:56:13 2002 From: mmcclure at pneservices.com (mmcclure at pneservices.com) Date: Thu, 26 Sep 2002 20:56:13 -0500 Subject: Internal server error when running commands (cmd.cgi) In-Reply-To: <3D939F0B.9060104@tiny.net> References: <3D939F0B.9060104@tiny.net> Message-ID: <001c01c265c9$0f22dc90$2801a8c0@dutch> Apache's not giving you enough information to really determine what the problem is. Try running /usr/local/share/nagios/cgi-bin//cmd.cgi directly from a shell. You'll have to set some environment variables, but you should be able to figure those out from the HTML source and other parts of your configuration. If you still can't figure it out after you have all the enviroment variables set up, post the error message, someone will probably know what it means. ---------- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Steve Neuharth > Sent: Thursday, September 26, 2002 6:58 PM > To: Steve Neuharth > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Internal server error when running commands > (cmd.cgi) > > So... anybody got any suggestions? > > Steve Neuharth wrote: > > I have nagios up and running (beats the pants off of BigBrother > IMHO). > > I'm running FreeBSD 4.7 and I installed nagios straight from the > ports > > collection. I have done this several times before and the port > > maintainer does a great job of scripting the install so that it works > > "out-of-the-box" as it were. > > All of the cgi's seem to work BUT I get an internal server error > when I > > try to make cmd.cgi "do stuff" such as adding a comment, scheduling a > > check. My first thought was file perms on the rw directory but I cannot > > find anything wrong after reading the netsaint faq (this info is missing > > from the nagios faq btw). Here is my var/nagios dir: > > > > tiny# pwd > > /usr/local/var/nagios > > tiny# ls -l > > total 24502 > > drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives > > -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log > > -rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log > > -rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 host-perfdata.out > > -rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock > > -rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log > > drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw > > -rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 service-perfdata.out > > -rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log > > -rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav > > > > another strange thing is the nagios.cmd file: > > tiny# pwd > > /usr/local/var/nagios/rw > > tiny# ls -l > > total 0 > > prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd > > > > why is it a pipe? should it be? maybe, but I thought it was strange. > > > > When I "submit" something I get "Internal Server Error" and in the > > apache log I get: > > [Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature end of > > script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmcclure at pneservices.com Fri Sep 27 04:00:27 2002 From: mmcclure at pneservices.com (mmcclure at pneservices.com) Date: Thu, 26 Sep 2002 21:00:27 -0500 Subject: Trouble with the web interface, In-Reply-To: <73E1A4BD6275D411907000508B95B0D4096EC8BF@orwell-bu.lucasarts.com> References: <73E1A4BD6275D411907000508B95B0D4096EC8BF@orwell-bu.lucasarts.com> Message-ID: <001f01c265c9$a6be81d0$2801a8c0@dutch> What user is httpd running as? Does that user have read access to the status.log file? ---------- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Doak Sent: Thursday, September 26, 2002 12:05 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Trouble with the web interface, I'm having some trouble with the web interface, which seems to be my only stumbling block with nagios. I'm experienced with netsaint, but I'm not sure what the problem is here. I've entered in the information correctly in my httpd.conf file. Saying that wasn't working, I copied my httpd.conf file from my netsaint server, re-wrote the lines to reflect nagios, and get the same error: The Whoops! Errror: Could not read host and service status information. I've done: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. as asked by the "Whoops!" webpage. Nothing in the log, -v says I'm fine. The proccess is running, and verified as I'm getting email alerts. I compiled the program with the --with-template....... option, to use template format. That should have compiled the cgi's to use the same, as they are included with the main program. What's also interesting to note is that the following get the error: Tactical Service Detail Status Map Host Problems Comments Downtime Proccess Info Schedueling Queue The Reporting Cgi's work fine. And the rest give me a "you dont' have priveledges" error. I have disabled authentication in the cgi's, until I get this working. When I had it enabled with authentication in apache, I would be prompted for a username/password, but it would never accept them. So I've removed .htaccess and the other access files. My system is RH 7.3, vanilla. Nagios is the first application running on it. Anyone have any ideas? __________________________________________ John G. Doak Jr. Network Administrator LucasArts Entertainment jdoak at lucasarts.com 415-444-8787 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Sep 27 05:28:13 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 26 Sep 2002 23:28:13 -0400 (EDT) Subject: Disk Usage Counter In-Reply-To: <5593DA408212D511B0910002A513501F01D28748@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D28748@phsexch20.mgh.harvard.edu> Message-ID: check_disk only works on local partitions - is check_disk installed on the 3 machines in question? On Thu, 26 Sep 2002, Kaplan, Andrew H. wrote: > Hi J, > > When the command is run from within my shell the output is > > DISK OK - [87024 kB (90%) free on /dev/hda1. This points to my /boot partition. > This means the counter is reading it strictly on my machine and not the others. > What did I miss here? > > -----Original Message----- > From: Jeremy Tinley [mailto:jtinley at unirez.com] > Sent: Wednesday, September 25, 2002 5:30 PM > To: Kaplan, Andrew H. > Subject: RE: [Nagios-users] Disk Usage Counter > > > Aside from it being in all CAPS, that looks ok. What happens when you > run that from your own shell? > > -J > > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Wednesday, September 25, 2002 3:42 PM > To: 'Jeremy Tinley' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Disk Usage Counter > > Hi J, > > I included the following line in the checkcommands.cfg file: > > COMMAND_LINE /USR/LOCAL/NAGIOS/LIBEXEC/CHECK_DISK -W 95 -C 95 > -P > /DEV/HDA1 > > For good measure I restarted the program. The app came back up but when > I > checked via the web interface, the same status information as before > appeared. > > > > > > > -----Original Message----- > From: Jeremy Tinley [mailto:jtinley at unirez.com] > Sent: Wednesday, September 25, 2002 4:16 PM > To: Kaplan, Andrew H. > Subject: RE: [Nagios-users] Disk Usage Counter > > > You have a check_disk line configured in your check commands file. > Something like: > > $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > > > Fill in the variables (the ARGx's from your services.cfg file)... > > /path/to/check_disk -w 95 -c 95 -p /dev/vg00 > > Now, run THAT from the command line (much like Nagios will) and see what > you get. > > -J > > > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Wednesday, September 25, 2002 3:10 PM > To: 'Jeremy Tinley' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Disk Usage Counter > > Hi J, > > When run with the -V option I get the following: > > CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2 > > > -----Original Message----- > From: Jeremy Tinley [mailto:jtinley at unirez.com] > Sent: Wednesday, September 25, 2002 4:05 PM > To: Kaplan, Andrew H. > Subject: RE: [Nagios-users] Disk Usage Counter > > > What output do you get when you run the check_disk command from the > command line? > > -J > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, > Andrew H. > Sent: Wednesday, September 25, 2002 2:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disk Usage Counter > > Hi there, > > I am using the Disk Usage counter on three machines: the first two are > Red > Hat 7.3 machines. The first is running on three disks that are > configured > via a hard disk array. The file name for the array disk is /dev/sda > while > the second machine is on a single hard drive and its filename is > /dev/hda1. > The third machine an HP-UX 10.20 workstation, and its disk file name is > /dev/vg00. When the counters are displayed on the web page, the > diskarray > machine has an unknown status and does not show any disk usage while the > the > other two machines show a disk usage of 87024kB (90%) free. I have > checked > the filesystems on both of these machines, and have confirmed that > readout > is inaccurate. Is there an additional setting that I need to configure? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > 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 ritter6281 at earthlink.net Fri Sep 27 06:04:57 2002 From: ritter6281 at earthlink.net (ritter6281 at earthlink.net) Date: Thu, 26 Sep 2002 23:4:57 -0500 Subject: syslog functionality Message-ID: <41200295274457856@earthlink.net> An HTML attachment was scrubbed... URL: From tdeblend at gcc.dhl.com Fri Sep 27 08:22:13 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 27 Sep 2002 08:22:13 +0200 Subject: check_nt CPULOAD unit References: <77F055FA968580429F4546414D8C10E70C2F56@s102b.rhcci.net> Message-ID: <3D93F915.353B6653@gcc.dhl.com> % Richard Wu wrote: > > Hi, > > I am wondering what unit is used for CPULOAD in check_nt, is it % or something else? > > Thanks, > Richard Wu > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Fri Sep 27 08:42:23 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 27 Sep 2002 08:42:23 +0200 Subject: Feature request... Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780302@storevis.datavis.se> Great, but this is not in the docs... /FredrikW -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Thu 26-Sep-02 15:41 To: Fredrik W?nglund Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Feature request... You can do this already. define service{ service_description HTTP hostgroup_name my_web_servers contact_groups admins ..... } It works beautifully. -Russell Fredrik W?nglund wrote: >Shouldn't everything be a little bit easier if you cold assign a host-group to a service instead of only hosts? >I have some standard-services that should be run an all linux-boxes, and it would be great if I did not have to add every new host to all those service-definitions, but only to the host-group. > > > > >/FredrikW > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- 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 wojnicki at asw.waw.pl Fri Sep 27 09:56:32 2002 From: wojnicki at asw.waw.pl (Pawel Wojnicki) Date: Fri, 27 Sep 2002 09:56:32 +0200 Subject: check_hpjd Message-ID: <5.1.1.2.0.20020927095305.00a41100@192.168.0.2> Where can i find the "check_hpjd" plugin? I have the nagiosplug-1.3-beta1 package and it's not there after I compile it. I also checked in netsaint-plugins-1.2.9-4 - no dice. Pawel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From kuehne at sietec.de Fri Sep 27 10:02:21 2002 From: kuehne at sietec.de (Alex Kuehne) Date: Fri, 27 Sep 2002 10:02:21 +0200 Subject: logfile scraping Message-ID: <3D94108D.20303@sietec.de> > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, September 26, 2002 11:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] logfile scraping > > > I just wanted to check with everyone regarding the way > they're checking > logfiles for strings to be alerted on. For example: > > - check /var/adm/messages for 'panic'/'PANIC'/'Panic' > - check /var/adm/messages for 'err'/'ERR'/'Err' > - check /var/adm/messages for 'warn'/'WARN'/'Warn' > > I've mentioned before that check_log doesn't work (for me) > and that the > design seems inferior to the contributed Perl-based > check_log2 script. But > I'm open to suggestions. > > What way are you sifting through logfiles? Standard plugin? > Something you > wrote? How reliable has it been? Have you missed anything > you should have > been alerted on? Has your solution misbehaved, or has it > been reasonably > robust? If you did something which the average sysadmin > wouldn't jump on, > but in retrospect seems particularly clever, share your approach and > reasoning. > > I'd like to stay away from 3rd party utilities (eg, SWATCH) > where possible. > > I'm also interested in knowing whether you're scraping the > logfiles on the > hosts themselves, or whether you opted for a central syslog host for > scraping, and the trials and tribulations and the "if I could > do it over > again, I would (not) do it this way again" sort of feedback. Currently I am developing as result of my Bachelor thesis a system, which checks syslog messages. It has a perl daemon which checks each log line for certain words implying bad things on the basis of a MySQL database. When such a word is found the perl daemon writes into Nagios external command file. Then Nagios sends an email to alert me. My Nagios host is also my central syslog host in my network. I write all the logs into a MySQL database for later analysis. The database is on a dedicated host. On the frontend there is a user interface relying on Apache/mod_perl, designed like Nagios event log page. I am planning to release a beta in 4 -5 weeks on my homepage. 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 tdeblend at gcc.dhl.com Fri Sep 27 10:06:23 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 27 Sep 2002 10:06:23 +0200 Subject: check_hpjd References: <5.1.1.2.0.20020927095305.00a41100@192.168.0.2> Message-ID: <3D94117F.34BB28C0@gcc.dhl.com> [root at netsaint logging]# ls /usr/src/install/netsaint/netsaint-plugins-1.2.9-4/plugins/ | grep hpjd check_hpjd check_hpjd.c check_hpjd.o Pawel Wojnicki wrote: > > Where can i find the "check_hpjd" plugin? I have the nagiosplug-1.3-beta1 > package and it's not there after I compile it. I also checked in > netsaint-plugins-1.2.9-4 - no dice. > Pawel > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Fri Sep 27 10:23:56 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 27 Sep 2002 18:23:56 +1000 Subject: check_command - vanilla or w/ arguments? Message-ID: <5.1.0.14.2.20020927181806.00b11008@imap.qut.edu.au> Hi all, I was wondering what method people have used: Pass arguments to template-like commands from the service definition, OR place all variables etc in the service definitions? I guess how many services/commands you have/want/need guide the choice, but I was wondering what people have used and is there someone here who has changed between these two methods? 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 markb at deeptech.com.au Fri Sep 27 10:33:17 2002 From: markb at deeptech.com.au (Mark Burring) Date: Fri, 27 Sep 2002 16:33:17 +0800 Subject: No Access to CGI's for b6 Message-ID: Hi, I'm having an odd problem where I am continuously locked out of the CGI's with the message It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. No matter how I manipulate cgi.cfg or the Web server I am stuck with this message. - The web server user can read the status file - It fails no matter what use_authentication is set to. - The CGI's will work offline. - The web server has been reinstalled (Redhat 6.2 RPM apache 1.3.22) with a stock conf which was then modified for Nagios. - The .htaccess is setup exactly as the documentation says with permissions of 755. Any help would be great. Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wojnicki at asw.waw.pl Fri Sep 27 10:44:00 2002 From: wojnicki at asw.waw.pl (Pawel Wojnicki) Date: Fri, 27 Sep 2002 10:44:00 +0200 Subject: check_hpjd In-Reply-To: <3D94117F.34BB28C0@gcc.dhl.com> References: <5.1.1.2.0.20020927095305.00a41100@192.168.0.2> Message-ID: <5.1.1.2.0.20020927104236.00a39a40@192.168.0.2> OK so I do have the source but why doesn't it get compiled with the other plugins? At 10:06 02-09-27 +0200, you wrote: >[root at netsaint logging]# ls >/usr/src/install/netsaint/netsaint-plugins-1.2.9-4/plugins/ | grep >hpjd >check_hpjd >check_hpjd.c >check_hpjd.o > >Pawel Wojnicki wrote: > > > > Where can i find the "check_hpjd" plugin? I have the nagiosplug-1.3-beta1 > > package and it's not there after I compile it. I also checked in > > netsaint-plugins-1.2.9-4 - no dice. > > Pawel > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > 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 tdeblend at gcc.dhl.com Fri Sep 27 10:51:18 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 27 Sep 2002 10:51:18 +0200 Subject: check_hpjd References: <5.1.1.2.0.20020927095305.00a41100@192.168.0.2> <5.1.1.2.0.20020927104236.00a39a40@192.168.0.2> Message-ID: <3D941C06.FB9AD53E@gcc.dhl.com> Have you checked the output of the ./configure script? You probably don't have all the requirements. I guess you don't have all snmp utils... Pawel Wojnicki wrote: > > OK so I do have the source but why doesn't it get compiled with the other > plugins? > > At 10:06 02-09-27 +0200, you wrote: > >[root at netsaint logging]# ls > >/usr/src/install/netsaint/netsaint-plugins-1.2.9-4/plugins/ | grep > >hpjd > >check_hpjd > >check_hpjd.c > >check_hpjd.o > > > >Pawel Wojnicki wrote: > > > > > > Where can i find the "check_hpjd" plugin? I have the nagiosplug-1.3-beta1 > > > package and it's not there after I compile it. I also checked in > > > netsaint-plugins-1.2.9-4 - no dice. > > > Pawel > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > 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 d.pavani at cineca.it Fri Sep 27 11:27:36 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Fri, 27 Sep 2002 11:27:36 +0200 Subject: New check_http References: <006a01c2656f$3640b220$0501a8c0@asus> Message-ID: <3D942488.7010701@cineca.it> I am trying to compile new beta check_http with SSL support (just to check https in a nice way, doing by lynx at the moment). I use: gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include -g -O2 -c check_http.c then gcc -g -O2 -L. -o check_http check_http.o netutils.o utils.o -lnsl -lresolv -lutil -lssl I have libssl installed, of course. But in running the plugin I get: ./check_http www.putahosthere.it -S -p443 check_http: invalid option - SSL is not available Any hint to solve my problem? Thanks ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti phone:+39 0516171411 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Fri Sep 27 11:27:28 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 27 Sep 2002 19:27:28 +1000 Subject: Allow 24x7 email, but restrict winpopup to Business Hours Message-ID: <5.1.0.14.2.20020927192032.0365dc30@imap.qut.edu.au> Hi all again, I've had an RTFM and I don't think there is a way of doing this, but I was wondering if someone knows how to: Have my contacts receive email 24x7 Have my contacts receive winpopup messages in Business Hours (and when I get the pager set up) Have my contacts receive a page outside of BH. These notifications include both host and service types, so I can't use host_notification_period and service_notification_period to provide the filtering. Looking at the problem from a timeperiod point of view, (rather than getting winpopup machine names defined from within a contact - i'll let you all know if I find a way) I can't seem to find a way of doing this. Has anyone done this? As always, 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 freddy.frouin at fluxus.net Fri Sep 27 11:40:12 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 11:40:12 +0200 Subject: New check_http In-Reply-To: <3D942488.7010701@cineca.it> References: <006a01c2656f$3640b220$0501a8c0@asus> <3D942488.7010701@cineca.it> Message-ID: <20020927114012.27db9bd5.freddy.frouin@fluxus.net> try: gcc -DHAVE_CONFIG_H -DHAVE_SSL [...] then, maybe you will have to link it correctly with the ssl library, so to compile it in 2 step. yet, why do you not run the ./configure wich should enable the ssl support if it find it on your system ?? On Fri, 27 Sep 2002 11:27:36 +0200 Denis Pavani wrote: > I am trying to compile new beta check_http with SSL support (just to > check https in a nice way, doing by lynx at the moment). > I use: > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include > -g -O2 -c check_http.c > > then > > gcc -g -O2 -L. -o check_http check_http.o netutils.o utils.o -lnsl > -lresolv -lutil -lssl > > I have libssl installed, of course. > But in running the plugin I get: > > ./check_http www.putahosthere.it -S -p443 > check_http: invalid option - SSL is not available > > Any hint to solve my problem? > Thanks > > ************************************************************************ > Denis Pavani > > CINECA - Comunicazioni e Sistemi Distribuiti > > phone:+39 0516171411 / fax:+39 0516132198 > http://www.cineca.it > ************************************************************************ > "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" > -- Gunny Highway > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Fri Sep 27 11:46:23 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 11:46:23 +0200 Subject: Allow 24x7 email, but restrict winpopup to Business Hours In-Reply-To: <5.1.0.14.2.20020927192032.0365dc30@imap.qut.edu.au> References: <5.1.0.14.2.20020927192032.0365dc30@imap.qut.edu.au> Message-ID: <20020927114623.08059cb2.freddy.frouin@fluxus.net> just look the contacts defs: define contact{ contact_name freddy alias Freddy Frouin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } with this, you can specify notification period for all your contacts individualy, so you just have to define multiple virtual contacts for one phisical contact, you will have: define contact{ contact_name freddy-email alias Freddy Frouin Email service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-popup alias Freddy Frouin Popup service_notification_period 8x5 host_notification_period 8x5 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-popup host_notification_commands host-notify-by-popup email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-page alias Freddy Frouin Page service_notification_period nights-and-we host_notification_period nights-and-we service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-page host_notification_commands host-notify-by-page email freddy.frouin at fluxus.net pager ff at fluxus.net } I hope this help... what do you think about this solution ?? Freddy. On Fri, 27 Sep 2002 19:27:28 +1000 Greg Vickers wrote: > Hi all again, > I've had an RTFM and I don't think there is a way of doing this, but I was > wondering if someone knows how to: > > Have my contacts receive email 24x7 > Have my contacts receive winpopup messages in Business Hours > (and when I get the pager set up) > Have my contacts receive a page outside of BH. > > These notifications include both host and service types, so I can't use > host_notification_period and service_notification_period to provide the > filtering. > > Looking at the problem from a timeperiod point of view, (rather than > getting winpopup machine names defined from within a contact - i'll let you > all know if I find a way) I can't seem to find a way of doing this. > > Has anyone done this? > > As always, > 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 > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From d.pavani at cineca.it Fri Sep 27 12:48:06 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Fri, 27 Sep 2002 12:48:06 +0200 Subject: New check_http References: <006a01c2656f$3640b220$0501a8c0@asus> <3D942488.7010701@cineca.it> <20020927114012.27db9bd5.freddy.frouin@fluxus.net> Message-ID: <3D943766.10903@cineca.it> Ok, I cleared config.cache and configure works correctly now. Thanks Freddy Frouin wrote: > try: > > gcc -DHAVE_CONFIG_H -DHAVE_SSL [...] > > then, maybe you will have to link it correctly with the ssl library, so > to compile it in 2 step. > > yet, why do you not run the ./configure wich should enable the ssl support if > it find it on your system ?? > > On Fri, 27 Sep 2002 11:27:36 +0200 > Denis Pavani wrote: > > >>I am trying to compile new beta check_http with SSL support (just to >>check https in a nice way, doing by lynx at the moment). >>I use: >>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include >>-g -O2 -c check_http.c >> >>then >> >>gcc -g -O2 -L. -o check_http check_http.o netutils.o utils.o -lnsl >>-lresolv -lutil -lssl >> >>I have libssl installed, of course. >>But in running the plugin I get: >> >>./check_http www.putahosthere.it -S -p443 >>check_http: invalid option - SSL is not available >> >>Any hint to solve my problem? >>Thanks >> >>************************************************************************ >>Denis Pavani >> >>CINECA - Comunicazioni e Sistemi Distribuiti >> >>phone:+39 0516171411 / fax:+39 0516132198 >>http://www.cineca.it >>************************************************************************ >> "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" >> -- Gunny Highway >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > -- ************************************************************************ 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 dean.bishop at tcdsb.org Fri Sep 27 14:20:08 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 08:20:08 -0400 Subject: syslog functionality Message-ID: Nagios doesn't have this ability directly. i have been using swatch and jamming the result through a perl script and into the external command file. This project that you are considering sounds interesting. One suggestion: try to develop it so that it can either stand on it's own or be added to Nagios. More people would get use of it. If it had a web front end, then adding the colour-coded entries would be as simple as adding a link to the Nagios site. Then all you would have to do is find a way to get the syslog entries of interest into nagios. If it uses the external command file, it could stand alone. What sort of clients are you looking to monitor? Is Win* included? There are quite a few people looking for a good way to add this to Nagios. my 2cents. keep the change :) dean -----Original Message----- From: ritter6281 at earthlink.net [mailto:ritter6281 at earthlink.net] Sent: Thursday, September 26, 2002 3:01 AM To: nagios-users Subject: [Nagios-users] syslog functionality Does Nagios currently have the ability to receive and associate syslogs remotely received from servers that are being monitored within Nagios? I ask because I am considering developing something for Nagios that could do this, but I have not been using Nagios for long enough to know if this capability is already there. It would be nice to be able to look at syslog entries received from a remote server when looking at a particular server detail within Nagios. And to have it color-coded would be cool as well. Is there any of this functionality currently? Nicholas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to 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 dean.bishop at tcdsb.org Fri Sep 27 14:28:35 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 08:28:35 -0400 Subject: check_command - vanilla or w/ arguments? Message-ID: templates rule! i set up netsaint with about 1100 hosts (one service/host) and then migrated to the templates of Nagios. there is a script that helps do this (takes the single line method and changes it to the template format) but you still need to go through and clean up the resulting configs as each of the services have all parameters specified. i created about a dozen templates based on contact_groups and check_command and then spend a day or two redoing my files. the result is quick changes and easier administration. hth, dean -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Friday, September 27, 2002 4:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_command - vanilla or w/ arguments? Hi all, I was wondering what method people have used: Pass arguments to template-like commands from the service definition, OR place all variables etc in the service definitions? I guess how many services/commands you have/want/need guide the choice, but I was wondering what people have used and is there someone here who has changed between these two methods? 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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From bastiaan at iptower.nl Fri Sep 27 14:35:27 2002 From: bastiaan at iptower.nl (Bastiaan van den Berg) Date: 27 Sep 2002 14:35:27 +0200 Subject: check_rcon? In-Reply-To: <3D943766.10903@cineca.it> References: <006a01c2656f$3640b220$0501a8c0@asus> <3D942488.7010701@cineca.it> <20020927114012.27db9bd5.freddy.frouin@fluxus.net> <3D943766.10903@cineca.it> Message-ID: <1033130127.14063.1254.camel@baw> hiya i wondered if anybody ever made a quake3/moh:aa/unreal tournament/counterstrike/tribes2 monitor tool? with regards Bastiaan v/d Berg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Fri Sep 27 14:34:48 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Fri, 27 Sep 2002 14:34:48 +0200 Subject: Problem with NSClient 1.0.7.0 on non-english Win2000 Message-ID: <007a01c26622$44a3c560$7f00a8c0@pc127> Hi all, I have a problem with NSClient 1.0.7.0 running on a german version of Windows 2000 Server. Every five seconds the NSClient adds 5 Errors to the Applications section of the NT Event Log. When NSClient first starts it recognizes the correct language code for the system. I am running the same client version on another server with the same OS and don't get any errors there. For some reason the version of the files pdh.dll and psapi.dll in nsclient's directory differ from the ones in the windows/system32 directory. The ones in the nsclient dir are These varibles of the check_nt plugin work w/o any problems: CLIENTVERSION USEDDISKSPACE SERVICESTATE PROCSTATE These varibles return errors or invalid data: CPULOAD - NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&35 UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb (nan%) The error messages in the nt log all talk about the pdh.dll file. Then, 4 of five messages have the same error code: CPU, Uptime, CommitWrite, CommitByte (all error code 0xC0000BBC), Collect has (0x800007D5). I have already contacted the team of NSClient, but did not receive a response as of yet. I would be happy to hear from anybody providing hints to the solution of the problem. Thank you. Sincerely, Daniel Geske ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 14:35:07 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 08:35:07 -0400 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours Message-ID: This is exactly what i ended up doing. What do i think? sux but i don't see an alternative. This might be a nice to have feature??? -----Original Message----- From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] Sent: Friday, September 27, 2002 5:46 AM To: Greg Vickers Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to Business Hours just look the contacts defs: define contact{ contact_name freddy alias Freddy Frouin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } with this, you can specify notification period for all your contacts individualy, so you just have to define multiple virtual contacts for one phisical contact, you will have: define contact{ contact_name freddy-email alias Freddy Frouin Email service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-popup alias Freddy Frouin Popup service_notification_period 8x5 host_notification_period 8x5 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-popup host_notification_commands host-notify-by-popup email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-page alias Freddy Frouin Page service_notification_period nights-and-we host_notification_period nights-and-we service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-page host_notification_commands host-notify-by-page email freddy.frouin at fluxus.net pager ff at fluxus.net } I hope this help... what do you think about this solution ?? Freddy. On Fri, 27 Sep 2002 19:27:28 +1000 Greg Vickers wrote: > Hi all again, > I've had an RTFM and I don't think there is a way of doing this, but I was > wondering if someone knows how to: > > Have my contacts receive email 24x7 > Have my contacts receive winpopup messages in Business Hours > (and when I get the pager set up) > Have my contacts receive a page outside of BH. > > These notifications include both host and service types, so I can't use > host_notification_period and service_notification_period to provide the > filtering. > > Looking at the problem from a timeperiod point of view, (rather than > getting winpopup machine names defined from within a contact - i'll let you > all know if I find a way) I can't seem to find a way of doing this. > > Has anyone done this? > > As always, > 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 > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 14:31:54 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 08:31:54 -0400 Subject: No Access to CGI's for b6 Message-ID: is this a new installation? did you add the apache user to the nagios group and reboot (could someone please explain why the reboot is necessary??). are you logging in using a username that is the same as one of your Nagios contacts? hth, dean -----Original Message----- From: Mark Burring [mailto:markb at deeptech.com.au] Sent: Friday, September 27, 2002 4:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No Access to CGI's for b6 Hi, I'm having an odd problem where I am continuously locked out of the CGI's with the message It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. No matter how I manipulate cgi.cfg or the Web server I am stuck with this message. - The web server user can read the status file - It fails no matter what use_authentication is set to. - The CGI's will work offline. - The web server has been reinstalled (Redhat 6.2 RPM apache 1.3.22) with a stock conf which was then modified for Nagios. - The .htaccess is setup exactly as the documentation says with permissions of 755. Any help would be great. Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://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 27 14:43:46 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 27 Sep 2002 14:43:46 +0200 Subject: check_rcon? References: <006a01c2656f$3640b220$0501a8c0@asus> <3D942488.7010701@cineca.it> <20020927114012.27db9bd5.freddy.frouin@fluxus.net> <3D943766.10903@cineca.it> <1033130127.14063.1254.camel@baw> Message-ID: <3D945282.7D0E718@gcc.dhl.com> there is a check_game in the official plugin distribution which checks quake servers Bastiaan van den Berg wrote: > > hiya > > i wondered if anybody ever made a quake3/moh:aa/unreal > tournament/counterstrike/tribes2 monitor tool? > > 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 pspa at gp.novis.pt Fri Sep 27 14:51:16 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: 27 Sep 2002 13:51:16 +0100 Subject: Problem with NSClient 1.0.7.0 on non-english Win2000 In-Reply-To: <007a01c26622$44a3c560$7f00a8c0@pc127> References: <007a01c26622$44a3c560$7f00a8c0@pc127> Message-ID: <1033131077.1545.9.camel@dhcp7-239.gp.novis.sonae.pt> Hello. It's not a NSclient problem, it is a Window$ performance counters problem. On the W2K reskit you'll find an application to check/modify/reinstall the perfcounters ... If you can't find it, tell me... I'll try to find it for you. Hugz, On Fri, 2002-09-27 at 13:34, Daniel Geske wrote: > Hi all, > > I have a problem with NSClient 1.0.7.0 running on a german version of > Windows 2000 Server. > Every five seconds the NSClient adds 5 Errors to the Applications section of > the NT Event Log. > When NSClient first starts it recognizes the correct language code for the > system. > I am running the same client version on another server with the same OS and > don't get any errors there. > For some reason the version of the files pdh.dll and psapi.dll in nsclient's > directory differ from the ones in the windows/system32 directory. The ones > in the nsclient dir are > These varibles of the check_nt plugin work w/o any problems: > CLIENTVERSION > USEDDISKSPACE > SERVICESTATE > PROCSTATE > > These varibles return errors or invalid data: > CPULOAD - NSClient - ERROR:Malformed request or internal error. Check > EventLog:None&2&35 > UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) > MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb > (nan%) > > The error messages in the nt log all talk about the pdh.dll file. Then, 4 of > five messages have the same error code: > CPU, Uptime, CommitWrite, CommitByte (all error code 0xC0000BBC), Collect > has (0x800007D5). > > I have already contacted the team of NSClient, but did not receive a > response as of yet. > > I would be happy to hear from anybody providing hints to the solution of the > problem. > > Thank you. > Sincerely, > > Daniel Geske > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to 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 milena_s at postmaster.co.uk Fri Sep 27 14:52:22 2002 From: milena_s at postmaster.co.uk (milena schrevel) Date: Fri, 27 Sep 2002 13:52:22 +0100 Subject: notification_interval Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From freddy.frouin at fluxus.net Fri Sep 27 14:54:41 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 14:54:41 +0200 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours In-Reply-To: References: Message-ID: <20020927145441.3ae2e5bf.freddy.frouin@fluxus.net> not at all. You could do the job yourself in the notify script which could take as argument the current time of notification. So you notify 24x7 but you process the time in your notification script to determine what to do. I do not think that it would be a nice feature... just will render the configuration more complex... nice software are software easy to use. yet that's only my poor opinion, so. Freddy. On Fri, 27 Sep 2002 08:35:07 -0400 "Bishop, Dean" wrote: > This is exactly what i ended up doing. > > What do i think? sux but i don't see an alternative. This might be a nice > to have feature??? > > > > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Friday, September 27, 2002 5:46 AM > To: Greg Vickers > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > Business Hours > > > just look the contacts defs: > > define contact{ > contact_name freddy > alias Freddy Frouin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > with this, you can specify notification period for all your contacts > individualy, so you just have to define multiple virtual contacts for > one phisical contact, you will have: > > define contact{ > contact_name freddy-email > alias Freddy Frouin Email > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > define contact{ > contact_name freddy-popup > alias Freddy Frouin Popup > service_notification_period 8x5 > host_notification_period 8x5 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-popup > host_notification_commands host-notify-by-popup > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > define contact{ > contact_name freddy-page > alias Freddy Frouin Page > service_notification_period nights-and-we > host_notification_period nights-and-we > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-page > host_notification_commands host-notify-by-page > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > I hope this help... what do you think about this solution ?? > > Freddy. > > On Fri, 27 Sep 2002 19:27:28 +1000 > Greg Vickers wrote: > > > Hi all again, > > I've had an RTFM and I don't think there is a way of doing this, but I was > > > wondering if someone knows how to: > > > > Have my contacts receive email 24x7 > > Have my contacts receive winpopup messages in Business Hours > > (and when I get the pager set up) > > Have my contacts receive a page outside of BH. > > > > These notifications include both host and service types, so I can't use > > host_notification_period and service_notification_period to provide the > > filtering. > > > > Looking at the problem from a timeperiod point of view, (rather than > > getting winpopup machine names defined from within a contact - i'll let > you > > all know if I find a way) I can't seem to find a way of doing this. > > > > Has anyone done this? > > > > As always, > > 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 > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Fri Sep 27 15:00:06 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 15:00:06 +0200 Subject: notification_interval In-Reply-To: References: Message-ID: <20020927150006.0cea012d.freddy.frouin@fluxus.net> yeah milena, it is possible... look at the following: notification_interval 120 notification_period 24x7 notification_options c,r with this you only notify critical and recovery state and the critical state is reminded to users at the notification_interval frequence. i hope... this help. f. On Fri, 27 Sep 2002 13:52:22 +0100 "milena schrevel" wrote: > hi all, > is there any possibility to avoid getting renotifiction messages when the service is still in a critical level? i only want messages when it enters the critical status. > thanks for your help! > regards,milena > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Fri Sep 27 15:06:32 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 15:06:32 +0200 Subject: notification_interval In-Reply-To: <20020927150006.0cea012d.freddy.frouin@fluxus.net> References: <20020927150006.0cea012d.freddy.frouin@fluxus.net> Message-ID: <20020927150632.368aa57d.freddy.frouin@fluxus.net> I know enlish so well I've understood the contrary of what you wanted... oops. I don't know how to do what you really want. sorry for the disturb. f. On Fri, 27 Sep 2002 15:00:06 +0200 Freddy Frouin wrote: > yeah milena, > > it is possible... look at the following: > > notification_interval 120 > notification_period 24x7 > notification_options c,r > > with this you only notify critical and recovery state and the > critical state is reminded to users at the notification_interval > frequence. > > i hope... this help. > > f. > > On Fri, 27 Sep 2002 13:52:22 +0100 > "milena schrevel" wrote: > > > hi all, > > is there any possibility to avoid getting renotifiction messages when the service is still in a critical level? i only want messages when it enters the critical status. > > thanks for your help! > > regards,milena > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Steve_J_Alston at ryder.com Fri Sep 27 15:04:13 2002 From: Steve_J_Alston at ryder.com (Steve_J_Alston at ryder.com) Date: Fri, 27 Sep 2002 09:04:13 -0400 Subject: Allow 24x7 email, but restrict winpopup to Business Hours Message-ID: I put both the Machine Name and the I.P. address (seen here as xxx.xxx.xxx.xxx) in the pager variable. I wanted to send emails all the time and winpopup only during working hours. Here is what I did: In contacts.cfg: define contact { contact_name steve_alston_email alias Steve Alston Email service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email steve_alston at ryder.com } define contact { contact_name steve_alston_winpopup alias Steve Alston Winpopup service_notification_period workhours host_notification_period workhours service_notification_options u,c,r host_notification_options d,u,r service_notification_commands notify-by-winpopup host_notification_commands host-notify-by-winpopup email steve_alston at ryder.com pager RTECWSSA002 -I xxx.xxx.xxx.xxx } In misccommands.cfg: define command{ command_name notify-by-winpopup command_line printf "Service: $SERVICEDESC$\n$HOSTNAME$ \"$HOSTALIAS$\" at IP $HO STADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$" | smbclient -M $CONTACTPAGER$ -U "Nagios Monitor ing Station" } define command{ command_name host-notify-by-winpopup command_line printf "$HOSTNAME$ \"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a $HOST STATE$ state.\nThe output from the host check command: $OUTPUT$" | smbclient -M $CONTACTPAGER$ -U " Nagios Monitoring Station" } In timeperiods.cfg: define timeperiod { timeperiod_name workhours alias "Normal" Working Hours monday 08:00-17:00 tuesday 08:00-17:00 wednesday 08:00-17:00 thursday 08:00-17:00 friday 08:00-17:00 } In contactgroups.cfg: define contactgroup { contactgroup_name pkms alias PkMS members steve_alston_email,steve_alston_winpopup,another_person_winpopup } Hope this helps Steve Alston -------------------------------------------- Message: 10 Date: Fri, 27 Sep 2002 11:46:23 +0200 From: Freddy Frouin To: Greg Vickers Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to Business Hours Organization: Fluxus just look the contacts defs: define contact{ contact_name freddy alias Freddy Frouin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } with this, you can specify notification period for all your contacts individualy, so you just have to define multiple virtual contacts for one phisical contact, you will have: define contact{ contact_name freddy-email alias Freddy Frouin Email service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-popup alias Freddy Frouin Popup service_notification_period 8x5 host_notification_period 8x5 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-popup host_notification_commands host-notify-by-popup email freddy.frouin at fluxus.net pager ff at fluxus.net } define contact{ contact_name freddy-page alias Freddy Frouin Page service_notification_period nights-and-we host_notification_period nights-and-we service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-page host_notification_commands host-notify-by-page email freddy.frouin at fluxus.net pager ff at fluxus.net } I hope this help... what do you think about this solution ?? Freddy. On Fri, 27 Sep 2002 19:27:28 +1000 Greg Vickers wrote: > Hi all again, > I've had an RTFM and I don't think there is a way of doing this, but I = was=20 > wondering if someone knows how to: >=20 > Have my contacts receive email 24x7 > Have my contacts receive winpopup messages in Business Hours > (and when I get the pager set up) > Have my contacts receive a page outside of BH. >=20 > These notifications include both host and service types, so I can't use= =20 > host_notification_period and service_notification_period to provide the= =20 > filtering. >=20 > Looking at the problem from a timeperiod point of view, (rather than=20 > getting winpopup machine names defined from within a contact - i'll let= you=20 > all know if I find a way) I can't seem to find a way of doing this. >=20 > Has anyone done this? >=20 > As always, > TIA, >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > Kelvin Grove Campus, CRICOS No 00213J >=20 > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: x6147 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >=20 --=20 Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch=E2teau des Rentiers 75013 Paris T=E9l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 15:26:41 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 09:26:41 -0400 Subject: notification_interval Message-ID: set your notification_interval to zero. from: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out. enjoy, dean -----Original Message----- From: milena schrevel [mailto:milena_s at postmaster.co.uk] Sent: Friday, September 27, 2002 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification_interval hi all, is there any possibility to avoid getting renotifiction messages when the service is still in a critical level? i only want messages when it enters the critical status. thanks for your help! regards,milena ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 15:23:45 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 09:23:45 -0400 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours Message-ID: Good morning Freddy, i must disagree. All it would really take is the facility behind lines like pager_notification_period, alternate_notification_command, and _alternate_notification_period. just my 2 cents, keep the change =) dean -----Original Message----- From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] Sent: Friday, September 27, 2002 8:55 AM To: Bishop, Dean Cc: g.vickers at qut.edu.au; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to Bus iness Hours not at all. You could do the job yourself in the notify script which could take as argument the current time of notification. So you notify 24x7 but you process the time in your notification script to determine what to do. I do not think that it would be a nice feature... just will render the configuration more complex... nice software are software easy to use. yet that's only my poor opinion, so. Freddy. On Fri, 27 Sep 2002 08:35:07 -0400 "Bishop, Dean" wrote: > This is exactly what i ended up doing. > > What do i think? sux but i don't see an alternative. This might be a nice > to have feature??? > > > > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Friday, September 27, 2002 5:46 AM > To: Greg Vickers > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > Business Hours > > > just look the contacts defs: > > define contact{ > contact_name freddy > alias Freddy Frouin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > with this, you can specify notification period for all your contacts > individualy, so you just have to define multiple virtual contacts for > one phisical contact, you will have: > > define contact{ > contact_name freddy-email > alias Freddy Frouin Email > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > define contact{ > contact_name freddy-popup > alias Freddy Frouin Popup > service_notification_period 8x5 > host_notification_period 8x5 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-popup > host_notification_commands host-notify-by-popup > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > define contact{ > contact_name freddy-page > alias Freddy Frouin Page > service_notification_period nights-and-we > host_notification_period nights-and-we > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-page > host_notification_commands host-notify-by-page > email freddy.frouin at fluxus.net > pager ff at fluxus.net > } > > I hope this help... what do you think about this solution ?? > > Freddy. > > On Fri, 27 Sep 2002 19:27:28 +1000 > Greg Vickers wrote: > > > Hi all again, > > I've had an RTFM and I don't think there is a way of doing this, but I was > > > wondering if someone knows how to: > > > > Have my contacts receive email 24x7 > > Have my contacts receive winpopup messages in Business Hours > > (and when I get the pager set up) > > Have my contacts receive a page outside of BH. > > > > These notifications include both host and service types, so I can't use > > host_notification_period and service_notification_period to provide the > > filtering. > > > > Looking at the problem from a timeperiod point of view, (rather than > > getting winpopup machine names defined from within a contact - i'll let > you > > all know if I find a way) I can't seem to find a way of doing this. > > > > Has anyone done this? > > > > As always, > > 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 > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Sep 27 15:38:09 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 27 Sep 2002 08:38:09 -0500 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: Okay... Unfortunately, I am still not seeing the desired results... Here are the steps I have done. Perhaps someone can identify something I have left out. * In a separate directory (to isolate my test modifications), I downloaded and expanded the latest Nagios plugins. * Ran the configure: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin * Modified the check_ping.c file, lines 119 to 122 (see original e-mail posting below). * Did a make all * Copied the compiled executable to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical * Posted to group and received recommendation to change the utils.c * Went back to same directory * Modified utils.c, lines 122 to 124 (as described by Nathan) * Ran make all again * Copied the new compiled executable check_ping plugin to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical Thoughts or suggestions? Thanks in advance. Nolan >>> nathan 09/26/02 04:12PM >>> If I remember correctly I believe I had to modify utils.c (line 122/124) and change CRITICAL to WARNING and recompile the plugins.... When I did this I had compiled all plugins "stock" and then modified and recompiled so I had a modified version of check_by_ssh which was the one specific plugin I wanted only warnings for timeouts from. I think I ran strings on the binary plugin and found that modifying the .c for the plugin alone was not returning desired results 8-) Best of luck, Nathan On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > I am just now getting around to trying to implement the workaround > Nathan suggested awhile back, and have been unsuccessful so far. > > I modified the check_ping.c file, lines 119 through 122 to the > following: > > if (pl >= cpl || rta >= crta) > result = STATE_CRITICAL; > else if (pl >= wpl || rta >= wrta || rta < 0) > result = STATE_WARNING; > > Basically, I moved the rta < 0 statement from resulting in a CRITICAL > state to resulting in a WARNING state, assuming that that the rta < 0 > statement is what is determining a timeout. > > I then recompiled the plugins and copied over the new check_ping > executable to libexec. However, timeouts continue to generate CRITICAL > alerts, and not WARNING alerts. > > Admittedly, I have limited development experience, particularly with C. > Can you tell me if I am completely off base or just missing some steps? > I would greatly appreciate the additional assistance. > > Nolan Martin > > >>> nathan 08/20/02 04:35PM >>> > To stop the spam of alerts I recompiled my plugins so that timeouts > were > warnings and not critical then setup my contacts to not get alerted on > service warnings. > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > I've seen this issue pop up several times in the archives, but > without > > any apparent resolution... Perhaps someone can shed some light this > > time. > > > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. > > > > Can someone tell me if this is working as designed, a bug, or > (always > > unlikely) administrator error? > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > Thanks. > > > > Nolan > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Fri Sep 27 15:50:49 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Fri, 27 Sep 2002 15:50:49 +0200 Subject: Problem with NSClient 1.0.7.0 on non-englishWin2000 Message-ID: <002601c2662c$e37699b0$7f00a8c0@pc127> Hi Paulo, May there be anything else I can do before having to reinstall something on that host? I'd rather not touch anything on the server (anything else runs just fine) because it's used in production and there is currently no backup for it. If this must be _the_ solution to the problem, I suppose I need to talk to the IT management and then go ahead and do what needs to be done. Thanks for your answer! Sincerely, Daniel Geske -----Urspr?ngliche Nachricht----- Von: Paulo Pinto An: Daniel Geske Cc: nagios-users at lists.sourceforge.net Datum: Freitag, 27. September 2002 14:51 Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 on non-englishWin2000 >Hello. > >It's not a NSclient problem, it is a Window$ performance counters >problem. > >On the W2K reskit you'll find an application to check/modify/reinstall >the perfcounters ... If you can't find it, tell me... I'll try to find >it for you. > >Hugz, > >On Fri, 2002-09-27 at 13:34, Daniel Geske wrote: >> Hi all, >> >> I have a problem with NSClient 1.0.7.0 running on a german version of >> Windows 2000 Server. >> Every five seconds the NSClient adds 5 Errors to the Applications section of >> the NT Event Log. >> When NSClient first starts it recognizes the correct language code for the >> system. >> I am running the same client version on another server with the same OS and >> don't get any errors there. >> For some reason the version of the files pdh.dll and psapi.dll in nsclient's >> directory differ from the ones in the windows/system32 directory. The ones >> in the nsclient dir are >> These varibles of the check_nt plugin work w/o any problems: >> CLIENTVERSION >> USEDDISKSPACE >> SERVICESTATE >> PROCSTATE >> >> These varibles return errors or invalid data: >> CPULOAD - NSClient - ERROR:Malformed request or internal error. Check >> EventLog:None&2&35 >> UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) >> MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb >> (nan%) >> >> The error messages in the nt log all talk about the pdh.dll file. Then, 4 of >> five messages have the same error code: >> CPU, Uptime, CommitWrite, CommitByte (all error code 0xC0000BBC), Collect >> has (0x800007D5). >> >> I have already contacted the team of NSClient, but did not receive a >> response as of yet. >> >> I would be happy to hear from anybody providing hints to the solution of the >> problem. >> >> Thank you. >> Sincerely, >> >> Daniel Geske >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to 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 freddy.frouin at fluxus.net Fri Sep 27 15:46:19 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 15:46:19 +0200 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours In-Reply-To: References: Message-ID: <20020927154619.58807a39.freddy.frouin@fluxus.net> I understand, you want to be able to define dynamic list of contact period with the associated notifiers... On Fri, 27 Sep 2002 09:23:45 -0400 "Bishop, Dean" wrote: > Good morning Freddy, > > i must disagree. All it would really take is the facility behind lines > like pager_notification_period, alternate_notification_command, and > _alternate_notification_period. > > just my 2 cents, keep the change =) > > dean > > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Friday, September 27, 2002 8:55 AM > To: Bishop, Dean > Cc: g.vickers at qut.edu.au; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > Bus iness Hours > > > not at all. You could do the job yourself in the notify script which > could take as argument the current time of notification. So you > notify 24x7 but you process the time in your notification script > to determine what to do. > > I do not think that it would be a nice feature... just will render the > configuration more complex... nice software are software easy to use. > yet that's only my poor opinion, so. > > Freddy. > > On Fri, 27 Sep 2002 08:35:07 -0400 > "Bishop, Dean" wrote: > > > This is exactly what i ended up doing. > > > > What do i think? sux but i don't see an alternative. This might be a > nice > > to have feature??? > > > > > > > > -----Original Message----- > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Sent: Friday, September 27, 2002 5:46 AM > > To: Greg Vickers > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > > Business Hours > > > > > > just look the contacts defs: > > > > define contact{ > > contact_name freddy > > alias Freddy Frouin > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > with this, you can specify notification period for all your contacts > > individualy, so you just have to define multiple virtual contacts for > > one phisical contact, you will have: > > > > define contact{ > > contact_name freddy-email > > alias Freddy Frouin Email > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > define contact{ > > contact_name freddy-popup > > alias Freddy Frouin Popup > > service_notification_period 8x5 > > host_notification_period 8x5 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-popup > > host_notification_commands host-notify-by-popup > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > define contact{ > > contact_name freddy-page > > alias Freddy Frouin Page > > service_notification_period nights-and-we > > host_notification_period nights-and-we > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-page > > host_notification_commands host-notify-by-page > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > I hope this help... what do you think about this solution ?? > > > > Freddy. > > > > On Fri, 27 Sep 2002 19:27:28 +1000 > > Greg Vickers wrote: > > > > > Hi all again, > > > I've had an RTFM and I don't think there is a way of doing this, but I > was > > > > > wondering if someone knows how to: > > > > > > Have my contacts receive email 24x7 > > > Have my contacts receive winpopup messages in Business Hours > > > (and when I get the pager set up) > > > Have my contacts receive a page outside of BH. > > > > > > These notifications include both host and service types, so I can't use > > > host_notification_period and service_notification_period to provide the > > > filtering. > > > > > > Looking at the problem from a timeperiod point of view, (rather than > > > getting winpopup machine names defined from within a contact - i'll let > > you > > > all know if I find a way) I can't seem to find a way of doing this. > > > > > > Has anyone done this? > > > > > > As always, > > > 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 > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pspa at gp.novis.pt Fri Sep 27 15:59:05 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: 27 Sep 2002 14:59:05 +0100 Subject: Problem with NSClient 1.0.7.0 on non-englishWin2000 In-Reply-To: <002601c2662c$e37699b0$7f00a8c0@pc127> References: <002601c2662c$e37699b0$7f00a8c0@pc127> Message-ID: <1033135146.1546.15.camel@dhcp7-239.gp.novis.sonae.pt> The tool is called "Extensible Performance Counter List.", and it belongs to the reskit "Performance Tools". It's not supposed to cause any type of damage to your machine: in fact, if you have anything on that machine that depends on the perfcounters, I'd say that it won't run :-> Take a look at the tool... it's a enable/disable Perfcounter utility. It won't cause any damage :) P.S. - My guess is that you have 'PerfProc' disabled ... enable it :) Hugz all. On Fri, 2002-09-27 at 14:50, Daniel Geske wrote: > Hi Paulo, > > May there be anything else I can do before having to reinstall something on > that host? I'd rather not touch anything on the server (anything else runs > just fine) because it's used in production and there is currently no backup > for it. > If this must be _the_ solution to the problem, I suppose I need to talk to > the IT management and then go ahead and do what needs to be done. > Thanks for your answer! > > Sincerely, > > Daniel Geske > > -----Urspr?ngliche Nachricht----- > Von: Paulo Pinto > An: Daniel Geske > Cc: nagios-users at lists.sourceforge.net > Datum: Freitag, 27. September 2002 14:51 > Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 on > non-englishWin2000 > > > >Hello. > > > >It's not a NSclient problem, it is a Window$ performance counters > >problem. > > > >On the W2K reskit you'll find an application to check/modify/reinstall > >the perfcounters ... If you can't find it, tell me... I'll try to find > >it for you. > > > >Hugz, > > > >On Fri, 2002-09-27 at 13:34, Daniel Geske wrote: > >> Hi all, > >> > >> I have a problem with NSClient 1.0.7.0 running on a german version of > >> Windows 2000 Server. > >> Every five seconds the NSClient adds 5 Errors to the Applications section > of > >> the NT Event Log. > >> When NSClient first starts it recognizes the correct language code for > the > >> system. > >> I am running the same client version on another server with the same OS > and > >> don't get any errors there. > >> For some reason the version of the files pdh.dll and psapi.dll in > nsclient's > >> directory differ from the ones in the windows/system32 directory. The > ones > >> in the nsclient dir are > >> These varibles of the check_nt plugin work w/o any problems: > >> CLIENTVERSION > >> USEDDISKSPACE > >> SERVICESTATE > >> PROCSTATE > >> > >> These varibles return errors or invalid data: > >> CPULOAD - NSClient - ERROR:Malformed request or internal error. Check > >> EventLog:None&2&35 > >> UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) > >> MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 > Mb > >> (nan%) > >> > >> The error messages in the nt log all talk about the pdh.dll file. Then, 4 > of > >> five messages have the same error code: > >> CPU, Uptime, CommitWrite, CommitByte (all error code 0xC0000BBC), Collect > >> has (0x800007D5). > >> > >> I have already contacted the team of NSClient, but did not receive a > >> response as of yet. > >> > >> I would be happy to hear from anybody providing hints to the solution of > the > >> problem. > >> > >> Thank you. > >> Sincerely, > >> > >> Daniel Geske > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to 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 > > > > > -- 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 dean.bishop at tcdsb.org Fri Sep 27 16:11:51 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 10:11:51 -0400 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours Message-ID: yup. seems reasonable but for me, as i don't code very much/well, the solution you suggested is the same as the one i have instituted - three virtual users per physical body. just alot of typing. Maybe some day i'll find time to look at the code...probably not. :) later, dean -----Original Message----- From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] Sent: Friday, September 27, 2002 9:46 AM To: Bishop, Dean Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to Bus iness Hours I understand, you want to be able to define dynamic list of contact period with the associated notifiers... On Fri, 27 Sep 2002 09:23:45 -0400 "Bishop, Dean" wrote: > Good morning Freddy, > > i must disagree. All it would really take is the facility behind lines > like pager_notification_period, alternate_notification_command, and > _alternate_notification_period. > > just my 2 cents, keep the change =) > > dean > > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Friday, September 27, 2002 8:55 AM > To: Bishop, Dean > Cc: g.vickers at qut.edu.au; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > Bus iness Hours > > > not at all. You could do the job yourself in the notify script which > could take as argument the current time of notification. So you > notify 24x7 but you process the time in your notification script > to determine what to do. > > I do not think that it would be a nice feature... just will render the > configuration more complex... nice software are software easy to use. > yet that's only my poor opinion, so. > > Freddy. > > On Fri, 27 Sep 2002 08:35:07 -0400 > "Bishop, Dean" wrote: > > > This is exactly what i ended up doing. > > > > What do i think? sux but i don't see an alternative. This might be a > nice > > to have feature??? > > > > > > > > -----Original Message----- > > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > > Sent: Friday, September 27, 2002 5:46 AM > > To: Greg Vickers > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to > > Business Hours > > > > > > just look the contacts defs: > > > > define contact{ > > contact_name freddy > > alias Freddy Frouin > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > with this, you can specify notification period for all your contacts > > individualy, so you just have to define multiple virtual contacts for > > one phisical contact, you will have: > > > > define contact{ > > contact_name freddy-email > > alias Freddy Frouin Email > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > define contact{ > > contact_name freddy-popup > > alias Freddy Frouin Popup > > service_notification_period 8x5 > > host_notification_period 8x5 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-popup > > host_notification_commands host-notify-by-popup > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > define contact{ > > contact_name freddy-page > > alias Freddy Frouin Page > > service_notification_period nights-and-we > > host_notification_period nights-and-we > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-page > > host_notification_commands host-notify-by-page > > email freddy.frouin at fluxus.net > > pager ff at fluxus.net > > } > > > > I hope this help... what do you think about this solution ?? > > > > Freddy. > > > > On Fri, 27 Sep 2002 19:27:28 +1000 > > Greg Vickers wrote: > > > > > Hi all again, > > > I've had an RTFM and I don't think there is a way of doing this, but I > was > > > > > wondering if someone knows how to: > > > > > > Have my contacts receive email 24x7 > > > Have my contacts receive winpopup messages in Business Hours > > > (and when I get the pager set up) > > > Have my contacts receive a page outside of BH. > > > > > > These notifications include both host and service types, so I can't use > > > host_notification_period and service_notification_period to provide the > > > filtering. > > > > > > Looking at the problem from a timeperiod point of view, (rather than > > > getting winpopup machine names defined from within a contact - i'll let > > you > > > all know if I find a way) I can't seem to find a way of doing this. > > > > > > Has anyone done this? > > > > > > As always, > > > 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 > > > > > > > > > -- > > Freddy Frouin > > Responsable Supervision > > Fluxus - British Telecom > > 30, rue du Ch?teau des Rentiers > > 75013 Paris > > > > T?l: +33 (0)1 44 97 70 00 > > Fax: +33 (0)1 44 97 70 07 > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 16:16:18 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 10:16:18 -0400 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: Does anyone have a guess as to the source of the problem? i have this from time to time as well but have been attributing it to processor overload and am (or at was) expecting this problem to disappear once i get a new box. anyone have thoughts? dean -----Original Message----- From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] Sent: Friday, September 27, 2002 9:38 AM To: nagios-users at lists.sourceforge.net; nathan at sysadminsith.org Subject: Re: [Nagios-users] Change timeout alerts from CRITICAL to WARNING Okay... Unfortunately, I am still not seeing the desired results... Here are the steps I have done. Perhaps someone can identify something I have left out. * In a separate directory (to isolate my test modifications), I downloaded and expanded the latest Nagios plugins. * Ran the configure: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin * Modified the check_ping.c file, lines 119 to 122 (see original e-mail posting below). * Did a make all * Copied the compiled executable to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical * Posted to group and received recommendation to change the utils.c * Went back to same directory * Modified utils.c, lines 122 to 124 (as described by Nathan) * Ran make all again * Copied the new compiled executable check_ping plugin to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical Thoughts or suggestions? Thanks in advance. Nolan >>> nathan 09/26/02 04:12PM >>> If I remember correctly I believe I had to modify utils.c (line 122/124) and change CRITICAL to WARNING and recompile the plugins.... When I did this I had compiled all plugins "stock" and then modified and recompiled so I had a modified version of check_by_ssh which was the one specific plugin I wanted only warnings for timeouts from. I think I ran strings on the binary plugin and found that modifying the .c for the plugin alone was not returning desired results 8-) Best of luck, Nathan On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > I am just now getting around to trying to implement the workaround > Nathan suggested awhile back, and have been unsuccessful so far. > > I modified the check_ping.c file, lines 119 through 122 to the > following: > > if (pl >= cpl || rta >= crta) > result = STATE_CRITICAL; > else if (pl >= wpl || rta >= wrta || rta < 0) > result = STATE_WARNING; > > Basically, I moved the rta < 0 statement from resulting in a CRITICAL > state to resulting in a WARNING state, assuming that that the rta < 0 > statement is what is determining a timeout. > > I then recompiled the plugins and copied over the new check_ping > executable to libexec. However, timeouts continue to generate CRITICAL > alerts, and not WARNING alerts. > > Admittedly, I have limited development experience, particularly with C. > Can you tell me if I am completely off base or just missing some steps? > I would greatly appreciate the additional assistance. > > Nolan Martin > > >>> nathan 08/20/02 04:35PM >>> > To stop the spam of alerts I recompiled my plugins so that timeouts > were > warnings and not critical then setup my contacts to not get alerted on > service warnings. > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > I've seen this issue pop up several times in the archives, but > without > > any apparent resolution... Perhaps someone can shed some light this > > time. > > > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. > > > > Can someone tell me if this is working as designed, a bug, or > (always > > unlikely) administrator error? > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > Thanks. > > > > Nolan > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Fri Sep 27 16:27:31 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 27 Sep 2002 10:27:31 -0400 (EDT) Subject: Disk Usage Counter In-Reply-To: <5593DA408212D511B0910002A513501F01D2874B@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D2874B@phsexch20.mgh.harvard.edu> Message-ID: NSClient is meant for WindowsNT/2k You need NRPE and to install the plugins locally on the target system. -sg On Fri, 27 Sep 2002, Kaplan, Andrew H. wrote: > No its not. Would the NSClient app installed on each of these machines solve the > problem? > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, September 26, 2002 11:28 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Disk Usage Counter > > > > check_disk only works on local partitions - is check_disk installed on > the 3 machines in question? > > > On Thu, 26 Sep 2002, Kaplan, Andrew H. wrote: > > > Hi J, > > > > When the command is run from within my shell the output is > > > > DISK OK - [87024 kB (90%) free on /dev/hda1. This points to my /boot > partition. > > This means the counter is reading it strictly on my machine and not the > others. > > What did I miss here? > > > > -----Original Message----- > > From: Jeremy Tinley [mailto:jtinley at unirez.com] > > Sent: Wednesday, September 25, 2002 5:30 PM > > To: Kaplan, Andrew H. > > Subject: RE: [Nagios-users] Disk Usage Counter > > > > > > Aside from it being in all CAPS, that looks ok. What happens when you > > run that from your own shell? > > > > -J > > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Wednesday, September 25, 2002 3:42 PM > > To: 'Jeremy Tinley' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Disk Usage Counter > > > > Hi J, > > > > I included the following line in the checkcommands.cfg file: > > > > COMMAND_LINE /USR/LOCAL/NAGIOS/LIBEXEC/CHECK_DISK -W 95 -C 95 > > -P > > /DEV/HDA1 > > > > For good measure I restarted the program. The app came back up but when > > I > > checked via the web interface, the same status information as before > > appeared. > > > > > > > > > > > > > > -----Original Message----- > > From: Jeremy Tinley [mailto:jtinley at unirez.com] > > Sent: Wednesday, September 25, 2002 4:16 PM > > To: Kaplan, Andrew H. > > Subject: RE: [Nagios-users] Disk Usage Counter > > > > > > You have a check_disk line configured in your check commands file. > > Something like: > > > > $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > > > > > > Fill in the variables (the ARGx's from your services.cfg file)... > > > > /path/to/check_disk -w 95 -c 95 -p /dev/vg00 > > > > Now, run THAT from the command line (much like Nagios will) and see what > > you get. > > > > -J > > > > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Wednesday, September 25, 2002 3:10 PM > > To: 'Jeremy Tinley' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Disk Usage Counter > > > > Hi J, > > > > When run with the -V option I get the following: > > > > CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2 > > > > > > -----Original Message----- > > From: Jeremy Tinley [mailto:jtinley at unirez.com] > > Sent: Wednesday, September 25, 2002 4:05 PM > > To: Kaplan, Andrew H. > > Subject: RE: [Nagios-users] Disk Usage Counter > > > > > > What output do you get when you run the check_disk command from the > > command line? > > > > -J > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, > > Andrew H. > > Sent: Wednesday, September 25, 2002 2:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Disk Usage Counter > > > > Hi there, > > > > I am using the Disk Usage counter on three machines: the first two are > > Red > > Hat 7.3 machines. The first is running on three disks that are > > configured > > via a hard disk array. The file name for the array disk is /dev/sda > > while > > the second machine is on a single hard drive and its filename is > > /dev/hda1. > > The third machine an HP-UX 10.20 workstation, and its disk file name is > > /dev/vg00. When the counters are displayed on the web page, the > > diskarray > > machine has an unknown status and does not show any disk usage while the > > the > > other two machines show a disk usage of 87024kB (90%) free. I have > > checked > > the filesystems on both of these machines, and have confirmed that > > readout > > is inaccurate. Is there an additional setting that I need to configure? > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Fri Sep 27 16:40:53 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Fri, 27 Sep 2002 16:40:53 +0200 Subject: something I do not understand... Message-ID: <20020927164053.5e0123f2.freddy.frouin@fluxus.net> I'm trying to enable process_perf_data to only some of the services on specific hosts defined in my configuration. * I've the following value in my nagios.cfg configuration file: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata (commands are correctly defined and are working...) * Then, I've the following host & service template definition: define host{ name generic-host notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 120 notification_period 24x7 notification_options d,u,r register 0 } define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups some-group notification_interval 120 notification_period 24x7 notification_options c,r,u,w register 0 } For me with this, even if the process_perf_data is activated in the configuration, sevices and hosts derivated from this templates should not use the process_perf commands... * So, I've all of my hosts looking like this: define host{ use generic-host host_name some-host alias some-host-alias address some-host-ip parents some-parent-list } * And most of my services like this: define service{ use generic-service host_name some-host service_description ICMP check_command check-host-alive } * And some for which I want them to process perf data like this: define service{ use generic-service host_name some-other-host process_perf_data 1 service_description ICMP check_command check-host-alive } Yet it appears that nagios1.0b6 seems to enable process_perf_data commands execution for all hosts and services... ? does someone see where is the mistake in my configuration ? Help would be appreciated, Thanks, Freddy. -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Sep 27 16:26:45 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 27 Sep 2002 09:26:45 -0500 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: Well, in my environment, I would attribute the timeouts to latency in our network connections to the offending devices. The server I run Nagios on is fairly robust, and is not the issue. I only receive the timeouts for remote sites that see off and on latency. Certainly, in these cases, I also need to look at increasing the timeout threshold, but I still would like to see the timeouts appear as warnings, and not critical alerts. >>> "Bishop, Dean" 09/27/02 09:16AM >>> Does anyone have a guess as to the source of the problem? i have this from time to time as well but have been attributing it to processor overload and am (or at was) expecting this problem to disappear once i get a new box. anyone have thoughts? dean -----Original Message----- From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] Sent: Friday, September 27, 2002 9:38 AM To: nagios-users at lists.sourceforge.net; nathan at sysadminsith.org Subject: Re: [Nagios-users] Change timeout alerts from CRITICAL to WARNING Okay... Unfortunately, I am still not seeing the desired results... Here are the steps I have done. Perhaps someone can identify something I have left out. * In a separate directory (to isolate my test modifications), I downloaded and expanded the latest Nagios plugins. * Ran the configure: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin * Modified the check_ping.c file, lines 119 to 122 (see original e-mail posting below). * Did a make all * Copied the compiled executable to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical * Posted to group and received recommendation to change the utils.c * Went back to same directory * Modified utils.c, lines 122 to 124 (as described by Nathan) * Ran make all again * Copied the new compiled executable check_ping plugin to libexec * Stopped and restarted Nagios, waiting for a timeout. Timeout still shows critical Thoughts or suggestions? Thanks in advance. Nolan >>> nathan 09/26/02 04:12PM >>> If I remember correctly I believe I had to modify utils.c (line 122/124) and change CRITICAL to WARNING and recompile the plugins.... When I did this I had compiled all plugins "stock" and then modified and recompiled so I had a modified version of check_by_ssh which was the one specific plugin I wanted only warnings for timeouts from. I think I ran strings on the binary plugin and found that modifying the .c for the plugin alone was not returning desired results 8-) Best of luck, Nathan On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > I am just now getting around to trying to implement the workaround > Nathan suggested awhile back, and have been unsuccessful so far. > > I modified the check_ping.c file, lines 119 through 122 to the > following: > > if (pl >= cpl || rta >= crta) > result = STATE_CRITICAL; > else if (pl >= wpl || rta >= wrta || rta < 0) > result = STATE_WARNING; > > Basically, I moved the rta < 0 statement from resulting in a CRITICAL > state to resulting in a WARNING state, assuming that that the rta < 0 > statement is what is determining a timeout. > > I then recompiled the plugins and copied over the new check_ping > executable to libexec. However, timeouts continue to generate CRITICAL > alerts, and not WARNING alerts. > > Admittedly, I have limited development experience, particularly with C. > Can you tell me if I am completely off base or just missing some steps? > I would greatly appreciate the additional assistance. > > Nolan Martin > > >>> nathan 08/20/02 04:35PM >>> > To stop the spam of alerts I recompiled my plugins so that timeouts > were > warnings and not critical then setup my contacts to not get alerted on > service warnings. > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > I've seen this issue pop up several times in the archives, but > without > > any apparent resolution... Perhaps someone can shed some light this > > time. > > > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. > > > > Can someone tell me if this is working as designed, a bug, or > (always > > unlikely) administrator error? > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > Thanks. > > > > Nolan > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Sep 27 16:55:06 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Sep 2002 09:55:06 -0500 Subject: Feature request... Message-ID: http://your-nagios-server/nagios/docs/templatetricks.html [quote] All Hosts In Multiple Hostgroups: If you want to create identical services that are assigned to all hosts in one or more hostgroups, you can do so by creating a single service definition. How? The hostgroup_name directive allows you to specify the name of one or more hostgroups that the service should be created for: define service{ hostgroup_name HOSTGROUP1,HOSTGROUP2,...,HOSTGROUPN service_description SOMESERVICE other service directives ... } The definition above would create a service called SOMESERVICE on all hosts that are members of hostgroups HOSTGROUP1 through HOSTGROUPN. All the instances of the SOMESERVICE service would be identical (i.e. have the same check command, max check attempts, notification period, etc.). [end quote] jc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Friday, September 27, 2002 1:42 AM > To: Russell Scibetti > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Feature request... > > > Great, but this is not in the docs... > > > > /FredrikW > > > -----Original Message----- > From: Russell Scibetti [mailto:russell at quadrix.com] > Sent: Thu 26-Sep-02 15:41 > To: Fredrik W?nglund > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Feature request... > > You can do this already. > > define service{ > service_description HTTP > hostgroup_name my_web_servers > contact_groups admins > ..... > } > > It works beautifully. > > -Russell > > Fredrik W?nglund wrote: > > >Shouldn't everything be a little bit easier if you cold > assign a host-group to a service instead of only hosts? > >I have some standard-services that should be run an all > linux-boxes, and it would be great if I did not have to add > every new host to all those service-definitions, but only to > the host-group. > > > > > > > > > >/FredrikW > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From nathan at sysadminsith.org Fri Sep 27 17:01:13 2002 From: nathan at sysadminsith.org (nathan) Date: Fri, 27 Sep 2002 08:01:13 -0700 Subject: Change timeout alerts from CRITICAL to WARNING In-Reply-To: ; from Nolan.Martin@co.travis.tx.us on Fri, Sep 27, 2002 at 09:26:45AM -0500 References: Message-ID: <20020927080113.A27138@sysadminsith.org> grep "CRITICAL - Plugin timed out" * pointed me to popen.c modify lines 240-2: printf ("WARNING - Plugin timed out after %d seconds\n", timeout_interval); exit (STATE_WARNING); After modifying just popen.c or utils.c there was still a CRIT in the resulting binary. Editing both appears to have resulted in a "warn on plugin timeout". Keep in mind that the check_ping specificly will still CRIT on host or network unreachable or if the rta or pl is above threshold. See if that doesn't do the trick for you. Nathan On Fri, Sep 27, 2002 at 09:26:45AM -0500, Nolan Martin wrote: > Well, in my environment, I would attribute the timeouts to latency in > our network connections to the offending devices. The server I run > Nagios on is fairly robust, and is not the issue. I only receive the > timeouts for remote sites that see off and on latency. > > Certainly, in these cases, I also need to look at increasing the > timeout threshold, but I still would like to see the timeouts appear as > warnings, and not critical alerts. > > >>> "Bishop, Dean" 09/27/02 09:16AM >>> > Does anyone have a guess as to the source of the problem? > > i have this from time to time as well but have been attributing it to > processor overload and am (or at was) expecting this problem to > disappear > once i get a new box. > > anyone have thoughts? > > dean > > -----Original Message----- > From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] > Sent: Friday, September 27, 2002 9:38 AM > To: nagios-users at lists.sourceforge.net; nathan at sysadminsith.org > Subject: Re: [Nagios-users] Change timeout alerts from CRITICAL to > WARNING > > > Okay... Unfortunately, I am still not seeing the desired results... > Here are the steps I have done. Perhaps someone can identify > something > I have left out. > > * In a separate directory (to isolate my test modifications), I > downloaded and expanded the latest Nagios plugins. > * Ran the configure: ./configure --prefix=/usr/local/nagios > --with-nagios-user=nagios --with-nagios-group=nagios > --with-cgiurl=/nagios/cgi-bin > * Modified the check_ping.c file, lines 119 to 122 (see original > e-mail > posting below). > * Did a make all > * Copied the compiled executable to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > * Posted to group and received recommendation to change the utils.c > * Went back to same directory > * Modified utils.c, lines 122 to 124 (as described by Nathan) > * Ran make all again > * Copied the new compiled executable check_ping plugin to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > > Thoughts or suggestions? Thanks in advance. > > Nolan > > >>> nathan 09/26/02 04:12PM >>> > If I remember correctly I believe I had to modify utils.c (line > 122/124) > and change CRITICAL to WARNING and recompile the plugins.... > > When I did this I had compiled all plugins "stock" and then modified > and > recompiled so I had a modified version of check_by_ssh which was the > one > specific plugin I wanted only warnings for timeouts from. > > I think I ran strings on the binary plugin and found that modifying > the > .c for the plugin alone was not returning desired results 8-) > > Best of luck, > > Nathan > > On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > > I am just now getting around to trying to implement the workaround > > Nathan suggested awhile back, and have been unsuccessful so far. > > > > I modified the check_ping.c file, lines 119 through 122 to the > > following: > > > > if (pl >= cpl || rta >= crta) > > result = STATE_CRITICAL; > > else if (pl >= wpl || rta >= wrta || rta < 0) > > result = STATE_WARNING; > > > > Basically, I moved the rta < 0 statement from resulting in a > CRITICAL > > state to resulting in a WARNING state, assuming that that the rta < > 0 > > statement is what is determining a timeout. > > > > I then recompiled the plugins and copied over the new check_ping > > executable to libexec. However, timeouts continue to generate > CRITICAL > > alerts, and not WARNING alerts. > > > > Admittedly, I have limited development experience, particularly with > C. > > Can you tell me if I am completely off base or just missing some > steps? > > I would greatly appreciate the additional assistance. > > > > Nolan Martin > > > > >>> nathan 08/20/02 04:35PM >>> > > To stop the spam of alerts I recompiled my plugins so that timeouts > > were > > warnings and not critical then setup my contacts to not get alerted > on > > service warnings. > > > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > > I've seen this issue pop up several times in the archives, but > > without > > > any apparent resolution... Perhaps someone can shed some light > this > > > time. > > > > > > I receive on-going (unexpected and undesired) service alerts due > to > > > timed out plugins. This occurs for pretty much any service, > > including > > > the check_ping, the check_http and check_nwstat (for abends, > etc.). > > > > > > The problem is that the plugin timed out alerts do not seem to > > follow > > > the max_check_attempts for the service. So, even if the previous > > ping > > > was okay, if the next ping check generates a time out, it > > immediately > > > generates a service alert (despite the fact that > max_check_attempts > > is > > > set to 5. > > > > > > Can someone tell me if this is working as designed, a bug, or > > (always > > > unlikely) administrator error? > > > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > > > Thanks. > > > > > > Nolan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: OSDN - Tired of that same old > > > cell phone? Get a new here for FREE! > > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > Nathan > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan the human > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Sep 27 17:12:29 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Sep 2002 10:12:29 -0500 Subject: Allow 24x7 email, but restrict winpopup to Bus iness Hours Message-ID: Probably not the answer you're looking for, but I would take the approach of putting the email address in one contactgroup and the winpopup definition in another contactgroup. You'd need to create new definitions in your contacts.cfg file, so if you have an admin Sam, you'd need to create one definition for the e-mail and another for the winpopup. jc > -----Original Message----- > From: Greg Vickers [mailto:g.vickers at qut.edu.au] > Sent: Friday, September 27, 2002 4:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Allow 24x7 email, but restrict winpopup to > Business Hours > > > Hi all again, > I've had an RTFM and I don't think there is a way of doing > this, but I was > wondering if someone knows how to: > > Have my contacts receive email 24x7 > Have my contacts receive winpopup messages in Business Hours > (and when I get the pager set up) > Have my contacts receive a page outside of BH. > > These notifications include both host and service types, so I > can't use > host_notification_period and service_notification_period to > provide the > filtering. > > Looking at the problem from a timeperiod point of view, (rather than > getting winpopup machine names defined from within a contact > - i'll let you > all know if I find a way) I can't seem to find a way of doing this. > > Has anyone done this? > > As always, > 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 > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From shanson at cruiskeen.com Fri Sep 27 18:07:41 2002 From: shanson at cruiskeen.com (Steve Hanson) Date: Fri, 27 Sep 2002 11:07:41 -0500 Subject: check_hpjd References: <5.1.1.2.0.20020927095305.00a41100@192.168.0.2> Message-ID: <3D94824D.3080403@cruiskeen.com> It uses the snmp package so if you don't have SNMP on the system you compile it on it won't build. It's in the package, you probably just arent compiling it. Pawel Wojnicki wrote: > Where can i find the "check_hpjd" plugin? I have the > nagiosplug-1.3-beta1 package and it's not there after I compile it. I > also checked in netsaint-plugins-1.2.9-4 - no dice. > Pawel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Jeff.Bolden at sterlingsavings.com Fri Sep 27 18:26:20 2002 From: Jeff.Bolden at sterlingsavings.com (Jeff Bolden) Date: Fri, 27 Sep 2002 09:26:20 -0700 Subject: NS Client Page file Message-ID: <9C6850E058139C4FB8846E6E482367AB031442A2@exchange2000.sterlingsavings.com> > Hey Jeff, > > What does your command look like - I'm trying to pull > anything out of the counters and I get an error on all of them. > > Just trying it > ./check_nt -H usmnls16 -v COUNTER -l "System\\Processor Queue Length" > > This is my commands.cfg file entry: > $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l > "Paging File(_Total)\% Usage","Paging File usage is %.2f %%" > -w $ARG1$ -c $ARG2$ > > All of my attempts enter an error into the event log and give > me a big ole' 0. > > Thanks for your help! > Andy Here's a bunch of my NT checks from the checkcommand.cfg file. Sorry, some of the lines are wrapped due to length... #### NT SERVER CHECKS ########################################################### #### # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } # 'check_nt_cpuload' command definition define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ } # 'check_nt_uptime' command definition define command{ command_name check_nt_uptime command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME } # 'check_nt_clientversion' command definition define command{ command_name check_nt_clientversion command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION } # 'check_nt_process' command definition define command{ command_name check_nt_process command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ } # 'check_nt_service' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } # 'check_nt_memuse' command definition define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } # 'check_nt_fileage' command definition define command{ command_name check_nt_fileage command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ } # 'check_nt_pagingfile' command definition define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%" -w $ARG1$ -c $ARG2$ } # 'check_nt_msgsent' command definition define command{ command_name check_nt_msgsent command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Sent/min","%.f messages sent per minute" -w $ARG1$ -c $ARG2$ } # 'check_nt_msgsubmit' command definition define command{ command_name check_nt_msgsubmit command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Submitted/min","%.f messages Submitted per minute" -w $ARG1$ -c $ARG2$ } # 'check_nt_msgdelivered' command definition define command{ command_name check_nt_msgdelivered command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min","%.f messages Delivered per minute" -w $ARG1$ -c $ARG2$ } # 'check_nt_sendque' command definition define command{ command_name check_nt_sendque command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Send Que Size","%.f messages waiting in Send Que" -w $ARG1$ -c $ARG2$ } ######################################################################## # Here's the entries in my services.cfg file that correspond with the above... #### LOCAL NT HOST CHECKS #### UPTIME # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 1440 notification_period none notification_options c,r check_command check_nt_uptime } #### MEM USAGE # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Memory Usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_memuse!80!90 } #### PAGEFILE USAGE # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Pagefile Usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_pagingfile!80!90 } #### CPU LOAD # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_cpuload!10,80,95,60,80,95,1440,80,95 } #### C:\ DISK UTILIZATION # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Disk Usage - C:\ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!c!80!90 } #### D:\ DISK UTILIZATION # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Disk Usage - D:\ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!d!80!90 } ## E:\ DISK UTILIZATION # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Disk Usage - E:\ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!e!80!90 } #### NT CRITICAL SERVICES CHECKS ################################ # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description Critical Services is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_service!DHCPServer,WINS } ################################################################# There you have it. It works really well here in my NT-centric environment. We are a Win2k/Novell shop here, the only Linux we have at the moment is what I'm using for monitoring via Nagios, MRTG, Ntop, and a few other things. Learning as I go... =) Jeff Bolden ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jdoak at lucasarts.com Fri Sep 27 18:48:58 2002 From: jdoak at lucasarts.com (John Doak) Date: Fri, 27 Sep 2002 09:48:58 -0700 Subject: Trouble with the web interface, Message-ID: <73E1A4BD6275D411907000508B95B0D4096EC8CE@orwell-bu.lucasarts.com> I'm having some trouble with the web interface, which seems to be my only stumbling block with nagios. I'm experienced with netsaint, but I'm not sure what the problem is here. I've entered in the information correctly in my httpd.conf file. Saying that wasn't working, I copied my httpd.conf file from my netsaint server, re-wrote the lines to reflect nagios, and get the same error: The Whoops! Errror: Could not read host and service status information. I've done: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. as asked by the "Whoops!" webpage. Nothing in the log, -v says I'm fine. The proccess is running, and verified as I'm getting email alerts. I compiled the program with the --with-template....... option, to use template format. That should have compiled the cgi's to use the same, as they are included with the main program. What's also interesting to note is that the following get the error: Tactical Service Detail Status Map Host Problems Comments Downtime Proccess Info Schedueling Queue The Reporting Cgi's work fine. And the rest give me a "you dont' have priveledges" error. I have disabled authentication in the cgi's, until I get this working. When I had it enabled with authentication in apache, I would be prompted for a username/password, but it would never accept them. So I've removed .htaccess and the other access files. My system is RH 7.3, vanilla. Nagios is the first application running on it. Anyone have any ideas? __________________________________________ John G. Doak Jr. Network Administrator LucasArts Entertainment jdoak at lucasarts.com 415-444-8787 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjf at mind.net Fri Sep 27 21:14:59 2002 From: jjf at mind.net (John Fox) Date: Fri, 27 Sep 2002 12:14:59 -0700 Subject: Confusion over service definitions for passive checks Message-ID: <20020927121459.H98563@mind.net> Hi, Folks, I'm working on setting up some passive checks, and have run into a point of confusion. As I understand the docs, I *must* have a service definition for each passive check, and each service definition must specify a command. And therin lies the problem; what sort of command should be specified for a passive check? It makes no sense to me. Given that the check is passive, nagios has no need to execute a command. Do I instead make some sort of reference to the external command file? Your assistance is greatly appreciated, as this is boggling my poor little brain. :) Thank you, John -- +---------------------------------------------------------------------------+ | John Fox | System Administrator | Internet Ventures Oregon | +---------------------------------------------------------------------------+ | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +---------------------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dault at telhio.org Fri Sep 27 21:33:38 2002 From: dault at telhio.org (Dave Ault) Date: Fri, 27 Sep 2002 15:33:38 -0400 Subject: Plugins on an HPUX 11.0 Box Message-ID: Hello All, For starters, I am brand new to Linux/Unix world so please be patient with me. I found Nagios on the internet and decided to try it out. Currently, by reading this email list, I have successfully installed Nagios on a RH7.2 box and am monitoring 46 devices and 79 services. I have found Nagios to be a great tool and now have my staff using it to monitor our systems. My next step is to monitor a HPUX 11.0 box by way of nrpe. However, I am having difficulty compiling either the Netsaint or Nagios plugins. I have read where several of you are monitoring an HP box with nrpe. Could you please send me the compiled plugins. nrpe did compile fine and I am using the gcc compiler. I have also tried check_hprsc, however I don't have snmp running on the HP server. > Thank You, > Dave Ault > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Nolan.Martin at co.travis.tx.us Fri Sep 27 21:32:42 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 27 Sep 2002 14:32:42 -0500 Subject: Change timeout alerts from CRITICAL to WARNING Message-ID: After modifying popen.c, the check_ping does treat the timeouts as warnings - which is godd. But, it essentially broke check_ping in terms of host checking. I tested it against one of our servers, and watched the alert history. The server never registers any host checks. The alerts remain as service checks and simply go to a hard state. So, Nagios never realizes that the server is down - which is obviously bad, very bad... Nolan >>> nathan 09/27/02 10:01AM >>> grep "CRITICAL - Plugin timed out" * pointed me to popen.c modify lines 240-2: printf ("WARNING - Plugin timed out after %d seconds\n", timeout_interval); exit (STATE_WARNING); After modifying just popen.c or utils.c there was still a CRIT in the resulting binary. Editing both appears to have resulted in a "warn on plugin timeout". Keep in mind that the check_ping specificly will still CRIT on host or network unreachable or if the rta or pl is above threshold. See if that doesn't do the trick for you. Nathan On Fri, Sep 27, 2002 at 09:26:45AM -0500, Nolan Martin wrote: > Well, in my environment, I would attribute the timeouts to latency in > our network connections to the offending devices. The server I run > Nagios on is fairly robust, and is not the issue. I only receive the > timeouts for remote sites that see off and on latency. > > Certainly, in these cases, I also need to look at increasing the > timeout threshold, but I still would like to see the timeouts appear as > warnings, and not critical alerts. > > >>> "Bishop, Dean" 09/27/02 09:16AM >>> > Does anyone have a guess as to the source of the problem? > > i have this from time to time as well but have been attributing it to > processor overload and am (or at was) expecting this problem to > disappear > once i get a new box. > > anyone have thoughts? > > dean > > -----Original Message----- > From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] > Sent: Friday, September 27, 2002 9:38 AM > To: nagios-users at lists.sourceforge.net; nathan at sysadminsith.org > Subject: Re: [Nagios-users] Change timeout alerts from CRITICAL to > WARNING > > > Okay... Unfortunately, I am still not seeing the desired results... > Here are the steps I have done. Perhaps someone can identify > something > I have left out. > > * In a separate directory (to isolate my test modifications), I > downloaded and expanded the latest Nagios plugins. > * Ran the configure: ./configure --prefix=/usr/local/nagios > --with-nagios-user=nagios --with-nagios-group=nagios > --with-cgiurl=/nagios/cgi-bin > * Modified the check_ping.c file, lines 119 to 122 (see original > e-mail > posting below). > * Did a make all > * Copied the compiled executable to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > * Posted to group and received recommendation to change the utils.c > * Went back to same directory > * Modified utils.c, lines 122 to 124 (as described by Nathan) > * Ran make all again > * Copied the new compiled executable check_ping plugin to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > > Thoughts or suggestions? Thanks in advance. > > Nolan > > >>> nathan 09/26/02 04:12PM >>> > If I remember correctly I believe I had to modify utils.c (line > 122/124) > and change CRITICAL to WARNING and recompile the plugins.... > > When I did this I had compiled all plugins "stock" and then modified > and > recompiled so I had a modified version of check_by_ssh which was the > one > specific plugin I wanted only warnings for timeouts from. > > I think I ran strings on the binary plugin and found that modifying > the > .c for the plugin alone was not returning desired results 8-) > > Best of luck, > > Nathan > > On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > > I am just now getting around to trying to implement the workaround > > Nathan suggested awhile back, and have been unsuccessful so far. > > > > I modified the check_ping.c file, lines 119 through 122 to the > > following: > > > > if (pl >= cpl || rta >= crta) > > result = STATE_CRITICAL; > > else if (pl >= wpl || rta >= wrta || rta < 0) > > result = STATE_WARNING; > > > > Basically, I moved the rta < 0 statement from resulting in a > CRITICAL > > state to resulting in a WARNING state, assuming that that the rta < > 0 > > statement is what is determining a timeout. > > > > I then recompiled the plugins and copied over the new check_ping > > executable to libexec. However, timeouts continue to generate > CRITICAL > > alerts, and not WARNING alerts. > > > > Admittedly, I have limited development experience, particularly with > C. > > Can you tell me if I am completely off base or just missing some > steps? > > I would greatly appreciate the additional assistance. > > > > Nolan Martin > > > > >>> nathan 08/20/02 04:35PM >>> > > To stop the spam of alerts I recompiled my plugins so that timeouts > > were > > warnings and not critical then setup my contacts to not get alerted > on > > service warnings. > > > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > > I've seen this issue pop up several times in the archives, but > > without > > > any apparent resolution... Perhaps someone can shed some light > this > > > time. > > > > > > I receive on-going (unexpected and undesired) service alerts due > to > > > timed out plugins. This occurs for pretty much any service, > > including > > > the check_ping, the check_http and check_nwstat (for abends, > etc.). > > > > > > The problem is that the plugin timed out alerts do not seem to > > follow > > > the max_check_attempts for the service. So, even if the previous > > ping > > > was okay, if the next ping check generates a time out, it > > immediately > > > generates a service alert (despite the fact that > max_check_attempts > > is > > > set to 5. > > > > > > Can someone tell me if this is working as designed, a bug, or > > (always > > > unlikely) administrator error? > > > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > > > Thanks. > > > > > > Nolan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: OSDN - Tired of that same old > > > cell phone? Get a new here for FREE! > > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > Nathan > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan the human > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Nathan the human ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Fri Sep 27 21:50:57 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 27 Sep 2002 14:50:57 -0500 Subject: NRPE peculiarity Message-ID: I'm starting to roll out NRPE across our hosts (3 so far), and on one of our busier ones am getting messages like this one in /var/adm/messages: Sep 27 13:35:17 itdmln15 nrpe[20712]: [ID 421412 daemon.error] Could not read request from client, bailing out... And on the Nagios side, this is the sort of message I'm getting from nagios.log (with the Perl-converted timestamp): [Fri Sep 27 13:35:34 2002] SERVICE ALERT: itdmln15;Total Users;UNKNOWN;SOFT;1;CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? FWIW, the Nagios server is running Red Hat Linux 7.3 2.96-110 on a Dell Optiplex GX1, and the client running NRPE is running Solaris8 on an E6500. mii-tool on the Dell reports 100baseTx-FD, and I know that the E6500 is running at 100Mbps at full duplex. I know my Nagios host could probably benefit from a beefier box, but top reports that the system is doing quite well. Can anyone comment on this NRPE anomaly? Is this common, can I expect lots more of this sort of problem? Or do I need to tune something? (I can't imagine what, but still....) Suggestions welcomed. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Fri Sep 27 21:52:57 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Fri, 27 Sep 2002 15:52:57 -0400 Subject: Confusion over service definitions for passive checks Message-ID: yup. doesn't make sense but is easy to get around. here is my service template entry: # Service definition for Windows Events define service { name WindowsEvent use generic-service is_volatile 1 check_period none check_command check-host-alive max_check_attempts 1 service_description Windows Event contact_groups ServerAdmins,OperationsTech-NonCritical register 0 } hth, dean -----Original Message----- From: John Fox [mailto:jjf at mind.net] Sent: Friday, September 27, 2002 3:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Confusion over service definitions for passive checks Hi, Folks, I'm working on setting up some passive checks, and have run into a point of confusion. As I understand the docs, I *must* have a service definition for each passive check, and each service definition must specify a command. And therin lies the problem; what sort of command should be specified for a passive check? It makes no sense to me. Given that the check is passive, nagios has no need to execute a command. Do I instead make some sort of reference to the external command file? Your assistance is greatly appreciated, as this is boggling my poor little brain. :) Thank you, John -- +--------------------------------------------------------------------------- + | John Fox | System Administrator | Internet Ventures Oregon | +--------------------------------------------------------------------------- + | "You can't talk about George W. without addressing the strange | | Bilbo-Baginnian language that spurts out from between his lips like | | melted marshmallows coming out of a squirt gun." -- Dennis Miller | +--------------------------------------------------------------------------- + ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Fri Sep 27 21:53:50 2002 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 27 Sep 2002 13:53:50 -0600 (MDT) Subject: Confusion over service definitions for passive checks In-Reply-To: <20020927121459.H98563@mind.net> References: <20020927121459.H98563@mind.net> Message-ID: > As I understand the docs, I *must* have a service definition for each passive > check, and each service definition must specify a command. And therin lies > the problem; what sort of command should be specified for a passive check? > It makes no sense to me. Given that the check is passive, nagios has no > need to execute a command. Hi John, once you know what the command part of the passive check is for, you'll wonder what the confusion was all about. If you have staleness-checking enabled, passive services that go stale will run whatever command you have in the command section of the check! So, if you want stale stuff to go into a warning state, you'd run a command that says "Hey, I'm stale" and returns 1 (WARNING), or 2 (CRITICAL). Very handy, but only for staleness checking. --- 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 joshuadfranklin at yahoo.com Fri Sep 27 22:42:04 2002 From: joshuadfranklin at yahoo.com (Joshua Daniel Franklin) Date: Fri, 27 Sep 2002 13:42:04 -0700 (PDT) Subject: problem in imagepak-bernhard Message-ID: <20020927204204.31838.qmail@web20006.mail.yahoo.com> Hi! Thanks for a great project. By the way, how should "nagios" be pronounced? I have a couple of questions, and I think I found a problem. First, the problem. In the imagepak-bernhard, there are images for the Aironet 350 series 802.11b equipment. But the gd2 image for the 2d status map is really a tar archive containing all the images except the actual airo350.gd2 file: [nagios at betty tmp]$ file imagepak-bernhard/airo350.gd2 imagepak-bernhard/airo350.gd2: GNU tar archive Hopefully whoever provided this imagepak could fix this. I also am curious how to get rid of the white background in the bernhard images. Do the images in the base-imagepak have a transparent background, or are they cut out exactly? I am wanting to make some custom images, for example a globe image to represent our Internet uplink. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From karl at debisschop.net Sat Sep 28 07:21:00 2002 From: karl at debisschop.net (Karl DeBisschop) Date: 28 Sep 2002 01:21:00 -0400 Subject: Change timeout alerts from CRITICAL to WARNING In-Reply-To: References: Message-ID: <1033190461.1469.7.camel@miles.debisschop.net> On Fri, 2002-09-27 at 09:38, Nolan Martin wrote: > Okay... Unfortunately, I am still not seeing the desired results... > Here are the steps I have done. Perhaps someone can identify something > I have left out. Are you sure that he timeout is not being generated by nagios? BTW - I really have to question the wisdom of what you seem to be trying to do here. ISTM that a timeout is rather bad thing, and should be critical. Now you may have a network where 10 seconds is not enogh for a ping, but that really is a problem that you ought to fix. And to the extent that you have to live with a ping still not coming back in 10 seconds, then I would think increasing the timeout is easier than changing the code. Is there some point I'm missing that motivates you to take this approach? > * In a separate directory (to isolate my test modifications), I > downloaded and expanded the latest Nagios plugins. > * Ran the configure: ./configure --prefix=/usr/local/nagios > --with-nagios-user=nagios --with-nagios-group=nagios > --with-cgiurl=/nagios/cgi-bin > * Modified the check_ping.c file, lines 119 to 122 (see original e-mail > posting below). > * Did a make all > * Copied the compiled executable to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > * Posted to group and received recommendation to change the utils.c > * Went back to same directory > * Modified utils.c, lines 122 to 124 (as described by Nathan) > * Ran make all again > * Copied the new compiled executable check_ping plugin to libexec > * Stopped and restarted Nagios, waiting for a timeout. Timeout still > shows critical > > Thoughts or suggestions? Thanks in advance. > > Nolan > > >>> nathan 09/26/02 04:12PM >>> > If I remember correctly I believe I had to modify utils.c (line > 122/124) > and change CRITICAL to WARNING and recompile the plugins.... > > When I did this I had compiled all plugins "stock" and then modified > and > recompiled so I had a modified version of check_by_ssh which was the > one > specific plugin I wanted only warnings for timeouts from. > > I think I ran strings on the binary plugin and found that modifying > the > .c for the plugin alone was not returning desired results 8-) > > Best of luck, > > Nathan > > On Thu, Sep 26, 2002 at 12:41:49PM -0500, Nolan Martin wrote: > > I am just now getting around to trying to implement the workaround > > Nathan suggested awhile back, and have been unsuccessful so far. > > > > I modified the check_ping.c file, lines 119 through 122 to the > > following: > > > > if (pl >= cpl || rta >= crta) > > result = STATE_CRITICAL; > > else if (pl >= wpl || rta >= wrta || rta < 0) > > result = STATE_WARNING; > > > > Basically, I moved the rta < 0 statement from resulting in a > CRITICAL > > state to resulting in a WARNING state, assuming that that the rta < > 0 > > statement is what is determining a timeout. > > > > I then recompiled the plugins and copied over the new check_ping > > executable to libexec. However, timeouts continue to generate > CRITICAL > > alerts, and not WARNING alerts. > > > > Admittedly, I have limited development experience, particularly with > C. > > Can you tell me if I am completely off base or just missing some > steps? > > I would greatly appreciate the additional assistance. > > > > Nolan Martin > > > > >>> nathan 08/20/02 04:35PM >>> > > To stop the spam of alerts I recompiled my plugins so that timeouts > > were > > warnings and not critical then setup my contacts to not get alerted > on > > service warnings. > > > > On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > > > I've seen this issue pop up several times in the archives, but > > without > > > any apparent resolution... Perhaps someone can shed some light > this > > > time. > > > > > > I receive on-going (unexpected and undesired) service alerts due > to > > > timed out plugins. This occurs for pretty much any service, > > including > > > the check_ping, the check_http and check_nwstat (for abends, > etc.). > > > > > > The problem is that the plugin timed out alerts do not seem to > > follow > > > the max_check_attempts for the service. So, even if the previous > > ping > > > was okay, if the next ping check generates a time out, it > > immediately > > > generates a service alert (despite the fact that > max_check_attempts > > is > > > set to 5. > > > > > > Can someone tell me if this is working as designed, a bug, or > > (always > > > unlikely) administrator error? > > > > > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > > > > > Thanks. > > > > > > Nolan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: OSDN - Tired of that same old > > > cell phone? Get a new here for FREE! > > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > -- > > Nathan > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > -- > Nathan the human > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From atul at mindsw.com Sat Sep 28 11:18:08 2002 From: atul at mindsw.com (Atul Gosain) Date: Sat, 28 Sep 2002 14:48:08 +0530 (IST) Subject: feature request Message-ID: <1745.202.88.151.191.1033204688.squirrel@www.webyarn.com> hi I have nagios installed on my monitoring server and it has 30 hosts and 170 services that are being checked.Whenever someone logs in , he sees all the services of all the hosts in service details. I want that if someone logs in , then only relevant hosts and services to him should be shown and he des not have to browse the whole page to see some specific services. Is this allready provided in Nagios? -- 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 atul at mindsw.com Sat Sep 28 11:17:53 2002 From: atul at mindsw.com (Atul Gosain) Date: Sat, 28 Sep 2002 14:47:53 +0530 (IST) Subject: feature request Message-ID: <1744.202.88.151.191.1033204673.squirrel@www.webyarn.com> hi I have nagios installed on my monitoring server and it has 30 hosts and 170 services that are being checked.Whenever someone logs in , he sees all the services of all the hosts in service details. I want that if someone logs in , then only relevant hosts and services to him should be shown and he des not have to browse the whole page to see some specific services. Is this allready provided in Nagios? -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 -- 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 atul at mindsw.com Sat Sep 28 13:11:12 2002 From: atul at mindsw.com (Atul Gosain) Date: Sat, 28 Sep 2002 16:41:12 +0530 (IST) Subject: Additional information about services Message-ID: <2299.202.88.151.191.1033211472.squirrel@www.webyarn.com> hi I have been trying to send traceroute snapshots with the mails sent when ping service is critical and ps snapshot when cpu load is critical. I have made a script for that andcalled that from notify-by-email command. The difficult part is while sending the ps snapshots of the remote host from which information is coming through nrpe. How do i send ps snapshot of remote host back to nagios host? Any ideas or suggestions. -- 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 mpowell at ena.com Sat Sep 28 17:27:39 2002 From: mpowell at ena.com (Marc Powell) Date: Sat, 28 Sep 2002 10:27:39 -0500 Subject: feature request Message-ID: <5DB017510818EC468B05BD7BD9EACF83154594@mismail.ena.com> This functionality already exists. With CGI authorization enabled, contacts will only see devices and services that they are contacts for (i.e. in a contact group for). marc -----Original Message----- From: Atul Gosain [mailto:atul at mindsw.com] Sent: Sat 9/28/2002 4:17 AM To: nagios Cc: Subject: [Nagios-users] feature request hi I have nagios installed on my monitoring server and it has 30 hosts and 170 services that are being checked.Whenever someone logs in , he sees all the services of all the hosts in service details. I want that if someone logs in , then only relevant hosts and services to him should be shown and he des not have to browse the whole page to see some specific services. Is this allready provided in Nagios? -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From atul at mindsw.com Sat Sep 28 17:41:31 2002 From: atul at mindsw.com (Atul Gosain) Date: Sat, 28 Sep 2002 21:11:31 +0530 (IST) Subject: feature request In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83154594@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83154594@mismail.ena.com> Message-ID: <3391.202.88.151.191.1033227691.squirrel@www.webyarn.com> Thanks This has been a great help. ' Thankyou very much > This functionality already exists. With CGI authorization enabled, > contacts will only see devices and services that they are contacts for > (i.e. in a contact group for). > > marc > > -----Original Message----- > From: Atul Gosain [mailto:atul at mindsw.com] > Sent: Sat 9/28/2002 4:17 AM > To: nagios > Cc: > Subject: [Nagios-users] feature request > > > > > > > > hi > > I have nagios installed on my monitoring server and it has 30 hosts and > 170 services that are being checked.Whenever someone logs in , he > sees all the services of all the hosts in service details. > I want that if someone logs in , then only relevant hosts and services > to him should be shown and he des not have to browse the whole page > to see some specific services. > Is this allready provided in Nagios? > > -- > Atul Gosain > Mindsw Software and Services Pvt. Ltd. > A-50, Sector-39 > Noida(UP). > ph no: 4500369,4575991 > > > > > > -- > 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 > -- 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 galimore at mac.com Sat Sep 28 18:54:25 2002 From: galimore at mac.com (Terry Simons) Date: Sat, 28 Sep 2002 10:54:25 -0600 Subject: feature request In-Reply-To: <1745.202.88.151.191.1033204688.squirrel@www.webyarn.com> References: <1745.202.88.151.191.1033204688.squirrel@www.webyarn.com> Message-ID: Nagios already does this. I suspect you've put names in the cgi.cfg file that you don't need to... All you need to do is set up your .htaccess files properly, and make sure the .htaccess username fits the nagios username. This will allow them only to see the things that they are in a group for. The cgi.cfg allows you to give more access to certain users for certain things, but you do not need to put every user in there by any means... The documentation explains how to set all of this up... I'd suggest reading about what exactly the cgi.cfg options are for. Hopefully that'll help shed some light on things for you. I hope that helps, - Terry On Saturday, September 28, 2002, at 03:18 AM, Atul Gosain wrote: > > > > > hi > > I have nagios installed on my monitoring server and it has 30 hosts and > 170 services that are being checked.Whenever someone logs in , he sees > all > the services of all the hosts in service details. > I want that if someone logs in , then only relevant hosts and services > to > him should be shown and he des not have to browse the whole page to see > some specific services. > Is this allready provided in Nagios? > > -- > 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 steveneu at tiny.net Sun Sep 29 16:14:02 2002 From: steveneu at tiny.net (Steve Neuharth) Date: Sun, 29 Sep 2002 09:14:02 -0500 Subject: Internal server error when running commands (cmd.cgi) References: <001c01c265c9$0f22dc90$2801a8c0@dutch> Message-ID: <3D970AAA.7060904@tiny.net> It appears that the cgi's segfault when I POST to them. I can run them from a shell everything works fine as long as I GET or HEAD but when I POST, it dies. Likewise through the browser. If I use any form in nagios to POST to any nagios CGI, I get the error. If I send the same params via a GET: "https://127.0.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=55&cmd_mod=2&host=ns.visi.com&com_author=Steve%20Neuharth&start_time=09/27/2002%2021:41:53&end_time=09/27/2002%2023:41:53&hours=2&minutes=0&fixed=1" , the scripts run fine, no segfault. mmcclure at pneservices.com wrote: > Apache's not giving you enough information to really determine what the > problem is. > > Try running /usr/local/share/nagios/cgi-bin//cmd.cgi directly from a > shell. You'll have to set some environment variables, but you should be > able to figure those out from the HTML source and other parts of your > configuration. > > If you still can't figure it out after you have all the enviroment > variables set up, post the error message, someone will probably know > what it means. > > ---------- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. http://www.pneservices.com > mmcclure at pneservices.com > mobile: 913-636-5590 > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Steve Neuharth >>Sent: Thursday, September 26, 2002 6:58 PM >>To: Steve Neuharth >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Internal server error when running > > commands > >>(cmd.cgi) >> >>So... anybody got any suggestions? >> >>Steve Neuharth wrote: >> >>> I have nagios up and running (beats the pants off of BigBrother >> >>IMHO). >> >>> I'm running FreeBSD 4.7 and I installed nagios straight from the >> >>ports >> >>>collection. I have done this several times before and the port >>>maintainer does a great job of scripting the install so that it >> > works > >>>"out-of-the-box" as it were. >>> All of the cgi's seem to work BUT I get an internal server error >> >>when I >> >>>try to make cmd.cgi "do stuff" such as adding a comment, scheduling >> > a > >>>check. My first thought was file perms on the rw directory but I >> > cannot > >>>find anything wrong after reading the netsaint faq (this info is >> > missing > >>>from the nagios faq btw). Here is my var/nagios dir: >>> >>>tiny# pwd >>>/usr/local/var/nagios >>>tiny# ls -l >>>total 24502 >>>drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log >>>-rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 >> > host-perfdata.out > >>>-rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock >>>-rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log >>>drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw >>>-rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 >> > service-perfdata.out > >>>-rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log >>>-rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav >>> >>>another strange thing is the nagios.cmd file: >>>tiny# pwd >>>/usr/local/var/nagios/rw >>>tiny# ls -l >>>total 0 >>>prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd >>> >>>why is it a pipe? should it be? maybe, but I thought it was strange. >>> >>>When I "submit" something I get "Internal Server Error" and in the >>>apache log I get: >>>[Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature >> > end of > >>>script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >> >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Sun Sep 29 20:12:27 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 29 Sep 2002 14:12:27 -0400 (EDT) Subject: Additional information about services In-Reply-To: <2299.202.88.151.191.1033211472.squirrel@www.webyarn.com> References: <2299.202.88.151.191.1033211472.squirrel@www.webyarn.com> Message-ID: On Sat, 28 Sep 2002, Atul Gosain wrote: > hi > > I have been trying to send traceroute snapshots with the mails sent when > ping service is critical and ps snapshot when cpu load is critical. I have > made a script for that andcalled that from notify-by-email command. > The difficult part is while sending the ps snapshots of the remote host > from which information is coming through nrpe. > > How do i send ps snapshot of remote host back to nagios host? > > Any ideas or suggestions. > > > if by a ps snapshot you are talking about list of all process - that has to be done outside of the nrpe setup because it is quite a bit of data. you might what to have your notify script call for a ps listing using "check_by_ssh" and wrap the results into the email. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Fredrik.Wanglund at datavis.se Mon Sep 30 08:53:57 2002 From: Fredrik.Wanglund at datavis.se (=?iso-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 30 Sep 2002 08:53:57 +0200 Subject: NRPE peculiarity Message-ID: <9EA0F1554816EB499A4B1136B80E8DE2780306@storevis.datavis.se> Are you sure you are not running portsentry or similar programs that blocks you out on the port NRPE is using? /FredrikW -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Fri 27-Sep-02 21:50 To: nagios-users Cc: Subject: [Nagios-users] NRPE peculiarity I'm starting to roll out NRPE across our hosts (3 so far), and on one of our busier ones am getting messages like this one in /var/adm/messages: Sep 27 13:35:17 itdmln15 nrpe[20712]: [ID 421412 daemon.error] Could not read request from client, bailing out... And on the Nagios side, this is the sort of message I'm getting from nagios.log (with the Perl-converted timestamp): [Fri Sep 27 13:35:34 2002] SERVICE ALERT: itdmln15;Total Users;UNKNOWN;SOFT;1;CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? FWIW, the Nagios server is running Red Hat Linux 7.3 2.96-110 on a Dell Optiplex GX1, and the client running NRPE is running Solaris8 on an E6500. mii-tool on the Dell reports 100baseTx-FD, and I know that the E6500 is running at 100Mbps at full duplex. I know my Nagios host could probably benefit from a beefier box, but top reports that the system is doing quite well. Can anyone comment on this NRPE anomaly? Is this common, can I expect lots more of this sort of problem? Or do I need to tune something? (I can't imagine what, but still....) Suggestions welcomed. jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From tdeblend at gcc.dhl.com Mon Sep 30 09:01:29 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Mon, 30 Sep 2002 09:01:29 +0200 Subject: Plugins on an HPUX 11.0 Box References: Message-ID: <3D97F6C9.32D19C00@gcc.dhl.com> Hi, I can't really help you with compile issues on HPUX. But depending on what exactly you want to monitor, I can be of some use :-) We have quite some HPUX boxes around here, and for monitoring them, I use the netsaint_stad (http://www.twoevils.org/files/netsaint_statd/), also available for Nagios. It returns things like disk usage, process state, etc... All you have to do is put a Perl script in your startup scripts. This will launch a deamon that you can query for information remotely. Kind regards, Tom Dave Ault wrote: > > Hello All, > > For starters, I am brand new to Linux/Unix world so please be patient with me. I found Nagios on the internet and decided to try it out. Currently, by reading this email list, I have successfully installed Nagios on a RH7.2 box and am monitoring 46 devices and 79 services. I have found Nagios to be a great tool and now have my staff using it to monitor our systems. > > My next step is to monitor a HPUX 11.0 box by way of nrpe. However, I am having difficulty compiling either the Netsaint or Nagios plugins. I have read where several of you are monitoring an HP box with nrpe. Could you please send me the compiled plugins. nrpe did compile fine and I am using the gcc compiler. I have also tried check_hprsc, however I don't have snmp running on the HP server. > > > Thank You, > > Dave Ault > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris.Losch at newham.gov.uk Mon Sep 30 12:27:07 2002 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Mon, 30 Sep 2002 11:27:07 +0100 Subject: Feature Request Message-ID: Hey all, On the tactical overview page, The section on network health shows Green Coloured status bars, even if the Host Health or Service Health is less than 100%. I cannot find any documentation on changing the thresholds for these bars to change colour, is it possible without having to mess with the source code? Chris ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From atul at mindsw.com Mon Sep 30 12:33:54 2002 From: atul at mindsw.com (Atul Gosain) Date: Mon, 30 Sep 2002 16:03:54 +0530 (IST) Subject: Additional information from nrpe Message-ID: <3092.202.88.151.191.1033382034.squirrel@www.webyarn.com> hi I have been trying to send traceroute snapshots with the mails sent when ping service is critical and ps snapshot when cpu load is critical. I have made a script for that andcalled that from notify-by-email command. The difficult part is while sending the ps snapshots of the remote host from which information is coming through nrpe. How do i send ps snapshot of remote host back to nagios host? I have been looking at nrpe.c by which i can increase the buffer size and send some additional information on that and then can access that in check_nrpe plugin. What do you think? Any better ideas?? -- 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 milena_s at postmaster.co.uk Mon Sep 30 12:48:32 2002 From: milena_s at postmaster.co.uk (milena schrevel) Date: Mon, 30 Sep 2002 11:48:32 +0100 Subject: sms notifications Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From daniel.geske at yoc.de Mon Sep 30 12:55:56 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 30 Sep 2002 12:55:56 +0200 Subject: Fw: Problem with NSClient 1.0.7.0onnon-englishWin2000 Message-ID: <007f01c2686f$f3f54030$7f00a8c0@pc127> For future reference: Problems with NSClient writing 5 errors to Application Event Log every 5 seconds and Fix. -----Urspr?ngliche Nachricht----- Von: Paulo Pinto An: Daniel Geske Datum: Montag, 30. September 2002 12:41 Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0onnon-englishWin2000 Hehe. That's windows, after all... its reactions cannot be predicted ;-) The idea... well... I was tempted to suggest you to reboot (I guess it'd have the same effect), but you've said something about not wanting to 'tamper' with the machine ;-) Anyhow, I think it'd be a good idea to forward all our 'discussion' to the user's mailing list ... it can help others in the future. Hugz :-) On Mon, 2002-09-30 at 10:21, Daniel Geske wrote: > Hi, me again! > > You probably will believe it - I still won't: > > stop nsclient, uncheck all procs, start nsclient, stop nsclient, check all > procs, start nsclient did the job! > That's incredible. > I don't know how you came up with that idea, but thanks! > > Have a great week! > > Daniel > > -----Urspr?ngliche Nachricht----- > Von: Paulo Pinto > An: Daniel Geske > Datum: Freitag, 27. September 2002 18:05 > Betreff: Re: [Nagios-users] Problem with NSClient > 1.0.7.0onnon-englishWin2000 > > > Hmm.. > > Do a manual check: > > /path/to/nagios/plugins/check_nt -H yourhost -v CPULOAD -l 10,80,90 > > I you get a correct result, you got a nagios problem :) > > > > > >> I am running the same client version on another server with the same > OS > > > and > > > >> don't get any errors there. > > Reading this part, I'd suggest you to run the Extensible Performance > Counter List" on that machine and compare. > > One other thing you can try is to DISABLE PerfProc, relaunch nsclient, > ENABLE PerfProc and relaunch nsclient. I know it sounds weird, but hey, > this *IS* windows, after all :-) > > Are you using the W2K Resource Kit German version ? I dunno if there is > a difference between the english and german versions of the reskit ... > > Give it a try ... and tell me something :) > > Hugz, > > On Fri, 2002-09-27 at 15:25, Daniel Geske wrote: > > The only thing of the four starting with Perf*, that was disabled was > > PerfOS - it is enabled now. I restarted the NSClient service, no success. > > :-( > > Any other ideas? I'm lost. > > > > Thanks. > > > > Daniel > > > > -----Urspr?ngliche Nachricht----- > > Von: Paulo Pinto > > An: Daniel Geske > > Cc: nagios-users at lists.sourceforge.net > > > Datum: Freitag, 27. September 2002 16:24 > > Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 > > onnon-englishWin2000 > > > > > > The tool is called "Extensible Performance Counter List.", and it > > belongs to the reskit "Performance Tools". > > > > It's not supposed to cause any type of damage to your machine: in fact, > > if you have anything on that machine that depends on the perfcounters, > > I'd say that it won't run :-> > > > > Take a look at the tool... it's a enable/disable Perfcounter utility. > > It won't cause any damage :) > > > > P.S. - My guess is that you have 'PerfProc' disabled ... enable it :) > > > > Hugz all. > > > > > > On Fri, 2002-09-27 at 14:50, Daniel Geske wrote: > > > Hi Paulo, > > > > > > May there be anything else I can do before having to reinstall something > > on > > > that host? I'd rather not touch anything on the server (anything else > runs > > > just fine) because it's used in production and there is currently no > > backup > > > for it. > > > If this must be _the_ solution to the problem, I suppose I need to talk > to > > > the IT management and then go ahead and do what needs to be done. > > > Thanks for your answer! > > > > > > Sincerely, > > > > > > Daniel Geske > > > > > > -----Urspr?ngliche Nachricht----- > > > Von: Paulo Pinto > > > An: Daniel Geske > > > Cc: nagios-users at lists.sourceforge.net > > > > > Datum: Freitag, 27. September 2002 14:51 > > > Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 on > > > non-englishWin2000 > > > > > > > > > >Hello. > > > > > > > >It's not a NSclient problem, it is a Window$ performance counters > > > >problem. > > > > > > > >On the W2K reskit you'll find an application to check/modify/reinstall > > > >the perfcounters ... If you can't find it, tell me... I'll try to find > > > >it for you. > > > > > > > >Hugz, > > > > > > > >On Fri, 2002-09-27 at 13:34, Daniel Geske wrote: > > > >> Hi all, > > > >> > > > >> I have a problem with NSClient 1.0.7.0 running on a german version of > > > >> Windows 2000 Server. > > > >> Every five seconds the NSClient adds 5 Errors to the Applications > > section > > > of > > > >> the NT Event Log. > > > >> When NSClient first starts it recognizes the correct language code > for > > > the > > > >> system. > > > >> I am running the same client version on another server with the same > OS > > > and > > > >> don't get any errors there. > > > >> For some reason the version of the files pdh.dll and psapi.dll in > > > nsclient's > > > >> directory differ from the ones in the windows/system32 directory. The > > > ones > > > >> in the nsclient dir are > > > >> These varibles of the check_nt plugin work w/o any problems: > > > >> CLIENTVERSION > > > >> USEDDISKSPACE > > > >> SERVICESTATE > > > >> PROCSTATE > > > >> > > > >> These varibles return errors or invalid data: > > > >> CPULOAD - NSClient - ERROR:Malformed request or internal error. Check > > > >> EventLog:None&2&35 > > > >> UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) > > > >> MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: > > 0.00 > > > Mb > > > >> (nan%) > > > >> > > > >> The error messages in the nt log all talk about the pdh.dll file. > Then, > > 4 > > > of > > > >> five messages have the same error code: > > > >> CPU, Uptime, CommitWrite, CommitByte (all error code 0xC0000BBC), > > Collect > > > >> has (0x800007D5). > > > >> > > > >> I have already contacted the team of NSClient, but did not receive a > > > >> response as of yet. > > > >> > > > >> I would be happy to hear from anybody providing hints to the solution > > of > > > the > > > >> problem. > > > >> > > > >> Thank you. > > > >> Sincerely, > > > >> > > > >> Daniel Geske > > > >> > > > >> > > > >> > > > >> ------------------------------------------------------- > > > >> This sf.net email is sponsored by:ThinkGeek > > > >> Welcome to 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 > > > > > > > > > > > > > -- > > 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 > > _______________________________________________ > > 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 > > > -- 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 stevelml1 at scee.sony.co.uk Mon Sep 30 13:04:17 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Mon, 30 Sep 2002 12:04:17 +0100 Subject: status.log format? Message-ID: <024801c26871$1f36e680$f5c8dfc2@niltxp> Hi all I have looked around the FAQs and docs, but cant seem to find anything that lists the format of the status.log file. I can get the basics out of it, but there are a few fields that have me stumped. Anyone have any pointers that would help me? Many thanks in advance. -- Steve ------------------------------------------------- Steve Loughran, Network Infrastructure Manager Sony Computer Entertainment Europe (Cambridge) Yamaha YZF1000R Thunderace ICQ#: 104426046 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Mon Sep 30 13:14:07 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 30 Sep 2002 13:14:07 +0200 Subject: sms notifications Message-ID: <00a201c26872$7ea97370$7f00a8c0@pc127> Milena, please check my addition to the faqs for that. http://www.nagios.org/faqs/viewfaq.php?faq_id=65 Sincerely Daniel -----Urspr?ngliche Nachricht----- Von: milena schrevel An: nagios-users at lists.sourceforge.net Datum: Montag, 30. September 2002 13:05 Betreff: [Nagios-users] sms notifications hi all, can someone guide me how to configure nagios for sending sms-notifications? which tool provides the possiblitly for sms sending? where to download it? thanks a lot for your help! regards, milena ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From felix.enescu at rompetrol.com Mon Sep 30 14:42:52 2002 From: felix.enescu at rompetrol.com (Enescu, Felix) Date: Mon, 30 Sep 2002 14:42:52 +0200 Subject: sms notifications Message-ID: <31C094D3336DD3119BC500508B440A3D02473630@rompetrol1.rompetrol.org> Does yaps employ any queing mechanism? Felix. -----Original Message----- From: Daniel Geske [mailto:daniel.geske at yoc.de] Sent: Monday, September 30, 2002 1:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] sms notifications Milena, please check my addition to the faqs for that. http://www.nagios.org/faqs/viewfaq.php?faq_id=65 Sincerely Daniel -----Urspr?ngliche Nachricht----- Von: milena schrevel An: nagios-users at lists.sourceforge.net Datum: Montag, 30. September 2002 13:05 Betreff: [Nagios-users] sms notifications hi all, can someone guide me how to configure nagios for sending sms-notifications? which tool provides the possiblitly for sms sending? where to download it? thanks a lot for your help! regards, milena ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net 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 w.moser at conova.com Mon Sep 30 14:12:52 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Mon, 30 Sep 2002 14:12:52 +0200 Subject: Access to cgi's???? Message-ID: <3D983FC4.4030900@conova.com> Hello!!! I have Nagios 1.05b running and want to grant granular access to the cgi's. For example UserX should only see hosts and services he is allowed to see. As far as I know!!! In the cgi.cfg I can grant access to ALL or NONE host or Service!! As "authenticated contact" he can just see the hosts/services he is contact for, but this means I have to create contacts and associate them to contactgroups. Although I don't want them to get notifications. Question?? Are there other possibilities to reach the goal?? Please give me a hint!! Thanks in advance Wolfgang ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Mon Sep 30 14:17:15 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Mon, 30 Sep 2002 14:17:15 +0200 Subject: Access to cgi's!!! Message-ID: <3D9840CB.9000301@conova.com> Hello!!!! I have Nagios 1.05b running and want to grant granular access to the cgi's. For example UserX should only see hosts and services he is allowed to see. As far as I know!!! In the cgi.cfg I can grant access to ALL or NONE host or Service!! As "authenticated contact" he can just see the hosts/services he is contact for, but this means I have to create contacts and associate them to contactgroups. Although I don't want them to get notifications. Question?? Are there other possibilities to reach the goal?? Please give me a hint!! Thanks in advance Wolfgang ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Stefan.Schindewolf at Infraserv.com Mon Sep 30 14:13:51 2002 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Mon, 30 Sep 2002 14:13:51 +0200 Subject: Plugin State never does not change back Message-ID: <2B6CA561B67B72418738D8F3D7853DA3083989@20-exchange-1.infraserv.com> Hello all. I experience a problem with a plugin which checks for the next extents of my Oracle Instances. When the plugin changes its state, it stays there until I do /etc/init.d/nagios stop and (after waiting a few seconds) /etc/init.d/nagios start. Although I receive the OK state when I run the command as nagios user on the Command Line, the state shown in the CGI does not change. A restart of nagios (/etc/init.d/nagios restart) is also not helpful. It seems as if Nagios would not recognize the change in state. Perhaps a caching problem ? The plugin comes from the nagiosplug1.3 distribution and is called check_oracle_instance.pl. I only added the possibilty to connect to more than the localhost. Mit freundlichen Gr??en Stefan Schindewolf Infraserv GmbH & Co H?chst KG Service Center Informationstechnologie D710, D-65926 Frankfurt Telefon: (069)305 - 83010 Fax: (069)305 - 23549 Mail: stefan.schindewolf at infraserv.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel.geske at yoc.de Mon Sep 30 14:29:14 2002 From: daniel.geske at yoc.de (Daniel Geske) Date: Mon, 30 Sep 2002 14:29:14 +0200 Subject: Access to cgi's???? Message-ID: <00e501c2687c$fcf73cd0$7f00a8c0@pc127> Hint: set up timeperiod=never, then for the contacts: notification_period = never or for the contacts: (host/service)_notification_options = [none] Daniel -----Urspr?ngliche Nachricht----- Von: Moser Wolfgang An: nagios-users at lists.sourceforge.net Datum: Montag, 30. September 2002 14:23 Betreff: [Nagios-users] Access to cgi's???? >Hello!!! > >I have Nagios 1.05b running and want to grant granular access to the cgi's. >For example UserX should only see hosts and services he is allowed to see. > >As far as I know!!! > >In the cgi.cfg I can grant access to ALL or NONE host or Service!! >As "authenticated contact" he can just see the hosts/services he is >contact for, >but this means I have to create contacts and associate them to >contactgroups. >Although I don't want them to get notifications. > >Question?? > >Are there other possibilities to reach the goal?? >Please give me a hint!! > > > >Thanks in advance > >Wolfgang > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Mon Sep 30 14:49:38 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Mon, 30 Sep 2002 14:49:38 +0200 Subject: Status Overview reordering Message-ID: <3D984862.2090107@conova.com> Hello!! Does anyone know, according to which rules the "status-overview" is build up. It doesn't seems to be an alphapetical order! Let's say I want to reorder the "status-overview", e.g. Linux-devices on the top and Other-devices at the bottom. What steps I must carry out?? Can I change the ordering??? I would greet any help Wolfgang ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From w.moser at conova.com Mon Sep 30 15:31:24 2002 From: w.moser at conova.com (Moser Wolfgang) Date: Mon, 30 Sep 2002 15:31:24 +0200 Subject: Host commands Message-ID: <3D98522C.5040602@conova.com> Hello!! Does anyone know where information about "Host commands" are stored. Let's say the notification for a certain service is disabled through host commands, where is the information stored. Are there any files where ALL Hosts with "disabled notifications" in?? I just can find some entrys in the "nagios.log" file! Thanks for help in advance Wolfgang ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From d.pavani at cineca.it Mon Sep 30 15:55:50 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Mon, 30 Sep 2002 15:55:50 +0200 Subject: Status Overview reordering References: <3D984862.2090107@conova.com> Message-ID: <3D9857E6.7030604@cineca.it> It seems to me it's in the order you defined the hostgroups. Just scramble the hostgroup order. Bye. Moser Wolfgang wrote: > Hello!! > > Does anyone know, according to which rules the "status-overview" is > build up. > It doesn't seems to be an alphapetical order! > Let's say I want to reorder the "status-overview", e.g. Linux-devices on > the top and Other-devices at the bottom. > What steps I must carry out?? > Can I change the ordering??? > > I would greet any help > > Wolfgang > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users -- ************************************************************************ 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 bergal at gmx.net Mon Sep 30 16:41:07 2002 From: bergal at gmx.net (Alexander Bergal) Date: Mon, 30 Sep 2002 16:41:07 +0200 (MEST) Subject: Monitoring router Message-ID: <32511.1033396867@www22.gmx.net> Hello! Is there anything except check_snmp to monitoring routers? Thanks. Any help will be appreciated. -- Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w?hlen - und tolle Preise absahnen! http://www.onlinestar.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From russell at quadrix.com Mon Sep 30 16:45:39 2002 From: russell at quadrix.com (Russell Scibetti) Date: Mon, 30 Sep 2002 10:45:39 -0400 Subject: status.log format? References: <024801c26871$1f36e680$f5c8dfc2@niltxp> Message-ID: <3D986393.7020602@quadrix.com> I submitted this to the FAQ last week. It should help. http://www.nagios.org/faqs/viewfaq.php?faq_id=66 Russell Steve Loughran wrote: >Hi all > >I have looked around the FAQs and docs, but cant seem to find anything that >lists the format of the status.log file. I can get the basics out of it, but >there are a few fields that have me stumped. Anyone have any pointers that >would help me? > >Many thanks in advance. > >-- > >Steve > >------------------------------------------------- >Steve Loughran, Network Infrastructure Manager >Sony Computer Entertainment Europe (Cambridge) >Yamaha YZF1000R Thunderace >ICQ#: 104426046 > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to 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 jcarro10 at sprintspectrum.com Mon Sep 30 16:56:18 2002 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 30 Sep 2002 09:56:18 -0500 Subject: NRPE peculiarity Message-ID: Definitely not on the Solaris/client side. And I don't believe that portsentry is configured on the Nagios/server side. Please understand these error msgs are quite sporadic, ie, I can't reproduce them. Just for giggles, I ran the following script from the Nagios host: while : do ../libexec/check_nrpe itdmln15 -c check_disk_var -to 30 done and let it run for 5 mins. I didn't see it hiccup once. This is a snippet of the output: DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] DISK OK - [781680 kB (81%) free on /dev/vx/dsk/var] DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] DISK OK - [781664 kB (81%) free on /dev/vx/dsk/var] and so on. Thoughts? jc > -----Original Message----- > From: Fredrik W?nglund [mailto:Fredrik.Wanglund at datavis.se] > Sent: Monday, September 30, 2002 1:54 AM > To: Carroll, Jim P [Contractor]; nagios-users > Subject: RE: [Nagios-users] NRPE peculiarity > > > Are you sure you are not running portsentry or similar > programs that blocks you out on the port NRPE is using? > > > > /FredrikW > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Fri 27-Sep-02 21:50 > To: nagios-users > Cc: > Subject: [Nagios-users] NRPE peculiarity > > I'm starting to roll out NRPE across our hosts (3 so far), > and on one of our > busier ones am getting messages like this one in /var/adm/messages: > > Sep 27 13:35:17 itdmln15 nrpe[20712]: [ID 421412 > daemon.error] Could not > read request from client, bailing out... > > And on the Nagios side, this is the sort of message I'm getting from > nagios.log (with the Perl-converted timestamp): > > [Fri Sep 27 13:35:34 2002] SERVICE ALERT: itdmln15;Total > Users;UNKNOWN;SOFT;1;CHECK_NRPE: Received 0 bytes. Are we allowed to > connect to the host? > > FWIW, the Nagios server is running Red Hat Linux 7.3 2.96-110 > on a Dell > Optiplex GX1, and the client running NRPE is running Solaris8 > on an E6500. > mii-tool on the Dell reports 100baseTx-FD, and I know that > the E6500 is > running at 100Mbps at full duplex. > > I know my Nagios host could probably benefit from a beefier > box, but top > reports that the system is doing quite well. > > Can anyone comment on this NRPE anomaly? Is this common, can > I expect lots > more of this sort of problem? Or do I need to tune > something? (I can't > imagine what, but still....) > > Suggestions welcomed. > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From andy at droidmcse.com Mon Sep 30 16:57:30 2002 From: andy at droidmcse.com (andy at droidmcse.com) Date: Mon, 30 Sep 2002 10:57:30 -0400 Subject: Nagios is not running? Message-ID: <114780-220029130145730857@M2W084.mail2web.com> All of a sudden, sometime around 10am EST time, my Nagios box started reporting that it's not running anymore. Running from the command line: [root at mnmslx11 var]# ../libexec/check_nagios -F /usr/local/nagios/var/status.log -e 120 -C /usr/local/nagios/bin/nagios Could not locate a running Nagios process! [root at mnmslx11 var]# ps -aux | grep -c nagios 186 In the commands.cfg file I have: # 'check_nagios' command definition define command{ command_name check_nagios command_line $USER1$/check_nagios -F /usr/local/nagios/var/status.log -e 120 -C /usr/local/nagios/bin/nagios } In the lock file, it's process ID 20652 ps -ef | grep nagios nagios 20652 1 0 10:32 ? 00:00:03 /usr/local/nagios/bin/nagios -d On the Process Info page I have: Program Start Time: 09-30-2002 10:32:44 Total Running Time: 0d 0h 23m 43s Last External Command Check: 09-30-2002 10:56:13 Last Log File Rotation: N/A Nagios PID 20652 I'm really confused!!! Please help! Andy Stein -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From npaufler at incentre.net Mon Sep 30 17:46:58 2002 From: npaufler at incentre.net (Nicholas Paufler) Date: Mon, 30 Sep 2002 09:46:58 -0600 Subject: Internal server error when running commands (cmd.cgi) References: <001c01c265c9$0f22dc90$2801a8c0@dutch> <3D970AAA.7060904@tiny.net> Message-ID: <010401c26898$9c4fd330$99d54bce@kallisti> Just FYI, when I was experiencing troubles getting Nagios running I found the exact same behavior. I was trying to debug the CGI and while the documentation implied to me I should be using HTTP POST (hence, i set the variables as such) to test, it was segfaulting. Using HTTP get, however, worked just fine. I did manage to get things working via some combination of restarting apache and Nagios, though, so I'm not sure if there was ever really a problem. I'd venture that the segfault on POST from the commandline is "normal", if not what is expected. So that's probably a bit of a red herring for you. Have you tried any other CGI's to see whether GET or POST is working with them? If you have mod_php installed it should be trivial to write up a quick script to see if variables are being passed correctly on POST so hopefully you can eliminate either your httpd or nagios as the culprit. Nicholas Paufler Systems Administrator The Internet Centre ----- Original Message ----- From: "Steve Neuharth" To: Cc: "Blaz Zupan" Sent: Sunday, September 29, 2002 8:14 AM Subject: Re: [Nagios-users] Internal server error when running commands (cmd.cgi) > It appears that the cgi's segfault when I POST to them. I can run them > from a shell everything works fine as long as I GET or HEAD but when I > POST, it dies. Likewise through the browser. If I use any form in nagios > to POST to any nagios CGI, I get the error. If I send the same params > via a GET: > "https://127.0.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=55&cmd_mod=2&host=ns.visi. com&com_author=Steve%20Neuharth&start_time=09/27/2002%2021:41:53&end_time=09 /27/2002%2023:41:53&hours=2&minutes=0&fixed=1" > , the scripts run fine, no segfault. > > mmcclure at pneservices.com wrote: > > Apache's not giving you enough information to really determine what the > > problem is. > > > > Try running /usr/local/share/nagios/cgi-bin//cmd.cgi directly from a > > shell. You'll have to set some environment variables, but you should be > > able to figure those out from the HTML source and other parts of your > > configuration. > > > > If you still can't figure it out after you have all the enviroment > > variables set up, post the error message, someone will probably know > > what it means. > > > > ---------- > > Mike McClure, CCIE # 5125, CISSP # 30232 > > PNE Services, Inc. http://www.pneservices.com > > mmcclure at pneservices.com > > mobile: 913-636-5590 > > > > > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >>admin at lists.sourceforge.net] On Behalf Of Steve Neuharth > >>Sent: Thursday, September 26, 2002 6:58 PM > >>To: Steve Neuharth > >>Cc: nagios-users at lists.sourceforge.net > >>Subject: Re: [Nagios-users] Internal server error when running > > > > commands > > > >>(cmd.cgi) > >> > >>So... anybody got any suggestions? > >> > >>Steve Neuharth wrote: > >> > >>> I have nagios up and running (beats the pants off of BigBrother > >> > >>IMHO). > >> > >>> I'm running FreeBSD 4.7 and I installed nagios straight from the > >> > >>ports > >> > >>>collection. I have done this several times before and the port > >>>maintainer does a great job of scripting the install so that it > >> > > works > > > >>>"out-of-the-box" as it were. > >>> All of the cgi's seem to work BUT I get an internal server error > >> > >>when I > >> > >>>try to make cmd.cgi "do stuff" such as adding a comment, scheduling > >> > > a > > > >>>check. My first thought was file perms on the rw directory but I > >> > > cannot > > > >>>find anything wrong after reading the netsaint faq (this info is > >> > > missing > > > >>>from the nagios faq btw). Here is my var/nagios dir: > >>> > >>>tiny# pwd > >>>/usr/local/var/nagios > >>>tiny# ls -l > >>>total 24502 > >>>drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log > >>>-rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 > >> > > host-perfdata.out > > > >>>-rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock > >>>-rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log > >>>drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw > >>>-rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 > >> > > service-perfdata.out > > > >>>-rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log > >>>-rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav > >>> > >>>another strange thing is the nagios.cmd file: > >>>tiny# pwd > >>>/usr/local/var/nagios/rw > >>>tiny# ls -l > >>>total 0 > >>>prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd > >>> > >>>why is it a pipe? should it be? maybe, but I thought it was strange. > >>> > >>>When I "submit" something I get "Internal Server Error" and in the > >>>apache log I get: > >>>[Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature > >> > > end of > > > >>>script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi > >>> > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This sf.net email is sponsored by:ThinkGeek > >>>Welcome to geek heaven. > >>>http://thinkgeek.com/sf > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> > >> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From stevelml1 at scee.sony.co.uk Mon Sep 30 18:17:09 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Mon, 30 Sep 2002 17:17:09 +0100 Subject: status.log format? References: <024801c26871$1f36e680$f5c8dfc2@niltxp> <3D986393.7020602@quadrix.com> Message-ID: <01b901c2689c$d3ea4dd0$f5c8dfc2@niltxp> Many thanks for that, that looks just like the kind of information I was trying get hold of Steve ----- Original Message ----- From: "Russell Scibetti" To: "Steve Loughran" Cc: "Nagios Users" Sent: Monday, September 30, 2002 3:45 PM Subject: Re: [Nagios-users] status.log format? > I submitted this to the FAQ last week. It should help. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=66 > > Russell > > Steve Loughran wrote: > > >Hi all > > > >I have looked around the FAQs and docs, but cant seem to find anything that > >lists the format of the status.log file. I can get the basics out of it, but > >there are a few fields that have me stumped. Anyone have any pointers that > >would help me? > > > >Many thanks in advance. > > > >-- > > > >Steve > > > >------------------------------------------------- > >Steve Loughran, Network Infrastructure Manager > >Sony Computer Entertainment Europe (Cambridge) > >Yamaha YZF1000R Thunderace > >ICQ#: 104426046 > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From steveneu at visi.com Mon Sep 30 21:20:39 2002 From: steveneu at visi.com (steveneu at visi.com) Date: Mon, 30 Sep 2002 14:20:39 -0500 Subject: Internal server error when running commands (cmd.cgi) In-Reply-To: <010401c26898$9c4fd330$99d54bce@kallisti> References: <001c01c265c9$0f22dc90$2801a8c0@dutch> <3D970AAA.7060904@tiny.net> <010401c26898$9c4fd330$99d54bce@kallisti> Message-ID: <1033413639.3d98a40777580@webmail.visi.com> I created a php script to post or get to itself with variables. php can read params passed to it via GET or POST just fine. I cut and pasted some forms from nagios to disable/enable a test for a service. I also created a GET URL with the same parameters as contained in the form. The GET links work just fine, the forms which are doing the POST give me an "internal server error" with a "premature end of script headers" entry in the http-error log. Is there a specific apache module that could be flaking out? Did something change in the cgis recently? This all started when I "upgraded" to beta 6. Quoting Nicholas Paufler : > Just FYI, when I was experiencing troubles getting Nagios running I found > the exact same behavior. I was trying to debug the CGI and while the > documentation implied to me I should be using HTTP POST (hence, i set the > variables as such) to test, it was segfaulting. Using HTTP get, however, > worked just fine. > > I did manage to get things working via some combination of restarting > apache > and Nagios, though, so I'm not sure if there was ever really a problem. I'd > venture that the segfault on POST from the commandline is "normal", if not > what is expected. So that's probably a bit of a red herring for you. > > Have you tried any other CGI's to see whether GET or POST is working with > them? If you have mod_php installed it should be trivial to write up a > quick > script to see if variables are being passed correctly on POST so hopefully > you can eliminate either your httpd or nagios as the culprit. > > Nicholas Paufler > Systems Administrator > The Internet Centre > > ----- Original Message ----- > From: "Steve Neuharth" > To: > Cc: "Blaz Zupan" > Sent: Sunday, September 29, 2002 8:14 AM > Subject: Re: [Nagios-users] Internal server error when running commands > (cmd.cgi) > > > > It appears that the cgi's segfault when I POST to them. I can run them > > from a shell everything works fine as long as I GET or HEAD but when I > > POST, it dies. Likewise through the browser. If I use any form in nagios > > to POST to any nagios CGI, I get the error. If I send the same params > > via a GET: > > > "https://127.0.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=55&cmd_mod=2&host=ns.visi. > com&com_author=Steve%20Neuharth&start_time=09/27/2002%2021:41:53&end_time=09 > /27/2002%2023:41:53&hours=2&minutes=0&fixed=1" > > , the scripts run fine, no segfault. > > > > mmcclure at pneservices.com wrote: > > > Apache's not giving you enough information to really determine what the > > > problem is. > > > > > > Try running /usr/local/share/nagios/cgi-bin//cmd.cgi directly from a > > > shell. You'll have to set some environment variables, but you should > be > > > able to figure those out from the HTML source and other parts of your > > > configuration. > > > > > > If you still can't figure it out after you have all the enviroment > > > variables set up, post the error message, someone will probably know > > > what it means. > > > > > > ---------- > > > Mike McClure, CCIE # 5125, CISSP # 30232 > > > PNE Services, Inc. http://www.pneservices.com > > > mmcclure at pneservices.com > > > mobile: 913-636-5590 > > > > > > > > >>-----Original Message----- > > >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > >>admin at lists.sourceforge.net] On Behalf Of Steve Neuharth > > >>Sent: Thursday, September 26, 2002 6:58 PM > > >>To: Steve Neuharth > > >>Cc: nagios-users at lists.sourceforge.net > > >>Subject: Re: [Nagios-users] Internal server error when running > > > > > > commands > > > > > >>(cmd.cgi) > > >> > > >>So... anybody got any suggestions? > > >> > > >>Steve Neuharth wrote: > > >> > > >>> I have nagios up and running (beats the pants off of BigBrother > > >> > > >>IMHO). > > >> > > >>> I'm running FreeBSD 4.7 and I installed nagios straight from the > > >> > > >>ports > > >> > > >>>collection. I have done this several times before and the port > > >>>maintainer does a great job of scripting the install so that it > > >> > > > works > > > > > >>>"out-of-the-box" as it were. > > >>> All of the cgi's seem to work BUT I get an internal server error > > >> > > >>when I > > >> > > >>>try to make cmd.cgi "do stuff" such as adding a comment, scheduling > > >> > > > a > > > > > >>>check. My first thought was file perms on the rw directory but I > > >> > > > cannot > > > > > >>>find anything wrong after reading the netsaint faq (this info is > > >> > > > missing > > > > > >>>from the nagios faq btw). Here is my var/nagios dir: > > >>> > > >>>tiny# pwd > > >>>/usr/local/var/nagios > > >>>tiny# ls -l > > >>>total 24502 > > >>>drwxrwxr-x 2 nagios nagios 2560 Sep 26 00:00 archives > > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 comment.log > > >>>-rw-rw-r-- 1 nagios nagios 0 Sep 26 00:06 downtime.log > > >>>-rw-rw-r-- 1 nagios nagios 1266212 Sep 26 00:24 > > >> > > > host-perfdata.out > > > > > >>>-rw-r--r-- 1 root nagios 6 Sep 26 00:06 nagios.lock > > >>>-rw-rw-r-- 1 nagios nagios 1991 Sep 26 00:11 nagios.log > > >>>drwxrwxr-x 2 nagios www 512 Sep 26 00:06 rw > > >>>-rw-rw-r-- 1 nagios nagios 23766777 Sep 26 00:24 > > >> > > > service-perfdata.out > > > > > >>>-rw-rw-r-- 1 nagios nagios 3456 Sep 26 00:24 status.log > > >>>-rw-r--r-- 1 nagios nagios 2563 Sep 26 00:06 status.sav > > >>> > > >>>another strange thing is the nagios.cmd file: > > >>>tiny# pwd > > >>>/usr/local/var/nagios/rw > > >>>tiny# ls -l > > >>>total 0 > > >>>prw-rw---- 1 nagios www 0 Sep 26 00:06 nagios.cmd > > >>> > > >>>why is it a pipe? should it be? maybe, but I thought it was strange. > > >>> > > >>>When I "submit" something I get "Internal Server Error" and in the > > >>>apache log I get: > > >>>[Thu Sep 26 00:27:30 2002] [error] [client 192.168.0.1] Premature > > >> > > > end of > > > > > >>>script headers: /usr/local/share/nagios/cgi-bin//cmd.cgi > > >>> > > >>> > > >>> > > >>> > > >>> > > >>>------------------------------------------------------- > > >>>This sf.net email is sponsored by:ThinkGeek > > >>>Welcome to geek heaven. > > >>>http://thinkgeek.com/sf > > >>>_______________________________________________ > > >>>Nagios-users mailing list > > >>>Nagios-users at lists.sourceforge.net > > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>> > > >> > > >> > > >> > > >> > > >> > > >>------------------------------------------------------- > > >>This sf.net email is sponsored by:ThinkGeek > > >>Welcome to geek heaven. > > >>http://thinkgeek.com/sf > > >>_______________________________________________ > > >>Nagios-users mailing list > > >>Nagios-users at lists.sourceforge.net > > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From David.Crown at state.de.us Mon Sep 30 21:52:18 2002 From: David.Crown at state.de.us (Crown David T. (DNREC)) Date: Mon, 30 Sep 2002 15:52:18 -0400 Subject: notifications only for state changes dont get sent Message-ID: <72DC392B4BC6D942BDE9E876E0E3634841237D@DEMAACLS05N1.state.de.us> I'm running nagios 1.0b6 (just upgraded from 1.0b4) on Redhat Linux 7.3 , and I'm rather stumped on this. Nagios will not send out email on state changes, but if I acknowledge a problem on the host, notifications get sent out. I'm attaching all my configs in a zip. TIA David Crown, MCSE, MCP+I, CCNA Information Resources Management State of Delaware, Department of Natural Resources and Environmental Control dcrown at state.de.us Voice: (302)739-4409 Fax: (302)739-6242 www.dnrec.state.de.us/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagioscfgs.zip Type: application/x-zip-compressed Size: 10489 bytes Desc: nagioscfgs.zip URL: From dean.bishop at tcdsb.org Mon Sep 30 22:20:05 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Mon, 30 Sep 2002 16:20:05 -0400 Subject: waves? Message-ID: Good morning all, so i am basically finishing my nagios setup and notice that the noproblem.wav is missing. Does one exist or should i just get my own? I know this is kinda nit-picky but i find it odd that this little component is missing from the package. thanks, dean ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From daniel-wittenberg at uiowa.edu Mon Sep 30 22:50:27 2002 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 30 Sep 2002 15:50:27 -0500 Subject: cli client ? Message-ID: <1033419027.11169.15.camel@tux.its.uiowa.edu> Anyone have a command-line client they'd like to share? I'd like to have something for times when I can't get a web interface to see what's going on, just to have a cli that will basically just show the "known problems" screen. I guess worst case I could try and use lynx, but I figure a native cli client would probably look better... Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wilcoxc at troycorp.com Mon Sep 30 22:54:23 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Mon, 30 Sep 2002 16:54:23 -0400 Subject: Monitoring router Message-ID: <5F735AF7A501D411910600104B76901E01EA973B@POSTAL> You could also monitor the telnet service on that router as I do..... -----Original Message----- From: Alexander Bergal [mailto:bergal at gmx.net] Sent: Monday, September 30, 2002 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring router Hello! Is there anything except check_snmp to monitoring routers? Thanks. Any help will be appreciated. -- Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w?hlen - und tolle Preise absahnen! http://www.onlinestar.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: